/* =====================================================================
   RevAIved — landing styles
   Hand-rolled CSS with design tokens, glass morphism, scroll-driven scenes.
   No Tailwind, no build step.
   ===================================================================== */

/* --------------------------- Fonts (self-hosted) ---------------------------
   Variable woff2 from Google Fonts (SIL OFL 1.1 — see /fonts/OFL-*.txt).
   latin + latin-ext so Slovenian names in the legal pages (č, š, ž) render in-face. */
@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal;
    font-weight: 400 700;
    font-stretch: 100%;
    font-display: swap;
    src: url('/fonts/bricolage-grotesque-latin-var.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal;
    font-weight: 400 700;
    font-stretch: 100%;
    font-display: swap;
    src: url('/fonts/bricolage-grotesque-latin-ext-var.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/outfit-latin-var.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/outfit-latin-ext-var.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------- Design tokens --------------------------- */
:root {
    --bg: #0A0E14;
    --bg-2: #0D1520;
    --bg-3: #0A1628;
    --surface: #111820;
    --surface-2: #141F2B;
    --surface-3: #1A2A3A;

    --accent: #00D4FF;
    --accent-2: #00A8E8;
    --accent-soft: rgba(0, 212, 255, 0.15);
    --accent-glow: rgba(0, 212, 255, 0.35);
    --accent-faint: rgba(0, 212, 255, 0.06);

    --text: #FFFFFF;
    --text-soft: rgba(255, 255, 255, 0.75);
    /* Raised from .5 / .35 so small secondary text meets WCAG AA (>= 4.5:1). */
    --text-mute: rgba(255, 255, 255, 0.6);
    --text-faint: rgba(255, 255, 255, 0.52);

    --glass-bg-1: rgba(255, 255, 255, 0.06);
    --glass-bg-2: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-strong: rgba(255, 255, 255, 0.15);

    --danger: #FF6B7A;
    --success: #34D399;

    --font-display: 'Bricolage Grotesque', 'Outfit', system-ui, sans-serif;
    --font-body: 'Outfit', system-ui, sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);

    --container-max: 1180px;
    --gutter: clamp(20px, 4vw, 40px);
    --nav-h: 76px;
}

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

html, body { margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    /* Anchored sections land below the fixed nav instead of under it. */
    scroll-padding-top: var(--nav-h);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    /* Use a solid colour on the scrollable body and let the fixed
       .bg-atmosphere layer paint the gradient. Native body gradient with
       `background-attachment: fixed` forces a full-viewport repaint on
       every scroll frame on macOS Chrome, which kills FPS. */
    background: var(--bg);
    min-height: 100vh;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
    text-wrap: balance;
}

p, li { text-wrap: pretty; }

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

button {
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

::selection { background: rgba(0, 212, 255, 0.3); color: var(--text); }

/* --------------------------- Focus + accessibility helpers --------------------------- */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}
.btn:focus-visible { outline-offset: 4px; border-radius: 16px; }
main:focus { outline: none; }

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 200;
    padding: 10px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: var(--bg);
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.35);
    transform: translateY(-160%);
    transition: transform 200ms var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------- Atmosphere (global background) --------------------------- */
.bg-atmosphere {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 40%, var(--bg-3) 100%);
}

/* Painted via radial-gradient with no `filter: blur` — the filter on a
   600px element forces an offscreen render every paint. radial-gradient
   is composited cheaply. Static rather than animated for the same reason. */
.atmosphere-orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.65;
    /* Hint the compositor so the orb stays on its own layer. */
    will-change: transform;
    transform: translateZ(0);
}

.atmosphere-orb-1 {
    width: 700px;
    height: 700px;
    top: -250px;
    right: -200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.18), transparent 65%);
}

.atmosphere-orb-2 {
    width: 800px;
    height: 800px;
    bottom: -300px;
    left: -250px;
    background: radial-gradient(circle, rgba(0, 168, 232, 0.14), transparent 65%);
}

.atmosphere-orb-3 {
    width: 600px;
    height: 600px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06), transparent 65%);
}

.atmosphere-noise {
    /* Removed — full-viewport SVG noise with mix-blend-mode forces a
       continuous repaint on every scroll. The glass + radial gradients
       already give plenty of texture. */
    display: none;
}

/* --------------------------- Layout primitives --------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section {
    padding: clamp(72px, 10vw, 136px) 0;
    position: relative;
}

.section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(48px, 7vw, 80px);
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--accent-faint);
    border: 1px solid var(--accent-soft);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Subtle sweeping shimmer inside the eyebrow chip */
.eyebrow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        transparent 30%,
        rgba(0, 212, 255, 0.25) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    animation: eyebrow-sweep 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes eyebrow-sweep {
    0% { transform: translateX(-100%); }
    40%, 100% { transform: translateX(140%); }
}

.h-display {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.h-section {
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.1;
    /* Gradient phrases are inline-blocks; let them drop to their own line as
       before rather than balancing mid-phrase. */
    text-wrap: wrap;
}

.lede {
    color: var(--text-soft);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.6;
    margin-top: 18px;
}
.section__head .lede { max-width: 56ch; margin-inline: auto; }

.text-gradient {
    background: linear-gradient(120deg, #FFFFFF 0%, var(--accent) 40%, var(--accent-2) 60%, #FFFFFF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 8s linear infinite;
    display: inline-block;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* --------------------------- Buttons --------------------------- */
.btn {
    -webkit-tap-highlight-color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), background 200ms, border-color 200ms;
    will-change: transform;
    line-height: 1.2;
    cursor: pointer;
    position: relative;
    isolation: isolate;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: var(--bg);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.28);
}

.btn-primary:hover {
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.45);
    transform: translateY(-2px);
}

/* Soft top highlight so the cyan reads as lit glass rather than a flat fill. */
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 55%);
    opacity: 0.6;
    pointer-events: none;
    z-index: -1;
    transition: opacity 200ms;
}
.btn-primary:hover::before { opacity: 1; }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 80ms; }

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid var(--glass-border);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(0, 212, 255, 0.35);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--accent-faint);
    transform: translateY(-2px);
}

.btn-arrow { transition: transform 200ms var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }
/* --------------------------- Glass card system --------------------------- */
.glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    position: relative;
    isolation: isolate;
    --spot-x: 50%;
    --spot-y: 50%;
    --spot-opacity: 0;
}

/* Make sure content sits above the spotlight pseudo-elements. */
.glass > * { position: relative; z-index: 1; }

/* Mouse-following spotlight glow inside each glass card (Vercel-style). */
.glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        320px circle at var(--spot-x) var(--spot-y),
        rgba(0, 212, 255, 0.14),
        transparent 60%
    );
    opacity: var(--spot-opacity);
    transition: opacity 300ms var(--ease-out);
    pointer-events: none;
    z-index: 0;
}

/* A 1px glowing border drawn from inside, that lights up around the cursor. */
.glass::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(
        260px circle at var(--spot-x) var(--spot-y),
        rgba(0, 212, 255, 0.6),
        transparent 65%
    );
    opacity: var(--spot-opacity);
    transition: opacity 300ms var(--ease-out);
    pointer-events: none;
    z-index: 0;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.glass--lift {
    transition: transform 400ms var(--ease-out), border-color 300ms, box-shadow 300ms;
}

.glass--lift:hover {
    transform: translateY(-4px);
    border-color: var(--glass-border-strong);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--accent-soft), 0 0 48px -12px rgba(0, 212, 255, 0.22);
}

/* Faint inner top highlight on every glass card — a touch more depth. */
.glass { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); }

.btn-lg { padding: 16px 28px; font-size: 15.5px; border-radius: 16px; }
.btn svg { flex-shrink: 0; }

/* Lets the FAQ accordion (and anything else) transition to/from `auto` heights. */
:root { interpolate-size: allow-keywords; }

/* --------------------------- Noise + section dividers --------------------------- */
/* Static, tiled, inside the fixed atmosphere layer — painted once, no blend modes. */
.atmosphere-noise {
    display: block;
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    background-size: 180px 180px;
}

.section--divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: min(760px, 84%);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.32), transparent);
    pointer-events: none;
}
.section--divider::after {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    width: min(520px, 70%);
    height: 120px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.08), transparent 70%);
    pointer-events: none;
}

/* --------------------------- Nav --------------------------- */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 16px 0;
    transition: padding 400ms var(--ease-out);
}

.site-nav__inner {
    width: min(var(--container-max), 100%);
    margin: 0 auto;
    padding: 8px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid transparent;
    border-radius: 20px;
    transition: width 500ms var(--ease-out), padding 500ms var(--ease-out), background 400ms, border-color 400ms, box-shadow 400ms;
}

.site-nav.is-scrolled { padding: 10px 0; }
.site-nav.is-scrolled .site-nav__inner {
    width: min(940px, calc(100% - 24px));
    padding: 7px 8px 7px 16px;
    background: rgba(13, 21, 32, 0.72);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 0 1px rgba(0, 212, 255, 0.04);
}

.site-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 21px;
    letter-spacing: -0.02em;
    transition: opacity 200ms;
}
.site-nav__brand:hover { opacity: 0.85; }
.site-nav__logo {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.3), 0 0 18px -2px rgba(0, 212, 255, 0.5);
    transition: width 400ms var(--ease-out), height 400ms var(--ease-out);
}
.site-nav.is-scrolled .site-nav__logo { width: 26px; height: 26px; }

.site-nav__links {
    display: flex;
    gap: 6px;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 500;
}
.site-nav__links a {
    position: relative;
    padding: 8px 14px;
    border-radius: 10px;
    transition: color 200ms, background 200ms;
}
.site-nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.site-nav__links a.is-active { color: var(--accent); background: rgba(0, 212, 255, 0.08); }
.site-nav__links a:focus-visible { outline-offset: 2px; }

.site-nav__actions { display: flex; align-items: center; gap: 10px; }
.site-nav__cta { padding: 10px 18px; font-size: 14px; border-radius: 12px; white-space: nowrap; }

.site-nav__toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.06);
    place-items: center;
    transition: background 200ms, border-color 200ms;
}
.site-nav__toggle:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(0, 212, 255, 0.35); }
.site-nav__toggle span,
.site-nav__toggle span::before,
.site-nav__toggle span::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    position: relative;
}
.site-nav__toggle span::before,
.site-nav__toggle span::after { content: ''; position: absolute; left: 0; }
.site-nav__toggle span::before { top: -6px; }
.site-nav__toggle span::after { top: 6px; width: 12px; }

@media (max-width: 860px) {
    .site-nav__links { display: none; }
    .site-nav__toggle { display: grid; }
}
@media (max-width: 420px) {
    .site-nav__cta { padding: 9px 14px; font-size: 13.5px; }
    .site-nav__brand { font-size: 19px; gap: 8px; }
}

