/* =========================================================
   Smartan — site styles
   Brand: deep green / ink / mint (from the smartan.ai theme)
   ========================================================= */
:root {
    --bg: #03201d;
    --bg-2: #062b27;
    --ink: #083c37;
    --green: #0c4f48;
    --mint: #a4feb7;
    --mint-2: #5fe39a;
    --paper: #fbfaf6;
    --soft: #f0f5f1;
    --white: #fff;
    --text: #0d1f1d;
    --muted: #5b6c69;
    --line: #e1e8e3;
    --d-text: #e6f2ee;
    --d-muted: #92b2ab;
    --d-line: rgba(164, 254, 183, .12);
    --risk: #ff8f7e;
    --watch: #f5c451;

    --radius: 22px;
    --radius-sm: 12px;
    --container: 1200px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-head: "Poppins", var(--font);
    --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.7;
    color: var(--text); background: var(--paper);
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
    overflow-x: hidden; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .55em; font-weight: 600; letter-spacing: -.025em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.18rem; letter-spacing: -.01em; line-height: 1.3; }
h2 em { font-style: normal; color: var(--green); background: linear-gradient(transparent 62%, rgba(164, 254, 183, .7) 0); }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
::selection { background: var(--mint); color: var(--ink); }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--mint); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--mint-2); outline-offset: 3px; border-radius: 6px; }

.display { font-size: clamp(2.4rem, 4.9vw, 4.1rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 600; }
.grad {
    background: linear-gradient(100deg, var(--mint) 0%, #d8ffe1 40%, var(--mint-2) 80%);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 1.1em; }
.eyebrow .num { font-family: var(--font-head); letter-spacing: 0; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: var(--mint); font-size: .75rem; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); line-height: 1.65; }
.card-label { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .82em 1.45em; border-radius: 999px; border: 1.5px solid transparent;
    font: 600 .95rem/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn-sm { padding: .66em 1.15em; font-size: .88rem; }
.btn-lg { padding: 1.02em 1.75em; font-size: 1rem; }
.btn-arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .btn-arrow, a:hover > .btn-arrow, .track:hover .btn-arrow { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-mint { background: var(--mint); color: var(--ink); box-shadow: 0 8px 30px -8px rgba(164, 254, 183, .6); }
.btn-mint:hover { background: #c3ffd0; box-shadow: 0 14px 40px -10px rgba(164, 254, 183, .8); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--bg); box-shadow: 0 14px 30px -12px rgba(3, 32, 29, .6); }
.btn-outline-light { color: var(--d-text); border-color: rgba(230, 242, 238, .28); background: rgba(255, 255, 255, .03); }
.btn-outline-light:hover { border-color: var(--mint); color: var(--mint); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--mint-2), var(--mint)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
    transition: background-color .4s, box-shadow .4s, backdrop-filter .4s, transform .4s var(--ease);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; display: block; width: 132px; height: 29px; flex: none; z-index: 2; }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s; }
.logo-dark { opacity: 0; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav ul { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); transition: background-color .4s, border-color .4s; }
.site-nav ul a {
    display: block; padding: 8px 16px; border-radius: 999px; color: var(--d-text);
    text-decoration: none; font-weight: 500; font-size: .92rem; transition: color .25s, background-color .25s;
}
.site-nav ul a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.site-nav ul a[aria-current="page"] { background: rgba(164, 254, 183, .14); color: var(--mint); }

.site-header.is-scrolled { background: rgba(251, 250, 246, .82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(3, 32, 29, .3); }
.site-header.is-scrolled .logo-light { opacity: 0; }
.site-header.is-scrolled .logo-dark { opacity: 1; }
.site-header.is-scrolled .site-nav ul { background: rgba(8, 60, 55, .04); border-color: rgba(8, 60, 55, .07); }
.site-header.is-scrolled .site-nav ul a { color: var(--text); }
.site-header.is-scrolled .site-nav ul a:hover { background: rgba(8, 60, 55, .06); color: var(--ink); }
.site-header.is-scrolled .site-nav ul a[aria-current="page"] { background: var(--ink); color: var(--mint); }
.site-header.is-scrolled .btn-mint { box-shadow: none; }

.nav-toggle { display: none; }
@media (max-width: 900px) {
    .nav-toggle {
        display: grid; place-items: center; width: 46px; height: 46px; z-index: 2;
        border: 1px solid rgba(255, 255, 255, .15); border-radius: 50%; background: rgba(255, 255, 255, .05); cursor: pointer;
    }
    .site-header.is-scrolled .nav-toggle { border-color: var(--line); background: var(--white); }
    .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
        display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--d-text); position: relative; transition: transform .35s var(--ease), background-color .2s;
    }
    .site-header.is-scrolled .nav-toggle-bar, .site-header.is-scrolled .nav-toggle-bar::before, .site-header.is-scrolled .nav-toggle-bar::after { background: var(--ink); }
    .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
    .nav-toggle-bar::before { top: -6px; }
    .nav-toggle-bar::after { top: 6px; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent !important; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); background: var(--d-text) !important; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); background: var(--d-text) !important; }

    .site-nav {
        position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 36px;
        padding: 100px 32px 40px; background: var(--bg);
        clip-path: circle(0 at calc(100% - 47px) 38px); visibility: hidden;
        transition: clip-path .6s var(--ease), visibility 0s .6s;
    }
    .site-nav.is-open { clip-path: circle(150% at calc(100% - 47px) 38px); visibility: visible; transition: clip-path .7s var(--ease); }
    .site-nav ul { flex-direction: column; gap: 4px; padding: 0; background: none !important; border: 0 !important; }
    .site-nav ul a { font-family: var(--font-head); font-size: 2.2rem; font-weight: 600; padding: 4px 0; color: var(--d-text) !important; background: none !important; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease); }
    .site-nav ul a[aria-current="page"] { color: var(--mint) !important; }
    .site-nav.is-open ul a { opacity: 1; transform: none; }
    .site-nav.is-open li:nth-child(2) a { transition-delay: .06s; }
    .site-nav.is-open li:nth-child(3) a { transition-delay: .12s; }
    .site-nav.is-open li:nth-child(4) a { transition-delay: .18s; }
    .site-nav.is-open li:nth-child(5) a { transition-delay: .24s; }
    body.nav-open { overflow: hidden; }
    body.nav-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
    body.nav-open .logo-light { opacity: 1 !important; }
    body.nav-open .logo-dark { opacity: 0 !important; }
}

/* ---------- Dark hero backgrounds ---------- */
.hero, .page-hero, .section-dark { position: relative; background: var(--bg); color: var(--d-muted); isolation: isolate; overflow: hidden; overflow: clip; }
.hero h1, .page-hero h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.hero .lead, .page-hero .lead, .section-dark .lead { color: var(--d-muted); }
.section-dark .eyebrow { color: var(--mint); }
.section-dark .eyebrow .num { background: var(--mint); color: var(--ink); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(164, 254, 183, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(164, 254, 183, .06) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: float 16s ease-in-out infinite; }
.glow-a { width: 560px; height: 560px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(95, 227, 154, .55), transparent 65%); }
.glow-b { width: 480px; height: 480px; left: -160px; bottom: -200px; background: radial-gradient(circle, rgba(12, 79, 72, .9), transparent 65%); animation-delay: -6s; }
.glow-c { width: 700px; height: 700px; left: 50%; top: 20%; transform: translateX(-50%); background: radial-gradient(circle, rgba(12, 79, 72, .8), transparent 65%); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 30px 40px; } }

.chip {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 1.6rem; padding: 7px 14px 7px 10px;
    border-radius: 999px; border: 1px solid var(--d-line); background: rgba(164, 254, 183, .06);
    color: var(--d-text); font-size: .85rem; font-weight: 500;
}
.chip-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.chip-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--mint); animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }

/* ---------- Home hero ---------- */
.hero { padding: calc(var(--header-h) + clamp(32px, 4.5vw, 64px)) 0 clamp(70px, 7.5vw, 104px); }
.hero-visual { max-width: 460px; justify-self: end; width: 100%; }
.hero-visual .pose-stage { aspect-ratio: 400 / 450; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero-copy .lead { max-width: 560px; margin-top: 1.4rem; }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 48px); margin: 3rem 0 0; padding-top: 2rem; border-top: 1px solid var(--d-line); }
.hero-stats dt { font-family: var(--font-head); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 600; color: var(--white); line-height: 1; }
.hero-stats dd { margin: 8px 0 0; font-size: .85rem; color: var(--d-muted); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; } }
@media (max-width: 480px) { .hero-stats { flex-wrap: wrap; } }

