/* Stratum Applications — landing styles.
   Visual grammar follows the Stratum design board (see research/stratum-brand/README.md):
   Inter, accent #4318D6, hairlines on #F7F7FA, 8px controls, 14px cards, 44px touch targets. */

:root {
  /* Board primitives — research/stratum-brand/Stratum Tokens.dc.html §01/§19 (source of truth) */
  --indigo-700: #2A0E8F;
  --indigo-500: #4318D6;
  --indigo-300: #8B72FF;
  --indigo-100: #ECE8FF;
  --carbon: #0B0B14;
  --bg: #F7F7FA;
  --surface: #FFFFFF;
  --surface-2: #EFEFF4;
  --surface-3: #ECE8FF;
  --ink: #101018;
  --sub: #55555F;
  --muted: #6B6B7A;
  --faint: #9C9CAA;
  --line: #E3E3EC;
  --line-2: #CFCFDA;
  --line-3: #EFEFF4;
  --accent: var(--indigo-500);
  --brand: var(--accent);
  --accent-ink: #FFFFFF;
  --accent-hover: var(--indigo-700);
  --accent-soft: var(--indigo-100);
  --sel: var(--indigo-100);
  --ok: #189A56;
  --err: #DE2C2C;
  --backdrop: rgba(11, 11, 20, .5);
  --nav-bg: rgba(247, 247, 250, .94);
  --r-ctl: 8px;
  --r-card: 14px;
  --r-pill: 999px;
  --sh-card: 0 1px 2px rgba(16, 16, 24, .04);
  --sh-pop: 0 12px 32px rgba(16, 16, 24, .12);
  --sh-modal: 0 24px 60px rgba(11, 11, 20, .28);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 320ms;
  --dur-page: 480ms;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  color-scheme: light;
}

:root[data-theme="dark"] {
    /* Board dark expression — Stratum Tokens.dc.html §19 */
    --bg: var(--carbon);
    --surface: #12121C;
    --surface-2: #1A1A26;
    --surface-3: #23232F;
    --ink: #F7F7FA;
    --sub: #E3E3EC;
    --muted: #9C9CAA;
    --faint: #6B6B7A;
    --line: #2E2E3C;
    --line-2: #2E2E3C;
    --line-3: #23232F;
    --accent: var(--indigo-300);
    --brand: var(--accent);
    --accent-ink: #0B0B14;
    --accent-hover: #A899FF;
    --accent-soft: rgba(139, 114, 255, .16);
    --sel: rgba(139, 114, 255, .35);
    --ok: #4ADE94;
    --err: #F08A8A;
    --backdrop: rgba(5, 5, 10, .66);
    --nav-bg: rgba(11, 11, 20, .94);
    --sh-card: 0 1px 2px rgba(0, 0, 0, .4);
    --sh-pop: 0 12px 32px rgba(0, 0, 0, .5);
    --sh-modal: 0 24px 60px rgba(0, 0, 0, .6);
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }

