:root {
  --ink: #0B1020;
  --ink-90: #0F1528;
  --ink-80: #141A2C;
  --ink-60: #1E2438;
  --teal: #00C2A8;
  --teal-300: #4DE3D1;
  --teal-050: #E6FAF7;
  --teal-900: #003D37;
  --lime: #D8FF3D;
  --slate-600: #565B68;
  --slate-500: #6E7380;
  --slate-400: #9499A5;
  --slate-300: #C2C6CE;
  --slate-200: #DDE0E6;
  --cloud-100: #F5F7FA;
  --paper: #FAFAF7;
  --white: #FFFFFF;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --nav-h: 64px;
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- FOCUS SYSTEM ---------- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible,
.site-nav-cta:focus-visible {
  outline-offset: 4px;
}
.dark :focus-visible,
.hero :focus-visible,
.metrics :focus-visible,
.who :focus-visible:not(.light :focus-visible),
.cta-band :focus-visible,
footer :focus-visible {
  outline-color: var(--teal-300);
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--mono);
  font-size: 13px;
  border-radius: 6px;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 8px; outline: 2px solid var(--teal); }

/* ---------- PERSISTENT SITE NAV ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 50;
  background: transparent;
  transition: background-color .3s var(--ease-out-quint),
              border-bottom-color .3s var(--ease-out-quint),
              backdrop-filter .3s var(--ease-out-quint);
  border-bottom: 1px solid transparent;
  pointer-events: auto;
}
.site-nav.is-scrolled {
  background: rgba(11, 16, 32, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: rgba(0, 194, 168, 0.18);
}
.site-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (max-width: 720px) {
  .site-nav-inner { padding: 0 20px; }
  .site-nav.is-scrolled {
    background: var(--ink);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
.site-nav-brand {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 4px;
}
.site-nav-brand img {
  height: 26px;
  width: auto;
  display: block;
  transition: opacity .2s ease;
}
.site-nav-brand:hover img { opacity: 0.82; }

.site-nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-nav-link {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--slate-300);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  padding-bottom: 10px;
  white-space: nowrap;
  background-image: linear-gradient(90deg, var(--teal) 0%, var(--teal-300) 100%);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: color .2s ease, background-size .45s cubic-bezier(.22,.61,.36,1);
}
.site-nav-link:hover,
.site-nav-link:focus-visible {
  color: var(--teal);
  background-size: 100% 1px;
}

.site-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 13.5px;
  padding: 10px 16px;
  border-radius: 7px;
  background: var(--teal);
  color: var(--ink);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.site-nav-cta:hover {
  background: var(--teal-300);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -10px rgba(0, 194, 168, 0.55);
}
.site-nav-cta .arrow { transition: transform .2s ease; }
.site-nav-cta:hover .arrow { transform: translateX(3px); }
.site-nav-cta-icon { display: none; }

@media (max-width: 560px) {
  .site-nav-right { gap: 12px; }
  .site-nav-link { font-size: 11px; padding: 8px 2px; letter-spacing: 0.04em; }
  .site-nav-cta {
    padding: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    justify-content: center;
    gap: 0;
  }
  .site-nav-cta-icon { display: block; }
  .site-nav-cta-text { display: none; }
}

.site-nav-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-300) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  opacity: 0;
  transition: opacity .3s var(--ease-out-quint);
  pointer-events: none;
}
.site-nav.is-scrolled .site-nav-progress { opacity: 0.8; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 720px) {
  .wrap { padding: 0 24px; }
}

/* ---------- SHARED DECOR ---------- */
/* Glowing teal accent line shared by hero (bottom) and cta-band (top) */
.hero::before,
.cta-band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0,194,168,0.0) 15%,
    rgba(0,194,168,0.6) 50%,
    rgba(0,194,168,0.0) 85%,
    transparent 100%);
  box-shadow:
    0 0 40px rgba(0,194,168,0.25),
    0 0 120px rgba(0,194,168,0.15);
  pointer-events: none;
  z-index: 1;
}
.hero::before { bottom: 0; }
.cta-band::before { top: 0; }

/* Faint grid overlay shared by hero, cta-band, and footer */
.hero::after,
.cta-band::after,
footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 80%);
  pointer-events: none;
}
.cta-band::after {
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
}

