/* ======================================================================
   SaaSOffice — Design system (v0.1)
   Variables-first, sober SaaS, structural spacing.
   ====================================================================== */

:root {
    /* --- color tokens --- */
    --c-bg:           #ffffff;
    --c-bg-soft:      #f6f8fb;
    --c-bg-dark:      #0b1220;
    --c-surface:      #ffffff;
    --c-border:       #e5e9f0;
    --c-border-soft:  #eef1f6;
    --c-ink:          #0e1726;
    --c-ink-soft:     #4a5568;
    --c-ink-mute:     #7b8794;
    --c-ink-invert:   #ffffff;
    --c-primary:      #007cba;
    --c-primary-700:  #006699;
    --c-primary-50:   #e6f4fb;
    --c-accent:       #00d3a7;
    --c-warn:         #ffb020;

    /* --- radii --- */
    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-pill: 999px;

    /* --- shadows --- */
    --sh-sm: 0 1px 2px rgba(14, 23, 38, 0.05);
    --sh-md: 0 4px 14px rgba(14, 23, 38, 0.08);
    --sh-lg: 0 18px 40px rgba(14, 23, 38, 0.10);

    /* --- spacing scale (8pt) --- */
    --s-1: 4px;
    --s-2: 8px;
    --s-3: 12px;
    --s-4: 16px;
    --s-5: 24px;
    --s-6: 32px;
    --s-7: 48px;
    --s-8: 64px;
    --s-9: 96px;
    --s-10: 128px;

    /* --- typography --- */
    --ff-display: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --ff-sans:    'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --ff-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    /* Used for eyebrows / kickers — change here to swap font once for the whole site */
    --ff-eyebrow: var(--ff-sans);
    --fs-xs:  0.8125rem;
    --fs-sm:  0.9375rem;
    --fs-md:  1rem;
    --fs-lg:  1.125rem;
    --fs-xl:  1.375rem;
    --fs-2xl: 1.75rem;
    --fs-3xl: 2.25rem;
    --fs-4xl: 3rem;
    --fs-5xl: clamp(2.5rem, 4.5vw, 4rem);

    --lh-tight: 1.1;
    --lh-snug:  1.3;
    --lh-base:  1.65;

    /* --- layout --- */
    --container: 1380px;
    --gutter: clamp(20px, 4vw, 40px);
    --section-y: clamp(64px, 9vw, 128px);

    /* --- motion --- */
    --t-fast: 120ms;
    --t-base: 200ms;
    --ease:   cubic-bezier(.2, .7, .2, 1);
    --ease-emphasis: cubic-bezier(.85, 0, 0, .9);
    --reveal-duration: 800ms;

    /* --- title gradient (subtle) --- */
    --grad-title: linear-gradient(135deg, #0a1330 0%, #003a5a 55%, #007cba 100%);
}

/* ======================================================================
   Reset
   ====================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; tab-size: 4; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, blockquote, figure { margin: 0; }
ul, ol { padding: 0; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; border-radius: var(--r-xs); }

/* ======================================================================
   Base
   ====================================================================== */
html, body { height: 100%; }
html {
    /* Belt-and-braces: some browsers ignore overflow-x on body alone — set it on html too. */
    overflow-x: clip;
}
body {
    font-family: var(--ff-sans);
    font-size: var(--fs-md);
    line-height: var(--lh-base);
    color: var(--c-ink);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    /* Prevent any iOS rubber-band horizontal scroll if a child accidentally overflows. */
    -webkit-overflow-scrolling: touch;
}

/* ======================================================================
   Typography
   ====================================================================== */
h1, h2, h3, h4 {
    font-family: var(--ff-display);
    line-height: var(--lh-tight);
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--c-ink);
}
h1 { font-size: var(--fs-5xl); letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); font-weight: 700; }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p  { color: var(--c-ink-soft); }

/* Selective accent on a single word: <h2>Vos m² parlent. <em>Écoutez-les.</em></h2> */
.section-head h2 em,
.title-accent {
    color: var(--c-primary);
    font-style: normal;
}
.lede { font-size: var(--fs-lg); line-height: var(--lh-snug); color: var(--c-ink-soft); max-width: 60ch; }
.eyebrow {
    display: inline-block;
    font-family: var(--ff-eyebrow);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--c-primary);
    background: var(--c-primary-50);
    padding: 6px 12px;
    border-radius: var(--r-pill);
}

/* ======================================================================
   Layout
   ====================================================================== */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); background: var(--c-bg); }
/* First section (when no hero precedes) must clear the floating header */
main > section.section:first-child { padding-top: max(var(--section-y), 112px); }

/* Auto-alternate section backgrounds — every other <section> in <main> gets a soft tint. */
main > section:nth-of-type(even) { background: var(--c-bg-soft); }

/* Hero keeps its own gradient — match selector specificity (0,1,2) and put it after. */
main > section.hero {
    background:
        linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.76)),
        url('/uploads/2026/04/gradient.avif') top center / cover no-repeat,
        var(--c-bg);
}

.section--dark { background: var(--c-bg-dark); color: var(--c-ink-invert); }
.section--dark p,
.section--dark .lede { color: rgba(255, 255, 255, 0.75); }
.section-head { max-width: 64ch; margin-bottom: var(--s-7); }
.section-head--center { margin-inline: auto; text-align: center; }

.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ======================================================================
   Buttons
   ====================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    padding: 12px 22px;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: var(--fs-sm);
    line-height: 1;
    transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-base) var(--ease);
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-primary); color: var(--c-ink-invert); box-shadow: var(--sh-sm); }
.btn--primary:hover { background: var(--c-primary-700); box-shadow: var(--sh-md); }
.btn--ghost { background: transparent; color: var(--c-ink); border: 1px solid var(--c-border); }
.btn--ghost:hover { background: var(--c-bg-soft); }
.btn--invert { background: #fff; color: var(--c-ink); }
.btn--invert:hover { background: var(--c-bg-soft); }
.btn--lg { padding: 16px 28px; font-size: var(--fs-md); }
.btn--xl { padding: 18px 32px; font-size: var(--fs-md); }
.btn__play {
    display: inline-block;
    width: 0; height: 0;
    border-left: 8px solid currentColor;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    margin-right: 4px;
    transform: translateY(0.5px);
    color: var(--c-primary);
}
.btn--primary { box-shadow: 0 8px 20px -8px rgba(0, 124, 186, .55); }
.btn--primary:hover { box-shadow: 0 12px 28px -8px rgba(0, 124, 186, .65); }

/* ======================================================================
   Home decorative asides (paused — kept for re-enable)
   ====================================================================== */
.home-decor-wrap { display: none; }
.home-decor {
    position: absolute;
    top: 0;
    pointer-events: none;
    max-width: 360px;
}
.home-decor--left  { left: 0;  transform: translate(-20%, 80%); }
.home-decor--right { right: 0; transform: translate( 20%, 80%); }
.home-decor img { display: block; max-width: 100%; height: auto; }

main { position: relative; }

/* ======================================================================
   Logo marquee — grayscale partner-logo placeholders, infinite horizontal
   scroll under the hero intro. Edge fade via mask.
   ====================================================================== */
.logo-marquee {
    width: 100%;
    margin-block-start: var(--s-7);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logo-marquee__track {
    display: flex;
    width: max-content;
    gap: var(--s-7);
    animation: logo-marquee-scroll 45s linear infinite;
}
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__set {
    display: flex;
    align-items: center;
    gap: var(--s-7);
    flex-shrink: 0;
    padding-inline: calc(var(--s-7) / 2);
}
.logo-marquee__logo {
    height: 24px;
    width: auto;
    flex-shrink: 0;
    filter: grayscale(1);
    opacity: .45;
    transition: opacity var(--t-base) var(--ease), filter var(--t-base) var(--ease);
}
.logo-marquee__logo:hover { opacity: .85; filter: grayscale(.4); }

@keyframes logo-marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .logo-marquee__track { animation: none; }
    .logo-marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
}

/* ======================================================================
   Hero floating pings — 4 absolute-positioned chat bubbles around the
   hero CONTAINER (not the full-bleed section) with subtle rotations,
   staggered fade-in, and a typing effect that swaps 3 dots for the
   typed text on a loop.
   ====================================================================== */
.partial-hero > .container { position: relative; }
.hero-pings {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}
.hero-ping {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    pointer-events: auto;
    opacity: 0;
    animation: hero-ping-in .6s var(--ease) forwards;
    transform-origin: center;
}
.hero-ping__avatar {
    width: 40px; height: 40px;
    border-radius: 999px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 10px 24px -10px rgba(15, 30, 55, .25);
    flex-shrink: 0;
    background: var(--c-bg-soft);
}
.hero-ping__bubble {
    position: relative;
    background: #fff;
    padding: 10px 14px;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 14px 32px -14px rgba(15, 30, 55, .25);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--c-text);
    white-space: nowrap;
    line-height: 1.3;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
}

