*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--t-16);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 0; }
time { font-variant-numeric: tabular-nums; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: var(--s-2); top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px; font-size: var(--t-14);
}
.skip:focus { top: var(--s-2); }

main:focus { outline: none; }

.shell { width: var(--shell); margin-inline: auto; }

.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--t-40);
  line-height: 1.08;
  letter-spacing: var(--track);
  text-wrap: balance;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  background: var(--accent-fill); color: var(--on-accent);
  font-family: var(--text); font-size: var(--t-16); font-weight: 400; line-height: 1;
  white-space: nowrap;
  gap: var(--s-1);
  transition: background-color 0.2s var(--ease);
}
.btn:hover { background: var(--accent-hover); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: var(--t-14); }
.btn--line { background: transparent; color: var(--ink); border: 1px solid var(--ink); transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

.logo--dark { display: none; }

.nav {
  position: sticky; top: 0; z-index: 40;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  backdrop-filter: blur(40px) saturate(150%);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.nav.is-dark {
  --paper: var(--night);
  --ink: var(--night-ink);
  --ink-soft: var(--night-soft);
  background: color-mix(in srgb, var(--paper) 60%, transparent);
  backdrop-filter: blur(28px) saturate(135%);
  -webkit-backdrop-filter: blur(28px) saturate(135%);
}
.nav.is-dark .logo--light { display: none; }
.nav.is-dark .logo--dark { display: block; }
.nav__inner {
  height: var(--nav-h);
  display: flex; align-items: center; gap: var(--s-3);
}
.nav__brand { display: flex; align-items: center; min-height: 44px; flex: none; }
.nav__brand img { width: 108px; }
.nav__login {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: var(--t-14); color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}
.nav__login:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 24px; flex: none; margin-left: auto; }
.nav__toggle {
  display: none; min-height: 44px; min-width: 44px; padding: 0 2px;
  font-size: var(--t-14); color: var(--ink);
}

.menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--paper);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__bar { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; flex: none; }
.menu__close { display: inline-flex; align-items: center; justify-content: flex-end; }
.menu__body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: var(--s-4) 0 var(--s-3); gap: var(--s-4); }
.menu__foot { display: flex; flex-direction: column; gap: var(--s-2); align-items: flex-start; }
.menu__foot .btn { width: 100%; }
.menu__login { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-16); color: var(--ink-soft); }
.js .menu.is-open { animation: fade 0.3s var(--ease-out) both; }

.zone { background: var(--zone); color: var(--zone-ink); }
.zone :focus-visible { outline-color: var(--zone-accent); }

.foot { padding: 0 0 var(--s-3); }
.foot__top {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--s-3);
  padding-top: var(--section); padding-bottom: var(--s-4);
}
.foot__brand { grid-column: 1 / span 4; display: grid; gap: 8px; align-content: start; }
.foot__brand a { margin-bottom: 8px; }
.foot__brand img { width: 120px; }
.foot__brand p { font-size: var(--t-14); color: var(--zone-soft); }
.foot__nav { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); }
.foot__group { display: flex; align-items: center; min-height: 36px; font-size: var(--t-12); color: var(--zone-soft); }
.foot__nav a {
  display: inline-flex; align-items: center; min-height: 36px;
  font-size: var(--t-14); color: var(--zone-soft); transition: color 0.2s var(--ease);
}
.foot__nav a:hover { color: var(--zone-ink); }
.foot__legal { font-size: var(--t-12); color: var(--zone-soft); }

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.section { padding-top: var(--section); }
.eyebrow { font-size: var(--t-14); line-height: 1.2; color: var(--ink-soft); }

.section[data-attach] { padding-top: var(--gap-in); }
main > .section:last-child { padding-bottom: var(--section); }
.grid > .h2 { grid-column: 1 / -1; }
.eyebrow + .h2, .prose > .eyebrow + h2 { margin-top: var(--s-2); }