/* ---------- Pose card (animated skeleton) ---------- */
.pose-card {
    position: relative; padding: 14px; border-radius: 28px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
    border: 1px solid rgba(164, 254, 183, .16);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
}
.pose-top { display: flex; justify-content: space-between; align-items: center; padding: 4px 8px 12px; font-size: .8rem; color: var(--d-muted); }
.rec { display: inline-flex; align-items: center; gap: 8px; color: var(--d-text); font-weight: 500; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5b5b; animation: blink 1.4s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.pose-ex { padding: 4px 10px; border-radius: 999px; background: rgba(164, 254, 183, .1); color: var(--mint); font-weight: 500; }
.pose-stage {
    position: relative; overflow: hidden; border-radius: 20px; aspect-ratio: 400 / 470;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(95, 227, 154, .18), transparent 60%),
        linear-gradient(rgba(164, 254, 183, .05) 1px, transparent 1px) 0 0 / 100% 32px,
        linear-gradient(90deg, rgba(164, 254, 183, .05) 1px, transparent 1px) 0 0 / 32px 100%,
        #021714;
}
.pose-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pose-scan { position: absolute; left: 0; right: 0; height: 90px; top: -90px; background: linear-gradient(180deg, transparent, rgba(164, 254, 183, .12) 80%, rgba(164, 254, 183, .5) 100%); animation: scan 4.5s linear infinite; z-index: 1; pointer-events: none; }
.pose-scan::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
@keyframes scan { to { top: 100%; } }
.hud { position: absolute; top: 14px; display: grid; gap: 8px; z-index: 2; }
.hud-left { left: 14px; }
.hud-right { right: 14px; text-align: right; }
.hud-item { padding: 8px 12px; border-radius: 12px; background: rgba(3, 32, 29, .72); border: 1px solid var(--d-line); backdrop-filter: blur(6px); min-width: 108px; }
.hud-item span { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--d-muted); }
.hud-item strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--white); font-variant-numeric: tabular-nums; font-weight: 600; }
.hud-item strong.is-bad { color: var(--risk); }
.hud-item strong.is-good { color: var(--mint); }
.fault {
    position: absolute; left: 50%; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
    padding: 9px 16px; border-radius: 999px; white-space: nowrap; font-size: .85rem; color: var(--white);
    background: rgba(255, 143, 126, .16); border: 1px solid rgba(255, 143, 126, .55); backdrop-filter: blur(6px);
    transform: translate(-50%, 20px); opacity: 0; transition: opacity .35s, transform .45s var(--ease);
}
.fault.is-on { opacity: 1; transform: translate(-50%, 0); }
.fault-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--risk); box-shadow: 0 0 0 4px rgba(255, 143, 126, .25); }
.pose-reps { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; padding: 14px 6px 4px; }
.pose-reps i { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .08); transition: background-color .4s; }
.pose-reps i.done { background: var(--mint-2); }
.pose-reps i.bad { background: var(--risk); }
.pose-reps i.now { background: rgba(164, 254, 183, .45); animation: pulse 1s ease-in-out infinite alternate; }
@keyframes pulse { from { opacity: .4; } to { opacity: 1; } }
.pose-svg .bone { stroke: rgba(164, 254, 183, .85); stroke-width: 5; stroke-linecap: round; }
.pose-svg .bone.is-bad { stroke: var(--risk); }
.pose-svg .joint { fill: #021714; stroke: var(--mint); stroke-width: 2.5; }
.pose-svg .joint.is-bad { stroke: var(--risk); fill: var(--risk); }
.pose-svg .head { fill: none; stroke: rgba(164, 254, 183, .85); stroke-width: 3; }
.pose-svg .ghost { stroke: rgba(255, 255, 255, .18); stroke-width: 3; stroke-dasharray: 4 8; stroke-linecap: round; }
.pose-svg .arc { fill: rgba(164, 254, 183, .12); stroke: var(--mint); stroke-width: 1.5; }
.pose-svg .floor { stroke: rgba(164, 254, 183, .25); stroke-width: 1; stroke-dasharray: 2 6; }
.pose-svg .halo { fill: rgba(255, 143, 126, .25); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--mint); color: var(--ink); padding: 18px 0; border-block: 1px solid rgba(8, 60, 55, .1); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee ul { display: flex; flex: none; }
.marquee li { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; white-space: nowrap; padding-right: 44px; display: flex; align-items: center; gap: 44px; }
.marquee li::after { content: "✦"; font-size: .8rem; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-soft { background: var(--soft); }
.section-flush-top { padding-top: 0; }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { text-align: center; margin-inline: auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split-rev > :first-child { order: 0; }
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
    .split-rev > :first-child { order: 2; }
}

/* ---------- Spotlight cards (mouse-follow glow) ---------- */
.spot { position: relative; isolation: isolate; }
.spot::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(95, 227, 154, .16), transparent 45%);
    opacity: 0; transition: opacity .4s;
}
.spot:hover::before { opacity: 1; }

/* ---------- Problem ---------- */
.big-stat { display: flex; align-items: center; gap: 22px; margin-top: 2.2rem; padding: 22px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: 0 20px 50px -30px rgba(3, 32, 29, .35); }
.big-stat strong { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--ink); white-space: nowrap; letter-spacing: -.03em; }
.big-stat > span { color: var(--muted); font-size: .95rem; line-height: 1.55; }
@media (max-width: 560px) { .big-stat { flex-direction: column; align-items: flex-start; } }

