:root {
  --ink: #1d1d1f;
  --navy: #25263a;
  --paper: #f5f5f7;
  --white: #ffffff;
  --black: #000000;
  --muted-dark: rgba(255, 255, 255, 0.62);
  --muted-light: rgba(29, 29, 31, 0.62);
  --line-dark: rgba(255, 255, 255, 0.16);
  --line-light: rgba(29, 29, 31, 0.12);
  --header: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1240px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.015em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.theme-light {
  background: var(--paper);
  color: var(--ink);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--navy);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 80;
  background: var(--white);
  color: var(--black);
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 40px);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-dark {
  color: var(--white);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}

.site-header.is-dark.is-scrolled {
  background: rgba(0, 0, 0, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: saturate(140%) blur(18px);
}

.site-header.is-light {
  color: var(--ink);
  background: rgba(245, 245, 247, 0.8);
  border-bottom-color: rgba(0, 0, 0, 0.06);
  backdrop-filter: saturate(180%) blur(18px);
}

.site-header.is-dark .for-light,
.site-header.is-light .for-dark,
.nav-panel .for-light {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 132px;
}

.brand .mark {
  height: 28px;
  width: auto;
}

.brand .word {
  height: 18px;
  width: auto;
}

.nav-desk {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-desk a,
.nav-cta {
  font-size: 14px;
  letter-spacing: -0.01em;
  opacity: 0.82;
  transition: opacity 0.2s ease;
}

.nav-desk a:hover,
.nav-cta:hover,
.nav-desk a[aria-current="page"] {
  opacity: 1;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 980px;
  opacity: 1;
  font-weight: 500;
}

.site-header.is-dark .nav-cta {
  background: var(--white);
  color: var(--black);
}

.site-header.is-light .nav-cta {
  background: var(--black);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 0;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.nav-toggle span:first-child {
  top: 16px;
}

.nav-toggle span:last-child {
  top: 23px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  top: 19px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  top: 19px;
  transform: rotate(-45deg);
}

.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #050505;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px clamp(20px, 4vw, 40px) 48px;
}

.nav-panel[hidden] {
  display: none;
}

.nav-panel nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-panel a {
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--white);
  z-index: 60;
  pointer-events: none;
}

body.theme-light .progress {
  background: var(--navy);
}

.chapter {
  position: relative;
  min-height: 100svh;
}

.chapter-dark {
  background: var(--black);
  color: var(--white);
}

.chapter-light {
  background: var(--paper);
  color: var(--ink);
}

.chapter-white {
  background: var(--white);
  color: var(--ink);
}

.chapter-inner {
  min-height: 100svh;
  width: min(var(--max), calc(100% - clamp(40px, 8vw, 112px)));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header) + 28px) 0 48px;
}

.kicker {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.chapter-dark .kicker,
.page-hero .kicker {
  color: var(--muted-dark);
}

.chapter-light .kicker,
.chapter-white .kicker,
.prose .kicker {
  color: var(--muted-light);
}

.display {
  margin: 0;
  font-size: clamp(46px, 6.4vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.048em;
  font-weight: 600;
}

.lede {
  margin: 22px 0 0;
  max-width: 38rem;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.45;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.chapter-dark .lede {
  color: rgba(255, 255, 255, 0.78);
}

.chapter-light .lede,
.chapter-white .lede,
.muted {
  color: var(--muted-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 48px;
  align-items: center;
}

.hero-mark {
  width: min(100%, 420px);
  margin-left: auto;
  color: var(--white);
}

.hero-mark rect {
  transform-box: fill-box;
  transform-origin: center bottom;
}

.js .hero-mark rect {
  animation: bar-in 1s var(--ease) both;
}

.js .hero-mark rect:nth-child(2),
.js .hero-mark rect:nth-child(4) {
  animation-delay: 0.08s;
}

.js .hero-mark rect:nth-child(3) {
  animation-delay: 0.16s;
}

@keyframes bar-in {
  from {
    transform: scaleY(0.2);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 980px;
  border: 0;
  background: var(--white);
  color: var(--black);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.015em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: #f2f2f2;
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: #1c1c1e;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 400;
}

.text-link span {
  transition: transform 0.25s var(--ease);
}

.text-link:hover span {
  transform: translateX(3px);
}

.spec-row {
  list-style: none;
  margin: 48px 0 0;
  padding: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line-light);
}

.spec-row h3,
.step h3,
.block h2,
.card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.spec-row p,
.step p,
.card p,
.block p {
  margin: 0;
  color: var(--muted-light);
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.011em;
}

.chapter-stack .chapter-inner {
  justify-content: space-between;
  padding-top: calc(var(--header) + 12vh);
  padding-bottom: 56px;
}

.chapter-stack .display {
  max-width: 14ch;
}

.ind-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
}

.ind-row {
  display: grid;
  grid-template-columns: 52px minmax(160px, 0.8fr) 1.3fr auto;
  gap: 16px;
  align-items: center;
  min-height: 92px;
  border-top: 1px solid var(--line-dark);
  transition: background 0.25s ease;
}

.ind-row:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.ind-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.ind-index,
.step-no,
.footer-index {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--muted-dark);
}

.ind-name {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.ind-desc {
  color: var(--muted-dark);
  font-size: 17px;
}

.ind-arrow {
  justify-self: end;
  transition: transform 0.25s var(--ease);
}

.ind-row:hover .ind-arrow {
  transform: translateX(4px);
}

.steps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.step {
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
}

.step-no {
  display: block;
  margin-bottom: 18px;
  color: var(--muted-light);
}

.close-inner {
  justify-content: space-between;
}

.close-main {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  padding-top: 24px;
}

.close-logo {
  width: min(100%, 240px);
  height: auto;
}

.close-foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  padding-top: 36px;
  border-top: 1px solid var(--line-dark);
}

.close-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.close-links a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 16px;
}

.legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  color: var(--muted-dark);
  font-size: 13px;
}