/* Typing dots — visible during the "typing" phase, then fade out (one-shot) */
.hero-ping__typing {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    height: 18px;
    animation: hero-ping-typing-toggle 2.6s var(--ease) forwards;
}
.hero-ping__typing > span {
    width: 6px; height: 6px;
    border-radius: 999px;
    background: var(--c-primary, #007cba);
    opacity: .55;
    animation: hero-ping-bounce 1.2s infinite ease-in-out;
}
.hero-ping__typing > span:nth-child(2) { animation-delay: .15s; }
.hero-ping__typing > span:nth-child(3) { animation-delay: .3s; }

/* Text — typewriter reveal that locks at the final state */
.hero-ping__text {
    overflow: hidden;
    white-space: nowrap;
    max-width: 0;
    animation: hero-ping-typewriter 2.6s steps(36, end) forwards;
}

/* Per-ping placement around the hero — slight rotations + delays.
   Avoids the right-side bento area on desktop.                         */
.hero-ping--1 {
    top: clamp(-32px, -2vw, -8px);
    left: clamp(0px, 1vw, 16px);
    transform: rotate(-4deg);
    animation-delay: .2s;
}
.hero-ping--2 {
    top: clamp(-40px, -2.5vw, -16px);
    right: clamp(8px, 2vw, 32px);
    transform: rotate(3deg);
    animation-delay: .55s;
}
.hero-ping--3 {
    bottom: clamp(160px, 18vw, 240px);
    left: clamp(0px, 2vw, 32px);
    transform: rotate(2deg);
    animation-delay: .9s;
}
.hero-ping--4 {
    bottom: clamp(180px, 20vw, 260px);
    right: clamp(8px, 3vw, 48px);
    transform: rotate(-3deg);
    animation-delay: 1.25s;
}

/* Stagger the typing animation so all 4 pings aren't synchronized */
.hero-ping--1 .hero-ping__typing,
.hero-ping--1 .hero-ping__text { animation-delay: .2s; }
.hero-ping--2 .hero-ping__typing,
.hero-ping--2 .hero-ping__text { animation-delay: 1.7s; }
.hero-ping--3 .hero-ping__typing,
.hero-ping--3 .hero-ping__text { animation-delay: 3.2s; }
.hero-ping--4 .hero-ping__typing,
.hero-ping--4 .hero-ping__text { animation-delay: 4.7s; }

@keyframes hero-ping-in {
    from { opacity: 0; transform: translateY(8px) rotate(var(--r, 0deg)) scale(.92); }
    to   { opacity: 1; }
}
.hero-ping--1 { --r: -4deg; } .hero-ping--2 { --r: 3deg; }
.hero-ping--3 { --r: 2deg; }  .hero-ping--4 { --r: -3deg; }

@keyframes hero-ping-bounce {
    0%, 60%, 100% { transform: translateY(0);    opacity: .5; }
    30%           { transform: translateY(-4px); opacity: 1; }
}

/* One-shot: 0–35% dots typing, 35% dots fade out, 40–100% text reveal then locked */
@keyframes hero-ping-typing-toggle {
    0%, 30%  { opacity: 1; max-width: 24px; }
    40%, 100% { opacity: 0; max-width: 0; margin-right: -4px; }
}
@keyframes hero-ping-typewriter {
    0%, 35%  { max-width: 0; }
    100%     { max-width: 320px; }
}

/* Hide on small viewports — the bento + content already crowd things */
@media (max-width: 960px) {
    .hero-pings { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-ping { animation: none; opacity: 1; }
    .hero-ping__typing { display: none; }
    .hero-ping__text { animation: none; max-width: none; }
}

/* ======================================================================
   Spotlight border on hover — gradient ring follows the cursor.
   JS sets --mx / --my (px relative to the card). CSS draws a thin border
   ring tinted by a radial gradient at the cursor position.
   ====================================================================== */
.card,
.scenario-card,
.solution-card,
.ecosystem-cell,
.bento-article,
.roi__cell,
.mini-feature,
.use-cases__panel,
.trust__point,
.features-rail__card,
.step,
.scenario-card,
.media-picker__item {
    position: relative;
    isolation: isolate;
}
.card::before,
.scenario-card::before,
.solution-card::before,
.ecosystem-cell::before,
.bento-article::before,
.roi__cell::before,
.mini-feature::before,
.use-cases__panel::before,
.features-rail__card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(
        320px circle at var(--mx, -200%) var(--my, -200%),
        var(--c-primary) 0%,
        rgba(0, 124, 186, 0.4) 25%,
        transparent 60%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--t-base) var(--ease);
    pointer-events: none;
    z-index: 2;
}
.card:hover::before,
.scenario-card:hover::before,
.solution-card:hover::before,
.ecosystem-cell:hover::before,
.bento-article:hover::before,
.roi__cell:hover::before,
.mini-feature:hover::before,
.use-cases__panel:hover::before,
.features-rail__card:hover::before { opacity: 1; }

/* ======================================================================
   Reveal animation (IntersectionObserver-driven)
   ====================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity var(--reveal-duration) var(--ease-emphasis),
        transform var(--reveal-duration) var(--ease-emphasis);
    will-change: opacity, transform;
}
.reveal.is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ======================================================================
   Header / Nav / Burger
   ====================================================================== */
.header {
    position: fixed;
    top: 12px;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: calc(100% - 24px);
    max-width: 1400px;
    z-index: 50;
    background: transparent;
    border-radius: 18px;
    transition: background var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
    border: 1px solid transparent;
    /* Pas de transform ici — un transform créerait un containing-block pour le nav fixed à l'intérieur,
       ce qui contraint le drawer mobile à la hauteur du header au lieu du viewport. */
}
.header.is-scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    border-color: var(--c-border-soft);
    box-shadow: 0 8px 24px -16px rgba(14, 23, 38, .12);
}
.header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--s-5);
    height: 64px;
    padding-inline: var(--s-5);
}
.header__inner > .brand { justify-self: start; grid-column: 1; }
.header__inner > .nav--desktop { justify-self: center; grid-column: 2; }
.header__inner > .header__cta { justify-self: end; grid-column: 3; }
.brand {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    font-weight: 700;
    font-size: var(--fs-lg);
    letter-spacing: -0.01em;
    color: var(--c-ink);
}
.brand__logo {
    display: block;
    height: 30px;
    width: auto;
}
.nav--desktop {
    display: flex;
    align-items: center;
    gap: var(--s-5);
}
/* The mobile drawer is a separate <nav class="nav nav--mobile"> sibling of <header> — hidden on desktop */
.nav--mobile { display: none; }
.nav-backdrop { display: none; }
.nav__list {
    display: flex;
    align-items: center;
    gap: var(--s-5);
    list-style: none;
}
.nav__link {
    font-size: var(--fs-sm);
    color: var(--c-ink-soft);
    font-weight: 500;
    transition: color var(--t-base) var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--c-ink); }

/* dropdown */
.nav__toggle { display: inline-flex; align-items: center; gap: 6px; }
.caret {
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    opacity: 0.6;
    transition: transform var(--t-base) var(--ease);
}
.has-dropdown { position: relative; }
.has-dropdown.is-open .caret,
.has-dropdown:hover .caret { transform: rotate(180deg); opacity: 1; }
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: -16px;
    min-width: 320px;
    background: var(--c-surface);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    box-shadow: 0 16px 32px -8px rgba(14, 23, 38, .12), 0 1px 2px rgba(14, 23, 38, .04);
    padding: var(--s-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base);
    z-index: 60;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.is-open > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.dropdown__link {
    display: flex; align-items: center; gap: var(--s-3);
    padding: 10px 14px;
    border-radius: var(--r-xs);
    font-size: var(--fs-sm);
    color: var(--c-ink);
    transition: background var(--t-fast) var(--ease);
}
.dropdown__link:hover { background: var(--c-bg-soft); }
.dropdown__icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 9px;
    display: grid; place-items: center;
    background: var(--c-primary-50);
    color: var(--c-primary);
}
.dropdown__label { flex: 1; font-weight: 500; }
.dropdown__arrow {
    color: var(--c-ink-mute);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity var(--t-fast), transform var(--t-fast);
}
.dropdown__link:hover .dropdown__arrow { opacity: 1; transform: translateX(0); color: var(--c-primary); }
.dropdown__link[aria-current="page"] { background: var(--c-primary-50); color: var(--c-primary); }
.dropdown__link[aria-current="page"] .dropdown__icon { background: var(--c-primary); color: #fff; }

/* Mega-menu (wide 2-col, used when a parent has 5+ children) */
.dropdown--mega {
    min-width: 640px;
    left: 50%;
    transform: translate(-50%, 4px);
    padding: var(--s-3);
}
.has-dropdown--mega:hover > .dropdown--mega,
.has-dropdown--mega:focus-within > .dropdown--mega,
.has-dropdown--mega.is-open > .dropdown--mega {
    transform: translate(-50%, 0);
}
.dropdown__head {
    display: flex; flex-direction: column; gap: 2px;
    padding: var(--s-3) var(--s-4) var(--s-4);
    border-bottom: 1px solid var(--c-border-soft);
    margin-bottom: var(--s-3);
}
.dropdown__head-eyebrow {
    font-size: var(--fs-xs);
    color: var(--c-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.dropdown__head-text { color: var(--c-ink-soft); font-size: var(--fs-sm); }
.dropdown__list--two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px var(--s-3);
}

@media (max-width: 960px) {
    .dropdown--mega { min-width: 0; left: 0; transform: none; padding: 0 0 var(--s-3) var(--s-4); }
    .dropdown__list--two-col { grid-template-columns: 1fr; }
    .dropdown__head { padding: var(--s-3) 0; border: 0; margin: 0; }
}

/* skip-link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    background: var(--c-ink);
    color: #fff;
    padding: 8px 14px;
    border-radius: var(--r-xs);
    font-size: var(--fs-sm);
    z-index: 100;
}
.skip-link:focus { left: 8px; }

.nav__cta { display: inline-flex; gap: var(--s-3); align-items: center; }
.lang-switch { display: inline-flex; gap: var(--s-2); font-size: var(--fs-xs); color: var(--c-ink-mute); }
.lang-switch a { padding: 4px 8px; border-radius: var(--r-xs); }
.lang-switch a[aria-current="true"] { background: var(--c-bg-soft); color: var(--c-ink); font-weight: 600; }

.burger {
    display: none;
    width: 44px; height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    border: 1px solid var(--c-border);
}
.burger__bars { position: relative; width: 18px; height: 12px; }
.burger__bars::before,
.burger__bars::after,
.burger__bars span {
    content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--c-ink);
    border-radius: 2px;
    transition: transform var(--t-base) var(--ease), top var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
}
.burger__bars::before { top: 0; }
.burger__bars span    { top: 5px; }
.burger__bars::after  { top: 10px; }
.burger[aria-expanded="true"] .burger__bars::before { top: 5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after  { top: 5px; transform: rotate(-45deg); }
.burger[aria-expanded="true"] .burger__bars span    { opacity: 0; }

@media (max-width: 960px) {
    .burger { display: inline-flex; }
    /* Hide the in-header desktop nav, show the standalone mobile drawer */
    .nav--desktop { display: none; }
    /* Revert header to flex on mobile so logo/burger sit on opposite ends */
    .header__inner {
        display: flex;
        justify-content: space-between;
    }
    .header__cta { display: none; }
    .nav--mobile {
        display: flex;
        position: fixed;
        top: 0; bottom: 0;
        right: -100%;
        width: 88%;
        max-width: 360px;
        z-index: 90;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 64px var(--s-5) var(--s-5);
        transition: right var(--t-base) var(--ease);
        overflow-y: auto;
        box-shadow: -16px 0 48px -16px rgba(14, 23, 38, .25);
    }
    .nav--mobile.is-open { right: 0; }

    /* Standalone backdrop (sibling of drawer) */
    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(14, 23, 38, .45);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--t-base) var(--ease);
        z-index: 80;
    }
    .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

    .nav-mobile__close {
        position: absolute;
        top: 12px; right: 12px;
        width: 40px; height: 40px;
        border-radius: 12px;
        color: var(--c-ink-soft);
        display: grid; place-items: center;
    }
    .nav-mobile__close:hover { background: var(--c-bg-soft); color: var(--c-ink); }
    .nav.is-open { transform: translateX(0); }
    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-bottom: var(--s-5);
    }
    .nav__list > li { border-bottom: 1px solid var(--c-border-soft); }
    .nav__link { display: block; padding: var(--s-4) 0; font-size: var(--fs-md); width: 100%; text-align: left; }
    .nav__toggle { justify-content: space-between; }
    .nav__cta { flex-direction: column; align-items: stretch; }
    .nav__cta .btn { justify-content: center; }

    /* mobile dropdown: inline accordion, no hover */
    .has-dropdown:hover > .dropdown,
    .has-dropdown:focus-within > .dropdown {
        /* disable hover-open on mobile, only is-open works */
        opacity: 0; visibility: hidden; transform: translateY(4px);
    }
    .dropdown {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: 0; padding: 0 0 var(--s-3) var(--s-4);
        background: transparent;
        max-height: 0; overflow: hidden;
        transition: max-height var(--t-base) var(--ease);
    }
    .has-dropdown.is-open > .dropdown {
        max-height: 1000px;
        opacity: 1; visibility: visible; transform: none;
    }
    .dropdown__list li { border-bottom: 0 !important; }
    .dropdown__link { padding: var(--s-3) 0; }
    .dropdown__icon { width: 28px; height: 28px; border-radius: 7px; }
    .dropdown__arrow { display: none; }
}

