/* ============================================================================
   Agreely - banner.agreely.ca (cookie banner marketing site)
   INSTITUTIONAL LIGHT on the OFFICIAL Agreely brand: cool crisp canvas,
   hairline rules, deep ink-blue headings, ONE deep-indigo accent used with
   intent (the agreely.ca #131316), warm amber as a decorative-only secondary
   bloom, serif display over Inter body, mono micro-labels as the telemetry
   signature. Light-only surface (no dark mode: the document does not dim).
   WCAG AA held everywhere: white-on-indigo buttons use #131316 (8.9:1) and
   darken on hover; the lighter indigo #2E2E33 is reserved for borders, icons
   and decorative accents; light amber is never used for small text.
   No em-dashes, no en-dashes.
   ========================================================================== */

/* -- Tokens: SCOPED to the banner surface. The canonical brand tokens (indigo
   --accent, ink --ink, the shared families + dark mode) come from app.css :root;
   this block only maps the banner's local token vocabulary onto them and keeps
   the banner-only tokens app.css does not define. --font-serif is remapped to
   Inter: the banner drops its Source Serif 4 display face and renders every
   heading in the canonical Inter. No serif is ever loaded. */
[data-surface="banner"] {
    --canvas: var(--bg-deep);
    --surface: var(--bg-surface);
    --sunken: var(--bg-elevated);
    --body: var(--text);
    --strong: var(--text-bright);
    --muted: var(--text-muted);
    --line: var(--border);
    --line-strong: #CBD2E4;
    /* --accent, --accent-light, --accent-glow, --ink, --border-accent inherited from app.css */
    --accent-hover: var(--accent-strong);
    --accent-press: var(--accent-strong);
    --accent-soft: #E9E8F8;
    --accent-ink: var(--accent-strong);

    --warm: var(--accent-warm);
    --warm-soft: var(--accent-warm-soft);
    --warm-glow: var(--accent-warm-glow);

    --allow: var(--good);
    --allow-text: var(--good);
    --allow-soft: #ECF5EF;
    --revoke: var(--bad);
    --revoke-soft: #F9EDED;
    --warn: #92400E;
    --warn-soft: #F8F0E9;

    --font-sans: var(--font-body);
    --font-serif: var(--font-body);
    /* --font-mono inherited from app.css */

    --tracking-label: 0.10em;
    --radius-field: 8px;
    --radius-card: 12px;
    --radius-pill: 999px;

    --shadow-panel: 0 1px 2px rgba(20, 24, 27, 0.04), 0 0 0 1px rgba(226, 230, 240, 0.9);
    --shadow-pop: 0 8px 24px rgba(20, 24, 27, 0.10), 0 0 0 1px rgba(203, 210, 228, 0.9);
    --shadow-lift: 0 20px 50px -18px rgba(20, 24, 27, 0.18), 0 0 0 1px rgba(203, 210, 228, 0.85);

    --nav-h: var(--nav-height);
}

/* -- Dark mode --------------------------------------------------------------
   The banner surface was authored light-only, so its LOCAL tokens above were
   hardcoded to light values (accent-soft lavender, light line-strong, soft
   status washes). The page DOES honor [data-theme="dark"] (the hero flips to
   the night art, the shared chrome dims), so those frozen-light tokens left
   pills, chips and the "recommended"/"billed annually" badges rendering light
   text on a light fill: illegible. Re-map them for dark so every accent chip is
   a dark surface with a light label (AA verified), the hairlines read on ink,
   and the status washes are dim. Nothing here touches light mode. */
[data-theme="dark"] [data-surface="banner"] {
    /* Accent chips: a raised dark surface with a light label instead of the
       light-lavender-on-white that went invisible. accent-ink -> bright ink so
       label/fill contrast clears AA (>=7:1 on #232327). */
    --accent-soft: #2B2B31;
    --accent-ink: #F2F2F4;
    /* Hairlines: the frozen #CBD2E4 read as a bright band on dark; use the
       shared dark border so strong rules stay subtle. */
    --line-strong: #3A3A40;
    /* Status washes: dim fills that keep their darker ink labels legible. */
    --allow-soft: rgba(52, 211, 153, 0.14);
    --allow-text: #6EE7B7;
    --allow: #6EE7B7;
    --revoke: #FCA5A5;
    --revoke-soft: rgba(248, 113, 113, 0.15);
    --warn: #FBBF7A;
    --warn-soft: rgba(217, 119, 6, 0.16);
}
/* Filled accent surfaces on the banner page pin #fff onto --accent; in dark
   --accent is near-white, so the label vanished. Flip those to ink-on-light
   (matching the shared dark .btn-primary) and the accent "recommended" pill to
   a light fill with ink text. */