.timeline-card { padding: 30px; border-radius: 28px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgba(3, 32, 29, .45); }
.timeline { position: relative; margin: 22px 0 18px; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--mint-2), var(--risk)); transform-origin: top; transform: scaleY(var(--tl, 1)); transition: transform 1.6s var(--ease) .2s; }
.js .timeline-card:not(.is-in) .timeline { --tl: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.timeline li::before { content: ""; position: absolute; left: -25px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--white); border: 2px solid var(--green); z-index: 1; }
.t-day { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.js .timeline-card .timeline li { opacity: 0; transform: translateX(-12px); transition: opacity .5s, transform .6s var(--ease); }
.js .timeline-card.is-in .timeline li { opacity: 1; transform: none; }
.js .timeline-card.is-in .timeline li:nth-child(2) { transition-delay: .35s; }
.js .timeline-card.is-in .timeline li:nth-child(3) { transition-delay: .7s; }
.js .timeline-card.is-in .timeline li:nth-child(4) { transition-delay: 1.05s; }
.pill { font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--green); }
.pill.ok { background: #dcfbe3; color: #116a3a; }
.pill.watch { background: #fdf0cc; color: #7a5a00; }
.pill.risk { background: #ffe1dc; color: #a3311f; }
.timeline-foot { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--bg); color: var(--d-text); font-size: .95rem; }
.timeline-foot strong { color: var(--risk); }
.timeline-foot .eye { color: var(--mint); margin-right: 6px; }

/* ---------- What we do ---------- */
.wwd-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .wwd-grid { grid-template-columns: 1fr; } }
.chart-card { margin: 0; padding: 30px; border-radius: 28px; background: var(--bg); color: var(--d-muted); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.chart-card .card-label { color: var(--d-muted); }
.chart-head { display: flex; justify-content: space-between; align-items: center; }
.chart-badge { font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: rgba(245, 196, 81, .15); color: var(--watch); }
.chart-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.chart-col { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.chart-label { margin-top: 6px; font-size: .78rem; }
.cell { display: inline-block; width: 100%; max-width: 46px; aspect-ratio: 1.6; border-radius: 8px; background: rgba(255, 255, 255, .06); }
.cell-c { background: var(--mint-2); }
.cell-f { background: var(--watch); box-shadow: 0 0 0 4px rgba(245, 196, 81, .18); }
.cell-m { background: transparent; border: 2px dashed rgba(255, 143, 126, .8); }
.cell-r { background: transparent; border: 2px solid var(--mint); }
.js [data-chart] .chart-grid .cell { opacity: 0; transform: scale(.4); transition: opacity .4s, transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 28ms); }
.js [data-chart].is-in .chart-grid .cell { opacity: 1; transform: none; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .84rem; color: var(--d-text); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend .cell { width: 16px; aspect-ratio: 1; border-radius: 4px; }
.wwd-cards { display: grid; gap: 24px; }
.icon-card { padding: 30px; border-radius: 28px; background: var(--white); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.icon-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -35px rgba(3, 32, 29, .4); }
.icon-card p { margin: 0; color: var(--muted); }
.icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; background: var(--ink); color: var(--mint); }

/* ---------- How it works (scrollytelling) ---------- */
.story-scroll { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 100px); }
.story-steps { counter-reset: s; }
.story-step { min-height: min(72vh, 680px); display: flex; flex-direction: column; justify-content: center; padding: 30px 0 30px 32px; border-left: 2px solid rgba(255, 255, 255, .08); position: relative; transition: opacity .5s; opacity: .32; }
.story-step::before { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--mint); transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease); }
.story-step.is-active { opacity: 1; }
.story-step.is-active::before { transform: scaleY(1); }
.step-index { font-family: var(--font-head); font-size: .9rem; font-weight: 600; color: var(--mint); letter-spacing: .1em; margin-bottom: 12px; }
.story-step h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: .4em; }
.story-step p { font-size: 1.08rem; max-width: 460px; color: var(--d-muted); margin: 0; }
.step-img { display: none; }
.no-js .story-step, html:not(.js) .story-step { opacity: 1; }
@media (max-width: 900px) {
    .story-scroll { grid-template-columns: 1fr; }
    .story-stage { display: none; }
    .story-step { min-height: 0; opacity: 1; padding: 28px 0 28px 24px; }
    .story-step::before { transform: scaleY(1); }
    .step-img { display: block; width: min(240px, 70%); margin-top: 22px; border-radius: 26px; border: 6px solid #0f2f2b; }
}

/* ---------- Clinician dashboard mock ---------- */
.dash { border-radius: 26px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 40px 90px -45px rgba(3, 32, 29, .55); overflow: hidden; }
.dash-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #f7f9f7; }
.dash-bar span { width: 10px; height: 10px; border-radius: 50%; background: #dfe5e1; }
.dash-bar em { margin-left: 10px; font-style: normal; font-size: .8rem; color: var(--muted); font-weight: 500; }
.dash-body { display: grid; grid-template-columns: 1.1fr 1fr; }
.dash-body img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 902 / 1100; background: var(--bg); }
.dash-side { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.dash-score strong { font-family: var(--font-head); font-size: 3.2rem; line-height: 1; color: var(--ink); letter-spacing: -.04em; }
.dash-score span { color: var(--muted); font-size: .9rem; margin-left: 4px; }
.dash-joints { display: grid; gap: 14px; }
.dash-joints li { display: grid; gap: 6px; font-size: .85rem; font-weight: 500; }
.bar { height: 8px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: var(--green); transform-origin: 0 50%; transition: transform 1.2s var(--ease) .3s; }
.bar i.warn { background: var(--watch); }
.w-92 { width: 92%; } .w-88 { width: 88%; } .w-64 { width: 64%; }
.js .dash:not(.is-in) .bar i { transform: scaleX(0); }
.dash-timeline { position: relative; height: 46px; margin: 0 18px 18px; border-radius: 10px; background: var(--soft); overflow: hidden; }
.dash-timeline::before { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; background: var(--line); }
.mark { position: absolute; top: 12px; width: 6px; height: 22px; border-radius: 3px; }
.mark-watch { background: var(--watch); }
.mark-risk { background: #e8553f; }
.m1 { left: 22%; } .m2 { left: 51%; } .m3 { left: 78%; }
.playhead { position: absolute; top: 6px; bottom: 6px; width: 2px; background: var(--ink); left: 4%; animation: playhead 7s linear infinite; }
.playhead::before { content: ""; position: absolute; top: -3px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
@keyframes playhead { to { left: 96%; } }
@media (max-width: 520px) { .dash-body { grid-template-columns: 1fr; } }

.checklist { display: grid; gap: 16px; margin-top: 1.6rem; }
.checklist li { position: relative; padding-left: 38px; color: var(--muted); }
.checklist li strong { color: var(--ink); }
.checklist li::before {
    content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 8px;
    background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23a4feb7' stroke-width='3' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat;
}
.checklist-light li { color: var(--d-muted); }
.checklist-light li::before { background-color: rgba(164, 254, 183, .12); }

/* ---------- Tracks ---------- */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .tracks { grid-template-columns: 1fr; } }
.track {
    display: flex; flex-direction: column; min-height: 340px; padding: clamp(28px, 4vw, 44px); border-radius: 30px;
    background: var(--white); border: 1px solid var(--line); color: var(--muted); text-decoration: none;
    transition: transform .5s var(--ease), box-shadow .5s;
}
.track:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(3, 32, 29, .5); }
.track h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: auto; }
.track p { max-width: 420px; }
.track-link { font-weight: 600; color: var(--green); margin-top: 8px; }
.track-dark { background: var(--bg); border-color: transparent; color: var(--d-muted); }
.track-dark h3 { color: var(--white); }
.track-dark .track-link { color: var(--mint); }
.track-dark::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(95, 227, 154, .35), transparent 65%); z-index: -1; }
.track-dark { overflow: hidden; }
.tag { display: inline-block; align-self: flex-start; padding: 5px 13px; border-radius: 999px; background: var(--mint); color: var(--ink); font-size: .76rem; font-weight: 600; margin-bottom: 1.2rem; }
.tag-soft { background: var(--soft); color: var(--green); }
.tag-ghost { background: rgba(164, 254, 183, .1); color: var(--mint); border: 1px solid var(--d-line); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento-card { padding: 28px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); min-height: 210px; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.bento-card:hover { transform: translateY(-4px); border-color: rgba(12, 79, 72, .25); box-shadow: 0 30px 60px -40px rgba(3, 32, 29, .5); }
.bento-wide { grid-column: span 2; background: var(--bg); border-color: transparent; }
.bento-wide h3 { color: var(--white); font-size: 1.5rem; }
.bento-wide p { color: var(--d-muted) !important; max-width: 380px; }
.bento-wide .bento-num { color: var(--mint); border-color: var(--d-line); }
.bento-num { align-self: flex-start; font-family: var(--font-head); font-size: .78rem; font-weight: 600; color: var(--green); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); margin-bottom: auto; }
.bento-card h3 { margin-top: 28px; margin-bottom: .35em; }
.bento-card p { margin: 0; color: var(--muted); font-size: .94rem; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento-wide { grid-column: auto; } }

/* ---------- Founders page ---------- */
.profiles { display: grid; gap: clamp(90px, 12vw, 160px); }
.profile { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.profile-rev .profile-media { order: 2; }
.profile-media { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.profile-photo { position: relative; z-index: 1; border-radius: 32px; overflow: hidden; background: linear-gradient(160deg, var(--soft), #cfe6da); box-shadow: 0 50px 90px -50px rgba(3, 32, 29, .6); }
.profile-photo img { width: 100%; aspect-ratio: 560 / 582; object-fit: cover; transition: transform 1.2s var(--ease); }
.profile:hover .profile-photo img { transform: scale(1.04); }
.profile-ring { position: absolute; inset: -22px; border-radius: 44px; border: 1.5px dashed rgba(12, 79, 72, .25); z-index: 0; }
.profile-ring::before { content: ""; position: absolute; width: 140px; height: 140px; right: -40px; top: -40px; border-radius: 50%; background: radial-gradient(circle, rgba(95, 227, 154, .55), transparent 65%); filter: blur(6px); animation: float 10s ease-in-out infinite; }
.profile-badge { position: absolute; z-index: 2; left: -14px; bottom: 28px; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--mint); font-family: var(--font-head); font-weight: 600; font-size: .95rem; box-shadow: 0 20px 40px -18px rgba(3, 32, 29, .7); animation: bob 5s ease-in-out infinite; }
.profile-rev .profile-badge { left: auto; right: -14px; }
.profile-body h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: .4em; }
.profile-body > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.profile-quote { margin: 0 0 1.6rem; padding: 4px 0 4px 22px; border-left: 3px solid var(--mint-2); font-family: var(--font-head); font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.45; color: var(--ink); font-weight: 500; }
.profile-focus { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.6rem; }
.profile-focus span { padding: 7px 14px; border-radius: 999px; font-size: .84rem; font-weight: 500; color: var(--green); background: var(--white); border: 1px solid var(--line); }
@media (max-width: 900px) {
    .profile { grid-template-columns: 1fr; }
    .profile-rev .profile-media { order: 0; }
    .profile-media { max-width: 360px; }
}

/* About → founders link card */
.team-link { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: 32px; background: var(--bg); text-decoration: none; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.team-link:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -40px rgba(3, 32, 29, .6); }
.team-link .eyebrow { color: var(--mint); margin-bottom: .6em; }
.team-link h2 { color: var(--white); margin: 0; font-size: clamp(1.5rem, 3vw, 2.4rem); }
.team-faces { display: flex; }
.team-faces img { width: clamp(72px, 9vw, 110px); aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 50%; border: 4px solid var(--bg); background: var(--soft); transition: transform .5s var(--ease); }
.team-faces img + img { margin-left: -24px; }
.team-link:hover .team-faces img:first-child { transform: translateX(-8px) rotate(-4deg); }
.team-link:hover .team-faces img + img { transform: translateX(8px) rotate(4deg); }
.team-arrow { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--mint); color: var(--ink); font-size: 1.5rem; transition: transform .5s var(--ease); }
.team-link:hover .team-arrow { transform: rotate(-45deg) scale(1.08); }
@media (max-width: 700px) { .team-link { grid-template-columns: 1fr; } .team-arrow { width: 52px; height: 52px; } }

/* ---------- CTA ---------- */
.cta { padding: 0 0 clamp(80px, 10vw, 130px); background: var(--paper); }
.section-soft + .cta { padding-top: clamp(80px, 10vw, 130px); background: var(--soft); }
.cta-panel { position: relative; overflow: hidden; isolation: isolate; border-radius: 36px; background: var(--bg); padding: clamp(48px, 8vw, 100px) clamp(28px, 6vw, 80px); text-align: center; }
.cta-orb { position: absolute; z-index: -1; width: 640px; height: 640px; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; background: conic-gradient(from 0deg, rgba(95, 227, 154, .55), rgba(12, 79, 72, .2), rgba(164, 254, 183, .5), rgba(12, 79, 72, .2), rgba(95, 227, 154, .55)); filter: blur(80px); opacity: .6; animation: spin 18s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.cta-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(164, 254, 183, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(164, 254, 183, .07) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%); mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%); }
.cta-content { max-width: 680px; margin-inline: auto; }
.cta h2 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.4rem); }
.cta p { color: var(--d-text); opacity: .8; font-size: 1.1rem; margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--bg); color: var(--d-muted); padding: 90px 0 0; font-size: .95rem; }
.site-footer a { color: var(--d-text); text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: var(--mint); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--d-line); }
.footer-brand img { width: 140px; margin-bottom: 22px; }
.footer-brand p { max-width: 380px; }
.footer-title { font-family: var(--font); color: var(--white); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--d-line); transition: background-color .3s, color .3s, transform .3s var(--ease); }
.social a:hover { background: var(--mint); color: var(--ink); transform: translateY(-3px); }
.footer-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-word { font-family: var(--font-head); font-weight: 700; font-size: clamp(5rem, 22vw, 20rem); line-height: .78; letter-spacing: -.06em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(164, 254, 183, .14); user-select: none; margin-bottom: -.06em; pointer-events: none; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ---------- Inner page hero ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(60px, 9vw, 120px)) 0 clamp(70px, 9vw, 120px); text-align: center; }
.page-hero-inner { max-width: 900px; }
.page-hero .lead { max-width: 640px; margin: 1.4rem auto 0; }
.page-hero .btn-row { justify-content: center; }