/* ======================================================================
   Hero
   ====================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    /* Top padding clears the floating header (88px header + breathing room). */
    padding-block: clamp(112px, 11vw, 168px) clamp(72px, 9vw, 144px);
    background:
        linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.76)),
        url('/uploads/2026/04/gradient.avif') top center / cover no-repeat,
        var(--c-bg);
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--s-9);
    align-items: center;
}

/* Social proof badge with stacked avatars */
.hero__social {
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    padding: 6px 18px 6px 8px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-pill);
    backdrop-filter: blur(6px);
    box-shadow: var(--sh-sm);
}
.hero__social-text {
    font-family: var(--ff-sans);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--c-ink-mute);
}
.avatars { display: inline-flex; padding: 0; margin: 0; list-style: none; }
.avatars li { margin-left: -10px; }
.avatars li:first-child { margin-left: 0; }
.avatar {
    display: block;
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: var(--c-bg-soft);
    background-size: cover;
    background-position: center;
    box-shadow: var(--sh-sm);
}
.avatar--a { background-image: url('/assets/images/memoji13.webp'); }
.avatar--b { background-image: url('/assets/images/memoji53.webp'); }
.avatar--c { background-image: url('/assets/images/memoji146.webp'); }
.avatar--d { background-image: url('/assets/images/memoji168.webp'); }

