:root {
  color-scheme: light;
  --ink: #10261d;
  --paper: #f4f0e4;
  --lime: #b9f227;
  --gold: #f4b942;
  --coral: #ff6b57;
  --fern: #2e6b4c;
  --mist: #dce5da;
  --white: #fffdf7;
  --muted: #5e7068;
  --line: rgba(16, 38, 29, 0.22);
  --shadow: 5px 5px 0 var(--ink);
  --shell: 1240px;
  --font-display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

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

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

::selection {
  background: var(--lime);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.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-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  background: var(--lime);
  border: 2px solid var(--ink);
  padding: 10px 16px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.announcement {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  padding: 7px 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.announcement a {
  color: var(--lime);
  font-weight: 800;
  text-underline-offset: 3px;
}

.announcement__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(185, 242, 39, 0.14);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 240, 228, 0.94);
  border-bottom: 1px solid var(--ink);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  width: 40px;
  height: 40px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand__seed {
  fill: var(--lime);
}

.brand__leaf {
  fill: currentColor;
}

.brand__wordmark {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.brand__wordmark strong {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-nav > a:not(.button) {
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.primary-nav > a:not(.button):hover {
  border-color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--ink);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px solid var(--ink);
  border-radius: 2px;
  padding: 12px 20px;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.button:active {
  transform: translate(4px, 4px);
  box-shadow: none;
}

.button[disabled] {
  cursor: wait;
  opacity: 0.65;
}

.button--lime {
  background: var(--lime);
}

.button--small {
  min-height: 42px;
  padding: 9px 15px;
  font-size: 0.82rem;
  box-shadow: 3px 3px 0 var(--ink);
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 850;
  text-decoration: none;
}

.text-link span {
  transition: transform 150ms ease;
}

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

.text-link--underlined {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 4px;
}

.eyebrow {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 7px 10px;
  background: var(--paper);
}

.eyebrow--light span {
  border-color: var(--paper);
  background: transparent;
  color: var(--paper);
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
}

.hero__grid {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(530px, 0.97fr);
  align-items: center;
  gap: 54px;
  padding-block: 72px 62px;
}

.hero__copy h1,
.section-heading h2,
.challenge h2,
.faq h2,
.join h2,
.legal-page h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.93;
}

.hero__copy h1 {
  max-width: 720px;
  font-size: clamp(4rem, 7.2vw, 7.8rem);
}

.marked {
  position: relative;
  z-index: 0;
  display: inline-block;
}

.marked::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -4%;
  bottom: 0.05em;
  z-index: -1;
  height: 0.2em;
  background: var(--lime);
  transform: rotate(-1.5deg);
}

.hero__lede {
  max-width: 650px;
  margin: 30px 0 32px;
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  letter-spacing: 0.05em;
  list-style: none;
  text-transform: uppercase;
}

.trust-list li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--fern);
  font-weight: 900;
}

.lineage {
  position: relative;
  min-width: 0;
  height: 570px;
  border: 1px solid var(--ink);
  background-color: var(--mist);
  background-image: linear-gradient(rgba(16, 38, 29, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 38, 29, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  box-shadow: 8px 8px 0 var(--ink);
}

.lineage__label {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 3;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 5px 8px;
}

.lineage__paths {
  position: absolute;
  inset: 32px 0 0;
  width: 100%;
  height: calc(100% - 32px);
  overflow: visible;
}

.lineage__paths path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 8 8;
  opacity: 0.7;
  transition: opacity 180ms ease, stroke-width 180ms ease;
}

.lineage.is-focused .lineage__paths path {
  opacity: 0.15;
}

.lineage[data-active-branch="a"] [data-path="root-a"],
.lineage[data-active-branch="c"] [data-path="root-a"],
.lineage[data-active-branch="c"] [data-path="a-c"],
.lineage[data-active-branch="b"] [data-path="root-b"],
.lineage[data-active-branch="d"] [data-path="root-b"],
.lineage[data-active-branch="d"] [data-path="b-d"] {
  opacity: 1;
  stroke-width: 5;
}

.lineage-card {
  position: absolute;
  z-index: 2;
  width: 192px;
  min-height: 86px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 9px;
  box-shadow: 4px 4px 0 rgba(16, 38, 29, 0.95);
  transition: transform 180ms ease, opacity 180ms ease;
}

.lineage-card:hover,
.lineage-card:focus-visible {
  transform: translateY(-4px);
}

.lineage.is-focused .lineage-card {
  opacity: 0.35;
}

.lineage.is-focused .lineage-card[data-branch="root"],
.lineage[data-active-branch="a"] .lineage-card[data-branch="a"],
.lineage[data-active-branch="b"] .lineage-card[data-branch="b"],
.lineage[data-active-branch="c"] .lineage-card[data-branch="a"],
.lineage[data-active-branch="c"] .lineage-card[data-branch="c"],
.lineage[data-active-branch="d"] .lineage-card[data-branch="b"],
.lineage[data-active-branch="d"] .lineage-card[data-branch="d"] {
  opacity: 1;
}

.lineage-card--root {
  top: 62px;
  left: 50%;
  width: 210px;
  transform: translateX(-50%);
}

.lineage-card--root:hover,
.lineage-card--root:focus-visible {
  transform: translate(-50%, -4px);
}

.lineage-card--a { top: 224px; left: 28px; }
.lineage-card--b { top: 224px; right: 28px; }
.lineage-card--c { left: 10px; bottom: 30px; }
.lineage-card--d { right: 10px; bottom: 30px; }

.lineage-card strong,
.lineage-card small,
.lineage-card .mono {
  display: block;
}

.lineage-card strong {
  margin: 1px 0;
  font-size: 0.92rem;
  line-height: 1.2;
}

.lineage-card small {
  color: var(--muted);
  font-size: 0.61rem;
  line-height: 1.35;
}

.lineage-card .mono {
  font-size: 0.55rem;
}

.lineage-card__art,
.lineage-card__swatch {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--ink);
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.lineage-card__art--seed {
  background: var(--ink);
}

.lineage-card__art--seed span {
  position: absolute;
  width: 12px;
  height: 22px;
  border-radius: 100% 0 100% 0;
  background: var(--lime);
  transform-origin: bottom left;
}

.lineage-card__art--seed span:nth-child(1) { transform: translate(-1px, -6px) rotate(-45deg); }
.lineage-card__art--seed span:nth-child(2) { transform: translate(5px, 4px) rotate(25deg); }
.lineage-card__art--seed span:nth-child(3) { width: 6px; height: 6px; border-radius: 50%; transform: translate(-11px, 13px); }
.swatch--lime { background: var(--lime); }
.swatch--coral { background: var(--coral); }
.swatch--gold { background: var(--gold); }
.swatch--fern { background: var(--fern); color: var(--paper); }

.hero__manifesto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}

.hero__manifesto p {
  margin: 0;
  padding: 22px 20px;
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 1vw, 0.84rem);
  font-weight: 800;
  text-align: center;
}

