/* Big Beautiful Brain: site design system.
   Type: Newsreader (display serif, light) + Inter (text). Colour: ink, paper, mint accent.
   Motion: reveal on scroll, mesh-gradient hero with a live neural canvas, sliding CTA arrows. */

:root {
  --ink: #0b1b2b;
  --ink-90: #172a3c;
  --ink-70: #3d4b59;
  --ink-60: #55606c;
  --ink-40: #8b939b;
  --ink-20: #c9ced3;
  --line: rgba(11, 27, 43, 0.12);
  --line-strong: rgba(11, 27, 43, 0.24);
  --paper: #f4f1ec;
  --paper-2: #ebe6dd;
  --white: #ffffff;
  --mint: #8ef5c9;
  --mint-strong: #5fe3ad;
  --mint-tint: #e6faf1;
  --sky: #a9d8ff;
  --lilac: #c7c0ff;
  --sand: #f2e6d2;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 15px;
  --shadow-pill: 0 10px 30px rgba(11, 27, 43, 0.10), 0 1px 0 rgba(11, 27, 43, 0.04);
  --shadow-card: 0 18px 50px rgba(11, 27, 43, 0.10);
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-70);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--serif); font-weight: 300; letter-spacing: -0.012em; }
.display { font-size: clamp(44px, 6.3vw, 96px); line-height: 1.0; }
.h2 { font-size: clamp(34px, 4.1vw, 60px); line-height: 1.06; }
.h3 { font-size: clamp(25px, 2.3vw, 34px); line-height: 1.14; }
.h4 { font-size: 22px; line-height: 1.25; font-weight: 400; }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--ink-70); }
.small { font-size: 14px; line-height: 1.55; }
.muted { color: var(--ink-40); }
.eyebrow { display: inline-block; font: 700 13px/1.2 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink); margin: 0 0 22px; }
.eyebrow.dim { color: var(--ink-60); }
p { margin: 0 0 1em; }
.prose p { max-width: 64ch; }
.prose h2 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.15; margin: 1.6em 0 0.5em; }
.prose h3 { font-size: 24px; margin: 1.4em 0 0.4em; font-weight: 400; }
.prose ul { padding-left: 1.2em; max-width: 64ch; }
.prose li { margin: 0.35em 0; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--mint-strong); font-family: var(--serif); font-size: 26px; line-height: 1.3; color: var(--ink); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 880px; }
.section { padding: clamp(84px, 10vw, 150px) 0; position: relative; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.bg-paper { background: var(--paper); }
.bg-mint { background: var(--mint-tint); }
.bg-ink { background: var(--ink); color: rgba(255, 255, 255, 0.74); }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4, .bg-ink .eyebrow { color: #fff; }
.bg-ink .muted { color: rgba(255, 255, 255, 0.45); }
.framed { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.split.top { align-items: start; }
.stack > * + * { margin-top: 18px; }
.center { text-align: center; }
.mt-s { margin-top: 18px; } .mt-m { margin-top: 36px; } .mt-l { margin-top: 64px; }
.mb-m { margin-bottom: 36px; } .mb-l { margin-bottom: 64px; }
.row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: var(--radius-pill);
  background: var(--mint); color: var(--ink);
  font: 700 14px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: padding 0.35s var(--ease), background 0.25s ease, box-shadow 0.25s ease;
}
.btn .arrow { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn:hover { padding-right: 32px; background: var(--mint-strong); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-90); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.6); }
.bg-ink .btn-ghost, .cta-band .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); }
.bg-ink .btn-ghost:hover, .cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.link { font-weight: 600; color: var(--ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; transition: background-size 0.35s var(--ease); }
.link:hover { background-size: 0 1.5px; background-position: 100% 100%; }
.bg-ink .link { color: #fff; }

/* ---------- header ---------- */
.site-header { position: fixed; z-index: 60; top: 18px; left: 0; right: 0; pointer-events: none; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.pill {
  pointer-events: auto; display: flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: 17px; box-shadow: var(--shadow-pill); padding: 6px;
}
.menu-btn { width: 42px; height: 42px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; transition: background 0.2s; }
.menu-btn:hover { background: var(--paper-2); }
.menu-btn svg { width: 20px; height: 20px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 12px 0 6px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: -0.01em; white-space: nowrap; }
.subnav { gap: 2px; padding: 6px 8px; }
.subnav .label { font: 700 11px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); padding: 0 10px 0 6px; white-space: nowrap; }
.subnav a { font: 600 11.5px/1 var(--sans); letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-60); text-decoration: none; padding: 10px 11px; border-radius: 10px; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.subnav a:hover { color: var(--ink); background: var(--paper); }
.subnav a.is-current { color: var(--ink); background: var(--mint-tint); }
.header-actions { gap: 4px; }
.header-actions .text-link { font: 600 13px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 14px 14px; border-radius: 12px; }
.header-actions .text-link:hover { background: var(--paper); }
.header-actions .btn { padding: 13px 18px; font-size: 13px; }
.header-actions .btn:hover { padding-right: 26px; }
.site-header.is-scrolled .pill { background: rgba(255, 255, 255, 0.97); }

/* ---------- menu overlay ---------- */
.menu { position: fixed; inset: 0; z-index: 80; background: #fff; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s 0.35s; }
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s; }
.menu-top { display: flex; align-items: center; gap: 12px; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); }
.menu-top .menu-btn { background: var(--paper); }
.menu-top .spacer { flex: 1; }
.menu-body { flex: 1; display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr) minmax(0, 420px); min-height: 0; }
.menu-nav { border-right: 1px solid var(--line); padding: 20px 14px; overflow: auto; }
.menu-group { padding: 10px 0 14px; border-bottom: 1px solid var(--line); }
.menu-group:last-child { border-bottom: 0; }
.menu-group > a, .menu-group > button { display: flex; width: 100%; justify-content: space-between; align-items: center; font-family: var(--serif); font-size: 24px; color: var(--ink); text-decoration: none; padding: 10px 10px; border-radius: 12px; text-align: left; }
.menu-group > a:hover, .menu-group > button:hover, .menu-group > button[aria-expanded="true"] { background: var(--paper); }
.menu-sub { display: grid; gap: 2px; padding: 6px 0 0; }
.menu-sub a { display: block; font-size: 15px; color: var(--ink-70); text-decoration: none; padding: 9px 22px; border-radius: 10px; }
.menu-sub a:hover { background: var(--paper); color: var(--ink); }
.menu-detail { padding: 34px clamp(24px, 3vw, 48px); overflow: auto; }
.menu-detail h3 { font-size: 30px; margin-bottom: 6px; }
.menu-detail .grid { margin-top: 26px; gap: 4px 28px; }
.menu-detail .grid a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 16px; }
.menu-detail .grid a span { display: block; color: var(--ink-60); font-size: 13.5px; margin-top: 2px; }
.menu-detail .grid a:hover { color: var(--ink-60); }
.menu-promo { background: var(--paper); padding: 28px; display: flex; flex-direction: column; gap: 18px; overflow: auto; }
.menu-promo .media { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; position: relative; }
.menu-promo .media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8) contrast(1.04); }
.menu-promo .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(142, 245, 201, 0.45), rgba(142, 245, 201, 0) 50%); mix-blend-mode: screen; }
.menu-promo h4 { font-family: var(--serif); font-size: 30px; font-weight: 300; line-height: 1.12; }
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 150px 0 clamp(64px, 9vh, 110px); overflow: hidden; background: var(--paper); isolation: isolate; }
.mesh { position: absolute; inset: -20%; z-index: -2; filter: blur(70px) saturate(1.1); }
.mesh span { position: absolute; border-radius: 50%; opacity: 0.85; animation: drift 26s var(--ease) infinite alternate; }
.mesh .m1 { width: 52vw; height: 52vw; left: 46%; top: 2%; background: var(--mint); }
.mesh .m2 { width: 42vw; height: 42vw; left: 64%; top: 38%; background: var(--sky); animation-duration: 31s; animation-delay: -6s; }
.mesh .m3 { width: 36vw; height: 36vw; left: 30%; top: 46%; background: var(--lilac); animation-duration: 37s; animation-delay: -12s; }
.mesh .m4 { width: 30vw; height: 30vw; left: 8%; top: 10%; background: var(--sand); animation-duration: 29s; animation-delay: -3s; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-6vw, 4vh, 0) scale(1.12); } 100% { transform: translate3d(4vw, -5vh, 0) scale(0.94); } }
.hero canvas.brain-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero .grain { position: absolute; inset: 0; z-index: -1; opacity: 0.18; background-image: radial-gradient(rgba(11, 27, 43, 0.35) 0.6px, transparent 0.7px); background-size: 3px 3px; mix-blend-mode: multiply; pointer-events: none; }
.hero-copy { max-width: 1000px; }
.hero-copy .lead { max-width: 640px; margin-top: 28px; color: var(--ink-70); }
.hero-copy .row { margin-top: 38px; }
.motion-toggle { position: absolute; right: var(--gutter); bottom: 28px; z-index: 3; width: 34px; height: 34px; border-radius: 9px; background: rgba(255, 255, 255, 0.75); display: grid; place-items: center; box-shadow: var(--shadow-pill); }
.motion-toggle svg { width: 14px; height: 14px; }
.hero.is-paused .mesh span { animation-play-state: paused; }

