:root {
  --white: #fff;
  --cream: #fff5ee;
  --cream-strong: #ffe1cb;
  --ink: #171512;
  --muted: #5e5954;
  --rule: #cfc9c3;
  --rule-strong: #98918b;
  --orange: #d45c2f;
  --orange-dark: #b9441e;
  --positive: #1f6b4f;
  --error: #9e2f21;
  --content: 1240px;
  --rail: 72px;
  --focus: 0 0 0 4px rgba(212, 92, 47, 0.22);
  color: var(--ink);
  background: var(--white);
  font-family: "Aptos", "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  line-height: 1.5;
}

body,
button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

button,
input {
  border-radius: 10px;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--white);
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(100%, calc(var(--content) + (var(--rail) * 2)));
  min-height: 92px;
  margin: 0 auto;
  padding: 0 28px 0 calc(28px + var(--rail));
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 56px;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  font-size: 1.85rem;
  font-weight: 730;
  letter-spacing: -0.045em;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 44px;
}

.nav-links a,
.text-link,
.footer-meta a {
  font-size: 0.98rem;
  font-weight: 620;
  text-decoration: none;
}

.nav-links a:hover,
.text-link:hover,
.footer-meta a:hover {
  color: var(--orange-dark);
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--orange);
  padding: 0 28px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 720;
  letter-spacing: -0.015em;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.button:disabled {
  cursor: wait;
  opacity: 0.66;
  transform: none;
}

.button-small {
  min-height: 50px;
  padding-inline: 24px;
}

.section-shell {
  width: min(100%, calc(var(--content) + (var(--rail) * 2)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}

.section-index {
  padding: 50px 0 0 28px;
  border-right: 1px solid var(--rule);
  font-size: 0.88rem;
  font-weight: 740;
  font-variant-numeric: tabular-nums;
}

.hero {
  min-height: 750px;
  border-bottom: 1px solid var(--rule);
}

.hero-content {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(520px, 0.95fr);
  gap: 36px;
  padding: 70px 54px 72px 42px;
}

.hero-copy {
  min-width: 0;
  align-self: center;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 700px;
  margin-bottom: 28px;
  font-size: clamp(3.7rem, 4.7vw, 4.85rem);
  font-weight: 660;
  line-height: 1.01;
  letter-spacing: -0.062em;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  line-height: 1.55;
  letter-spacing: -0.018em;
}

.waitlist-form input[type="email"] {
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--ink);
  padding: 0 20px;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  outline: none;
}

.waitlist-form input[type="email"]::placeholder {
  color: #77716c;
  opacity: 1;
}

.waitlist-form input[type="email"]:focus {
  border-color: var(--orange);
  box-shadow: var(--focus);
}

.waitlist-form input[aria-invalid="true"] {
  border-color: var(--error);
}

.compact-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.compact-fields input {
  border-radius: 10px 0 0 10px;
}

.compact-fields .button {
  border-radius: 0 10px 10px 0;
  white-space: nowrap;
}

.consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  cursor: pointer;
}

.consent-compact {
  margin-top: 15px;
}

.consent input {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--white);
  display: grid;
  place-items: center;
}

.consent input::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg) scale(0);
  transition: transform 120ms ease;
}

.consent input:checked {
  border-color: var(--orange);
  background: var(--orange);
}

.consent input:checked::after {
  transform: rotate(-45deg) scale(1);
}

.consent input:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.4em;
  margin: 10px 0 0;
  font-size: 0.86rem;
  font-weight: 650;
}

.form-status[data-state="success"] {
  color: var(--positive);
}

.form-status[data-state="error"] {
  color: var(--error);
}

.readiness-map {
  position: relative;
  align-self: center;
  min-width: 0;
  padding: 18px 0 0 36px;
  border-left: 1px solid var(--ink);
}

.readiness-map h2 {
  margin: 0 0 30px 36px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.map-rows {
  position: relative;
}

.map-rows::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 28px;
  top: 34px;
  bottom: 34px;
  width: 1px;
  background: linear-gradient(to bottom, var(--ink) 0 45%, var(--orange) 45% 68%, transparent 68%);
  border-right: 1px dashed var(--orange);
}