/* Mobile menu — a native popover (top layer, Esc + light dismiss). */
.mobile-menu {
    position: fixed;
    inset: 12px 12px auto 12px;
    width: auto;
    max-width: 520px;
    margin: 0 0 0 auto;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    color: var(--text);
    background:
        radial-gradient(420px circle at 100% 0%, rgba(0, 212, 255, 0.16), transparent 60%),
        linear-gradient(180deg, rgba(20, 31, 43, 0.97), rgba(10, 14, 20, 0.97));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 212, 255, 0.08);
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
    transition: opacity 280ms var(--ease-out), transform 360ms var(--ease-out), overlay 360ms allow-discrete, display 360ms allow-discrete;
}
.mobile-menu:popover-open { opacity: 1; transform: none; }
@starting-style {
    .mobile-menu:popover-open { opacity: 0; transform: translateY(-12px) scale(0.98); }
}
.mobile-menu::backdrop {
    background: rgba(4, 7, 11, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
}
.mobile-menu__close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
}
.mobile-menu__close svg { width: 18px; height: 18px; }
.mobile-menu__links { display: flex; flex-direction: column; }
.mobile-menu__links a {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 14px 6px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 200ms, padding 300ms var(--ease-out);
}
.mobile-menu__links a span { font-family: var(--font-body); font-size: 12px; color: var(--accent); font-weight: 600; letter-spacing: 0.08em; }
.mobile-menu__links a:hover { color: var(--accent); padding-left: 12px; }
.mobile-menu__cta { width: 100%; margin-top: 18px; }
.mobile-menu__note { text-align: center; margin-top: 12px; font-size: 12.5px; color: var(--text-mute); }

