/* =============================================================
   Vending on Track — "Signal" design system
   Industrial telemetry aesthetic: warm paper, deep ink,
   signal-orange + steel-blue, blueprint grids, technical mono labels.
   ============================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Core palette */
    --ink:        #171311;   /* warm near-black, primary text */
    --ink-soft:   #423b34;   /* secondary text */
    --ink-faint:  #756c61;   /* tertiary / captions */
    --paper:      #f3ede1;   /* warm paper background */
    --paper-deep: #ece3d2;   /* recessed bands */
    --card:       #fbf8f1;   /* card / surface */
    --line:       #ddd2bd;   /* hairlines / borders */
    --line-soft:  #e7ddca;

    /* Brand signals */
    --signal:      #db401f;  /* signal orange-red, primary action */
    --signal-deep: #b22f13;
    --signal-tint: #f6e0d6;
    --steel:       #1d4e6b;  /* steel blue, secondary / links */
    --steel-deep:  #102f44;
    --amber:       #e0a23a;  /* warm accent */

    /* Dark surface (footer / contrast bands) */
    --night:      #14110e;
    --night-2:    #1d1813;

    /* Type */
    --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
    --font-body:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

    /* Shape & depth */
    --radius:    14px;
    --radius-sm: 9px;
    --shadow:    0 1px 2px rgba(23,19,17,.06), 0 8px 24px -12px rgba(23,19,17,.18);
    --shadow-lg: 0 2px 4px rgba(23,19,17,.05), 0 28px 60px -28px rgba(23,19,17,.32);

    /* Blueprint grid texture */
    --grid: linear-gradient(rgba(29,78,107,.05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(29,78,107,.05) 1px, transparent 1px);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--ink);
    background-color: var(--paper);
    background-image:
        radial-gradient(circle at 12% -10%, rgba(219,64,31,.06), transparent 38%),
        radial-gradient(circle at 92% 4%, rgba(29,78,107,.07), transparent 42%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

::selection { background: var(--signal); color: #fff; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

main { min-height: 60vh; display: block; }

/* ---------- Accessibility helpers ---------- */
.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 2000;
    background: var(--ink); color: #fff; padding: .7rem 1.1rem;
    border-radius: 0 0 8px 0; font-family: var(--font-mono); font-size: 13px;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--steel);
    outline-offset: 3px;
    border-radius: 3px;
}

/* ---------- Typography primitives ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--ink); line-height: 1.08; letter-spacing: -.02em; }

.eyebrow {
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--signal);
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}
.eyebrow::before {
    content: "";
    width: 22px; height: 2px;
    background: var(--signal);
    display: inline-block;
}

/* =============================================================
   NAVBAR
   ============================================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(243, 237, 225, .82);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .85rem 28px;
}
.navbar-brand .logo { display: inline-flex; align-items: center; }
.logo-img { height: 42px; width: auto; display: block; }

.navbar-menu {
    display: flex;
    gap: 1.9rem;
    align-items: center;
}

.navbar-item, .navbar-link {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -.01em;
    transition: color .2s ease;
    position: relative;
}
.navbar-link { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; }

/* underline sweep on hover */
.navbar-item:not(:last-child)::after,
.navbar-link::after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    width: 100%; height: 2px;
    background: var(--signal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s cubic-bezier(.65,0,.35,1);
}
.navbar-item:not(:last-child):hover::after,
.has-dropdown:hover .navbar-link::after { transform: scaleX(1); }
.navbar-item:hover, .navbar-link:hover { color: var(--signal); }

.dropdown-arrow { font-size: 8px; transition: transform .28s ease; opacity: .55; }
.has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); opacity: 1; }

