/* Hellas Inference — site stylesheet. No build step. Palette mirrors the pitch deck. */

/* Inter, self-hosted (SIL OFL 1.1). Subsets: latin, latin-ext, greek, greek-ext. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/inter-greek-ext.woff2") format("woff2"); unicode-range: U+1F00-1FFF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/inter-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/inter-latin-ext.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: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/inter-latin.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; }

:root {
  --navy: #0B1F3A;
  --navy-2: #10294A;
  --navy-3: #16345C;
  --cyan: #19C6D1;      /* decoration and text on navy only */
  --dcyan: #0E7C86;     /* text accent on white: 5.0:1 */
  --ink: #141E2B;
  --muted: #5B6673;     /* 5.9:1 on white */
  --light: #F2F5F7;
  --line: #D6DDE2;
  --pale: #E6F7F8;
  --amber: #E08E1B;
  --green: #2E9E6B;
  --white: #FFFFFF;
  --on-navy: #DCE6EE;
  --on-navy-muted: #A9B8C7;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --maxw: 1200px;
  --gutter: 16px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(11, 31, 58, .06), 0 8px 24px rgba(11, 31, 58, .06);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 720px) { :root { --gutter: 24px; } }
@media (min-width: 1080px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--dcyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.on-navy :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--cyan); }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 650; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: var(--muted); max-width: 46em; }
small, .small { font-size: .875rem; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: .9em; }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--white); color: var(--navy);
  padding: 10px 16px; border-radius: 8px; font-weight: 600; box-shadow: var(--shadow); transition: top .15s; }
.skip-link:focus { top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.grid > * { grid-column: span 12; min-width: 0; }
@media (min-width: 720px) {
  .md-6 { grid-column: span 6; } .md-4 { grid-column: span 4; } .md-8 { grid-column: span 8; } .md-12 { grid-column: span 12; }
}
@media (min-width: 1080px) {
  .lg-2 { grid-column: span 2; } .lg-3 { grid-column: span 3; } .lg-4 { grid-column: span 4; } .lg-5 { grid-column: span 5; } .lg-6 { grid-column: span 6; }
  .lg-7 { grid-column: span 7; } .lg-8 { grid-column: span 8; } .lg-12 { grid-column: span 12; }
}
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.section.alt { background: var(--light); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .rule { margin-left: auto; margin-right: auto; }

/* the deck motif: a short rounded cyan rule */
.rule { display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--cyan); margin: 0 0 18px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--dcyan); margin-bottom: 12px; }
.on-navy .eyebrow { color: var(--cyan); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 44px; min-width: 44px; }
.brand img { width: 172px; height: auto; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.18); background: transparent; color: var(--white); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.nav-open .nav-toggle .i-open { display: none; }
.primary-nav { display: none; }
.nav-open .primary-nav { display: block; position: absolute; left: 0; right: 0; top: 68px; background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08); padding: 8px var(--gutter) 24px; max-height: calc(100vh - 68px); overflow-y: auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav a, .nav-sub-btn { color: var(--on-navy); text-decoration: none; font-weight: 500; font-size: .97rem; }
.primary-nav > ul > li > a, .nav-sub-btn { display: flex; align-items: center; gap: 6px; padding: 12px 0; width: 100%;
  background: none; border: 0; font-family: inherit; cursor: pointer; text-align: left; }
.primary-nav a:hover, .nav-sub-btn:hover, .primary-nav a[aria-current="page"] { color: var(--white); }
.primary-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--cyan); }
.nav-sub-btn svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.nav-sub-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-sub { padding: 0 0 8px 12px; border-left: 2px solid var(--navy-3); }
.nav-sub[hidden] { display: none; }
.nav-sub a { display: block; padding: 9px 0; }
.nav-sub a span { display: block; color: var(--on-navy-muted); font-size: .82rem; font-weight: 400; }
.nav-sub .nav-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-weight: 600; }
.nav-chip { font-style: normal; font-size: .62rem; padding: 3px 8px; letter-spacing: .05em; }
.nav-actions { display: flex; gap: 12px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; color: var(--on-navy); text-decoration: none; font-weight: 600;
  font-size: .85rem; letter-spacing: .04em; padding: 8px 14px; min-height: 44px; min-width: 44px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; }
.lang-switch:hover { border-color: var(--cyan); color: var(--white); }
.lang-switch svg { width: 15px; height: 15px; }
/* header CTA: beat `.primary-nav a` so it stays navy on cyan (8.9:1) */
.primary-nav a.btn-primary, .primary-nav a.btn-primary:hover, .primary-nav a.btn-primary:focus-visible { color: var(--navy); }
.primary-nav a.btn-primary:hover { background: #3FD4DD; }
.nav-actions .btn { min-height: 44px; }

@media (min-width: 1280px) {
  .nav-toggle { display: none; }
  .primary-nav, .nav-open .primary-nav { display: flex; position: static; padding: 0; background: none; border: 0; max-height: none; overflow: visible; align-items: center; gap: 28px; }
  .primary-nav > ul { display: flex; gap: 26px; align-items: center; }
  .primary-nav > ul > li { position: relative; }
  .primary-nav > ul > li > a, .nav-sub-btn { padding: 8px 0; width: auto; }
  .nav-sub { position: absolute; top: calc(100% + 14px); left: -20px; width: 330px; background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius-lg); box-shadow: 0 18px 48px rgba(11,31,58,.18); padding: 10px; }
  .nav-sub::before { content: ""; position: absolute; top: -15px; left: 0; right: 0; height: 15px; }
  .nav-sub a { color: var(--navy); padding: 12px 14px; border-radius: 10px; font-weight: 600; }
  .nav-sub a span { color: var(--muted); }
  .nav-sub a:hover { background: var(--light); color: var(--navy); }
  .primary-nav .nav-sub a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--cyan); background: var(--light); color: var(--navy); }
  .nav-actions { margin-top: 0; flex-wrap: nowrap; }
  .primary-nav > ul { gap: 22px; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
  border-radius: 999px; font-weight: 600; font-size: .97rem; text-decoration: none; border: 1.5px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); cursor: pointer; font-family: inherit; }
.btn svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover { background: #3FD4DD; color: var(--navy); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-3); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--on-navy); overflow: hidden; isolation: isolate; }
.hero::before { /* fine engineering grid */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: linear-gradient(180deg, #000 30%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -240px; top: -260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(25,198,209,.18), transparent 70%); }
.hero h1, .hero h2 { color: var(--white); }
.hero .lead { color: var(--on-navy); }
.hero-home { padding: clamp(56px, 8vw, 120px) 0 clamp(56px, 7vw, 96px); }
.hero-page { padding: clamp(48px, 6vw, 88px) 0 clamp(44px, 5vw, 72px); }
.hero-wordmark { width: min(360px, 78%); margin-bottom: 36px; }
.hero h1 { max-width: 15em; }
.hero-sub { color: var(--cyan); font-weight: 550; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); margin: -4px 0 18px; letter-spacing: -0.005em; }
.hero-badges { margin-bottom: 16px; }
.center-tile { margin: 0 auto; }
.cal-title { font-size: 1.4rem; }
.code-note { margin-top: 12px; color: var(--on-navy-muted); }
.scope-note { color: var(--on-navy-muted); max-width: 40em; }
.proof a { color: var(--cyan); font-weight: 600; white-space: nowrap; }
.proof a:hover { color: var(--white); }
.price-extra { margin: 8px 0 0; font-size: .92rem; font-weight: 600; color: var(--dcyan); }
.hero-page h1 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.1rem); max-width: 18em; }
.hero .btn-row { margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; padding: 0; list-style: none; font-size: .9rem; color: var(--on-navy-muted); }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.crumbs { font-size: .85rem; margin-bottom: 18px; color: var(--on-navy-muted); }
.crumbs a { color: var(--on-navy); }
.crumbs a:hover { color: var(--white); }

