/* =====================================================================
   Five-Host — design system
   A bespoke, dark-first UI. No framework, no external CSS.
   Sections: tokens · base · layout · nav · buttons · hero · cards
             · pricing · specs · faq · footer · motion · responsive
   ===================================================================== */

/* ---------------------------- tokens ------------------------------- */
:root {
    /* base surfaces */
    --bg:        #05070f;
    --bg-2:      #080b16;
    --bg-3:      #0b1020;
    --surface:   rgba(255, 255, 255, .028);
    --surface-2: rgba(255, 255, 255, .045);
    --border:    rgba(255, 255, 255, .09);
    --border-2:  rgba(255, 255, 255, .16);

    /* text */
    --text:      #e8ecfb;
    --muted:     #97a2c6;
    --muted-2:   #6f7aa0;

    /* brand — one blue family, kept subtle */
    --c1: #38bdf8;  /* sky      */
    --c2: #3b82f6;  /* blue     */
    --c3: #2563eb;  /* deep blue*/
    --brand: #38bdf8;
    --brand-ink: #041016;
    --aurora: linear-gradient(120deg, var(--c1) 0%, var(--c2) 55%, var(--c3) 100%);
    --aurora-soft: linear-gradient(120deg, rgba(56,189,248,.14), rgba(59,130,246,.14) 55%, rgba(37,99,235,.14));

    /* status green (functional, not theme) */
    --a-emerald: #34d399;

    /* effects */
    --radius:    18px;
    --radius-lg: 26px;
    --radius-sm: 12px;
    --shadow:    0 30px 60px -25px rgba(0, 0, 0, .8);
    --shadow-glow: 0 0 0 1px var(--border), 0 24px 60px -30px rgba(56, 189, 248, .35);
    --ring:      0 0 0 3px rgba(56, 189, 248, .35);

    --container: 1240px;
    --container-nav: 1460px;
    --nav-h:     72px;
    --ease:      cubic-bezier(.22, .61, .36, 1);
}

/* single blue accent across the whole theme */
:root, [data-accent] { --acc: var(--brand); }

/* ----------------------------- base -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scrollbar-color: var(--border-2) transparent;
    overflow-x: clip;   /* decorative offsets can never cause sideways scroll */
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", "Inter var", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    font-feature-settings: "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 600;
    margin: 0 0 .5em;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
p  { margin: 0 0 1rem; }

::selection { background: rgba(56, 189, 248, .3); color: #fff; }

:focus-visible {
    outline: none;
    box-shadow: var(--ring);
    border-radius: 8px;
}

/* fixed ambient background layers */
.bg-canvas {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(1200px 700px at 78% -10%, rgba(59, 130, 246, .16), transparent 60%),
        radial-gradient(1000px 620px at 8% 8%, rgba(56, 189, 248, .10), transparent 55%),
        var(--bg);
}
.bg-canvas::before {  /* fine grid */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
    opacity: .6;
}
.bg-blob {
    position: fixed;
    z-index: -1;
    width: 42vw;
    height: 42vw;
    max-width: 580px;
    max-height: 580px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .38;
    pointer-events: none;
    will-change: transform;
    animation: drift 24s var(--ease) infinite alternate;
}
.bg-blob.b1 { top: -8%; left: -6%;  background: radial-gradient(circle, rgba(56,189,248,.45), transparent 70%); }
.bg-blob.b2 { top: 12%; right: -10%; background: radial-gradient(circle, rgba(59,130,246,.40), transparent 70%); animation-delay: -8s; }
.bg-blob.b3 { bottom: -12%; left: 30%; background: radial-gradient(circle, rgba(37,99,235,.30), transparent 70%); animation-delay: -16s; }

@keyframes drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(40px, 30px, 0) scale(1.12); }
}

