:root {
  --paper: #f3efdf;
  --paper-bright: #fffdf5;
  --paper-deep: #dfd8c3;
  --ink: #111c31;
  --ink-soft: #3c4558;
  --line: rgba(17, 28, 49, 0.2);
  --coral: #f15b45;
  --coral-dark: #d84431;
  --blue: #3267d6;
  --yellow: #f4c94e;
  --mint: #bcd9bb;
  --white: #ffffff;
  --shadow-ink: 7px 7px 0 var(--ink);
  --radius: 3px;
  --shell: min(1180px, calc(100% - 40px));
  --display: "Arial Rounded MT Bold", "Avenir Next", "Trebuchet MS", Arial, sans-serif;
  --body: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

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

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

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(rgba(17, 28, 49, 0.15) 0.7px, transparent 0.7px);
  background-size: 9px 9px;
  opacity: 0.22;
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

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

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  transform: translateY(-160%);
  border: 2px solid var(--ink);
  background: var(--yellow);
  font-weight: 800;
}

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

.clipboard-proxy {
  position: fixed;
  inset: 0 auto auto 0;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

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

.site-header {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  overflow: visible;
}

.mark-board {
  fill: var(--paper-bright);
  stroke: var(--ink);
  stroke-width: 2.5;
}

.mark-dot {
  stroke: var(--ink);
  stroke-width: 2;
}

.mark-dot-one {
  fill: var(--coral);
}

.mark-dot-two {
  fill: var(--blue);
}

.mark-line {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-width: 3;
}

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

.primary-nav > a:not(.button) {
  position: relative;
  min-height: 44px;
  padding-block: 10px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.primary-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--coral);
  content: "";
  transition: transform 180ms ease;
}

.primary-nav > a:not(.button):hover::after,
.primary-nav .nav-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 13px 20px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-decoration: none;
  transition: box-shadow 150ms ease, transform 150ms ease, background-color 150ms ease;
}

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

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

.button-small {
  min-height: 42px;
  padding: 10px 16px;
  box-shadow: 3px 3px 0 var(--coral);
  font-size: 13px;
}

.button-small:hover {
  box-shadow: 1px 1px 0 var(--coral);
}

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

.button-coral {
  background: var(--coral);
  color: var(--ink);
}

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

.button-large {
  min-width: 238px;
  min-height: 60px;
  padding-inline: 24px;
  box-shadow: 6px 6px 0 var(--coral);
}

.hero {
  display: grid;
  min-height: 690px;
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
  grid-template-columns: minmax(0, 1.01fr) minmax(430px, 0.99fr);
  padding-block: 78px 88px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow-pip {
  width: 11px;
  height: 11px;
  transform: rotate(10deg);
  border: 2px solid var(--ink);
  background: var(--coral);
}

.hero h1,
.section-heading h2,
.evidence-copy h2,
.final-cta h2,
.setup-intro h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(52px, 5.6vw, 80px);
}

.scribble-underline {
  position: relative;
  display: inline-block;
  color: var(--coral);
}

.scribble-underline::after {
  position: absolute;
  right: 3px;
  bottom: -13px;
  left: 4px;
  height: 10px;
  transform: rotate(-0.5deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 15'%3E%3Cpath d='M2 9C114 2 257 13 498 5' fill='none' stroke='%23111c31' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  content: "";
}

.hero-lede {
  max-width: 650px;
  margin: 36px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 34px;
}

.text-link {
  min-height: 44px;
  padding-block: 9px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 900;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: 36px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.proof-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proof-list span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--mint);
  font-size: 11px;
}

.hero-art {
  position: relative;
  min-height: 500px;
  perspective: 1200px;
}