.page-hero { padding: 168px 0 72px; background: var(--paper); }
.page-hero .display { font-size: clamp(42px, 5.6vw, 84px); max-width: 15ch; }
.page-hero .lead { max-width: 700px; margin-top: 26px; }
.page-hero .hero-media { margin-top: 64px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 8; position: relative; }
.page-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.78) contrast(1.05); }
.page-hero .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(142, 245, 201, 0.4), rgba(142, 245, 201, 0) 42%); mix-blend-mode: screen; }

/* ---------- media cards and tiles ---------- */
.card-media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; min-height: 440px; isolation: isolate; background: var(--ink); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(0.78) contrast(1.05); transform: scale(1.001); transition: transform 1.1s var(--ease); }
.card-media::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 27, 43, 0) 30%, rgba(11, 27, 43, 0.82) 100%); }
.card-media:hover img { transform: scale(1.05); }
.card-media .content { position: absolute; left: 30px; right: 30px; bottom: 28px; }
.card-media .eyebrow { color: #fff; margin-bottom: 12px; }
.card-media h3 { color: #fff; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.08; }
.card-media p { color: rgba(255, 255, 255, 0.82); margin: 14px 0 0; max-width: 46ch; }
.card-media .btn { margin-top: 22px; }
.card-media.tall { min-height: 560px; }
.tile { background: var(--paper); border-radius: var(--radius); padding: 28px; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; color: inherit; transition: background 0.3s ease, transform 0.4s var(--ease); }
a.tile:hover { background: var(--paper-2); }
.tile .icon { width: 40px; height: 40px; border-radius: 11px; background: #fff; display: grid; place-items: center; color: var(--ink); }
.tile .icon svg { width: 20px; height: 20px; }
.tile h3 { font-size: 27px; line-height: 1.12; margin-top: 30px; }
.tile p { margin: 12px 0 0; font-size: 15.5px; color: var(--ink-60); }
.bg-paper .tile { background: #fff; }
.bg-paper a.tile:hover { background: #fbfaf8; }
.bg-ink .tile { background: rgba(255, 255, 255, 0.06); }
.bg-ink .tile p { color: rgba(255, 255, 255, 0.66); }
.bg-ink .tile .icon { background: rgba(255, 255, 255, 0.1); color: var(--mint); }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 8vw, 120px); }
.feature.flip > :first-child { order: 2; }
.feature .media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; }
.feature .media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.78) contrast(1.05); }
.feature .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, rgba(142, 245, 201, 0.35), rgba(142, 245, 201, 0) 45%); mix-blend-mode: screen; }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 16px; height: 16px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%230b1b2b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* ---------- lifecycle tabs ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 6px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-pill); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 13px 18px; border-radius: 11px; font: 600 14.5px/1 var(--sans); color: var(--ink-60); white-space: nowrap; transition: background 0.25s, color 0.25s; }
.tab:hover { color: var(--ink); background: var(--paper); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab-panels { margin-top: 44px; }
.tab-panel { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: stretch; }
.tab-panel[hidden] { display: none; }
.tab-panel .media { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; }
.tab-panel .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.78) contrast(1.05); }
.tab-panel .media .chip { position: absolute; left: 22px; top: 22px; background: rgba(255, 255, 255, 0.92); border-radius: 10px; padding: 9px 12px; font: 700 12px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.tab-panel .copy { display: flex; flex-direction: column; justify-content: center; }
.tab-panel.is-entering .media img { animation: kenburns 1.2s var(--ease) both; }
.tab-panel.is-entering .copy > * { animation: rise 0.7s var(--ease) both; }
.tab-panel.is-entering .copy > *:nth-child(2) { animation-delay: 0.06s; }
.tab-panel.is-entering .copy > *:nth-child(3) { animation-delay: 0.12s; }
.tab-panel.is-entering .copy > *:nth-child(4) { animation-delay: 0.18s; }
@keyframes kenburns { from { transform: scale(1.06); opacity: 0.6; } to { transform: scale(1); opacity: 1; } }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- sticky steps ---------- */
.steps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); }
.steps-visual { position: sticky; top: 110px; height: min(640px, calc(100vh - 160px)); border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.steps-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 0.9s var(--ease), transform 1.6s var(--ease); filter: saturate(0.75) contrast(1.05); }
.steps-visual img.is-active { opacity: 1; transform: none; }
.steps-visual .badge { position: absolute; left: 24px; bottom: 24px; z-index: 2; background: rgba(255, 255, 255, 0.94); border-radius: 12px; padding: 12px 16px; font: 700 12px/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.steps-visual .progress { position: absolute; left: 24px; right: 24px; top: 24px; z-index: 2; height: 3px; background: rgba(255, 255, 255, 0.3); border-radius: 3px; overflow: hidden; }
.steps-visual .progress i { display: block; height: 100%; width: 0; background: var(--mint); transition: width 0.6s var(--ease); }
.step { padding: 44px 0 52px; border-top: 1px solid var(--line); opacity: 0.38; transition: opacity 0.5s var(--ease); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step.is-active { opacity: 1; }
.step .num { font: 700 13px/1 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-60); }
.step h3 { margin: 16px 0 14px; }
.step p { max-width: 54ch; }

/* ---------- question carousel ---------- */
.carousel { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 600px; background: var(--ink); isolation: isolate; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.72) contrast(1.06); transform: scale(1.06); transition: transform 7s linear; }
.slide.is-active img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 27, 43, 0.82) 0%, rgba(11, 27, 43, 0.25) 62%, rgba(11, 27, 43, 0.1) 100%); }
.slide .q { position: absolute; z-index: 2; left: clamp(26px, 5vw, 72px); bottom: clamp(70px, 9vw, 110px); max-width: 760px; }
.slide .q p { font-family: var(--serif); font-weight: 300; color: #fff; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.1; margin: 0; }
.slide .q span { display: block; margin-top: 22px; font: 700 12.5px/1.3 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--mint); }
.carousel-ui { position: absolute; z-index: 3; left: clamp(26px, 5vw, 72px); right: clamp(26px, 5vw, 72px); bottom: 32px; display: flex; align-items: center; justify-content: space-between; }
.dots { display: flex; gap: 8px; }
.dots button { width: 28px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.35); transition: background 0.3s, width 0.3s; }
.dots button[aria-current="true"] { background: #fff; width: 44px; }
.arrows { display: flex; gap: 10px; }
.arrows button { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; display: grid; place-items: center; transition: background 0.25s; }
.arrows button:hover { background: rgba(255, 255, 255, 0.28); }
.arrows svg { width: 18px; height: 18px; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 48s linear infinite; padding: 6px 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 40px); font-weight: 300; color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 46px; }
.marquee-track span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--mint-strong); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- stats and principles ---------- */
.stat { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.stat .num { font-family: var(--serif); font-weight: 300; font-size: clamp(50px, 5.2vw, 80px); line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.stat .num small { font-size: 0.45em; margin-left: 4px; }
.stat p { margin: 14px 0 0; font-size: 15.5px; color: var(--ink-60); max-width: 30ch; }
.bg-ink .stat { border-color: rgba(255, 255, 255, 0.22); }
.bg-ink .stat .num { color: #fff; }
.bg-ink .stat p { color: rgba(255, 255, 255, 0.66); }

/* ---------- proof band (large numbers) ---------- */
.proof-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--ink); border-radius: 22px; padding: 10px; }
.proof { padding: 34px 30px 36px; border-left: 1px solid rgba(255, 255, 255, 0.12); min-width: 0; }
.proof:first-child { border-left: 0; }
.proof .k { display: block; min-height: 2.6em; font: 700 12px/1.3 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--mint); }
.proof b { display: block; margin-top: 18px; font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 3.3vw, 56px); line-height: 1; color: #fff; letter-spacing: -0.01em; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.proof b small { font-size: 0.48em; margin-left: 8px; color: rgba(255, 255, 255, 0.7); letter-spacing: 0; }
.proof p { margin: 16px 0 0; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.66); max-width: 28ch; }
@media (max-width: 1100px) {
  .proof-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof:nth-child(3) { border-left: 0; }
  .proof:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.12); }
}
@media (max-width: 560px) {
  .proof-band { grid-template-columns: minmax(0, 1fr); }
  .proof { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .proof:first-child { border-top: 0; }
}
.stat .num { font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }

/* ---------- platform diagram ---------- */
.diagram { position: relative; border-radius: var(--radius); background: radial-gradient(120% 90% at 70% 20%, rgba(142, 245, 201, 0.16), transparent 60%), rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); padding: clamp(20px, 3vw, 36px); }
.diagram svg { width: 100%; height: auto; }
.diagram .lbl { font: 600 13px var(--sans); fill: rgba(255, 255, 255, 0.86); }
.diagram .lbl-sm { font: 500 11px var(--sans); fill: rgba(255, 255, 255, 0.55); letter-spacing: 0.04em; }
.diagram .lbl-core { font: 400 26px var(--serif); fill: #fff; }
.diagram .ring { fill: none; stroke: rgba(255, 255, 255, 0.16); }
.diagram .spoke { stroke: rgba(142, 245, 201, 0.35); stroke-width: 1.2; stroke-dasharray: 3 6; animation: dash 16s linear infinite; }
.diagram .node { fill: #0f2639; stroke: rgba(255, 255, 255, 0.22); }
.diagram .node-hot { fill: rgba(142, 245, 201, 0.14); stroke: var(--mint); }
@keyframes dash { to { stroke-dashoffset: -180; } }

/* ---------- layers (anatomy) ---------- */
.layers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.layer { border-radius: 14px; background: #fff; padding: 20px 20px 22px; border: 1px solid var(--line); transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.layer:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.layer b { display: block; font: 400 22px/1.2 var(--serif); color: var(--ink); }
.layer span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--ink-60); }

/* ---------- article list ---------- */
.article-card { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; }
.article-card .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; position: relative; }
.article-card .media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.78) contrast(1.05); transition: transform 1.1s var(--ease); }
.article-card:hover .media img { transform: scale(1.05); }
.article-card .meta { margin-top: 22px; }
.article-card .meta .eyebrow { margin-bottom: 12px; color: var(--ink-60); }
.article-card h3 { font-size: 28px; line-height: 1.14; }
.article-card p { margin-top: 12px; color: var(--ink-60); font-size: 15.5px; }
.article-hero { padding: 168px 0 56px; background: var(--paper); }
.article-hero .display { font-size: clamp(40px, 5vw, 72px); max-width: 18ch; }
.article-hero .byline { margin-top: 28px; font-size: 14.5px; color: var(--ink-60); }
.article-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; margin-top: -1px; }
.article-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.78) contrast(1.05); }