/* ---------- HERO ---------- */
.hero {
  background: var(--ink);
  color: var(--white);
  min-height: 100vh;
  padding: calc(var(--nav-h) + 24px) 0 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
@media (max-width: 720px) {
  .hero { min-height: 0; padding: calc(var(--nav-h) + 32px) 0 56px; }
}
.hero .wrap { position: relative; z-index: 1; }
.hero .wrap.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0,194,168,0.2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0,194,168,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(0,194,168,0.05); }
}

.hero h1 {
  font-size: clamp(40px, 6.2vw, 84px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-top: 20px;
  max-width: 22ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal);
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.hero h1 .nowrap-punct {
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.08em;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-300) 100%);
  opacity: 0.55;
  transform-origin: 0 50%;
  animation: underline-draw 0.9s var(--ease-out-quint) 0.6s both;
}
@keyframes underline-draw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 em::after { animation: none; }
}

.hero .sub {
  margin-top: 22px;
  font-size: 18px;
  color: var(--slate-300);
  max-width: 62ch;
}
@media (max-width: 720px) {
  .hero .sub { font-size: 17px; margin-top: 20px; }
}

.hero.notfound .wrap.hero-inner { align-items: flex-start; }
.hero.notfound h1 { max-width: 24ch; }

.ctas {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  row-gap: 14px;
}
@media (max-width: 480px) {
  .ctas { margin-top: 32px; gap: 16px; }
  .btn { padding: 14px 20px; font-size: 14px; }
  .btn.primary { width: 100%; justify-content: center; }
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
  padding: 16px 24px;
  border-radius: 8px;
  transition: all .2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn.primary {
  background: var(--teal);
  color: var(--ink);
}
.btn.primary:hover {
  background: var(--teal-300);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px -10px rgba(0,194,168,0.5);
}
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.secondary-cta {
  font-size: 15px;
  color: var(--slate-300);
  cursor: pointer;
  transition: color .15s ease;
}
.secondary-cta:hover { color: var(--white); }
.secondary-cta .email {
  color: var(--teal);
  padding-bottom: 2px;
  margin-left: 4px;
  background-image: linear-gradient(90deg, var(--teal) 0%, var(--teal-300) 100%);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 28% 1px;
  transition: color .2s ease, background-size .45s cubic-bezier(.22,.61,.36,1);
}
.secondary-cta:hover .email,
.secondary-cta:focus-visible .email {
  color: var(--teal-300);
  background-size: 100% 2px;
}

/* ---------- SECTION BASE ---------- */
section { padding: 120px 0; }
@media (max-width: 880px) {
  section { padding: 80px 0; }
}
@media (max-width: 480px) {
  section { padding: 64px 0; }
}
.section-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-600);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--slate-600);
}
.dark .section-label { color: var(--teal-300); }
.dark .section-label::before { background: var(--teal-300); }

/* ---------- WHAT WE DO ---------- */
.what {
  background: var(--white);
  border-top: 1px solid rgba(11,16,32,0.06);
}
.what > .wrap > h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  max-width: 22ch;
  margin-bottom: 64px;
}
@media (max-width: 720px) {
  .what > .wrap > h2 { margin-bottom: 40px; }
}
.what-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 80px;
  align-items: center;
}
.what-copy h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  max-width: 22ch;
  margin: 0 0 28px;
}
.what-copy p {
  font-size: 18px;
  color: var(--slate-500);
  margin: 0 0 18px;
  max-width: 52ch;
}
.what-copy p:last-child { margin-bottom: 0; }
.what-copy p strong { color: var(--ink); font-weight: 500; }
@media (max-width: 960px) {
  .what-grid { grid-template-columns: 1fr; gap: 48px; }
  .what-copy h2 { margin-bottom: 24px; }
}

