/* =========================================================================
   Aéllo Copilot — Design System
   Brand: royal blue + deep navy, single amber accent for conversion CTAs.
   Type: Poppins (display) + Lato (body). Light theme primary, token-based dark.
   ========================================================================= */

/* ---- Tokens ------------------------------------------------------------ */
:root {
    /* Brand palette */
    --brand:        #3b82f6;   /* main */
    --brand-strong: #2f6fe0;   /* hover */
    --brand-700:    #1E3B8A;   /* secondary deep blue */
    --navy:         #1E3B8A;
    --navy-2:       #16306e;
    --brand-tint:   #EAF1FF;
    --brand-tint-2: #DBE7FE;
    --accent:       #f59e0b;   /* singular conversion accent */
    --accent-strong:#d98708;
    --green:        #10b981;
    --red:          #ef4444;
    --violet:       #8b5cf6;
    --violet-2:     #c084fc;
    --teal:         #0e7490;

    /* Neutrals (light) */
    --bg:        #FFFFFF;
    --bg-2:      #F7F8FA;
    --bg-3:      #EFF1F5;
    --surface:   #FFFFFF;
    --ink:       #0A0A0A;
    --text:      #1F2937;
    --text-muted:#5B6473;
    --text-soft: #8A93A3;
    --border:    #E6E8EC;
    --border-2:  #D4D8DF;
    --header-bg: rgba(255,255,255,.82);

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(10,15,25,.05), 0 1px 3px rgba(10,15,25,.05);
    --shadow-md: 0 8px 24px -8px rgba(20,30,60,.16), 0 2px 6px rgba(20,30,60,.06);
    --shadow-lg: 0 30px 60px -24px rgba(20,30,60,.26), 0 8px 20px -12px rgba(20,30,60,.14);
    --shadow-brand: 0 18px 40px -16px rgba(59,130,246,.45);
    --shadow-accent: 0 14px 30px -12px rgba(245,158,11,.5);
    /* Subtle film grain to break flat surfaces (navy-friendly) */
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

    /* Shape scale (lock): cards 18px, inputs 12px, buttons pill */
    --radius-card: 18px;
    --radius-lg:   24px;
    --radius-md:   12px;
    --radius-pill: 999px;

    /* Layout */
    --maxw: 1200px;
    --maxw-wide: 1320px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --section-y: clamp(3.4rem, 6.5vw, 6rem);

    --font-display: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;

    --ease: cubic-bezier(.16, 1, .3, 1);
    --ease-spring: cubic-bezier(.22, 1.12, .36, 1);
    color-scheme: light;
}

/* Dark theme tokens. Applied manually via [data-theme="dark"] and automatically when the OS
   prefers dark (unless the visitor forced light via the toggle). */
:root[data-theme="dark"] {
    --bg: #080D1B; --bg-2: #0C1426; --bg-3: #111B31; --surface: #131E38;
    --ink: #F4F7FF; --text: #E7EDF8; --text-muted: #AEBBD2; --text-soft: #8595B0;
    --border: #243454; --border-2: #2E4066; --brand-tint: #15264C; --brand-tint-2: #1B315E;
    --brand-700: #A9C5FF; --header-bg: rgba(8,13,27,.85);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4); --shadow-md: 0 8px 24px -8px rgba(0,0,0,.5); --shadow-lg: 0 30px 60px -24px rgba(0,0,0,.6);
    color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #080D1B; --bg-2: #0C1426; --bg-3: #111B31; --surface: #131E38;
        --ink: #F4F7FF; --text: #E7EDF8; --text-muted: #AEBBD2; --text-soft: #8595B0;
        --border: #243454; --border-2: #2E4066; --brand-tint: #15264C; --brand-tint-2: #1B315E;
        --brand-700: #A9C5FF; --header-bg: rgba(8,13,27,.85);
        --shadow-sm: 0 1px 2px rgba(0,0,0,.4); --shadow-md: 0 8px 24px -8px rgba(0,0,0,.5); --shadow-lg: 0 30px 60px -24px rgba(0,0,0,.6);
        color-scheme: dark;
    }
}

/* ---- Reset / base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* ---- Typography -------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.h-display { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 900; letter-spacing: -.03em; }
.h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 900; }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 900; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--text-muted); line-height: 1.6; max-width: 60ch; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-display); font-weight: 600;
    font-size: .82rem; letter-spacing: .04em; color: var(--brand);
    text-transform: none;
}
.muted { color: var(--text-muted); }
.text-accent { color: var(--accent-strong); }
.text-brand { color: var(--brand); }
strong, b { font-weight: 700; color: inherit; }

/* ---- Layout ------------------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: var(--maxw-wide); }
.section { padding-block: var(--section-y); overflow-x: clip; }
.section-flow { overflow: visible; } /* opt-out for sections with sticky children */
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.bg-2 { background: var(--bg-2); }
.bg-3 { background: var(--bg-3); }
/* Grey sections become rounded floating panels with a soft blob (SaaS shape, not flat rectangles) */
.section.bg-2 { position: relative; overflow: hidden; border-radius: clamp(20px, 3vw, 44px); margin-inline: clamp(0px, 2vw, 28px); }
.section.bg-2::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; top: -170px; right: -130px; background: radial-gradient(circle, rgba(59,130,246,.07), transparent 70%); pointer-events: none; }
.section.bg-2 > .container, .section.bg-2 > .container-wide { position: relative; }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.measure { max-width: 62ch; }
.section-head { max-width: 46rem; }
.section-head.center { margin-inline: auto; }
.section-head .lead { margin-top: 1.1rem; }
.section-head .h2 { margin-top: .55rem; }

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); }
@media (min-width: 768px) {
    .md\:cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Buttons ----------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    font-family: var(--font-display); font-weight: 600; font-size: 1rem;
    padding: .85rem 1.5rem; border-radius: var(--radius-pill);
    transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
    white-space: nowrap; line-height: 1;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.985); }

.btn-accent { background: var(--accent); color: #2A1A00; box-shadow: var(--shadow-accent); }
.btn-accent:hover { background: var(--accent-strong); color: #fff; transform: translateY(-2px); }

.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-strong); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--border-2); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--brand); background: var(--brand-tint); }

.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }

.btn-white { background: #fff; color: var(--brand); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.08rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--brand); }
.link-arrow svg { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---- Pills / badges ---------------------------------------------------- */
.pill {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .45rem .9rem; border-radius: var(--radius-pill);
    background: var(--brand-tint); color: var(--brand-700);
    font-family: var(--font-display); font-weight: 600; font-size: .82rem;
    box-shadow: inset 0 0 0 1px var(--brand-tint-2);
}
.pill svg { width: 1.05em; height: 1.05em; }
.pill-accent { background: #FFF3DD; color: var(--accent-strong); box-shadow: inset 0 0 0 1px #FBE4B8; }
.tag { font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 6px; color: #fff; font-family: var(--font-display); }
.tag-new { background: var(--brand); }
.tag-quoted { background: var(--accent); color:#2A1A00; }
.tag-sold { background: var(--green); }
.tag-lost { background: var(--red); }

/* ---- Cards ------------------------------------------------------------- */
.card {
    background: var(--surface); border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm); border: 1px solid var(--border);
    padding: clamp(1.15rem, 2vw, 1.6rem);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card-hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--brand-tint-2); }
.card-icon {
    width: 3rem; height: 3rem; display: grid; place-items: center;
    border-radius: 14px; background: var(--brand-tint); color: var(--brand);
    margin-bottom: 1.1rem;
}
.card-icon svg { width: 1.5rem; height: 1.5rem; }
.card-icon.accent { background: #FFF3DD; color: var(--accent-strong); }
/* Consistent icon chips across all features. */
.ci-blue, .ci-teal, .ci-violet, .ci-green, .ci-navy, .ci-amber { background: var(--brand-tint) !important; color: var(--brand) !important; }
/* --- Persona ("who it's for") pages -------------------------------------- */
.persona-hero .pill svg { width: 1.05em; height: 1.05em; }
.persona-hero-media { position: relative; }
.persona-hero-media::before { content: ""; position: absolute; inset: -14% -10% auto auto; width: 62%; height: 62%; background: radial-gradient(closest-side, rgba(59,130,246,.20), transparent); filter: blur(22px); z-index: -1; }
.trust-note { display: inline-flex; align-items: center; gap: .5rem; color: var(--text-muted); font-size: .92rem; }
.trust-note svg { width: 1.1rem; height: 1.1rem; color: var(--brand); flex: none; }

.pain-list { display: grid; gap: .85rem; }
.pain-list li { display: flex; gap: .95rem; align-items: flex-start; padding: 1.05rem 1.25rem; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border); border-left: 3px solid #ef4444; }
.pain-list li > span:last-child { font-size: 1.05rem; color: var(--ink); font-weight: 500; line-height: 1.5; }
.pain-list .ic { flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: rgba(239,68,68,.14); color: #ef4444; margin-top: 1px; }
.pain-list .ic svg { width: 1.05rem; height: 1.05rem; }

.timeline { position: relative; max-width: 48rem; margin-inline: auto; display: grid; gap: 1.5rem; padding-left: 1.75rem; list-style: none; }
.timeline::before { content: ""; position: absolute; left: .45rem; top: .5rem; bottom: .5rem; width: 2px; background: linear-gradient(var(--brand), var(--brand-tint)); }
.tl-step { position: relative; }
.tl-dot { position: absolute; left: -1.75rem; top: .3rem; width: .95rem; height: .95rem; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.tl-time { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); margin-bottom: .45rem; }
.tl-card { background: var(--surface); border-radius: 14px; padding: 1rem 1.25rem; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border); }
.tl-card p { margin: 0; color: var(--text); }

.how-grid { display: grid; gap: 2rem 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .how-grid { grid-template-columns: repeat(3, 1fr); } }
.how-item { text-align: center; }
.how-item .card-icon { margin-inline: auto; width: 3rem; height: 3rem; }
.how-item p { color: var(--text-muted); }

.gain-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .gain-grid { grid-template-columns: repeat(3, 1fr); } }
.gain-item { display: flex; flex-direction: column; gap: .85rem; padding: 1.6rem 1.4rem; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-md), inset 0 0 0 1px var(--border); transition: transform .25s var(--ease-spring), box-shadow .25s; }
.gain-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--brand-tint-2); }
.gain-ic { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: 0 8px 18px -6px rgba(59,130,246,.6); }
.gain-ic svg { width: 1.4rem; height: 1.4rem; }
.gain-item p { margin: 0; font-weight: 600; color: var(--ink); font-size: 1.05rem; line-height: 1.45; }

