:root {
  --bg: #ffffff;
  --surface: #f5f5f5;
  --ink: #000000;
  --muted: #666666;
  --accent: #a7ff9c;
  --accent-ink: #000000;
  --field-1: #c5c5c5;
  --field-2: #a7ff9c;
  --field-3: #ff6831;
  --field-4: #000000;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
  --margin: clamp(20px, 4vw, 40px);
  --radius: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Red Hat Text", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: var(--step-body);
  line-height: 1.5;
}

a { color: inherit; }
.top {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px var(--margin);
}
.wordmark {
  font-family: "Red Hat Display", sans-serif;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.top nav { display: flex; gap: 20px; }
.top nav a { text-decoration: none; font-size: var(--step-small); }

.field { min-height: 90svh; padding: 96px var(--margin) 72px; }
.field-white { background: #fff; color: #000; }
.field-grey { background: var(--field-1); color: #000; }
.field-mint { background: var(--field-2); color: #000; }
.field-orange { background: var(--field-3); color: #000; }
.field-black { background: var(--field-4); color: #fff; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: end;
  padding-top: 150px;
}
.brand-line {
  margin: 0 0 18px;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 900;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.92;
}
.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-transform: uppercase;
}
.support {
  margin: 18px 0 0;
  max-width: 40ch;
  font-size: 18px;
}
.cta-row { margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  border: 0;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.btn.mint { background: var(--accent); color: #000; }

.hero-stage {
  min-height: 360px;
  display: flex;
  align-items: stretch;
  clip-path: inset(0 100% 0 0);
  animation: shutter 1.1s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes shutter {
  from { clip-path: inset(0 100% 0 0); transform: scale(1.12); }
  to { clip-path: inset(0 0 0 0); transform: scale(1); }
}
.ui-card, .ui-board, .ui-dialog {
  background: #fff;
  color: #0a0a0a;
  border: 1px solid #e6e6e6;
}
.ui-card {
  width: min(100%, 420px);
  margin-left: auto;
  padding: 22px;
  transform-origin: right center;
}
.ui-kicker { color: #6b6b6b; font-size: 13px; }
.ui-kpi { margin-top: 18px; display: grid; gap: 4px; }
.ui-kpi span { color: #6b6b6b; font-size: 13px; }
.ui-kpi strong { font-size: 42px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ui-kpi em { font-style: normal; color: #2e7d32; font-size: 13px; }
.ui-spark { width: 100%; height: 90px; margin-top: 18px; }

.chapter h2 {
  margin: 0 0 20px;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 900;
  font-size: var(--step-head);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.95;
  max-width: 14ch;
}
.chapter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.chapter-grid h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.chapter-grid p { max-width: 34ch; margin: 0; font-size: var(--step-lead); }

.ui-board { padding: 20px; }
.ui-board-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: #6b6b6b;
  font-size: 13px;
}
.ui-board-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.ui-board-kpis span { display: block; color: #6b6b6b; font-size: 12px; }
.ui-board-kpis b {
  display: block;
  margin-top: 6px;
  font-size: 28px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.ui-board-split { display: grid; gap: 12px; }
.ui-mini span { font-size: 13px; color: #6b6b6b; }
.bar {
  margin-top: 8px;
  height: 10px;
  background: #eee;
  position: relative;
}
.bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: #1d5fbf;
}

.steps { list-style: none; margin: 36px 0 0; padding: 0; max-width: 720px; }
.steps li { margin-bottom: 18px; }
.step {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.45;
}
.step.active { opacity: 1; }
.step-copy {
  max-width: 42ch;
  margin: 8px 0 0;
  display: none;
  font-size: 18px;
}
.steps li:has(.step.active) .step-copy,
.steps li .step.active + .step-copy { display: block; }

blockquote {
  margin: 0;
  max-width: 18ch;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 900;
  font-size: clamp(2.8rem, 8vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-transform: uppercase;
}
blockquote cite {
  display: block;
  margin-top: 24px;
  font-family: "Red Hat Text", sans-serif;
  font-style: normal;
  font-size: 16px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
.cta-copy h2 {
  color: #fff;
  max-width: 8ch;
}
.cta-copy p { max-width: 36ch; color: #ddd; }
.ui-dialog {
  width: min(100%, 440px);
  margin-left: auto;
  padding: 24px;
  display: grid;
  gap: 16px;
}
.ui-dialog h3 { margin: 0; font-size: 20px; }
.ui-dialog label, .ui-dialog fieldset {
  display: grid;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
  font-size: 14px;
}
.ui-dialog input[type="text"],
.ui-dialog input:not([type]),
.ui-dialog input[name="ws"] {
  height: 40px;
  border: 1px solid #d4d4d4;
  padding: 0 10px;
  font: inherit;
}
.ui-dialog fieldset {
  display: flex;
  gap: 16px;
}
.ui-dialog fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer { min-height: auto; padding: 20px var(--margin) 28px; }
.tiles {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
}
.tile {
  background: var(--surface);
  padding: 20px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
}
.tile:nth-child(1) { grid-column: span 4; }
.tile:nth-child(2) { grid-column: span 3; gap: 8px; justify-content: flex-start; }
.tile:nth-child(3) { grid-column: span 2; }
.tile:nth-child(4) { grid-column: span 3; justify-content: flex-end; }
.tile.ink {
  grid-column: span 8;
  min-height: 220px;
  background: #000;
  color: #fff;
  align-items: center;
  justify-content: center;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 9vw, 7rem);
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.tile.accent {
  grid-column: span 4;
  min-height: 220px;
  background: var(--accent);
  color: #000;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  font-size: 28px;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

@media (max-width: 860px) {
  .hero, .chapter-grid, .cta { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero-stage { min-height: 280px; }
  .ui-card, .ui-dialog { margin-left: 0; width: 100%; }
  .ui-board-kpis { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile:nth-child(n) { grid-column: span 2; }
  .tile:nth-child(2), .tile:nth-child(4) { grid-column: span 1; }
  .tile.ink, .tile.accent { grid-column: span 2; min-height: 160px; }
}