.hero__h1 {
    display: block;
    margin-top: var(--s-5);
    font-family: var(--ff-eyebrow);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--c-ink-mute);
    background: transparent;
    padding: 0;
    border-radius: 0;
}
.hero__h1::before { content: none; }
.hero__h2 {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-top: var(--s-5);
    max-width: 20ch;
    color: var(--c-ink);
}
.hero__sub {
    margin-top: var(--s-5);
    font-size: var(--fs-lg);
    color: var(--c-ink-soft);
    max-width: 52ch;
    line-height: 1.55;
}
.hero__cta { margin-top: var(--s-7); display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero__media {
    aspect-ratio: 4 / 5;
    background:
        linear-gradient(160deg, var(--c-primary-50), #fff 60%),
        var(--c-bg-soft);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
    border: 1px solid var(--c-border-soft);
    display: grid;
    place-items: center;
    color: var(--c-ink-mute);
    font-size: var(--fs-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.hero__media::before {
    content: "Screenshot app";
}
.hero__media--image {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.hero__media--image::before { content: none; }
@media (max-width: 960px) {
    .hero__grid { grid-template-columns: 1fr; gap: var(--s-7); }
    .hero__media { aspect-ratio: 16 / 11; max-width: 520px; margin-inline: auto; }
}

/* ----- Hero variant: centered (no image, all centered) ----- */
.hero--centered .hero__grid { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; text-align: center; }
.hero--centered .hero__media { display: none; }
.hero--centered .hero__h2 { max-width: 22ch; margin-left: auto; margin-right: auto; font-size: clamp(2.25rem, 4.4vw, 3.5rem); }
.hero--centered .hero__sub { margin-left: auto; margin-right: auto; }
.hero--centered .hero__cta { justify-content: center; }
.hero--centered .hero__social { margin-inline: auto; }

/* ----- Hero variant: inner (feature/solution) — let the iPhone+cards
   composition extend below the hero box without being clipped. ----- */
.hero--inner {
    padding-bottom: 0;
    overflow: visible;
}

/* ----- Hero variant: bento (right side becomes a 2x2 mini grid) ----- */
.hero--bento .hero__grid { grid-template-columns: 1fr 1.05fr; }
.hero--bento .hero__media { display: none; }
.hero--bento .hero__bento {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--s-3);
    aspect-ratio: 5 / 4;
}
.hero__bento-cell {
    background: var(--c-surface);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    padding: var(--s-4);
    display: flex; flex-direction: column; justify-content: space-between;
    overflow: hidden;
}
.hero__bento-cell--span2 { grid-row: span 2; }
.hero__bento-cell--gradient {
    background: linear-gradient(135deg, var(--c-primary), #00d3a7);
    color: #fff;
    border: 0;
}
.hero__bento-cell-eyebrow {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    opacity: .8;
}
.hero__bento-cell-stat {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1;
    letter-spacing: -0.02em;
}
.hero__bento-cell-label { font-size: var(--fs-sm); opacity: .9; }
.hero__bento-cell-icon { color: var(--c-primary); }
.hero--bento .hero__bento { display: grid; }
.hero:not(.hero--bento) .hero__bento { display: none; }
@media (max-width: 960px) { .hero--bento .hero__bento { aspect-ratio: auto; } }

/* ----- Tweak panel ----- */
.tweak-panel {
    position: fixed;
    bottom: var(--s-5);
    right: var(--s-5);
    z-index: 200;
    background: var(--c-bg-dark);
    color: #fff;
    padding: var(--s-4);
    border-radius: var(--r-md);
    box-shadow: var(--sh-lg);
    display: none;
    flex-direction: column;
    gap: var(--s-3);
    min-width: 240px;
    font-size: var(--fs-sm);
}
.tweak-panel.is-open { display: flex; }
.tweak-panel__title {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,.7);
    display: flex; align-items: center; justify-content: space-between;
}
.tweak-panel__close {
    color: rgba(255,255,255,.6);
    font-size: var(--fs-md);
    width: 24px; height: 24px;
    display: grid; place-items: center;
    border-radius: 6px;
}
.tweak-panel__close:hover { background: rgba(255,255,255,.1); color: #fff; }
.tweak-panel__buttons { display: grid; gap: 4px; }
.tweak-panel__btn {
    text-align: left;
    padding: 8px 12px;
    border-radius: var(--r-xs);
    color: rgba(255,255,255,.85);
    font-size: var(--fs-sm);
    transition: background var(--t-fast);
}
.tweak-panel__btn:hover { background: rgba(255,255,255,.08); }
.tweak-panel__btn[aria-pressed="true"] {
    background: var(--c-primary);
    color: #fff;
    font-weight: 600;
}
.tweak-panel__hint { color: rgba(255,255,255,.5); font-size: var(--fs-xs); }

/* ======================================================================
   Stats band
   ====================================================================== */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--s-5);
    padding: var(--s-7);
    background: var(--c-bg-dark);
    color: var(--c-ink-invert);
    border-radius: var(--r-lg);
    margin-top: calc(-1 * var(--s-8));
    position: relative;
    z-index: 1;
}
.stat__value { font-size: var(--fs-3xl); font-weight: 700; letter-spacing: -0.02em; }
.stat__label { font-size: var(--fs-sm); color: rgba(255,255,255,.7); margin-top: 4px; }

/* ======================================================================
   Cards
   ====================================================================== */
.card {
    background: var(--c-surface);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    padding: var(--s-6);
    transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
/* No solid border-color change on hover — the spotlight ::before owns the hover effect now */
.card__icon {
    width: 44px; height: 44px;
    border-radius: var(--r-sm);
    background: var(--c-primary-50);
    color: var(--c-primary);
    display: grid; place-items: center;
    font-weight: 700;
    margin-bottom: var(--s-4);
}
.card__title { font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.card__desc { font-size: var(--fs-sm); color: var(--c-ink-soft); }
.card__media {
    margin-top: var(--s-5);
    aspect-ratio: 16/10;
    background: var(--c-bg-soft);
    border-radius: var(--r-md);
    border: 1px dashed var(--c-border);
    display: grid; place-items: center;
    color: var(--c-ink-mute);
    font-size: var(--fs-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.card__media::before { content: "Screenshot"; }

/* ======================================================================
   Features rail — horizontal scroll-snap, all features visible by drag/scroll
   ====================================================================== */
.features-rail-wrap {
    position: relative;
    margin-top: var(--s-7);
}
.features-rail {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--c-border) transparent;
    cursor: grab;
    touch-action: pan-x pan-y;
    -webkit-user-select: none;
            user-select: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
}
.features-rail.is-dragging { cursor: grabbing; }
/* Cards themselves are not links — only the CTA inside is interactive. */
.features-rail__card .card__cta {
    margin-top: auto;
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--c-primary);
    font-weight: 600;
    font-size: var(--fs-sm);
    padding-top: var(--s-4);
    /* Re-enable text selection only on the CTA so the link is clickable + accessible */
    -webkit-user-select: text;
            user-select: text;
    pointer-events: auto;
    align-self: flex-start;
    transition: gap var(--t-fast);
}
.features-rail__card .card__cta:hover { gap: 12px; }
.features-rail__card .card__media--image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.features-rail__card .card__media--image::before { content: none; }
.features-rail__card { display: flex; flex-direction: column; }
/* Disable card click everywhere except the CTA, even when not dragging */
.features-rail__card { pointer-events: none; }
.features-rail__card * { pointer-events: auto; }
.features-rail.is-dragging .features-rail__card,
.features-rail.is-dragging .features-rail__card * { pointer-events: none; }
.features-rail::-webkit-scrollbar { height: 6px; }
.features-rail::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 3px; }
.features-rail__track {
    display: flex;
    gap: var(--s-5);
    padding-inline: 64px;
    padding-block: 12px 24px;
    width: max-content;
}
.features-rail__card { flex: 0 0 320px; }
.features-rail__nav {
    display: inline-flex;
    gap: var(--s-2);
}
.features-rail__btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    color: var(--c-ink-soft);
    display: grid; place-items: center;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.features-rail__btn:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.features-rail__btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.features-rail__btn[disabled]:hover { background: var(--c-surface); color: var(--c-ink-soft); border-color: var(--c-border); }
[data-rail-prev] svg { transform: scaleX(-1); }

@media (max-width: 720px) {
    .features-rail__card {
        flex: 0 0 78%;
        max-width: 320px;
    }
    .features-rail__card .card__media {
        aspect-ratio: 16 / 9;
        max-height: 130px;
    }
    .features-rail__card .card__title { font-size: var(--fs-md); }
    .features-rail__card .card__desc {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .features-rail__nav { display: none; }
}

/* ======================================================================
   Solutions split (used on solution detail pages)
   ====================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media {
    aspect-ratio: 16 / 11;
    background: var(--c-bg-soft);
    border-radius: var(--r-lg);
    border: 1px dashed var(--c-border);
    display: grid; place-items: center;
    color: var(--c-ink-mute);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.split__media::before { content: "Screenshot"; }
.split__media--image {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-style: solid;
}
.split__media--image::before { content: none; }
@media (max-width: 880px) {
    .split { grid-template-columns: 1fr; }
    .split--reverse > :first-child { order: 0; }
}

/* ======================================================================
   Solutions bento (home grid)
   ====================================================================== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-5);
}
@media (max-width: 960px) { .solutions-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .solutions-grid { grid-template-columns: 1fr; } }

.solution-card {
    display: flex;
    flex-direction: column;
    background: var(--c-surface);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    padding: var(--s-6);
    transition: border-color var(--t-base) var(--ease);
}
/* spotlight ::before owns the hover — no solid border swap */
.solution-card__media {
    aspect-ratio: 16 / 10;
    border-radius: var(--r-sm);
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border-soft);
    display: grid; place-items: center;
    color: var(--c-ink-mute);
    font-size: var(--fs-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--s-5);
}
.solution-card__media::before { content: "Screenshot"; }
.solution-card__title { font-size: var(--fs-xl); margin-bottom: var(--s-3); }
.solution-card__desc { font-size: var(--fs-sm); color: var(--c-ink-soft); flex: 1; }
.solution-card__cta {
    margin-top: var(--s-5);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--c-primary);
    font-weight: 600;
    font-size: var(--fs-sm);
}
.solution-card__cta-arrow {
    display: inline-block;
    transition: transform var(--t-base) var(--ease);
}
.solution-card:hover .solution-card__cta-arrow { transform: translateX(3px); }

/* ======================================================================
   ROI table
   ====================================================================== */
.roi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--s-5);
}
.roi__cell {
    padding: var(--s-6);
    background: var(--c-surface);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
}
.roi__lever { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-primary); font-weight: 600; }
.roi__title { font-size: var(--fs-lg); margin-block: var(--s-3) var(--s-3); }
.roi__desc  { font-size: var(--fs-sm); color: var(--c-ink-soft); }

/* ======================================================================
   Ecosystem grid
   ====================================================================== */
.ecosystem-cell {
    padding: var(--s-6);
    background: var(--c-surface);
    border-radius: var(--r-md);
    border: 1px solid var(--c-border-soft);
    transition: border-color var(--t-base) var(--ease);
}
/* spotlight ::before owns the hover */
.ecosystem-cell h3 { margin-bottom: var(--s-3); font-size: var(--fs-lg); }
.ecosystem-cell p  { font-size: var(--fs-sm); }

/* ======================================================================
   Steps (process timeline)
   ====================================================================== */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-5);
    position: relative;
}
.steps::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--c-border), var(--c-border), transparent);
    z-index: 0;
}
.step { position: relative; z-index: 1; }
.step__num {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    color: var(--c-primary);
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: var(--fs-md);
    display: grid; place-items: center;
    margin-bottom: var(--s-4);
}
.step.is-revealed .step__num,
.step.reveal.is-revealed .step__num {
    border-color: var(--c-primary);
}
.step__title { font-family: var(--ff-display); font-size: var(--fs-md); font-weight: 700; margin-bottom: var(--s-2); }
.step__desc  { font-size: var(--fs-sm); color: var(--c-ink-soft); }
.step__duration {
    display: inline-block;
    margin-top: var(--s-3);
    padding: 3px 10px;
    background: var(--c-primary-50);
    color: var(--c-primary);
    border-radius: var(--r-pill);
    font-size: var(--fs-xs);
    font-weight: 600;
}
@media (max-width: 880px) {
    .steps { grid-template-columns: 1fr; gap: var(--s-6); }
    .steps::before { display: none; }
}