/* CTA (last menu item) */
.navbar-item:last-child {
    background: var(--signal);
    color: #fff;
    padding: .6rem 1.3rem;
    border-radius: 100px;
    font-weight: 600;
    box-shadow: 0 6px 18px -8px rgba(219,64,31,.7);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.navbar-item:last-child::after { display: none; }
.navbar-item:last-child:hover {
    background: var(--signal-deep);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -8px rgba(219,64,31,.8);
}

/* Dropdown */
.has-dropdown { position: relative; }
.navbar-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    min-width: 256px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    padding: .5rem;
    z-index: 1000;
}
.navbar-dropdown::before {
    content: "";
    position: absolute; top: -6px; left: 50%;
    width: 11px; height: 11px;
    background: var(--card);
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
    transform: translateX(-50%) rotate(45deg);
}
.has-dropdown:hover .navbar-dropdown {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.navbar-dropdown-item {
    display: block;
    padding: .65rem .85rem;
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    border-radius: 7px;
    transition: background .18s ease, color .18s ease, padding-left .18s ease;
}
.navbar-dropdown-item:hover {
    background: var(--signal-tint);
    color: var(--signal-deep);
    padding-left: 1.1rem;
}

/* Burger */
.navbar-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none; border: none; cursor: pointer;
    padding: 6px;
}
.navbar-burger span {
    width: 26px; height: 2.5px; background: var(--ink);
    border-radius: 2px; transition: .3s;
}
.navbar-menu.active ~ .navbar-burger span:nth-child(1),
.navbar-burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.navbar-burger.is-open span:nth-child(2) { opacity: 0; }
.navbar-burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =============================================================
   HERO (homepage)
   ============================================================= */
.hero {
    position: relative;
    padding: 6.5rem 0 5rem;
    overflow: hidden;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image: var(--grid);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 35%, transparent 78%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 35%, transparent 78%);
    opacity: .9;
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute; right: -120px; top: -120px;
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(219,64,31,.16), transparent 65%);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 880px; }
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.035em;
    margin: 1.4rem 0 1.4rem;
    color: var(--ink);
}
.hero-title .accent { color: var(--signal); }
.hero-subtitle {
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    color: var(--ink-soft);
    max-width: 620px;
    line-height: 1.6;
    margin-bottom: 2.2rem;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero stat strip */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 3.5rem;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.hero-stat { background: var(--card); padding: 1.6rem 1.5rem; }
.hero-stat .num {
    font-family: var(--font-display);
    font-size: 2.2rem; font-weight: 800;
    color: var(--ink); line-height: 1; letter-spacing: -.03em;
}
.hero-stat .num span { color: var(--signal); }
.hero-stat .label {
    font-family: var(--font-mono);
    font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink-faint); margin-top: .55rem;
}

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .9rem 1.9rem;
    border-radius: 100px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -.01em;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary {
    background: var(--signal);
    color: #fff;
    box-shadow: 0 10px 26px -10px rgba(219,64,31,.75);
}
.btn-primary:hover {
    background: var(--signal-deep);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px -12px rgba(219,64,31,.85);
}
.btn-secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-secondary:hover {
    background: var(--ink);
    color: var(--paper);
    transform: translateY(-2px);
}
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* =============================================================
   PAGE / CONTENT WRAPPERS
   ============================================================= */
.content { padding: 3.5rem 0 4.5rem; }

/* Breadcrumbs */
.breadcrumbs {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: .04em;
    color: var(--ink-faint);
    margin-bottom: 1.4rem;
    display: flex; flex-wrap: wrap; gap: .45rem; align-items: center;
}
.breadcrumbs a { color: var(--ink-faint); text-decoration: none; transition: color .2s; }
.breadcrumbs a:hover { color: var(--signal); }
.breadcrumbs .sep { opacity: .5; }
.breadcrumbs .current { color: var(--ink); }

/* Page header band (list pages) */
.page-head { padding: 4rem 0 0; }
.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--ink);
    margin-bottom: .5rem;
}
.page-head .eyebrow { margin-bottom: .9rem; }

/* News article meta */
.meta {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: .05em;
    color: var(--ink-faint);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}

/* =============================================================
   PROSE — markdown body
   ============================================================= */
.prose { max-width: 760px; margin: 0 auto; }
.content .prose, .article .prose { font-size: 18px; }