::selection { background: var(--sel); }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 60;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-ctl); padding: 10px 14px;
  font: 600 13px/1 var(--sans);
}
.skip:focus { left: 8px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- eyebrow / headings ---------- */
.eyebrow {
  margin: 0 0 12px;
  font: 700 11px/1.4 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow.accent { color: var(--accent); }
h1, h2, h3 { margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h1 { font: 800 clamp(34px, 5vw, 56px)/1.1 var(--sans); }
h2 { font: 700 clamp(24px, 3.4vw, 36px)/1.22 var(--sans); }
h3 { font: 600 15px/1.35 var(--sans); }
.hl { color: var(--accent); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  min-height: 60px; display: flex; align-items: center; gap: 20px;
}
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 12px; border-radius: var(--r-ctl);
  color: var(--sub); text-decoration: none;
  font: 500 13.5px/1 var(--sans);
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--surface-2); color: var(--ink); }
.nav .btn { flex-shrink: 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.theme-toggle {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-ctl);
  color: var(--sub); cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.theme-toggle:hover { background: var(--surface-2); color: var(--ink); }
.theme-toggle svg { width: 17px; height: 17px; }
html[data-theme="light"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ---------- wordmark ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.wordmark svg.mark { display: block; width: 28px; height: 28px; flex-shrink: 0; }
.wordmark .wm-text {
  font: 800 13px/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.wordmark .wm-text i { font-style: normal; color: var(--brand); }
.wordmark.small .wm-text { font-size: 11px; letter-spacing: .12em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border-radius: var(--r-ctl); border: 1px solid transparent;
  font: 600 14px/1 var(--sans);
  text-decoration: none; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn.secondary { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn.secondary:hover { background: var(--surface-2); }
.btn.ghost { background: transparent; color: var(--sub); }
.btn.ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn.lg { min-height: 48px; padding: 0 22px; font-size: 15px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 9vw, 104px) 0 clamp(40px, 6vw, 72px); }
.hero h1 { max-width: 640px; margin-bottom: 16px; }
.hero .sub { max-width: 560px; margin: 0 0 28px; font-size: 15px; line-height: 1.6; color: var(--sub); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }

/* ---------- sections ---------- */
.section { padding: clamp(48px, 7vw, 80px) 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 640px; margin-bottom: 36px; }
.sec-head h2 { margin-bottom: 10px; }
.sec-sub { margin: 0; font-size: 14px; line-height: 1.65; color: var(--sub); }

.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  padding: 22px;
}
.section.alt .card { background: var(--bg); }
.card.pad { padding: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.6; color: var(--sub); }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 0; padding: 0; list-style: none; }

.idx {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 26px; padding: 0 8px; margin-bottom: 14px;
  border: 1px solid var(--line); border-radius: var(--r-ctl);
  background: var(--surface); color: var(--accent);
  font: 500 11px/1 var(--mono); letter-spacing: .08em;
}
.steps .card { display: flex; flex-direction: column; }
.step-n { font: 500 11px/1 var(--mono); letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }

.ticks li { position: relative; padding-left: 20px; margin-bottom: 9px; font-size: 13.5px; line-height: 1.55; color: var(--sub); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 7px;
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--accent);
}

.me-grid { align-items: start; }
.avatar {
  width: 72px; height: 72px; border-radius: var(--r-pill);
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--surface-3); border: 1px dashed var(--line-2);
  color: var(--muted); font: 600 10.5px/1.3 var(--sans); text-align: center; padding: 8px;
}
.avatar.has-photo { border-style: solid; border-color: var(--line-2); background: var(--surface-2); padding: 0; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; border-radius: var(--r-pill); display: block; }
.contact h3 { font-size: 17px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.note { font-size: 13.5px; color: var(--muted); margin: 28px 0 0; }
.note a { font-weight: 600; }
.small { font-size: 12px; }
.muted { color: var(--muted); }

/* ---------- footer ---------- */
.brands-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.brand-card { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 44px 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: var(--sh-card); transition: border-color var(--dur-base) var(--ease-out); }
.brand-card:hover { border-color: var(--accent); color: var(--ink); }
.brand-icon { display: block; width: 64px; height: 64px; }
.brand-name { font-size: clamp(18px, 2.2vw, 24px); font-weight: 800; letter-spacing: .04em; text-align: center; }
.brand-name > span { color: var(--accent); }
.brand-domain { color: var(--muted); font-size: 14px; }
.brand-features { align-self: stretch; margin: 4px 0 0; padding: 24px 0 0 20px; border-top: 1px solid var(--line); text-align: left; color: var(--sub); font-size: 14px; line-height: 1.65; }
.brand-features li { padding-left: 4px; }
.brand-features li + li { margin-top: 16px; }
.brand-features li::marker { color: var(--accent); }
.brand-features strong { color: var(--ink); font-weight: 700; }
.brand-domain > span { margin-left: 8px; color: var(--accent); }
.foot { border-top: 1px solid var(--line); background: var(--surface); padding: 64px 0 28px; }
.foot-in { display: flex; flex-direction: column; gap: 48px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr); gap: 40px; }
.foot p { margin: 0; font-size: 14px; color: var(--muted); }
.foot-brand > p { margin-top: 22px; max-width: 34ch; line-height: 1.8; }
.foot h2 { margin: 0 0 18px; font: 700 16px/1.5 var(--sans); }
.foot-links a { display: flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--accent); }
.foot-contact-row { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 14px; font-size: 14px; font-style: normal; line-height: 1.8; color: var(--muted); text-decoration: none; }
a.foot-contact-row { min-height: 44px; align-items: center; }
.foot-contact-row svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 3px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.foot-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; border-top: 1px solid var(--line); padding-top: 24px; }
.foot-bottom p { font-size: 12px; }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .brands-grid, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .brand-card { padding: 32px 20px; }
  .foot { padding-top: 40px; }
  .foot-bottom { flex-direction: column; gap: 16px; }
}