/* --------------------------- Avatars (monograms with gradient rims) --------------------------- */
.avatar {
    --rim: linear-gradient(135deg, #7FE9FF, #00A8E8);
    --fill: linear-gradient(160deg, #123247, #0B1724);
    position: relative;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 2px;
    border-radius: 50%;
    background: var(--rim);
    box-shadow: 0 0 18px -4px rgba(0, 212, 255, 0.55);
}
.avatar > span {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--fill);
    color: #E8FBFF;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.02em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.avatar--sm { width: 28px; height: 28px; padding: 1.5px; }
.avatar--sm > span { font-size: 11px; }
.avatar--md { width: 40px; height: 40px; }
.avatar--lg { width: clamp(46px, 10cqi, 66px); height: clamp(46px, 10cqi, 66px); padding: 2.5px; }
.avatar--lg > span { font-size: clamp(16px, 3.6cqi, 22px); }
.avatar__dot {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--success);
    border: 2px solid #0D1520;
}
.avatar--mum     { --rim: linear-gradient(135deg, #9BF0FF, #00A8E8); --fill: linear-gradient(160deg, #11384D, #0B1724); }
.avatar--dad     { --rim: linear-gradient(135deg, #00D4FF, #0057A8); --fill: linear-gradient(160deg, #0F2C47, #0A1522); }
.avatar--grandpa { --rim: linear-gradient(135deg, #8EF5D0, #00A8E8); --fill: linear-gradient(160deg, #0F3A3A, #0A1720); }
.avatar--partner { --rim: linear-gradient(135deg, #F3B6FF, #00D4FF); --fill: linear-gradient(160deg, #2C2347, #0B1724); }
.avatar--friend  { --rim: linear-gradient(135deg, #FFE08A, #00A8E8); --fill: linear-gradient(160deg, #33301F, #0B1724); }
.avatar--sister  { --rim: linear-gradient(135deg, #B9C3FF, #00D4FF); --fill: linear-gradient(160deg, #1E2A55, #0B1724); }

/* --------------------------- Chat primitives --------------------------- */
.msg {
    position: relative;
    max-width: 84%;
    padding: 8px 12px 7px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.msg--them {
    align-self: flex-start;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom-left-radius: 6px;
    color: var(--text);
}
.msg--me {
    align-self: flex-end;
    background: linear-gradient(135deg, #22DBFF, #00A8E8);
    color: #031520;
    border-bottom-right-radius: 6px;
    box-shadow: 0 6px 18px -8px rgba(0, 212, 255, 0.7);
}
.msg--sm { font-size: 12.5px; padding: 7px 11px 6px; border-radius: 15px; }
.msg--sm.msg--them { border-bottom-left-radius: 5px; }
.msg__meta {
    float: right;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin: 6px 0 -3px 10px;
    font-size: 10.5px;
    line-height: 1;
    opacity: 0.62;
    font-variant-numeric: tabular-nums;
}
.ticks {
    display: inline-block;
    width: 15px;
    height: 9px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'><path d='M1 5.5l3 3L10.5 1.5M6.5 8.5L15 1.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'><path d='M1 5.5l3 3L10.5 1.5M6.5 8.5L15 1.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
.msg--me .msg__meta { opacity: 0.7; }

.typing {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 11px 13px;
    border-radius: 18px;
    border-bottom-left-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.07);
}
.typing i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    animation: typing-dot 1.2s ease-in-out infinite;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-dot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* Absolutely-placed typing bubble that stands in for the next reply. */
.typing--ghost {
    position: absolute;
    left: 12px;
    opacity: 0;
    transform: translateY(6px) scale(0.95);
    transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out);
    pointer-events: none;
}
.typing--ghost.is-on { opacity: 1; transform: none; }

/* Sequenced chat items: hidden only when JS will reveal them. */
.js [data-hero-chat] [data-seq]:not(.is-shown),
.js [data-demo-chat] [data-seq]:not(.is-shown) {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
}
[data-hero-chat] [data-seq],
[data-demo-chat] [data-seq] {
    transition: opacity 420ms var(--ease-out), transform 520ms var(--ease-out);
    transform-origin: bottom left;
}
[data-hero-chat] .msg--me[data-seq],
[data-demo-chat] .msg--me[data-seq] { transform-origin: bottom right; }

.hchat__day {
    align-self: center;
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 4px;
}

/* --------------------------- Polaroid --------------------------- */
.polaroid {
    margin: 0;
    width: 150px;
    padding: 8px 8px 0;
    border-radius: 4px;
    background: linear-gradient(180deg, #F7F4EC, #ECE7DC);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3);
}
.polaroid__img { width: 100%; height: auto; aspect-ratio: 120 / 92; border-radius: 2px; display: block; }
.polaroid figcaption {
    padding: 7px 2px 9px;
    text-align: center;
    font-size: 11.5px;
    font-style: italic;
    color: #3A4552;
    letter-spacing: 0.01em;
}

/* --------------------------- Hero --------------------------- */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 128px 0 110px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.hero__glow { position: absolute; border-radius: 50%; }
.hero__glow--a {
    width: 1100px;
    height: 900px;
    top: -380px;
    right: -260px;
    background: radial-gradient(closest-side, rgba(0, 212, 255, 0.22), rgba(0, 168, 232, 0.08) 55%, transparent);
}
.hero__glow--b {
    width: 900px;
    height: 700px;
    bottom: -320px;
    left: -300px;
    background: radial-gradient(closest-side, rgba(0, 136, 204, 0.2), transparent);
}

.hero__stars {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 85%);
    mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 85%);
}
.hero__field .hs { fill: #CFF6FF; opacity: 0.45; }
.hero__field .hs--tw1 { animation: twinkle 4s ease-in-out infinite; }
.hero__field .hs--tw2 { animation: twinkle 6s ease-in-out 1.2s infinite; }
.hero__field .hs--tw3 { animation: twinkle 5s ease-in-out 2.4s infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.9; } }
.hero__threads line {
    stroke: rgba(0, 212, 255, 0.22);
    stroke-width: 1;
    stroke-dasharray: 3 5;
    animation: thread-flow 30s linear infinite;
}
@keyframes thread-flow { to { stroke-dashoffset: -240; } }
.hero__knots .hc-star { fill: #9BF0FF; filter: drop-shadow(0 0 4px #00D4FF); }

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 0%, #000, transparent 75%);
    mask-image: radial-gradient(ellipse 60% 55% at 50% 0%, #000, transparent 75%);
}

/* A glowing horizon arc along the bottom of the fold. */
.hero__horizon {
    position: absolute;
    left: -25%;
    right: -25%;
    bottom: -520px;
    height: 640px;
    border-radius: 50%;
    border-top: 1px solid rgba(0, 212, 255, 0.55);
    background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(0, 212, 255, 0.16), transparent 70%), var(--bg);
    box-shadow: 0 -24px 90px -10px rgba(0, 212, 255, 0.3), inset 0 24px 60px -30px rgba(0, 212, 255, 0.45);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__eyebrow { margin-bottom: 26px; }
.js .hero__eyebrow { opacity: 0; transform: translateY(20px); }

.hero__title {
    font-size: clamp(2.6rem, 5.4vw, 4.75rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 26px;
    text-wrap: balance;
}
.hero__title-line { display: block; }
.js .hero__title { opacity: 0; transform: translateY(28px); }

.hero__lede {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-soft);
    max-width: 540px;
    margin-bottom: 36px;
}
.js .hero__lede { opacity: 0; transform: translateY(20px); }

.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.js .hero__ctas { opacity: 0; transform: translateY(20px); }

.hero__trust {
    list-style: none;
    padding: 0;
    margin: 34px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.js .hero__trust { opacity: 0; }
.hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px 7px 10px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero__chip svg { width: 15px; height: 15px; color: var(--accent); }

/* Hero visual: chat preview + floating memories */
.hero__visual {
    position: relative;
    text-align: left;
    min-height: 560px;
    display: grid;
    place-items: center;
}
.js .hero__visual { opacity: 0; transform: translateY(30px) scale(0.98); }

.hero__halo {
    position: absolute;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 212, 255, 0.3), rgba(0, 168, 232, 0.1) 50%, transparent);
    animation: halo-breathe 7s ease-in-out infinite;
}
@keyframes halo-breathe { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.06); opacity: 1; } }

.hero__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.12);
}
.hero__ring--1 { width: 440px; height: 440px; }
.hero__ring--2 {
    width: 580px;
    height: 580px;
    border-style: dashed;
    border-color: rgba(0, 212, 255, 0.1);
    animation: spin 120s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hchat {
    position: relative;
    z-index: 2;
    width: min(370px, 100%);
    border-radius: 28px;
    border: 1px solid transparent;
    background:
        linear-gradient(180deg, rgba(20, 31, 43, 0.94), rgba(11, 17, 25, 0.96)) padding-box,
        linear-gradient(160deg, rgba(0, 212, 255, 0.55), rgba(255, 255, 255, 0.08) 35%, rgba(255, 255, 255, 0.04) 65%, rgba(0, 168, 232, 0.4)) border-box;
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.7),
        0 0 90px -20px rgba(0, 212, 255, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    animation: float-y 9s ease-in-out infinite;
}
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hchat__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hchat__who { display: flex; flex-direction: column; line-height: 1.2; flex: 1; }
.hchat__who strong { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.hchat__status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-mute); }
.hchat__status i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px rgba(52, 211, 153, 0.7); }
.hchat__lock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent);
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
}
.hchat__lock svg { width: 12px; height: 12px; }

.hchat__body {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 18px 16px 14px;
    min-height: 320px;
}
.hchat__input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 14px 14px;
    padding: 7px 7px 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: var(--text-faint);
}
.hchat__send {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #031520;
    box-shadow: 0 4px 14px -2px rgba(0, 212, 255, 0.6);
}
.hchat__send svg { width: 15px; height: 15px; }

.hfloat {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px 9px 9px;
    border-radius: 16px;
    background: rgba(17, 25, 35, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 212, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 13px;
    white-space: nowrap;
    animation: float-y 7s ease-in-out infinite;
}
.hfloat__icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--accent);
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.25);
}
.hfloat__icon svg { width: 16px; height: 16px; }
.hfloat__text { display: flex; flex-direction: column; line-height: 1.25; }
.hfloat__text small {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}
.hfloat--memory { top: -1%; left: -6%; animation-duration: 8s; }
.hfloat--safe { bottom: -9%; right: -8%; animation-duration: 9.5s; animation-delay: -3s; }
.hfloat--photo {
    padding: 8px 8px 0;
    bottom: -24%;
    left: -12%;
    width: 140px;
    rotate: -7deg;
    display: block;
    white-space: normal;
    border: 0;
    background: linear-gradient(180deg, #F7F4EC, #ECE7DC);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation-duration: 10s;
    animation-delay: -5s;
}

.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    translate: -50% 0;
    z-index: 2;
    padding: 6px;
    opacity: 0.7;
    transition: opacity 200ms;
}
.hero__scroll:hover { opacity: 1; }
.hero__scroll-mouse {
    display: block;
    width: 22px;
    height: 34px;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    position: relative;
}
.hero__scroll-mouse i {
    position: absolute;
    left: 50%;
    top: 7px;
    width: 3px;
    height: 7px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: var(--accent);
    animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 1100px) {
    .hfloat--memory { left: 0; }
    .hfloat--safe { right: 0; }
    .hfloat--photo { left: 0; }
}

@media (max-width: 980px) {
    .hero { padding: 120px 0 96px; }
    .hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero__copy { max-width: 680px; margin: 0 auto; }
    .hero__lede { margin-inline: auto; }
    .hero__ctas, .hero__trust { justify-content: center; }
    .hero__visual { min-height: 520px; width: min(520px, 100%); margin: 0 auto; }
    .hero__scroll { display: none; }
}

@media (max-width: 600px) {
    .hero { padding: 108px 0 72px; }
    .hero__title { font-size: clamp(2.35rem, 10.5vw, 3rem); margin-bottom: 18px; }
    .hero__eyebrow { margin-bottom: 20px; font-size: 11px; }
    .hero__lede { font-size: 1rem; margin-bottom: 26px; }
    .hero__trust { margin-top: 22px; }
    .hero__ctas { flex-direction: column; align-items: stretch; }
    .hero__ctas .btn { width: 100%; }
    .hero__trust { gap: 8px; }
    .hero__chip { font-size: 12px; padding: 6px 11px 6px 9px; }
    .hero__visual { min-height: 500px; margin-top: 8px; }
    .hero__halo { width: 420px; height: 420px; }
    .hero__ring--1 { width: 330px; height: 330px; }
    .hero__ring--2 { width: 420px; height: 420px; }
    .hchat { width: min(330px, 100%); }
    .hchat__body { min-height: 300px; padding: 14px 12px 12px; }
    .hchat .msg { font-size: 13.5px; }
    .hfloat { font-size: 12px; padding: 7px 11px 7px 7px; }
    .hfloat__icon { width: 28px; height: 28px; }
    .hfloat--memory { top: -2%; left: -2px; }
    .hfloat--safe { bottom: -1%; right: -2px; }
    .hfloat--photo { width: 104px; bottom: 15%; left: -6px; }
    .hfloat--photo figcaption { font-size: 10px; padding: 5px 0 7px; }
}

/* --------------------------- How it works: connected journey --------------------------- */
.journey { position: relative; }
.journey__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(18px, 2.6vw, 32px);
    position: relative;
}
.journey__step { display: flex; flex-direction: column; }

.journey__rail {
    position: absolute;
    top: 27px;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.07);
}
.journey__rail-fill {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #0088CC, #00D4FF 70%, #9BF0FF);
    box-shadow: 0 0 14px rgba(0, 212, 255, 0.7);
    transform-origin: left center;
    transform: scaleX(var(--p, 1));
}
.js .journey__rail-fill { --p: 0; }

.journey__node {
    position: relative;
    z-index: 2;
    width: 56px;
    height: 56px;
    margin: 0 auto 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 50% 30%, #12304A, #0B1622);
    border: 1px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 0 7px rgba(0, 212, 255, 0.05), 0 0 34px -6px rgba(0, 212, 255, 0.7);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    color: var(--accent);
    transition: box-shadow 600ms var(--ease-out), border-color 600ms;
}
.journey__step.is-in .journey__node {
    border-color: rgba(0, 212, 255, 0.75);
    box-shadow: 0 0 0 7px rgba(0, 212, 255, 0.08), 0 0 44px -4px rgba(0, 212, 255, 0.85);
}

.journey__card { padding: 16px 16px 28px; flex: 1; }
.journey__card h3 { font-size: 22px; margin: 0 10px 8px; }
.journey__card p { color: var(--text-soft); font-size: 15px; line-height: 1.55; margin: 0 10px; }

.journey__visual {
    position: relative;
    height: 236px;
    margin-bottom: 24px;
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background:
        radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0, 212, 255, 0.14), transparent 70%),
        linear-gradient(180deg, rgba(4, 8, 12, 0.35), rgba(4, 8, 12, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.journey__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 14px 14px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
    mask-image: linear-gradient(180deg, #000, transparent 85%);
}

/* Step 1 — form filling in */
.jv-form {
    position: relative;
    width: min(250px, 86%);
    padding: 12px;
    border-radius: 14px;
    background: rgba(13, 21, 32, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6);
    font-size: 12px;
}
.jv-form__head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-weight: 600; font-size: 12.5px; }
.jv-form__step { margin-left: auto; font-size: 10px; color: var(--accent); padding: 2px 7px; border-radius: 999px; background: rgba(0, 212, 255, 0.1); }
.jv-field { display: grid; gap: 2px; margin-bottom: 6px; }
.jv-label { font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.jv-value {
    display: flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    min-height: 24px;
}
.jv-field:first-of-type .jv-value { border-color: rgba(0, 212, 255, 0.45); box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08); }
.jv-type { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; max-width: 9ch; }
.jv-caret { width: 1.5px; height: 13px; margin-left: 2px; background: var(--accent); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.jv-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.jv-chip {
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    color: #CFF6FF;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.25);
    transition: opacity 400ms var(--ease-out), transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.jv-chip--new { border-style: dashed; color: var(--accent); background: rgba(0, 212, 255, 0.04); box-shadow: 0 0 14px -4px rgba(0, 212, 255, 0.8); }
.jv-chip:nth-child(1) { transition-delay: 0.9s; }
.jv-chip:nth-child(2) { transition-delay: 1.05s; }
.jv-chip:nth-child(3) { transition-delay: 1.2s; }
.jv-chip:nth-child(4) { transition-delay: 1.5s; }
.js .journey__step:not(.is-in) .jv-chip { opacity: 0; transform: translateY(6px) scale(0.85); }
.js .journey__step:not(.is-in) .jv-type { max-width: 0; }
.js .journey__step.is-in .jv-type { animation: type-in 0.9s steps(8) 0.2s both; }
@keyframes type-in { from { max-width: 0; } to { max-width: 9ch; } }

/* Step 2 — polaroid dropping in */
.jv-drop {
    position: absolute;
    inset: 22px 30px;
    border-radius: 14px;
    border: 1.5px dashed rgba(0, 212, 255, 0.28);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 12px;
    gap: 4px;
    color: var(--text-faint);
    font-size: 11px;
}
.jv-drop span { display: none; }
.jv-drop svg { width: 18px; height: 18px; position: absolute; top: 12px; right: 12px; color: rgba(0, 212, 255, 0.5); }
.jv-polaroid {
    position: relative;
    width: 128px;
    transform: rotate(-5deg);
    transition: opacity 500ms var(--ease-out), transform 1000ms cubic-bezier(0.34, 1.4, 0.64, 1);
    transition-delay: 0.25s;
}
.jv-polaroid .polaroid__img { aspect-ratio: 120 / 100; }
.jv-polaroid figcaption { font-size: 10.5px; padding: 5px 0 7px; }
.js .journey__step:not(.is-in) .jv-polaroid { opacity: 0; transform: translateY(-70px) rotate(-18deg) scale(1.08); }
.jv-added {
    position: absolute;
    right: 18px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px 4px 6px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: #031520;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 6px 18px -4px rgba(0, 212, 255, 0.7);
    transition: opacity 300ms, transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 1.1s;
}
.jv-added svg { width: 13px; height: 13px; }
.js .journey__step:not(.is-in) .jv-added { opacity: 0; transform: scale(0.6); }

/* Step 3 — first message */
.jv-chat {
    position: relative;
    width: min(260px, 88%);
    border-radius: 16px;
    background: rgba(13, 21, 32, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}
.jv-chat__head { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 12.5px; }
.jv-chat__head small { margin-left: auto; font-size: 10.5px; color: var(--success); }
.jv-chat__body { display: grid; padding: 14px 11px; min-height: 84px; align-items: end; }
.jv-chat__body > * { grid-area: 1 / 1; }
.jv-typing { opacity: 0; }
.jv-first { max-width: 92%; }
.js .journey__step:not(.is-in) .jv-typing { opacity: 1; }
.js .journey__step:not(.is-in) .jv-first { opacity: 0; transform: translateY(10px); }
.js .journey__step.is-in .jv-typing { animation: fade-out 0.3s 1.3s both; }
.js .journey__step.is-in .jv-first { animation: msg-in 0.55s 1.45s both var(--ease-out); }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
.jv-chat__input { display: flex; align-items: center; justify-content: space-between; margin: 0 9px 9px; padding: 6px 6px 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); font-size: 11px; color: var(--text-faint); }
.jv-chat__input i { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }

@media (max-width: 860px) {
    .journey__steps { grid-template-columns: 1fr; gap: 26px; max-width: 560px; margin: 0 auto; }
    .journey__step { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
    .journey__node { width: 48px; height: 48px; margin: 0; font-size: 15px; }
    .journey__rail {
        top: 24px;
        bottom: 24px;
        left: max(calc(50% - 280px + 23px), 23px);
        right: auto;
        width: 2px;
        height: auto;
    }
    .journey__rail-fill {
        background: linear-gradient(180deg, #0088CC, #00D4FF 70%, #9BF0FF);
        transform-origin: center top;
        transform: scaleY(var(--p, 1));
    }
    .journey__card h3, .journey__card p { margin-inline: 6px; }
    .journey__card { padding: 12px 12px 22px; }
    .journey__visual { height: 236px; margin-bottom: 18px; }
}

/* --------------------------- Personas: orbit --------------------------- */
.personas { overflow: hidden; }

.orbit {
    position: relative;
    width: min(640px, 100%);
    aspect-ratio: 1;
    margin: 0 auto;
    container-type: inline-size;
}

.orbit__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit__ring { fill: none; stroke: rgba(0, 212, 255, 0.24); stroke-width: 0.2; }
.orbit__ring--outer { stroke-dasharray: 0.5 1.1; stroke: rgba(0, 212, 255, 0.35); }
.orbit__ring--inner { stroke: rgba(0, 212, 255, 0.28); }
.orbit__ring--halo { stroke: rgba(255, 255, 255, 0.06); stroke-width: 0.15; }
.orbit__sat { fill: #9BF0FF; filter: drop-shadow(0 0 0.8px #00D4FF); }
.orbit__spin { transform-box: view-box; transform-origin: 50% 50%; animation: spin 110s linear infinite; }
.orbit__spin--rev { animation-duration: 70s; animation-direction: reverse; }

.orbit__beam { stroke: rgba(0, 212, 255, 0.14); stroke-width: 0.25; transition: stroke 400ms, stroke-width 400ms; }
.orbit__beam.is-active { stroke: rgba(0, 212, 255, 0.6); stroke-width: 0.35; }
.orbit__flow {
    stroke: #9BF0FF;
    stroke-width: 0.6;
    stroke-linecap: round;
    stroke-dasharray: 0.05 3.2;
    opacity: 0.55;
    animation: flow-in 2.8s linear infinite;
    transition: opacity 400ms, stroke-width 400ms;
}
.orbit__flow--d1 { animation-delay: -0.9s; }
.orbit__flow--d2 { animation-delay: -1.6s; }
.orbit__flow--d3 { animation-delay: -2.2s; }
.orbit__flow.is-active { opacity: 1; stroke-width: 0.9; animation-duration: 1.6s; filter: drop-shadow(0 0 0.8px #00D4FF); }
@keyframes flow-in { to { stroke-dashoffset: -3.25; } }

.orbit__core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 25%;
    aspect-ratio: 1;
    translate: -50% -50%;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 6px;
    z-index: 1;
}
.orbit__pulse {
    position: absolute;
    inset: 4%;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.45);
    animation: pulse-ring 3.6s ease-out infinite;
}
.orbit__pulse--2 { animation-delay: 1.8s; }
@keyframes pulse-ring { 0% { transform: scale(0.85); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }
.orbit__mark {
    width: 64%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    background: #04070B;
    box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.5), 0 0 0 6px rgba(0, 212, 255, 0.06), 0 0 50px rgba(0, 212, 255, 0.55);
}
.orbit__mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.orbit__brand { font-family: var(--font-display); font-weight: 700; font-size: clamp(11px, 2.6cqi, 16px); letter-spacing: -0.01em; }

.orbit__nodes { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.orbit__node { position: absolute; translate: -50% -50%; z-index: 2; }
.orbit__node.is-active { z-index: 4; }
.orbit__node--0 { left: 50%;   top: 10%; }
.orbit__node--1 { left: 87.6%; top: 36.3%; }
.orbit__node--2 { left: 70.5%; top: 64.3%; }
.orbit__node--3 { left: 43.1%; top: 89.4%; }
.orbit__node--4 { left: 17.2%; top: 72.9%; }
.orbit__node--5 { left: 27.3%; top: 39.4%; }

.orbit__btn { position: relative; display: block; border-radius: 50%; padding: 0; }
.orbit__btn:focus-visible { outline-offset: 5px; border-radius: 50%; }
.orbit__btn .avatar { transition: transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 400ms; }
.orbit__btn::before {
    content: '';
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.0);
    transition: border-color 400ms, transform 450ms var(--ease-out);
    transform: scale(0.85);
}
.orbit__node.is-active .orbit__btn::before { border-color: rgba(0, 212, 255, 0.55); transform: scale(1); }
.orbit__node.is-active .avatar { transform: scale(1.1); box-shadow: 0 0 34px -2px rgba(0, 212, 255, 0.85); }
.orbit__name {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    translate: -50% 0;
    font-size: clamp(11px, 2.3cqi, 13px);
    font-weight: 500;
    color: var(--text-soft);
    white-space: nowrap;
    padding: 1px 8px;
    border-radius: 999px;
    background: rgba(10, 14, 20, 0.85);
    transition: color 300ms;
}
.orbit__node.is-active .orbit__name { color: var(--accent); }

.orbit__card {
    position: absolute;
    width: max-content;
    max-width: min(230px, 50cqi);
    padding: 10px 14px 11px;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(22, 36, 50, 0.96), rgba(12, 19, 28, 0.96));
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 18px 40px -8px rgba(0, 0, 0, 0.65), 0 0 30px -10px rgba(0, 212, 255, 0.6);
    font-size: clamp(12px, 2.4cqi, 14px);
    line-height: 1.4;
    color: var(--text);
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    transition: opacity 300ms var(--ease-out), transform 420ms var(--ease-out);
}
.orbit__card small {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2px;
}
.orbit__node.is-active .orbit__card { opacity: 1; transform: none; }
.orbit__node--below .orbit__card { top: calc(100% + 34px); left: 50%; translate: -50% 0; transform-origin: top center; }
.orbit__node--above .orbit__card { bottom: calc(100% + 12px); left: 50%; translate: -50% 0; transform-origin: bottom center; }
.orbit__node--left .orbit__card  { right: calc(100% + 16px); top: 50%; translate: 0 -50%; transform-origin: right center; }
.orbit__node--right .orbit__card { left: calc(100% + 16px); top: 50%; translate: 0 -50%; transform-origin: left center; }

.orbit__hint {
    display: block;
    margin-top: 28px;
    text-align: center;
    color: var(--text-mute);
    font-size: 14px;
}
.orbit__hint svg { display: inline-block; vertical-align: -4px; margin-right: 6px; width: 18px; height: 18px; color: var(--accent); }

.orbit__caption { display: none; }
@media (max-width: 560px) {
    .orbit__card { display: none; }
    .orbit__caption {
        display: block;
        max-width: 340px;
        margin: 22px auto 0;
        padding: 14px 18px;
        text-align: center;
        border-radius: 16px;
        background: linear-gradient(160deg, rgba(22, 36, 50, 0.9), rgba(12, 19, 28, 0.9));
        border: 1px solid rgba(0, 212, 255, 0.3);
        box-shadow: 0 0 30px -12px rgba(0, 212, 255, 0.6);
        font-size: 15px;
    }
    .orbit__caption small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; }
    .orbit__caption.is-swap span { animation: msg-in 0.45s var(--ease-out) both; }
    .orbit__hint { margin-top: 16px; font-size: 13.5px; }
}
@container (max-width: 420px) {
    .orbit__card { padding: 8px 11px 9px; border-radius: 12px; }
    .orbit__node--below .orbit__card { top: calc(100% + 26px); }
    .orbit__node--left .orbit__card  { right: calc(100% + 10px); }
    .orbit__node--right .orbit__card { left: calc(100% + 10px); }
    .orbit__brand { display: none; }
}

/* --------------------------- Features bento --------------------------- */
.bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

.feat {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid transparent;
    background:
        linear-gradient(165deg, rgba(21, 32, 45, 0.92), rgba(11, 17, 25, 0.94)) padding-box,
        linear-gradient(160deg, rgba(0, 212, 255, 0.45), rgba(255, 255, 255, 0.07) 35%, rgba(255, 255, 255, 0.04) 65%, rgba(0, 168, 232, 0.3)) border-box;
    transition: box-shadow 400ms var(--ease-out);
    will-change: transform;
}
.feat:hover { box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7), 0 0 70px -24px rgba(0, 212, 255, 0.55); }
.feat--talk { grid-column: span 7; grid-row: span 2; }
.feat--photo, .feat--memory { grid-column: span 5; }

.feat__visual {
    position: relative;
    flex: 1;
    min-height: 220px;
    padding: 26px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(0, 212, 255, 0.1), transparent 70%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.feat__copy { padding: 22px 26px 26px; }
.feat__copy h3 { font-size: 19px; margin-bottom: 6px; letter-spacing: -0.01em; }
.feat__copy p { color: var(--text-soft); font-size: 14.5px; line-height: 1.55; max-width: 60ch; }
.feat--talk .feat__copy h3 { font-size: 24px; }
.feat--talk .feat__copy p { font-size: 15.5px; }

/* Conversations: two personalities side by side */
.fv-talk { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; width: 100%; }
.fv-talk .msg--sm { font-size: 13.5px; padding: 8px 12px 7px; }
.fv-talk__col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(4, 8, 12, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.fv-talk__who { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; line-height: 1.15; }
.fv-talk__who strong { display: block; font-size: 13.5px; }
.fv-talk__who small { font-size: 11px; color: var(--text-faint); }
.fv-talk .msg { max-width: 95%; }
.fv-talk .msg--me { box-shadow: none; }
.quirk {
    color: #D6F8FF;
    background: rgba(0, 212, 255, 0.2);
    border-radius: 5px;
    padding: 0 3px;
    box-shadow: inset 0 -1.5px 0 #00D4FF;
    animation: quirk-glow 4.5s ease-in-out infinite;
}
.fv-talk__col:nth-child(2) .quirk { animation-delay: 2.2s; }
@keyframes quirk-glow {
    0%, 100% { background: rgba(0, 212, 255, 0.16); }
    50% { background: rgba(0, 212, 255, 0.34); box-shadow: inset 0 -1.5px 0 #00D4FF, 0 0 14px rgba(0, 212, 255, 0.5); }
}
.fv-meter { margin: 10px 0 0; display: grid; gap: 6px; }
.fv-meter div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fv-meter dt { font-size: 11px; color: var(--text-faint); }
.fv-meter dd { margin: 0; display: flex; gap: 3px; }
.fv-meter i { width: 16px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); }
.fv-meter .lv-1 i:nth-child(-n+1),
.fv-meter .lv-4 i:nth-child(-n+4),
.fv-meter .lv-5 i { background: linear-gradient(90deg, #00A8E8, #00D4FF); box-shadow: 0 0 6px rgba(0, 212, 255, 0.5); }
.fv-talk__notes { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; gap: 5px; border-top: 1px dashed rgba(255, 255, 255, 0.08); }
.fv-talk__notes span { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--text-mute); }
.fv-talk__notes i { width: 6px; height: 6px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 6px var(--accent); transform: rotate(45deg); }

/* Photos: photo message + reply */
.fv-photo { flex-direction: column; align-items: stretch; gap: 0; }
.fv-photo__shot {
    position: relative;
    align-self: flex-end;
    width: min(250px, 78%);
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid #22DBFF;
    border-bottom-right-radius: 6px;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6), 0 0 30px -10px rgba(0, 212, 255, 0.6);
    transform: rotate(2deg);
}
.fv-photo__shot svg { width: 100%; height: auto; aspect-ratio: 200 / 120; }
.fv-photo__tag {
    position: absolute;
    right: 8px;
    bottom: 7px;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
}
.fv-photo__reply { margin-top: -14px; max-width: 82%; position: relative; z-index: 1; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.7); background: linear-gradient(180deg, #1C2A38, #15212D); }
.fv-photo__react {
    position: absolute;
    top: -12px;
    right: -8px;
    font-size: 12px;
    line-height: 1;
    padding: 4px 5px;
    border-radius: 999px;
    background: #1A2A3A;
    border: 2px solid #0D1520;
}

/* Memory: timeline */
.fv-mem { justify-content: flex-start; }
.fv-mem__line { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; display: grid; gap: 11px; width: 100%; }
.fv-mem__line::before {
    content: '';
    position: absolute;
    left: 62px;
    top: 8px;
    bottom: 14px;
    width: 1.5px;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.1), rgba(0, 212, 255, 0.6));
}
.fv-mem__line li { display: grid; grid-template-columns: 50px 1fr; gap: 24px; align-items: center; position: relative; }
.fv-mem__line li::before {
    content: '';
    position: absolute;
    left: 54px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #0D1520;
    border: 1.5px solid rgba(0, 212, 255, 0.7);
}
.fv-mem__line li.is-now::before { width: 13px; height: 13px; left: 52px; background: var(--accent); border-color: #9BF0FF; box-shadow: 0 0 0 5px rgba(0, 212, 255, 0.15), 0 0 16px var(--accent); animation: now-pulse 2.4s ease-in-out infinite; }
@keyframes now-pulse { 50% { box-shadow: 0 0 0 9px rgba(0, 212, 255, 0.06), 0 0 22px var(--accent); } }
.fv-mem__when { font-size: 11px; color: var(--text-faint); text-align: right; letter-spacing: 0.04em; }
.is-now .fv-mem__when { color: var(--accent); font-weight: 600; }
.mem-chip {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12.5px;
    color: #CFF6FF;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.22);
}
.mem-chip::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.fv-mem .msg { justify-self: start; max-width: 100%; border-color: rgba(0, 212, 255, 0.3); }

/* Private: lock + layered shields */
.fv-lock { flex-direction: column; gap: 16px; }
.fv-lock__shields { position: relative; width: 150px; height: 130px; display: grid; place-items: center; }
.fv-lock__shield {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120px;
    height: 130px;
    translate: -50% -50%;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.5), rgba(0, 212, 255, 0.05));
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 130'><path d='M60 3 L114 22 V62 C114 96 88 116 60 127 C32 116 6 96 6 62 V22 Z' fill='none' stroke='black' stroke-width='2.4'/></svg>") center / contain no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 130'><path d='M60 3 L114 22 V62 C114 96 88 116 60 127 C32 116 6 96 6 62 V22 Z' fill='none' stroke='black' stroke-width='2.4'/></svg>") center / contain no-repeat;
    animation: shield-pulse 4s ease-in-out infinite;
}
.fv-lock__shield--1 { scale: 0.62; opacity: 0.95; }
.fv-lock__shield--2 { scale: 0.82; opacity: 0.55; animation-delay: 0.4s; }
.fv-lock__shield--3 { scale: 1.02; opacity: 0.28; animation-delay: 0.8s; }
@keyframes shield-pulse { 0%, 100% { filter: none; } 50% { filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.8)); } }
.fv-lock__shields::before {
    content: '';
    position: absolute;
    inset: 10% 15%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 212, 255, 0.35), transparent);
}
.fv-lock__icon { position: relative; width: 50px; height: 50px; filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.6)); }
.fv-lock__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.fv-lock__tags span {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
}
.fv-lock__tags span:first-child { color: #CFF6FF; border-color: rgba(0, 212, 255, 0.35); background: rgba(0, 212, 255, 0.08); }

/* Gentle: crisis hand-off card */
.fv-care__card {
    width: 100%;
    max-width: 300px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.08), rgba(0, 212, 255, 0.02));
    border: 1px solid rgba(0, 212, 255, 0.28);
    box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.6), 0 0 40px -18px rgba(0, 212, 255, 0.8);
}
.fv-care__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; line-height: 1.2; }
.fv-care__head strong { display: block; font-size: 13.5px; }
.fv-care__head small { font-size: 11px; color: var(--text-mute); }
.fv-care__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--accent);
    background: rgba(0, 212, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.06);
    animation: heart-beat 2.6s ease-in-out infinite;
}
.fv-care__icon svg { width: 17px; height: 17px; }
@keyframes heart-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.1); } 30% { transform: scale(1); } 45% { transform: scale(1.06); } }
.fv-care__card p { font-size: 12.5px; line-height: 1.5; color: var(--text-soft); margin-bottom: 12px; }
.fv-care__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: #031520;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