.prose > :first-child { margin-top: 0; }

.prose h1 {
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -.03em;
    margin: 3rem 0 1.3rem;
}
.prose h2 {
    font-size: clamp(1.5rem, 3vw, 2.05rem);
    font-weight: 700;
    margin: 2.8rem 0 1.1rem;
    padding-top: 2.8rem;
    border-top: 1px solid var(--line-soft);
    position: relative;
}
.prose h2::before {
    content: "";
    position: absolute; top: -1px; left: 0;
    width: 56px; height: 3px;
    background: var(--signal);
}
.prose h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 2.2rem 0 .9rem;
    color: var(--ink);
}
.prose h4 { font-size: 1.1rem; font-weight: 700; margin: 1.8rem 0 .7rem; }

.prose p { margin-bottom: 1.4rem; line-height: 1.78; color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 700; }

.prose a {
    color: var(--steel);
    text-decoration: none;
    font-weight: 600;
    background-image: linear-gradient(var(--steel), var(--steel));
    background-size: 100% 1.5px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size .25s ease, color .2s ease;
    padding-bottom: 1px;
}
.prose a:hover { color: var(--signal); background-image: linear-gradient(var(--signal), var(--signal)); background-size: 100% 2px; }

.prose ul, .prose ol { margin: 0 0 1.5rem 0; padding-left: 1.4rem; }
.prose li { margin-bottom: .6rem; line-height: 1.7; color: var(--ink-soft); }
.prose ul li::marker { color: var(--signal); }
.prose ol li::marker { color: var(--signal); font-family: var(--font-mono); font-weight: 700; }

.prose img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2.2rem auto;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.prose blockquote {
    position: relative;
    margin: 2.4rem 0;
    padding: 1.8rem 2rem 1.8rem 2.3rem;
    background: var(--card);
    border-left: 4px solid var(--signal);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    box-shadow: var(--shadow);
}
.prose blockquote::before {
    content: "\201C";
    position: absolute; top: -.2rem; left: .7rem;
    font-family: var(--font-display);
    font-size: 4rem; color: var(--signal); opacity: .22; line-height: 1;
}
.prose blockquote p { font-size: 1.18rem; font-style: italic; color: var(--ink); margin-bottom: .4rem; }
.prose blockquote p:last-child { margin-bottom: 0; }

.prose hr { border: none; border-top: 1px solid var(--line); margin: 3rem 0; }

.prose code {
    font-family: var(--font-mono);
    font-size: .85em;
    background: var(--paper-deep);
    padding: .15em .45em;
    border-radius: 5px;
    color: var(--signal-deep);
}
.prose pre {
    background: var(--night);
    color: #e9e2d6;
    padding: 1.3rem 1.5rem;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    margin: 1.8rem 0;
    font-size: 14.5px;
}
.prose pre code { background: none; color: inherit; padding: 0; }

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.prose th { background: var(--paper-deep); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; text-align: left; padding: .85rem 1rem; color: var(--ink); }
.prose td { padding: .85rem 1rem; border-top: 1px solid var(--line-soft); color: var(--ink-soft); }

/* =============================================================
   CARDS (list pages)
   ============================================================= */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.9rem 1.8rem 1.7rem;
    display: flex;
    flex-direction: column;
    transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease;
    overflow: hidden;
}
.card::before {
    content: "";
    position: absolute; top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--signal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--line-soft);
}
.card:hover::before { transform: scaleX(1); }
.card h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: .65rem; letter-spacing: -.02em; }
.card h2 a { color: var(--ink); text-decoration: none; transition: color .2s; }
.card:hover h2 a { color: var(--signal); }
.card p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; margin-bottom: 1.3rem; flex: 1; }
.read-more {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--signal);
    text-decoration: none;
    display: inline-flex; align-items: center; gap: .4rem;
    transition: gap .2s ease;
}
.card:hover .read-more { gap: .7rem; }

/* =============================================================
   FEATURES (reusable)
   ============================================================= */