.hero__manifesto p + p {
  border-left: 1px solid var(--ink);
}

.section {
  padding-block: 112px;
  border-bottom: 1px solid var(--ink);
}

.section--paper { background: var(--paper); }
.section--mist { background: var(--mist); }

.section-heading {
  max-width: 820px;
  margin-bottom: 58px;
}

.section-heading h2,
.faq h2,
.join h2 {
  font-size: clamp(3rem, 6vw, 6.2rem);
}

.section-heading > p:last-child {
  max-width: 620px;
  margin: 26px 0 0;
  font-size: 1.18rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.step-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 28px;
}

.step-card__number {
  margin-bottom: 44px;
}

.step-card__icon {
  position: relative;
  width: 88px;
  height: 88px;
  margin-bottom: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--lime);
  box-shadow: 5px 5px 0 var(--ink);
}

.seed-icon {
  width: 30px;
  height: 45px;
  display: block;
  border: 3px solid var(--ink);
  border-radius: 100% 0 100% 0;
  transform: rotate(-35deg);
}

.step-card__icon--fork span {
  position: absolute;
  bottom: 20px;
  width: 3px;
  height: 46px;
  background: var(--ink);
  transform-origin: bottom;
}

.step-card__icon--fork span:first-child { transform: rotate(-35deg); }
.step-card__icon--fork span:last-child { transform: rotate(35deg); }