/* ---------- modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 50;
  background: var(--backdrop);
  display: grid; place-items: center;
  padding: 20px;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  position: relative;
  width: min(440px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--sh-modal);
  padding: 28px;
  animation: fadeUp .18s cubic-bezier(.16, 1, .3, 1);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.modal h2 { font-size: 19px; margin-bottom: 8px; }
.modal-sub { margin: 0 0 20px; font-size: 14px; line-height: 1.6; color: var(--sub); }
.modal-x {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-ctl);
  color: var(--muted); cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.modal-x:hover { background: var(--surface-2); border-color: var(--line-2); color: var(--ink); }
.modal-x svg { width: 14px; height: 14px; }
.modal form label {
  display: block; margin-bottom: 6px;
  font: 600 12px/1 var(--sans); letter-spacing: .04em; color: var(--sub);
}
.modal form input {
  width: 100%; min-height: 44px; padding: 0 14px;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-ctl);
  font: 500 16px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  transition: border-color .15s ease;
}
.modal form input::placeholder { color: var(--faint); letter-spacing: .1em; }
.modal form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.modal form input[aria-invalid="true"] { border-color: var(--err); }
.modal form .btn { margin-top: 14px; }
.modal-note { margin: 16px 0 0; text-align: center; }
.status { min-height: 20px; margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.status.is-error { color: var(--err); }
.status.is-ok { color: var(--ok); }

/* ---------- bare page (404) ---------- */
.bare-body { min-height: 100vh; }
.bare { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.bare .card { width: min(440px, 100%); text-align: center; padding: 36px 28px; }
.bare h1 { font-size: 24px; margin-bottom: 10px; }
.bare .btn { margin-top: 20px; }

/* ---------- v2 display system (light + dark) ---------- */
:root {
  /* v2 additions — every value traces to the board (§01/§07/§17) */
  --display: var(--sans);
  --band-bg: var(--carbon);
  --band-ink: #F7F7FA;
  --band-sub: #9C9CAA;
  --band-line: rgba(255, 255, 255, .16);
}
:root[data-theme="dark"] {
  --band-bg: #12121C;
  --band-sub: #9C9CAA;
  --band-line: rgba(255, 255, 255, .14);
}
main h1, main h2 { font-family: var(--display); letter-spacing: -.02em; }

/* hero */
.hero { padding: clamp(44px, 6vw, 76px) 0 clamp(28px, 4vw, 44px); text-align: center; }
.hero-in { display: flex; flex-direction: column; align-items: center; }
.hero-art { width: min(132px, 34vw); height: auto; display: block; margin: 0 auto 26px; color: #fff; filter: drop-shadow(0 12px 30px rgba(11, 11, 20, .5)); }
.hero-art[hidden] { display: none; }
.hero-art-canvas { width: min(180px, 46vw); height: min(180px, 46vw); }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.1; margin: 0 0 20px; max-width: none; }
.hero .sub { max-width: 680px; margin: 0 0 32px; }
.hero-cta { justify-content: center; margin-bottom: 0; }
.btn.grad { background: var(--accent); color: var(--accent-ink); padding: 0 14px 0 20px; gap: 12px; }
.btn.grad:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn.grad .arr { width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .18); padding: 6px; flex-shrink: 0; }
.btn.outline { background: transparent; border: 1px solid var(--line-2); color: var(--ink); border-radius: var(--r-ctl); }
.btn.outline:hover { background: var(--surface-2); border-color: var(--faint); color: var(--ink); }