.features { background: var(--paper-deep); padding: 4.5rem 0; border-block: 1px solid var(--line); }
.section-title { text-align: center; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 3rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.feature-card { background: var(--card); padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card h3 { margin-bottom: .8rem; font-size: 1.2rem; }
.feature-card p { color: var(--ink-soft); font-size: 15.5px; }

/* =============================================================
   CONTACT FORM (theming the shortcode)
   ============================================================= */
.contact-form-container { max-width: 760px; margin: 2.5rem auto; }

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
    background: var(--night);
    color: #b9b0a3;
    padding: 4.5rem 0 1.8rem;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 46px 46px;
    pointer-events: none;
}
.footer .container { position: relative; z-index: 1; }
.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-section h3 {
    font-family: var(--font-display);
    color: #fff; font-size: 1.4rem; margin-bottom: 1rem; letter-spacing: -.02em;
}
.footer-section h4 {
    font-family: var(--font-mono);
    color: #fff; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
    margin-bottom: 1.2rem; font-weight: 600;
}
.footer-section p { line-height: 1.7; margin-bottom: .55rem; color: #b9b0a3; font-size: 15px; }
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: .7rem; }
.footer-section a { color: #b9b0a3; text-decoration: none; font-size: 15px; transition: color .2s, padding-left .2s; }
.footer-section a:hover { color: var(--signal); }
.footer-section ul a:hover { padding-left: .3rem; }
.contact-info { margin-top: 1rem; }
.contact-info a { color: #fff; font-weight: 500; }
.social-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.social-links a {
    font-family: var(--font-mono);
    font-size: 12px; letter-spacing: .05em; text-transform: uppercase;
    color: #cfc7ba;
    border: 1px solid rgba(255,255,255,.16);
    padding: .45rem .8rem; border-radius: 100px;
    transition: all .2s ease;
}
.social-links a:hover { color: #fff; background: var(--signal); border-color: var(--signal); }
.footer-bottom {
    text-align: center;
    color: #7c746a;
    font-family: var(--font-mono);
    font-size: 12.5px; letter-spacing: .04em;
}

/* =============================================================
   SCROLL REVEAL
   ============================================================= */
/* Hidden state only applies when JS is active (html.js), so no-JS users always see content */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

/* Hero entrance (page load) */
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-content > * { animation: riseIn .8s cubic-bezier(.2,.7,.3,1) both; }
.hero-content > .eyebrow { animation-delay: .05s; }
.hero-content > .hero-title { animation-delay: .14s; }
.hero-content > .hero-subtitle { animation-delay: .26s; }
.hero-content > .hero-buttons { animation-delay: .38s; }
.hero-content > .hero-stats { animation-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 940px) {
    .footer-content { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    body { font-size: 17px; }
    .container { padding: 0 20px; }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--card);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .6rem 1rem 1.2rem;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    .navbar-menu.active { display: flex; }
    .navbar-item, .has-dropdown { width: 100%; padding: .85rem .4rem; border-bottom: 1px solid var(--line-soft); }
    .navbar-item:not(:last-child)::after, .navbar-link::after { display: none; }
    .navbar-item:last-child {
        margin-top: 1rem; text-align: center; justify-content: center;
        border-bottom: none; padding: .85rem 1.3rem;
    }
    .has-dropdown { display: flex; flex-direction: column; }
    .navbar-link { justify-content: space-between; }
    .navbar-dropdown {
        position: static; transform: none; opacity: 1; visibility: visible;
        box-shadow: none; border: none; background: transparent;
        min-width: 0; padding: .3rem 0 0 .8rem; display: none;
    }
    .navbar-dropdown::before { display: none; }
    .has-dropdown.active .navbar-dropdown { display: block; }
    .navbar-dropdown-item { padding: .55rem .6rem; }
    .navbar-burger { display: flex; }

    .hero { padding: 4rem 0 3.2rem; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }
    .hero-stats { grid-template-columns: 1fr; }

    .cards { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .prose blockquote { padding: 1.5rem 1.3rem 1.5rem 1.8rem; }
}