.step-card__icon--branch i {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}

.step-card__icon--branch i:nth-child(1) { left: 15px; top: 16px; }
.step-card__icon--branch i:nth-child(2) { right: 15px; top: 16px; }
.step-card__icon--branch i:nth-child(3) { bottom: 14px; left: 37px; }

.step-card__icon--branch::before,
.step-card__icon--branch::after {
  content: "";
  position: absolute;
  top: 33px;
  width: 3px;
  height: 36px;
  background: var(--ink);
  transform-origin: top;
}

.step-card__icon--branch::before { left: 27px; transform: rotate(-30deg); }
.step-card__icon--branch::after { right: 27px; transform: rotate(30deg); }

.step-card h3,
.principle h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.step-card p,
.principle p {
  margin: 0;
  color: var(--muted);
}

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

.challenge__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(500px, 1.16fr);
  gap: 76px;
}

.challenge__intro {
  position: relative;
}

.challenge__index {
  display: inline-block;
  margin-bottom: 52px;
  border-bottom: 1px solid var(--paper);
  padding-bottom: 5px;
}

.challenge h2 {
  font-size: clamp(5rem, 10vw, 10rem);
  color: var(--lime);
}

.challenge blockquote {
  margin: 34px 0 24px;
  border-left: 4px solid var(--coral);
  padding-left: 20px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 750;
}

.challenge__intro > p:last-of-type {
  max-width: 560px;
  color: rgba(244, 240, 228, 0.76);
}

.challenge__meta {
  display: grid;
  gap: 13px;
  margin-top: 44px;
  border-top: 1px solid rgba(244, 240, 228, 0.35);
  padding-top: 24px;
}

.challenge__meta div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
}

.challenge__meta span { color: var(--lime); }
.challenge__meta strong { font-size: 0.92rem; }

.submission-panel {
  align-self: start;
  border: 1px solid var(--paper);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 9px 9px 0 var(--lime);
}

.submission-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--ink);
  padding: 18px 22px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
}

.status-chip i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--fern);
}

.form {
  padding: 28px;
}

.form--stacked {
  display: grid;
  gap: 20px;
}

.form label:not(.checkbox) {
  display: grid;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 800;
}

.form label > span b {
  color: #b72d23;
}

.form label > span em {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 500;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  padding: 13px 14px;
}

input,
select {
  min-height: 49px;
}

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

input::placeholder,
textarea::placeholder {
  color: #7f8b85;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #b72d23;
  box-shadow: 0 0 0 2px rgba(183, 45, 35, 0.14);
}

.form label small {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 500;
  line-height: 1.4;
}

.checkbox {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: start;
  font-size: 0.72rem;
  line-height: 1.45;
}