.board-paper {
  position: absolute;
  inset: 20px 8px 22px 20px;
  overflow: hidden;
  transform: rotate(1.5deg);
  border: 3px solid var(--ink);
  border-radius: 5px;
  background-color: var(--paper-bright);
  background-image: linear-gradient(rgba(50, 103, 214, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(50, 103, 214, 0.1) 1px, transparent 1px);
  background-size: 26px 26px;
  box-shadow: 12px 13px 0 var(--ink), 20px 22px 0 rgba(241, 91, 69, 0.45);
}

.board-paper::before {
  position: absolute;
  inset: 42px 26px 34px;
  border: 2px dashed rgba(17, 28, 49, 0.22);
  content: "";
}

.board-label {
  position: absolute;
  top: 15px;
  right: 18px;
  left: 18px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.board-node {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.node-kicker {
  margin-bottom: 9px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.node-idea {
  top: 82px;
  left: 42px;
  width: 190px;
  min-height: 140px;
  padding: 22px;
  transform: rotate(-2deg);
  background: var(--yellow);
}

.node-idea strong {
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.1;
}

.node-note {
  align-self: flex-end;
  margin-top: 13px;
  padding: 2px 6px;
  transform: rotate(-2deg);
  border-bottom: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 8px;
}

.node-rule {
  top: 122px;
  right: 47px;
  width: 120px;
  height: 120px;
  align-items: center;
  transform: rotate(3deg);
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
}

.node-rule .node-kicker {
  color: rgba(255, 255, 255, 0.8);
}

.node-rule strong {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.04em;
}

.mini-rule {
  display: flex;
  gap: 3px;
  margin-top: 7px;
}

.mini-rule i {
  width: 9px;
  height: 12px;
  border: 1.5px solid var(--white);
  background: var(--coral);
}

.node-proof {
  right: 70px;
  bottom: 57px;
  width: 220px;
  min-height: 128px;
  padding: 18px 22px;
  transform: rotate(-1deg);
  background: var(--mint);
}

.node-proof strong {
  font-family: var(--display);
  font-size: 25px;
}

.sparkline {
  display: flex;
  height: 32px;
  align-items: flex-end;
  gap: 5px;
  margin-top: 8px;
  padding-top: 4px;
  border-bottom: 2px solid var(--ink);
}

.sparkline i {
  width: 12px;
  background: var(--ink);
}

.sparkline i:nth-child(1) { height: 38%; }
.sparkline i:nth-child(2) { height: 62%; }
.sparkline i:nth-child(3) { height: 45%; }
.sparkline i:nth-child(4) { height: 82%; }
.sparkline i:nth-child(5) { height: 70%; }

.route-line {
  position: absolute;
  z-index: 1;
  height: 2px;
  border-top: 3px dashed var(--ink);
  opacity: 0.72;
}

.route-line-one {
  top: 222px;
  left: 205px;
  width: 130px;
  transform: rotate(-24deg);
}

.route-line-two {
  right: 150px;
  bottom: 190px;
  width: 100px;
  transform: rotate(62deg);
}

.pawn {
  position: absolute;
  z-index: 4;
  width: 25px;
  height: 29px;
  border: 2px solid var(--ink);
  border-radius: 50% 50% 38% 38%;
  box-shadow: 2px 3px 0 var(--ink);
}

.pawn::after {
  position: absolute;
  right: -5px;
  bottom: -8px;
  left: -5px;
  height: 10px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: inherit;
  content: "";
}

.pawn-coral {
  top: 262px;
  left: 110px;
  transform: rotate(-8deg);
  background: var(--coral);
}

.pawn-blue {
  right: 52px;
  bottom: 205px;
  transform: rotate(5deg) scale(0.8);
  background: var(--blue);
}

.tape {
  position: absolute;
  top: 13px;
  left: 43%;
  z-index: 5;
  width: 72px;
  height: 27px;
  transform: rotate(-5deg);
  background: rgba(243, 201, 78, 0.7);
  clip-path: polygon(4% 8%, 96% 0, 100% 88%, 0 100%);
}

.pencil-note {
  position: absolute;
  bottom: 43px;
  left: 36px;
  transform: rotate(-4deg);
  font-family: "Bradley Hand", "Segoe Print", cursive;
  font-size: 13px;
  font-weight: 700;
}

.pencil-note::after {
  display: block;
  width: 75%;
  height: 8px;
  margin: -2px auto 0;
  border-bottom: 2px solid var(--coral);
  border-radius: 50%;
  content: "";
}

.corner-index {
  position: absolute;
  right: 18px;
  bottom: 15px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
}

.floating-chip {
  position: absolute;
  z-index: 10;
  padding: 8px 11px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.chip-one {
  right: -11px;
  bottom: 56px;
  transform: rotate(-2deg);
  background: var(--paper-bright);
}

.chip-one span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: #42a269;
}

.chip-two {
  top: 6px;
  left: -5px;
  transform: rotate(-4deg);
  background: var(--coral);
}

.ticker {
  overflow: hidden;
  border-block: 2px solid var(--ink);
  background: var(--yellow);
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 34px;
  padding-block: 11px;
  animation: ticker-motion 30s linear infinite;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.ticker-track i {
  color: var(--coral);
  font-style: normal;
}

@keyframes ticker-motion {
  to { transform: translateX(-50%); }
}

.loop-section {
  padding-block: 130px 145px;
}

.section-heading {
  display: grid;
  align-items: end;
  gap: 18px 50px;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading h2,
.evidence-copy h2,
.final-cta h2 {
  font-size: clamp(40px, 5vw, 66px);
}

.section-heading > p:last-child {
  max-width: 450px;
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 17px;
}

.step-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(3, 1fr);
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
}

.step-card {
  position: relative;
  display: flex;
  min-height: 410px;
  flex-direction: column;
  padding: 29px;
  border: 2px solid var(--ink);
  background: var(--paper-bright);
  box-shadow: 6px 6px 0 var(--ink);
}

.step-card:nth-child(2) {
  transform: translateY(18px);
}

.step-number {
  align-self: flex-end;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}

.step-icon {
  position: relative;
  width: 90px;
  height: 88px;
  margin: 16px 0 27px;
}

.stack-card {
  position: absolute;
  top: 7px;
  left: 15px;
  width: 56px;
  height: 70px;
  border: 2px solid var(--ink);
  background: var(--paper-bright);
}

.stack-card:nth-child(1) { transform: rotate(-13deg); background: var(--coral); }
.stack-card:nth-child(2) { transform: rotate(1deg); background: var(--yellow); }
.stack-card:nth-child(3) { transform: translate(9px, -4px) rotate(10deg); background: var(--paper-bright); }
.stack-card:nth-child(3)::after { position: absolute; inset: 11px; border: 2px dashed var(--ink); content: ""; }

.orbit-icon {
  border: 2px dashed var(--ink);
  border-radius: 50%;
}

.orbit-icon i {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--blue);
}

.orbit-icon i:nth-child(1) { top: 5px; left: 34px; }
.orbit-icon i:nth-child(2) { right: 5px; bottom: 12px; background: var(--coral); }
.orbit-icon i:nth-child(3) { bottom: 12px; left: 5px; background: var(--yellow); }

.chart-icon {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 10px 10px 9px;
  border-bottom: 3px solid var(--ink);
}

.chart-icon i {
  width: 12px;
  border: 2px solid var(--ink);
  background: var(--yellow);
}

.chart-icon i:nth-child(1) { height: 30%; }
.chart-icon i:nth-child(2) { height: 62%; background: var(--coral); }
.chart-icon i:nth-child(3) { height: 45%; }
.chart-icon i:nth-child(4) { height: 82%; background: var(--blue); }

.step-card h3,
.principle-grid h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.step-card p {
  margin: 14px 0 25px;
  color: var(--ink-soft);
  font-size: 15px;
}

.step-output {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.step-coral { border-top: 10px solid var(--coral); }
.step-blue { border-top: 10px solid var(--blue); }
.step-yellow { border-top: 10px solid var(--yellow); }

.evidence-section {
  position: relative;
  overflow: hidden;
  padding-block: 122px;
  background: var(--ink);
  color: var(--paper-bright);
}

.evidence-section::after {
  position: absolute;
  right: -100px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border: 2px dashed rgba(243, 239, 223, 0.15);
  border-radius: 50%;
  content: "";
}

.evidence-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: clamp(55px, 9vw, 120px);
  grid-template-columns: minmax(0, 0.84fr) minmax(430px, 1.16fr);
}

.eyebrow-light .eyebrow-pip {
  border-color: var(--paper-bright);
}

.evidence-copy h2 {
  max-width: 560px;
}

.evidence-copy > p:not(.eyebrow) {
  max-width: 530px;
  margin: 28px 0 34px;
  color: rgba(255, 253, 245, 0.68);
  font-size: 17px;
}

.evidence-panel {
  transform: rotate(0.8deg);
  border: 2px solid var(--paper-bright);
  background: #17243c;
  box-shadow: 9px 9px 0 var(--coral);
  font-family: var(--mono);
}

.panel-topline,
.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.panel-topline {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.status-dot {
  color: #9be0aa;
}

.status-dot::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #54be72;
  content: "";
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.metric-row div {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.metric-row div:last-child { border-right: 0; }
.metric-row strong { font-family: var(--display); font-size: clamp(29px, 3vw, 40px); letter-spacing: -0.05em; }
.metric-row span { color: rgba(255, 255, 255, 0.55); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; }

.trace-list {
  padding: 10px 18px;
}

.trace-list div {
  display: grid;
  align-items: center;
  gap: 8px;
  grid-template-columns: 48px 0.8fr 1.4fr 32px;
  min-height: 44px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
  font-size: 10px;
}

.trace-list span { color: rgba(255, 255, 255, 0.42); }
.trace-list strong { color: var(--yellow); }
.trace-list em { color: rgba(255, 255, 255, 0.78); font-style: normal; }
.trace-list i { color: #9be0aa; font-style: normal; text-align: right; }

.panel-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.46);
}

.principles {
  padding-block: 135px 120px;
}

.compact-heading {
  display: block;
}

.compact-heading .eyebrow {
  margin-bottom: 22px;
}

.compact-heading h2 {
  max-width: 780px;
}

.principle-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 70px;
  border-block: 1px solid var(--line);
}

.principle-grid article {
  padding: 39px 35px 42px;
  border-right: 1px solid var(--line);
}

.principle-grid article:first-child { padding-left: 0; }
.principle-grid article:last-child { padding-right: 0; border-right: 0; }

.principle-symbol {
  display: block;
  margin-bottom: 24px;
  color: var(--coral);
  font-family: var(--display);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.principle-grid p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.final-cta {
  position: relative;
  display: grid;
  align-items: center;
  gap: 35px;
  grid-template-columns: 1fr auto;
  margin-bottom: 115px;
  padding: clamp(42px, 5vw, 68px);
  border: 3px solid var(--ink);
  background: var(--yellow);
  box-shadow: 10px 10px 0 var(--ink);
}

.final-cta h2 {
  max-width: 730px;
  font-size: clamp(38px, 4.5vw, 59px);
}

.cta-sticker {
  position: absolute;
  top: -24px;
  right: 7%;
  padding: 8px 15px;
  transform: rotate(4deg);
  border: 2px solid var(--ink);
  background: var(--coral);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.site-footer {
  border-top: 2px solid var(--ink);
  background: var(--paper-bright);
}

.footer-grid {
  display: grid;
  min-height: 145px;
  align-items: center;
  gap: 30px;
  grid-template-columns: 1fr 1.6fr 1fr;
}

.brand-footer {
  justify-self: start;
}

.footer-grid > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  text-align: center;
}

.footer-grid nav {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  font-size: 13px;
  font-weight: 800;
}

/* Setup */
.setup-page::after {
  position: fixed;
  top: 86px;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: 34%;
  border-left: 1px solid var(--line);
  background: rgba(255, 253, 245, 0.48);
  content: "";
}

.setup-main {
  padding-block: 78px 125px;
}

.setup-intro {
  display: grid;
  align-items: end;
  gap: 20px 60px;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.setup-intro .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.setup-intro h1 {
  font-size: clamp(48px, 6vw, 76px);
}

.setup-intro > p:last-child {
  max-width: 470px;
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 17px;
}

.local-notice {
  display: grid;
  align-items: center;
  gap: 16px;
  grid-template-columns: auto 1fr auto;
  margin: 55px 0 58px;
  padding: 17px 20px;
  border: 2px solid var(--ink);
  background: var(--mint);
  box-shadow: 4px 4px 0 var(--ink);
}

.local-notice svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
}

.local-notice div {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.local-notice strong {
  font-family: var(--display);
  font-size: 14px;
}

.local-notice div span {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 12px;
}

.local-badge {
  padding: 5px 8px;
  border: 1.5px solid var(--ink);
  background: var(--paper-bright);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.setup-grid {
  display: grid;
  align-items: start;
  gap: clamp(45px, 8vw, 105px);
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.76fr);
}

.setup-form {
  min-width: 0;
}

.form-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 34px;
}

.form-section-heading > span {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--coral);
  box-shadow: 2px 2px 0 var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
}

.form-section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.form-section-heading p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.field-group {
  margin-bottom: 29px;
}

.field-group-short {
  max-width: 420px;
}

.field-group label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 900;
}

.field-group input,
.field-group textarea,
.field-group select {
  display: block;
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--paper-bright);
  box-shadow: 3px 3px 0 rgba(17, 28, 49, 0.12);
  appearance: none;
  transition: box-shadow 150ms ease, border-color 150ms ease;
}

.field-group input,
.field-group select {
  min-height: 55px;
  padding: 13px 15px;
}

.field-group textarea {
  min-height: 155px;
  padding: 14px 15px;
  line-height: 1.55;
  resize: vertical;
}

.field-group select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 19px) 24px, calc(100% - 13px) 24px;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
}