.legal a:hover,
.close-links a:hover,
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero {
  background: var(--black);
  color: var(--white);
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
}

.page-hero-inner {
  width: min(var(--max), calc(100% - clamp(40px, 8vw, 112px)));
  margin: 0 auto;
  padding: calc(var(--header) + 72px) 0 72px;
}

.page-hero .display {
  max-width: 16ch;
}

.page {
  background: var(--paper);
  color: var(--ink);
}

.section {
  width: min(var(--max), calc(100% - clamp(40px, 8vw, 112px)));
  margin: 0 auto;
  padding: 96px 0;
}

.section + .section {
  padding-top: 0;
}

.split {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
}

.side-label {
  position: sticky;
  top: calc(var(--header) + 28px);
  margin: 0;
  font-size: 13px;
  color: var(--muted-light);
}

.stack-block + .stack-block,
.value + .value {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--line-light);
}

.stack-block h2,
.value h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1.02;
  font-weight: 600;
}

.stack-block p,
.value p,
.prose p {
  margin: 0 0 14px;
  max-width: 42rem;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(29, 29, 31, 0.84);
}

.ticks {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.ticks li {
  position: relative;
  padding-left: 16px;
  color: var(--ink);
  font-size: 15px;
}

.ticks li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
  position: absolute;
  left: 0;
  top: 0.55em;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px 28px 32px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h3 {
  font-size: 28px;
  letter-spacing: -0.04em;
}

.band {
  background: var(--black);
  color: var(--white);
}

.band .section {
  padding: 88px 0;
}

.band h2 {
  margin: 0 0 12px;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.046em;
  line-height: 1;
  font-weight: 600;
  max-width: 14ch;
}

.band p {
  color: var(--muted-dark);
  max-width: 36rem;
}

.site-footer {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line-light);
}

.footer-top,
.footer-base {
  width: min(var(--max), calc(100% - clamp(40px, 8vw, 112px)));
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 0 32px;
}

.footer-logo {
  width: 148px;
  height: auto;
}

.footer-cols {
  display: flex;
  gap: 64px;
}

.footer-label {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--muted-light);
}

.footer-cols a,
.footer-cols p {
  display: block;
  margin: 0 0 8px;
  font-size: 15px;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 28px;
  border-top: 1px solid var(--line-light);
  color: var(--muted-light);
  font-size: 13px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.contact-grid h1 {
  margin: 0 0 16px;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.048em;
  font-weight: 600;
}

.mail-line {
  display: inline-block;
  margin-top: 18px;
  font-size: 17px;
  border-bottom: 1px solid var(--ink);
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted-light);
}

input,
select,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(29, 29, 31, 0.2);
  background: transparent;
  border-radius: 0;
  padding: 10px 0 12px;
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-bottom-color: var(--navy);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note,
.form-status {
  margin: 0;
  font-size: 14px;
  color: var(--muted-light);
}

.form-status {
  color: var(--ink);
  min-height: 1.2em;
}

.field-error {
  color: #8a1f1f;
  font-size: 13px;
}

.prose {
  max-width: 44rem;
}

.prose h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.046em;
  line-height: 1;
}

.prose h2 {
  margin: 36px 0 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

@media (min-width: 900px) and (min-height: 760px) {
  body.home {
    scroll-snap-type: y proximity;
  }

  body.home .chapter {
    scroll-snap-align: start;
  }
}

@media (max-width: 980px) {
  .nav-desk,
  .site-header .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .hero-grid,
  .close-main,
  .split,
  .contact-grid,
  .spec-row,
  .steps,
  .card-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    width: min(220px, 54vw);
    margin: 0 0 12px;
    order: -1;
  }

  .ind-row {
    grid-template-columns: 36px 1fr auto;
    min-height: 0;
    padding: 18px 0;
  }

  .ind-desc {
    display: none;
  }

  .close-foot,
  .footer-top,
  .footer-base,
  .legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .close-links {
    flex-direction: column;
    gap: 14px;
  }

  .side-label {
    position: static;
  }

  .display {
    font-size: clamp(40px, 11vw, 64px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .hero-mark rect,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