.checkbox input {
  width: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  accent-color: var(--fern);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.form__status {
  min-height: 24px;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
}

.form__status.is-success { color: #185f3e; }
.form__status.is-error { color: #a4251d; }

.form__fine-print {
  margin: -7px 0 0;
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.45;
  text-align: center;
}

.principles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 40px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.principle {
  min-height: 290px;
  background: var(--mist);
  padding: 28px;
}

.principle__mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 74px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(500px, 1.15fr);
  gap: 90px;
}

.faq__intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq__intro p:last-child {
  max-width: 430px;
  margin-top: 25px;
  color: var(--muted);
}

.accordion {
  border-top: 1px solid var(--ink);
}

.accordion details {
  border-bottom: 1px solid var(--ink);
}

.accordion summary {
  min-height: 80px;
  display: grid;
  grid-template-columns: 1fr 30px;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.accordion summary::-webkit-details-marker { display: none; }

.accordion summary span {
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
  transition: transform 180ms ease;
}

.accordion details[open] summary span { transform: rotate(45deg); }

.accordion details p {
  max-width: 650px;
  margin: -6px 0 26px;
  color: var(--muted);
}

.join {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--paper);
  padding-block: 100px;
}

.join__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.join__copy p:last-child {
  max-width: 620px;
  color: rgba(244, 240, 228, 0.72);
  font-size: 1.1rem;
}

.waitlist-form {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 12px;
  align-items: start;
}

.waitlist-form .button,
.waitlist-form .turnstile-slot,
.waitlist-form__consent,
.waitlist-form__note,
.waitlist-form .form__status {
  grid-column: 1 / -1;
}

.waitlist-form__consent {
  color: rgba(244, 240, 228, 0.78);
}

.turnstile-slot:empty {
  display: none;
}

.waitlist-form input,
.waitlist-form select {
  min-height: 54px;
  border-color: var(--paper);
  background: transparent;
  color: var(--paper);
}

.waitlist-form option { color: var(--ink); }
.waitlist-form input::placeholder { color: rgba(244, 240, 228, 0.6); }
.waitlist-form__note {
  margin: 0;
  color: rgba(244, 240, 228, 0.58);
  font-size: 0.66rem;
  line-height: 1.4;
}

.join__seed {
  position: absolute;
  right: -130px;
  bottom: -210px;
  width: 430px;
  height: 430px;
  border: 2px solid rgba(185, 242, 39, 0.4);
  border-radius: 50%;
}

.join__seed span,
.join__seed i {
  position: absolute;
  display: block;
  background: var(--lime);
}

.join__seed span { left: 50%; top: -70px; width: 3px; height: 280px; transform: rotate(-20deg); }
.join__seed i { width: 80px; height: 150px; border-radius: 100% 0 100% 0; }
.join__seed i:nth-child(2) { left: 90px; top: 0; transform: rotate(-55deg); }
.join__seed i:nth-child(3) { right: 100px; top: -40px; transform: rotate(15deg); }

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding-block: 54px 30px;
}

.site-footer__top,
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand--footer { color: var(--paper); }
.site-footer__top > p { margin: 0; color: rgba(244, 240, 228, 0.68); }

.share-button {
  border: 0;
  border-bottom: 1px solid var(--paper);
  background: transparent;
  color: var(--paper);
  padding: 5px 0;
  font-weight: 800;
  cursor: pointer;
}

.site-footer__bottom {
  margin-top: 48px;
  border-top: 1px solid rgba(244, 240, 228, 0.26);
  padding-top: 26px;
  color: rgba(244, 240, 228, 0.58);
  font-size: 0.72rem;
}

.site-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.site-footer__bottom a { text-underline-offset: 3px; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

/* Legal and information pages */
.legal-page {
  min-height: 70vh;
  padding-block: 84px 120px;
}

.legal-page__header {
  max-width: 920px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 36px;
}

.legal-page h1 {
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 8vw, 7rem);
}

.legal-page__lede {
  max-width: 760px;
  font-size: 1.16rem;
}

.legal-page__content {
  max-width: 800px;
}

.legal-page__content h2 {
  margin: 48px 0 12px;
  font-size: 1.55rem;
}

.legal-page__content h3 {
  margin: 30px 0 8px;
  font-size: 1.12rem;
}

.legal-page__content li + li { margin-top: 9px; }
.legal-note {
  border: 1px solid var(--ink);
  background: var(--mist);
  padding: 18px 20px;
  font-size: 0.85rem;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background-color: var(--mist);
  background-image: linear-gradient(rgba(16, 38, 29, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 38, 29, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  padding: 30px;
}

.thanks-page__card {
  width: min(100%, 760px);
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--ink);
  padding: clamp(28px, 7vw, 74px);
}

.thanks-page__card .brand {
  margin-bottom: 70px;
}

.thanks-page__card h1 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 11vw, 7.5rem);
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.thanks-page__card > p:not(.eyebrow, .mono) {
  max-width: 590px;
  font-size: 1.1rem;
}

.thanks-page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin: 38px 0 52px;
}

@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero__copy { max-width: 880px; }
  .lineage { width: min(100%, 720px); margin-inline: auto; }
  .challenge__grid { gap: 42px; }
  .faq__grid { gap: 48px; }
}