/* Coming soon: voice + face */
.fv-voice { flex-direction: column; gap: 18px; padding-top: 58px; }
.soon-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.3);
}
.soon-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: twinkle 1.8s ease-in-out infinite; }
.fv-voice__player {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    padding: 10px 14px 10px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.fv-voice__play {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #031520;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 18px -2px rgba(0, 212, 255, 0.7);
}
.fv-voice__play svg { width: 15px; height: 15px; margin-left: 2px; }
.fv-voice__wave { flex: 1; display: flex; align-items: center; justify-content: space-between; height: 32px; }
.fv-voice__wave i {
    width: 3px;
    height: 40%;
    border-radius: 3px;
    background: linear-gradient(180deg, #9BF0FF, #00A8E8);
    animation: wave 1.3s ease-in-out infinite;
    transform-origin: center;
}
.fv-voice__wave i:nth-child(3n)   { height: 75%; animation-delay: -0.2s; }
.fv-voice__wave i:nth-child(3n+1) { height: 45%; animation-delay: -0.6s; }
.fv-voice__wave i:nth-child(4n)   { height: 95%; animation-delay: -0.9s; }
.fv-voice__wave i:nth-child(5n)   { height: 30%; animation-delay: -0.4s; }
.fv-voice__wave i:nth-child(7n)   { height: 60%; animation-delay: -1.1s; }
.fv-voice__wave i:nth-child(n+20) { opacity: 0.4; }
@keyframes wave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.45); } }
.fv-voice__time { font-size: 11.5px; color: var(--text-mute); font-variant-numeric: tabular-nums; }
.fv-voice__face { position: relative; display: grid; place-items: center; }
.fv-voice__face .avatar { width: 54px; height: 54px; z-index: 1; }
.fv-voice__face .avatar > span { font-size: 19px; }
.fv-voice__ripple, .fv-voice__ripple::before {
    position: absolute;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.5);
    animation: pulse-ring 2.8s ease-out infinite;
}
.fv-voice__ripple::before { content: ''; inset: -1px; animation-delay: 1.4s; }