.chip-link svg { width: 1.05em; height: 1.05em; vertical-align: -2px; margin-right: .25rem; }

.int-hero-logo { display: inline-grid; place-items: center; min-height: 64px; padding: 1rem 1.6rem; background: var(--surface); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--border); }
.int-hero-logo img { max-height: 52px; width: auto; }

/* --- Marketplace detail hero: logo chip + browser mockup ----------------- */
.mp-logo-chip { display: inline-flex; align-items: center; gap: .6rem; background: #fff; border-radius: 12px; padding: .5rem .9rem; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border); }
.mp-logo-chip img { max-height: 28px; width: auto; }
.mp-logo-card { background: #fff; border-radius: 20px; padding: 3.2rem 2.5rem; display: grid; place-items: center; min-height: 220px; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--border); }
.mp-logo-card img { max-height: 64px; width: auto; max-width: 82%; }
.browser-mock { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--border); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: .45rem; padding: .7rem .9rem; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.browser-bar .dot { width: .62rem; height: .62rem; border-radius: 50%; flex: none; }
.browser-bar .dot.r { background: #ef4444; } .browser-bar .dot.y { background: #f59e0b; } .browser-bar .dot.g { background: #22c55e; }
.browser-url { flex: 1; margin-left: .4rem; height: 1.5rem; border-radius: 7px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); display: flex; align-items: center; padding: 0 .75rem; font-size: .72rem; color: var(--text-soft); overflow: hidden; white-space: nowrap; }
.browser-mock > img { display: block; width: 100%; height: auto; max-height: 360px; object-fit: cover; object-position: top center; }

/* --- Integration hero: animated connection (tool <-> Aéllo Copilot) ------ */
.int-connect { display: flex; align-items: center; gap: .5rem; background: var(--surface); border-radius: 20px; padding: 1.9rem 1.6rem; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--border); }
.int-node { flex: none; width: 5.6rem; height: 5.6rem; border-radius: 16px; background: #fff; display: grid; place-items: center; padding: .9rem; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border); }
.int-node img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.int-node-txt { font-family: var(--font-display); font-weight: 800; font-size: .8rem; color: var(--brand); text-align: center; }
.int-node-brand { box-shadow: var(--shadow-sm), inset 0 0 0 2px var(--brand-tint-2); }
.int-flow { position: relative; flex: 1; height: 2rem; min-width: 3rem; }
.int-flow::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, var(--border-2) 0 6px, transparent 6px 12px); }
.int-flow i { position: absolute; top: 50%; left: 2%; width: .55rem; height: .55rem; border-radius: 50%; background: var(--brand); transform: translateY(-50%); box-shadow: 0 0 0 3px var(--brand-tint); animation: intFlow 2.4s linear infinite; }
.int-flow i:nth-child(2) { animation-delay: .8s; }
.int-flow i:nth-child(3) { animation-delay: 1.6s; }
/* Two-way: outbound dots ride the upper lane, inbound (amber) come back on the lower lane. */
.int-connect.two-way .int-flow i:not(.rev) { top: 38%; }
.int-flow i.rev { top: 62%; background: var(--accent); box-shadow: 0 0 0 3px rgba(245,158,11,.18); animation-name: intFlowRev; }
.int-flow i.rev:nth-child(4) { animation-delay: .4s; }
.int-flow i.rev:nth-child(5) { animation-delay: 1.2s; }
.int-flow i.rev:nth-child(6) { animation-delay: 2s; }
@keyframes intFlow { 0% { left: 2%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 96%; opacity: 0; } }
@keyframes intFlowRev { 0% { left: 96%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 2%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .int-flow i { animation: none; left: 44%; } .int-flow i.rev { left: 54%; } }

/* --- Solution-type hero: vehicle stock grid ------------------------------ */
.sv-cap { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.sv-cap .pv-i .ti { font-size: 1.2rem; }
.sv-cap em { flex: 1; height: .6rem; border-radius: 4px; background: var(--border); }
.sv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.sv-cell { position: relative; height: 4.4rem; border-radius: 14px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--border); display: grid; place-items: center; opacity: 0; transform: translateY(10px); animation: pvRise .5s var(--ease) forwards; animation-delay: calc(var(--i) * .12s); }
.sv-cell .ti { font-size: 1.9rem; color: var(--brand); }
.sv-cell .sv-ok { position: absolute; top: .5rem; right: .5rem; width: .7rem; height: .7rem; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
@media (prefers-reduced-motion: reduce) { .sv-cell { opacity: 1; transform: none; animation: none; } }

/* --- Persona hero visuals (role-specific, animated) ---------------------- */
.pv { position: relative; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--border); padding: 1.1rem 1.1rem 1.3rem; overflow: hidden; }
.pv-top { display: flex; gap: .4rem; margin-bottom: 1rem; }
.pv-top .d { width: .6rem; height: .6rem; border-radius: 50%; }
.pv-top .r { background: #ef4444; } .pv-top .y { background: #f59e0b; } .pv-top .g { background: #22c55e; }
.pv-i { flex: none; width: 2rem; height: 2rem; border-radius: 9px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); }
.pv-i svg { width: 1.1rem; height: 1.1rem; }
.pv-i .ti { font-size: 1.2rem; line-height: 1; }
.pv-i.g { background: rgba(34,197,94,.14); color: #16a34a; } .pv-i.v { background: rgba(139,92,246,.16); color: #8b5cf6; } .pv-i.b { background: var(--brand-tint); color: var(--brand); }
.pv-cap { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.pv-cap em { flex: 1; height: .6rem; border-radius: 4px; background: var(--border); }
.pv-fleet .ti { font-size: 1.4rem; color: var(--brand); }

.pv-row { display: flex; align-items: center; gap: .7rem; padding: .55rem .6rem; border-radius: 12px; background: var(--bg-2); margin-bottom: .5rem; opacity: 0; transform: translateX(14px); animation: pvRise .5s var(--ease) forwards; animation-delay: calc(var(--i) * .14s); }
.pv-sk { flex: 1; display: grid; gap: .3rem; }
.pv-sk i { display: block; height: .5rem; border-radius: 4px; background: linear-gradient(90deg, var(--border-2), var(--border)); }
.pv-pill { width: .7rem; height: .7rem; border-radius: 50%; flex: none; }
.pv-pill.new { background: var(--brand); } .pv-pill.hot { background: #f59e0b; }
.pv-auto { display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; border-radius: 12px; background: rgba(34,197,94,.12); color: #16a34a; margin-top: .2rem; opacity: 0; animation: pvPop .5s var(--ease) forwards; animation-delay: calc(var(--i) * .14s); }
.pv-auto svg { width: 1.25rem; height: 1.25rem; flex: none; }
.pv-auto .pv-sk i { background: rgba(34,197,94,.4); }

.pv-bars { display: flex; align-items: flex-end; gap: .55rem; height: 118px; padding: 0 .3rem; }
.pv-bars span { flex: 1; height: 0; align-self: flex-end; border-radius: 7px 7px 0 0; background: linear-gradient(var(--brand), var(--brand-tint-2)); animation: pvGrow .7s var(--ease-spring) forwards; animation-delay: calc(var(--i) * .1s); }
.pv-meter { margin-top: .9rem; height: .6rem; border-radius: 5px; background: var(--bg-2); overflow: hidden; }
.pv-meter b { display: block; height: 100%; width: 0; border-radius: 5px; background: #22c55e; --w: 78%; animation: pvWidth 1s var(--ease) forwards .6s; }

.pv-line { width: 100%; height: 110px; display: block; }
.pv-line polyline { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 620; stroke-dashoffset: 620; animation: pvDraw 1.4s var(--ease) forwards .2s; }
.pv-chips { display: flex; gap: .5rem; margin-top: 1rem; }
.pv-chips span { flex: 1; height: 2.4rem; border-radius: 10px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--border); display: grid; place-items: center; opacity: 0; animation: pvPop .5s var(--ease) forwards; animation-delay: calc(1s + var(--i) * .12s); }
.pv-chips .ti { font-size: 1.4rem; color: var(--brand); }

.pv-src { display: flex; justify-content: center; gap: .7rem; margin-bottom: .9rem; }
.pv-fun { display: grid; gap: .5rem; justify-items: center; }
.pv-fun span { height: 1.9rem; border-radius: 8px; background: linear-gradient(90deg, var(--brand), var(--brand-tint-2)); width: 0; --w: 100%; animation: pvFunnel .7s var(--ease-spring) forwards; animation-delay: calc(var(--i) * .14s); }
.pv-conv { height: 2.6rem; border-radius: 12px; background: rgba(34,197,94,.12); margin-top: .9rem; display: grid; place-items: center; opacity: 0; animation: pvPop .5s var(--ease) forwards .8s; }
.pv-conv .ti { font-size: 1.6rem; color: #16a34a; }

@keyframes pvRise { to { opacity: 1; transform: none; } }
@keyframes pvPop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pvGrow { to { height: var(--h); } }
@keyframes pvWidth { to { width: var(--w); } }
@keyframes pvDraw { to { stroke-dashoffset: 0; } }
@keyframes pvFunnel { to { width: var(--w); } }

/* --- Solution-type visuals (one representative mock per integration category) --- */
@keyframes svPulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes svBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes svGlow  { 0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); } 50% { box-shadow: 0 0 0 5px rgba(245,158,11,.18); } }
/* browser address bar (website + marketplaces) */
.sv-addr { display: flex; align-items: center; gap: .5rem; height: 1.7rem; padding: 0 .7rem; margin: -.35rem 0 1rem; border-radius: 8px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--border); color: var(--text-soft); }
.sv-addr .ti { font-size: .85rem; }
.sv-addr em { flex: 1; height: .5rem; border-radius: 4px; background: var(--border); }
/* website */
.web-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: .85rem; }
.web-logo { width: 2.4rem; height: .7rem; border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--brand-tint-2)); }
.web-links { display: flex; gap: .5rem; }
.web-links i { display: block; width: 1.5rem; height: .5rem; border-radius: 4px; background: var(--border); }
.web-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: .7rem; }
.web-photo { height: 6.6rem; border-radius: 14px; background: linear-gradient(135deg, var(--brand-tint), var(--bg-2)); box-shadow: inset 0 0 0 1px var(--border); display: grid; place-items: center; opacity: 0; transform: translateY(10px); animation: pvRise .5s var(--ease) forwards .1s; }
.web-photo .ti { font-size: 2.6rem; color: var(--brand); }
.web-panel { display: flex; flex-direction: column; justify-content: center; gap: .55rem; opacity: 0; transform: translateY(10px); animation: pvRise .5s var(--ease) forwards .24s; }
.web-ln { height: .6rem; border-radius: 4px; background: var(--border); }
.web-ln.sm { width: 68%; }
.web-cta { margin-top: .2rem; height: 1.9rem; border-radius: 9px; background: var(--accent); animation: svGlow 2.6s ease-in-out 1.2s infinite; }
.web-toast { display: flex; align-items: center; gap: .6rem; margin-top: .9rem; padding: .6rem .7rem; border-radius: 12px; background: rgba(34,197,94,.12); color: #16a34a; opacity: 0; animation: pvPop .5s var(--ease) forwards calc(var(--i) * .12s); }
.web-toast svg { width: 1.2rem; height: 1.2rem; flex: none; }
.web-toast .pv-sk { flex: 1; } .web-toast .pv-sk i { background: rgba(34,197,94,.4); }
/* marketplaces */
.mkt-tiles { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .6rem; }
.mkt-tile { position: relative; height: 5rem; border-radius: 14px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; opacity: 0; transform: translateY(10px); animation: pvRise .5s var(--ease) forwards; animation-delay: calc(var(--i) * .12s); }
.mkt-tile .ti { font-size: 1.7rem; color: var(--brand); }
.mkt-price { width: 58%; height: .5rem; border-radius: 4px; background: var(--border); }
.mkt-badge { position: absolute; top: .45rem; right: .45rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--accent); animation: svPulse 1.8s ease-in-out infinite; animation-delay: calc(var(--i) * .3s); }
.mkt-inbox { display: flex; align-items: center; gap: .6rem; margin-top: .9rem; padding: .6rem .7rem; border-radius: 12px; background: rgba(34,197,94,.12); color: #16a34a; opacity: 0; animation: pvPop .5s var(--ease) forwards calc(var(--i) * .12s); }
.mkt-inbox svg { width: 1.2rem; height: 1.2rem; flex: none; }
.mkt-inbox .pv-sk { flex: 1; } .mkt-inbox .pv-sk i { background: rgba(34,197,94,.4); }
.mkt-count { flex: none; min-width: 1.4rem; height: 1.4rem; padding: 0 .35rem; border-radius: 7px; background: #16a34a; color: #fff; font: 600 .78rem/1.4rem var(--font-display); text-align: center; }
/* api */
.sv-api .api-req { display: flex; align-items: center; gap: .5rem; margin-bottom: .7rem; font: 600 .82rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.api-m { padding: .2rem .45rem; border-radius: 6px; background: var(--brand); color: #fff; font-size: .72rem; letter-spacing: .02em; }
.api-path { color: var(--text); }
.api-ok { margin-left: auto; width: .6rem; height: .6rem; border-radius: 50%; background: #22c55e; animation: svPulse 1.6s ease-in-out infinite; }
.api-json { border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--border); padding: .75rem .85rem; display: grid; gap: .42rem; font: .82rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.api-ln { opacity: 0; transform: translateY(6px); animation: pvRise .45s var(--ease) forwards; animation-delay: calc(var(--i) * .14s); white-space: nowrap; color: var(--text-soft); }
.api-ln em { color: var(--brand); font-style: normal; }
.api-ln b { color: #16a34a; font-weight: 600; }
.api-ln u { color: var(--accent); text-decoration: none; }
.api-cur { display: inline-block; width: .5rem; height: .95rem; margin-left: 2px; vertical-align: -2px; background: var(--brand); animation: svBlink 1.1s steps(1) infinite; }
.api-hook { display: flex; align-items: center; gap: .55rem; margin-top: .8rem; padding: .55rem .7rem; border-radius: 12px; background: rgba(34,197,94,.12); color: #16a34a; opacity: 0; animation: pvPop .5s var(--ease) forwards calc(var(--i) * .12s); }
.api-hook .ti { font-size: 1.1rem; }
.api-dot { flex: none; width: .6rem; height: .6rem; border-radius: 50%; background: #22c55e; animation: svPulse 1.6s ease-in-out infinite; }
.api-hook .pv-sk { flex: 1; } .api-hook .pv-sk i { background: rgba(34,197,94,.4); }
/* crm */
.crm-card { display: flex; align-items: center; gap: .7rem; padding: .6rem; border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--border); margin-bottom: .55rem; opacity: 0; transform: translateX(14px); animation: pvRise .5s var(--ease) forwards; animation-delay: calc(var(--i) * .14s); }
.crm-av { flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font: 600 .72rem/1 var(--font-display); color: #fff; background: var(--brand); }
.crm-av.g { background: #16a34a; }
.crm-card .pv-i { margin-left: auto; }
.crm-pipe { display: flex; gap: .4rem; margin-top: .65rem; opacity: 0; animation: pvPop .5s var(--ease) forwards calc(var(--i) * .14s); }
.crm-pipe span { flex: 1; height: .55rem; border-radius: 4px; background: var(--border); }
.crm-pipe span.on { background: var(--brand); }
.crm-sync { display: flex; align-items: center; gap: .55rem; margin-top: .8rem; padding: .55rem .7rem; border-radius: 12px; background: var(--brand-tint); color: var(--brand); opacity: 0; animation: pvPop .5s var(--ease) forwards calc(var(--i) * .14s); }
.crm-sync .ti { font-size: 1.15rem; animation: svPulse 1.9s ease-in-out infinite; }
.crm-sync .pv-sk { flex: 1; } .crm-sync .pv-sk i { background: var(--brand-tint-2); }
/* dms */
.dms-head { display: flex; align-items: center; gap: .6rem; padding: 0 .6rem .5rem; }
.dms-head em { display: block; height: .45rem; border-radius: 4px; background: var(--border); }
.dms-row { display: flex; align-items: center; gap: .7rem; padding: .5rem .6rem; border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--border); margin-bottom: .5rem; opacity: 0; transform: translateX(14px); animation: pvRise .5s var(--ease) forwards; animation-delay: calc(var(--i) * .14s); }
.dms-ref { flex: 1; height: .55rem; border-radius: 4px; background: var(--border); }
.dms-price { width: 3rem; height: .55rem; border-radius: 4px; background: var(--border-2); }
.dms-dot { flex: none; width: .7rem; height: .7rem; border-radius: 50%; animation: svPulse 2.1s ease-in-out infinite; }
.dms-dot.g { background: #22c55e; } .dms-dot.y { background: var(--accent); } .dms-dot.b { background: var(--brand); }
.dms-doc { display: flex; align-items: center; gap: .6rem; margin-top: .3rem; padding: .55rem .7rem; border-radius: 12px; background: var(--brand-tint); color: var(--brand); opacity: 0; animation: pvPop .5s var(--ease) forwards calc(var(--i) * .14s); }
.dms-doc .ti { font-size: 1.2rem; }
.dms-doc .pv-sk { flex: 1; } .dms-doc .pv-sk i { background: var(--brand-tint-2); }

@media (prefers-reduced-motion: reduce) {
  .pv-row, .pv-auto, .pv-chips span, .pv-conv { opacity: 1; transform: none; animation: none; }
  .web-photo, .web-panel, .web-toast, .mkt-tile, .mkt-inbox, .api-ln, .api-hook, .crm-card, .crm-pipe, .crm-sync, .dms-row, .dms-doc { opacity: 1; transform: none; animation: none; }
  .web-cta, .mkt-badge, .api-ok, .api-cur, .api-dot, .crm-sync .ti, .dms-dot { animation: none; }
  .pv-bars span { height: var(--h); animation: none; }
  .pv-meter b { width: var(--w); animation: none; }
  .pv-fun span { width: var(--w); animation: none; }
  .pv-line polyline { stroke-dashoffset: 0; animation: none; }
}
.card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card p { color: var(--text-muted); font-size: .98rem; }

/* navy feature panel (brand element, used to frame product visuals) */
.panel-navy {
    position: relative; isolation: isolate; overflow: hidden;
    background: linear-gradient(160deg, var(--navy-2), var(--navy));
    border-radius: var(--radius-lg); color: #fff;
    box-shadow: var(--shadow-lg);
}
.panel-navy::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(120% 90% at 0% 0%, rgba(37,99,235,.5), transparent 55%),
        radial-gradient(80% 80% at 100% 100%, rgba(245,166,35,.18), transparent 60%);
}
.panel-navy img { border-radius: 12px; }

/* ---- Hero -------------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: var(--section-y); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); font-weight: 900; letter-spacing: -.03em; }
.hero .lead { margin-top: 1.4rem; }
.hero-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero-visual { position: relative; }

/* decorative grid backdrop */
.bg-mesh { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.bg-grid {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(110% 100% at 80% 0%, #000, transparent 70%);
            mask-image: radial-gradient(110% 100% at 80% 0%, #000, transparent 70%);
    opacity: .55;
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: -1; }
.blob-brand { background: radial-gradient(circle, var(--brand) 0%, transparent 70%); }
.blob-accent { background: radial-gradient(circle, var(--accent) 0%, transparent 70%); }

/* ---- Logo wall / marquee ---------------------------------------------- */
.logowall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--border); }
@media (min-width: 640px) { .logowall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .logowall { grid-template-columns: repeat(6, 1fr); } }
.logowall-cell { background: var(--surface); display: grid; place-items: center; padding: 1.5rem 1rem; min-height: 96px; }
.logowall-cell img { max-height: 30px; width: auto; object-fit: contain; opacity: .72; filter: grayscale(1); transition: opacity .25s, filter .25s; }
.logowall-cell:hover img { opacity: 1; filter: grayscale(0); }

.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 28px; width: auto; opacity: .65; filter: grayscale(1); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; } }

/* ---- Stats / counters -------------------------------------------------- */
.stats { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.stat .label { margin-top: .5rem; color: var(--text-muted); font-size: .95rem; }

/* ---- Feature split (zigzag) ------------------------------------------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse .split-media { order: -1; } }
.feature-list { margin-top: 1.6rem; display: grid; gap: .9rem; }
.feature-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--text); }
.feature-list .ic { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 7px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-top: .1rem; }
.feature-list .ic svg { width: 1rem; height: 1rem; }

/* ---- CTA band ---------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); color: #fff; padding: clamp(2.75rem, 5.5vw, 4.25rem); text-align: center; box-shadow: var(--shadow-lg);
    background:
        radial-gradient(90% 130% at 88% 8%, rgba(245,158,11,.28), transparent 50%),
        radial-gradient(120% 130% at 0% 100%, #243f7c, transparent 55%),
        linear-gradient(150deg, #1a3568, #0a1733); }
.cta-band::after { content:""; position:absolute; inset:0; z-index:0; background-image: var(--grain); opacity:.05; mix-blend-mode: overlay; pointer-events:none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255,255,255,.85); margin-inline: auto; margin-top: 1rem; }
.cta-actions { margin-top: 1.8rem; display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---- Testimonial ------------------------------------------------------- */
.quote-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); color: var(--ink); padding: clamp(2rem, 4vw, 3.25rem); box-shadow: var(--shadow-md); }
.quote-card::before { content: "\201C"; position: absolute; top: -.4rem; right: 1.4rem; font-family: var(--font-display); font-size: 7rem; line-height: 1; color: rgba(245,158,11,.16); }
.quote-card .q { font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 500; line-height: 1.45; color: var(--ink); position: relative; }
.quote-card figcaption { margin-top: 1.5rem; display: flex; align-items: center; gap: .9rem; color: var(--text-muted); }
.quote-card .who b { display: block; color: var(--ink); }
.quote-card .who span { color: var(--text-muted); font-size: .9rem; }
.quote-card img { filter: brightness(0) opacity(.5); } /* white client logos -> dark on the light card */

/* --- CRO: hero trust strip, reassurance chips, testimonial avatar, next-steps --- */
.trust-strip { list-style: none; display: flex; flex-wrap: wrap; gap: 1.3rem 2.1rem; margin: 1.6rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid var(--border); }
.trust-strip li { display: flex; flex-direction: column; line-height: 1.1; }
.trust-strip b { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); letter-spacing: -.01em; }
.trust-strip span { font-size: .8rem; color: var(--text-soft); margin-top: .2rem; }
.reassure { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem 1.3rem; margin: 1.5rem 0 0; padding: 0; justify-content: center; }
.reassure li { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; color: var(--text-muted); }
.reassure li svg { width: 1rem; height: 1rem; color: #16a34a; flex: none; }
.cta-band .reassure li { color: rgba(255,255,255,.85); }
.cta-band .reassure li svg { color: #86efac; }
.quote-card .qt-metric { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--brand); background: var(--brand-tint); border-radius: 999px; padding: .3rem .85rem; margin-bottom: 1.1rem; }
.qt-av { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .88rem; color: #fff; background: var(--brand); }
.qt-av.g { background: #16a34a; }
.after-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.after-step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.7rem 1.5rem; box-shadow: var(--shadow-sm); }
.after-step .after-n { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 700; margin-bottom: .9rem; }
.after-step h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.after-step p { color: var(--text-muted); font-size: .95rem; line-height: 1.5; }
@media (max-width: 760px) { .after-steps { grid-template-columns: 1fr; } .trust-strip b { font-size: 1.3rem; } }
.proof-strip-sec { padding-top: 0; }
.proof-strip { max-width: 46rem; margin-inline: auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .9rem; }
.proof-strip .proof-stars { display: flex; gap: .15rem; }
.proof-strip blockquote { font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 500; line-height: 1.45; color: var(--ink); }
.proof-strip figcaption { display: flex; align-items: center; gap: .7rem; }
.proof-strip .who { text-align: left; }
.proof-strip .who b { display: block; color: var(--ink); }
.proof-strip .who span { color: var(--text-muted); font-size: .9rem; }

/* ---- Mini reviews (demo) ----------------------------------------------- */
.demo-reviews { display: grid; gap: 1rem; }
.mini-review { border-left: 3px solid var(--brand); padding-left: 1rem; }
.mini-review .stars { color: var(--accent); display: flex; gap: 1px; font-size: .92rem; }
.mini-review blockquote { font-size: .95rem; color: var(--text); margin: .35rem 0; line-height: 1.5; }
.mini-review figcaption { font-size: .82rem; color: var(--text-muted); }
.mini-review figcaption b { color: var(--ink); font-weight: 700; }

/* ---- Tabs (features) --------------------------------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.5rem; }
.tab-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--text-muted); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--border); transition: all .2s var(--ease); }
.tab-btn svg { width: 1.1em; height: 1.1em; }
.tab-btn:hover { color: var(--brand); }
.tab-btn[aria-selected="true"] { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade-up .5s var(--ease) both; }

/* Premium feature bento (swaps with the active tab) */
.feature-bento { display: none; }
.feature-bento.is-active { display: block; animation: fade-up .5s var(--ease) both; }
.fbento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; grid-auto-rows: minmax(154px, auto); }
.ft { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 1.3rem; display: flex; flex-direction: column; gap: .5rem; box-shadow: 0 20px 46px -34px rgba(20,30,60,.45); transition: transform .3s var(--ease), box-shadow .3s; }
@media (hover: hover) and (pointer: fine) { .ft:hover { transform: translateY(-4px); box-shadow: 0 30px 56px -30px rgba(20,30,60,.5); } }
.ft h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--text); line-height: 1.25; }
.ft p { color: var(--text-muted); font-size: .88rem; line-height: 1.45; margin: 0; }
.ft-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4.2vw, 2.8rem); line-height: 1; background: linear-gradient(120deg, var(--brand), #1E3B8A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ftv { margin-bottom: .35rem; }
.ftv-svg { width: 100%; height: auto; max-height: 70px; display: block; }
.ft-statt .ftv-svg { max-height: 56px; }
/* Hero tile */
.ft-hero { grid-column: span 2; grid-row: span 2; justify-content: space-between; gap: 1rem; background: linear-gradient(165deg, #fff 28%, var(--brand-tint)); }
.ft-hero::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; right: -130px; top: -140px; background: radial-gradient(circle, rgba(59,130,246,.14), transparent 70%); pointer-events: none; }
.ft-hero-vis { position: relative; display: grid; place-items: center; flex: 1; min-height: 0; }
.ft-hero-svg { width: 100%; height: auto; max-height: 280px; filter: drop-shadow(0 18px 30px rgba(20,30,60,.12)); }
.ft-cap { position: relative; display: flex; align-items: center; gap: .7rem; }
.ft-cap h4 { font-size: 1.18rem; }
.ft-ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(150deg, var(--brand), #6AA8FF); color: #fff; box-shadow: 0 10px 20px -8px var(--brand); }
.ft-ic svg { width: 1.3rem; height: 1.3rem; }
/* Capture logos inside the hero */
.ft-logos { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; width: 100%; }
.ft-logo { aspect-ratio: 16 / 10; display: grid; place-items: center; background: var(--surface); border-radius: 13px; padding: .55rem; box-shadow: 0 8px 20px -14px rgba(20,30,60,.4), inset 0 0 0 1px var(--border); }
.ft-logo img { max-width: 82%; max-height: 60%; object-fit: contain; filter: grayscale(1); opacity: .82; }
/* Full-width wide tile (e.g. enriched lead banner) */
.ft-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 1.5rem; }
.ft-wide .ftv { margin: 0; flex-shrink: 0; width: 160px; }
.ft-wide-tx { flex: 1; }
/* Contact-base secondary block (engage) — a striking navy USP card */
.ft-cb { grid-column: span 2; background: linear-gradient(155deg, var(--navy), #16306e); border-color: transparent; gap: 1.1rem; }
.ft-cb h4 { color: #fff; font-size: 1.12rem; }
.ft-cb > .ft-cb-head p, .ft-cb p { color: rgba(255,255,255,.72); }
.ft-cb-head { display: flex; align-items: center; gap: .8rem; }
.ft-cb-head .ft-ic { background: rgba(255,255,255,.16); box-shadow: none; }
.ft-cb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: auto; }
.ft-cb-item { display: flex; gap: .6rem; }
.ft-cb-ic { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; }
.ft-cb-ic svg { width: 1rem; height: 1rem; }
.ft-cb-item strong { display: block; color: #fff; font-family: var(--font-display); font-size: .92rem; }
.ft-cb-item span { color: rgba(255,255,255,.66); font-size: .8rem; line-height: 1.35; }
/* Bento section as wide as the tabs above (no inset panel) */
.feat-bento-section { background: var(--bg-2); }
/* Sector visual bento (capture animation + marketplace logos + channels) */
.ft-anim-tile .ft-hero-vis { padding: 0; }
.ft-anim-tile .feat-anim { width: 100%; height: auto; max-height: 320px; display: block; border-radius: 14px; filter: drop-shadow(0 18px 30px rgba(20,30,60,.14)); }
.ft-logos-sm { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.ft .bento-chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 0; margin-bottom: auto; }
.ft .bento-chips span { width: 46px; height: 46px; flex: none; display: grid; place-items: center; background: var(--brand-tint); border-radius: 13px; color: var(--brand); }
.ft .bento-chips span svg { width: 1.35rem; height: 1.35rem; }
/* Colour each channel chip for a more graphic bento. */
.bento-chips-color span:nth-child(1) { background: rgba(59,130,246,.14); color: #2563eb; }
.bento-chips-color span:nth-child(2) { background: rgba(16,185,129,.16); color: #059669; }
.bento-chips-color span:nth-child(3) { background: rgba(139,92,246,.16); color: #7c3aed; }
.bento-chips-color span:nth-child(4) { background: rgba(14,116,144,.16); color: #0e7490; }
.ft .card-icon { margin-bottom: auto; }
@media (max-width: 880px) { .fbento { grid-template-columns: repeat(2, 1fr); } .ft-hero { grid-column: span 2; grid-row: span 1; } .ft-cb { grid-column: span 2; } .ft-cb-grid { grid-template-columns: 1fr; } .ft-wide { flex-direction: column; align-items: flex-start; gap: .8rem; } .ft-wide .ftv { width: 140px; } }
@media (max-width: 540px) { .fbento { grid-template-columns: 1fr; } .ft-hero, .ft-cb, .ft-wide { grid-column: span 1; } }

/* ---- Accordion (FAQ) --------------------------------------------------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; padding: 1.3rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.faq-q svg { flex: none; width: 1.25rem; height: 1.25rem; color: var(--brand); transition: transform .3s var(--ease); }
.faq-q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .35s var(--ease); }
.faq-a > div { padding-bottom: 1.3rem; color: var(--text-muted); max-width: 70ch; }

/* ---- Forms ------------------------------------------------------------- */
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
    font: inherit; padding: .8rem 1rem; border-radius: var(--radius-md);
    background: var(--surface); color: var(--text);
    border: 1.5px solid var(--border-2); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 7.5rem; line-height: 1.5; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-soft); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37,99,235,.14); }
.phone-input { display: flex; gap: .5rem; }
.phone-input .phone-cc { flex: 0 0 auto; width: auto; min-width: 5.4rem; padding-inline: .65rem; }
.phone-input input[type="tel"] { flex: 1 1 auto; min-width: 0; }
.field input[aria-invalid="true"] { border-color: #DC2626; box-shadow: 0 0 0 4px rgba(220,38,38,.12); }
.field .hint { font-size: .82rem; color: var(--text-soft); }
.field .err { font-size: .82rem; color: #DC2626; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-md); }
@media (min-width: 900px) { .demo-form-col { position: sticky; top: 96px; } }
.form-rating { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--text-muted); }
.form-rating .stars { color: var(--accent); display: inline-flex; gap: 1px; font-size: .95rem; }
.req { color: var(--red); font-weight: 700; }
.req-note { font-size: .8rem; color: var(--text-soft); margin-top: .7rem; }
.form-note { display:flex; align-items:flex-start; gap:.55rem; font-size:.85rem; color:var(--text-muted); margin-top:.4rem; }
.form-consent { display:flex; align-items:flex-start; gap:.6rem; font-size:.85rem; color:var(--text-muted); margin:.9rem 0 1rem; line-height:1.45; }
.form-consent input { margin-top:.15rem; flex:none; width:1.05rem; height:1.05rem; accent-color: var(--brand); }
.form-consent a { color: var(--brand); font-weight:600; white-space:nowrap; }
/* Validation error state (e.g. the consent box left unchecked) */
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .phone-input { box-shadow: inset 0 0 0 1.5px #ef4444 !important; }
.form-consent.has-error { color: #ef4444; }
.form-consent.has-error input { accent-color: #ef4444; outline: 2px solid #ef4444; outline-offset: 2px; }
.form-consent.has-error a { color: #ef4444; }
.form-note svg { width:1.1rem; height:1.1rem; flex:none; color: #16A34A; margin-top:.1rem; }
.alert { padding: 1rem 1.2rem; border-radius: var(--radius-md); font-size: .95rem; }
.alert-success { background: #ECFDF3; color: #15803D; border: 1px solid #BBF7D0; }
.alert-error { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }

/* ---- Sectors / chips --------------------------------------------------- */
.chip-grid { display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .chip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .chip-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.chip { display: flex; align-items: center; gap: .85rem; padding: 1.1rem 1.2rem; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--border); font-family: var(--font-display); font-weight: 600; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.chip-link:hover { border-color: var(--brand-tint-2); }
.chip-link .chip-arrow { width: 1.1rem; height: 1.1rem; margin-left: auto; color: var(--brand); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.chip-link:hover .chip-arrow { opacity: 1; transform: translateX(0); }
.chip .ic { width: 2.6rem; height: 2.6rem; flex: none; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.chip .ic svg { width: 1.4rem; height: 1.4rem; }
.chip .ic i.ti { font-size: 1.4rem; line-height: 1; }
i.ti { line-height: 1; display: inline-block; }

/* ---- Steps ------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 2rem; position: relative; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps::before { content: ""; position: absolute; top: 1.4rem; left: 16.6%; right: 16.6%; border-top: 2px dashed var(--border-2); } }
.step { position: relative; text-align: center; }
.step .n { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: linear-gradient(160deg, var(--brand), var(--navy)); color: #fff; display: grid; place-items: center; margin: 0 auto 1rem; position: relative; z-index: 1; box-shadow: var(--shadow-brand); }
.step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { color: var(--text-muted); max-width: 32ch; margin-inline: auto; }

/* ---- Reveal animations ------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(24px) scale(.985); will-change: opacity, transform; }
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(.92); }
[data-reveal="fade"]  { transform: none; }
.reveal-in { opacity: 1 !important; transform: none !important; transition: opacity .55s var(--ease), transform .8s var(--ease-spring); }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1 !important; transform: none !important; }
    .tab-panel.is-active { animation: none; }
}

/* ---- Footer ------------------------------------------------------------ */
.footer { background: var(--navy); color: rgba(255,255,255,.78); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.footer ul { display: grid; gap: .7rem; }
.footer li a { color: rgba(255,255,255,.72); font-size: .95rem; }
.footer-bottom { margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .88rem; color: rgba(255,255,255,.6); }
.footer .brand-logo { height: 34px; margin-bottom: 1rem; }
.social { display: flex; gap: .75rem; }
.social a { width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--brand); }
.social svg { width: 1.15rem; height: 1.15rem; }
.store-badges { margin-top: 1.4rem; }
.store-label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .82rem; color: rgba(255,255,255,.62); margin-bottom: .55rem; }
.store-row { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }
.store-badge-img { display: inline-block; transition: opacity .2s; }
.store-badge-img img { height: 40px; width: auto; display: block; }
@media (hover: hover) and (pointer: fine) { .store-badge-img:hover { opacity: .82; } }

/* ---- Media frames / placeholders -------------------------------------- */
.media-frame {
    position: relative; isolation: isolate; overflow: hidden; max-width: 100%;
    border-radius: var(--radius-lg); padding: clamp(1rem, 2.5vw, 1.75rem);
    background: linear-gradient(160deg, var(--navy-2), var(--navy));
    box-shadow: var(--shadow-lg); min-height: 280px;
    display: grid; place-items: center;
}
.media-frame::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(120% 90% at 0% 0%, rgba(37,99,235,.55), transparent 55%),
        radial-gradient(90% 90% at 100% 100%, rgba(245,166,35,.2), transparent 60%);
}
.media-frame img { width: 100%; border-radius: 12px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); }
.media-mock, .feat-anim { width: 100%; height: auto; display: block; border-radius: 12px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.45); }
.media-frame > img, .media-frame > .media-mock, .media-frame > .feat-anim { grid-column: 1; grid-row: 1; }
.media-frame.has-img .media-mock, .media-frame.has-img .feat-anim { display: none; }
.media-frame .ph-label { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.6); font-size: .8rem; font-family: var(--font-display); }
.media-frame.has-img .ph-label, .media-frame:has(.media-mock) .ph-label { display: none; }
.media-photo { padding: 10px; }
.media-photo img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; box-shadow: none; }
.media-photo::after { content: ""; position: absolute; inset: 10px; border-radius: 14px; box-shadow: inset 0 -70px 90px -50px rgba(8,16,38,.75); pointer-events: none; }
.brand-panel { display: grid; place-items: center; gap: .9rem; text-align: center; }
.brand-panel i { font-size: 5.5rem; color: rgba(255,255,255,.92); }
.brand-panel-label { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.15rem; letter-spacing: -.01em; }
.article-figure { margin: 1.8rem 0; }
.article-figure img { width: 100%; border-radius: var(--radius-card); box-shadow: var(--shadow-md); }
.article-figure figcaption { margin-top: .6rem; font-size: .85rem; color: var(--text-muted); text-align: center; }
.media-soft { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; box-shadow: var(--shadow-md); }

.logo-fallback { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text-soft); letter-spacing: -.01em; }

/* ---- Problem (dark band) ---------------------------------------------- */
.problem-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; border-radius: var(--radius-lg); padding: clamp(2.2rem, 4.5vw, 3.75rem);
    background:
        radial-gradient(120% 130% at 0% 0%, #27407c 0%, transparent 52%),
        radial-gradient(110% 120% at 100% 100%, #122a5e 0%, transparent 50%),
        linear-gradient(160deg, #16306e, #0a1733); }
.problem-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .05; mix-blend-mode: overlay; pointer-events: none; }
.problem-band > * { position: relative; }
.problem-band h2 { color: #fff; }
.problem-band .lead { color: rgba(255,255,255,.78); }
.problem-grid { display: grid; gap: 0; margin-top: 2.75rem; }
@media (min-width: 640px) { .problem-grid { grid-template-columns: 1fr 1fr; column-gap: 2.75rem; } }
@media (min-width: 1024px) { .problem-grid { grid-template-columns: repeat(4, 1fr); } }
.problem-item { background: transparent; padding: 1.7rem 0 .4rem; border-top: 1px solid rgba(255,255,255,.16); }
.problem-item .ic { width: 2.6rem; height: 2.6rem; border-radius: 12px; background: rgba(245,166,35,.16); color: var(--accent); display: grid; place-items: center; margin-bottom: 1rem; }
.problem-item .ic svg { width: 1.4rem; height: 1.4rem; }
.problem-item h3 { color: #fff; font-size: 1.05rem; margin-bottom: .4rem; }
.problem-item p { color: rgba(255,255,255,.7); font-size: .92rem; }

/* ---- Pillars: editorial split (sticky heading + divided feature list) --- */
.pillars-layout { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 920px) { .pillars-layout { grid-template-columns: .82fr 1.18fr; } .pillars-head { position: sticky; top: 110px; align-self: start; } }
.pillars-list { display: grid; gap: 0; }
@media (min-width: 600px) { .pillars-list { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
.pillar-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.35rem .25rem; border-top: 1px solid var(--border); transition: background .2s, transform .2s; border-radius: 10px; }
.pillar-row:hover { background: var(--bg-2); transform: translateX(2px); }
.pillar-row .card-icon { flex: 0 0 auto; width: 2.6rem; height: 2.6rem; }
.pillar-row .card-icon svg { width: 1.3rem; height: 1.3rem; }
.pillar-tx { display: flex; flex-direction: column; }
.pillar-tx b { font-family: var(--font-display); font-weight: 700; color: var(--ink); margin-bottom: .25rem; font-size: 1.02rem; }
.pillar-tx > span { color: var(--text-muted); font-size: .92rem; line-height: 1.5; }

/* ---- Stats band (brand gradient, big numbers) -------------------------- */
.stats-band { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff, var(--bg-2)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(2.4rem, 4.5vw, 3.6rem); box-shadow: var(--shadow-md); }
.stats-band::before { content: ""; position: absolute; left: 0; top: 0; width: 38%; height: 3px; background: linear-gradient(90deg, var(--accent), transparent); }
.stats-band h2 { color: var(--ink); text-align: center; }
.stats-band .stats { margin-top: 2.6rem; position: relative; }
.stats-band .stat { position: relative; }
.stats-band .stat + .stat::before { content: ""; position: absolute; left: -1px; top: 12%; height: 76%; width: 1px; background: var(--border); }
@media (max-width: 767px) { .stats-band .stat + .stat::before { display: none; } }
.stats-band .stat .num { color: var(--ink); font-variant-numeric: tabular-nums; }
.stats-band .stat .label { color: var(--text-muted); }

/* ---- Integration logos (flat tiles, no borders) ------------------------ */
.integration-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.1rem; }
.ilogo { position: relative; display: grid; place-items: center; min-height: 88px; padding: 1.1rem; border-radius: var(--radius-card); background: var(--bg-2); }
.ilogo img { max-height: 32px; width: auto; }
.ilogo .tag-new { position: absolute; top: .6rem; right: .6rem; }

/* ---- Ecosystem graphic (central hub + logos on a fine orbital web) ------ */
.ecosystem { position: relative; width: 100%; max-width: 960px; margin-inline: auto; aspect-ratio: 1600 / 1100; }
.eco-web { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.eco-ring { fill: none; stroke: rgba(59,130,246,.16); stroke-width: 1.4; stroke-dasharray: 1.5 12; stroke-linecap: round; }
.eco-ring-i { stroke: rgba(59,130,246,.18); }
.eco-ring-m { stroke: rgba(59,130,246,.13); }
.eco-type { position: absolute; z-index: 3; transform: translate(-50%, -50%); background: var(--brand-tint); color: var(--brand); border: 1px solid var(--brand-tint-2); border-radius: 999px; padding: .32rem .72rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(.58rem, .92vw, .74rem); white-space: nowrap; box-shadow: 0 6px 16px -10px rgba(20,30,60,.2); animation: ecoFloat 6s ease-in-out infinite; will-change: translate; }
@media (hover: hover) and (pointer: fine) { .eco-type:hover { transform: translate(-50%, -50%) scale(1.08); border-color: var(--brand); } }
.eco-core { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 41%; aspect-ratio: 1; border-radius: 50%; background: var(--surface); box-shadow: 0 24px 60px -28px rgba(20,30,60,.28), 0 0 0 1px var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(1rem, 3vw, 2.2rem); }
.eco-eyebrow { font-family: var(--font-display); font-weight: 700; font-size: clamp(.6rem, .9vw, .72rem); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.eco-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1rem, 1.9vw, 1.45rem); line-height: 1.12; margin: .45rem 0 .55rem; color: var(--ink); letter-spacing: -.02em; max-width: 16ch; }
.eco-desc { color: var(--text-muted); font-size: clamp(.74rem, 1.15vw, .9rem); line-height: 1.45; max-width: 26ch; }
.eco-pills { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin-top: .95rem; }
.eco-pills span { background: var(--brand-tint); color: var(--brand); font-family: var(--font-display); font-weight: 700; font-size: clamp(.58rem, .95vw, .72rem); padding: .26rem .6rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--brand-tint-2); }
.eco-nodes { display: contents; }
.eco-node { position: absolute; z-index: 3; transform: translate(-50%, -50%); width: clamp(46px, 6vw, 64px); height: clamp(46px, 6vw, 64px); border-radius: 50%; background: var(--surface); box-shadow: 0 8px 22px -10px rgba(20,30,60,.22), 0 0 0 1px var(--border); display: grid; place-items: center; padding: .55rem; transition: transform .25s var(--ease), box-shadow .25s; animation: ecoFloat 6s ease-in-out infinite; will-change: translate; }
@keyframes ecoFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.eco-node img { max-width: 100%; max-height: 66%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.eco-web-ic { display: grid; place-items: center; }
.eco-web-ic svg { width: 1.7rem; height: 1.7rem; color: var(--brand); opacity: .82; transition: opacity .25s; }
@media (hover: hover) and (pointer: fine) { .eco-node:hover { transform: translate(-50%, -50%) scale(1.12); box-shadow: var(--shadow-md), 0 0 0 1px var(--brand-tint-2); } .eco-node:hover img, .eco-node:hover .eco-web-ic svg { filter: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .eco-node, .eco-type { animation: none; } }
.eco-fallback { font-family: var(--font-display); font-weight: 700; font-size: .56rem; color: var(--text-soft); text-align: center; line-height: 1.05; }
@media (max-width: 760px) {
  .ecosystem { aspect-ratio: auto; }
  .eco-web { display: none; }
  .eco-core { position: static; transform: none; width: 100%; aspect-ratio: auto; border-radius: var(--radius-lg); }
  .eco-title, .eco-desc { max-width: none; }
  .eco-nodes { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .7rem; margin-top: 1.6rem; }
  .eco-node { position: static; transform: none; width: 58px; height: 58px; }
  .eco-node img { filter: none; opacity: 1; }
  .eco-type { position: static; transform: none; }
}

/* ---- White-paper PDF reader (online only) ------------------------------ */
.wp-reader { background: var(--bg-2); border-radius: var(--radius-lg); padding: 1rem; user-select: none; }
.wp-pages { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.wp-canvas { width: 100%; max-width: 820px; background: #fff; border-radius: 6px; box-shadow: var(--shadow-md); }
.wp-note { text-align: center; padding: 2.5rem 1rem; }
@media print { .wp-reader, .article-body { display: none !important; } }

/* ---- Fact band (ROI teaser) ------------------------------------------- */
.fact-band { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) { .fact-band { grid-template-columns: 1.1fr .9fr; } }
.facts { display: grid; gap: 1.1rem; }
.fact { display: flex; gap: 1rem; align-items: baseline; }
.fact b { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--accent-strong); flex: none; min-width: 4.5rem; }
.fact span { color: var(--text-muted); }

/* ---- Pricing ----------------------------------------------------------- */
.price-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { display: flex; flex-direction: column; position: relative; }
@media (min-width: 900px) { .price-card.featured { transform: scale(1.035); z-index: 1; } }
.price-card.featured { border-color: transparent; box-shadow: var(--shadow-lg); background: linear-gradient(180deg, var(--brand-tint), var(--surface) 42%); }
/* Gradient outline that follows the card's rounded corners (no overflowing top bar). */
.price-card.featured::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: linear-gradient(135deg, var(--brand), var(--accent)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 0; }
.price-card .plan-badge { position: absolute; top: -.78rem; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .03em; text-transform: uppercase; padding: .35rem .85rem; border-radius: var(--radius-pill); box-shadow: 0 8px 18px -6px var(--brand); white-space: nowrap; z-index: 3; }
.price-card .amount-from { display: block; font-size: .8rem; font-weight: 600; color: var(--text-muted); margin-bottom: .15rem; }
.price-card .amount-per { font-size: .95rem; font-weight: 600; color: var(--text-muted); margin-left: .15rem; letter-spacing: 0; }
.price-card .card-icon { width: 2.6rem; height: 2.6rem; }
.price-card h3 { font-size: 1.4rem; margin-top: 1rem; }
.price-card .plan-for { color: var(--text-muted); margin: .35rem 0 1rem; min-height: 2.6em; }
.price-card .price-amount { padding: .2rem 0 1.1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border); }
.price-card .price-amount .amount { display: block; font-family: var(--font-display); font-weight: 900; font-size: 2rem; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.price-card .price-amount .amount-sub { display: block; margin-top: .35rem; color: var(--text-muted); font-size: .88rem; }
.price-card .plan-feats { display: grid; gap: .7rem; margin: 0 0 1.75rem; }
.price-card .plan-feats li { display: flex; gap: .6rem; align-items: flex-start; font-size: .96rem; }
.price-card .plan-feats svg { flex: none; width: 1.15rem; height: 1.15rem; color: #16A34A; margin-top: .15rem; }
.price-card .btn { margin-top: auto; }

/* Pricing: every-plan-includes band */
.includes-band { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: clamp(1.4rem, 3vw, 2rem); text-align: center; }
.includes-title { font-family: var(--font-display); font-weight: 700; color: var(--ink); margin-bottom: 1.1rem; }
.includes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.5rem; max-width: 46rem; margin-inline: auto; text-align: left; }
@media (min-width: 760px) { .includes-grid { grid-template-columns: repeat(4, 1fr); } }
.includes-item { display: flex; align-items: center; gap: .55rem; font-size: .95rem; color: var(--text); }
.includes-item svg { flex: none; width: 1.1rem; height: 1.1rem; color: var(--brand); }

/* ---- ROI tool ---------------------------------------------------------- */
.roi-tool { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 900px) { .roi-tool { grid-template-columns: 1fr 1fr; align-items: start; } .roi-result-col { position: sticky; top: 96px; } }
.roi-inputs .field input[type="range"] { padding: 0; }
.range-row { margin-bottom: 1.4rem; }
.range-row .range-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .5rem; }
.range-row label { font-family: var(--font-display); font-weight: 600; }
.range-row .range-val { font-family: var(--font-display); font-weight: 700; color: var(--brand); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--bg-3); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); cursor: pointer; box-shadow: 0 2px 8px rgba(37,99,235,.5); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--brand); cursor: pointer; }
.roi-result { background: linear-gradient(160deg, #FFF7EA, #FFFDF8); border: 1px solid #FBE4B8; border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-md); }
:root[data-theme="dark"] .roi-result { background: linear-gradient(160deg, #2A2410, #161522); border-color: #4A3B12; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .roi-result { background: linear-gradient(160deg, #2A2410, #161522); border-color: #4A3B12; } }
.roi-result .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4rem); color: var(--accent-strong); line-height: 1; letter-spacing: -.03em; }
.roi-result .sub { color: var(--text-muted); margin-top: .35rem; }
.roi-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 1.75rem; background: var(--border); border-radius: var(--radius-card); overflow: hidden; }
.roi-mini > div { background: var(--surface); padding: 1rem 1.1rem; }
.roi-mini .v { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.roi-mini .k { font-size: .82rem; color: var(--text-muted); }

/* ---- Two-col content / forms ------------------------------------------ */
.lead-layout { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .lead-layout { grid-template-columns: 1fr 1fr; } }
.check-list { display: grid; gap: .9rem; margin-top: 1.5rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list svg { flex: none; width: 1.4rem; height: 1.4rem; color: var(--brand); margin-top: .1rem; }
/* Sectors overview cards (optional photo header) */
.sector-card { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-tint-2); }
.sector-cover { display: block; aspect-ratio: 16 / 8; overflow: hidden; background: var(--bg-2); }
.sector-cover img { width: 100%; height: 100%; object-fit: cover; }
.sector-body { display: flex; gap: 1.1rem; align-items: flex-start; padding: clamp(1.2rem, 2.2vw, 1.6rem); }
.sector-body .ic { flex: none; width: 3rem; height: 3rem; border-radius: 14px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font-size: 1.5rem; }
.sector-tx { display: flex; flex-direction: column; gap: .3rem; }
.sector-name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.15rem; }
.sector-desc { color: var(--text-muted); font-size: .96rem; line-height: 1.5; }

.contact-direct { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem; }
.contact-direct a { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 600; color: var(--brand); }
.contact-direct svg { width: 1.2rem; height: 1.2rem; }

/* ---- Prose (legal) ----------------------------------------------------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.3rem; margin-top: 2rem; margin-bottom: .6rem; }
.prose p { color: var(--text-muted); margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1rem; }
.prose li { color: var(--text-muted); margin-bottom: .4rem; }
.prose strong { color: var(--ink); }

/* ---- Blog -------------------------------------------------------------- */
.blog-cats { display: flex; flex-wrap: wrap; gap: .5rem; }
.cat-pill { padding: .5rem 1rem; border-radius: var(--radius-pill); background: var(--bg-2); color: var(--text-muted); font-family: var(--font-display); font-weight: 700; font-size: .88rem; box-shadow: inset 0 0 0 1px var(--border); transition: all .2s var(--ease); }
.cat-pill.on, .cat-pill:hover { background: var(--brand); color: #fff; box-shadow: none; }
.post-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-cover { aspect-ratio: 16/9; background: var(--bg-3); overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: rgba(255,255,255,.55); }
.cover-ph i.ti { font-size: 2.4rem; }
.post-body { padding: 1.1rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.cat-tag { align-self: flex-start; font-family: var(--font-display); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--brand); background: var(--brand-tint); padding: .25rem .6rem; border-radius: 6px; }
.post-body h3 { font-size: 1.12rem; }
.post-body p { color: var(--text-muted); font-size: .95rem; }
.post-meta { color: var(--text-soft); font-size: .82rem; margin-top: auto; padding-top: .3rem; }
.crumbs { display: flex; gap: .5rem; color: var(--text-soft); font-size: .85rem; margin-bottom: .9rem; }
.crumbs a { color: var(--text-muted); } .crumbs a:hover { color: var(--brand); }
.post-byline { color: var(--text-muted); font-size: .95rem; }
.post-hero-img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16/9; object-fit: cover; box-shadow: var(--shadow-md); }
.article-body h2 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: .6rem; }
.article-body h3 { font-size: 1.2rem; margin-top: 1.4rem; margin-bottom: .4rem; }
.article-body p { margin-bottom: 1.1rem; color: var(--text); }
.article-body ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1.1rem; }
.article-body li { color: var(--text-muted); margin-bottom: .4rem; }
.article-body img { border-radius: 14px; margin: 1.2rem 0; width: 100%; }
.article-body strong { color: var(--ink); }
.article-body figure { margin: 1.4rem 0; } .article-body figcaption { font-size: .85rem; color: var(--text-soft); text-align: center; margin-top: .5rem; }
.article-body blockquote { border-left: 3px solid var(--brand); padding: .2rem 0 .2rem 1.1rem; margin: 1.2rem 0; color: var(--text); font-style: italic; }
.article-cta { background: linear-gradient(120deg, var(--brand-strong), var(--brand)); color: #fff; border-radius: var(--radius-lg); padding: 1.4rem 1.6rem; margin: 1.6rem 0; }
.article-cta p { margin: 0 0 .5rem; color: rgba(255,255,255,.92); }
.article-cta a { display: inline-block; margin-top: .3rem; background: var(--accent); color: #2a1a00; font-family: var(--font-display); font-weight: 700; padding: .6rem 1.2rem; border-radius: var(--radius-pill); }
.article-callout { background: var(--brand-tint); border: 1px solid var(--brand-tint-2); border-radius: var(--radius-card); padding: 1.1rem 1.3rem; margin: 1.4rem 0; }
.article-callout p { margin: 0; color: var(--text); }
/* Blog post: content + sticky TOC sidebar */
.post-layout { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 1000px) { .post-layout { grid-template-columns: minmax(0, 1fr) 240px; align-items: start; } }
.post-main { max-width: 760px; min-width: 0; }
.post-aside { display: none; }
@media (min-width: 1000px) { .post-aside { display: block; position: sticky; top: 96px; } }
.article-body h2, .article-body h3 { scroll-margin-top: 96px; }

.toc { border-left: 2px solid var(--border); padding: .2rem 0 .2rem 1.1rem; max-height: calc(100dvh - 140px); overflow: auto; }
.toc-title { font-family: var(--font-display); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-soft); margin-bottom: .8rem; }
.toc ul { display: grid; gap: .15rem; }
.toc li a { display: block; padding: .3rem 0; color: var(--text-muted); font-size: .9rem; line-height: 1.35; transition: color .15s; }
.toc li a:hover { color: var(--brand); }
.toc li a.is-current { color: var(--brand); font-weight: 700; }
.toc li.toc-sub a { padding-left: .8rem; font-size: .85rem; }

/* ---- API documentation ------------------------------------------------- */
.api-doc h2 { margin-top: 2.6rem; }
.api-doc h3 { margin-top: 1.9rem; }
.api-doc h4 { margin-top: 1.4rem; font-size: 1.02rem; color: var(--text); }
.api-doc p { margin-top: .7rem; }
.api-doc ul { margin: .7rem 0; padding-left: 1.1rem; list-style: disc; }
.api-doc pre { background: #0b1224; color: #e6ecf7; padding: 1rem 1.2rem; border-radius: 12px; overflow-x: auto; margin: .9rem 0; font-size: .84rem; line-height: 1.55; }
.api-doc pre code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: none; color: inherit; padding: 0; white-space: pre; }
.api-doc :not(pre) > code { background: var(--bg-2); border: 1px solid var(--border); padding: .06rem .4rem; border-radius: 6px; font-size: .85em; font-family: ui-monospace, monospace; }
.table-wrap { overflow-x: auto; margin: .9rem 0; }
.api-doc table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.api-doc th, .api-doc td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.api-doc thead th { font-family: var(--font-display); font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--border-2); white-space: nowrap; }
.api-method { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: .75rem; letter-spacing: .04em; background: var(--brand); color: #fff; padding: .2rem .5rem; border-radius: 6px; }
.api-status { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .78rem; padding: .15rem .5rem; border-radius: 6px; margin-right: .3rem; }
.api-status.ok { background: #DEF7EE; color: #0E8C66; }
.api-status.err { background: #FDE7E7; color: #C2362F; }
.author-box { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem 1.75rem; }
.author-box h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.author-box p { color: var(--text-muted); margin-bottom: 1rem; max-width: 60ch; }

/* ---- Marketplace directory + detail ----------------------------------- */
/* Marketplace vertical filter */
.mp-filter { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.mp-chip { font-family: var(--font-display); font-weight: 600; font-size: .9rem; padding: .55rem 1rem; border-radius: var(--radius-pill); color: var(--text-muted); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--border); cursor: pointer; transition: all .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .mp-chip:hover { color: var(--brand); } }
.mp-chip.is-on { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.mp-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.mp-card { position: relative; display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.mp-net-tag { font-family: var(--font-display); font-weight: 700; font-size: .62rem; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); background: var(--brand-tint); padding: .2rem .5rem; border-radius: var(--radius-pill); }
.mp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-tint-2); }
.mp-logo { height: 32px; display: flex; align-items: center; }
.mp-logo img { max-height: 28px; width: auto; filter: grayscale(1); opacity: .8; }
.mp-card:hover .mp-logo img { filter: none; opacity: 1; }
.mp-name { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.mp-name .icon { color: var(--brand); }
.others-strip { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.2rem); }
.others-logos { display: flex; flex-wrap: wrap; gap: 1.4rem 2.5rem; justify-content: center; align-items: center; margin: 1rem 0; }
.others-logos img { height: 26px; width: auto; filter: grayscale(1) blur(2.5px); opacity: .5; }
.flow-2 { display: grid; gap: 1.25rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 820px) { .flow-2 { grid-template-columns: 1fr auto 1fr; } }
.flow-n { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 900; margin-bottom: .6rem; }
.flow-n.accent { background: var(--accent); color: #2a1a00; }
.flow-arrow { display: grid; place-items: center; color: var(--brand); }
.flow-arrow .icon { width: 2rem; height: 2rem; }
@media (max-width: 819px) { .flow-arrow { transform: rotate(90deg); } }

/* ---- Header / Nav ------------------------------------------------------ */
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 200; }
.skip-link:focus { width: auto; height: auto; clip: auto; background: #fff; padding: .6rem 1rem; border-radius: 8px; box-shadow: var(--shadow-md); }
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--header-bg);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s, background .25s;
}
.site-header.scrolled { border-color: var(--border); box-shadow: 0 6px 24px -16px rgba(15,42,98,.35); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; height: 72px; }
.header-logo img { height: 32px; width: auto; }
.header-logo .logo-dark { display: none; }
:root[data-theme="dark"] .header-logo .logo-light { display: none; }
:root[data-theme="dark"] .header-logo .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .header-logo .logo-light { display: none; }
  :root:not([data-theme="light"]) .header-logo .logo-dark { display: block; }
}
.header-nav { display: none; align-items: center; gap: .35rem; margin-left: .5rem; }
@media (min-width: 1000px) { .header-nav { display: flex; } }
.nav-link { display: inline-flex; align-items: center; gap: .28rem; white-space: nowrap; font-family: var(--font-display); font-weight: 500; font-size: .96rem; color: var(--text); padding: .5rem .8rem; border-radius: 8px; transition: color .2s, background .2s; }
.nav-link:hover { color: var(--brand); background: var(--brand-tint); }
.nav-link.is-active { color: var(--brand); }
.nav-item.has-mega { position: relative; display: flex; align-items: center; }
.nav-item.has-mega::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: .6rem; }
.nav-link .chev { display: inline-block; flex: none; width: .85rem; height: .85rem; transition: transform .2s; }
.nav-item.has-mega:hover .chev, .nav-item.has-mega:focus-within .chev { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + .55rem); left: 0; transform: translateY(-6px); width: 560px; max-width: 86vw; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); padding: .8rem; z-index: 120; opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
.nav-item.has-mega:hover .mega, .nav-item.has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-item { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem; border-radius: 12px; transition: background .15s; }
.mega-item:hover { background: var(--bg-2); }
.mega-ic { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 10px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); }
.mega-ic svg { width: 1.2rem; height: 1.2rem; }
.mega-tx b { display: block; font-size: .92rem; color: var(--ink); font-weight: 700; }
.mega-tx small { display: block; font-size: .78rem; color: var(--text-muted); line-height: 1.35; margin-top: 2px; }
.mega-ic i { font-size: 1.2rem; line-height: 1; }
.mega-industries { width: 520px; }
.mega-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.mega-grid-3 .mega-item { align-items: center; padding: .55rem .6rem; }
.mega-foot { display: inline-flex; align-items: center; gap: .4rem; margin: .5rem 0 .2rem .6rem; font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: var(--brand); }
.mega-foot svg { width: 1rem; height: 1rem; }
.header-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.login-link { display: none; } @media (min-width: 1000px) { .login-link { display: inline-flex; } }
.btn-demo { padding: .65rem 1.15rem; font-size: .95rem; }

/* Language switcher */
.lang-switch { position: relative; }
.theme-toggle { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--text); box-shadow: inset 0 0 0 1px var(--border); transition: box-shadow .2s, background .2s, color .2s; }
.theme-toggle:hover { color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.theme-toggle .ic-sun { display: none; }
.theme-toggle .ic-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .ic-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .ic-moon { display: none; }
}
.lang-trigger { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .7rem; border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--text); box-shadow: inset 0 0 0 1px var(--border); transition: box-shadow .2s, background .2s; }
.lang-trigger:hover { box-shadow: inset 0 0 0 1px var(--brand); }
.lang-trigger .ic { width: 1.1rem; height: 1.1rem; color: var(--brand); }
.lang-trigger .chev { width: .9rem; height: .9rem; transition: transform .2s; }
.lang-switch.open .chev { transform: rotate(180deg); }
.lang-menu {
    position: absolute; right: 0; top: calc(100% + .5rem); min-width: 180px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
    box-shadow: var(--shadow-lg); padding: .4rem; display: grid; gap: 2px;
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .2s var(--ease); z-index: 120;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; border-radius: 9px; font-size: .92rem; color: var(--text); }
.lang-menu a:hover { background: var(--brand-tint); color: var(--brand); }
.lang-menu a.is-active { background: var(--brand-tint); color: var(--brand); font-weight: 700; }
.lang-menu .lc { font-family: var(--font-display); font-weight: 700; font-size: .72rem; width: 1.9rem; color: var(--text-soft); }

/* Burger + mobile drawer */
.burger { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--border); }
.burger .ic-menu, .burger .ic-close { width: 1.4rem; height: 1.4rem; }
.burger .ic-close { display: none; }
.burger[aria-expanded="true"] .ic-menu { display: none; }
.burger[aria-expanded="true"] .ic-close { display: block; }
@media (min-width: 1000px) { .burger { display: none; } }
.mobile-drawer { padding: 1.25rem var(--gutter) 2rem; border-top: 1px solid var(--border); background: var(--surface); display: grid; gap: 1.25rem; animation: fade-up .3s var(--ease) both; }
.mobile-drawer nav { display: grid; gap: .25rem; }
.mobile-drawer nav a { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; padding: .7rem 0; border-bottom: 1px solid var(--border); color: var(--ink); }

/* ---- Promotions (bar + popup) ------------------------------------------ */
.promo-bar { background: var(--navy); color: #fff; font-size: .9rem; }
.promo-bar-inner { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: .6rem 2.2rem; position: relative; text-align: center; }
.promo-bar a { color: #fff; text-decoration: underline; font-weight: 700; }
.promo-bar strong { color: #fff; }
.promo-bar-close { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,.8); font-size: 1.3rem; line-height: 1; }
.promo-bar-close:hover { color: #fff; }
.promo-popup { position: fixed; inset: 0; z-index: 215; background: rgba(10,15,25,.55); display: grid; place-items: center; padding: 1rem; }
.promo-pop-card { position: relative; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(1.6rem, 4vw, 2.4rem); width: 480px; max-width: 100%; text-align: center; }
.promo-pop-card p { color: var(--text-muted); }

/* ---- Cookie consent ---------------------------------------------------- */
.cc { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200; }
.cc-inner { max-width: var(--maxw); margin-inline: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-lg); padding: 1.1rem 1.3rem; display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.cc-logo { height: 26px; width: auto; flex: none; }
@media (max-width: 560px) { .cc-logo { display: none; } }
.cc-text strong { font-family: var(--font-display); font-weight: 700; display: block; margin-bottom: .2rem; color: var(--ink); }
.cc-text p { color: var(--text-muted); font-size: .92rem; margin: 0; max-width: 72ch; }
.cc-text a { color: var(--brand); }
.cc-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-left: auto; }
.btn-cc { font-family: var(--font-display); font-weight: 600; font-size: .9rem; border-radius: var(--radius-pill); padding: .6rem 1.1rem; cursor: pointer; transition: all .18s var(--ease); }
.btn-cc.ghost { background: var(--bg-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.btn-cc.ghost:hover { box-shadow: inset 0 0 0 1px var(--brand); color: var(--brand); }
.btn-cc.primary { background: var(--brand); color: #fff; }
.btn-cc.primary:hover { background: var(--brand-strong); }
.cc-modal { position: fixed; inset: 0; z-index: 210; background: rgba(10,15,25,.5); display: grid; place-items: center; padding: 1rem; }
.cc-dialog { position: relative; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(1.4rem, 3vw, 2rem); width: 540px; max-width: 100%; max-height: 88vh; overflow: auto; }
.cc-close { position: absolute; top: .7rem; right: 1rem; font-size: 1.7rem; line-height: 1; color: var(--text-soft); }
.cc-cat { display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; padding: 1rem 0; border-top: 1px solid var(--border); }
.cc-cat strong { font-family: var(--font-display); font-weight: 700; }
.cc-cat p { color: var(--text-muted); font-size: .88rem; margin: .2rem 0 0; }
.cc-fixed { color: #0E8C66; font-weight: 700; font-size: .82rem; white-space: nowrap; }
.cc-switch { position: relative; flex: none; width: 44px; height: 24px; cursor: pointer; }
.cc-switch input { position: absolute; opacity: 0; }
.cc-switch span { position: absolute; inset: 0; background: var(--border-2); border-radius: 999px; transition: background .2s; }
.cc-switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .2s; }
.cc-switch input:checked + span { background: var(--brand); }
.cc-switch input:checked + span::after { transform: translateX(20px); }
.cc-modal-actions { display: flex; gap: .6rem; justify-content: flex-end; margin-top: 1.4rem; flex-wrap: wrap; }
.cc-prefs-link { color: rgba(255,255,255,.6); text-decoration: underline; font: inherit; cursor: pointer; }
.cc-prefs-link:hover { color: #fff; }
@media (max-width: 600px) { .cc-actions { width: 100%; } .cc-actions .btn-cc { flex: 1; } }

/* ---- Utilities --------------------------------------------------------- */
.flex { display: flex; }
.items-center { align-items: center; }
.gap-sm { gap: .5rem; } .gap-md { gap: 1rem; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: initial; } .hide-desktop { display: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