@media (max-width: 860px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }

  .menu-toggle { display: block; }

  .primary-nav {
    position: fixed;
    top: 112px;
    left: 14px;
    right: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--ink);
    background: var(--paper);
    box-shadow: 7px 7px 0 var(--ink);
    padding: 10px;
  }

  .nav-open .primary-nav { display: flex; }
  .nav-open .menu-toggle span:not(.sr-only):first-of-type { transform: translateY(3.5px) rotate(45deg); }
  .nav-open .menu-toggle span:not(.sr-only):last-of-type { transform: translateY(-3.5px) rotate(-45deg); }

  .primary-nav > a:not(.button) {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding: 10px;
  }

  .primary-nav .button { margin-top: 10px; }

  .section { padding-block: 82px; }
  .steps { grid-template-columns: 1fr; }
  .step-card { min-height: 330px; }
  .challenge__grid,
  .faq__grid,
  .join__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .principles__grid { grid-template-columns: 1fr; }
  .principle { min-height: 250px; }
  .principle__mark { margin-bottom: 50px; }
  .join__grid { gap: 45px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .announcement { justify-content: flex-start; overflow-x: auto; white-space: nowrap; }
  .announcement__pulse { flex: 0 0 auto; }
  .brand__wordmark { font-size: 0.8rem; }
  .hero__grid { display: block; padding-block: 52px 42px; }
  .hero__copy { width: 100%; min-width: 0; }
  .hero__copy h1 { font-size: clamp(3.55rem, 18vw, 5.1rem); }
  .hero__lede { font-size: 1.05rem; }
  .hero__actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .hero__actions .button { width: 100%; }
  .hero__actions .text-link { justify-content: center; }
  .trust-list { display: grid; gap: 7px; }

  .lineage {
    width: 100%;
    height: 520px;
    margin-top: 52px;
    transform: none;
  }

  .hero__grid > .lineage { margin-bottom: 0; }
  .lineage-card {
    width: calc(50% - 18px);
    min-height: 76px;
    grid-template-columns: 42px 1fr;
    gap: 7px;
    padding: 7px;
    box-shadow: 3px 3px 0 rgba(16, 38, 29, 0.95);
  }
  .lineage-card--root { width: 204px; }
  .lineage-card--a { left: 8px; }
  .lineage-card--b { right: 8px; }
  .lineage-card--c { left: 8px; bottom: 24px; }
  .lineage-card--d { right: 8px; bottom: 24px; }
  .lineage-card__art,
  .lineage-card__swatch { width: 42px; height: 42px; font-size: 1.05rem; }
  .lineage-card strong { font-size: 0.76rem; }
  .lineage-card small { font-size: 0.52rem; }
  .lineage-card .mono { font-size: 0.48rem; }
  .hero__manifesto { grid-template-columns: 1fr; }
  .hero__manifesto p + p { border-left: 0; border-top: 1px solid var(--ink); }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2,
  .faq h2,
  .join h2 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .step-card { padding: 22px; }
  .challenge__grid { display: block; }
  .challenge__intro { margin-bottom: 52px; }
  .challenge__index { margin-bottom: 34px; }
  .challenge h2 { font-size: 5.3rem; }
  .challenge__meta div { grid-template-columns: 90px 1fr; }
  .submission-panel { box-shadow: 5px 5px 0 var(--lime); }
  .submission-panel__header { align-items: flex-start; flex-direction: column; }
  .form { padding: 20px; }
  .form__row { grid-template-columns: 1fr; }
  .faq__grid { gap: 30px; }
  .accordion summary { min-height: 72px; }
  .join { padding-block: 78px; }
  .waitlist-form { grid-template-columns: 1fr; }
  .waitlist-form .button,
  .waitlist-form .turnstile-slot,
  .waitlist-form__consent,
  .waitlist-form__note,
  .waitlist-form .form__status { grid-column: auto; }
  .site-footer__top,
  .site-footer__bottom { align-items: flex-start; flex-direction: column; }
  .site-footer__bottom nav { justify-content: flex-start; }
}

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