@media (max-width: 1060px) {
    .feat--talk { grid-column: span 12; grid-row: auto; }
    .feat--photo, .feat--memory { grid-column: span 6; }
    .feat--private, .feat--gentle, .feat--voice { grid-column: span 6; }
    .feat--voice { grid-column: span 12; }
}
@media (max-width: 700px) {
    .bento { grid-template-columns: 1fr; gap: 14px; }
    .feat, .feat--talk, .feat--photo, .feat--memory, .feat--private, .feat--gentle, .feat--voice { grid-column: auto; }
    .feat__visual { padding: 22px 18px; min-height: 200px; }
    .feat__copy { padding: 20px 22px 22px; }
}
@media (max-width: 520px) {
    .fv-talk { grid-template-columns: 1fr; }
    .fv-talk__col:nth-child(2) .fv-talk__notes { display: none; }
}

/* --------------------------- Demo: phone + callouts --------------------------- */
.demo {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    align-items: center;
    gap: clamp(40px, 4vw, 56px);
}
.demo__text h2 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); line-height: 1.08; margin-bottom: 18px; }
.demo__text > p { color: var(--text-soft); font-size: 17px; line-height: 1.6; max-width: 46ch; margin-bottom: 28px; }
.demo__points { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 16px; }
.demo__points li { display: flex; gap: 14px; align-items: flex-start; }
.demo__points li > span:last-child { font-size: 14.5px; color: var(--text-mute); line-height: 1.5; }
.demo__points strong { display: block; color: var(--text); font-size: 15.5px; font-weight: 600; margin-bottom: 1px; }
.demo__point-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--accent);
    background: linear-gradient(160deg, rgba(0, 212, 255, 0.16), rgba(0, 212, 255, 0.04));
    border: 1px solid rgba(0, 212, 255, 0.25);
    box-shadow: 0 0 20px -8px rgba(0, 212, 255, 0.8);
}
.demo__point-icon svg { width: 19px; height: 19px; }
.demo__ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.demo__fine { font-size: 13px; color: var(--text-mute); }

.demo__stage { position: relative; display: grid; place-items: center; padding: 30px 0; }
.demo__halo {
    position: absolute;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 212, 255, 0.28), rgba(0, 136, 204, 0.08) 55%, transparent);
    animation: halo-breathe 8s ease-in-out infinite;
}