.reveal { animation: rise .7s var(--ease) both; }
.reveal.d1 { animation-delay: .08s; } .reveal.d2 { animation-delay: .16s; } .reveal.d3 { animation-delay: .24s; } .reveal.d4 { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; } }

/* stack visual (5 layers) */
.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: layer 6; }
.stack li { counter-increment: layer -1; position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 4px 12px; align-items: center;
  padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); }
.stack li::before { content: counter(layer); grid-row: span 2; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  font-size: .8rem; font-weight: 700; color: var(--cyan); border: 1px solid rgba(25,198,209,.45); }
.stack strong { color: var(--white); font-weight: 600; font-size: .98rem; }
.stack span { color: var(--on-navy-muted); font-size: .84rem; line-height: 1.4; }
.stack li.core { background: linear-gradient(90deg, rgba(25,198,209,.20), rgba(25,198,209,.06)); border-color: rgba(25,198,209,.55); }
.stack li.core::before { background: var(--cyan); color: var(--navy); }
.stack li.brain { background: rgba(14,124,134,.28); border-color: rgba(25,198,209,.30); }
.stack-caption { margin-top: 14px; font-size: .84rem; color: var(--on-navy-muted); display: flex; gap: 8px; align-items: flex-start; }
.stack-caption svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 3px; color: var(--cyan); }
@media (min-width: 1080px) { .hero-home .grid { align-items: center; column-gap: 56px; } }