.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus {
  border-color: var(--blue);
  box-shadow: 4px 4px 0 var(--blue);
  outline: none;
}

.field-group input[aria-invalid="true"],
.field-group textarea[aria-invalid="true"],
.field-group select[aria-invalid="true"] {
  border-color: var(--coral-dark);
  box-shadow: 3px 3px 0 rgba(216, 68, 49, 0.35);
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: #81848a;
  opacity: 1;
}

.field-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 8px;
  color: #626a78;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.35;
}

.field-meta span:last-child {
  flex: 0 0 auto;
}

.field-error {
  display: block;
  min-height: 18px;
  margin-top: 4px;
  color: #bd2f22;
  font-size: 12px;
  font-weight: 750;
}

.form-divider {
  height: 1px;
  margin: 48px 0;
  background: var(--line);
}

.form-divider::after {
  display: block;
  width: 62px;
  height: 5px;
  transform: translateY(-2px);
  background: var(--blue);
  content: "";
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.form-actions .button {
  cursor: pointer;
}

.button-link {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.button-link:hover {
  color: var(--coral-dark);
  border-color: var(--coral-dark);
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
}

.brief-preview {
  position: sticky;
  top: 30px;
  overflow: hidden;
  transform: rotate(0.35deg);
  border: 2px solid var(--ink);
  background: var(--ink);
  box-shadow: 8px 8px 0 var(--coral);
  color: var(--paper-bright);
}

.preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 21px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.23);
}