/* ---------- About ---------- */
.statement { font-family: var(--font-head); font-size: clamp(1.6rem, 3.4vw, 2.8rem); line-height: 1.3; letter-spacing: -.025em; color: var(--ink); font-weight: 500; max-width: 1000px; margin: 0; }
.statement .hl { background: linear-gradient(var(--mint), var(--mint)) 0 88% / 0% 36% no-repeat; transition: background-size 1.2s var(--ease) .4s; }
.statement.is-in .hl, html:not(.js) .statement .hl { background-size: 100% 36%; }
.journey { display: grid; gap: 28px; }
.journey-item { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.journey-item:nth-child(even) .journey-media { order: 2; }
.journey-media { border-radius: 26px; overflow: hidden; }
.journey-media img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; transition: transform 1s var(--ease); }
.journey-item:hover .journey-media img { transform: scale(1.05); }
.journey-num { font-family: var(--font-head); font-size: 3.4rem; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--green); display: block; margin-bottom: 16px; }
.journey-body h3 { font-size: 1.7rem; }
.journey-body p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .journey-item { grid-template-columns: 1fr; } .journey-item:nth-child(even) .journey-media { order: 0; } }

/* ---------- Solution ---------- */
.gaps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gap { padding: 30px 26px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s; }
.gap:hover { transform: translateY(-4px); border-color: rgba(255, 143, 126, .5); }
.gap-x { display: block; font-family: var(--font-head); font-weight: 600; font-size: 2.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--risk); margin-bottom: 28px; }
.gap p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 1000px) { .gaps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gaps { grid-template-columns: 1fr; } }

.phone-stack { position: relative; height: clamp(420px, 48vw, 560px); }
.phone { position: absolute; width: min(250px, 46%); border-radius: 34px; border: 8px solid #0f2f2b; box-shadow: 0 50px 90px -40px rgba(3, 32, 29, .75); transition: transform .8s var(--ease); }
.p-back { left: 12%; top: 0; rotate: -6deg; opacity: .9; }
.p-front { right: 12%; bottom: 0; rotate: 4deg; }
.phone-stack:hover .p-back { transform: translate(-12px, -8px); }
.phone-stack:hover .p-front { transform: translate(12px, 8px); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(48px, 7vw, 80px); }
.feature-grid-4 { grid-template-columns: repeat(4, 1fr); }
.feature { padding: 28px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(3, 32, 29, .45); }
.feature-num { display: inline-block; font-family: var(--font-head); font-size: .78rem; font-weight: 600; color: var(--green); margin-bottom: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.section-dark .feature { background: rgba(255, 255, 255, .04); border-color: var(--d-line); }
.section-dark .feature p { color: var(--d-muted); }
.section-dark .feature-num { color: var(--mint); }
@media (max-width: 1000px) { .feature-grid, .feature-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid, .feature-grid-4 { grid-template-columns: 1fr; } }

/* ---------- Technology ---------- */
.pipeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 10px 0 20px; }
.pipe-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.pipe-dot { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 10px; border-radius: 50%; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--mint); background: var(--bg-2); border: 1px solid rgba(164, 254, 183, .3); animation: node 5s infinite; }
.pipe-node:nth-child(2) .pipe-dot { animation-delay: 1s; }
.pipe-node:nth-child(3) .pipe-dot { animation-delay: 2s; }
.pipe-node:nth-child(4) .pipe-dot { animation-delay: 3s; }
.pipe-node:nth-child(5) .pipe-dot { animation-delay: 4s; }
@keyframes node { 0%, 30%, 100% { background: var(--bg-2); color: var(--mint); box-shadow: none; } 8%, 18% { background: var(--mint); color: var(--ink); box-shadow: 0 0 0 8px rgba(164, 254, 183, .12), 0 0 40px rgba(164, 254, 183, .5); } }
.pipe-node strong { color: var(--white); font-family: var(--font-head); font-size: 1.1rem; }
.pipe-node span:last-child { color: var(--d-muted); font-size: .88rem; }
.pipe-line { position: absolute; left: 10%; right: 10%; top: 42px; height: 2px; background: rgba(164, 254, 183, .15); }
.pipe-pulse { position: absolute; top: -3px; left: 0; width: 80px; height: 8px; border-radius: 8px; background: linear-gradient(90deg, transparent, var(--mint)); filter: drop-shadow(0 0 8px var(--mint)); animation: pulseRun 5s linear infinite; }
@keyframes pulseRun { from { left: -80px; } to { left: 100%; } }
@media (max-width: 800px) {
    .pipeline { grid-template-columns: 1fr; gap: 28px; }
    .pipe-line { left: 50%; right: auto; top: 40px; bottom: 40px; width: 2px; height: auto; }
    .pipe-pulse { display: none; }
}
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.tech-sticky { position: sticky; top: calc(var(--header-h) + 30px); }
.tech-pose { margin-top: 32px; max-width: 420px; }
.tech-pose .pose-card { background: var(--bg); }
.layers { display: grid; gap: 16px; }
.layer { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.layer:hover { transform: translateX(6px); box-shadow: 0 30px 60px -40px rgba(3, 32, 29, .45); }
.layer-num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--mint); font-family: var(--font-head); font-weight: 600; }
.layer p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .tech-grid { grid-template-columns: 1fr; } .tech-sticky { position: static; } }
.avatar-frame { position: relative; border-radius: 30px; overflow: hidden; background: var(--bg); max-width: 480px; box-shadow: 0 50px 90px -50px rgba(3, 32, 29, .7); }
.avatar-frame img { width: 100%; }
.avatar-tag { position: absolute; padding: 7px 13px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: rgba(3, 32, 29, .8); color: var(--mint); border: 1px solid var(--d-line); backdrop-filter: blur(6px); animation: bob 4s ease-in-out infinite; }
.avatar-tag.warn { color: var(--watch); border-color: rgba(245, 196, 81, .4); }
.t1 { left: 18px; top: 34%; }
.t2 { right: 18px; top: 58%; animation-delay: -2s; }
@keyframes bob { 50% { translate: 0 -8px; } }

/* ---------- Contact ---------- */
.section-contact { padding-top: clamp(60px, 7vw, 90px); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-panel { position: sticky; top: calc(var(--header-h) + 24px); padding: clamp(28px, 4vw, 44px); border-radius: 30px; background: var(--bg); color: var(--d-muted); overflow: hidden; isolation: isolate; }
.contact-panel::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(95, 227, 154, .3), transparent 65%); z-index: -1; }
.contact-panel h2 { color: var(--white); font-size: 1.8rem; }
.contact-email { display: inline-flex; gap: 8px; align-items: center; margin-top: 4px; font-family: var(--font-head); font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 600; color: var(--mint); text-decoration: none; word-break: break-all; }
.contact-tips { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--d-line); }
.contact-tips .card-label { color: var(--d-muted); }
@media (max-width: 900px) { .contact-panel { position: relative; top: auto; } }
.form-card { padding: clamp(28px, 4vw, 48px); border-radius: 30px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 40px 90px -50px rgba(3, 32, 29, .45); }
.form-card > h2 { font-size: 1.8rem; margin-bottom: 1.2em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; margin-bottom: 8px; font-weight: 600; font-size: .86rem; color: var(--ink); padding: 0; }
.req { color: var(--green); }
.field input, .field textarea {
    width: 100%; padding: 14px 16px; font: inherit; font-size: .98rem; color: var(--text);
    background: #f7f9f7; border: 1.5px solid transparent; border-radius: 14px;
    transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa8a5; }