/* Variant for feature pages — flexible column count, looks like steps but no duration */
.how-steps {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.how-steps .step__title {
    /* On feature pages each "step" is a one-liner promise — keep it readable */
    font-size: var(--fs-sm);
    line-height: 1.4;
    color: var(--c-ink);
    font-weight: 600;
}
.how-steps .step__num {
    background: var(--c-primary-50);
    border: 0;
    color: var(--c-primary);
    font-family: var(--ff-display);
    font-weight: 700;
}

/* ======================================================================
   Use cases (vertical tabs desktop / accordion mobile)
   ====================================================================== */
.use-cases {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) 1.2fr;
    gap: var(--s-6);
    align-items: stretch;
}
.use-cases__nav {
    display: flex; flex-direction: column;
    gap: 6px;
}
.use-cases__btn {
    text-align: left;
    padding: var(--s-4) var(--s-5);
    border-radius: var(--r-sm);
    color: var(--c-ink-soft);
    transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
    border-left: 3px solid transparent;
    cursor: pointer;
    width: 100%;
}
.use-cases__btn:hover { background: var(--c-surface); }
.use-cases__btn[aria-selected="true"] {
    background: var(--c-surface);
    color: var(--c-ink);
    border-left-color: var(--c-primary);
    box-shadow: var(--sh-sm);
}
.use-cases__btn-eyebrow {
    font-size: var(--fs-xs);
    color: var(--c-ink-mute);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.use-cases__btn[aria-selected="true"] .use-cases__btn-eyebrow { color: var(--c-primary); }
.use-cases__btn-title {
    font-family: var(--ff-display);
    font-size: var(--fs-md);
    font-weight: 700;
    margin-top: 4px;
}
.use-cases__panels { position: relative; }
.use-cases__panel {
    background: var(--c-surface);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    padding: var(--s-6);
    display: flex; flex-direction: column;
    gap: var(--s-4);
}
.use-cases__panel[hidden] { display: none; }
.use-cases__panel-media {
    aspect-ratio: 16/10;
    background: var(--c-bg-soft);
    border-radius: var(--r-sm);
    border: 1px dashed var(--c-border);
    display: grid; place-items: center;
    color: var(--c-ink-mute);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.use-cases__panel-media::before { content: "Visuel cas client"; }
.use-cases__panel h3 {
    font-family: var(--ff-display);
    font-size: var(--fs-xl);
}
.use-cases__panel ul {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2) var(--s-4);
}
.use-cases__panel li {
    padding-left: 22px;
    position: relative;
    font-size: var(--fs-sm);
    color: var(--c-ink-soft);
}
.use-cases__panel li::before {
    content: "";
    position: absolute;
    left: 0; top: 7px;
    width: 12px; height: 7px;
    border-left: 2px solid var(--c-primary);
    border-bottom: 2px solid var(--c-primary);
    transform: rotate(-45deg);
}
@media (max-width: 880px) {
    .use-cases { grid-template-columns: 1fr; }
    .use-cases__nav { flex-direction: row; overflow-x: auto; gap: var(--s-2); padding-bottom: var(--s-2); }
    .use-cases__btn { white-space: nowrap; flex: 0 0 auto; min-width: 200px; }
    .use-cases__panel ul { grid-template-columns: 1fr; }
}

/* ======================================================================
   NOVA interactive demo
   ====================================================================== */
.nova-demo {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) 1.05fr;
    gap: var(--s-6);
    align-items: stretch;
}
.nova-demo__prompts {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}
.nova-demo__prompt {
    text-align: left;
    width: 100%;
    padding: var(--s-4) var(--s-5);
    background: var(--c-surface);
    border: 0;
    border-radius: var(--r-md);
    cursor: pointer;
    transition: background var(--t-base) var(--ease);
    display: flex; flex-direction: column;
    gap: var(--s-2);
}
.nova-demo__prompt:hover { background: var(--c-bg-soft); }
.nova-demo__prompt[aria-selected="true"] { background: var(--c-primary-50); }
.nova-demo__prompt-row {
    display: flex; align-items: flex-start; gap: var(--s-3);
}
.nova-demo__mic {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--c-primary-50);
    color: var(--c-primary);
    display: grid; place-items: center;
    position: relative;
}
.nova-demo__mic svg { width: 18px; height: 18px; }
.nova-demo__prompt[aria-selected="true"] .nova-demo__mic { background: var(--c-primary); color: #fff; }
.nova-demo__mic-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--c-primary);
    opacity: 0;
    pointer-events: none;
}
.nova-demo__prompt[aria-selected="true"] .nova-demo__mic-pulse {
    animation: nova-pulse 1.6s var(--ease-emphasis) infinite;
}
@keyframes nova-pulse {
    0%   { transform: scale(0.95); opacity: 0.7; }
    70%  { transform: scale(1.25); opacity: 0; }
    100% { transform: scale(1.25); opacity: 0; }
}
.nova-demo__prompt-kicker {
    display: block;
    font-family: var(--ff-eyebrow);
    font-size: var(--fs-xs);
    color: var(--c-ink-mute);
    font-weight: 600;
}
.nova-demo__prompt[aria-selected="true"] .nova-demo__prompt-kicker { color: var(--c-primary); }
.nova-demo__prompt-quote {
    display: block;
    margin-top: 4px;
    font-size: var(--fs-sm);
    color: var(--c-ink);
    line-height: 1.45;
}
.nova-demo__prompt-quote::before { content: '« '; color: var(--c-ink-mute); }
.nova-demo__prompt-quote::after  { content: ' »'; color: var(--c-ink-mute); }
.nova-demo__progress {
    display: block;
    height: 2px;
    background: rgba(0, 124, 186, 0.12);
    border-radius: 2px;
    overflow: hidden;
}
.nova-demo__progress-bar {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--c-primary);
    transform-origin: left center;
}

/* App frame (mobile-style, not a browser) */
/* ======================================================================
   iPhone mockup — wraps the NOVA chat window with a phone frame +
   slight 3D perspective. Notch, side buttons, status bar and home
   indicator are pure CSS (no images). The chat itself stays untouched.
   ====================================================================== */
.iphone-mock {
    perspective: 1800px;
    perspective-origin: 60% 50%;
    display: flex;
    justify-content: center;
    padding: clamp(20px, 3vw, 40px) 0;
    pointer-events: auto;
}
.iphone-mock__frame {
    position: relative;
    width: clamp(300px, 30vw, 360px);
    background: linear-gradient(160deg, #1f232b, #0a0d12);
    border-radius: 50px;
    padding: 14px;
    box-shadow:
        0 40px 80px -30px rgba(15, 30, 55, .55),
        0 12px 28px -16px rgba(15, 30, 55, .35),
        inset 0 0 0 1px rgba(255,255,255,.08),
        inset 0 0 0 3px rgba(255,255,255,.04);
    transform: rotateY(-7deg) rotateX(3deg);
    transform-style: preserve-3d;
    transition: transform .8s var(--ease);
    isolation: isolate;
}
.iphone-mock__frame:hover { transform: rotateY(-3deg) rotateX(1deg); }

/* Side buttons — small slivers on the sides of the frame */
.iphone-mock__btn {
    position: absolute;
    background: linear-gradient(90deg, #1a1d23, #2a2e36);
    border-radius: 2px;
}
.iphone-mock__btn--mute     { top: 92px;  left: -2px;  width: 4px;  height: 28px; border-radius: 2px 0 0 2px; }
.iphone-mock__btn--vol-up   { top: 132px; left: -3px;  width: 5px;  height: 50px; border-radius: 2px 0 0 2px; }
.iphone-mock__btn--vol-down { top: 196px; left: -3px;  width: 5px;  height: 50px; border-radius: 2px 0 0 2px; }
.iphone-mock__btn--power    { top: 150px; right: -3px; width: 5px;  height: 70px; border-radius: 0 2px 2px 0; }

.iphone-mock__notch {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 30px;
    background: #050507;
    border-radius: 18px;
    z-index: 3;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.iphone-mock__screen {
    position: relative;
    background: #fff;
    border-radius: 38px;
    overflow: hidden;
    aspect-ratio: 9 / 19.5;
    display: flex;
    flex-direction: column;
}

/* iPhone status bar — fake time + sys icons */
.iphone-mock__statusbar {
    flex-shrink: 0;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px 0;
    color: var(--c-ink);
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.iphone-mock__time { letter-spacing: -0.01em; }
.iphone-mock__sysicons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--c-ink);
}
.iphone-mock__sysicons svg { display: block; }
.iphone-mock__sysicons svg:nth-child(1) { width: 17px; height: 11px; }
.iphone-mock__sysicons svg:nth-child(2) { width: 16px; height: 12px; }
.iphone-mock__sysicons svg:nth-child(3) { width: 26px; height: 12px; }

/* Home indicator at the bottom */
.iphone-mock__home {
    flex-shrink: 0;
    width: 134px;
    height: 5px;
    background: var(--c-ink);
    border-radius: 999px;
    margin: 8px auto 10px;
    opacity: .85;
}

/* Mobile — drop perspective + scale down */
@media (max-width: 720px) {
    .iphone-mock { padding: 0; perspective: none; }
    .iphone-mock__frame { transform: none; width: min(320px, 100%); }
    .iphone-mock__frame:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .iphone-mock__frame { transition: none; }
}

/* ----- Compact "hero" variant — fits the right column of an inner hero -----
   iPhone on the left, three "request" cards floating to its right and slightly
   overlapping its body (like notifications popping out of the device).         */
.hero-nova-demo {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    align-items: center;
    width: 100%;
    gap: 0;
    position: relative;
}
.hero-nova-demo__phone {
    grid-column: 1;
    z-index: 1;
}
.hero-nova-demo__cards {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-left: -36px; /* overlap the right edge of the phone */
    padding-right: clamp(0px, 1vw, 12px);
    z-index: 2;
}
.hero-nova-demo__card {
    position: relative;
    background: #fff;
    border: 0;
    border-radius: 14px;
    padding: 12px 14px 16px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    box-shadow: 0 14px 28px -18px rgba(15, 30, 55, .25);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    transform: translateX(var(--card-shift, 0));
    cursor: pointer;
}
.hero-nova-demo__card:hover {
    transform: translateX(calc(var(--card-shift, 0) - 4px));
    box-shadow: 0 18px 36px -18px rgba(0, 124, 186, .25);
}
.hero-nova-demo__card[aria-selected="true"] {
    transform: translateX(-12px);
    box-shadow: 0 22px 44px -16px rgba(0, 124, 186, .35);
}
.hero-nova-demo__card-avatar {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 999px;
    object-fit: cover;
    background: var(--c-bg-soft);
    border: 2px solid #fff;
    box-shadow: 0 4px 10px -4px rgba(15,30,55,.2);
}
.hero-nova-demo__card-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
    flex: 1;
}
.hero-nova-demo__card-head {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.hero-nova-demo__card-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--c-ink);
    line-height: 1.2;
}
.hero-nova-demo__card-tag {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--c-primary);
    background: rgba(0,124,186,.08);
    padding: 2px 6px;
    border-radius: 999px;
    line-height: 1.2;
}
.hero-nova-demo__card-prompt {
    font-size: 11px;
    color: var(--c-ink-soft);
    line-height: 1.4;
    font-style: normal;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Duration indicator: a glowing line styled as a border-bottom + shadow.
   Width grows with the auto-cycle progress driven by the nova-demo JS.    */
.hero-nova-demo__card .nova-demo__progress {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: transparent;
    border-radius: 0 0 14px 14px;
    overflow: hidden;
}
.hero-nova-demo__card .nova-demo__progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--c-primary), #00d3a7);
    box-shadow:
        0 0 8px 1px rgba(0, 124, 186, .55),
        0 4px 14px -2px rgba(0, 211, 167, .35);
    border-radius: 0 2px 2px 0;
}