/* ---------- FLOW DIAGRAM ---------- */
.flow {
  background: var(--cloud-100);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.flow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 260px at 50% -10%, rgba(0,194,168,0.06), transparent 70%);
  pointer-events: none;
}
@media (max-width: 560px) {
  .flow { padding: 24px 20px; }
}
.flow-row { position: relative; }
.flow-row + .flow-row {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid rgba(11,16,32,0.08);
}
.flow-row-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
}
.flow-row-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-600);
  display: inline-flex;
  align-items: center;
}
.flow-row-tag::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  margin-right: 10px;
}
.flow-row--enlightn .flow-row-tag { color: var(--teal-900); }
.flow-svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 180;
  overflow: visible;
}
.flow-track {
  stroke: rgba(11,16,32,0.16);
  stroke-width: 1;
  stroke-dasharray: 2 5;
  fill: none;
}
.flow-stage {
  fill: var(--cloud-100);
  stroke: rgba(11,16,32,0.28);
  stroke-width: 1;
  transition: stroke 360ms ease, fill 360ms ease, r 360ms ease;
}
.flow-row--legacy .flow-stage.is-on {
  fill: var(--ink);
  stroke: var(--ink);
}
.flow-row--enlightn .flow-stage.is-on {
  fill: var(--teal);
  stroke: var(--teal);
}
.flow-tok {
  opacity: 0;
  transition: opacity 300ms ease;
}
.flow-tok circle {
  fill: var(--slate-500);
  transition: fill 260ms ease, opacity 260ms ease;
}
.flow-row--enlightn .flow-tok circle {
  fill: var(--teal);
}
.flow-tok.is-fail circle {
  fill: transparent;
  stroke: #B85454;
  stroke-width: 1.4;
  opacity: 0.5;
}
.flow-tok-mark {
  opacity: 0;
  transition: opacity 260ms ease;
  transform-box: fill-box;
  transform-origin: center;
}
.flow-tok.is-marked .flow-tok-mark { opacity: 1; }
.flow-tok-x line {
  stroke: #B85454;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.flow-tok-check path {
  stroke: var(--teal-900);
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flow-stages-labels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--slate-600);
}
.flow-stages-labels span:nth-child(1) { justify-self: start; }
.flow-stages-labels span:nth-child(2) { justify-self: center; }
.flow-stages-labels span:nth-child(3) { justify-self: end; }
.flow-row-note {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.flow-row-note::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.flow-row--legacy .flow-row-note { color: #B85454; }
.flow-row--legacy .flow-row-note::before { background: #B85454; opacity: 0.8; }
.flow-row--enlightn .flow-row-note { color: var(--teal-900); }
.flow-row--enlightn .flow-row-note::before {
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,194,168,0.18);
}
@media (prefers-reduced-motion: reduce) {
  .flow-tok { opacity: 1 !important; transition: none; }
  .flow-tok-mark { opacity: 1 !important; transition: none; }
  .flow-stage { transition: none; }
}
@media (max-width: 560px) {
  .flow-stages-labels { font-size: 10px; }
}

/* ---------- CALLOUT BLOCK (partners page) ---------- */
.callout-block {
  background: var(--cloud-100);
  border-radius: 20px;
  padding: 36px;
  position: relative;
}
@media (max-width: 480px) {
  .callout-block { padding: 24px 20px; }
}
.callout-block .callout-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-900);
  background: var(--teal-050);
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
}
.callout-block p {
  font-size: 17px !important;
  color: var(--ink) !important;
  margin-bottom: 16px !important;
  line-height: 1.55;
}
.callout-block p:last-child { margin-bottom: 0 !important; }

/* ---------- PARTNERSHIP FEATURES (partners page) ---------- */
.partnership {
  background: var(--ink);
  color: var(--white);
}
.partnership h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  max-width: 22ch;
  margin-bottom: 16px;
}
.partnership .intro {
  font-size: 18px;
  color: var(--slate-300);
  max-width: 60ch;
  margin-bottom: 64px;
}
.partnership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 600px) {
  .partnership-grid { grid-template-columns: 1fr; }
}
.feature {
  background: var(--ink-80);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 36px 32px 32px;
  position: relative;
  transition: border-color .25s ease, transform .25s ease;
}
.feature:hover {
  border-color: rgba(0,194,168,0.4);
  transform: translateY(-4px);
}
.feature.feature-wide { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .feature.feature-wide { grid-column: auto; }
}
@media (max-width: 480px) {
  .feature { padding: 28px 24px 24px; }
}
.feature-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-300);
  margin-bottom: 18px;
}
.feature h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.feature p {
  font-size: 15px;
  color: var(--slate-300);
}

/* Staggered reveal on the 5-feature partnership grid. Uses the parent
   .reveal.in flag and per-nth transition-delays — no extra JS. */