.phone {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    position: relative;
    z-index: 1;
    width: min(330px, 86vw);
    aspect-ratio: 330 / 700;
    padding: 11px;
    border-radius: 56px;
    background: linear-gradient(145deg, #4A5868 0%, #1A222C 18%, #0E141B 50%, #1C2530 80%, #56677A 100%);
    box-shadow:
        inset 0 0 0 1.5px rgba(255, 255, 255, 0.12),
        inset 0 0 0 4px #05080C,
        0 60px 120px -30px rgba(0, 0, 0, 0.85),
        0 0 0 1px rgba(0, 0, 0, 0.6),
        0 0 140px -40px rgba(0, 212, 255, 0.55);
    animation: phone-float 9s ease-in-out infinite;
    transform-style: preserve-3d;
}
@keyframes phone-float {
    0%, 100% { transform: perspective(1400px) translateY(0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); }
    50% { transform: perspective(1400px) translateY(-12px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); }
}
.phone__btn { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #3A4655, #1A222C); }
.phone__btn--a { left: -3px; top: 17%; height: 4%; }
.phone__btn--b { left: -3px; top: 25%; height: 8%; }
.phone__btn--c { right: -3px; top: 27%; height: 12%; background: linear-gradient(270deg, #3A4655, #1A222C); }

.phone__screen {
    position: relative;
    height: 100%;
    border-radius: 46px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(120% 50% at 50% 0%, rgba(0, 212, 255, 0.1), transparent 60%),
        linear-gradient(180deg, #0C141E, #0A0E14 60%);
}
.phone__screen::after {
    /* glass glare */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.06), transparent 30%);
    pointer-events: none;
}
.phone__status {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    padding: 4px 26px 0 32px;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}
.phone__island {
    position: absolute;
    left: 50%;
    top: 11px;
    translate: -50% 0;
    width: 32%;
    height: 30px;
    border-radius: 20px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
}
.phone__island i { width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2A3E5A, #0A0F18); box-shadow: 0 0 0 1.5px #10161F; }
.phone__sys { display: flex; align-items: center; gap: 5px; }
.phone__sys svg { width: 17px; height: 11px; fill: #fff; }
.phone__sys svg:nth-child(2) { fill: none; stroke: #fff; stroke-width: 1.6; width: 15px; }
.phone__battery { position: relative; width: 24px; height: 12px; border-radius: 4px; border: 1.2px solid rgba(255, 255, 255, 0.5); padding: 1.5px; }
.phone__battery i { display: block; width: 78%; height: 100%; border-radius: 2px; background: #fff; }
.phone__battery::after { content: ''; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; border-radius: 0 2px 2px 0; background: rgba(255, 255, 255, 0.5); }

.phone__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 12px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(13, 21, 32, 0.6);
    flex-shrink: 0;
}
.phone__back { width: 22px; height: 22px; color: var(--accent); }
.phone__who { display: flex; flex-direction: column; line-height: 1.2; flex: 1; }
.phone__who strong { font-family: var(--font-display); font-size: 15.5px; }
.phone__who small { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--text-mute); }
.phone__who small i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.phone__info { width: 22px; height: 22px; color: var(--text-mute); }

.phone__chat {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 5px;
    padding: 10px 12px 8px;
}
.phone__chat .msg { font-size: 13px; max-width: 80%; }
.phone__chat .msg--them + .msg--them { margin-top: -2px; border-top-left-radius: 6px; }
.phone__chat .msg--me + .msg--me { margin-top: -2px; }
.phone__chat .msg--me + .msg--them,
.phone__chat .msg--them + .msg--me { margin-top: 5px; }
.msg--photo { padding: 4px; width: 164px; max-width: 64%; border-bottom-right-radius: 6px; }
.msg--photo svg { width: 100%; height: auto; aspect-ratio: 160 / 92; border-radius: 14px 14px 4px 4px; display: block; }
.msg__caption { display: block; padding: 5px 8px 3px; font-size: 13px; }
.msg__reaction {
    position: absolute;
    left: -10px;
    bottom: -10px;
    font-size: 12px;
    line-height: 1;
    padding: 4px 5px;
    border-radius: 999px;
    background: #1A2A3A;
    border: 2px solid #0A0E14;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
[data-demo-chat] .msg__reaction[data-seq] { transition: opacity 300ms, transform 500ms cubic-bezier(0.34, 1.8, 0.64, 1); transform-origin: center; }
.js [data-demo-chat] .msg__reaction[data-seq]:not(.is-shown) { transform: scale(0.2); }
.msg--photo + .msg { margin-top: 12px !important; }

.phone__input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px 30px;
    flex-shrink: 0;
}
.phone__plus {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 20px;
    line-height: 1;
    color: var(--text-mute);
    background: rgba(255, 255, 255, 0.06);
}
.phone__field {
    flex: 1;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-faint);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.phone__home {
    position: absolute;
    left: 50%;
    bottom: 9px;
    translate: -50% 0;
    width: 36%;
    height: 4.5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.55);
}

/* Callouts with connector lines */
.callout {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
}
.callout__text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px 9px 10px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    background: rgba(17, 25, 35, 0.86);
    border: 1px solid rgba(0, 212, 255, 0.28);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7), 0 0 26px -10px rgba(0, 212, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.callout__text svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.callout__dot {
    position: relative;
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.18), 0 0 12px var(--accent);
}
.callout__dot::before {
    content: '';
    position: absolute;
    top: 50%;
    height: 1px;
    width: 40px;
}
/* Left-side callouts: [text]——● */
.callout--1, .callout--4 { flex-direction: row-reverse; }
.callout--1 .callout__dot, .callout--4 .callout__dot { margin-left: 22px; }
.callout--1 .callout__dot::before, .callout--4 .callout__dot::before { width: 26px; }
.callout--1 .callout__text, .callout--4 .callout__text { white-space: normal; max-width: 172px; line-height: 1.3; }
.callout--2 .callout__text, .callout--3 .callout__text { white-space: normal; max-width: 150px; line-height: 1.3; }
.callout--1 .callout__dot::before, .callout--4 .callout__dot::before { right: 100%; background: linear-gradient(90deg, rgba(0, 212, 255, 0.15), #00D4FF); }
/* Right-side callouts: ●——[text] */
.callout--2 .callout__dot, .callout--3 .callout__dot { margin-right: 22px; }
.callout--2 .callout__dot::before, .callout--3 .callout__dot::before { left: 100%; background: linear-gradient(90deg, #00D4FF, rgba(0, 212, 255, 0.15)); }

.callout--1 { right: calc(50% + 152px); top: 32%; }
.callout--2 { left: calc(50% + 152px); top: 29%; }
.callout--3 { left: calc(50% + 152px); top: 56%; }
.callout--4 { right: calc(50% + 152px); top: 76%; }

.callout { animation: float-y 8s ease-in-out infinite; }
.callout--2 { animation-delay: -2s; }
.callout--3 { animation-delay: -4s; }
.callout--4 { animation-delay: -6s; }
.js .demo__stage:not(.is-in) .callout { opacity: 0; }
.demo__stage .callout { transition: opacity 700ms var(--ease-out); }
.demo__stage.is-in .callout--2 { transition-delay: 0.6s; }
.demo__stage.is-in .callout--1 { transition-delay: 1.2s; }
.demo__stage.is-in .callout--3 { transition-delay: 2.2s; }
.demo__stage.is-in .callout--4 { transition-delay: 3s; }

@media (max-width: 1180px) {
    .callout__text { font-size: 12px; white-space: normal; max-width: 180px; }
}
@media (max-width: 980px) {
    .demo { grid-template-columns: 1fr; }
    .demo__text { max-width: 600px; margin: 0 auto; }
}
@media (max-width: 1180px) {
    .demo__stage { grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 10px; }
    .demo__halo { width: 420px; height: 420px; top: 0; }
    .phone { grid-column: 1 / -1; margin-bottom: 20px; }
    .callout { position: static; animation: none; }
    .callout__dot { display: none; }
    .callout__text { width: 100%; height: 100%; max-width: none; white-space: normal; font-size: 12.5px; align-items: flex-start; }
    .demo__ctas { justify-content: flex-start; }
}

/* --------------------------- Pillars --------------------------- */
@property --beam-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@keyframes beam-rotate { to { --beam-angle: 360deg; } }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
    padding: 32px 30px 26px;
    display: flex;
    flex-direction: column;
    text-align: left;
    border-radius: 24px;
    border: 1px solid transparent;
    background:
        linear-gradient(165deg, rgba(21, 32, 45, 0.94), rgba(11, 17, 25, 0.96)) padding-box,
        conic-gradient(from var(--beam-angle), rgba(255, 255, 255, 0.07) 0deg, rgba(255, 255, 255, 0.07) 200deg, rgba(0, 212, 255, 0.85) 260deg, rgba(255, 255, 255, 0.07) 320deg) border-box;
    animation: beam-rotate 9s linear infinite;
}
.pillar:nth-child(2) { animation-delay: -3s; }
.pillar:nth-child(3) { animation-delay: -6s; }

.pillar__art {
    position: relative;
    width: 96px;
    height: 96px;
    margin-bottom: 26px;
    border-radius: 26px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 50% 35%, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.03) 70%);
    border: 1px solid rgba(0, 212, 255, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 40px -18px rgba(0, 212, 255, 0.6);
}
.pillar__art svg { width: 58px; height: 58px; position: relative; filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.45)); transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.pillar:hover .pillar__art svg { transform: scale(1.08) translateY(-2px); }
.pillar__rings {
    position: absolute;
    inset: -12px;
    border-radius: 34px;
    border: 1px dashed rgba(0, 212, 255, 0.18);
}
.pillar h3 { font-size: 20px; margin-bottom: 10px; }
.pillar > p:not(.pillar__proof) { font-size: 15px; line-height: 1.6; color: var(--text-soft); margin-bottom: 22px; }
.pillar__proof {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #9BF0FF;
}
.pillar__proof svg { width: 15px; height: 15px; flex-shrink: 0; }

@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* --------------------------- Pricing --------------------------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; padding-top: 14px; }
.tier { padding: 32px; display: flex; flex-direction: column; border-radius: 24px; }
.tier__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.tier__badge {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.22);
}
.tier__glyph {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--accent);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.tier__glyph svg { width: 18px; height: 18px; }
.tier__name { font-size: 23px; font-family: var(--font-display); font-weight: 600; margin-bottom: 4px; letter-spacing: -0.02em; }
.tier__tagline { font-size: 14px; color: var(--text-mute); margin-bottom: 22px; }
.tier__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.tier__price strong { font-family: var(--font-display); font-weight: 700; font-size: 48px; letter-spacing: -0.04em; line-height: 1; }
.tier__price span { color: var(--text-mute); font-size: 14px; }
.tier__features { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.tier__features li { display: flex; align-items: center; gap: 11px; color: var(--text-soft); font-size: 14.5px; }
.tier__features li.is-soon { color: var(--text-faint); }
.soon-tag { font-size: 12.5px; font-style: italic; color: var(--text-faint); margin-left: -5px; }

.check {
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(160deg, rgba(0, 212, 255, 0.28), rgba(0, 212, 255, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.45);
    box-shadow: 0 0 12px -3px rgba(0, 212, 255, 0.7);
}
.check::after {
    content: '';
    position: absolute;
    left: 6.5px;
    top: 3.5px;
    width: 4.5px;
    height: 8.5px;
    border: solid #9BF0FF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.check--soon { background: transparent; border: 1px dashed rgba(255, 255, 255, 0.25); box-shadow: none; }
.check--soon::after {
    left: 50%;
    top: 50%;
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: none;
}
.tier .btn { width: 100%; }

.tier--featured {
    transform: translateY(-14px);
    border-color: transparent;
    background:
        radial-gradient(420px circle at 50% 0%, rgba(0, 212, 255, 0.16), transparent 65%),
        linear-gradient(165deg, rgba(20, 38, 54, 0.96), rgba(11, 18, 27, 0.98));
    box-shadow: 0 30px 80px -20px rgba(0, 212, 255, 0.35), 0 0 0 1px rgba(0, 212, 255, 0.18);
    transition: transform 400ms var(--ease-out), box-shadow 400ms;
}
.tier--featured:hover { transform: translateY(-18px); box-shadow: 0 40px 90px -20px rgba(0, 212, 255, 0.45), 0 0 0 1px rgba(0, 212, 255, 0.3); }
.tier--featured::before {
    background: conic-gradient(from var(--beam-angle), transparent 0deg, rgba(0, 212, 255, 0.95) 50deg, rgba(155, 240, 255, 0.9) 70deg, transparent 130deg, transparent 180deg, rgba(0, 168, 232, 0.8) 230deg, transparent 290deg);
    opacity: 1;
    animation: beam-rotate 5s linear infinite;
    inset: -1px;
    border-radius: 25px;
    padding: 1.5px;
    z-index: 0;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}
.tier--featured::after {
    background: radial-gradient(closest-side, rgba(0, 212, 255, 0.35), transparent);
    opacity: 0.6;
    inset: -40px;
    border-radius: 50%;
    padding: 0;
    z-index: -1;
    -webkit-mask: none;
    mask: none;
    animation: tier-pulse 5s ease-in-out infinite;
}
@keyframes tier-pulse { 0%, 100% { opacity: 0.4; transform: scale(0.98); } 50% { opacity: 0.75; transform: scale(1.03); } }
.tier--featured .tier__price strong {
    background: linear-gradient(135deg, #FFFFFF, #9BF0FF 50%, #00D4FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.tier .tier__ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    translate: -50% 0;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #031520;
    background: linear-gradient(135deg, #9BF0FF, #00D4FF 45%, #00A8E8);
    box-shadow: 0 8px 24px -4px rgba(0, 212, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.tier__ribbon svg { width: 12px; height: 12px; }

.pricing__note { margin-top: 30px; text-align: center; font-size: 13px; color: var(--text-faint); }

@media (max-width: 980px) {
    .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 30px; }
    .tier--featured, .tier--featured:hover { transform: none; }
}

/* --------------------------- FAQ --------------------------- */
.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
    max-width: 1080px;
    margin: 0 auto;
}
.faq { display: flex; flex-direction: column; gap: 12px; }

.faq__item {
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
    transition: border-color 300ms, background 300ms, box-shadow 400ms;
}
.faq__item::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 450ms var(--ease-out), content-visibility 450ms allow-discrete;
}
.faq__item[open]::details-content { block-size: auto; }

.faq__item-summary {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    cursor: pointer;
    list-style: none;
    font-weight: 500;
    font-size: 16.5px;
    border-radius: inherit;
    transition: background 200ms, color 200ms;
}
.faq__item-summary::-webkit-details-marker { display: none; }
.faq__item-summary:hover { background: rgba(255, 255, 255, 0.03); }
.faq__item-summary:focus-visible { outline-offset: -2px; }
.faq__item-summary::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #9BF0FF, #00A8E8);
    box-shadow: 0 0 12px var(--accent);
    transform: scaleY(0);
    transition: transform 400ms var(--ease-out);
}
.faq__num { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--text-faint); font-variant-numeric: tabular-nums; transition: color 300ms; }
.faq__q { flex: 1; }
.faq__item-icon {
    position: relative;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-mute);
    transition: transform 420ms var(--ease-out), background 300ms, color 300ms, border-color 300ms, box-shadow 300ms;
}
.faq__item-icon::before,
.faq__item-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2px;
    margin: -1px 0 0 -6px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 420ms var(--ease-out);
}
.faq__item-icon::after { transform: rotate(90deg); }
.faq__item-summary:hover .faq__item-icon { color: var(--text); border-color: rgba(0, 212, 255, 0.4); }

.faq__item[open] {
    border-color: rgba(0, 212, 255, 0.35);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(255, 255, 255, 0.02));
    box-shadow: 0 20px 50px -24px rgba(0, 212, 255, 0.45);
}
.faq__item[open] .faq__item-summary { color: var(--text); }
.faq__item[open] .faq__item-summary::before { transform: scaleY(1); }
.faq__item[open] .faq__num { color: var(--accent); }
.faq__item[open] .faq__item-icon {
    color: #031520;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-color: transparent;
    box-shadow: 0 0 18px -2px rgba(0, 212, 255, 0.7);
    transform: rotate(180deg);
}
.faq__item[open] .faq__item-icon::after { transform: rotate(0deg); }

.faq__item-body {
    padding: 0 26px 24px 58px;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.7;
    max-width: 70ch;
}
.faq__item-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0, 212, 255, 0.4); }
.faq__item-body a:hover { text-decoration-color: var(--accent); }