/* Slight lift after the reveal animation lands */
.hero-nova-demo.reveal.is-revealed { translate: 0 5%; }

/* Mobile — drop overlap, stack vertically */
@media (max-width: 880px) {
    .hero-nova-demo {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: var(--s-5);
    }
    .hero-nova-demo__phone { grid-column: 1; grid-row: 1; }
    .hero-nova-demo__cards {
        grid-column: 1; grid-row: 2;
        margin-left: 0;
        width: min(320px, 100%);
        flex-direction: column;
    }
    .hero-nova-demo__card,
    .hero-nova-demo__card[aria-selected="true"] { transform: none !important; }
}
.iphone-mock--hero { padding: 0; }
.iphone-mock--hero .iphone-mock__frame {
    width: clamp(220px, 22vw, 280px);
    padding: 10px;
    border-radius: 38px;
    transform: rotateY(-9deg) rotateX(4deg);
}
.iphone-mock--hero .iphone-mock__frame:hover { transform: rotateY(-4deg) rotateX(2deg); }
.iphone-mock--hero .iphone-mock__notch {
    top: 16px;
    width: 78px;
    height: 22px;
    border-radius: 14px;
}
.iphone-mock--hero .iphone-mock__btn--mute     { top: 70px;  width: 3px; height: 22px; }
.iphone-mock--hero .iphone-mock__btn--vol-up   { top: 100px; width: 4px; height: 36px; }
.iphone-mock--hero .iphone-mock__btn--vol-down { top: 144px; width: 4px; height: 36px; }
.iphone-mock--hero .iphone-mock__btn--power    { top: 110px; width: 4px; height: 50px; }
.iphone-mock--hero .iphone-mock__screen { border-radius: 28px; }
.iphone-mock--hero .iphone-mock__statusbar {
    height: 38px;
    padding: 10px 18px 0;
    font-size: 11px;
}
.iphone-mock--hero .iphone-mock__sysicons { gap: 4px; }
.iphone-mock--hero .iphone-mock__sysicons svg:nth-child(1) { width: 13px; height: 9px; }
.iphone-mock--hero .iphone-mock__sysicons svg:nth-child(2) { width: 12px; height: 9px; }
.iphone-mock--hero .iphone-mock__sysicons svg:nth-child(3) { width: 20px; height: 9px; }
.iphone-mock--hero .iphone-mock__home {
    width: 92px;
    height: 4px;
    margin: 6px auto 8px;
}

/* Chat shrunk for the iPhone-in-hero context */
.iphone-mock--hero .nova-window__head {
    padding: 8px 12px;
}
.iphone-mock--hero .nova-window__logo { height: 18px; }
.iphone-mock--hero .nova-window__brand { gap: 8px; }
.iphone-mock--hero .nova-window__status {
    font-size: 9px;
    margin-top: 1px;
}
.iphone-mock--hero .nova-window__menu {
    width: 26px; height: 26px;
    border-radius: 8px;
}
.iphone-mock--hero .nova-window__body {
    padding: 10px;
    gap: 8px;
    font-size: 11px;
}
.iphone-mock--hero .nova-bubble {
    font-size: 11px;
    padding: 7px 10px;
    border-radius: 12px;
    line-height: 1.35;
    max-width: 88%;
}
/* The header already shows "NOVA · listening" — drop the per-bubble "NOVA"
   label that would otherwise overlap the message text in the compact size. */
.iphone-mock--hero .nova-bubble--nova { padding-top: 7px; }
.iphone-mock--hero .nova-bubble--nova::before { content: none; }
.iphone-mock--hero .nova-typing {
    font-size: 11px;
    padding: 6px 10px;
}
.iphone-mock--hero .nova-card__title { font-size: 11px; }
.iphone-mock--hero .nova-card__subtitle { font-size: 10px; }
.iphone-mock--hero .nova-card__meta { font-size: 9px; gap: 6px; margin-top: 4px; }
.iphone-mock--hero .nova-card__media { aspect-ratio: 16 / 8; }
.iphone-mock--hero .nova-card__body { padding: 6px 10px 8px; }
.iphone-mock--hero .nova-chips {
    gap: 4px;
}
.iphone-mock--hero .nova-chips > * {
    font-size: 9.5px !important;
    padding: 4px 8px !important;
    border-radius: 999px !important;
}
.iphone-mock--hero .nova-window__composer {
    padding: 8px 12px;
    gap: 8px;
}
.iphone-mock--hero .nova-window__composer-hint {
    font-size: 9.5px;
}
.iphone-mock--hero .nova-window__voice-btn {
    width: 34px; height: 34px;
}
.iphone-mock--hero .nova-window__voice-btn svg { width: 14px; height: 14px; }
.iphone-mock--hero .nova-window__voice-btn::before,
.iphone-mock--hero .nova-window__voice-btn::after { display: none; } /* drop the wide pulse on tiny btn */

/* ======================================================================
   NOVA chat window — sits inside the iPhone screen now, no outer chrome
   needed. The previous standalone-card border + shadow were removed.
   ====================================================================== */
.nova-window {
    position: relative;
    flex: 1;
    background: var(--c-surface);
    overflow: hidden;
    display: flex; flex-direction: column;
    min-height: 0;
}
.nova-window__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px var(--s-4) 12px;
    border-bottom: 1px solid var(--c-border-soft);
    background: #fff;
}
.nova-window__logo {
    display: block;
    height: 24px;
    width: auto;
}
.nova-window__brand {
    display: flex; align-items: center; gap: var(--s-3);
}
.nova-window__brand-mark {
    width: 36px; height: 36px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--c-primary), #00d3a7);
    box-shadow: 0 6px 14px -4px rgba(0, 124, 186, .45);
    display: grid; place-items: center;
    color: #fff;
}
.nova-window__brand-mark svg { width: 18px; height: 18px; }
.nova-window__brand-text {
    display: flex; flex-direction: column; line-height: 1.1;
}
.nova-window__brand-name {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: var(--fs-md);
    color: var(--c-ink);
    letter-spacing: .04em;
}
.nova-window__status {
    margin-top: 2px;
    font-size: 11px;
    color: var(--c-success);
    display: inline-flex; align-items: center; gap: 4px;
    font-weight: 600;
}
.nova-window__status::before {
    content: ""; width: 6px; height: 6px;
    border-radius: 50%; background: currentColor;
    box-shadow: 0 0 0 0 currentColor;
    animation: nova-status 2s ease-in-out infinite;
}
@keyframes nova-status {
    0%, 100% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
    50%      { box-shadow: 0 0 0 6px transparent; opacity: .6; }
}
.nova-window__menu {
    color: var(--c-ink-mute);
    width: 36px; height: 36px;
    border-radius: 10px;
    display: grid; place-items: center;
}
.nova-window__menu:hover { background: var(--c-bg-soft); color: var(--c-ink); }
.nova-window__body {
    padding: var(--s-4);
    /* Fills the remaining iPhone screen height between header and composer. */
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex; flex-direction: column;
    gap: var(--s-3);
    scroll-behavior: smooth;
}
.nova-window__body::-webkit-scrollbar { width: 6px; }
.nova-window__body::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 3px; }
.nova-window__body::-webkit-scrollbar-thumb:hover { background: var(--c-ink-mute); }

/* Rich card replies (e.g. meeting room suggestion) */
.nova-card {
    align-self: flex-start;
    max-width: 80%;
    background: var(--c-surface);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    overflow: hidden;
    opacity: 0;
    transform: translateY(8px);
    animation: nova-in 380ms var(--ease-emphasis) forwards;
}
.nova-card__media {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--c-primary-50), var(--c-bg-soft));
    display: grid; place-items: center;
    color: var(--c-ink-mute);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: .08em;
    border-bottom: 1px solid var(--c-border-soft);
}
.nova-card__media[data-image]::before { content: ''; }
.nova-card__media:not([data-image])::before { content: 'Visuel'; }
.nova-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nova-card__body { padding: var(--s-3) var(--s-4); }
.nova-card__title {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: var(--fs-sm);
    margin-bottom: 2px;
}
.nova-card__subtitle { color: var(--c-ink-soft); font-size: var(--fs-xs); }
.nova-card__meta { display: flex; gap: var(--s-3); margin-top: 6px; font-size: 11px; color: var(--c-ink-mute); }
.nova-card__meta-item { display: inline-flex; align-items: center; gap: 4px; }

/* Voice composer (bottom of app) */
.nova-window__composer {
    border-top: 1px solid var(--c-border-soft);
    padding: var(--s-4) var(--s-5);
    background: var(--c-surface);
    display: flex; align-items: center; gap: var(--s-4);
}
.nova-window__composer-hint {
    flex: 1;
    color: var(--c-ink-mute);
    font-size: var(--fs-sm);
    font-style: italic;
}
.nova-window__voice-btn {
    flex-shrink: 0;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--c-primary);
    color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 10px 22px -8px rgba(0, 124, 186, .65);
    position: relative;
    transition: transform var(--t-fast) var(--ease);
}
.nova-window__voice-btn:hover { transform: scale(1.04); }
.nova-window__voice-btn:active { transform: scale(0.96); }
.nova-window__voice-btn svg { width: 22px; height: 22px; }
.nova-window__voice-btn::before,
.nova-window__voice-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--c-primary);
    pointer-events: none;
}
.nova-window__voice-btn::before { animation: nova-voice-pulse 2s var(--ease-emphasis) infinite; }
.nova-window__voice-btn::after  { animation: nova-voice-pulse 2s var(--ease-emphasis) 1s infinite; }
@keyframes nova-voice-pulse {
    0%   { transform: scale(0.95); opacity: .55; }
    80%  { transform: scale(1.4);  opacity: 0; }
    100% { transform: scale(1.4);  opacity: 0; }
}