.page-head { padding-top: var(--section); }
.page-head__in { grid-column: 1 / span 8; }
.page-head--narrow .page-head__in { grid-column: 3 / span 8; }
.page-title { margin-top: var(--s-2); font: 400 clamp(44px, 5vw, 72px)/1.02 var(--display); letter-spacing: var(--track); text-wrap: balance; }
.page-title:first-child { margin-top: 0; }
.lede { max-width: 60ch; margin-top: var(--s-2); color: var(--ink-soft); font-size: 18px; line-height: 1.6; }
.page-head__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); }

.prose { grid-column: 3 / span 8; font-size: 18px; line-height: 1.65; }
.prose > * + * { margin-top: var(--s-2); }
.prose > :first-child { margin-top: 0; }
.prose > h2 { margin-top: var(--gap-in); font: 400 var(--t-28)/1.15 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
.prose > h3 { margin-top: var(--s-3); font: 400 var(--t-20)/1.25 var(--display); letter-spacing: -0.01em; }
.prose > h2 + *, .prose > h3 + * { margin-top: var(--s-2); }
.prose p, .prose li { max-width: 60ch; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: var(--s-1); }
.prose li::marker { color: var(--ink-mute); }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.prose a:hover { color: var(--accent-hover); }
.prose .btn, .prose .btn:hover { color: var(--on-accent); text-decoration: none; }
.prose strong { font-weight: 500; }
.prose blockquote { font: 400 var(--t-24)/1.35 var(--display); letter-spacing: -0.015em; }
.prose figcaption { margin-top: var(--s-1); color: var(--ink-soft); font-size: var(--t-14); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--t-16); line-height: 1.5; }
.prose th, .prose td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 500; }

.cta { display: flex; flex-direction: column; align-items: center; gap: var(--s-3); padding: var(--section) var(--gutter-safe); text-align: center; }
.cta__title { max-width: calc((min(1312px, 100%) - 11 * var(--col-gap)) / 12 * 10 + 9 * var(--col-gap)); margin-inline: auto; font: 400 clamp(48px, 8vw, 128px)/0.95 var(--display); letter-spacing: -0.05em; text-wrap: balance; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta .eyebrow + .cta__title { margin-top: calc(var(--s-2) - var(--s-3)); }
.cta__lede { max-width: 60ch; color: var(--ink-soft); font-size: 18px; line-height: 1.6; }

body { isolation: isolate; }
.hero-wave { position: absolute; top: 0; left: 0; right: 0; height: min(760px, 92svh); z-index: -1; pointer-events: none; overflow: hidden; opacity: var(--wave-o, 0.15); }
.cta, [data-wave-top], [data-wave-bottom] { position: relative; }
.host-wave { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; opacity: var(--wave-o, 0.15); }
[data-wave-top][data-wave-bottom] > .host-wave--top { bottom: 50%; }
[data-wave-top][data-wave-bottom] > .host-wave--bottom { top: 50%; }
.hero-wave canvas, .host-wave canvas, .quote__noise canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.nav.nav--over-wave:not(.is-dark) { background-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

@media (max-width: 980px) {
  .nav__login { display: none; }
  .nav__toggle { display: inline-flex; align-items: center; justify-content: flex-end; }
  .nav__actions { margin-left: auto; gap: 16px; }
  .foot__brand, .foot__nav { grid-column: 1 / -1; }
  .page-head__in, .page-head--narrow .page-head__in, .prose { grid-column: 1 / -1; }
  .cta__title { max-width: 100%; }
  .prose ol { list-style: none; counter-reset: step; }
  .prose ol > li { position: relative; padding-left: var(--s-3); counter-increment: step; }
  .prose ol > li::before { content: counter(step) "."; position: absolute; left: 0; color: var(--ink-mute); }
}

@media (max-width: 720px) {
  .h2 { font-size: var(--t-28); line-height: 1.12; }
  .page-title { font-size: 40px; line-height: 1.04; }
  .lede, .prose, .cta__lede { font-size: 17px; }
  .foot__nav { grid-template-columns: 1fr 1fr; row-gap: 8px; }
}

@media (max-width: 720px) {
  .hero-wave { height: 520px; }
}

@media (max-width: 430px) {
  .nav__actions .btn--sm { padding: 0 12px; }
  .nav__brand img { width: 96px; }
  .page-head__actions, .cta__actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; gap: var(--s-2); }
}

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