.partnership .feature {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .65s cubic-bezier(.22,.61,.36,1),
    transform .65s cubic-bezier(.22,.61,.36,1),
    border-color .25s ease;
}
.partnership.in .feature { opacity: 1; transform: none; }
.partnership.in .feature:nth-child(1) { transition-delay: 60ms,  60ms,  0s; }
.partnership.in .feature:nth-child(2) { transition-delay: 150ms, 150ms, 0s; }
.partnership.in .feature:nth-child(3) { transition-delay: 240ms, 240ms, 0s; }
.partnership.in .feature:nth-child(4) { transition-delay: 330ms, 330ms, 0s; }
.partnership.in .feature:nth-child(5) { transition-delay: 420ms, 420ms, 0s; }
@media (prefers-reduced-motion: reduce) {
  .partnership .feature {
    opacity: 1;
    transform: none;
    transition: border-color .25s ease;
  }
}

/* ---------- METRICS ---------- */
.metrics {
  background: var(--ink);
  color: var(--white);
}
.metrics h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  max-width: 22ch;
  margin-bottom: 16px;
}
.metrics .intro {
  font-size: 18px;
  color: var(--slate-300);
  max-width: 60ch;
  margin-bottom: 64px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) {
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-grid .metric:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .metric-grid { grid-template-columns: 1fr; }
  .metric-grid .metric:last-child { grid-column: auto; }
}
.metric {
  background: var(--ink-80);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 36px 32px 32px;
  position: relative;
  transition: border-color .25s ease, transform .25s ease;
}
@media (max-width: 480px) {
  .metric { padding: 28px 24px 24px; }
  .metric .tick { top: 24px; right: 24px; }
}
.metric:hover {
  border-color: rgba(0,194,168,0.4);
  transform: translateY(-4px);
}
.metric-num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(64px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.metric-num .unit {
  font-size: 0.5em;
  color: inherit;
  margin-left: 4px;
}
.metric h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.35;
  max-width: 22ch;
}
.metric p {
  font-size: 14px;
  color: var(--slate-300);
}
.metric .tick {
  position: absolute;
  top: 32px;
  right: 32px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.metrics .footnote {
  margin-top: 40px;
  font-size: 13px;
  color: var(--slate-400);
  max-width: 70ch;
}

/* ---------- HOW WE WORK ---------- */
.how { background: var(--white); }
.how-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 880px) {
  .how-grid { grid-template-columns: 1fr; gap: 40px; }
}
.how h2 {
  font-size: clamp(36px, 4.5vw, 52px);
  max-width: 18ch;
  margin-bottom: 32px;
}
.how p {
  font-size: 17px;
  color: var(--slate-500);
  margin-bottom: 20px;
}
.how p strong { color: var(--ink); font-weight: 500; }

.note-inline {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px dashed rgba(11,16,32,0.15);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 720px) {
  .note-inline { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; padding-top: 20px; }
}
.note-inline p {
  font-size: 15px;
  color: var(--slate-500);
  padding-top: 4px;
}
.later-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-900);
  background: var(--teal-050);
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  height: fit-content;
}
.later-tag .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s ease-in-out infinite;
}

/* ---------- WHO ---------- */
.who {
  background: var(--ink-80);
  color: var(--white);
}
.who-inner { max-width: 780px; }
.who h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  margin-bottom: 24px;
}
.who p {
  font-size: 19px;
  color: var(--slate-300);
}
.who.light {
  background: var(--cloud-100);
  color: var(--ink);
}
.who.light .section-label { color: var(--slate-500); }
.who.light .section-label::before { background: var(--slate-500); }
.who.light p { color: var(--slate-500); }