/* ---------------------------- layout ------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(18px, 4vw, 32px);
}
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 14px;
}
.eyebrow::before {
    content: "";
    width: 22px; height: 1px;
    background: linear-gradient(90deg, var(--brand), transparent);
}
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.075rem; margin: 0; }

.gradient-text {
    background: var(--aurora);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
}

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------- top bar ------------------------------- */
.announce {
    background: rgba(59, 130, 246, .08);
    border-bottom: 1px solid var(--border);
    font-size: .85rem;
    color: var(--muted);
    text-align: center;
    padding: 8px 16px;
}
.announce b { color: var(--text); }
.announce a { color: var(--brand); font-weight: 600; }

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    background: rgba(6, 8, 16, .72);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, background .3s;
}
.header.scrolled { border-bottom-color: var(--border); background: rgba(6, 8, 16, .9); }
.header > .container { max-width: var(--container-nav); }
.nav {
    height: var(--nav-h);
    display: flex;
    align-items: center;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 1.18rem;
    letter-spacing: -.01em;
    flex-shrink: 0;
}
.brand .logo { width: 34px; height: 34px; }
.brand b { color: var(--text); }
.brand span { color: var(--brand); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-inline: auto;   /* centred between brand and CTAs */
}
.nav-links > li { position: relative; }
.nav-links a.navlink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;   /* never wrap nav labels */
    transition: color .2s, background .2s;
}
.nav-links a.navlink:hover,
.nav-links li:hover > a.navlink,
.nav-links a.navlink.active { color: var(--text); background: var(--surface); }
.nav-links .chev { width: 14px; height: 14px; opacity: .6; transition: transform .25s; }
.nav-links li:hover .chev { transform: rotate(180deg); }

/* mega dropdown */
.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: min(560px, 86vw);
    padding: 12px;
    background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    /* small delay on close so moving the mouse into the panel never loses it */
    transition: opacity .2s var(--ease) .18s, transform .2s var(--ease) .18s, visibility .2s .18s;
}
.dropdown::before {  /* invisible hover bridge over the gap below the nav link */
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}
.nav-links li:hover > .dropdown,
.nav-links li:focus-within > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
}
/* last item: anchor the panel to the right so it never leaves the viewport */
.nav-links > li:last-child > .dropdown {
    left: auto;
    right: 0;
    transform: translateY(8px);
}
.nav-links > li:last-child:hover > .dropdown,
.nav-links > li:last-child:focus-within > .dropdown {
    transform: translateY(0);
}
.dropdown a {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 11px 12px;
    border-radius: 12px;
    transition: background .18s;
}
.dropdown a:hover { background: var(--surface-2); }
.dropdown .di {
    flex-shrink: 0;
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--acc, var(--brand));
}
.dropdown .di svg { width: 20px; height: 20px; }
.dropdown .dt { font-size: .92rem; font-weight: 600; color: var(--text); }
.dropdown .dd { font-size: .8rem; color: var(--muted); line-height: 1.4; }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
    display: none;
    width: 42px; height: 42px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    place-items: center;
}
.menu-toggle svg { width: 20px; height: 20px; }