/* Integrations strip below the window */
.nova-integrations {
    margin-top: var(--s-4);
    padding: var(--s-4) var(--s-5);
    background: var(--c-surface);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    display: flex; align-items: center; gap: var(--s-4);
    flex-wrap: wrap;
}
.nova-integrations__label {
    display: inline-flex; align-items: center; gap: var(--s-2);
    color: var(--c-ink-soft);
    font-size: var(--fs-xs);
    font-weight: 600;
}
.nova-integrations__list {
    display: inline-flex; gap: var(--s-3); flex-wrap: wrap;
    list-style: none; padding: 0; margin: 0;
}
.nova-integrations__item {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 10px;
    background: var(--c-bg-soft);
    border-radius: var(--r-pill);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--c-ink-soft);
}
.nova-integrations__item svg { color: var(--c-primary); }

/* Typing indicator */
.nova-typing {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    padding: 8px 14px;
    background: var(--c-bg-soft);
    border-radius: var(--r-pill);
    color: var(--c-ink-mute);
    font-size: var(--fs-xs);
    align-self: flex-end;
    max-width: 80%;
    transition: opacity var(--t-base);
}
.nova-typing[hidden] { display: none !important; }
.nova-typing__mic {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--c-danger);
    box-shadow: 0 0 0 0 rgba(220,38,38, .6);
    animation: nova-rec 1.4s ease-in-out infinite;
}
@keyframes nova-rec {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38, .6); }
    50%      { box-shadow: 0 0 0 6px rgba(220,38,38, 0); }
}
.nova-typing__caret { animation: nova-blink 1s step-end infinite; color: var(--c-primary); font-weight: 700; }
@keyframes nova-blink { 50% { opacity: 0; } }

/* Bubbles */
.nova-bubble {
    padding: 10px 14px;
    border-radius: var(--r-md);
    font-size: var(--fs-sm);
    max-width: 80%;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(8px);
    animation: nova-in 380ms var(--ease-emphasis) forwards;
}
.nova-bubble[hidden] { display: none !important; }
.nova-bubble--user {
    background: var(--c-primary);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.nova-bubble--nova {
    background: var(--c-bg-soft);
    color: var(--c-ink);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    position: relative;
    padding-top: 22px;
}
.nova-bubble--nova::before {
    content: "NOVA";
    position: absolute;
    top: 6px; left: 14px;
    font-size: 10px;
    color: var(--c-primary);
    font-weight: 700;
    letter-spacing: .08em;
}
@keyframes nova-in {
    to { opacity: 1; transform: none; }
}

.nova-chips {
    display: flex; gap: 6px; flex-wrap: wrap;
    margin-top: var(--s-2);
}
.nova-chip {
    padding: 5px 12px;
    background: var(--c-primary-50);
    color: var(--c-primary);
    border-radius: var(--r-pill);
    font-size: var(--fs-xs);
    font-weight: 600;
    opacity: 0;
    transform: translateY(6px);
    animation: nova-in 320ms var(--ease-emphasis) forwards;
}

@media (max-width: 880px) {
    .nova-demo { grid-template-columns: 1fr; }
    .nova-window__body { min-height: 280px; }
}

/* ======================================================================
   Reassurance (logos + trust points)
   ====================================================================== */
.trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-7);
    padding: var(--s-7);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    background: var(--c-surface);
}
.trust__col-label {
    font-size: var(--fs-xs);
    color: var(--c-ink-mute);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: var(--s-4);
}
.trust__logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-3);
}
.trust__logo {
    height: 40px;
    background: var(--c-bg-soft);
    border-radius: var(--r-xs);
    display: grid; place-items: center;
    color: var(--c-ink-mute);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .04em;
}
.trust__points { display: grid; gap: var(--s-3); }
.trust__point {
    display: flex; align-items: flex-start; gap: var(--s-3);
    font-size: var(--fs-sm);
}
.trust__point-mark {
    width: 36px; height: 36px;
    border-radius: var(--r-sm);
    background: var(--c-primary-50);
    color: var(--c-primary);
    display: grid; place-items: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: var(--fs-md);
}
.trust__point strong {
    display: block;
    color: var(--c-ink);
    margin-bottom: 2px;
}
.trust__point span { color: var(--c-ink-soft); }
@media (max-width: 880px) {
    .trust { grid-template-columns: 1fr; gap: var(--s-5); padding: var(--s-5); }
}

/* ======================================================================
   Bento articles ("Pour aller plus loin")
   ====================================================================== */
.bento-articles {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--s-4);
    min-height: 480px;
}
.bento-article {
    display: flex; flex-direction: column;
    background: var(--c-surface);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
/* spotlight ::before owns the hover */
.bento-article--featured { grid-row: span 2; }
.bento-article__media {
    flex: 1;
    min-height: 160px;
    background: linear-gradient(135deg, var(--c-primary-50), var(--c-bg-soft));
    background-size: cover;
    background-position: center;
    display: grid; place-items: center;
    color: var(--c-ink-mute);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.bento-article--featured .bento-article__media { min-height: 280px; }
.bento-article__media-placeholder { opacity: .8; }
.bento-article__body { padding: var(--s-5); }
.bento-article__cat {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--c-primary);
    background: var(--c-primary-50);
    padding: 4px 10px;
    border-radius: var(--r-pill);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: var(--s-3);
}
.bento-article__title {
    font-family: var(--ff-display);
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--c-ink);
    margin-bottom: var(--s-2);
    line-height: 1.3;
}
.bento-article--featured .bento-article__title { font-size: var(--fs-xl); }
.bento-article__desc {
    color: var(--c-ink-soft);
    font-size: var(--fs-sm);
    margin-bottom: var(--s-3);
}
.bento-article__cta {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--c-primary);
    font-weight: 600;
    font-size: var(--fs-sm);
    margin-top: var(--s-3);
    transition: gap var(--t-fast);
}
.bento-article:hover .bento-article__cta { gap: 12px; }

@media (max-width: 880px) {
    .bento-articles {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        min-height: 0;
    }
    .bento-article--featured { grid-row: auto; }
}

/* ======================================================================
   Feature page sections — scenarios / benefit / mini-features
   ====================================================================== */
.scenario-card {
    padding: var(--s-6);
    background: var(--c-surface);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    transition: border-color var(--t-base) var(--ease);
}
/* spotlight ::before owns the hover */
.scenario-card__num {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--c-primary-50);
    color: var(--c-primary);
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: var(--fs-sm);
    display: grid; place-items: center;
    margin-bottom: var(--s-4);
}
.scenario-card__title { font-family: var(--ff-display); font-size: var(--fs-lg); margin-bottom: var(--s-3); }
.scenario-card__desc  { color: var(--c-ink-soft); font-size: var(--fs-sm); }

.benefit {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--s-7);
    align-items: center;
}
.benefit__copy h2 { font-size: clamp(1.875rem, 3vw, 2.5rem); }
.benefit__bullets {
    list-style: none;
    padding: 0;
    margin: var(--s-4) 0 0;
    display: grid;
    gap: var(--s-3);
}
.benefit__bullets li {
    padding-left: 28px;
    position: relative;
    color: var(--c-ink);
}
.benefit__bullets li::before {
    content: "";
    position: absolute;
    left: 0; top: 4px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--c-primary-50);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23007cba' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}
/* ======================================================================
   Dual-image stack — 1:1 primary + 9:16 overlay (true ratios, shared layout).
   Container is sized so the primary fits exactly; overlay bleeds 40px below
   and 40px right into the primary's corner.
   ====================================================================== */
.hero__stack,
.benefit__stack {
    position: relative;
    width: 100%;
    max-width: 540px;
    /* Container width:height = 1 : 0.7 → primary (70% w, 1:1) fits exactly */
    aspect-ratio: 10 / 7;
    margin-inline: auto;
    margin-block-end: 50px; /* room for the overlay tail below */
}
.hero__stack__primary,
.hero__stack__overlay,
.benefit__stack__primary,
.benefit__stack__overlay {
    position: absolute;
    border-radius: var(--r-lg);
    border: 1px solid var(--c-border-soft);
    background-color: var(--c-bg-soft);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Primary 1:1 — top-right, fills the container's height */
.hero__stack__primary,
.benefit__stack__primary {
    top: 0;
    right: 0;
    width: 70%;
    height: auto;
    aspect-ratio: 1 / 1;
    box-shadow: var(--sh-md);
}
/* Overlay 9:16 — bottom-left, overlaps the primary's bottom-left corner by 40px */
.hero__stack__overlay,
.benefit__stack__overlay {
    bottom: -40px;
    left: 40px;
    width: 32%;
    height: auto;
    aspect-ratio: 9 / 16;
    box-shadow: var(--sh-lg);
    z-index: 2;
}

@media (max-width: 880px) {
    .benefit { grid-template-columns: 1fr; }
    .hero__stack, .benefit__stack { max-width: 420px; margin-block-end: 30px; }
    .hero__stack__overlay, .benefit__stack__overlay { bottom: -24px; left: 24px; }
}

/* ======================================================================
   Feature deep-dive — text + image bento (1 lead image + 2 below)
   ====================================================================== */
.deep-dive-bento {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--s-7);
    align-items: stretch;
}
.deep-dive-bento__text {
    font-size: var(--fs-lg);
    line-height: 1.7;
}
.deep-dive-bento__images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.4fr 1fr;
    gap: var(--s-3);
    min-height: 360px;
}
.deep-dive-bento__cell {
    position: relative;
    border-radius: var(--r-lg);
    border: 1px solid var(--c-border-soft);
    background-color: var(--c-bg-soft);
    background-size: cover;
    background-position: center;
    box-shadow: var(--sh-sm);
    overflow: hidden;
    display: grid;
    place-items: center;
}
.deep-dive-bento__cell--lead {
    grid-column: 1 / -1;
}
.deep-dive-bento__cell.is-placeholder {
    background-image: linear-gradient(160deg, var(--c-primary-50), #fff 70%);
}

@media (max-width: 880px) {
    .deep-dive-bento { grid-template-columns: 1fr; }
    .deep-dive-bento__images { min-height: 280px; }
}

/* ======================================================================
   Image placeholder — shown when no image is set on a stack/bento cell.
   Renders at the cell's true dimensions with a dashed border + striped
   background, so admin sees the exact intended ratio (1:1, 9:16, etc).
   ====================================================================== */
.is-placeholder {
    display: grid;
    place-items: center;
    background-color: var(--c-bg-soft);
    background-image:
        repeating-linear-gradient(
            45deg,
            rgba(0, 124, 186, .06) 0,
            rgba(0, 124, 186, .06) 10px,
            transparent 10px,
            transparent 20px
        );
    border: 2px dashed rgba(0, 124, 186, .35);
}
.img-placeholder {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-2);
    color: var(--c-primary);
    font-family: var(--ff-eyebrow);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .85;
    text-align: center;
    padding: var(--s-3);
}
.img-placeholder .icon { opacity: .55; }