/* big stack on platform page (light) */
.stack-lg { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.stack-lg li { display: grid; grid-template-columns: 1fr; gap: 6px 28px; padding: 22px 22px 22px 26px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); position: relative; }
.stack-lg li::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--line); }
.stack-lg .num { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dcyan); }
.stack-lg h3 { margin: 2px 0 6px; }
.stack-lg p { margin: 0; color: var(--muted); }
.stack-lg .tags { margin-top: 4px; }
.stack-lg li.brain { background: var(--pale); border-color: #BFE9EC; }
.stack-lg li.brain::before { background: var(--dcyan); }
.stack-lg li.core { background: var(--navy); border-color: var(--navy); }
.stack-lg li.core::before { background: var(--cyan); }
.stack-lg li.core h3 { color: var(--white); } .stack-lg li.core p { color: var(--on-navy); } .stack-lg li.core .num { color: var(--cyan); }
.stack-lg li.core .tag { background: rgba(255,255,255,.08); color: var(--on-navy); border-color: rgba(255,255,255,.18); }
@media (min-width: 900px) { .stack-lg li { grid-template-columns: 260px 1fr; align-items: start; } .stack-lg .tags { grid-column: 2; } }

/* ---------- cards ---------- */
.card { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.card::before { content: ""; position: absolute; left: 28px; top: -1px; width: 40px; height: 3px; border-radius: 0 0 3px 3px; background: var(--cyan); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.card > :last-child { margin-bottom: 0; }
a.card { color: inherit; text-decoration: none; }
.self-start { align-self: start; }
.card.compact { padding: 22px 24px; }
.card.compact::before { left: 24px; }
.card.auto { height: auto; }
a.card:hover, .card.lift:hover { border-color: #9FDDE2; box-shadow: var(--shadow); transform: translateY(-2px); }
.card .more { margin-top: auto; padding-top: 16px; font-weight: 600; color: var(--dcyan); display: inline-flex; align-items: center; gap: 6px; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
a.card:hover .more svg { transform: translateX(3px); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.card-top .badge { white-space: normal; text-align: right; line-height: 1.3; min-width: 0; }
.icon-tile { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--pale); color: var(--dcyan); flex: 0 0 auto; }
.icon-tile svg { width: 22px; height: 22px; }
.card.feature { padding: 24px; }
.card.feature::before { display: none; }
.card.feature .icon-tile { margin-bottom: 16px; }
.card.muted-bg { background: var(--light); border-color: transparent; }
.card-note { margin-top: 14px; font-size: .86rem; color: var(--muted); padding-top: 12px; border-top: 1px dashed var(--line); }
.checks { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 26px; color: var(--ink); font-size: .95rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--dcyan); border-bottom: 2px solid var(--dcyan); transform: rotate(-45deg) translateY(-3px); }
.on-navy .checks li { color: var(--on-navy); }
.on-navy .checks li::before { border-color: var(--cyan); }

/* tags / badges */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: var(--light); color: var(--navy); border: 1px solid var(--line); white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.badge-early { background: #FCEBD2; color: #7A4A06; }
.badge-soft { background: var(--pale); color: #0A5E66; }
.badge-live { background: #D5F0E1; color: #0F4A2E; }
.badge-eu { background: #E7ECF3; color: var(--navy); }
.on-navy .badge-early { background: var(--amber); color: var(--navy); }

/* ---------- traction strip ---------- */
.proof { background: var(--navy-2); color: var(--on-navy); border-top: 1px solid rgba(255,255,255,.06); }
.proof .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 22px; padding-bottom: 22px; }
.proof p { margin: 0; font-size: .97rem; }
.proof strong { color: var(--white); font-weight: 600; }
.proof .sectors { display: flex; flex-wrap: wrap; gap: 8px; }
.proof .sectors span { font-size: .8rem; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(25,198,209,.4); color: var(--on-navy); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.stat { padding: 28px 0; border-bottom: 1px solid var(--line); }
.stat .v { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.1rem); font-weight: 650; letter-spacing: -0.03em; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.stat .v small { font-size: .45em; font-weight: 600; letter-spacing: 0; color: var(--dcyan); margin-left: 4px; }
.stat .k { margin-top: 12px; color: var(--ink); font-weight: 500; font-size: .97rem; }
.stat .s { margin-top: 6px; color: var(--muted); font-size: .86rem; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
@media (min-width: 1080px) { .stats { grid-template-columns: repeat(4, 1fr); } .stat { padding-right: 16px; } }
.on-navy .stats, .on-navy .stat { border-color: rgba(255,255,255,.12); }
.on-navy .stat .v { color: var(--white); } .on-navy .stat .v small { color: var(--cyan); }
.on-navy .stat .k { color: var(--on-navy); } .on-navy .stat .s { color: var(--on-navy-muted); }

/* ---------- navy band ---------- */
.band { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; isolation: isolate; }
.band h2, .band h3 { color: var(--white); }
.band .lead { color: var(--on-navy); }
.band a:not(.btn) { color: var(--cyan); }
.band a:not(.btn):hover { color: var(--white); }

/* residency rule */
.rule-quote { margin: 0; padding: 28px 28px 28px 32px; border-radius: var(--radius-lg); background: var(--pale); border: 1px solid #BFE9EC; position: relative; }
.rule-quote::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 4px; border-radius: 0 4px 4px 0; background: var(--dcyan); }
.rule-quote p { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.45; color: var(--navy); font-weight: 550; margin: 0; letter-spacing: -0.01em; }
.rule-quote footer { margin-top: 14px; font-size: .85rem; color: var(--muted); }
.on-navy .rule-quote { background: rgba(255,255,255,.04); border-color: rgba(25,198,209,.35); }
.on-navy .rule-quote::before { background: var(--cyan); }
.on-navy .rule-quote p { color: var(--white); } .on-navy .rule-quote footer { color: var(--on-navy-muted); }

/* providers list */
.providers { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.providers li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.providers .icon-tile { grid-row: span 2; }
.providers strong { color: var(--navy); font-weight: 600; }
.providers p { margin: 0; color: var(--muted); font-size: .95rem; }
.providers .role { grid-column: 2; }
.providers .tag { margin-top: 8px; white-space: normal; line-height: 1.35; }

.on-navy .providers { border-color: rgba(255,255,255,.12); }
.on-navy .providers li { border-color: rgba(255,255,255,.12); }
.on-navy .providers strong { color: var(--white); }
.on-navy .providers p { color: var(--on-navy-muted); }
.on-navy .providers .icon-tile { background: rgba(25,198,209,.12); color: var(--cyan); }
.on-navy .providers .tag { background: rgba(255,255,255,.06); color: var(--on-navy); border-color: rgba(255,255,255,.18); }
.on-navy .tag { background: rgba(255,255,255,.06); color: var(--on-navy); border-color: rgba(255,255,255,.18); }

.runs-today { margin: 0 0 18px; padding: 14px 16px; border-radius: 10px; background: var(--pale); color: var(--navy); font-size: .95rem; border: 1px solid #BFE9EC; }
.on-navy .runs-today { background: rgba(25,198,209,.08); color: var(--on-navy); border-color: rgba(25,198,209,.3); }
.on-navy .runs-today strong { color: var(--white); }
.model-roles { margin: 0 0 28px; padding: 16px 18px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--dcyan); font-size: .95rem; }
.model-roles strong { color: var(--navy); }
.checks + .model-roles { margin-top: 24px; margin-bottom: 0; }
.footnotes { list-style: none; margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .86rem; color: var(--muted); }
.footnotes li { display: grid; grid-template-columns: 26px 1fr; align-items: start; }
.fn-k { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); font-weight: 700; color: var(--navy); font-size: .72rem; }
sup.fn { font-size: .45em; vertical-align: super; margin-left: 3px; }
sup.fn a { text-decoration: none; color: var(--dcyan); font-weight: 700; }
.why sup.fn { font-size: .7em; }
.robot-card { background: var(--light); padding: 22px; border: 0; }
.robot-card img { border-radius: 14px; }
.demo-block { border: 1px solid #BFE9EC; border-radius: var(--radius-lg); background: var(--pale); padding: 28px; }
.demo-block .btn { margin-top: 4px; }
.hero-404 { min-height: 56vh; display: flex; align-items: center; }
.inline-cta { color: var(--cyan); font-weight: 600; white-space: nowrap; }
.inline-cta:hover { color: var(--white); }

/* evidence rows */
.ev { display: grid; gap: 20px; }
.ev-row { display: grid; grid-template-columns: 1fr; gap: 14px 32px; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); }
.ev-row h3 { margin: 0 0 4px; }
.ev-row .what { color: var(--muted); font-size: .95rem; margin: 0; }
.ev-metric { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.ev-metric div { min-width: 140px; }
.ev-metric .v { font-size: 2rem; font-weight: 650; letter-spacing: -0.03em; color: var(--navy); line-height: 1.05; font-variant-numeric: tabular-nums; }
.ev-metric .k { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.ev-row .why { margin: 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .95rem; }
.ev-row .why strong { color: var(--navy); }
@media (min-width: 960px) { .ev-row { grid-template-columns: 5fr 7fr; } .ev-row .why { grid-column: 1 / -1; } }

/* pricing */
.plans { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; background: var(--white); display: flex; flex-direction: column; }
.plan.featured { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy), var(--shadow); position: relative; }
.plan .pname { font-weight: 650; color: var(--navy); font-size: 1.05rem; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.plan .price { font-size: 2.6rem; font-weight: 650; letter-spacing: -0.03em; color: var(--navy); margin: 14px 0 2px; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price span { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan .for { color: var(--muted); font-size: .92rem; margin: 10px 0 18px; }
.plan .checks { margin-bottom: 0; }
.fineprint { margin-top: 18px; font-size: .86rem; color: var(--muted); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 0 56px; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: var(--navy); background: var(--pale); border: 1px solid #BFE9EC; }
.steps h3 { margin: 6px 0 6px; font-size: 1.08rem; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .steps.h { grid-template-columns: repeat(3, 1fr); gap: 32px; } .steps.h li { padding: 56px 0 0; } }
.on-navy .steps li::before { background: rgba(25,198,209,.12); border-color: rgba(25,198,209,.4); color: var(--cyan); }
.on-navy .steps p { color: var(--on-navy-muted); }

/* product hero visual (light panel on navy) */
.panel { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 24px; }
.panel h2 { font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; font-weight: 650; }
.panel dl { margin: 0; display: grid; gap: 0; }
.panel dl div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); }
.panel dt { font-size: .82rem; color: var(--on-navy-muted); }
.panel dd { margin: 0; color: var(--white); font-weight: 500; }
@media (min-width: 560px) { .panel dl div { grid-template-columns: 150px 1fr; gap: 16px; } }

/* call transcript mock */
.call { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.call-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; font-size: .85rem; color: var(--muted); }
.call-head strong { color: var(--navy); font-size: .95rem; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: 600; color: var(--green); }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(46,158,107,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,158,107,.45); } 70% { box-shadow: 0 0 0 8px rgba(46,158,107,0); } 100% { box-shadow: 0 0 0 0 rgba(46,158,107,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot::before { animation: none; } }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.45; margin-bottom: 8px; }
.msg.in { background: var(--light); border-bottom-left-radius: 4px; }
.msg.out { background: var(--navy); color: var(--white); margin-left: auto; border-bottom-right-radius: 4px; }
.tool { font-family: var(--mono); font-size: .78rem; color: #0A5E66; background: var(--pale); border-radius: 8px; padding: 8px 10px; margin: 4px 0 10px; overflow-wrap: anywhere; }

/* code */
pre.code { margin: 0; background: #07162A; color: #DCE6EE; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 22px;
  overflow-x: auto; font-family: var(--mono); font-size: .86rem; line-height: 1.65; }
@media (max-width: 560px) { pre.code { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .76rem; padding: 16px; } }
pre.code .c { color: #8FA3B8; } pre.code .s { color: #7FE3EA; } pre.code .k { color: #F3B562; }

/* split media */
.media-figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--light); border: 1px solid var(--line); }
.media-figure img { width: 100%; height: auto; }
.media-figure figcaption { padding: 12px 16px; font-size: .85rem; color: var(--muted); background: var(--white); border-top: 1px solid var(--line); }

/* external product callout */
.outlink { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 22px 26px;
  border-radius: var(--radius-lg); background: var(--pale); border: 1px solid #BFE9EC; }
.outlink p { margin: 0; color: var(--navy); }
.outlink .by { display: block; font-size: .82rem; color: var(--muted); }
.outlink strong { font-size: 1.1rem; }

/* notice */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; background: #FFF6EA; border: 1px solid #F4D6A8; color: #5A3A08; font-size: .92rem; }
.notice svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; color: #B26E0E; }
.notice p { margin: 0; }
.notice a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.notice.info { background: var(--pale); border-color: #BFE9EC; color: var(--navy); }
.notice.info svg { color: var(--dcyan); }

/* founder */
.person { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.monogram { width: 120px; height: 120px; border-radius: 24px; background: var(--navy); color: var(--white); display: grid; place-items: center;
  font-weight: 650; font-size: 2.2rem; letter-spacing: -0.02em; position: relative; }
.monogram::after { content: ""; position: absolute; left: 30px; right: 30px; bottom: 22px; height: 4px; border-radius: 4px; background: var(--cyan); }
@media (min-width: 720px) { .person { grid-template-columns: 140px 1fr; gap: 36px; } }
.role-line { color: var(--dcyan); font-weight: 600; margin: -4px 0 14px; }

/* contact */
.contact-card { padding: 32px; }
.contact-card .big { font-size: clamp(1.15rem, 1rem + .9vw, 1.6rem); font-weight: 650; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; letter-spacing: -0.01em; }
.contact-card .big:hover { color: var(--dcyan); }
.cal-placeholder { border: 1.5px dashed #9FDDE2; border-radius: var(--radius-lg); background: var(--white); padding: 28px; text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; max-width: 340px; margin: 18px auto; }
.cal-grid span { height: 34px; border-radius: 8px; background: var(--light); border: 1px solid var(--line); }
.cal-grid span.on { background: var(--pale); border-color: #9FDDE2; }

/* legal pages */
.prose { max-width: 72ch; margin: 0 auto; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0; font-size: .93rem; }
.table-scroll { margin: 0 0 1.4em; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; border-radius: 8px;
  background:
    linear-gradient(90deg, var(--white) 30%, rgba(255,255,255,0)) left center / 40px 100% no-repeat local,
    linear-gradient(270deg, var(--white) 30%, rgba(255,255,255,0)) right center / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(11,31,58,.22), rgba(11,31,58,0)) left center / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(11,31,58,.22), rgba(11,31,58,0)) right center / 14px 100% no-repeat scroll; }
.table-scroll:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.table-scroll table { min-width: 780px; }
.table-scroll th { background: rgba(242,245,247,.85); }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--navy); background: var(--light); font-weight: 600; }
.ph { background: #FFF1C9; color: #5A3A08; padding: 1px 6px; border-radius: 4px; font-weight: 600; font-size: .92em; }
.toc { padding: 20px 24px; border-radius: var(--radius-lg); background: var(--light); margin-bottom: 32px; }
.toc ol { margin: 8px 0 0; padding-left: 1.2em; columns: 2 220px; }

/* CTA band */
.cta { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px; }
.cta .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.cta h2 { color: var(--white); margin: 0 0 8px; }
.cta p { margin: 0; max-width: 40em; }

/* ---------- footer ---------- */
.site-footer { background: #081729; color: var(--on-navy-muted); font-size: .92rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-top { padding-top: 56px; padding-bottom: 36px; }
.footer-brand img { width: 168px; margin-bottom: 16px; }
.footer-brand p { max-width: 28em; }
.site-footer h2 { color: var(--white); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; font-weight: 650; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.site-footer ul a, .footer-brand a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-legal { background: linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.1)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat; padding-top: 22px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .84rem; }
.footer-legal p { margin: 0; }

/* utilities */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 24px; }
.center { text-align: center; }
.stack-gap > * + * { margin-top: 20px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 40px 0; }

/* consent banner (only rendered when analytics is enabled in site.js) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin-left: auto; background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 18px 48px rgba(11,31,58,.2); padding: 20px; }
.consent p { margin: 0 0 14px; font-size: .92rem; }

@media print {
  .site-header, .site-footer, .cta, .nav-toggle { display: none; }
  .hero { background: none; color: var(--ink); } .hero h1 { color: var(--navy); }
}

/* ===================== batch 3: stat wall, charts, research ===================== */
.ev-hero { padding-bottom: clamp(40px, 5vw, 64px); }
.stat-wall { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(16px, 3vw, 40px); }
.stat-wall li { padding: 22px 0 24px; border-top: 1px solid rgba(255,255,255,.14); min-width: 0; }
@media (min-width: 900px) { .stat-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stat-wall.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stat-wall li { padding: 30px 0 32px; } }
.sw-v { font-size: clamp(2.5rem, 1.3rem + 4.6vw, 5.2rem); font-weight: 700; letter-spacing: -0.045em; color: var(--white); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-wall.four .sw-v { font-size: clamp(2.5rem, 1.3rem + 4vw, 4.6rem); }
.sw-v small { font-size: .34em; color: var(--cyan); font-weight: 600; letter-spacing: 0; margin-left: 2px; }
.sw-v sup.fn { font-size: .24em; vertical-align: top; position: relative; top: .3em; }
.sw-v sup.fn a, .on-navy sup.fn a { color: var(--cyan); }
.sw-k { margin-top: 12px; font-size: .78rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.sw-caption { margin: 22px 0 0; font-size: .86rem; color: var(--on-navy-muted); max-width: 62em; }

.stack-strip { background: var(--navy-2); border-top: 1px solid rgba(255,255,255,.06); }
.stack-strip .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 18px; padding-bottom: 18px; }
.ss-k { font-size: .78rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-muted); }
.ss-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ss-pills li { font-family: var(--mono); font-size: .8rem; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(25,198,209,.45); color: var(--white); background: rgba(25,198,209,.06); }

.ev-n { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: var(--dcyan); margin-bottom: 8px; }
.ev-head .ev-metric { margin-top: 18px; }
.ev-viz { min-width: 0; align-self: center; }
@media (max-width: 560px) { .ev-row { padding: 20px; } }
figure.ev-chart { margin: 0; }
figure.ev-chart figcaption { margin-top: 10px; font-size: .84rem; color: var(--muted); }
.chart { display: block; width: 100%; height: auto; max-width: 470px; overflow: visible; }
.chart .lbl { font-size: 13.5px; fill: var(--ink); font-weight: 500; }
.chart .val { font-size: 13.5px; fill: var(--navy); font-weight: 700; font-variant-numeric: tabular-nums; }
.chart .tick { font-size: 11px; fill: var(--muted); }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .track { fill: #E6ECF1; }
.chart .b-cyan { fill: var(--cyan); } .chart .b-dcyan { fill: var(--dcyan); } .chart .b-navy { fill: var(--navy); }
.chart .b-outline { fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-dasharray: 4 3; }
.chart .kpi { stroke: var(--amber); stroke-width: 1.75; stroke-dasharray: 4 3; }
.chart .kpi-t { font-size: 11.5px; fill: #8A5300; font-weight: 700; }
.chart .dot { fill: var(--cyan); }

.pull { margin: 0; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-lg); background: var(--navy); position: relative; overflow: hidden; isolation: isolate; }
.pull::before { content: "\201C"; position: absolute; z-index: -1; right: 20px; top: -40px; font-size: 13rem; line-height: 1; font-weight: 700; color: rgba(25,198,209,.14); }
.pull .eyebrow { color: var(--cyan); }
.pull p { margin: 0; max-width: 32em; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.95rem); line-height: 1.35; font-weight: 600; letter-spacing: -0.015em; color: var(--white); }

.wp-theme + .wp-theme { margin-top: 48px; }
.wp-theme h3 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; margin-bottom: 18px; }
.wp-n { font-size: .78rem; font-weight: 700; color: var(--dcyan); border: 1px solid #9FDDE2; border-radius: 8px; padding: 4px 8px; background: var(--white); }
.card.wp .wp-status { align-self: flex-start; margin-bottom: 14px; white-space: normal; }
.card.wp h4 { color: var(--navy); font-size: 1.06rem; line-height: 1.3; margin: 0 0 8px; font-weight: 650; letter-spacing: -0.01em; }
.card.wp p { margin-bottom: 0; }
.card.wp .wp-note { margin-top: 10px; font-size: .86rem; font-weight: 600; color: var(--dcyan); }
.research-teaser { display: block; }
.research-teaser .more { padding-top: 6px; }
.band-2 { background: var(--navy-2); border-top: 1px solid rgba(25,198,209,.25); }
@media (max-width: 560px) {
  .chart .lbl { font-size: 14px; }
  .chart .val { font-size: 15px; }
  .chart .tick { font-size: 13px; }
  .chart .kpi-t { font-size: 13px; }
}

/* ---------- interactive stack explorer (home hero) ---------- */
.sx { --pw: 200px; --ph: 114px; }
.sx-kicker { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 6px; font-size: .84rem; color: var(--on-navy-muted); }
.sx-kicker svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 3px; color: var(--cyan); }
.sx-stage { position: relative; height: calc(var(--ph) + 216px); }
.sx-plate, .sx-tab { --y: calc(var(--i) * 34 + 4); }
.sx-plate { position: absolute; left: 16px; bottom: 0; width: var(--pw); height: var(--ph); pointer-events: none;
  transform: translateY(calc(-1px * var(--y))); }
.sx-plate svg { display: block; width: 100%; height: 100%; overflow: visible; }
.sx-plate polygon { pointer-events: auto; cursor: pointer; transition: fill .3s, stroke .3s; }
.sx-top { fill: #16345C; stroke: rgba(25,198,209,.38); stroke-width: 1.5; stroke-linejoin: round; }
.sx-l { fill: #0E2747; } .sx-r { fill: #0A1D38; }
.sx-g { fill: none; stroke: rgba(25,198,209,.6); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; transition: stroke .3s; }
.sx-g * { vector-effect: non-scaling-stroke; }
.sx-plate.brain .sx-top { fill: #12495C; } .sx-plate.brain .sx-l { fill: #0D3647; } .sx-plate.brain .sx-r { fill: #0A2A39; }
.sx-plate.core .sx-top { fill: #0F5F6E; stroke: rgba(25,198,209,.6); } .sx-plate.core .sx-l { fill: #0C4855; } .sx-plate.core .sx-r { fill: #093843; }
.sx-plate:hover .sx-top, .sx-plate.is-hot .sx-top { stroke: var(--cyan); }
.sx-plate.is-hot .sx-g { stroke: var(--cyan); }
.sx-plate.is-on .sx-top { fill: var(--cyan); stroke: #8EEAF0; } .sx-plate.is-on .sx-l { fill: var(--dcyan); } .sx-plate.is-on .sx-r { fill: #0A5F67; }
.sx-plate.is-on .sx-g { stroke: var(--navy); }
.sx-plate.is-on { filter: drop-shadow(0 10px 18px rgba(25,198,209,.28)); }
.sx-tab { position: absolute; left: calc(var(--pw) + 22px); right: 0; bottom: 0; height: 28px; display: flex; align-items: center; gap: 8px; padding: 0;
  background: none; border: 0; border-radius: 6px; cursor: pointer; text-align: left; white-space: nowrap; font: inherit; font-size: .86rem; font-weight: 600; color: var(--on-navy);
  transform: translateY(calc(-1px * var(--y) - var(--ph) * .555 + 14px)); }
.sx-tab::before { content: ""; flex: 0 0 auto; width: 14px; height: 1px; background: rgba(25,198,209,.45); }
.sx-tab .n { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: .72rem; font-weight: 700;
  color: var(--cyan); border: 1px solid rgba(25,198,209,.45); transition: background .3s, color .3s; }
.sx-tab .t { overflow: hidden; text-overflow: ellipsis; }
.sx-tab:hover { color: var(--white); }
.sx-tab[aria-selected="true"] { color: var(--white); }
.sx-tab[aria-selected="true"]::before { background: var(--cyan); }
.sx-tab[aria-selected="true"] .n { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }
.sx-controls { display: none; margin-top: 10px; }
.sx.is-live .sx-controls { display: block; }
.sx-play svg { width: 16px; height: 16px; fill: currentColor; }
.sx-play .i-stop, .sx-play[aria-pressed="true"] .i-play { display: none; }
.sx-play[aria-pressed="true"] .i-stop { display: block; }
.sx-play[aria-pressed="true"] { border-color: var(--cyan); }
.sx-panels { display: grid; margin-top: 14px; }
.sx-panel { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility 0s .35s; padding: 16px 18px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); }
.sx-panel.is-on { visibility: visible; opacity: 1; transition-delay: 0s; }
.sx-panel .eyebrow { margin-bottom: 4px; }
.sx-h { margin: 0 0 6px; color: var(--white); font-weight: 650; font-size: 1.15rem; letter-spacing: -0.01em; }
.sx-d { margin: 0 0 10px; font-size: .9rem; line-height: 1.5; color: var(--on-navy); }
.sx-m { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; font-size: .84rem; line-height: 1.35; color: var(--on-navy-muted); }
.sx-m strong { flex: 0 0 auto; font-size: 1.35rem; color: var(--white); letter-spacing: -0.02em; } .sx-m small { font-size: .8rem; color: var(--cyan); }
.sx-f { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.10); font-size: .86rem; line-height: 1.45; color: var(--on-navy); }
.sx-f span { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 2px; }
@media (max-width: 479px) { .sx { --pw: 150px; --ph: 86px; } .sx-tab { font-size: .82rem; gap: 6px; } .sx-tab::before { width: 8px; } }
@media (min-width: 1080px) { .hero-home .grid { align-items: start; } }
@media (prefers-reduced-motion: reduce) { .sx-panel, .sx-plate polygon { transition: none; } }
.sx-play { background: transparent; white-space: nowrap; }
.sx-play:hover svg { transform: none; }
.sx-panel { display: flex; flex-direction: column; }
.sx-panel .sx-f { margin-top: auto; }
.sx-panel .tags { margin-bottom: 12px; }

/* ---------- parallax (variables --px/--py/--sp/--t are set by site.js; everything rests at 0 without JS) ---------- */
.plx-field { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.plx-field i { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); opacity: calc(.16 + var(--d) * .44); will-change: translate;
  translate: calc(var(--px, 0) * var(--d) * -46px) calc(var(--py, 0) * var(--d) * -46px + var(--sp, 0) * var(--d) * -300px); }
.plx-field .dot { border-radius: 50%; background: var(--cyan); }
.plx-field .dia { border: 1.5px solid var(--cyan); border-radius: 3px; transform: scaleY(.5) rotate(45deg); }
.hero-home::before { translate: calc(var(--px, 0) * -10px) calc(var(--py, 0) * -10px + var(--sp, 0) * 90px); inset: -20px; }
.hero-home::after { translate: calc(var(--px, 0) * 44px) calc(var(--py, 0) * 44px + var(--sp, 0) * 220px); }
@media (min-width: 1080px) {
  .hero-home .lg-7 { translate: 0 calc(var(--sp, 0) * 70px); }
  [data-plx-group] > * { translate: 0 calc(var(--t, 0) * var(--k, 0) * 1px); }
  [data-plx-group] > :nth-child(1) { --k: 30; } [data-plx-group] > :nth-child(2) { --k: 70; } [data-plx-group] > :nth-child(3) { --k: 110; } [data-plx-group] > :nth-child(4) { --k: 150; }
}

/* ---------- governance plate, slim hero panel ---------- */
.sx-plate.gov:not(.is-on) .sx-top { fill: #1B3A5C; stroke: rgba(224,142,27,.8); }
.sx-plate.gov:not(.is-on) .sx-g { stroke: rgba(240,170,70,.95); }
.sx-panel .sx-f { border-top: 0; padding-top: 0; margin-top: 4px; }
.sx-more { margin: 12px 0 0; font-size: .9rem; font-weight: 600; }
.sx-more a { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); text-decoration: none; min-height: 44px; }
.sx-more a:hover { color: var(--white); }
.sx-more svg { width: 16px; height: 16px; }

/* ---------- scroll walk-through: sticky stack that builds while each layer is explained ---------- */
.sy { position: relative; background: var(--navy); color: var(--on-navy); overflow: clip; isolation: isolate; scroll-margin-top: 60px; }
.sy h2, .sy h3 { color: var(--white); } .sy .lead { color: var(--on-navy); }
.sy-grid { display: grid; gap: 0 64px; margin-top: 20px; }
.sy-stage-wrap { position: sticky; top: 69px; z-index: 2; margin: 0 calc(var(--gutter) * -1); padding: 12px var(--gutter) 10px; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); }
.sy-stage { --pw: 130px; --ph: 74px; --g: 15px; --drop: 70px; position: relative; height: calc(var(--ph) + 6 * var(--g) + 6px); }
.sy-plate { left: 0; transform: translate(var(--ax, 0px), calc(var(--i) * var(--g) * -1)); opacity: var(--p, 1); will-change: translate, opacity;
  translate: calc(var(--px, 0) * (var(--i) - 3) * 8px) calc((1 - var(--p, 1)) * var(--drop) * -1 + var(--py, 0) * (var(--i) - 3) * 5px); }
.sy-plate polygon { pointer-events: none; }
.sy-plate.is-on { --ax: 12px; }
.sy-now { position: absolute; left: calc(var(--pw) + 34px); right: 0; top: 50%; transform: translateY(-50%); margin: 0; }
.sy-now .c { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; color: var(--cyan); }
.sy-now .t { display: block; margin-top: 2px; color: var(--white); font-weight: 650; font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.01em; }
.sy-steps { list-style: none; margin: 0; padding: 0; }
.sy-step { min-height: 58vh; display: flex; flex-direction: column; justify-content: center; padding: 28px 0; transition: opacity .4s var(--ease); }
.sy.is-live .sy-step { opacity: .38; } .sy.is-live .sy-step.is-on { opacity: 1; }
.sy-step h3 { margin: 4px 0 10px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); letter-spacing: -0.02em; }
.sy-d { margin: 0 0 14px; max-width: 36em; color: var(--on-navy); }
.sy-step .sx-m, .sy-step .sx-f { max-width: 36em; }
.sy-byo { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; margin: 14px 0 0; max-width: 36em; font-size: .92rem; color: var(--on-navy); }
.sy-byo .chip { flex: 0 0 auto; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(25,198,209,.6); color: var(--cyan); white-space: nowrap; }
.sy-byo.on .chip { border-color: rgba(224,142,27,.85); color: #F2B55C; }
@media (min-width: 1080px) {
  .sy-grid { grid-template-columns: 5fr 6fr; }
  .sy-stage-wrap { top: 110px; align-self: start; margin: 0; padding: 0; background: none; border: 0; }
  .sy-stage { --pw: 300px; --ph: 171px; --g: 40px; --drop: 150px; height: calc(var(--ph) + 6 * var(--g) + 96px); }
  .sy-plate { left: 40px; } .sy-plate.is-on { --ax: -28px; }
  .sy-now { left: 0; top: 0; transform: none; } .sy-now .t { font-size: 1.6rem; }
  .sy-step { min-height: 64vh; }
}
@media (prefers-reduced-motion: reduce) { .sy-step { transition: none; } }

/* walk-through detail: spec table, measured figures, business outcome */
.sy-specs { display: grid; grid-template-columns: minmax(96px, max-content) 1fr; margin: 0 0 16px; max-width: 36em; font-size: .9rem; line-height: 1.4; border-top: 1px solid rgba(255,255,255,.10); }
.sy-specs dt, .sy-specs dd { margin: 0; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.10); }
.sy-specs dt { padding-right: 18px; color: var(--on-navy-muted); }
.sy-specs dd { color: var(--white); font-weight: 550; }
.sy-figs { display: grid; gap: 2px 28px; max-width: 36em; }
.sy-figs .sx-m { flex-direction: column; gap: 2px; margin: 0 0 8px; } .sy-figs .sx-m strong { font-size: 1.9rem; line-height: 1.1; } .sy-figs .sx-m small { font-size: .5em; }
.sy-note { margin: 0 0 4px; font-size: .82rem; } .sy-note a { color: var(--cyan); }
.sy-step .sx-f { margin-top: 12px; font-size: .95rem; color: var(--white); }
.sy-step { min-height: 0; padding: 34px 0; }
@media (min-width: 560px) { .sy-figs { grid-template-columns: 1fr 1fr; } }
.sy-rail { display: none; }
@media (min-width: 1080px) {
  /* tighter walk-through: bigger stack centred in the viewport, layer legend beside it, steps only as tall as they need */
  .sy-step { min-height: 50vh; padding: 26px 0; }
  .sy-grid { gap: 0 48px; margin-top: 0; }
  .sy-stage { --pw: clamp(250px, 23vw, 350px); --ph: calc(var(--pw) * .57); --g: 42px; height: calc(var(--ph) + 6 * var(--g) + 30px); }
  .sy-stage-wrap { top: max(96px, calc(50vh - (var(--sth) / 2) + 34px)); --sth: calc(clamp(250px, 23vw, 350px) * .57 + 282px); }
  .sy-plate { left: 28px; } .sy-plate.is-on { --ax: -22px; }
  .sy-now { display: none; }
  .sy-rail { display: block; list-style: none; margin: 0; padding: 0; }
  .sy-rail li { position: absolute; left: calc(var(--pw) + 46px); bottom: calc(var(--i) * var(--g) + var(--ph) / 2 - 2px); display: flex; align-items: baseline; gap: 10px; white-space: nowrap;
    font-size: .86rem; font-weight: 600; line-height: 1.2; color: var(--on-navy); transition: opacity .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
  .sy-rail li::before { content: ""; position: absolute; right: calc(100% + 8px); top: 50%; width: 14px; height: 1px; background: currentColor; opacity: .6; }
  .sy-rail b { font-size: .7rem; font-weight: 700; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
  .sy.is-live .sy-rail li { color: var(--on-navy-muted); opacity: .45; }
  .sy.is-live .sy-rail li.is-done { opacity: 1; color: var(--on-navy); }
  .sy.is-live .sy-rail li.is-on { opacity: 1; color: var(--white); transform: translateX(6px); } .sy-rail li.is-on b { color: var(--cyan); }
  .sy-rail li.is-on::before { background: var(--cyan); opacity: 1; width: 20px; }
}
@media (prefers-reduced-motion: reduce) { .sy-rail li { transition: none; } }
/* pinned mode (set by site.js when the tallest layer fits the viewport): stack and text both stay put, the text swaps in place */
.sy.is-pin .sy-grid { height: calc(100vh - 69px + 6.5 * 48vh); align-items: start; }
.sy.is-pin .sy-steps { position: sticky; top: 69px; height: calc(100vh - 69px); display: grid; align-items: center; }
.sy.is-pin .sy-step { grid-area: 1 / 1; min-height: 0; padding: 0; opacity: 0; transform: translateY(44px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .5s var(--ease); }
.sy.is-pin .sy-step.is-past { transform: translateY(-44px); }
.sy.is-pin .sy-step.is-on { opacity: 1; transform: none; pointer-events: auto; transition: opacity .45s var(--ease) .12s, transform .6s var(--ease) .12s; }
.sy.is-pin .sy-step > * { transition: opacity .45s var(--ease), transform .55s var(--ease); }
.sy.is-pin .sy-step:not(.is-on) > * { opacity: 0; transform: translateY(14px); transition-duration: .2s; }
.sy.is-pin .sy-step.is-on > :nth-child(2) { transition-delay: .16s; } .sy.is-pin .sy-step.is-on > :nth-child(3) { transition-delay: .22s; }
.sy.is-pin .sy-step.is-on > :nth-child(4) { transition-delay: .28s; } .sy.is-pin .sy-step.is-on > :nth-child(5) { transition-delay: .34s; }
.sy.is-pin .sy-step.is-on > :nth-child(n+6) { transition-delay: .4s; }
@media (max-height: 820px) {  /* short laptop screens: compact the pinned text so the tallest layer still fits */
  .sy.is-pin .sy-step h3 { margin: 2px 0 6px; font-size: 1.6rem; } .sy.is-pin .sy-d { margin-bottom: 10px; font-size: .97rem; line-height: 1.5; }
  .sy.is-pin .sy-specs { margin-bottom: 10px; font-size: .86rem; } .sy.is-pin .sy-specs dt, .sy.is-pin .sy-specs dd { padding-top: 5px; padding-bottom: 5px; }
  .sy.is-pin .sy-figs .sx-m strong { font-size: 1.6rem; } .sy.is-pin .sy-figs .sx-m { margin-bottom: 4px; }
  .sy.is-pin .sy-step .sx-f { margin-top: 8px; padding-top: 10px; font-size: .9rem; } .sy.is-pin .sy-byo { margin-top: 8px; font-size: .88rem; }
}

/* ---------- home page motion (.home-fx is set by site.js; nothing here applies without JS or under reduced motion) ---------- */
.home-fx .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.home-fx .rv.in { opacity: 1; transform: none; }
.home-fx .stats .rv:nth-child(2), .home-fx [data-plx-group] > .rv:nth-child(2) { transition-delay: .08s; }
.home-fx .stats .rv:nth-child(3), .home-fx [data-plx-group] > .rv:nth-child(3) { transition-delay: .16s; }
.home-fx .stats .rv:nth-child(4), .home-fx [data-plx-group] > .rv:nth-child(4) { transition-delay: .24s; }
/* cards: tilt toward the pointer, spotlight, accent bar and icon react */
.home-fx a.card { transition: transform .25s var(--ease), border-color .2s var(--ease), box-shadow .3s var(--ease); }
.home-fx a.card::before { transition: width .45s var(--ease); }
.home-fx a.card .icon-tile { transition: background .25s var(--ease), color .25s var(--ease), transform .35s var(--ease); }
.home-fx a.card:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); border-color: var(--cyan);
  box-shadow: 0 20px 44px rgba(11,31,58,.16); background-image: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(25,198,209,.13), transparent 62%); }
.home-fx a.card:hover::before { width: calc(100% - 56px); }
.home-fx a.card:hover .icon-tile { background: var(--cyan); color: var(--navy); transform: scale(1.1) rotate(-5deg); }
.home-fx a.card:hover .more svg { transform: translateX(6px); }
/* figures: a rule that draws in, and a lift on hover */
.home-fx .stat { position: relative; }
.home-fx .stat::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--cyan); transition: width .9s var(--ease) .35s; }
.home-fx .stat.in::after { width: 56px; }
.home-fx .stat:hover::after { width: calc(100% - 16px); transition-delay: 0s; }
.home-fx .stat .v { transition: color .25s var(--ease), transform .35s var(--ease); transform-origin: left bottom; }
.home-fx .stat:hover .v { color: var(--dcyan); transform: scale(1.06); }
/* live badges, hero bullets, buttons, provider rows */
.home-fx .badge-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(46,158,107,.5); animation: pulse 2s infinite; }
.home-fx .hero-meta li::before { animation: pulse-c 2.6s infinite; }
.home-fx .hero-meta li:nth-child(2)::before { animation-delay: .5s; } .home-fx .hero-meta li:nth-child(3)::before { animation-delay: 1s; }
@keyframes pulse-c { 0% { box-shadow: 0 0 0 0 rgba(25,198,209,.55); } 70% { box-shadow: 0 0 0 8px rgba(25,198,209,0); } 100% { box-shadow: 0 0 0 0 rgba(25,198,209,0); } }
.home-fx .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(25,198,209,.35); }
.home-fx .providers li { transition: transform .3s var(--ease); } .home-fx .providers li:hover { transform: translateX(6px); }
.home-fx .providers li .icon-tile { transition: transform .3s var(--ease); } .home-fx .providers li:hover .icon-tile { transform: scale(1.1); }
/* walk-through: the spec rows of the active layer slide in one after another */
.home-fx .sy-specs > * { transition: transform .5s var(--ease); }
.home-fx .sy-step:not(.is-on) .sy-specs > * { transform: translateX(-12px); }
.home-fx .sy-specs > :nth-child(n+3) { transition-delay: .05s; } .home-fx .sy-specs > :nth-child(n+5) { transition-delay: .1s; } .home-fx .sy-specs > :nth-child(n+7) { transition-delay: .15s; }
.home-fx .sy-specs > :nth-child(n+9) { transition-delay: .2s; } .home-fx .sy-specs > :nth-child(n+11) { transition-delay: .25s; }
.home-fx .sy-figs .sx-m strong { display: inline-block; transition: transform .5s var(--ease) .1s; transform-origin: left bottom; }
.home-fx .sy-step:not(.is-on) .sy-figs .sx-m strong { transform: scale(.88); }

/* founder photo (company page) */
.person-photo { width: 120px; height: 120px; border-radius: 24px; object-fit: cover; background: var(--navy); box-shadow: var(--shadow); }
@media (min-width: 720px) { .person-photo { width: 140px; height: 140px; } }

.hero-meta li::before { flex: 0 0 6px; }
.hero-meta li { align-items: baseline; } .hero-meta li::before { position: relative; top: -2px; }

/* ---------- model cards (platform page): our named models with size, base, adapter and KPIs ---------- */
.card.mc { padding: 24px; height: 100%; scroll-margin-top: 90px; } .card.mc::before { display: none; }
.card.mc .icon-tile { margin-bottom: 16px; }
.card.mc h3 { font-size: 1.6rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.mc-size { margin-left: 4px; font-size: .62em; font-weight: 650; letter-spacing: 0; color: var(--dcyan); white-space: nowrap; }
.mc-specs { display: grid; grid-template-columns: minmax(88px, max-content) 1fr; margin: 16px 0 0; font-size: .9rem; line-height: 1.4; border-top: 1px solid var(--line); }
.mc-specs dt, .mc-specs dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mc-specs dt { padding-right: 16px; color: var(--muted); } .mc-specs dd { color: var(--ink); font-weight: 550; }
.mc-kpis { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px 20px; }
.mc-kpis strong { display: block; font-size: 1.7rem; line-height: 1.1; font-weight: 650; letter-spacing: -0.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.mc-kpis span { display: block; margin-top: 4px; font-size: .84rem; line-height: 1.4; color: var(--muted); }
.mc-note { margin: 14px 0 0; font-size: .8rem; line-height: 1.45; color: var(--muted); }
@media (min-width: 560px) { .mc-kpis { grid-template-columns: repeat(3, 1fr); } }

/* API access band */
.api-band { display: grid; gap: 28px 56px; align-items: center; }
.api-band .section-head { margin-bottom: 22px; }
.api-models { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.api-models a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.api-models a:hover, .api-models a:focus-visible { border-color: var(--cyan); transform: translateY(-2px); }
.api-models b { display: block; font-size: 1.15rem; color: var(--navy); }
.api-models span { font-size: .9rem; color: var(--muted); }
@media (min-width: 900px) { .api-band { grid-template-columns: 1.15fr 1fr; } }

/* API access form (contact page) */
.af { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 36px); }
.af-tabs { display: none; gap: 6px; margin: 0 0 28px; padding: 5px; background: var(--light); border-radius: 999px; }
.af.is-js .af-tabs { display: flex; }
.af-tab { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent;
  font: inherit; font-weight: 600; font-size: .95rem; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.af-tab .n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid currentColor; font-size: .8rem; flex: none; }
.af-tab[aria-selected="true"] { background: var(--navy); color: var(--white); }
.af-tab[aria-selected="true"] .n { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }
.af-tab.is-done .n { background: var(--pale); border-color: var(--dcyan); color: var(--dcyan); }
.af-ptitle { margin: 0 0 18px; font-size: 1.25rem; }
.af.is-js .af-ptitle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.af-panel + .af-panel { margin-top: 36px; }
.af.is-js .af-panel { margin-top: 0; }
.af.is-js .af-panel[hidden] { display: none; }
.af.is-js .af-panel { animation: af-in .35s ease both; }
@keyframes af-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.af-cols { display: grid; gap: 20px; }
.af-group { margin: 0 0 20px; padding: 20px 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.af-cols .af-group { margin: 0; }
.af-group legend { padding: 0 8px; margin-left: -8px; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dcyan); }
.af-hint { display: block; margin: 0 0 12px; font-size: .88rem; color: var(--muted); }
.af-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.af-chip input, .af-model input, .af-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.af-chip span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.af-chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.af-chip input:focus-visible + span, .af-model input:focus-visible + .af-model-body, .af-radio input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.af-range + .af-range { margin-top: 22px; }
.af-range-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.af-range label { font-weight: 600; font-size: .95rem; }
.af-range output { font-weight: 700; color: var(--dcyan); font-size: .95rem; text-align: right; white-space: nowrap; }
.af-range .af-hint { margin: 2px 0 0; }
.af-range input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 6px 0 0; background: transparent; cursor: pointer; }
.af-range input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--cyan) var(--p, 0%), var(--line) var(--p, 0%)); }
.af-range input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line); }
.af-range input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--cyan); }
.af-range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--navy); border: 3px solid var(--white); box-shadow: 0 1px 4px rgba(11,31,58,.35); }
.af-range input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--navy); border: 3px solid var(--white); box-shadow: 0 1px 4px rgba(11,31,58,.35); }
.af-ends { display: flex; justify-content: space-between; gap: 12px; font-size: .78rem; color: var(--muted); }
.af-models { display: grid; gap: 12px; }
.af-model { position: relative; display: block; cursor: pointer; }
.af-model-body { display: block; height: 100%; padding: 16px 18px 16px 50px; border: 1.5px solid var(--line); border-radius: var(--radius); position: relative; transition: border-color .15s, background .15s; }
.af-model-body::before { content: ""; position: absolute; left: 16px; top: 18px; width: 20px; height: 20px; border: 1.5px solid var(--muted); border-radius: 5px; background: var(--white); }
.af-model input:checked + .af-model-body { border-color: var(--dcyan); background: var(--pale); }
.af-model input:checked + .af-model-body::before { background: var(--navy); border-color: var(--navy); }
.af-model input:checked + .af-model-body::after { content: ""; position: absolute; left: 21px; top: 24px; width: 10px; height: 5px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg); }
.af-model-top { display: flex; align-items: baseline; gap: 10px; }
.af-model-top b { font-size: 1.2rem; color: var(--navy); }
.af-model-top em { font-style: normal; font-size: .85rem; font-weight: 600; color: var(--muted); }
.af-model-role { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dcyan); margin: 2px 0 6px; }
.af-model-desc { display: block; font-size: .92rem; color: var(--muted); }
.af-radios { display: grid; gap: 10px; }
.af-radio { position: relative; display: block; cursor: pointer; }
.af-radio span { display: block; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); transition: border-color .15s, background .15s; }
.af-radio b { display: block; } .af-radio small { color: var(--muted); font-size: .88rem; }
.af-radio input:checked + span { border-color: var(--dcyan); background: var(--pale); }
.af-fields { display: grid; gap: 16px; }
.af-field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.af-field label small { font-weight: 400; color: var(--muted); }
.af-field input, .af-field textarea { width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--white); font: inherit; color: var(--ink); }
.af-field textarea { resize: vertical; min-height: 96px; }
.af-field input:focus, .af-field textarea:focus { outline: none; border-color: var(--dcyan); box-shadow: 0 0 0 3px rgba(25,198,209,.25); }
.af-field .is-bad, .af-consent.is-bad span { border-color: #C0392B; }
.af-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.af-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: .92rem; cursor: pointer; }
.af-consent input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--navy); }
.af-consent.is-bad { color: #A93226; }
.af-nav { display: none; justify-content: flex-end; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.af.is-js .af-nav, .af-panel:last-of-type .af-nav { display: flex; }
.af:not(.is-js) .af-nav [data-af-go] { display: none; }
.af button.btn { cursor: pointer; font: inherit; font-weight: 600; }
.af button.btn[disabled] { opacity: .6; cursor: progress; }
.af-status { margin: 16px 0 0; font-weight: 600; min-height: 1.5em; }
.af-status.is-err { color: #A93226; }
.af-done { text-align: center; padding: clamp(24px, 5vw, 56px) 12px; }
.af-done h3 { font-size: 1.5rem; margin: 14px 0 8px; }
.af-done p { color: var(--muted); margin: 0 auto; max-width: 32em; }
.af-done .tick { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--pale); }
.af-done .tick::before { content: ""; width: 20px; height: 10px; border-left: 3px solid var(--dcyan); border-bottom: 3px solid var(--dcyan); transform: rotate(-45deg) translate(2px, -2px); }
@media (min-width: 720px) { .af-models, .af-fields { grid-template-columns: 1fr 1fr; } .af-field.wide { grid-column: 1 / -1; } .af-radios { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .af-cols { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .af-tab { font-size: .82rem; gap: 6px; padding: 0 6px; } .af-tab .n { width: 20px; height: 20px; font-size: .72rem; } }
@media (prefers-reduced-motion: reduce) { .af.is-js .af-panel { animation: none; } }

/* Price calculator (early-access page): the form above plus a live result panel */
.af.pc { display: grid; gap: 24px; padding: 0; border: 0; background: transparent; box-shadow: none; align-items: start; }
.pc-main { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 32px); min-width: 0; }
.af-cols.two { grid-template-columns: 1fr; }
.af-models.three { margin-bottom: 12px; }
.af-model input[type="radio"] + .af-model-body::before { border-radius: 50%; }
.af-model-top em:empty { display: none; }
.af-lead { margin: 0 0 20px; color: var(--muted); }
.pc-out { background: var(--navy); color: var(--on-navy); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 30px); display: none; }
.af.is-js .pc-out { display: block; }
.pc-out .eyebrow { color: var(--cyan); }
.pc-row { display: grid; gap: 2px; margin-top: 18px; }
.pc-name { font-size: .92rem; color: var(--on-navy-muted); }
.pc-val { font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--white); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.pc-row.ours .pc-val { color: var(--cyan); }
.pc-bar { margin-top: 6px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.pc-bar i { display: block; height: 100%; width: 0; min-width: 3px; border-radius: 4px; background: var(--on-navy-muted); transition: width .45s cubic-bezier(.2,.7,.2,1); }
.pc-row.ours .pc-bar i { background: var(--cyan); }
.pc-x { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: 1rem; color: var(--on-navy); }
.pc-x b { display: block; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.05; color: var(--white); letter-spacing: -.02em; }
.pc-lines { width: 100%; margin: 18px 0 0; border-collapse: collapse; font-size: .86rem; font-variant-numeric: tabular-nums; }
.pc-lines th, .pc-lines td { padding: 7px 0 7px 12px; text-align: right; border-top: 1px solid rgba(255,255,255,.1); font-weight: 400; color: var(--on-navy); white-space: nowrap; }
.pc-lines thead th { border-top: 0; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-navy-muted); }
.pc-lines th:first-child { text-align: left; white-space: normal; padding-right: 8px; }
.pc-lines tbody th small { display: block; color: var(--on-navy-muted); font-size: .76rem; }
.pc-lines:has(tbody:empty) { display: none; }
.pc-cta { width: 100%; justify-content: center; margin-top: 22px; }
.pc-note { margin: 14px 0 0; font-size: .8rem; color: var(--on-navy-muted); }
.pc-tablewrap { overflow-x: auto; }
.pc-table { width: 100%; border-collapse: collapse; margin: 0 0 28px; font-size: .93rem; font-variant-numeric: tabular-nums; }
.pc-table caption { text-align: left; font-weight: 700; color: var(--navy); padding-bottom: 10px; }
.pc-table th, .pc-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.pc-table thead th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pc-table .num { text-align: right; white-space: nowrap; }
.pc-table tr.is-ours th, .pc-table tr.is-ours td { background: var(--pale); font-weight: 600; color: var(--navy); }
.pc-notes { margin: 8px 0 0; padding-left: 20px; font-size: .86rem; color: var(--muted); display: grid; gap: 8px; max-width: 72em; }
@media (min-width: 720px) { .af-cols.two { grid-template-columns: 1fr 1fr; } .af-models.three { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .af.pc { grid-template-columns: minmax(0, 1fr) 360px; } .pc-out { position: sticky; top: 92px; } }
.pc-out.is-empty .pc-row, .pc-out.is-empty .pc-lines { display: none; }
.pc-out.is-empty .pc-x { margin-top: 14px; padding-top: 0; border-top: 0; font-size: 1.05rem; line-height: 1.5; }