.map-row {
  min-height: 108px;
  display: grid;
  grid-template-columns: 58px minmax(150px, 1fr) minmax(28px, 0.35fr) minmax(120px, auto) minmax(28px, 0.35fr) auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--rule-strong);
}

.map-row-owner {
  margin-left: 0;
  padding-inline: 0 18px;
  background: var(--cream);
  border-top: 1px solid var(--rule-strong);
  color: var(--orange-dark);
  animation: assigned 5s ease-in-out infinite;
}

.map-row-unknown {
  border-bottom: 0;
}

.map-row h3,
.map-row p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.25;
  letter-spacing: -0.018em;
}

.map-row h3 {
  font-weight: 620;
  color: var(--ink);
}

.map-row p:last-child {
  color: var(--ink);
}

.map-rule {
  display: block;
  height: 1px;
  background: var(--rule-strong);
}

.status-icon {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  margin-left: 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 750;
}

.status-icon-check {
  background: var(--ink);
  color: var(--white);
}

.status-icon-check svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-icon-owner {
  border: 2px solid var(--orange);
  background: var(--white);
}

.status-icon-owner span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
}

.status-icon-unknown {
  border: 1px dashed var(--ink);
  background: var(--white);
  font-size: 1.12rem;
}

.map-footer {
  margin: 24px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule-strong);
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.process {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}

.process-content {
  padding: 64px 54px 72px 42px;
}

.section-heading h2,
.waitlist-copy h2,
.principles h2 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 4.7vw, 4.8rem);
  font-weight: 640;
  line-height: 1.03;
  letter-spacing: -0.058em;
}

.section-heading p,
.waitlist-copy p,
.principles p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  letter-spacing: -0.018em;
}