.faq-side { position: sticky; top: 100px; display: grid; gap: 14px; }
.faq-side__card {
    padding: 28px;
    border-radius: 22px;
    background:
        radial-gradient(300px circle at 100% 0%, rgba(0, 212, 255, 0.16), transparent 60%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
}
.faq-side__icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    color: var(--accent);
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 24px -6px rgba(0, 212, 255, 0.7);
}
.faq-side__icon svg { width: 22px; height: 22px; }
.faq-side__card h3 { font-size: 21px; margin-bottom: 8px; }
.faq-side__card p { font-size: 14.5px; color: var(--text-soft); line-height: 1.6; margin-bottom: 20px; }
.faq-side__btn { width: 100%; }
.faq-side__mail { display: block; text-align: center; margin-top: 10px; font-size: 13px; color: var(--text-mute); }
.faq-side__links { display: flex; justify-content: center; gap: 18px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.07); font-size: 13px; }
.faq-side__links a { color: var(--text-soft); transition: color 200ms; }
.faq-side__links a:hover { color: var(--accent); }
.faq-side__help {
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-mute);
}
.faq-side__help strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.faq-side__help a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0, 212, 255, 0.4); }

@media (max-width: 920px) {
    .faq-layout { grid-template-columns: 1fr; max-width: 720px; }
    .faq-side { position: static; }
}
@media (max-width: 600px) {
    .faq__item-summary { padding: 18px 16px; font-size: 15.5px; gap: 12px; }
    .faq__item-body { padding: 0 18px 22px 18px; }
    .faq__item-icon { width: 28px; height: 28px; }
}

/* --------------------------- Final CTA --------------------------- */
.final-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    max-width: 1080px;
    margin: 0 auto;
    padding: clamp(64px, 9vw, 120px) clamp(22px, 5vw, 64px);
    border-radius: 32px;
    text-align: center;
    background: linear-gradient(180deg, #0B1A28, #0A0E14 85%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 50px 120px -40px rgba(0, 212, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.final-cta__aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aurora { position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.75; }
.aurora--1 {
    width: 70%;
    height: 80%;
    left: -10%;
    top: -35%;
    background: radial-gradient(closest-side, rgba(0, 212, 255, 0.55), transparent);
    animation: aurora-a 16s ease-in-out infinite alternate;
}
.aurora--2 {
    width: 60%;
    height: 70%;
    right: -12%;
    top: -25%;
    background: radial-gradient(closest-side, rgba(0, 136, 204, 0.6), transparent);
    animation: aurora-b 19s ease-in-out infinite alternate;
}
.aurora--3 {
    width: 50%;
    height: 50%;
    left: 25%;
    top: -10%;
    background: radial-gradient(closest-side, rgba(155, 240, 255, 0.35), transparent);
    animation: aurora-c 13s ease-in-out infinite alternate;
}
@keyframes aurora-a { to { transform: translate(18%, 12%) scale(1.15) rotate(8deg); } }
@keyframes aurora-b { to { transform: translate(-20%, 16%) scale(0.9) rotate(-10deg); } }
@keyframes aurora-c { to { transform: translate(-14%, 20%) scale(1.25); } }
.final-cta__stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 12% 22%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 28% 68%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1.5px 1.5px at 44% 14%, rgba(155, 240, 255, 0.9), transparent),
        radial-gradient(1px 1px at 63% 78%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1.5px 1.5px at 78% 30%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 88% 62%, rgba(155, 240, 255, 0.8), transparent),
        radial-gradient(1px 1px at 6% 82%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1.5px 1.5px at 94% 12%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 52% 52%, rgba(255, 255, 255, 0.45), transparent),
        radial-gradient(1px 1px at 36% 40%, rgba(155, 240, 255, 0.6), transparent);
    animation: twinkle 6s ease-in-out infinite;
}
.final-cta__arc {
    position: absolute;
    left: -30%;
    right: -30%;
    bottom: -86%;
    height: 100%;
    border-radius: 50%;
    border-top: 1px solid rgba(0, 212, 255, 0.6);
    background: radial-gradient(ellipse 50% 30% at 50% 0%, rgba(0, 212, 255, 0.18), transparent 70%);
    box-shadow: 0 -20px 80px -10px rgba(0, 212, 255, 0.35);
}
.final-cta__content { position: relative; }
.final-cta__mark {
    display: block;
    width: 68px;
    height: 68px;
    margin: 0 auto 24px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.45), 0 0 0 8px rgba(0, 212, 255, 0.06), 0 0 50px rgba(0, 212, 255, 0.55);
}
.final-cta__mark img { width: 100%; height: 100%; object-fit: cover; }
.final-cta__title {
    font-size: clamp(2.5rem, 6.4vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}
.final-cta__sub {
    color: var(--text-soft);
    font-size: clamp(1.02rem, 1.4vw, 1.18rem);
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto 34px;
}
.final-cta__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.final-cta__fine {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-size: 13.5px;
    color: var(--text-mute);
}
.final-cta__fine li { display: inline-flex; align-items: center; gap: 8px; }
.final-cta__fine .check { width: 18px; height: 18px; }
.final-cta__fine .check::after { left: 5.5px; top: 3px; width: 4px; height: 8px; }

@media (max-width: 600px) {
    .final-cta { border-radius: 26px; }
    .final-cta__actions { flex-direction: column; }
    .final-cta__actions .btn { width: 100%; }
    .final-cta__fine { flex-direction: column; align-items: center; }
}

/* --------------------------- Footer --------------------------- */
.site-footer {
    position: relative;
    border-top: 1px solid var(--glass-border);
    padding: 72px 0 32px;
    margin-top: 24px;
    background: linear-gradient(180deg, rgba(13, 21, 32, 0.4), transparent 40%);
}

.grief-note {
    position: relative;
    overflow: hidden;
    margin: 0 0 64px;
    padding: clamp(28px, 4vw, 48px) clamp(24px, 4.5vw, 56px);
    border-radius: 26px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px clamp(18px, 3vw, 34px);
    align-items: start;
    background:
        radial-gradient(500px circle at 0% 0%, rgba(0, 212, 255, 0.12), transparent 60%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.grief-note::after {
    content: '';
    position: absolute;
    left: 0;
    top: 22%;
    bottom: 22%;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #9BF0FF, #00A8E8);
    box-shadow: 0 0 16px var(--accent);
}
.grief-note__mark {
    grid-row: span 2;
    font-family: var(--font-display);
    font-size: clamp(80px, 10vw, 128px);
    font-weight: 700;
    line-height: 0.8;
    background: linear-gradient(180deg, #9BF0FF, rgba(0, 168, 232, 0.25));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.grief-note__quote { margin: 0; }
.grief-note__quote p {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.3vw, 1.75rem);
    line-height: 1.35;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--text);
    text-wrap: balance;
}
.grief-note__help { font-size: 14.5px; line-height: 1.6; color: var(--text-soft); max-width: 70ch; }
.grief-note__label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}
.grief-note__help strong { color: var(--text); }
.grief-note__help a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0, 212, 255, 0.4); }
.grief-note__help a:hover { text-decoration-color: var(--accent); }

@media (max-width: 600px) {
    .grief-note { grid-template-columns: 1fr; }
    .grief-note__mark { grid-row: auto; font-size: 72px; height: 40px; }
}

.site-footer__inner { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; }
.site-footer__brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
}
.site-footer__brand-mark > span { display: inline; }
.site-footer__brand-mark img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.3), 0 0 18px -2px rgba(0, 212, 255, 0.5); }
.site-footer__tagline { color: var(--text-mute); font-size: 14px; margin-top: 10px; }
.site-footer__meta { color: var(--text-faint); font-size: 12.5px; margin-top: 6px; }