/* ---------- faq ---------- */
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font: 400 23px/1.3 var(--serif); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%230b1b2b' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 0.35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 70ch; margin: 0 0 24px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font: 600 13px/1.2 var(--sans); letter-spacing: 0.04em; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; font: 16px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; padding: 14px 16px; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(142, 245, 201, 0.5); }
.form-note { font-size: 13.5px; color: var(--ink-60); }
.form-status { font-size: 15px; color: var(--ink); background: var(--mint-tint); border-radius: 12px; padding: 14px 16px; }
.form-status.is-ok { box-shadow: inset 3px 0 0 #1baf7a; }
.form-status.is-error { background: #fdf0d5; box-shadow: inset 3px 0 0 #c98a00; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form button[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- cta band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(40px, 6vw, 88px); background: var(--ink); color: rgba(255, 255, 255, 0.76); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; z-index: -1; width: 60%; aspect-ratio: 1; right: -12%; top: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(142, 245, 201, 0.5), rgba(142, 245, 201, 0) 65%); filter: blur(20px); }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { max-width: 56ch; margin-top: 22px; }
.cta-band .row { margin-top: 34px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.66); padding: clamp(72px, 8vw, 110px) 0 36px; font-size: 15px; }
.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.footer-grid h4 { font: 700 12.5px/1 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.footer-brand .brand-name { font-size: 24px; }
.footer-blurb { margin-top: 20px; max-width: 42ch; }
.footer-bottom { margin-top: 72px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 13.5px; color: rgba(255, 255, 255, 0.5); }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.95s var(--ease), transform 0.95s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero [data-reveal] { transition-duration: 1.2s; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .menu-body { grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); }
  .menu-promo { display: none; }
  .subnav { display: none; }
  .layers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .feature, .tab-panel, .steps { grid-template-columns: minmax(0, 1fr); }
  .feature.flip > :first-child { order: 0; }
  .steps-visual { position: relative; top: 0; height: 360px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .header-actions .text-link { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); }
  .menu-body { grid-template-columns: minmax(0, 1fr); }
  .menu-detail { display: none; }
  .form .two { grid-template-columns: minmax(0, 1fr); }
  .layers { grid-template-columns: minmax(0, 1fr); }
  .brand-name { font-size: 17px; }
  .header-actions .btn { padding: 12px 14px; font-size: 12px; }
  .header-actions .btn .arrow { display: none; }
  .card-media { min-height: 400px; }
  .carousel { min-height: 520px; }
  .page-hero .hero-media { aspect-ratio: 4 / 3; }
  .tab-panel .media { min-height: 300px; }
}
@media (max-width: 420px) {
  .brand-name { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  .site-header, .menu, .motion-toggle { display: none; }
}