.process-rail {
  position: relative;
  margin: 68px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.process-rail::before {
  content: "";
  position: absolute;
  left: 22px;
  right: calc(33.333% - 22px);
  top: 21px;
  height: 1px;
  background: var(--ink);
}

.process-rail::after {
  content: "";
  position: absolute;
  left: calc(66.666% + 22px);
  right: 22px;
  top: 21px;
  border-top: 1px dashed var(--ink);
}

.process-step {
  position: relative;
  z-index: 1;
  padding-right: 56px;
}

.process-marker {
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border: 3px solid var(--orange);
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
}

.process-step-source .process-marker {
  background: var(--orange);
}

.process-step-source .process-marker span {
  width: 12px;
  height: 12px;
  border: 3px solid var(--white);
  border-radius: 50%;
}

.process-step-unknown .process-marker {
  margin-left: auto;
  border: 1px dashed var(--ink);
  color: var(--ink);
  font-size: 1.1rem;
}

.process-step-unknown {
  padding-right: 0;
}

.process-step h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.process-step h3 span {
  color: var(--orange-dark);
  font-variant-numeric: tabular-nums;
}

.process-step p {
  max-width: 270px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.principles {
  border-bottom: 1px solid var(--rule);
}

.principles-content {
  padding: 62px 54px 62px 42px;
}

.principles h2 {
  max-width: 1080px;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
}

.principles p {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.waitlist {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}

.waitlist-content {
  padding: 80px 54px 84px 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.waitlist-copy p {
  max-width: 560px;
  line-height: 1.55;
}

.waitlist-form-full {
  display: grid;
  gap: 16px;
}

.waitlist-form-full > label:not(.consent) {
  margin-bottom: -8px;
  font-size: 0.95rem;
  font-weight: 650;
}

.waitlist-form-full .button {
  width: 100%;
}

.waitlist-form-full .consent {
  margin-top: 8px;
}

.research-note {
  margin: 6px 0 0 31px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.site-footer {
  min-height: 190px;
}

.footer-content {
  padding: 38px 54px 38px 42px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}

.footer-content .brand {
  font-size: 1.6rem;
}

.footer-content .brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.footer-content p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-meta {
  display: flex;
  gap: 54px;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-page {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
  padding: 90px 0 110px;
}

.legal-index {
  color: var(--orange-dark);
  font-size: 0.88rem;
  font-weight: 740;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.legal-page h1 {
  margin-bottom: 26px;
}

.legal-lede {
  max-width: 700px;
  margin-bottom: 70px;
  color: var(--muted);
  font-size: 1.25rem;
}

.legal-page section {
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}

.legal-page section:last-of-type {
  border-bottom: 1px solid var(--rule);
}

.legal-page h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.legal-page section p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

.legal-updated {
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.88rem;
}

@keyframes assigned {
  0%,
  76%,
  100% {
    background: var(--cream);
  }
  82% {
    background: #ffeadc;
  }
}

@media (max-width: 1120px) {
  :root {
    --rail: 56px;
  }

  .header-inner {
    padding-left: calc(22px + var(--rail));
    gap: 28px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-inline: 36px;
  }

  .hero {
    min-height: 0;
  }

  .readiness-map {
    padding-top: 30px;
  }

  .waitlist-content {
    gap: 50px;
  }
}

@media (max-width: 780px) {
  :root {
    --rail: 42px;
  }

  .header-inner {
    min-height: 78px;
    padding: 0 16px;
    grid-template-columns: 1fr auto;
  }

  .brand {
    gap: 10px;
    font-size: 1.45rem;
  }

  .brand img {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .nav-links {
    display: none;
  }

  .button-small {
    min-height: 44px;
    padding-inline: 16px;
    font-size: 0.85rem;
  }

  .section-shell {
    border-right: 0;
  }

  .section-index {
    padding: 34px 0 0 14px;
    font-size: 0.78rem;
  }

  .hero-content,
  .process-content,
  .principles-content,
  .waitlist-content,
  .footer-content {
    padding-left: 24px;
    padding-right: 20px;
  }

  .hero-content {
    padding-top: 54px;
    padding-bottom: 60px;
    gap: 56px;
  }

  h1 {
    font-size: clamp(3rem, 12vw, 4.2rem);
  }

  .compact-fields {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .compact-fields input,
  .compact-fields .button {
    border-radius: 10px;
  }

  .readiness-map {
    padding-left: 18px;
  }

  .readiness-map h2 {
    margin-left: 16px;
  }

  .map-row {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 14px 0;
  }

  .map-row .map-rule {
    display: none;
  }

  .map-row p:first-of-type {
    grid-column: 2;
    color: var(--muted);
  }

  .map-row p:last-child {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .map-row h3 {
    align-self: end;
  }

  .status-icon {
    grid-row: 1 / span 2;
  }

  .process-rail {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 50px;
  }

  .process-rail::before,
  .process-rail::after {
    display: none;
  }

  .process-step,
  .process-step-unknown {
    padding: 0 0 0 64px;
  }

  .process-marker,
  .process-step-unknown .process-marker {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }

  .waitlist-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    display: grid;
    align-items: start;
  }

  .footer-meta {
    justify-content: space-between;
    gap: 24px;
  }

  .text-link {
    font-size: 0.86rem;
  }
}

@media (max-width: 470px) {
  :root {
    --rail: 32px;
  }

  .header-inner .button-small {
    padding-inline: 12px;
  }

  .brand span {
    font-size: 1.25rem;
  }

  .section-index {
    padding-left: 9px;
  }

  .hero-content,
  .process-content,
  .principles-content,
  .waitlist-content,
  .footer-content {
    padding-left: 18px;
    padding-right: 14px;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 3.45rem);
  }

  .section-heading h2,
  .waitlist-copy h2 {
    font-size: clamp(2.5rem, 12vw, 3.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .button,
  .status-icon-check,
  .process-step-source .process-marker,
  .consent input:checked {
    forced-color-adjust: none;
    background: ButtonText;
    border-color: ButtonText;
    color: ButtonFace;
  }
}