.preview-heading > div > span {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.preview-heading h2 {
  margin: 2px 0 0;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.03em;
}

.preview-light {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.preview-light i {
  width: 8px;
  height: 8px;
  border: 1px solid var(--paper-bright);
  border-radius: 50%;
  background: #54be72;
}

.brief-preview pre {
  min-height: 395px;
  margin: 0;
  padding: 27px 23px;
  overflow: auto;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 25px;
  color: #f4f0df;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}

.preview-footnote {
  display: flex;
  gap: 11px;
  padding: 18px 21px;
  border-top: 1px solid rgba(255, 255, 255, 0.23);
  background: #17243c;
  color: rgba(255, 255, 255, 0.6);
}

.preview-footnote > span {
  color: var(--coral);
  font-size: 20px;
  line-height: 1;
}

.preview-footnote p {
  margin: 0;
  font-size: 10px;
  line-height: 1.55;
}

.preview-footnote strong {
  color: var(--paper-bright);
}

.setup-footer .footer-grid {
  grid-template-columns: 1fr 1.4fr 1fr;
}

/* 404 */
.not-found-main {
  display: grid;
  min-height: calc(100vh - 233px);
  place-items: center;
  padding-block: 70px;
}

.not-found-card {
  width: min(680px, 100%);
  padding: clamp(35px, 7vw, 70px);
  transform: rotate(-0.5deg);
  border: 3px solid var(--ink);
  background: var(--yellow);
  box-shadow: 10px 10px 0 var(--ink);
  text-align: center;
}

.not-found-code {
  display: inline-block;
  margin-bottom: 20px;
  padding: 5px 10px;
  transform: rotate(3deg);
  border: 2px solid var(--ink);
  background: var(--coral);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
}

.not-found-card h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(43px, 7vw, 75px);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.not-found-card p {
  max-width: 470px;
  margin: 24px auto 30px;
  color: var(--ink-soft);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 65px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-art {
    width: min(620px, 100%);
    min-height: 520px;
    margin-inline: auto;
  }

  .step-grid {
    grid-template-columns: 1fr 1fr;
  }

  .step-card:nth-child(2) {
    transform: none;
  }

  .step-card:nth-child(3) {
    grid-column: 1 / -1;
    min-height: 350px;
  }

  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .evidence-copy {
    max-width: 720px;
  }

  .evidence-panel {
    width: min(690px, 100%);
  }

  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-cta .button {
    justify-self: start;
  }

  .setup-intro {
    display: block;
  }

  .setup-intro .eyebrow {
    margin-bottom: 22px;
  }

  .setup-intro > p:last-child {
    margin-top: 27px;
  }

  .setup-grid {
    grid-template-columns: 1fr;
  }

  .brief-preview {
    position: relative;
    top: auto;
    width: min(690px, 100%);
  }

  .setup-page::after {
    display: none;
  }
}

@media (max-width: 700px) {
  :root {
    --shell: min(100% - 28px, 1180px);
  }

  html {
    scroll-padding-top: 70px;
  }

  .site-header {
    min-height: 72px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 33px;
    height: 33px;
  }

  .primary-nav {
    gap: 14px;
  }

  .primary-nav > a:not(.button) {
    display: none;
  }

  .setup-page .primary-nav > a:not(.button) {
    display: inline-flex;
    align-items: center;
  }

  .hero {
    min-height: 0;
    gap: 55px;
    padding-block: 54px 75px;
  }

  .hero h1 {
    font-size: clamp(45px, 13vw, 61px);
  }

  .hero-lede {
    margin-top: 30px;
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 17px;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .proof-list {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-art {
    min-height: 405px;
  }

  .board-paper {
    inset: 16px 8px 18px 8px;
    box-shadow: 7px 8px 0 var(--ink), 13px 15px 0 rgba(241, 91, 69, 0.45);
  }

  .node-idea {
    top: 70px;
    left: 25px;
    width: 155px;
    min-height: 120px;
    padding: 16px;
  }

  .node-idea strong { font-size: 16px; }
  .node-rule { top: 98px; right: 26px; width: 96px; height: 96px; }
  .node-rule strong { font-size: 17px; }
  .node-proof { right: 34px; bottom: 46px; width: 178px; min-height: 105px; padding: 14px 17px; }
  .node-proof strong { font-size: 20px; }
  .route-line-one { top: 193px; left: 153px; width: 90px; }
  .route-line-two { right: 116px; bottom: 149px; width: 75px; }
  .pawn-coral { top: 225px; left: 67px; }
  .pawn-blue { right: 29px; bottom: 160px; }
  .pencil-note { bottom: 28px; left: 18px; font-size: 10px; }
  .chip-one { right: -2px; bottom: 24px; }
  .chip-two { left: 0; }

  .loop-section,
  .principles {
    padding-block: 92px;
  }

  .section-heading {
    display: block;
  }

  .section-heading .eyebrow {
    margin-bottom: 22px;
  }

  .section-heading h2,
  .evidence-copy h2,
  .final-cta h2 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .section-heading > p:last-child {
    margin-top: 25px;
  }

  .step-grid {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .step-card,
  .step-card:nth-child(3) {
    min-height: 365px;
    grid-column: auto;
  }

  .evidence-section {
    padding-block: 90px;
  }

  .evidence-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .metric-row div {
    min-height: 92px;
    padding: 12px;
  }

  .trace-list div {
    grid-template-columns: 40px 0.7fr 1.2fr 28px;
    font-size: 8px;
  }

  .panel-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .principle-grid article,
  .principle-grid article:first-child,
  .principle-grid article:last-child {
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle-grid article:last-child {
    border-bottom: 0;
  }

  .principle-symbol {
    margin-bottom: 16px;
  }

  .final-cta {
    margin-bottom: 85px;
    padding: 42px 25px;
    box-shadow: 7px 7px 0 var(--ink);
  }

  .final-cta .button {
    width: 100%;
  }

  .footer-grid,
  .setup-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 17px;
    padding-block: 32px;
  }

  .footer-grid > p {
    text-align: left;
  }

  .footer-grid nav {
    justify-content: flex-start;
  }

  .setup-main {
    padding-block: 55px 90px;
  }

  .setup-intro h1 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .local-notice {
    align-items: start;
    grid-template-columns: auto 1fr;
    margin: 42px 0 52px;
  }

  .local-badge {
    grid-column: 2;
    justify-self: start;
  }

  .field-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
  }

  .button-link {
    align-self: flex-start;
  }

  .brief-preview pre {
    min-height: 340px;
    padding-inline: 17px;
    font-size: 10px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