.field input:hover, .field textarea:hover { background: #f1f5f2; }
.field input:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--green); box-shadow: 0 0 0 5px rgba(95, 227, 154, .2); }
.field textarea { resize: vertical; min-height: 140px; }
.field [aria-invalid="true"], .field[aria-invalid="true"] .choice span { border-color: #d0442b; }
.field-error { margin: 7px 0 0; color: #b23a24; font-size: .84rem; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .88rem; font-weight: 500; color: var(--muted); transition: all .25s; }
.choice:hover span { border-color: var(--green); color: var(--ink); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--mint); }
.choice input:focus-visible + span { outline: 2px solid var(--mint-2); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap-reverse; margin-top: 8px; }
.form-note { margin: 0; font-size: .82rem; color: var(--muted); max-width: 300px; }
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 22px; font-size: .95rem; }
.alert-error { background: #ffece8; color: #8a2a18; }
.form-success { text-align: center; padding: 30px 10px; }
.success-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; background: var(--mint); color: var(--ink); animation: popIn .7s var(--ease); }
@keyframes popIn { from { transform: scale(.3); opacity: 0; } }
.form-success p { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero [data-reveal], .js .page-hero [data-reveal] { transform: translateY(18px); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
    .marquee-track { animation: none; }
}

/* ---------- How it works: animated stage ---------- */
.story-stage { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; height: calc(100vh - var(--header-h) - 60px); max-height: 680px; min-height: 520px; }
.stage {
    position: relative; height: 100%; display: flex; flex-direction: column; padding: 16px; border-radius: 32px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015));
    border: 1px solid rgba(164, 254, 183, .16);
    box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.stage-top { display: flex; justify-content: space-between; align-items: center; padding: 4px 8px 14px; font-size: .82rem; color: var(--d-muted); }
.stage-count b { color: var(--white); font-family: var(--font-head); }
.stage-body {
    position: relative; flex: 1; border-radius: 22px; overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 110%, rgba(95, 227, 154, .22), transparent 60%),
        linear-gradient(rgba(164, 254, 183, .05) 1px, transparent 1px) 0 0 / 100% 32px,
        linear-gradient(90deg, rgba(164, 254, 183, .05) 1px, transparent 1px) 0 0 / 32px 100%,
        #021714;
}
.stage-dots { display: flex; justify-content: center; gap: 8px; padding-top: 14px; }
.stage-dots span { width: 8px; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .15); transition: width .5s var(--ease), background-color .5s; }
.stage-dots span.is-active { width: 28px; background: var(--mint); }

.scene { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: scale(.96) translateY(14px); transition: opacity .6s, transform .8s var(--ease), visibility 0s .6s; }
.scene.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s .1s, transform .8s var(--ease) .1s, visibility 0s; }

.float-chip {
    position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
    font-size: .8rem; font-weight: 600; color: var(--mint); white-space: nowrap;
    background: rgba(3, 32, 29, .8); border: 1px solid var(--d-line); backdrop-filter: blur(8px);
    opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--ease);
}
.float-chip b { color: var(--white); font-variant-numeric: tabular-nums; }
.float-chip.warn { color: var(--watch); border-color: rgba(245, 196, 81, .4); }
.scene.is-active .float-chip { opacity: 1; transform: none; animation: bob 4s ease-in-out infinite; }
.scene.is-active .fc-1 { transition-delay: .35s; }
.scene.is-active .fc-2 { transition-delay: .55s; animation-delay: -1.3s; }
.scene.is-active .fc-3 { transition-delay: .75s; animation-delay: -2.6s; }
.fc-1 { left: 18px; top: 18px; }
.fc-2 { right: 18px; top: 34%; }
.fc-3 { left: 18px; bottom: 18px; }