/* ---------- ABOUT ---------- */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; max-width: 520px; }
}
.about-photo {
  position: relative;
  display: block;
  max-width: 280px;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
}
.about-photo img {
  width: 100%;
  height: auto;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-photo:hover img,
.about-photo:focus-within img {
  transform: scale(1.02);
}
@media (prefers-reduced-motion: reduce) {
  .about-photo img { transition: none; }
}
.about-copy .section-label { margin-bottom: 20px; }
.about-copy h2 {
  font-size: clamp(32px, 3.8vw, 46px);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin-bottom: 24px;
  padding-left: 22px;
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, var(--teal) 0%, var(--teal-300) 100%) 1;
}
.about-copy p {
  font-size: 17px;
  color: var(--slate-500);
  margin-bottom: 20px;
  max-width: 56ch;
}
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--teal);
  padding-bottom: 3px;
  background-image: linear-gradient(90deg, var(--teal) 0%, var(--teal-300) 100%);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 28% 1px;
  transition: color .2s ease, background-size .45s cubic-bezier(.22,.61,.36,1);
}
.about-link:hover,
.about-link:focus-visible {
  color: var(--teal-300);
  background-size: 100% 2px;
}
.about-link .arrow { transition: transform .25s cubic-bezier(.22,.61,.36,1); }
.about-link:hover .arrow,
.about-link:focus-visible .arrow { transform: translateX(4px); }

/* ---------- CTA ---------- */
.cta-band {
  background:
    radial-gradient(620px 360px at 18% 28%, rgba(0,194,168,0.18), transparent 62%),
    radial-gradient(520px 340px at 82% 72%, rgba(0,194,168,0.13), transparent 66%),
    radial-gradient(800px 420px at 50% 110%, rgba(125,211,192,0.10), transparent 72%),
    var(--ink);
  color: var(--white);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  opacity: 0.9;
}
/* Gentle parallax for the CTA mesh — respects reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .cta-band {
    animation: cta-mesh-drift 22s ease-in-out infinite alternate;
  }
}
@keyframes cta-mesh-drift {
  0% {
    background-position: 0% 0%, 0% 0%, 0% 0%, 0 0;
  }
  100% {
    background-position: 6% -3%, -4% 5%, 3% -2%, 0 0;
  }
}
@media (max-width: 880px) {
  .cta-band { padding: 72px 0 48px; }
}
@media (max-width: 480px) {
  .cta-band { padding: 56px 0 40px; }
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(44px, 6vw, 72px);
  max-width: 30ch;
  margin: 0 auto 20px;
}
.cta-band .sub {
  font-size: 18px;
  color: var(--slate-300);
  max-width: 52ch;
  margin: 0 auto 40px;
}
.cta-band .ctas {
  justify-content: center;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: var(--slate-400);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}
footer .wrap { position: relative; z-index: 1; }
.partner-card {
  background: var(--ink-80);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px 36px;
  margin-bottom: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
@media (max-width: 720px) {
  .partner-card { grid-template-columns: 1fr; padding: 24px 24px; margin-bottom: 40px; }
}
.partner-card .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-300);
  margin-bottom: 10px;
}
.partner-card h3 {
  font-family: 'Outfit';
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.partner-card p {
  font-size: 14px;
  color: var(--slate-300);
  max-width: 60ch;
}
.partner-card a {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--teal);
  padding-bottom: 2px;
  background-image: linear-gradient(90deg, var(--teal) 0%, var(--teal-300) 100%);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: color .2s ease, background-size .45s cubic-bezier(.22,.61,.36,1);
}
.partner-card a:hover,
.partner-card a:focus-visible {
  color: var(--teal-300);
  background-size: 100% 2px;
}

footer .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
}
@media (max-width: 480px) {
  footer .links { gap: 20px; }
}
footer img { height: 22px; opacity: 0.9; }
footer .links {
  display: flex;
  gap: 28px;
}
footer .links a {
  color: var(--slate-300);
  padding-bottom: 2px;
  background-image: linear-gradient(90deg, var(--teal) 0%, var(--teal-300) 100%);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: color .2s ease, background-size .45s cubic-bezier(.22,.61,.36,1);
}
footer .links a:hover,
footer .links a:focus-visible {
  color: var(--teal);
  background-size: 100% 1px;
}
footer .copyright {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--slate-500);
  letter-spacing: 0.04em;
  margin-top: 28px;
}
.footer-clock {
  color: var(--teal-300);
  font-variant-numeric: tabular-nums;
}
.footer-clock:empty::before { content: '—'; color: var(--slate-500); }

/* ---------- LEGAL PAGES ---------- */
.legal-hero {
  background: var(--ink);
  color: var(--white);
  padding: calc(var(--nav-h) + 40px) 0 88px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 720px) {
  .legal-hero { padding: calc(var(--nav-h) + 24px) 0 56px; }
}
.legal-hero::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0,194,168,0.0) 15%,
    rgba(0,194,168,0.6) 50%,
    rgba(0,194,168,0.0) 85%,
    transparent 100%);
  box-shadow:
    0 0 40px rgba(0,194,168,0.25),
    0 0 120px rgba(0,194,168,0.15);
  pointer-events: none;
  z-index: 1;
}
.legal-hero .wrap { position: relative; z-index: 1; }
.legal-hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.legal-hero .meta {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--slate-400);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.legal-hero .meta span strong {
  color: var(--slate-300);
  font-weight: 500;
  margin-right: 6px;
}