/* hero culture backdrop */
.hero {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, rgba(11, 11, 20, .22), rgba(11, 11, 20, .44)), url("/assets/culture-bg.jpg") center / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 130px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), var(--bg));
  pointer-events: none;
}
.hero-in { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .sub { color: rgba(255, 255, 255, .88); }
.hero .btn.outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
.hero .btn.outline:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .75); color: #fff; }
/* marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding: 15px 0; }
.marquee-track { display: flex; width: max-content; animation: mq 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-half { display: flex; align-items: center; gap: 30px; padding-right: 30px; white-space: nowrap; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.mq-half i { font-style: normal; color: var(--brand); font-size: 10px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* what we offer */
.offer-head { max-width: 720px; }
.offer-head h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.15; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pillar {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); box-shadow: var(--sh-card);
  padding: 24px;
}
.pillar-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pillar-ic { width: 40px; height: 36px; display: grid; place-items: center; color: var(--accent); }
.pillar-ic svg { width: 27px; height: 24px; }
.pillar-ic .v { fill: var(--accent); stroke: var(--surface); stroke-width: 1.2; }
.pillar-n { font: 500 11px/1 var(--mono); letter-spacing: .12em; color: var(--muted); }
.pillar h3 { margin-bottom: 6px; }
.pillar-sub { margin: 0 0 18px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.pillar-list { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 0; list-style: none; }
.pillar-list li {
  padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--surface-2);
  font: 500 12.5px/1.4 var(--sans); color: var(--sub);
}
.pillar-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.results-sub { max-width: 640px; margin: -10px 0 26px; }