[data-theme="dark"] [data-surface="banner"] .btn-primary,
[data-theme="dark"] [data-surface="banner"] .btn-primary:hover { color: #131316; }
[data-theme="dark"] [data-surface="banner"] .tier-pop { color: #131316; }
[data-theme="dark"] [data-surface="banner"] .btn-onaccent { background: var(--bg-surface); color: var(--accent-ink); }
/* Other filled-accent surfaces that pin #fff onto --accent (near-white in dark):
   step numbers, the CTA primary button, and the blocked-tracker state chip
   (that one sits on --revoke, light red in dark). Flip the label to ink. */
[data-theme="dark"] [data-surface="banner"] .step-num { color: #131316; }
[data-theme="dark"] [data-surface="banner"] .cta-btn-light,
[data-theme="dark"] [data-surface="banner"] .cta-btn-light:hover { color: #131316; }
[data-theme="dark"] [data-surface="banner"] .demo-tracker.is-blocked .demo-tracker-state { color: #131316; }
/* The closing CTA card keeps its intentional light "spotlight" gradient in dark
   (a deliberate bright panel, like the always-light hero art), so its type must
   stay pinned to the LIGHT-mode ink tones or the flipped tokens turn near-white
   heading + ink-on-white ghost button illegible on the light card. */
[data-theme="dark"] [data-surface="banner"] .cta-h { color: #131316; }
[data-theme="dark"] [data-surface="banner"] .cta-p { color: #47474D; }
[data-theme="dark"] [data-surface="banner"] .cta-eyebrow { color: #8A4A06; }
[data-theme="dark"] [data-surface="banner"] .cta-btn-ghost { background: #FFFFFF; color: #131316; border-color: rgba(19, 19, 22, 0.24); }
[data-theme="dark"] [data-surface="banner"] .cta-btn-ghost:hover { background: rgba(19, 19, 22, 0.08); border-color: rgba(19, 19, 22, 0.4); color: #131316; }

/* -- Buttons ---------------------------------------------------------------- */
[data-surface="banner"] .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    font-family: inherit; font-weight: 550; text-decoration: none; white-space: nowrap;
    cursor: pointer; border: 0; line-height: 1; border-radius: var(--radius-pill);
    transition: background 0.18s var(--ease), color 0.18s var(--ease),
                border-color 0.18s var(--ease), box-shadow 0.18s var(--ease),
                transform 0.1s var(--ease);
}
[data-surface="banner"] .btn:active { transform: scale(0.985); }
[data-surface="banner"] .btn-arrow { transition: transform 0.22s var(--ease); flex-shrink: 0; }
[data-surface="banner"] .btn:hover .btn-arrow { transform: translateX(0.18rem); }

[data-surface="banner"] .btn-primary {
    background: var(--accent); color: #fff;
    padding: 0.8rem 1.4rem; font-size: 0.9rem;
    box-shadow: 0 8px 20px -10px rgba(19, 19, 22, 0.55);
}
[data-surface="banner"] .btn-primary:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 10px 24px -10px rgba(19, 19, 22, 0.65); }
[data-surface="banner"] .btn-lg { padding: 0.95rem 1.65rem; font-size: 0.95rem; }
[data-surface="banner"] .btn-block { width: 100%; min-height: 2.9rem; }

[data-surface="banner"] .btn-ghost {
    background: var(--surface); color: var(--ink);
    padding: 0.8rem 1.4rem; font-size: 0.9rem;
    border: 1px solid var(--line-strong);
}
[data-surface="banner"] .btn-ghost:hover { border-color: var(--accent-light); background: var(--accent-soft); color: var(--accent-ink); }

[data-surface="banner"] .btn-onaccent { background: #fff; color: var(--accent-ink); }
[data-surface="banner"] .btn-onaccent:hover { background: var(--accent-soft); color: var(--accent-press); }
[data-surface="banner"] .btn-ghost-onaccent {
    background: transparent; color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
}
[data-surface="banner"] .btn-ghost-onaccent:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }
[data-surface="banner"] .btn-ghost-onaccent:focus-visible, [data-surface="banner"] .btn-onaccent:focus-visible { outline-color: #fff; }

[data-surface="banner"] .js-copy.is-copied { color: var(--allow-text); border-color: var(--allow); }

/* -- Section chrome ---------------------------------------------------------- */
/* The landing content is an opaque SHEET that lifts away at the bottom to
   reveal the fixed footer behind it (family reveal, see .isl-footer below):
   rounded bottom corners + a soft lift shadow, with a bottom margin equal to
   the footer height minus a 3rem overlap so the deep indigo reads BEHIND the
   sheet's corners when fully revealed. app.js keeps --footer-h in sync. */
[data-surface="banner"] .landing-main {
    /* no top padding: the heron hero clears the floating nav itself (canonical
       hero pattern), so the art reaches the very top of the page. */
    padding-top: 0;
    position: relative; z-index: 1;
    background: var(--canvas);
    border-bottom-left-radius: 2.25rem;
    border-bottom-right-radius: 2.25rem;
    margin-bottom: calc(var(--footer-h) - 3rem);
    box-shadow: 0 1.5rem 3rem -1rem rgba(19, 19, 22, 0.16);
}

[data-surface="banner"] .lsec { position: relative; padding: 6.5rem 0; border-top: 1px solid var(--line); }
[data-surface="banner"] .lsec-soft { background: var(--surface); }
[data-surface="banner"] .lsec-intro { max-width: 46rem; }

[data-surface="banner"] .section-heading {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    line-height: 1.16; letter-spacing: -0.015em; font-weight: 600;
    color: var(--ink); margin: 0 0 1.1rem; max-width: 42rem;
    text-wrap: balance;
}
[data-surface="banner"] .section-lede { font-size: 1.08rem; line-height: 1.7; color: var(--muted); max-width: 42rem; margin: 0; }

/* The accent word: the family "prove-accent" signature (mirrors agreely-site):
   a serif italic in deep ink with an angled amber highlighter swipe drawn
   underneath. One per heading, restrained. */
[data-surface="banner"] .mark {
    position: relative; isolation: isolate;
    font-style: italic; color: var(--ink);
    white-space: nowrap; padding: 0 0.05em;
}
[data-surface="banner"] .mark::before {
    content: "";
    position: absolute;
    left: -0.04em; right: -0.04em;
    bottom: 0.07em;
    height: 0.46em;
    z-index: -1;
    border-radius: 2px;
    background: linear-gradient(101deg, rgba(232,148,60,0) 0%, rgba(232,148,60,0.55) 8%, rgba(232,148,60,0.6) 92%, rgba(232,148,60,0) 100%);
    transform: rotate(-1.4deg);
}

/* soft ambient glow blooms used across sections (family motif) */
[data-surface="banner"] .glow { position: absolute; pointer-events: none; z-index: 0; border-radius: var(--radius-pill); filter: blur(8px); }
[data-surface="banner"] .how-sec::before {
    content: ""; position: absolute; top: -4rem; right: -10rem;
    width: 36rem; height: 26rem;
    pointer-events: none; border-radius: var(--radius-pill); filter: blur(8px);
    background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(19, 19, 22, 0.07), transparent 70%);
}
[data-surface="banner"] .features-sec::before {
    content: ""; position: absolute; bottom: -6rem; left: -12rem;
    width: 38rem; height: 28rem;
    pointer-events: none; border-radius: var(--radius-pill); filter: blur(8px);
    background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(232, 148, 60, 0.09), transparent 70%);
}

/* -- Hero -------------------------------------------------------------------- */
/* The canonical heron hero: the hero clears the floating nav itself (like /,
   /citoyens and /tarifs) so the art reaches the very top of the page behind
   the island. */
[data-surface="banner"] .hero { position: relative; padding: calc(var(--nav-h) + 4rem) 0 5rem; overflow-x: clip; isolation: isolate; }
[data-surface="banner"] .hero > .container { z-index: 1; }
/* Heron art scoped to the hero box: the trust strip below is an opaque band,
   so the art + scrim end at the hero and the bottom fade dissolves the scene
   into the canvas just above it (no -52% spill like the pages whose next
   section is transparent). */
[data-surface="banner"] .hero-bg { inset: -2% 0 0 0; }
[data-surface="banner"] .hero-scrim { inset: 0; }
/* taller than the canonical 11rem and solid sooner: the demo captions sit at
   the hero's bottom right and need the art FULLY dissolved behind their small
   type (the reeds' linework otherwise mottles them) */
[data-surface="banner"] .hero-fade {
    bottom: 0; height: 16rem;
    background: linear-gradient(180deg, rgba(243, 243, 241,0) 0%, var(--bg-deep) 58%);
}
[data-surface="banner"] .hero-grid {
    display: grid; grid-template-columns: 1.02fr 0.98fr;
    gap: 4rem; align-items: center;
}
[data-surface="banner"] .hero-copy { max-width: 36rem; }
[data-surface="banner"] .hero-badge {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500;
    letter-spacing: 0.07em; text-transform: uppercase;
    color: var(--accent-ink); background: var(--accent-soft);
    border: 1px solid rgba(19, 19, 22, 0.22);
    border-radius: var(--radius-pill); padding: 0.42rem 0.85rem;
    margin-bottom: 1.6rem;
}
[data-surface="banner"] .hero-badge svg { color: var(--accent); flex-shrink: 0; }
/* Type color is NOT set here: the canonical hero pins (landing.css) carry it,
   #131316 / #2E2E33 over the light art and the light palette in dark mode. */
[data-surface="banner"] .hero-h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 4.6vw, 3.4rem);
    line-height: 1.09; letter-spacing: -0.018em; font-weight: 600;
    margin: 0 0 1.35rem; text-wrap: balance;
}
[data-surface="banner"] .hero-lede { font-size: 1.11rem; line-height: 1.68; margin: 0 0 2.1rem; max-width: 34.5rem; }
[data-surface="banner"] .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; }
[data-surface="banner"] .hero-micro {
    margin: 1.4rem 0 0; font-family: var(--font-mono);
    font-size: 0.75rem; color: #2E2E33; letter-spacing: 0.01em;
    font-feature-settings: "zero" 1;
}
/* Free-tier caveat: small pinned line between the lede and the CTAs (the art
   is always light in light mode, night in dark; colors pinned like the lede). */
[data-surface="banner"] .hero-caveat {
    display: flex; align-items: flex-start; gap: 0.45rem;
    margin: -0.9rem 0 2rem; font-size: 0.86rem; line-height: 1.5; color: #2E2E33;
}
[data-surface="banner"] .hero-caveat svg { flex-shrink: 0; margin-top: 0.2rem; color: #131316; }
[data-theme="dark"] [data-surface="banner"] .hero-micro,
[data-theme="dark"] [data-surface="banner"] .hero-caveat { color: #C7C7CC; }
[data-theme="dark"] [data-surface="banner"] .hero-caveat svg { color: #F0B870; }

/* Hero demo: browser mock */
[data-surface="banner"] .hero-demo { position: relative; }
[data-surface="banner"] .browser {
    position: relative; background: var(--surface);
    border-radius: var(--radius-card); box-shadow: var(--shadow-lift);
    overflow: hidden;
}
[data-surface="banner"] .browser-demo-tag {
    position: absolute; top: 0.72rem; right: 0.9rem; z-index: 3;
    font-family: var(--font-mono); font-size: 0.61rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.09em;
    color: var(--accent-ink); background: var(--accent-soft);
    border: 1px solid rgba(19, 19, 22, 0.22);
    border-radius: var(--radius-pill); padding: 0.18rem 0.5rem;
}
[data-surface="banner"] .browser-chrome {
    display: flex; align-items: center; gap: 0.4rem;
    /* right padding clears the absolute "Demonstration" tag */
    padding: 0.7rem 8.25rem 0.7rem 0.9rem; background: var(--sunken);
    border-bottom: 1px solid var(--line);
}
[data-surface="banner"] .browser-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--line-strong); }
[data-surface="banner"] .browser-url {
    display: inline-flex; align-items: center; gap: 0.35rem;
    margin-left: 0.6rem; padding: 0.28rem 0.75rem;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted);
    font-feature-settings: "zero" 1;
}
[data-surface="banner"] .browser-url svg { color: var(--accent); }
[data-surface="banner"] .browser-page { display: flex; flex-direction: column; gap: 0.65rem; padding: 1.4rem 1.4rem 1.1rem; }
[data-surface="banner"] .skeleton { display: block; border-radius: 4px; background: var(--sunken); }
[data-surface="banner"] .skeleton-title { width: 52%; height: 1rem; }
[data-surface="banner"] .skeleton-line { width: 88%; height: 0.55rem; }
[data-surface="banner"] .skeleton-line-short { width: 70%; }
[data-surface="banner"] .skeleton-block { width: 100%; height: 3.4rem; border-radius: 8px; margin-top: 0.25rem; }

/* the real trackers a typical site runs (GA, Meta, TikTok): a small console
   inside the mock page. On "Tout refuser" the rows are struck through one by
   one (the strike draws left-to-right) while the blocked counter ticks up;
   accept / customize leave them honestly neutral. */
[data-surface="banner"] .demo-trackers { padding: 0.15rem 1.4rem 1.05rem; }
[data-surface="banner"] .demo-trackers-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.75rem; margin-bottom: 0.45rem;
}
[data-surface="banner"] .demo-trackers-label {
    font-family: var(--font-mono); font-size: 0.62rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
}
[data-surface="banner"] .demo-blocked {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500;
    color: var(--revoke); font-feature-settings: "zero" 1;
}
[data-surface="banner"] .demo-blocked strong { font-weight: 700; }
[data-surface="banner"] .demo-blocked[hidden] { display: none; }
[data-surface="banner"] .demo-tracker-list {
    list-style: none; margin: 0; padding: 0;
    border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
}
[data-surface="banner"] .demo-tracker {
    display: flex; align-items: center; gap: 0.55rem;
    padding: 0.5rem 0.75rem; background: var(--surface);
    font-size: 0.76rem; color: var(--ink);
    transition: background 0.3s var(--ease);
}
[data-surface="banner"] .demo-tracker + .demo-tracker { border-top: 1px solid var(--line); }
[data-surface="banner"] .demo-tracker-ico { display: inline-flex; color: var(--muted); flex-shrink: 0; transition: color 0.3s var(--ease); }
[data-surface="banner"] .demo-tracker-name { position: relative; font-weight: 550; white-space: nowrap; transition: color 0.3s var(--ease); }
/* the satisfying strike: draws left-to-right when the tracker is caught */
[data-surface="banner"] .demo-tracker-name::after {
    content: ""; position: absolute; left: -0.15rem; right: -0.15rem; top: 50%;
    height: 1.5px; background: var(--revoke); border-radius: 1px;
    transform: scaleX(0); transform-origin: left center;
    transition: transform 0.35s var(--ease);
}
[data-surface="banner"] .demo-tracker-host {
    flex: 1; min-width: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-family: var(--font-mono); font-size: 0.62rem; color: var(--muted);
    font-feature-settings: "zero" 1;
}
[data-surface="banner"] .demo-tracker-state {
    flex-shrink: 0; margin-left: auto;
    font-family: var(--font-mono); font-size: 0.6rem; font-weight: 550;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--muted); background: var(--sunken);
    border: 1px solid var(--line); border-radius: var(--radius-pill);
    padding: 0.16rem 0.5rem;
    transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
[data-surface="banner"] .demo-tracker.is-blocked { background: var(--revoke-soft); }
[data-surface="banner"] .demo-tracker.is-blocked .demo-tracker-ico { color: var(--revoke); }
[data-surface="banner"] .demo-tracker.is-blocked .demo-tracker-name { color: var(--muted); }
[data-surface="banner"] .demo-tracker.is-blocked .demo-tracker-name::after { transform: scaleX(1); }
[data-surface="banner"] .demo-tracker.is-blocked .demo-tracker-state { color: #fff; background: var(--revoke); border-color: var(--revoke); }
[data-surface="banner"] .demo-tracker.is-allowed .demo-tracker-state { color: var(--allow-text); background: var(--allow-soft); border-color: rgba(21, 128, 61, 0.3); }
@media (max-width: 560px) {
    [data-surface="banner"] .demo-tracker-host { display: none; }
    [data-surface="banner"] .demo-tracker-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}

/* telemetry strip: the confirmation line once a choice is made (the strip
   keeps its min-height while empty so the layout never jumps) */
[data-surface="banner"] .demo-telemetry {
    display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 1rem;
    padding: 0.6rem 1.4rem; border-top: 1px dashed var(--line-strong);
    background: var(--canvas); min-height: 2.4rem;
}
[data-surface="banner"] .demo-confirm {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.01em;
    font-feature-settings: "zero" 1;
    color: var(--allow-text); font-weight: 500;
}
[data-surface="banner"] .demo-confirm svg { color: var(--allow-text); }
[data-surface="banner"] .demo-confirm[hidden] { display: none; }

/* the banner inside the mock */
[data-surface="banner"] .demo-banner {
    margin: 0.9rem; margin-top: 0.2rem; padding: 1.05rem 1.15rem 0.85rem;
    background: var(--surface);
    border: 1px solid var(--line-strong); border-radius: 10px;
    box-shadow: 0 10px 30px -14px rgba(20, 24, 27, 0.22);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
[data-surface="banner"] .demo-banner.is-dismissed {
    opacity: 0; transform: translateY(0.8rem);
    pointer-events: none; position: absolute; visibility: hidden;
}
[data-surface="banner"] .demo-banner-head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.45rem; }
[data-surface="banner"] .demo-banner-logo {
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.7rem; height: 1.7rem; border-radius: 6px;
    background: var(--accent-soft); color: var(--accent); flex-shrink: 0;
}
[data-surface="banner"] .demo-banner-title { font-size: 0.85rem; font-weight: 650; color: var(--ink); letter-spacing: -0.01em; }
[data-surface="banner"] .demo-banner-body { margin: 0 0 0.85rem; font-size: 0.78rem; line-height: 1.55; color: var(--muted); }
[data-surface="banner"] .demo-banner-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
/* Three EQUAL actions: identical style, identical size (the A1 point, drawn). */
[data-surface="banner"] .demo-btn {
    appearance: none; font-family: inherit; cursor: pointer;
    padding: 0.55rem 0.4rem; font-size: 0.74rem; font-weight: 600;
    color: var(--accent-ink); background: var(--surface);
    border: 1px solid var(--accent); border-radius: 7px;
    transition: background 0.15s var(--ease), color 0.15s var(--ease);
    line-height: 1.2; text-align: center;
}
[data-surface="banner"] .demo-btn:hover { background: var(--accent-soft); }
[data-surface="banner"] .demo-btn.is-sim-focus { outline: 2px solid var(--accent); outline-offset: 2px; }
[data-surface="banner"] .demo-banner-powered {
    display: block; margin-top: 0.7rem; text-align: right;
    font-family: var(--font-mono); font-size: 0.58rem;
    text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
}

/* the Personnaliser preferences panel: per-purpose switches, all off by
   default (art. 14 granular consent, same card language as the banner) */
[data-surface="banner"] .demo-prefs {
    margin: 0.9rem; margin-top: 0.2rem; padding: 1.05rem 1.15rem 0.85rem;
    background: var(--surface);
    border: 1px solid var(--line-strong); border-radius: 10px;
    box-shadow: 0 10px 30px -14px rgba(20, 24, 27, 0.22);
}
[data-surface="banner"] .demo-prefs[hidden] { display: none; }
[data-surface="banner"] .demo-prefs-hint { margin: 0 0 0.75rem; font-size: 0.74rem; line-height: 1.5; color: var(--muted); }
[data-surface="banner"] .demo-prefs-list {
    list-style: none; margin: 0 0 0.85rem; padding: 0;
    border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
}
[data-surface="banner"] .demo-pref {
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
    padding: 0.5rem 0.75rem; background: var(--surface);
    font-size: 0.76rem; color: var(--ink);
}
[data-surface="banner"] .demo-pref + .demo-pref { border-top: 1px solid var(--line); }
[data-surface="banner"] .demo-pref-name { font-weight: 550; }
[data-surface="banner"] .demo-pref-always {
    flex-shrink: 0;
    font-family: var(--font-mono); font-size: 0.6rem; font-weight: 550;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--allow-text); background: var(--allow-soft);
    border: 1px solid rgba(21, 128, 61, 0.3); border-radius: var(--radius-pill);
    padding: 0.16rem 0.5rem;
}
/* the switch: a styled native checkbox carrying role="switch" */
[data-surface="banner"] .demo-switch {
    appearance: none; -webkit-appearance: none; cursor: pointer; flex-shrink: 0;
    width: 2.1rem; height: 1.2rem; margin: 0; position: relative;
    background: var(--sunken); border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
[data-surface="banner"] .demo-switch::after {
    content: ""; position: absolute; top: 50%; left: 0.14rem;
    width: 0.85rem; height: 0.85rem; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--line-strong);
    transform: translateY(-50%);
    transition: left 0.2s var(--ease), border-color 0.2s var(--ease);
    box-shadow: 0 1px 2px rgba(20, 24, 27, 0.18);
}
[data-surface="banner"] .demo-switch:checked { background: var(--accent); border-color: var(--accent); }
[data-surface="banner"] .demo-switch:checked::after { left: calc(100% - 0.99rem); border-color: transparent; }
[data-surface="banner"] .demo-switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[data-surface="banner"] .demo-prefs-actions { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem; }
[data-surface="banner"] .demo-btn-ghost { border-color: var(--line-strong); color: var(--muted); }
[data-surface="banner"] .demo-btn-ghost:hover { background: var(--sunken); }

/* after a decision */
[data-surface="banner"] .demo-after {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 0.6rem;
    margin: 0.9rem; margin-top: 0.2rem; padding: 0.85rem 1rem;
    background: var(--allow-soft); border: 1px solid rgba(21, 128, 61, 0.3);
    border-radius: 10px;
}
[data-surface="banner"] .demo-after[hidden] { display: none; }
[data-surface="banner"] .demo-proof {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.76rem; font-weight: 550; color: var(--allow-text); line-height: 1.4;
}
[data-surface="banner"] .demo-proof svg { flex-shrink: 0; }
[data-surface="banner"] .demo-replay {
    appearance: none; display: inline-flex; align-items: center; gap: 0.4rem;
    font-family: inherit; font-size: 0.74rem; font-weight: 550; cursor: pointer;
    color: var(--accent-ink); background: var(--surface);
    border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
    padding: 0.42rem 0.8rem;
    transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
[data-surface="banner"] .demo-replay:hover { border-color: var(--accent-light); background: var(--accent-soft); }
[data-surface="banner"] .demo-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[data-surface="banner"] .demo-note {
    margin: 1rem 0.25rem 0; font-size: 0.8125rem; color: var(--muted); line-height: 1.55;
    text-align: center;
}
/* the honest tracker caption sits first, slightly stronger */
[data-surface="banner"] .demo-note-trackers { color: var(--body); }
[data-surface="banner"] .demo-note + .demo-note { margin-top: 0.4rem; }

@media (max-width: 1000px) {
    [data-surface="banner"] .hero { padding: calc(var(--nav-h) + 2rem) 0 4rem; }
    [data-surface="banner"] .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    [data-surface="banner"] .hero-copy { max-width: 38rem; }
    [data-surface="banner"] .hero-demo { max-width: 30rem; }
}
@media (max-width: 560px) {
    [data-surface="banner"] .hero-h1 { font-size: clamp(2rem, 8.4vw, 2.4rem); }
    [data-surface="banner"] .hero-actions .btn { width: 100%; }
    [data-surface="banner"] .demo-banner-actions { grid-template-columns: 1fr; }
    [data-surface="banner"] .browser-chrome { padding-right: 6.75rem; }
}

/* -- Trust strip -------------------------------------------------------------- */
[data-surface="banner"] .trust { border-top: 1px solid var(--line); background: var(--surface); }
[data-surface="banner"] .trust-row {
    display: grid; grid-template-columns: repeat(4, auto);
    justify-content: space-between; align-items: center;
    gap: 1rem 2.5rem; padding-top: 1.1rem; padding-bottom: 1.1rem;
}
[data-surface="banner"] .trust-item {
    display: inline-flex; align-items: center; gap: 0.55rem;
    font-family: var(--font-mono); font-size: 0.71rem; font-weight: 500;
    letter-spacing: 0.03em; color: var(--muted);
    font-feature-settings: "zero" 1;
}
[data-surface="banner"] .trust-item svg { color: var(--accent); flex-shrink: 0; }
@media (max-width: 900px) {
    [data-surface="banner"] .trust-row { grid-template-columns: repeat(2, auto); justify-content: space-around; }
}
@media (max-width: 560px) {
    [data-surface="banner"] .trust-row { grid-template-columns: 1fr; justify-items: start; gap: 0.7rem; }
}

/* -- Differentiator rows -------------------------------------------------------- */
[data-surface="banner"] .why-sec { border-top: 0; }
[data-surface="banner"] .diff-rows { display: flex; flex-direction: column; gap: 4.5rem; margin-top: 4rem; }
[data-surface="banner"] .diff-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 3.5rem; align-items: center;
}
[data-surface="banner"] .diff-row-rev .diff-copy { order: 2; }
[data-surface="banner"] .diff-row-rev .diff-visual { order: 1; }
[data-surface="banner"] .diff-copy { max-width: 30rem; }
[data-surface="banner"] .diff-index {
    display: block; font-family: var(--font-serif); font-style: italic;
    font-size: 2.6rem; line-height: 1; color: var(--line-strong);
    margin-bottom: 0.9rem;
}
[data-surface="banner"] .diff-h {
    font-family: var(--font-serif); font-size: 1.55rem; font-weight: 600;
    line-height: 1.25; letter-spacing: -0.01em; color: var(--ink);
    margin: 0 0 0.75rem;
}
[data-surface="banner"] .diff-p { font-size: 1rem; line-height: 1.7; color: var(--muted); margin: 0; }
[data-surface="banner"] .diff-p + .diff-p { margin-top: 0.65rem; }
[data-surface="banner"] .diff-note {
    display: flex; align-items: flex-start; gap: 0.5rem;
    margin: 0.9rem 0 0; padding-top: 0.75rem; border-top: 1px solid var(--line);
    font-size: 0.8125rem; line-height: 1.6; color: var(--muted);
}
[data-surface="banner"] .diff-note svg { color: var(--accent); flex-shrink: 0; margin-top: 0.2rem; }

/* vignettes */
[data-surface="banner"] .vignette {
    background: var(--surface); border-radius: var(--radius-card);
    box-shadow: var(--shadow-pop); padding: 1.4rem 1.5rem;
}
[data-surface="banner"] .vignette-title {
    display: block; font-family: var(--font-mono); font-size: 0.64rem;
    font-weight: 500; text-transform: uppercase; letter-spacing: 0.09em;
    color: var(--accent-ink); margin-bottom: 1rem;
}

/* v1: dossier tabs */
[data-surface="banner"] .v-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
[data-surface="banner"] .v-tab {
    font-size: 0.76rem; font-weight: 550; color: var(--muted);
    padding: 0.34rem 0.75rem; border: 1px solid var(--line);
    border-radius: var(--radius-pill); background: var(--canvas);
}
[data-surface="banner"] .v-tab.is-active { color: var(--accent-ink); background: var(--accent-soft); border-color: rgba(19, 19, 22, 0.3); }
[data-surface="banner"] .v-rows { list-style: none; margin: 0; padding: 0; }
[data-surface="banner"] .v-rows li {
    display: flex; align-items: center; gap: 0.55rem;
    padding: 0.6rem 0.1rem; font-size: 0.83rem; color: var(--ink);
    border-top: 1px solid var(--line);
}
[data-surface="banner"] .v-rows li svg { color: var(--allow-text); flex-shrink: 0; }

/* v2: decision pipeline */
[data-surface="banner"] .v-pipeline { list-style: none; margin: 0 0 1rem; padding: 0; position: relative; }
[data-surface="banner"] .v-pipeline::before {
    content: ""; position: absolute; left: 0.8rem; top: 1rem; bottom: 1rem;
    width: 1px; background: var(--line-strong);
}
[data-surface="banner"] .v-node {
    position: relative; display: grid;
    grid-template-columns: 1.65rem 1fr; grid-template-rows: auto auto;
    column-gap: 0.75rem; align-items: center; padding: 0.5rem 0;
}
[data-surface="banner"] .v-node-ico {
    grid-row: 1 / 3; z-index: 1;
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.65rem; height: 1.65rem; border-radius: 50%;
    background: var(--accent-soft); color: var(--accent-ink);
    border: 1px solid rgba(19, 19, 22, 0.3);
}
[data-surface="banner"] .v-node-h { font-size: 0.85rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
[data-surface="banner"] .v-node-sub { font-size: 0.75rem; color: var(--muted); line-height: 1.4; }
[data-surface="banner"] .v-badge {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-size: 0.75rem; font-weight: 550; color: var(--allow-text);
    background: var(--allow-soft); border: 1px solid rgba(21, 128, 61, 0.3);
    border-radius: var(--radius-pill); padding: 0.4rem 0.85rem;
}

/* v3: categorized inventory */
[data-surface="banner"] .v-table { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
[data-surface="banner"] .v-tr {
    display: grid; grid-template-columns: 1fr 1.2fr 0.9fr;
    gap: 0.5rem; align-items: center; padding: 0.55rem 0.8rem;
    font-size: 0.78rem;
}
[data-surface="banner"] .v-tr + .v-tr { border-top: 1px solid var(--line); }
[data-surface="banner"] .v-tr-head {
    background: var(--sunken); font-family: var(--font-mono);
    font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.07em;
    color: var(--muted);
}
[data-surface="banner"] .v-mono { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink); }
[data-surface="banner"] .v-cat {
    justify-self: start; font-size: 0.7rem; font-weight: 550;
    color: var(--accent-ink); background: var(--accent-soft);
    border-radius: var(--radius-pill); padding: 0.18rem 0.6rem;
}
[data-surface="banner"] .v-cat-mkt { color: var(--warn); background: var(--warn-soft); }
[data-surface="banner"] .v-cat-ess { color: var(--muted); background: var(--sunken); }
[data-surface="banner"] .v-conf {
    font-family: var(--font-mono); font-size: 0.66rem; color: var(--muted);
    text-align: right; font-feature-settings: "zero" 1;
}
[data-surface="banner"] .v-foot { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
[data-surface="banner"] .v-chip {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.71rem; font-weight: 550; color: var(--muted);
    border: 1px solid var(--line); border-radius: var(--radius-pill);
    padding: 0.3rem 0.7rem; background: var(--canvas);
}
[data-surface="banner"] .v-chip svg { color: var(--accent); }
[data-surface="banner"] .v-chip-review { color: var(--accent-ink); background: var(--accent-soft); border-color: rgba(19, 19, 22, 0.25); }
[data-surface="banner"] .v-chip-review svg { color: var(--accent-ink); }

[data-surface="banner"] .first-note {
    display: flex; align-items: flex-start; gap: 0.6rem;
    max-width: 46rem; margin: 4rem 0 0; padding: 0.95rem 1.15rem;
    background: var(--sunken); border: 1px solid var(--line);
    border-radius: var(--radius-field);
    font-size: 0.86rem; line-height: 1.6; color: var(--muted);
}
[data-surface="banner"] .first-note svg { color: var(--accent); flex-shrink: 0; margin-top: 0.2rem; }

@media (max-width: 900px) {
    [data-surface="banner"] .diff-rows { gap: 3.5rem; }
    [data-surface="banner"] .diff-row { grid-template-columns: 1fr; gap: 1.75rem; }
    [data-surface="banner"] .diff-row-rev .diff-copy { order: 1; }
    [data-surface="banner"] .diff-row-rev .diff-visual { order: 2; }
    [data-surface="banner"] .diff-visual { max-width: 30rem; }
}

/* -- Steps (how it works) -------------------------------------------------------- */
[data-surface="banner"] .steps {
    list-style: none; margin: 3.5rem 0 0; padding: 0;
    position: relative; display: flex; flex-direction: column; gap: 2.4rem;
    max-width: 46rem;
}
[data-surface="banner"] .steps::before {
    content: ""; position: absolute; left: 1.05rem; top: 1.4rem; bottom: 1.4rem;
    width: 1px; background: var(--line-strong);
}
[data-surface="banner"] .step { position: relative; display: grid; grid-template-columns: 2.15rem 1fr; gap: 1.3rem; }
[data-surface="banner"] .step-num {
    z-index: 1; display: inline-flex; align-items: center; justify-content: center;
    width: 2.15rem; height: 2.15rem; border-radius: 50%;
    background: var(--accent); color: #fff;
    font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600;
    box-shadow: 0 0 0 4px var(--canvas);
    align-self: start; font-feature-settings: "zero" 1;
}
[data-surface="banner"] .lsec-soft .step-num { box-shadow: 0 0 0 4px var(--surface); }
/* min-width: 0 lets the non-wrapping snippet <pre> scroll inside the grid
   track instead of forcing it wider than small viewports. */
[data-surface="banner"] .step-body { padding-top: 0.15rem; position: relative; min-width: 0; }
[data-surface="banner"] .step-ico {
    position: absolute; top: 0; right: 0;
    display: inline-flex; color: var(--line-strong);
}
[data-surface="banner"] .step-h {
    font-family: var(--font-serif); font-size: 1.22rem; font-weight: 600;
    color: var(--ink); margin: 0 0 0.4rem; letter-spacing: -0.005em;
}
[data-surface="banner"] .step-p { font-size: 0.95rem; line-height: 1.65; color: var(--muted); margin: 0; max-width: 38rem; }

[data-surface="banner"] .snippet { margin-top: 1rem; }
[data-surface="banner"] .snippet-pre {
    margin: 0 0 0.7rem; padding: 0.95rem 1.1rem;
    background: var(--ink); border-radius: var(--radius-field);
    overflow-x: auto; line-height: 1.6;
}
[data-surface="banner"] .snippet-pre code { font-size: 0.74rem; color: #E9EBFA; white-space: pre; }
[data-surface="banner"] .snippet-copy {
    background: var(--surface); color: var(--ink);
    border: 1px solid var(--line-strong);
    padding: 0.55rem 0.95rem; font-size: 0.8rem;
}
[data-surface="banner"] .snippet-copy:hover { border-color: var(--accent-light); background: var(--accent-soft); color: var(--accent-ink); }
[data-surface="banner"] .snippet-status { min-height: 1.1rem; margin: 0.45rem 0 0; font-size: 0.8rem; font-weight: 550; color: var(--allow-text); }

/* -- Features grid -------------------------------------------------------------- */
[data-surface="banner"] .features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem; margin-top: 3.25rem;
}
/* The card family mirrors the home's banniere spotlight cards: a faint
   diagonal tint for depth, an ink-to-dawn top rule, a warm corner bloom that
   lights on hover, and a filled graphite icon tile (inverts to a light tile
   in dark mode). Transform/opacity only; reduced motion collapses it all. */
[data-surface="banner"] .fcard {
    position: relative; isolation: isolate; overflow: hidden;
    background: linear-gradient(165deg, var(--surface) 0%, var(--surface) 70%, rgba(19, 19, 22, 0.035) 100%);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-panel); padding: 1.6rem 1.5rem 1.5rem;
    transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
[data-theme="dark"] [data-surface="banner"] .fcard { background: linear-gradient(165deg, var(--surface) 0%, var(--surface) 70%, rgba(255, 255, 255, 0.06) 100%); }
[data-surface="banner"] .fcard::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2.5px; z-index: 1;
    background: linear-gradient(to right, var(--accent) 0%, var(--warm-soft) 62%, transparent 96%);
    opacity: 0.4; transition: opacity 0.25s var(--ease);
}
[data-surface="banner"] .fcard::after {
    content: ""; position: absolute; right: -3rem; bottom: -3rem; width: 9.5rem; height: 9.5rem; z-index: -1;
    border-radius: var(--radius-pill);
    background: radial-gradient(circle at center, rgba(232, 148, 60, 0.16), transparent 66%);
    opacity: 0; transition: opacity 0.3s var(--ease);
}
[data-theme="dark"] [data-surface="banner"] .fcard::after { background: radial-gradient(circle at center, rgba(240, 184, 112, 0.16), transparent 66%); }
[data-surface="banner"] .fcard:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
[data-surface="banner"] .fcard:hover::before { opacity: 0.9; }
[data-surface="banner"] .fcard:hover::after { opacity: 1; }
[data-surface="banner"] .fcard-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.8rem; height: 2.8rem; border-radius: 0.8rem;
    background: linear-gradient(160deg, #2E2E33 0%, #131316 80%);
    color: #F5F5F6;
    box-shadow: 0 10px 22px -12px rgba(19, 19, 22, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    margin-bottom: 1rem;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
[data-surface="banner"] .fcard:hover .fcard-ico { transform: translateY(-2px) rotate(-3deg) scale(1.04); }
[data-theme="dark"] [data-surface="banner"] .fcard-ico {
    background: linear-gradient(160deg, #FFFFFF 0%, #D6D6DA 100%);
    color: #131316;
    box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
[data-surface="banner"] .fcard-h { font-size: 0.99rem; font-weight: 650; color: var(--ink); margin: 0 0 0.4rem; line-height: 1.35; letter-spacing: -0.005em; }
[data-surface="banner"] .fcard-p { font-size: 0.875rem; line-height: 1.62; color: var(--muted); margin: 0; }
@media (max-width: 980px) { [data-surface="banner"] .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { [data-surface="banner"] .features-grid { grid-template-columns: 1fr; max-width: 30rem; } }

/* -- Pricing -------------------------------------------------------------------- */
[data-surface="banner"] .tiers {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1rem; margin-top: 3.25rem; align-items: stretch;
    max-width: 62rem; margin-left: auto; margin-right: auto;
}
[data-surface="banner"] .tier {
    position: relative; display: flex; flex-direction: column;
    background: var(--canvas); border: 1px solid var(--line);
    border-radius: var(--radius-card); padding: 1.5rem 1.35rem 1.4rem;
    transition: border-color 0.2s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
[data-surface="banner"] .tier:hover { border-color: var(--line-strong); box-shadow: var(--shadow-pop); transform: translateY(-2px); }
[data-surface="banner"] .lsec-soft .tier { background: var(--canvas); }
[data-surface="banner"] .tier-hot {
    background: var(--surface); border-color: rgba(19, 19, 22, 0.45);
    box-shadow: 0 14px 34px -18px rgba(19, 19, 22, 0.35), 0 0 0 1px rgba(19, 19, 22, 0.35);
}
[data-surface="banner"] .tier-pop {
    position: absolute; top: -0.78rem; left: 50%; transform: translateX(-50%);
    white-space: nowrap;
    font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: #fff; background: var(--accent);
    border-radius: var(--radius-pill); padding: 0.28rem 0.75rem;
}
[data-surface="banner"] .tier-name {
    font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.09em; color: var(--accent-ink);
    margin-bottom: 0.85rem;
}
[data-surface="banner"] .tier-price {
    font-family: var(--font-serif); font-size: 2.1rem; font-weight: 600;
    line-height: 1; color: var(--ink); letter-spacing: -0.01em;
}
[data-surface="banner"] .tier-period { font-size: 0.75rem; color: var(--muted); margin: 0.45rem 0 1rem; line-height: 1.4; }
/* the honest billing chip: annual-only, price shown per month, no rebate */
[data-surface="banner"] .tier-billing {
    align-self: flex-start;
    font-family: var(--font-mono); font-size: 0.6rem; font-weight: 550;
    text-transform: uppercase; letter-spacing: 0.07em;
    color: var(--accent-ink); background: var(--accent-soft);
    border: 1px solid rgba(19, 19, 22, 0.22);
    border-radius: var(--radius-pill); padding: 0.18rem 0.55rem;
    margin: -0.45rem 0 1rem;
}
[data-surface="banner"] .tier-loads {
    font-size: 0.8rem; color: var(--muted); line-height: 1.45;
    padding-top: 0.85rem; border-top: 1px solid var(--line);
}
[data-surface="banner"] .tier-loads strong { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
[data-surface="banner"] .tier-sites { margin-top: 0.35rem; font-size: 0.8rem; color: var(--muted); line-height: 1.45; }
[data-surface="banner"] .tier-note { margin-top: 0.65rem; font-size: 0.75rem; line-height: 1.5; color: var(--muted); }
/* the platform cross-sell card: the banner capability is billed separately per site */
[data-surface="banner"] .tier-platform { border-style: dashed; border-color: rgba(19, 19, 22, 0.35); }
[data-surface="banner"] .tier-platform .tier-note {
    margin-top: 0; padding-top: 0.85rem; border-top: 1px solid var(--line);
    font-size: 0.8rem;
}
[data-surface="banner"] .tier-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    margin-top: auto; padding-top: 0.9rem;
    font-size: 0.8rem; font-weight: 600; color: var(--accent-ink);
    text-decoration: none;
}
[data-surface="banner"] .tier-link:hover { text-decoration: underline; text-underline-offset: 3px; }
[data-surface="banner"] .tier-link svg { flex-shrink: 0; }
@media (max-width: 900px) {
    [data-surface="banner"] .tiers { grid-template-columns: 1fr; max-width: 28rem; }
    [data-surface="banner"] .tier-hot { order: -1; }
}

[data-surface="banner"] .pricing-foot {
    display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
    gap: 1.5rem; margin-top: 2.5rem;
}
[data-surface="banner"] .pricing-notes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; max-width: 40rem; }
[data-surface="banner"] .pricing-notes li {
    display: flex; align-items: flex-start; gap: 0.55rem;
    font-size: 0.86rem; line-height: 1.55; color: var(--muted);
}
[data-surface="banner"] .pricing-notes svg { color: var(--allow-text); flex-shrink: 0; margin-top: 0.22rem; }

/* -- Compare -------------------------------------------------------------------- */
[data-surface="banner"] .compare-wrap { margin-top: 3rem; overflow-x: auto; }
[data-surface="banner"] .compare-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-card); overflow: hidden;
    font-size: 0.885rem; line-height: 1.55;
}
[data-surface="banner"] .compare-table thead th {
    text-align: left; padding: 0.85rem 1.15rem;
    background: var(--sunken); border-bottom: 1px solid var(--line);
    font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
}
[data-surface="banner"] .compare-table thead th.compare-us-h { color: var(--accent-ink); background: var(--accent-soft); }
[data-surface="banner"] .compare-table tbody th {
    text-align: left; vertical-align: top; padding: 1rem 1.15rem;
    font-weight: 650; color: var(--ink); font-size: 0.865rem; line-height: 1.45;
    width: 20%;
}
[data-surface="banner"] .compare-table tbody td { vertical-align: top; padding: 1rem 1.15rem; color: var(--muted); width: 40%; }
[data-surface="banner"] .compare-table tbody tr + tr th, [data-surface="banner"] .compare-table tbody tr + tr td { border-top: 1px solid var(--line); }
[data-surface="banner"] .compare-table tbody tr { transition: background 0.15s var(--ease); }
[data-surface="banner"] .compare-table tbody tr:hover { background: rgba(19, 19, 22, 0.03); }
[data-theme="dark"] [data-surface="banner"] .compare-table tbody tr:hover { background: rgba(255, 255, 255, 0.05); }
[data-surface="banner"] .compare-table td.compare-us { background: rgba(19, 19, 22, 0.045); color: var(--ink); }
[data-surface="banner"] .compare-x { color: var(--revoke); flex-shrink: 0; }
[data-surface="banner"] .compare-check { color: var(--allow-text); flex-shrink: 0; }
[data-surface="banner"] .compare-table td > svg { float: left; margin: 0.25rem 0.6rem 0 0; }
[data-surface="banner"] .compare-table td > span { display: block; overflow: hidden; }

[data-surface="banner"] .compare-footnote {
    display: flex; align-items: flex-start; gap: 0.6rem;
    max-width: 50rem; margin: 1.6rem 0 0;
    font-size: 0.8125rem; line-height: 1.6; color: var(--muted);
}
[data-surface="banner"] .compare-footnote svg { color: var(--accent); flex-shrink: 0; margin-top: 0.2rem; }

@media (max-width: 760px) {
    [data-surface="banner"] .compare-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
    [data-surface="banner"] .compare-table, [data-surface="banner"] .compare-table tbody, [data-surface="banner"] .compare-table tr, [data-surface="banner"] .compare-table th, [data-surface="banner"] .compare-table td { display: block; width: 100%; }
    [data-surface="banner"] .compare-table tbody tr { padding: 0.4rem 0 0.9rem; }
    [data-surface="banner"] .compare-table tbody tr + tr { border-top: 1px solid var(--line); }
    [data-surface="banner"] .compare-table tbody th { padding: 0.9rem 1.15rem 0.2rem; width: auto; }
    [data-surface="banner"] .compare-table tbody td { padding: 0.45rem 1.15rem; width: auto; border-top: 0 !important; }
    [data-surface="banner"] .compare-table tbody td::before {
        content: attr(data-col);
        display: block; margin-bottom: 0.2rem;
        font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600;
        text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
    }
    [data-surface="banner"] .compare-table td.compare-us { border-radius: 8px; margin: 0.2rem 0.75rem; width: calc(100% - 1.5rem); padding: 0.65rem 0.75rem; }
    [data-surface="banner"] .compare-table td.compare-us::before { color: var(--accent-ink); }
}

/* -- FAQ -------------------------------------------------------------------------- */
[data-surface="banner"] .faq-list { max-width: 50rem; margin-top: 3rem; display: flex; flex-direction: column; gap: 0.7rem; }
[data-surface="banner"] .faq-item {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-card); overflow: hidden;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
[data-surface="banner"] .faq-item:hover { border-color: var(--line-strong); }
[data-surface="banner"] .faq-item[open] { border-color: rgba(19, 19, 22, 0.35); box-shadow: var(--shadow-pop); }
[data-surface="banner"] .faq-q {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.1rem 1.35rem;
    font-size: 1.01rem; font-weight: 600; line-height: 1.45; color: var(--ink);
    letter-spacing: -0.005em;
}
[data-surface="banner"] .faq-q::-webkit-details-marker { display: none; }
[data-surface="banner"] .faq-q-text { flex: 1; }
[data-surface="banner"] .faq-chevron { flex-shrink: 0; color: var(--accent); transition: transform 0.25s var(--ease); }
[data-surface="banner"] .faq-item[open] .faq-chevron { transform: rotate(180deg); }
[data-surface="banner"] .faq-q:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; border-radius: var(--radius-card); }
[data-surface="banner"] .faq-a { padding: 0 1.35rem 1.25rem; }
[data-surface="banner"] .faq-a p { margin: 0; font-size: 0.95rem; line-height: 1.72; color: var(--muted); max-width: 44rem; }
[data-surface="banner"] .faq-a a { text-decoration: underline; text-underline-offset: 0.15em; }
[data-surface="banner"] .faq-disclaimer {
    display: flex; align-items: center; gap: 0.5rem;
    margin-top: 1.8rem; font-size: 0.8125rem; color: var(--muted);
}
[data-surface="banner"] .faq-disclaimer svg { color: var(--accent); flex-shrink: 0; }
@media (max-width: 640px) {
    [data-surface="banner"] .faq-q { padding: 1.05rem 1.1rem; font-size: 0.96rem; }
    [data-surface="banner"] .faq-a { padding: 0 1.1rem 1.15rem; }
}

/* -- Closing CTA (family gradient card, mirrors agreely-site's .cta-card) ----
   A warm LIGHT card (white to lavender to warm amber) so it reads clearly
   distinct from the deep-indigo reveal footer right below it: 1.75rem radius,
   faint interior grid + soft amber glow, pinned light-palette type. */
/* The closing band is the sheet's LAST opaque section: it must follow the
   sheet's rounded bottom edge, otherwise its square corners paint over the
   radius and the footer reveal loses its rounded corners on this page. */
[data-surface="banner"] .cta {
    position: relative; padding: 2rem 0 9.25rem; border-top: 1px solid var(--line);
    background: var(--surface); overflow-x: clip;
    border-bottom-left-radius: 2.25rem; border-bottom-right-radius: 2.25rem;
}
@media (max-width: 820px) {
    /* the footer reveal (and the sheet radius) is disabled at this width */
    [data-surface="banner"] .cta { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
}
[data-surface="banner"] .cta .container { padding-top: 4.5rem; }
[data-surface="banner"] .cta-card {
    position: relative; overflow: hidden;
    max-width: 58rem; margin: 0 auto; padding: 4rem 2rem;
    text-align: center;
    border-radius: var(--radius-shell);
    background: linear-gradient(150deg, #FFFFFF 0%, #F5F4EF 46%, #FBF1E6 100%);
    border: 1px solid var(--line);
    box-shadow: 0 40px 80px -42px rgba(19, 19, 22, 0.32);
    isolation: isolate;
}
/* faint grid + soft glow inside the card */
[data-surface="banner"] .cta-card-grid {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        linear-gradient(rgba(19, 19, 22, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(19, 19, 22, 0.05) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 35%, #000 35%, transparent 80%);
    mask-image: radial-gradient(ellipse 75% 75% at 50% 35%, #000 35%, transparent 80%);
}
[data-surface="banner"] .cta-card-glow {
    position: absolute; top: -34%; left: 50%; transform: translateX(-50%);
    width: 42rem; height: 26rem; z-index: -1; pointer-events: none;
    background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(232, 148, 60, 0.22), transparent 70%);
}
[data-surface="banner"] .cta-inner { position: relative; z-index: 1; max-width: 40rem; margin: 0 auto; }
[data-surface="banner"] .cta-eyebrow {
    display: block; margin-bottom: 1rem;
    font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.12em; color: var(--warm);
    font-feature-settings: "zero" 1;
}
[data-surface="banner"] .cta-h {
    font-family: var(--font-serif); font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 600; line-height: 1.12; letter-spacing: -0.015em;
    color: var(--ink); margin: 0 auto 1rem; max-width: 34rem; text-wrap: balance;
}
[data-surface="banner"] .cta-p {
    font-size: 1.0625rem; line-height: 1.65; color: #47474D;
    margin: 0 auto 2rem; max-width: 34rem;
}
[data-surface="banner"] .cta-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }
[data-surface="banner"] .cta-btn-light { background: var(--accent); color: #fff; box-shadow: 0 14px 30px -12px rgba(19, 19, 22, 0.55); }
[data-surface="banner"] .cta-btn-light:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 16px 34px -12px rgba(19, 19, 22, 0.7); }
[data-surface="banner"] .cta-btn-ghost { background: #FFFFFF; color: var(--ink); border: 1px solid rgba(19, 19, 22, 0.24); }
[data-surface="banner"] .cta-btn-ghost:hover { background: rgba(19, 19, 22, 0.08); border-color: rgba(19, 19, 22, 0.4); color: var(--accent-press); }
@media (max-width: 560px) {
    [data-surface="banner"] .cta-card { padding: 3rem 1.25rem; }
    [data-surface="banner"] .cta-actions .btn { width: 100%; }
}

/* -- Reveal-on-scroll (restrained) --------------------------------------------------- */
[data-surface="banner"] .reveal { opacity: 1; transform: none; transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
[data-surface="banner"] .js-anim .reveal:not(.is-visible) { opacity: 0; transform: translateY(1.1rem); }
[data-surface="banner"] .js-anim .reveal.is-visible { opacity: 1; transform: translateY(0); }
[data-surface="banner"] .reveal-stagger > * { transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
[data-surface="banner"] .js-anim .reveal-stagger:not(.is-visible) > * { opacity: 0; transform: translateY(0.9rem); }
[data-surface="banner"] .js-anim .reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
[data-surface="banner"] .js-anim .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 60ms; }
[data-surface="banner"] .js-anim .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 120ms; }
[data-surface="banner"] .js-anim .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 180ms; }
[data-surface="banner"] .js-anim .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 240ms; }
[data-surface="banner"] .js-anim .reveal-stagger.is-visible > *:nth-child(n+6) { transition-delay: 300ms; }
/* scale-reveal variant for marquee blocks (hero demo, CTA card) */
[data-surface="banner"] .reveal-scale { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-surface="banner"] .js-anim .reveal-scale:not(.is-visible) { opacity: 0; transform: translateY(1.5rem) scale(0.975); }
[data-surface="banner"] .js-anim .reveal-scale.is-visible { opacity: 1; transform: none; }

/* -- Reduced motion --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    [data-surface="banner"] *, [data-surface="banner"] *::before, [data-surface="banner"] *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    [data-surface="banner"] .reveal, [data-surface="banner"] .reveal-scale, [data-surface="banner"] .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}