.site-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.site-footer__cols h2 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 14px;
}
.site-footer__cols a {
    display: block;
    width: fit-content;
    color: var(--text-soft);
    font-size: 14px;
    margin-bottom: 9px;
    transition: color 200ms;
    position: relative;
}
.site-footer__cols a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -2px;
    height: 1px;
    background: var(--accent);
    transition: right 320ms var(--ease-out);
}
.site-footer__cols a:hover,
.site-footer__cols a:focus-visible { color: var(--text); }
.site-footer__cols a:hover::after { right: 0; }
.site-footer__cols p { color: var(--text-soft); font-size: 13.5px; line-height: 1.55; margin-bottom: 10px; }

.site-footer__imprint {
    grid-column: 1 / -1;
    margin-top: 8px;
    color: var(--text-faint);
    font-size: 12.5px;
    line-height: 1.7;
}
.site-footer__imprint a { color: var(--text-mute); transition: color 200ms; }
.site-footer__imprint a:hover { color: var(--accent); }

.site-footer__bottom {
    grid-column: 1 / -1;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--text-faint);
    font-size: 12.5px;
}

@media (max-width: 760px) {
    .site-footer__inner { grid-template-columns: 1fr; gap: 32px; }
    .site-footer__cols { grid-template-columns: 1fr 1fr; }
    .site-footer__cols > :last-child { grid-column: 1 / -1; }
}

/* --------------------------- Legal pages --------------------------- */
.legal {
    padding: 140px var(--gutter) 80px;
    max-width: calc(780px + 2 * var(--gutter));
    margin: 0 auto;
}

.legal__head {
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--glass-border);
}
/* `.legal p` would otherwise inflate these two to body size. */
.legal .legal__head .eyebrow { font-size: 12px; line-height: 1.6; margin-bottom: 18px; }
.legal .legal__head .legal__updated { font-size: 13px; color: var(--text-mute); margin-bottom: 0; }

.legal h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.legal__updated {
    color: var(--text-mute);
    font-size: 13px;
    margin-bottom: 36px;
}
.legal__head .legal__updated { margin-bottom: 0; }

/* "On this page" — a glass card in the same language as the FAQ items. */
.legal__toc { margin-bottom: 40px; }
.legal__toc details {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: border-color 200ms;
}
.legal__toc details[open] { border-color: rgba(0, 212, 255, 0.22); }
.legal__toc summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    border-radius: inherit;
}
.legal__toc summary::-webkit-details-marker { display: none; }
.legal__toc summary::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 320ms var(--ease-out);
}
.legal__toc details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.legal__toc summary:hover { background: rgba(255, 255, 255, 0.03); }
.legal__toc summary:focus-visible { outline-offset: -2px; }
.legal .legal__toc ol {
    margin: 0;
    padding: 0 22px 20px 44px;
    columns: 2 260px;
    column-gap: 36px;
}
.legal .legal__toc li {
    font-size: 14px;
    line-height: 1.45;
    margin: 0 0 8px;
    break-inside: avoid;
    color: var(--text-faint);
    font-variant-numeric: tabular-nums;
}
.legal .legal__toc li::marker { color: var(--accent); }
.legal .legal__toc a {
    color: var(--text-soft);
    text-decoration: none;
    transition: color 200ms;
}
.legal .legal__toc a:hover { color: var(--accent); }

.legal__body > :first-child { margin-top: 0; }
.legal strong { color: var(--text); font-weight: 600; }
.legal h2[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
.legal li::marker { color: var(--accent); }

.legal h2 {
    font-size: clamp(20px, 2.2vw, 24px);
    line-height: 1.25;
    margin-top: 48px;
    margin-bottom: 14px;
    color: var(--text);
}
.legal h3 {
    font-size: 18px;
    margin: 28px 0 10px;
    color: var(--text);
}

.legal p, .legal li {
    color: var(--text-soft);
    font-size: 15.5px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal ul {
    margin: 0 0 20px;
    padding-left: 22px;
}

.legal a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(0, 212, 255, 0.4);
    transition: text-decoration-color 200ms;
}

.legal a:hover { text-decoration-color: var(--accent); }

/* Guide pages reuse the legal reading layout; this is the closing CTA card. */
.guide-cta {
    margin-top: 56px;
    padding: 32px;
    border-radius: 22px;
    text-align: center;
    background:
        radial-gradient(360px circle at 100% 0%, rgba(0, 212, 255, 0.16), transparent 60%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
}
.legal .guide-cta h2 { margin-top: 0; }
.legal .guide-cta p { margin-bottom: 22px; }
.legal a.btn { text-decoration: none; }
.legal a.btn-primary { color: var(--bg); }

/* --------------------------- Cookie consent banner --------------------------- */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    padding: 16px;
    animation: cookie-rise 360ms var(--ease-out);
}

@keyframes cookie-rise {
    from { transform: translateY(120%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.cookie-consent__panel {
    max-width: 880px;
    margin: 0 auto;
    padding: 22px 26px;
    background: linear-gradient(135deg, rgba(20, 27, 38, 0.96), rgba(13, 21, 32, 0.96));
    border: 1px solid var(--glass-border-strong);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--accent-soft);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    gap: 26px;
}

.cookie-consent__title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 4px;
}

.cookie-consent__body {
    color: var(--text-soft);
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.cookie-consent__body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-consent__btn:focus-visible { outline-offset: 3px; border-radius: 12px; }
.cookie-consent__btn:active { transform: scale(0.98); }

.cookie-consent__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent__btn {
    padding: 12px 22px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform 180ms var(--ease-out), background 180ms, border-color 180ms, box-shadow 180ms;
    border: 1px solid transparent;
    /* Equal-prominence sizing: both buttons share the same dimensions. */
    min-width: 132px;
}

.cookie-consent__btn--reject {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border-color: var(--glass-border-strong);
}

.cookie-consent__btn--reject:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.cookie-consent__btn--accept {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: var(--bg);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.28);
}

.cookie-consent__btn--accept:hover {
    box-shadow: 0 12px 28px rgba(0, 212, 255, 0.45);
    transform: translateY(-1px);
}

@media (max-width: 720px) {
    .cookie-consent__panel {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }
    .cookie-consent__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .cookie-consent__btn {
        min-width: 0;
        width: 100%;
    }
}

/* --------------------------- Tables (legal pages) ---------------------------
   <table data-sortable> is enhanced by site.js: wrapped in .table-wrap, given a
   "#" row-number column (.col-num) and header sort buttons (.sort-btn). */
.table-wrap {
    margin: 20px 0 28px;
    overflow-x: auto;
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    scrollbar-width: thin;
    scrollbar-color: var(--surface-3) transparent;
}

.legal table {
    width: 100%;
    margin: 20px 0 24px;
    border-collapse: collapse;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.table-wrap table {
    margin: 0;
    border: 0;
    background: none;
    min-width: 560px;
}

.legal th, .legal td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--glass-border);
    font-size: 14px;
    line-height: 1.55;
    vertical-align: top;
}

.legal thead th {
    background: rgba(0, 212, 255, 0.06);
    color: var(--text);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
    vertical-align: bottom;
}

.legal thead th:has(.sort-btn) { padding: 0; }

.legal tbody tr:last-child td { border-bottom: 0; }
.legal tbody tr { transition: background 160ms; }
.legal tbody tr:hover { background: rgba(0, 212, 255, 0.035); }

.legal td { color: var(--text-soft); }
.legal td:nth-child(2) { font-weight: 500; color: var(--text); }
.legal table:not([data-enhanced]) td:first-child { font-weight: 500; color: var(--text); }

.legal .col-num {
    width: 3.25rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
    color: var(--text-faint);
    font-weight: 500;
}
.legal thead .col-num .sort-btn { justify-content: center; }

.sort-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    color: inherit;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-align: left;
    transition: background 160ms, color 160ms;
}
.sort-btn:hover { background: rgba(0, 212, 255, 0.08); color: var(--accent); }
.sort-btn:focus-visible { outline-offset: -3px; border-radius: 4px; }
.sort-icon::before { content: "↕"; color: var(--text-faint); font-weight: 400; }
th[aria-sort="ascending"] .sort-icon::before { content: "↑"; color: var(--accent); }
th[aria-sort="descending"] .sort-icon::before { content: "↓"; color: var(--accent); }
th[aria-sort="ascending"] .sort-btn,
th[aria-sort="descending"] .sort-btn { color: var(--accent); }
/* The "#" column starts as the active (original-order) sort; keep it quiet. */
th.col-num[aria-sort="ascending"] .sort-btn { color: inherit; }

@media (max-width: 600px) {
    .legal { padding-top: 112px; }
    .legal p, .legal li { font-size: 15px; }
    .legal .legal__toc ol { padding: 0 18px 18px 38px; }
    .legal__toc summary { padding: 16px 18px; }
}

/* --------------------------- Status / error page --------------------------- */
.status-page {
    min-height: 72vh;
    min-height: 72svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 140px;
    padding-bottom: 40px;
}
.status-page__title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    max-width: 14ch;
}
.status-page .lede { max-width: 48ch; margin: 18px auto 32px; }
.status-page__meta { color: var(--text-mute); font-size: 13px; margin: -12px 0 28px; }
.status-page code { color: var(--text-soft); }

/* --------------------------- Utilities --------------------------- */
.reveal { /* visible by default; gated below */ }
.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    will-change: transform, opacity;
}

/* --------------------------- Reduced motion ---------------------------
   Everything must look complete and composed without motion: entrance states
   resolve to their final frame, ambient loops stop. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0s !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
        scroll-behavior: auto !important;
    }

    .js .hero__eyebrow,
    .js .hero__title,
    .js .hero__lede,
    .js .hero__ctas,
    .js .hero__trust,
    .js .hero__visual,
    .js .reveal { opacity: 1; transform: none; }
    .js .journey__rail-fill { --p: 1; }
    .js .demo__stage .callout { opacity: 1; }

    /* Stop ambient loops outright rather than snapping them to an end frame. */
    .hchat, .hfloat, .hero__halo, .hero__ring--2, .hero__field .hs, .hero__threads line,
    .hero__scroll-mouse i, .typing i, .jv-caret,
    .orbit__spin, .orbit__flow, .orbit__pulse,
    .quirk, .fv-mem__line li.is-now::before, .fv-lock__shield, .fv-care__icon,
    .soon-badge i, .fv-voice__wave i, .fv-voice__ripple, .fv-voice__ripple::before,
    .demo__halo, .phone, .callout,
    .pillar, .tier--featured::before, .tier--featured::after,
    .aurora, .final-cta__stars,
    .eyebrow::before, .text-gradient { animation: none !important; }

    .orbit__pulse--2 { display: none; }
    .orbit__pulse { transform: scale(1.15); opacity: 0.5; }
    .eyebrow::before { opacity: 0; }
    .phone { transform: perspective(1400px); }
    .pillar { --beam-angle: 200deg; }
    .tier--featured::before { --beam-angle: 300deg; }

    .glass--lift:hover,
    .btn:hover,
    .tier--featured:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) and (min-width: 981px) {
    .tier--featured,
    .tier--featured:hover { transform: translateY(-14px); }
}