.legal-body {
  background: var(--white);
  padding: 88px 0 120px;
}
@media (max-width: 880px) {
  .legal-body { padding: 64px 0 88px; }
}
.legal-body .wrap { max-width: 820px; }
.legal-body .intro {
  font-size: 18px;
  color: var(--ink-80);
  margin-bottom: 24px;
  line-height: 1.65;
}
.legal-body .intro:last-of-type { margin-bottom: 48px; }
.legal-body h2 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 56px;
  margin-bottom: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(11,16,32,0.08);
}
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-body h3 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 28px;
  margin-bottom: 12px;
}
.legal-body p,
.legal-body li {
  font-size: 16px;
  color: var(--ink-80);
  line-height: 1.7;
  margin-bottom: 16px;
}
.legal-body p strong,
.legal-body li strong {
  color: var(--ink);
  font-weight: 600;
}
.legal-body ul {
  margin: 0 0 16px 0;
  padding-left: 22px;
}
.legal-body ul li { margin-bottom: 8px; }
.legal-body ol {
  margin: 0 0 16px 0;
  padding-left: 22px;
}
.legal-body ol li { margin-bottom: 8px; }
.legal-body a {
  color: var(--teal-900);
  border-bottom: 1px solid rgba(0,194,168,0.4);
  transition: color .15s ease, border-color .15s ease;
}
.legal-body a:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
.legal-body .contact-block {
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 20px 24px;
  background: var(--cloud-100);
  border-left: 3px solid var(--teal);
  border-radius: 4px;
}
.legal-body .contact-block p { margin-bottom: 4px; }
.legal-body .contact-block p:last-child { margin-bottom: 0; }
.legal-body .disclaimer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(11,16,32,0.08);
  font-size: 14px;
  font-style: italic;
  color: var(--slate-500);
}

/* ---------- LEGAL TOC (floating sticky sidebar) ---------- */
.legal-toc {
  display: none;
  position: fixed;
  top: calc(var(--nav-h) + 40px);
  left: max(24px, calc(50vw - 620px));
  width: 220px;
  max-height: calc(100vh - var(--nav-h) - 80px);
  overflow-y: auto;
  padding-right: 8px;
  z-index: 5;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
@media (min-width: 1180px) {
  .legal-toc { display: block; }
}
.legal-toc.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.legal-toc-head {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-600);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(11,16,32,0.08);
}
.legal-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.legal-toc-item { margin: 0; }
.legal-toc-link {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 6px 0 6px 10px;
  color: var(--slate-500);
  text-decoration: none;
  font-size: 12.5px;
  line-height: 1.4;
  border-left: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.legal-toc-link:hover {
  color: var(--ink);
}
.legal-toc-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  opacity: 0.7;
}
.legal-toc-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
.legal-toc-link.is-active {
  color: var(--ink);
  border-left-color: var(--teal);
  padding-left: 12px;
}
.legal-toc-link.is-active .legal-toc-num {
  color: var(--teal-900);
  opacity: 1;
}

/* ---------- REVEAL ON SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- HERO ENTRANCE ---------- */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .eyebrow,
.hero h1,
.hero .sub,
.hero .ctas {
  opacity: 0;
  animation: hero-rise 0.7s var(--ease-out-quint) forwards;
}
.hero .eyebrow { animation-delay: 0.08s; }
.hero h1       { animation-delay: 0.18s; }
.hero .sub     { animation-delay: 0.38s; }
.hero .ctas    { animation-delay: 0.52s; }
@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow,
  .hero h1,
  .hero .sub,
  .hero .ctas {
    opacity: 1;
    animation: none;
  }
}