/* --------------------------- buttons ------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1;
    padding: 13px 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .18s var(--ease), box-shadow .25s, background .25s, border-color .25s, color .2s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
    color: var(--brand-ink);
    background: linear-gradient(135deg, var(--c1), var(--c2));
    box-shadow: 0 10px 30px -10px rgba(56, 189, 248, .55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(37, 99, 235, .6); }

.btn-ghost {
    color: var(--text);
    background: var(--surface);
    border-color: var(--border-2);
    backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--brand); transform: translateY(-2px); }
.btn-sm { padding: 10px 15px; font-size: .875rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 26px; font-size: 1rem; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 500;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--a-emerald); box-shadow: 0 0 10px var(--a-emerald); }

/* ----------------------------- hero -------------------------------- */
.hero { padding-top: clamp(56px, 8vw, 104px); position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    margin-bottom: 22px;
}
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46ch; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 44px); }
.stat .n { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
.stat .l { font-size: .82rem; color: var(--muted); letter-spacing: .02em; }

/* hero visual — floating console card */
.hero-visual { position: relative; }
.console {
    background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    z-index: 1;
    transform: translateZ(0);   /* promote to its own layer */
}
.console::before {
    content: "";
    position: absolute; inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: var(--aurora);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: .4;
    pointer-events: none;
}
.console-bar { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.console-bar .dots { display: flex; gap: 6px; }
.console-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a3350; }
.console-bar .dots i:nth-child(1) { background: #ff5f57; }
.console-bar .dots i:nth-child(2) { background: #febc2e; }
.console-bar .dots i:nth-child(3) { background: #28c840; }
.console-bar .title { font-size: .8rem; color: var(--muted); font-family: "Space Grotesk", sans-serif; }
.console-body { padding: 18px 20px; font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace; font-size: .82rem; line-height: 1.9; }
.console-body .row { display: flex; gap: 10px; }
.console-body .k { color: var(--muted); }
.console-body .g { color: var(--a-emerald); }
.console-body .c { color: var(--c1); }
.console-body .p { color: var(--c2); }
.console-body .cursor { display: inline-block; width: 8px; height: 1.1em; background: var(--brand); vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-orbit {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 60% 40%, rgba(59,130,246,.25), transparent 62%);
    filter: blur(34px);
}

/* floating badges — one fully above the console, one fully below it */
.float-badge {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    background: rgba(10, 14, 26, .88);
    border: 1px solid var(--border-2);
    border-radius: 12px;
    font-size: .78rem;
    font-weight: 600;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    will-change: transform;
    animation: bob 5s ease-in-out infinite;
}
.float-badge svg { width: 16px; height: 16px; color: var(--brand); }
.float-badge.fb1 { top: -56px; left: 4%; }
.float-badge.fb2 { bottom: -56px; right: 4%; animation-delay: -2.5s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* --------------------------- marquee ------------------------------- */
.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    border-block: 1px solid var(--border);
    background: var(--surface);
    padding: 18px 0;
}
.marquee-track { display: flex; gap: 56px; width: max-content; will-change: transform; animation: scroll 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
/* when JS is available the track is driven by rAF (works with GPU acceleration off) */
.js .marquee-track { animation: none; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.marquee-track span svg { width: 20px; height: 20px; color: var(--brand); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------------------------- cards -------------------------------- */
.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: transform .3s var(--ease), border-color .3s, background .3s;
    overflow: hidden;
    height: 100%;
}
.card::after {  /* hover glow following accent */
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, var(--acc), transparent 55%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.card:hover { transform: translateY(-6px); background: var(--surface-2); border-color: transparent; }
.card:hover::after { opacity: 1; }

.cat-card { display: flex; flex-direction: column; }
.cat-ico {
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--acc) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent);
    color: var(--acc);
    margin-bottom: 18px;
}
.cat-ico svg { width: 26px; height: 26px; }
.cat-card h3 { font-size: 1.28rem; margin-bottom: 8px; }
.cat-card p { color: var(--muted); font-size: .93rem; margin-bottom: 18px; flex: 1; }
.cat-meta { display: flex; align-items: center; justify-content: space-between; }
.cat-from { font-size: .82rem; color: var(--muted); }
.cat-from b { color: var(--text); font-size: 1.02rem; font-family: "Space Grotesk", sans-serif; }
.cat-arrow {
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--border-2);
    color: var(--text);
    transition: background .2s, transform .2s, color .2s;
}
.card:hover .cat-arrow { background: var(--acc); color: var(--brand-ink); transform: translate(3px, -3px); border-color: transparent; }

/* feature card */
.feature { display: flex; flex-direction: column; gap: 12px; }
.feature .fi { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); color: var(--brand); }
.feature .fi svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1rem; margin: 0; }
.feature p { color: var(--muted); font-size: .92rem; margin: 0; }

/* product chip card (category listing of products) */
.prod-card { display: flex; flex-direction: column; gap: 14px; }
.prod-top { display: flex; align-items: center; gap: 14px; }
.prod-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--acc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 32%, transparent); color: var(--acc); }
.prod-ico svg { width: 24px; height: 24px; }
.prod-card h3 { margin: 0; font-size: 1.16rem; }
.prod-card .sub { color: var(--muted); font-size: .86rem; }
.prod-card ul.mini { display: flex; flex-wrap: wrap; gap: 6px; }
.prod-card ul.mini li { font-size: .76rem; color: var(--muted); padding: 4px 9px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); }
.prod-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 8px; }