/* Scene 1: record */
.mini-phone { width: min(200px, 42%); aspect-ratio: 540 / 1102; border-radius: 28px; overflow: hidden; border: 7px solid #0f2f2b; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(164, 254, 183, .2); }
.mini-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.scene.is-active .mini-phone { animation: phoneIn 1s var(--ease) both, sway 6s ease-in-out 1s infinite; }
@keyframes phoneIn { from { transform: translateY(40px) rotate(-6deg); opacity: 0; } }
@keyframes sway { 50% { transform: rotate(2deg) translateY(-6px); } }
.vf { position: absolute; inset: 12% 18%; pointer-events: none; }
.vf i { position: absolute; width: 34px; height: 34px; border: 2px solid var(--mint); opacity: .7; }
.vf i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.vf i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.vf i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.vf i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.scene.is-active .vf { animation: focus 2.4s var(--ease) infinite; }
@keyframes focus { 0%, 100% { inset: 12% 18%; } 50% { inset: 15% 21%; } }
.scene-record .float-chip .rec-dot { width: 7px; height: 7px; }
.scene-record .fc-1 { color: #ffb4a8; }

/* Scene 2: track (character) */
.scene-track .pose-svg { position: absolute; inset: 6% 0 4%; width: 100%; height: 90%; }
.scene-track .fault { bottom: 22px; }

/* Scene 3: rebuild */
.avatar-3d { position: relative; z-index: 1; height: 86%; width: auto; object-fit: contain; mix-blend-mode: lighten; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.scene.is-active .avatar-3d { animation: turn 7s ease-in-out infinite; }
@keyframes turn { 0%, 100% { transform: perspective(800px) rotateY(-14deg); } 50% { transform: perspective(800px) rotateY(14deg); } }
.orbit { position: absolute; left: 50%; bottom: 10%; width: 300px; height: 70px; margin-left: -150px; border-radius: 50%; border: 1.5px solid rgba(164, 254, 183, .45); }
.orbit::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px var(--mint); }
.o2 { width: 220px; height: 50px; margin-left: -110px; bottom: 50%; border-color: rgba(164, 254, 183, .25); border-style: dashed; }
.scene.is-active .orbit { animation: orbit 5s linear infinite; }
.scene.is-active .o2 { animation-duration: 8s; animation-direction: reverse; }
@keyframes orbit { to { rotate: 360deg; } }
.mesh-scan { position: absolute; left: 0; right: 0; height: 2px; top: 10%; z-index: 2; background: var(--mint); box-shadow: 0 0 20px 4px rgba(164, 254, 183, .5); opacity: 0; }
.scene.is-active .mesh-scan { animation: meshScan 3.2s var(--ease) infinite; }
@keyframes meshScan { 0% { top: 8%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 90%; opacity: 0; } }

/* Scene 4: score */
.scene-score { grid-template-rows: auto auto; align-content: center; gap: 28px; }
.gauge { position: relative; width: min(230px, 60%); aspect-ratio: 1; }
.gauge svg { width: 100%; height: 100%; rotate: -90deg; }
.gauge-track { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 14; }
.gauge-fill { fill: none; stroke: url(#gaugeGrad); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 515.2; stroke-dashoffset: 515.2; transition: stroke-dashoffset 1.6s var(--ease) .3s; filter: drop-shadow(0 0 10px rgba(164, 254, 183, .5)); }
.scene.is-active .gauge-fill { stroke-dashoffset: 41.2; }
.gauge-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge-label strong { font-family: var(--font-head); font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.gauge-label span { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--d-muted); margin-top: 6px; }
.rep-bars { display: flex; align-items: flex-end; gap: 10px; height: 90px; }
.rb { position: relative; width: 20px; height: 100%; display: flex; align-items: flex-end; }
.rb i { display: block; width: 100%; border-radius: 6px 6px 3px 3px; background: linear-gradient(var(--mint), var(--mint-2)); transform-origin: bottom; transform: scaleY(0); transition: transform .8s var(--ease); }
.rb.bad i { background: linear-gradient(#ffb0a3, var(--risk)); }
.rb em { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font-style: normal; font-size: .68rem; color: var(--d-muted); }
.rb-h88 i { height: 88%; } .rb-h94 i { height: 94%; } .rb-h91 i { height: 91%; } .rb-h62 i { height: 62%; }
.rb-h96 i { height: 96%; } .rb-h93 i { height: 93%; } .rb-h90 i { height: 90%; } .rb-h95 i { height: 95%; }
.scene.is-active .rb i { transform: scaleY(1); }
.scene.is-active .rb:nth-child(2) i { transition-delay: .08s; } .scene.is-active .rb:nth-child(3) i { transition-delay: .16s; }
.scene.is-active .rb:nth-child(4) i { transition-delay: .24s; } .scene.is-active .rb:nth-child(5) i { transition-delay: .32s; }
.scene.is-active .rb:nth-child(6) i { transition-delay: .40s; } .scene.is-active .rb:nth-child(7) i { transition-delay: .48s; }
.scene.is-active .rb:nth-child(8) i { transition-delay: .56s; }
.scene-score .fc-1 { top: 18px; }

/* Scene 5: flag */
.scene-flag { align-content: center; justify-items: stretch; padding: 0 clamp(18px, 3vw, 34px); }
.flag-head { margin: 0 0 14px; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--d-muted); }
.flag-list { display: grid; gap: 10px; }
.flag-list li {
    display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 16px;
    background: rgba(255, 255, 255, .04); border: 1px solid var(--d-line); color: var(--d-text);
    opacity: 0; transform: translateX(30px); transition: opacity .5s, transform .6s var(--ease), background-color .5s, border-color .5s;
}
.scene.is-active .flag-list li { opacity: 1; transform: none; }
.scene.is-active .flag-list li:nth-child(2) { transition-delay: .12s; }
.scene.is-active .flag-list li:nth-child(3) { transition-delay: .24s; }
.scene.is-active .flag-list li:nth-child(4) { transition-delay: .36s; }
.scene.is-active .flag-list li.is-flag { opacity: 1; background: rgba(255, 143, 126, .1); border-color: rgba(255, 143, 126, .5); animation: flagPulse 2s ease-in-out 1s infinite; }
@keyframes flagPulse { 50% { box-shadow: 0 0 0 6px rgba(255, 143, 126, .12); } }
.flag-list li:not(.is-flag) { filter: saturate(.6); }
.scene.is-active .flag-list li:not(.is-flag) { opacity: .55; }
.av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(164, 254, 183, .12); color: var(--mint); font-weight: 600; font-size: .8rem; }
.is-flag .av { background: rgba(255, 143, 126, .2); color: var(--risk); }
.fl-name { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.fl-name small { display: block; font-weight: 400; color: var(--d-muted); font-size: .78rem; }

/* Step text */
.step-index { display: flex; align-items: center; gap: 14px; }
.step-line { display: block; width: 0; height: 1px; background: var(--mint); transition: width .8s var(--ease) .1s; }
.story-step.is-active .step-line { width: 60px; }
.step-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.step-tags span { padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 500; color: var(--mint); border: 1px solid var(--d-line); background: rgba(164, 254, 183, .05); }
.story-step h3 { transition: transform .6s var(--ease); }
.story-step:not(.is-active) h3 { transform: translateX(-6px); }

/* Character body (pose) */
.pose-svg .body { stroke-linecap: round; fill: none; }
.pose-svg .body-far { stroke: url(#bodyFar); }
.pose-svg .body-near { stroke: url(#bodyNear); }
.pose-svg .body-head { fill: url(#bodyNear); stroke: none; }
.pose-svg .shadow { fill: rgba(0, 0, 0, .45); }
.pose-svg .body.is-bad { stroke: rgba(255, 143, 126, .55); }

/* ---------- Page transitions (cross-document View Transitions) ---------- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vtOut .28s ease both; }
::view-transition-new(root) { animation: vtIn .45s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Split headline (word by word) ---------- */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .wi { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--wi) * 55ms + 120ms); }
.split-words.is-split .wi { transform: none; }
.grad .wi {
    background: linear-gradient(100deg, var(--mint) 0%, #d8ffe1 40%, var(--mint-2) 80%);
    background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shimmer 6s ease-in-out infinite;
}

/* ---------- Hero tilt + scroll cue ---------- */
.hero-visual { perspective: 1200px; }
.hero-visual .pose-card { transition: transform .6s var(--ease); transform-style: preserve-3d; will-change: transform; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(230, 242, 238, .35); display: flex; justify-content: center; padding-top: 7px; transition: border-color .3s; }
.scroll-cue:hover { border-color: var(--mint); }
.scroll-cue span { width: 3px; height: 8px; border-radius: 3px; background: var(--mint); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 980px), (max-height: 760px) { .scroll-cue { display: none; } }

/* ---------- Without / with compare ---------- */
.compare { max-width: 980px; margin-inline: auto; }
.compare-toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(440px, 100%); margin: 0 auto 36px; padding: 6px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 16px 40px -28px rgba(3, 32, 29, .5); }
.compare-toggle button { position: relative; z-index: 1; padding: 13px 18px; border: 0; background: none; border-radius: 999px; font: 600 .95rem var(--font); color: var(--muted); cursor: pointer; transition: color .4s; }
.compare-toggle button[aria-selected="true"] { color: var(--mint); }
.compare-thumb { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: var(--ink); transition: transform .55s var(--ease), background-color .4s; transform: translateX(100%); }
.compare[data-state="without"] .compare-thumb { transform: translateX(0); background: #5a2a22; }
.compare[data-state="without"] .compare-toggle button[aria-selected="true"] { color: #ffd2ca; }
.compare-panels { position: relative; }
.compare-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-panel[hidden] { display: none; }
.compare-panel li { display: flex; gap: 16px; padding: 24px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); animation: cmpIn .6s var(--ease) both; }
.compare-panel li:nth-child(2) { animation-delay: .06s; } .compare-panel li:nth-child(3) { animation-delay: .12s; } .compare-panel li:nth-child(4) { animation-delay: .18s; }
@keyframes cmpIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.compare-panel strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.08rem; margin-bottom: 4px; }
.compare-panel p { margin: 0; color: var(--muted); font-size: .95rem; }
.ci { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-weight: 700; }
.ci-ok { background: var(--ink); color: var(--mint); }
.ci-x { background: #ffe5e0; color: #b23a24; }
.is-without li { background: #fffaf8; border-color: #f6dcd5; }
@media (max-width: 700px) { .compare-panel { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq { display: grid; gap: 12px; }
.faq-item { border-radius: 20px; background: var(--white); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.faq-item:has([aria-expanded="true"]) { border-color: rgba(12, 79, 72, .3); box-shadow: 0 24px 50px -36px rgba(3, 32, 29, .5); }
.faq-item h3 { margin: 0; font-size: 1.05rem; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; border: 0; background: none; text-align: left; font: 600 1.04rem/1.4 var(--font-head); color: var(--ink); cursor: pointer; border-radius: 20px; }
.faq-icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--soft); transition: background-color .3s, transform .5s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease), background-color .3s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--ink); transform: rotate(180deg); }
.faq-q[aria-expanded="true"] .faq-icon::before { background: var(--mint); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(0); background: var(--mint); }
.faq-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s var(--ease); }
.js .faq-q[aria-expanded="false"] + .faq-a, .js h3:has(.faq-q[aria-expanded="false"]) + .faq-a { grid-template-rows: 0fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 24px 22px; color: var(--muted); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-head { position: static; } }

/* ---------- Pose character v2 (pose.js) ---------- */
.pose-svg text { font-family: var(--font); }
.pose-svg .limb { stroke: rgba(164, 254, 183, .45); stroke-width: 1; stroke-linejoin: round; }
.pose-svg .limb.is-bad { fill: rgba(255, 143, 126, .55); stroke: rgba(255, 143, 126, .9); }
.pose-svg .bone { stroke: #c9ffd5; stroke-width: 2.4; stroke-linecap: round; opacity: .95; }
.pose-svg .bone-far { stroke: rgba(164, 254, 183, .55); stroke-width: 2; }
.pose-svg .bone.is-bad { stroke: #ffd3cb; }
.pose-svg .joint { fill: #021714; stroke: var(--mint); stroke-width: 2.2; }
.pose-svg .joint-far { stroke: rgba(164, 254, 183, .6); }
.pose-svg .joint.is-bad { fill: var(--risk); stroke: #fff; }
.pose-svg .fault-ring { fill: none; stroke: var(--risk); stroke-width: 2; }
.pose-svg .trail { fill: var(--mint); }
.pose-svg .arc { fill: rgba(164, 254, 183, .1); stroke: rgba(164, 254, 183, .8); stroke-width: 1.2; }
.pose-svg .ang { font-size: 13px; font-weight: 600; fill: var(--mint); paint-order: stroke; stroke: #021714; stroke-width: 4px; transition: opacity .3s; }
.pose-svg .ang-bad { fill: #ffb4a8; }
.pose-svg .ghost-leg { fill: rgba(164, 254, 183, .04); stroke: rgba(164, 254, 183, .3); stroke-width: 1.4; stroke-dasharray: 5 6; transition: stroke .4s, fill .4s; }
.pose-svg .ghost-label { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; fill: var(--mint); opacity: 0; transition: opacity .4s; }
.pose-svg .ghost-layer.is-on .ghost-leg { stroke: var(--mint); fill: rgba(164, 254, 183, .1); animation: dash 1s linear infinite; }
.pose-svg .ghost-layer.is-on .ghost-label { opacity: 1; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.pose-svg .track-box path { fill: none; stroke: rgba(164, 254, 183, .7); stroke-width: 1.6; }
.pose-svg .box-label { font-size: 9.5px; font-weight: 600; letter-spacing: .12em; fill: rgba(164, 254, 183, .8); }
.pose-svg .toast { font-size: 15px; font-weight: 700; fill: var(--mint); paint-order: stroke; stroke: #021714; stroke-width: 5px; }
.pose-svg .toast.toast-bad { fill: var(--watch); }
.pose-svg .shadow { fill: rgba(0, 0, 0, .5); }
.pose-svg .floor { stroke: rgba(164, 254, 183, .22); stroke-width: 1; stroke-dasharray: 2 6; }

/* Human character: soft outline, lighter keypoint overlay */
.pose-svg .limb { stroke: rgba(2, 23, 20, .55); stroke-width: .9; }
.pose-svg .limb.is-bad { fill: #ff8f7e; stroke: #ffd3cb; stroke-width: 1.2; }
.pose-svg .bone { stroke: rgba(201, 255, 213, .9); stroke-width: 1.8; }
.pose-svg .bone-far { stroke: rgba(164, 254, 183, .45); stroke-width: 1.5; }
.pose-svg .joint { stroke-width: 1.8; }

/* ---------- Summary bento v2 (with mini-visuals) ---------- */
.bento2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.b2 { display: flex; flex-direction: column; border-radius: 26px; background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.b2:hover { transform: translateY(-5px); border-color: rgba(12, 79, 72, .25); box-shadow: 0 34px 70px -42px rgba(3, 32, 29, .55); }
.b2-wide { grid-column: span 2; }
.b2-body { padding: 4px 28px 28px; }
.b2-num { display: inline-block; font-family: var(--font-head); font-size: .74rem; font-weight: 600; color: var(--green); padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); margin-bottom: 14px; }
.b2 h3 { font-size: 1.2rem; margin-bottom: .35em; }
.b2 p { margin: 0; color: var(--muted); font-size: .94rem; }
.b2-dark { background: var(--bg); border-color: transparent; }
.b2-dark h3 { color: var(--white); font-size: 1.45rem; }
.b2-dark p { color: var(--d-muted); }
.b2-dark .b2-num { color: var(--mint); border-color: var(--d-line); }
.b2-mint { background: linear-gradient(135deg, #c9ffd5, var(--mint)); border-color: transparent; }
.b2-mint p { color: #2c5a52; }
.b2-mint .b2-num { border-color: rgba(8, 60, 55, .2); color: var(--ink); }
@media (max-width: 1000px) { .bento2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bento2 { grid-template-columns: 1fr; } .b2-wide { grid-column: auto; } }

/* shared viz frame */
.viz { position: relative; height: 150px; margin: 16px 16px 18px; border-radius: 18px; background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.b2-dark .viz { background: radial-gradient(ellipse at 50% 120%, rgba(95, 227, 154, .22), transparent 65%), #021714; border: 1px solid var(--d-line); }
.b2-mint .viz { background: rgba(255, 255, 255, .45); }
.viz-tag { position: absolute; left: 14px; bottom: 12px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; color: var(--mint); background: rgba(164, 254, 183, .1); border: 1px solid var(--d-line); }
.viz-tag-dark { color: var(--green); background: var(--white); border-color: var(--line); }
.viz-tag-warn { color: var(--watch); background: rgba(245, 196, 81, .1); border-color: rgba(245, 196, 81, .35); }

/* 1 · tracking figure */
.viz-track svg { width: 270px; height: 138px; }
.viz-track .viz-tag { top: 12px; bottom: auto; }
.kp-bones line { stroke: rgba(164, 254, 183, .6); stroke-width: 2.2; stroke-linecap: round; }
.kp-head { fill: none; stroke: rgba(164, 254, 183, .7); stroke-width: 2; }
.kp circle { fill: #021714; stroke: var(--mint); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: kpPulse 2.4s ease-in-out infinite; }
.kp circle:nth-child(2n) { animation-delay: -.6s; } .kp circle:nth-child(3n) { animation-delay: -1.2s; } .kp circle:nth-child(5n) { animation-delay: -1.8s; }
@keyframes kpPulse { 50% { fill: var(--mint); transform: scale(1.35); } }
.viz-scanline { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--mint); box-shadow: 0 0 16px 3px rgba(164, 254, 183, .45); animation: vizScan 3s var(--ease) infinite; }
@keyframes vizScan { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* 2 · 3D cube */
.viz-3d { perspective: 500px; }
.cube { position: relative; width: 64px; height: 64px; transform-style: preserve-3d; animation: cubeSpin 9s linear infinite; }
.cube span { position: absolute; inset: 0; border: 1.5px solid var(--green); background: rgba(95, 227, 154, .12); border-radius: 6px; }
.cube span:nth-child(1) { transform: translateZ(32px); }
.cube span:nth-child(2) { transform: rotateY(180deg) translateZ(32px); }
.cube span:nth-child(3) { transform: rotateY(90deg) translateZ(32px); }
.cube span:nth-child(4) { transform: rotateY(-90deg) translateZ(32px); }
.cube span:nth-child(5) { transform: rotateX(90deg) translateZ(32px); }
.cube span:nth-child(6) { transform: rotateX(-90deg) translateZ(32px); }
@keyframes cubeSpin { from { transform: rotateX(-22deg) rotateY(0); } to { transform: rotateX(-22deg) rotateY(360deg); } }

/* 3 · fps ticker */
.viz-fps { align-content: center; gap: 12px; }
.viz-fps strong { font-family: var(--font-head); font-size: 2.6rem; line-height: 1; color: var(--ink); text-align: center; }
.viz-fps small { font-size: .9rem; margin-left: 4px; color: var(--green); }
.ticks { display: flex; gap: 4px; }
.ticks i { width: 7px; height: 20px; border-radius: 3px; background: var(--line); animation: tick 1.2s steps(1) infinite; }
.ticks i:nth-child(1) { animation-delay: 0s; } .ticks i:nth-child(2) { animation-delay: .1s; } .ticks i:nth-child(3) { animation-delay: .2s; }
.ticks i:nth-child(4) { animation-delay: .3s; } .ticks i:nth-child(5) { animation-delay: .4s; } .ticks i:nth-child(6) { animation-delay: .5s; }
.ticks i:nth-child(7) { animation-delay: .6s; } .ticks i:nth-child(8) { animation-delay: .7s; } .ticks i:nth-child(9) { animation-delay: .8s; }
.ticks i:nth-child(10) { animation-delay: .9s; } .ticks i:nth-child(11) { animation-delay: 1s; } .ticks i:nth-child(12) { animation-delay: 1.1s; }
@keyframes tick { 0% { background: var(--mint-2); } 25%, 100% { background: var(--line); } }

/* 4 · risk levels */
.viz-risk { grid-auto-flow: row; align-content: center; gap: 8px; justify-items: start; padding: 0 24px; place-items: center start; }
.lv { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--muted); animation: lvOn 3.6s infinite; }
.lv i { width: 12px; height: 12px; border-radius: 50%; }
.lv-1 i { background: var(--mint-2); } .lv-2 i { background: var(--watch); } .lv-3 i { background: #e8553f; }
.lv-2 { animation-delay: 1.2s; } .lv-3 { animation-delay: 2.4s; }
@keyframes lvOn { 0%, 30%, 100% { transform: none; box-shadow: none; color: var(--muted); } 8%, 22% { transform: translateX(8px); box-shadow: 0 10px 24px -14px rgba(3, 32, 29, .6); color: var(--ink); } }

/* 5 · baseline chart */
.viz-base svg { width: 86%; height: 100px; overflow: visible; }
.base-line { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 5 6; opacity: .6; }
.prog-line { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 3.6s var(--ease) infinite; }
.prog-dot { fill: var(--mint-2); stroke: var(--ink); stroke-width: 2; animation: dotIn 3.6s var(--ease) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 260; } 55%, 100% { stroke-dashoffset: 0; } }
@keyframes dotIn { 0%, 50% { opacity: 0; } 60%, 100% { opacity: 1; } }

/* 6 · compensation L/R */
.viz-comp { align-content: center; gap: 14px; padding: 0 28px 26px; justify-items: stretch; }
.side { display: grid; grid-template-columns: 50px 1fr; align-items: center; gap: 12px; font-size: .82rem; color: var(--d-muted); }
.side b { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.side i { display: block; height: 100%; border-radius: 6px; }
.lb { background: var(--mint-2); width: 86%; animation: lbar 3s ease-in-out infinite; }
.rb { background: var(--watch); width: 62%; animation: rbar 3s ease-in-out infinite; }
@keyframes lbar { 50% { width: 90%; } }
@keyframes rbar { 50% { width: 54%; } }

/* 7 · exception review */
.viz-review { align-content: center; gap: 8px; padding: 0 22px; justify-items: stretch; }
.viz-review .row { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); opacity: .6; }
.viz-review .row i { width: 26px; height: 26px; border-radius: 8px; background: var(--soft); }
.viz-review .row span { height: 8px; border-radius: 4px; background: var(--line); }
.viz-review em { font-style: normal; font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.viz-review em.ok { background: #dcfbe3; color: #116a3a; }
.viz-review em.bad { background: #ffe1dc; color: #a3311f; }
.viz-review .row.is-flag { opacity: 1; border-color: rgba(232, 85, 63, .45); animation: rowFlag 2.4s ease-in-out infinite; }
.viz-review .row.is-flag i { background: #ffe1dc; }
@keyframes rowFlag { 50% { box-shadow: 0 0 0 5px rgba(232, 85, 63, .1); transform: translateX(6px); } }

/* 8 · voice waveform */
.viz-voice { grid-auto-flow: column; gap: 18px; place-content: center; }
.mic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--mint); box-shadow: 0 0 0 0 rgba(8, 60, 55, .3); animation: micPing 2s infinite; }
@keyframes micPing { 70% { box-shadow: 0 0 0 14px rgba(8, 60, 55, 0); } 100% { box-shadow: 0 0 0 0 rgba(8, 60, 55, 0); } }
.wave { display: flex; align-items: center; gap: 4px; height: 60px; }
.wave i { width: 5px; height: 30%; border-radius: 4px; background: var(--ink); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: -.2s; } .wave i:nth-child(3n) { animation-delay: -.45s; } .wave i:nth-child(4n) { animation-delay: -.7s; } .wave i:nth-child(5n) { animation-delay: -.9s; }
@keyframes wave { 50% { height: 95%; } }

/* ---------- Side navigation (section jumper) ---------- */
.side-nav {
    position: fixed; right: 22px; top: 50%; z-index: 90; translate: 12px -50%; opacity: 0;
    transition: opacity .6s var(--ease), translate .6s var(--ease);
    --c: var(--ink); --c-soft: rgba(8, 60, 55, .28); --glass: rgba(251, 250, 246, .72); --edge: rgba(8, 60, 55, .1);
}
.side-nav.is-ready { opacity: 1; translate: 0 -50%; }
.side-nav.on-dark { --c: var(--mint); --c-soft: rgba(230, 242, 238, .35); --glass: rgba(3, 32, 29, .55); --edge: rgba(164, 254, 183, .16); }
.side-nav ol {
    position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px 8px;
    border-radius: 999px; background: var(--glass); border: 1px solid var(--edge);
    backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
    box-shadow: 0 18px 40px -24px rgba(3, 32, 29, .45);
    transition: background-color .4s, border-color .4s;
}
.side-link {
    position: relative; display: grid; place-items: center; width: 24px; height: 24px;
    text-decoration: none; border-radius: 50%;
}
.side-dot {
    width: 8px; height: 8px; border-radius: 999px; background: var(--c-soft);
    transition: height .45s var(--ease), background-color .3s, transform .3s var(--ease);
}
.side-link:hover .side-dot { background: var(--c); transform: scale(1.35); }
.side-link.is-active .side-dot { height: 22px; background: var(--c); transform: none; box-shadow: 0 0 12px -2px var(--c); }
.side-link:focus-visible { outline: 2px solid var(--mint-2); outline-offset: 2px; }
.side-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.side-label {
    position: absolute; right: calc(100% + 16px); top: 50%; translate: 8px -50%;
    padding: 6px 12px; border-radius: 999px; white-space: nowrap;
    font-size: .78rem; font-weight: 600; letter-spacing: .01em;
    color: var(--white); background: var(--ink); box-shadow: 0 10px 24px -12px rgba(3, 32, 29, .6);
    opacity: 0; pointer-events: none; transition: opacity .25s, translate .35s var(--ease);
}
.side-nav.on-dark .side-label { color: var(--ink); background: var(--mint); }
.side-link:hover .side-label, .side-link:focus-visible .side-label { opacity: 1; translate: 0 -50%; }
@media (max-width: 1100px) { .side-nav { display: none; } }
body.nav-open .side-nav { opacity: 0; pointer-events: none; }

/* ---------- Mobile fixes ---------- */
@media (max-width: 600px) {
    /* founder photo decorations stayed inside the screen */
    .profile-ring { inset: -10px; border-radius: 38px; }
    .profile-ring::before { display: none; }
    .profile-badge { left: 8px; }
    .profile-rev .profile-badge { right: 8px; }
    /* comfortable tap targets */
    .footer-col li { margin: 0; }
    .footer-col a, .to-top { display: inline-block; padding: 9px 0; }
    /* readable HUD labels on the pose card */
    .hud-item span { font-size: 11px; }
}
@media (max-width: 900px) {
    /* keep the close (X) button visible when the menu is opened after scrolling */
    body.nav-open .nav-toggle,
    body.nav-open .site-header.is-scrolled .nav-toggle { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); }
}

/* ---------- App store badges ---------- */
.app-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }
.store-badge, .store-badge:hover { text-decoration: none; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 7px 16px 7px 12px; border-radius: 12px; background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .22); line-height: 1.1; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.store-badge svg { flex: none; }
.store-badge span { display: flex; flex-direction: column; text-align: left; }
.store-badge small { font-size: 10.5px; letter-spacing: .02em; opacity: .85; }
.store-badge strong { font-family: var(--font-head); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.store-badge:hover { transform: translateY(-3px); border-color: var(--mint); box-shadow: 0 10px 26px -12px rgba(164, 254, 183, .55); }
.app-badges-light .store-badge { border-color: transparent; }
.app-badges-light .store-badge:hover { box-shadow: 0 12px 26px -14px rgba(8, 60, 55, .6); }
.app-label { margin-top: 1.6rem; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--d-muted); }
.app-label + .app-badges { margin-top: .7rem; }
.footer-brand .app-badges { margin-top: 18px; }

/* ---------- Contact form: captcha + loading ---------- */
.captcha-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha-img { display: block; width: 170px; height: 56px; border-radius: 12px; border: 1px solid var(--line); background: #eef4f0; user-select: none; }
.captcha-refresh { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: border-color .25s, transform .5s var(--ease); }
.captcha-refresh:hover { border-color: var(--green); transform: rotate(180deg); }
.captcha-refresh:focus-visible { outline: 2px solid var(--mint-2); outline-offset: 2px; }
.captcha-refresh[hidden] { display: none; }
.field .captcha-row input { flex: 1 1 120px; width: auto; max-width: 180px; }
.btn.is-loading { cursor: progress; opacity: .92; }
.btn:disabled { pointer-events: none; }
.spinner { display: inline-block; width: 18px; height: 18px; margin-right: 10px; vertical-align: -3px; border-radius: 50%; border: 2.5px solid rgba(164, 254, 183, .3); border-top-color: var(--mint); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 1.6s !important; animation-iteration-count: infinite !important; } }

/* ---------- Careers ---------- */
.careers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); }
@media (max-width: 800px) { .careers-grid { grid-template-columns: 1fr; } }
.career-card { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 4vw, 44px); border-radius: 30px; background: var(--soft); border: 1px solid var(--line); color: var(--muted); text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s; }
.career-card:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -45px rgba(3, 32, 29, .5); }
.career-card h3 { margin: .2em 0 .5em; font-size: clamp(1.35rem, 2.4vw, 1.75rem); color: var(--ink); }
.career-card p { margin: 0 0 1.4em; }
.career-card .card-label { margin: 0; }
.career-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 26px; border-radius: 16px; background: var(--ink); color: var(--mint); }
.career-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: clamp(1rem, 1.8vw, 1.15rem); color: var(--green); word-break: break-all; }
.career-card:hover .btn-arrow { transform: translateX(4px); }
.career-card-dark { background: var(--bg); border-color: transparent; color: var(--d-muted); }
.career-card-dark::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(95, 227, 154, .3), transparent 65%); z-index: -1; }
.career-card-dark h3 { color: var(--white); }
.career-card-dark .career-icon { background: var(--mint); color: var(--ink); }
.career-card-dark .career-link { color: var(--mint); }
.career-card-dark .card-label { color: var(--d-muted); }

/* ---------- Legal pages ---------- */
.legal { max-width: 780px; margin: 0 auto; color: var(--muted); font-size: 1.02rem; line-height: 1.75; }
.legal h2 { margin: 2.2em 0 .6em; font-size: clamp(1.3rem, 2.2vw, 1.6rem); color: var(--ink); }
.legal h2:first-of-type { margin-top: 1.2em; }
.legal p, .legal ul { margin: 0 0 1em; }
.legal ul { padding-left: 1.2em; list-style: disc; }
.legal li { margin-bottom: .6em; }
.legal li::marker { color: var(--mint-2); }
.legal strong { color: var(--ink); }
.legal a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--mint-2); word-break: break-word; }
.legal code { padding: 2px 7px; border-radius: 6px; background: var(--soft); color: var(--ink); font-size: .9em; }
.legal-updated { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--soft); font-size: .85rem; font-weight: 600; color: var(--green); }
.legal-table-wrap { margin: 1.2em 0 1.4em; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.legal-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .93rem; line-height: 1.55; }
.legal-table th { padding: 14px 18px; background: var(--bg); color: var(--mint); text-align: left; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.legal-table td { padding: 16px 18px; vertical-align: top; border-top: 1px solid var(--line); }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.footer-legal a { color: var(--d-muted); transition: color .25s; }
.footer-legal a:hover { color: var(--mint); }
@media (max-width: 640px) {
    .legal-table { min-width: 0; }
    .legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .legal-table tr, .legal-table td { display: block; }
    .legal-table td { padding: 12px 18px; }
    .legal-table td:first-child { border-top: 0; padding-top: 18px; }
    .legal-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
}
.form-note a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