.mini-feature {
    padding: var(--s-5) var(--s-6);
    background: var(--c-surface);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
}
.mini-feature__check {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--c-primary);
    color: #fff;
    display: grid; place-items: center;
    margin-bottom: var(--s-4);
}
.mini-feature__title {
    font-family: var(--ff-display);
    font-size: var(--fs-md);
    font-weight: 700;
    margin-bottom: var(--s-2);
}
.mini-feature__desc { color: var(--c-ink-soft); font-size: var(--fs-sm); }

/* ======================================================================
   Teasers list (feature pages)
   ====================================================================== */
.teasers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--s-5);
    list-style: none;
}
.teasers li {
    display: flex; gap: var(--s-3);
    padding: var(--s-5);
    background: var(--c-bg-soft);
    border-radius: var(--r-md);
    font-size: var(--fs-sm);
    color: var(--c-ink);
}
.teasers li::before {
    content: "";
    flex: 0 0 8px; width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--c-primary);
    margin-top: 8px;
}

/* ======================================================================
   FAQ (native details)
   ====================================================================== */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    padding: var(--s-4) var(--s-5);
    background: var(--c-surface);
    transition: border-color var(--t-base) var(--ease);
}
.faq details + details { margin-top: var(--s-3); }
.faq details[open] { border-color: var(--c-border); box-shadow: var(--sh-sm); }
.faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
    font-weight: 600;
    font-size: var(--fs-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    font-size: var(--fs-xl);
    line-height: 1;
    color: var(--c-ink-mute);
    transition: transform var(--t-base) var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq__body { margin-top: var(--s-3); color: var(--c-ink-soft); font-size: var(--fs-sm); }

/* ======================================================================
   CTA band
   ====================================================================== */
.cta-band {
    background:
        radial-gradient(800px 400px at 80% 0%, rgba(0, 211, 167, 0.18), transparent 60%),
        linear-gradient(135deg, var(--c-primary), var(--c-primary-700));
    color: var(--c-ink-invert);
    border-radius: var(--r-lg);
    padding: var(--s-8);
    text-align: center;
}
.cta-band h2 { color: var(--c-ink-invert); }
.cta-band p { color: rgba(255,255,255,.85); margin-top: var(--s-3); }
.cta-band .btn { margin-top: var(--s-5); }

/* ======================================================================
   Prose (article / page WYSIWYG content)
   ====================================================================== */
.prose { color: var(--c-ink); line-height: 1.7; }
.prose h2 { font-family: var(--ff-display); font-size: var(--fs-xl); margin-block: var(--s-5) var(--s-3); font-weight: 700; }
.prose h3 { font-family: var(--ff-display); font-size: var(--fs-lg); margin-block: var(--s-4) var(--s-2); font-weight: 700; }
.prose p  { margin-bottom: var(--s-4); color: var(--c-ink); }
.prose a  { color: var(--c-primary); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.5em; margin-bottom: var(--s-4); }
.prose li { margin-bottom: 4px; }
.prose img { max-width: 100%; height: auto; border-radius: var(--r-md); margin-block: var(--s-4); }
.prose blockquote { border-left: 3px solid var(--c-primary); padding-left: var(--s-4); color: var(--c-ink-soft); margin: var(--s-4) 0; }

/* ======================================================================
   Footer
   ====================================================================== */
.footer {
    background: var(--c-bg-dark);
    color: rgba(255,255,255,.8);
    padding-block: var(--s-8) var(--s-6);
}
.footer a { color: rgba(255,255,255,.85); }
.footer a:hover { color: #fff; }
.footer__cols {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: var(--s-7);
}
.footer h4 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--s-4); }
.footer ul { list-style: none; display: grid; gap: var(--s-2); font-size: var(--fs-sm); }
.footer__legal {
    margin-top: var(--s-7);
    padding-top: var(--s-5);
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: var(--fs-xs);
    color: rgba(255,255,255,.55);
    display: flex; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap;
}
@media (max-width: 720px) {
    .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .footer__cols { grid-template-columns: 1fr; }
}

/* ======================================================================
   Stakeholders — split layout: a sticky visual on the left whose icon
   swaps to match the open accordion item on the right. Each accordion
   item carries a narrative description + a list of concrete examples.
   First item opens by default. Native <details> + small JS for the icon
   swap and single-open behaviour.
   ====================================================================== */
.partial-actors { background: var(--c-bg); }
.actors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 64px);
    align-items: start;
    margin-top: var(--s-7);
}

/* LEFT — sticky visual with stacked icons (only the active one is shown) */
.actors__visual {
    position: sticky;
    top: 96px; /* clear the floating header */
}
.actors__visual-canvas {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--c-bg-soft);
    border-radius: 24px;
    border: 1px solid var(--c-border-soft);
    overflow: hidden;
    display: grid;
    place-items: center;
}
.actors__visual-canvas::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 60% at 30% 30%, rgba(0,124,186,.08), transparent 70%),
        radial-gradient(60% 60% at 70% 70%, rgba(0,211,167,.06), transparent 70%);
    pointer-events: none;
}
.actors__visual-icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--c-ink);
    opacity: 0;
    transform: scale(.92);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.actors__visual-icon.is-active {
    opacity: 1;
    transform: scale(1);
}
.actors__visual-icon svg {
    width: clamp(80px, 18vw, 140px);
    height: auto;
}

/* RIGHT — title + lede + accordion */
.actors__content { min-width: 0; }
.actors-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    margin-top: var(--s-7);
}

.actor-item {
    background: var(--c-bg-soft);
    border-radius: 16px;
    border: 1px solid transparent;
    transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.actor-item[open] {
    background: #fff;
    border-color: var(--c-border-soft);
    box-shadow: 0 16px 32px -24px rgba(15, 30, 55, .15);
}
.actor-item__summary {
    list-style: none;
    cursor: pointer;
    padding: clamp(14px, 1.6vw, 20px) clamp(16px, 1.8vw, 24px);
    display: flex;
    align-items: center;
    gap: var(--s-3);
    user-select: none;
    transition: color var(--t-base) var(--ease);
}
.actor-item__summary::-webkit-details-marker { display: none; }
.actor-item__summary::marker { display: none; }
.actor-item__num {
    font-family: var(--ff-eyebrow, monospace);
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--c-ink-soft);
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
    min-width: 22px;
}
.actor-item[open] .actor-item__num { color: var(--c-primary); }
.actor-item__title {
    flex: 1;
    font-weight: 600;
    font-size: var(--fs-md);
    color: var(--c-ink);
    line-height: 1.3;
}
.actor-item__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 999px;
    background: rgba(15, 30, 55, .06);
    color: var(--c-ink);
    transition: transform var(--t-base) var(--ease), background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.actor-item[open] .actor-item__chevron {
    transform: rotate(180deg);
    background: var(--c-ink);
    color: #fff;
}

.actor-item__body {
    padding: 0 clamp(16px, 1.8vw, 24px) clamp(16px, 1.8vw, 24px) calc(clamp(16px, 1.8vw, 24px) + 22px + var(--s-3));
}
.actor-item__desc {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--c-ink-soft);
    line-height: 1.6;
}

.actor-item__examples {
    margin-top: var(--s-4);
    padding: var(--s-3) var(--s-4);
    border-radius: 12px;
    background: rgba(0,124,186,.05);
    border-left: 2px solid var(--c-primary);
}
.actor-item__examples-label {
    display: block;
    font-family: var(--ff-eyebrow, inherit);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--c-primary);
    margin-bottom: 6px;
}
.actor-item__examples ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.actor-item__examples li {
    position: relative;
    padding-left: 14px;
    font-size: var(--fs-sm);
    color: var(--c-ink);
    line-height: 1.5;
}
.actor-item__examples li::before {
    content: "→";
    position: absolute;
    left: 0; top: 0;
    color: var(--c-primary);
    font-weight: 700;
}

/* Mobile — stack visual above content, drop sticky */
@media (max-width: 880px) {
    .actors { grid-template-columns: 1fr; }
    .actors__visual { position: static; }
    .actors__visual-canvas { aspect-ratio: 16 / 10; }
}

@media (prefers-reduced-motion: reduce) {
    .actor-item, .actor-item__chevron, .actors__visual-icon { transition: none; }
}