/* results */
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.results-head h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.15; }
.ring { width: 108px; height: 108px; border-radius: 50%; flex-shrink: 0; background: conic-gradient(from 210deg, var(--indigo-300), var(--indigo-500), var(--indigo-700), var(--indigo-500), var(--indigo-300)); -webkit-mask: radial-gradient(circle, transparent 51%, #000 52%); mask: radial-gradient(circle, transparent 51%, #000 52%); animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.result { padding: 30px 28px; }
.result + .result { border-left: 1px solid var(--line-2); }
.num { margin: 0 0 10px; font: 700 clamp(40px, 5.4vw, 56px)/1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.num .unit { color: var(--brand); }
.rl { margin: 0 0 6px; font-size: 13.5px; line-height: 1.55; color: var(--sub); }
.rs { margin: 0; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* steps + section heads, display type */
.steps .step-n { font: 600 30px/1 var(--display); letter-spacing: 0; color: var(--brand); margin-bottom: 16px; }
.section .sec-head h2 { font-size: clamp(24px, 3.4vw, 36px); }

/* closing band */
/* CTA band: deep indigo → near-black gradient, identical in light & dark mode */
.cta-band { margin-top: clamp(48px, 7vw, 84px); padding: clamp(60px, 9vw, 110px) 0; background: radial-gradient(90% 120% at 50% -10%, #571BD6 0%, transparent 58%), radial-gradient(120% 140% at 15% 115%, #4318D6 0%, transparent 55%), linear-gradient(180deg, #1A1040 0%, #0B0718 70%, #07050F 100%); color: #F3F1FF; border-top: 1px solid rgba(198, 192, 255, .28); border-bottom: 1px solid rgba(198, 192, 255, .16); }
.cta-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.wave { width: 170px; height: auto; margin-bottom: 30px; filter: drop-shadow(0 14px 30px rgba(139, 114, 255, .35)); }
.cta-band h2 { font-size: clamp(34px, 5.6vw, 56px); line-height: 1.1; font-weight: 800; color: #F3F1FF; }
.cta-band .hl2 { color: #C6C0FF; }
.cta-sub { margin: 18px 0 0; max-width: 480px; font-size: 14.5px; line-height: 1.65; color: rgba(243, 241, 255, .72); }
.cta-band .wave { filter: drop-shadow(0 14px 30px rgba(139, 114, 255, .5)); }
.cta-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.pill { min-height: 46px; display: inline-flex; align-items: center; padding: 0 20px; border-radius: var(--r-ctl); border: 1.5px solid #C6C0FF; background: transparent; color: #C6C0FF; text-decoration: none; font: 600 13px/1 var(--sans); letter-spacing: .04em; cursor: pointer; transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.pill:hover { background: rgba(198, 192, 255, .12); color: #fff; border-color: #fff; }
.pill.solid { background: #C6C0FF; border-color: transparent; color: #18122B; }
.pill.solid:hover { background: #E7E3FF; color: #18122B; }
/* Contact form stays scoped to the closing band. */
.contact-panel { width: 100%; max-width: 600px; margin-top: 48px; padding-top: 36px; border-top: 1px solid #8B72FF; text-align: left; }
.contact-panel h3 { margin: 0; color: #F7F7FA; font-size: 28px; }
.contact-panel p { color: #ECE8FF; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-panel label { display: block; margin: 18px 0 8px; font-weight: 600; }
.contact-panel input, .contact-panel textarea { box-sizing: border-box; display: block; width: 100%; min-height: 44px; padding: 12px; border: 1px solid #8B72FF; border-radius: 8px; background: #12121C; color: #F7F7FA; font: inherit; }
.contact-panel textarea { resize: vertical; }
.contact-panel input:focus-visible, .contact-panel textarea:focus-visible, .contact-panel button:focus-visible { outline: 2px solid #ECE8FF; outline-offset: 3px; }
.contact-panel .pill.solid { background: #8B72FF; color: #0B0B14; }
.contact-panel .pill.solid:hover { background: #A899FF; }
.contact-panel button:disabled { opacity: .65; cursor: wait; }
.contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#contact-privacy { font-size: 13px; }
#contact-status { min-height: 24px; margin-bottom: 0; }
#contact-status a { color: inherit; text-decoration: underline; }
@media (max-width: 640px) {
  .contact-fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .contact-panel button { width: 100%; justify-content: center; }
}
/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links a { padding: 8px 9px; }
}
@media (max-width: 640px) {
  .g2, .g3 { grid-template-columns: minmax(0, 1fr); }
  .nav-links { display: none; }
  .nav-in { justify-content: space-between; gap: 12px; }
  .wordmark .wm-text { letter-spacing: .14em; font-size: 11.5px; }
  .hero { padding-top: 44px; }
  .cta-row .btn { flex: 1; }
}

/* ---------- v2 responsive ---------- */
@media (max-width: 1020px) {
  .nav-links a { padding: 8px 8px; font-size: 12.5px; }
}
@media (max-width: 900px) {
  .work-head { grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
  .results-grid { grid-template-columns: minmax(0, 1fr); }
  .result + .result { border-left: 0; border-top: 1px solid var(--line-2); }
  .pillar-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .ring { width: 76px; height: 76px; }
  .cta-pills { flex-direction: column; width: 100%; }
  .pill { justify-content: center; }
  .results-head { flex-wrap: wrap; gap: 16px; }
}
@media (max-width: 480px) {
  .nav-in { flex-wrap: wrap; }
  .nav-actions { margin-left: auto; }
  .wordmark .wm-text { font-size: 10px; letter-spacing: .1em; line-height: 1.4; }
  .wordmark .wm-text i { display: block; }
  .nav-actions .btn.sm { padding: 0 12px; font-size: 12.5px; }
}