/* --------------------------- pricing ------------------------------- */
.pricing-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--border-2); background: var(--surface-2); }
.price-card.popular {
    border-color: transparent;
    background: linear-gradient(180deg, rgba(56,189,248,.08), var(--surface));
    box-shadow: var(--shadow-glow);
}
.price-card.popular::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--aurora);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none;
}
.ribbon {
    position: absolute;
    top: -12px; left: 50%; transform: translateX(-50%);
    padding: 5px 14px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--brand-ink);
    background: var(--aurora);
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 8px 20px -8px rgba(56,189,248,.7);
}
.price-card .pname { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--text); margin-bottom: 4px; }
.price-card .pnote { font-size: .8rem; color: var(--muted); min-height: 1.2em; }
.price-row { display: flex; align-items: baseline; gap: 4px; margin: 14px 0 4px; }
.price-row .amt { font-family: "Space Grotesk", sans-serif; font-size: 2.35rem; font-weight: 700; letter-spacing: -.02em; }
.price-row .per { color: var(--muted); font-size: .9rem; font-weight: 500; }
.price-setup { font-size: .78rem; color: var(--muted); margin-bottom: 16px; }
.spec-list { display: grid; gap: 9px; margin: 16px 0 22px; }
.spec-list li { display: flex; align-items: flex-start; gap: 9px; font-size: .875rem; color: var(--text); }
.spec-list li svg { width: 16px; height: 16px; color: var(--acc); flex-shrink: 0; margin-top: 3px; }
.spec-list li b { color: var(--text); font-weight: 600; }
.spec-list li span { color: var(--muted); }
.price-card .btn { margin-top: auto; }

/* comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
table.cmp th, table.cmp td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: .9rem; }
table.cmp thead th { font-family: "Space Grotesk", sans-serif; color: var(--text); font-weight: 600; background: var(--surface-2); position: sticky; top: 0; }
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp tbody tr:hover td { background: var(--surface); }
table.cmp td.price { font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--text); }
table.cmp .pop-tag { color: var(--brand); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-left: 8px; }

/* ------------------------- detail sections ------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.highlight-list { display: grid; gap: 14px; }
.highlight-list li { display: flex; gap: 14px; align-items: center; }
.highlight-list .hi {
    flex-shrink: 0;
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 11px;
    background: color-mix(in srgb, var(--acc) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--acc) 30%, transparent);
    color: var(--acc);
}
.highlight-list .hi svg { width: 20px; height: 20px; }
.highlight-list b { display: block; color: var(--text); font-size: .98rem; }

/* stat band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stat-band .cell { background: var(--bg-2); padding: 30px 24px; text-align: center; }
.stat-band .cell .n { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; }
.stat-band .cell .l { color: var(--muted); font-size: .86rem; }

/* ----------------------------- faq --------------------------------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    overflow: hidden;   /* required for the JS height animation */
    transition: border-color .25s, background .25s;
}
.faq details[open] { border-color: var(--border-2); background: var(--surface-2); }
.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 600;
    font-family: "Space Grotesk", sans-serif;
    list-style: none;
    color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic {
    flex-shrink: 0;
    width: 26px; height: 26px;
    display: grid; place-items: center;
    border-radius: 8px;
    border: 1px solid var(--border-2);
    transition: transform .3s, background .25s, color .2s;
    color: var(--brand);
}
.faq details[open] summary .ic { transform: rotate(45deg); background: var(--brand); color: var(--brand-ink); border-color: transparent; }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }

/* --------------------------- CTA panel ----------------------------- */
.cta-panel {
    position: relative;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: clamp(36px, 6vw, 68px);
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
}
.cta-panel::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(720px 340px at 50% 0%, rgba(59,130,246,.16), transparent 65%);
    pointer-events: none;
}
.cta-panel > * { position: relative; }
.cta-panel h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-panel p { color: var(--muted); max-width: 52ch; margin-inline: auto; margin-bottom: 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------- footer ------------------------------- */
.footer { border-top: 1px solid var(--border); background: linear-gradient(180deg, transparent, rgba(8,11,22,.6)); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 48px); padding-block: clamp(48px, 6vw, 72px); }
.footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 16px; font-family: "Inter", sans-serif; font-weight: 600; }
.footer .fcol a { display: block; color: var(--muted); font-size: .92rem; padding: 5px 0; transition: color .2s; }
.footer .fcol a:hover { color: var(--text); }
.footer .about p { color: var(--muted); font-size: .92rem; max-width: 34ch; }
.footer .socials { display: flex; gap: 10px; margin-top: 18px; }
.footer .socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); transition: all .2s; }
.footer .socials a:hover { color: var(--text); border-color: var(--brand); transform: translateY(-2px); }
.footer .socials svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; color: var(--muted); font-size: .84rem; }
.footer-bottom .legal { font-size: .78rem; color: var(--muted-2); }

/* --------------------------- breadcrumb ---------------------------- */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); padding-top: 24px; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb span[aria-current] { color: var(--text); }

/* page hero (category/product) */
.page-hero { padding-top: clamp(28px, 5vw, 48px); }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); margin-bottom: 18px; }
.page-hero .lede { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.page-hero .badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.page-hero.center-hero { text-align: center; }
.page-hero.center-hero .lede { margin-inline: auto; }
.page-hero.center-hero .badges { justify-content: center; }
.page-hero.center-hero .eyebrow::before { display: none; }

/* back-to-top */
.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--border-2);
    background: rgba(10, 14, 26, .85);
    color: var(--text);
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, border-color .2s, color .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }
.badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 999px;
    font-size: .84rem; font-weight: 500;
    background: var(--surface); border: 1px solid var(--border); color: var(--text);
}
.badge svg { width: 15px; height: 15px; color: var(--acc, var(--brand)); }

/* small helpers */
.text-muted { color: var(--muted); }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.hide { display: none !important; }
/* scroll reveal only applies when JS is active (no-JS keeps content visible) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* --------------------------- responsive ---------------------------- */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { order: -1; max-width: 520px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cols-4 { grid-template-columns: repeat(2, 1fr); }
    .stat-band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1340px) {
    .nav-links a.navlink { padding: 8px 9px; font-size: .875rem; }
    .nav { gap: 18px; }
}
@media (max-width: 1300px) {
    .nav-cta .btn-desktop { display: none; }
}
@media (max-width: 1160px) {
    .nav-links { display: none; }
    .menu-toggle { display: grid; }
    .nav-cta { margin-left: auto; }
    .mobile-open .nav-links {
        display: flex;
        position: fixed;
        inset: var(--nav-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 16px;
        margin-inline: 0;
        background: var(--bg-2);
        border-bottom: 1px solid var(--border);
        max-height: calc(100vh - var(--nav-h));
        overflow-y: auto;
    }
    .mobile-open .dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        width: 100%;
        box-shadow: none;
        background: transparent;
        border: none;
        padding: 4px 0 8px 12px;
        grid-template-columns: 1fr;
        transition: none;
    }
    .mobile-open .dropdown::before { display: none; }
    .mobile-open .nav-links .chev { display: none; }
}
@media (max-width: 860px) {
    .split, .cols-2, .cols-3 { grid-template-columns: 1fr; }
    .hero-copy { text-align: center; }
    .hero-copy .eyebrow::before { display: none; }
    .hero-cta, .hero-stats { justify-content: center; }
    .hero .lede { margin-inline: auto; }
}
@media (max-width: 700px) {
    .bg-blob { display: none; }               /* cheaper paints on phones */
    .header { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}
@media (max-width: 560px) {
    .cols-4, .cols-3, .cols-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stat-band { grid-template-columns: 1fr 1fr; }
    .hero-stats { gap: 22px; }
    .float-badge { display: none; }
    .breadcrumb { flex-wrap: wrap; }
}

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