:root {
  --ink: #15110c;
  --muted: #685f51;
  --paper: #f2ead6;
  --paper-deep: #dfcfaa;
  --charcoal: #1d221b;
  --acid: #c8ff4d;
  --rust: #d65d2e;
  --blue: #4f8cff;
  --card: rgba(255, 248, 226, 0.82);
  --line: rgba(21, 17, 12, 0.16);
  --shadow: 0 24px 80px rgba(30, 26, 15, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(200, 255, 77, 0.4), transparent 28rem),
    radial-gradient(circle at 92% 14%, rgba(214, 93, 46, 0.28), transparent 30rem),
    linear-gradient(120deg, #f6edd8 0%, #e9d8b5 44%, #cbbf98 100%);
  font-family: "Newsreader", Georgia, serif;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(21, 17, 12, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 17, 12, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

button,
input {
  font: inherit;
}

.grain,
.scanline {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.grain {
  z-index: 20;
  opacity: 0.13;
  background-image:
    repeating-radial-gradient(circle at 22% 33%, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(110deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.14) 1px, transparent 1px, transparent 7px);
  mix-blend-mode: multiply;
}

.scanline {
  z-index: 19;
  opacity: 0.12;
  background: linear-gradient(to bottom, transparent 0 49%, rgba(21, 17, 12, 0.25) 50%, transparent 51% 100%);
  background-size: 100% 6px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 18px auto 0;
  width: min(1180px, calc(100% - 32px));
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(246, 237, 216, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(50, 42, 20, 0.12);
}

.brand,
.nav-links,
.nav-cta,
.primary-button,
.secondary-button,
.proof-strip,
.section-kicker,
.machine-top,
.terminal-card,
.receipt-wall,
.avoid-list,
.site-footer {
  font-family: "IBM Plex Mono", monospace;
}

.thesis-hero {
  min-height: 52vh;
  border-bottom: 1px solid var(--line);
}

.thesis-article {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: start;
  padding: 62px 0 90px;
}

.thesis-sidebar {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 248, 226, 0.58);
  box-shadow: 0 16px 50px rgba(51, 43, 22, 0.08);
  font-family: "IBM Plex Mono", monospace;
}

.thesis-sidebar span {
  margin-bottom: 8px;
  color: var(--rust);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.thesis-sidebar a {
  padding: 9px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.thesis-sidebar a:hover {
  color: var(--ink);
  background: var(--acid);
}

.thesis-content {
  display: grid;
  gap: 18px;
}

.thesis-section {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 248, 226, 0.66);
  box-shadow: 0 16px 50px rgba(51, 43, 22, 0.08);
}

.thesis-section h2 {
  max-width: 920px;
  font-size: clamp(2.15rem, 4vw, 4.5rem);
}

.thesis-section p,
.thesis-section li {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.55vw, 1.32rem);
  line-height: 1.55;
}

.thesis-section blockquote {
  margin: 26px 0 0;
  padding: 24px;
  border: 1px solid var(--ink);
  border-radius: 24px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 8px 8px 0 var(--acid);
  font-size: clamp(1.35rem, 2.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.05;
}

.thesis-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.thesis-card-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.thesis-card-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(242, 234, 214, 0.64);
}

.thesis-card-grid article:nth-child(2n) {
  background: rgba(214, 93, 46, 0.1);
}

.thesis-card-grid article span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--rust);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 800;
}

.thesis-card-grid article h3 {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.thesis-list,
.thesis-steps {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.thesis-list li,
.thesis-steps li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 248, 226, 0.72);
}

.thesis-list li::before {
  content: ">";
  margin-right: 10px;
  color: var(--rust);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 800;
}

.thesis-steps {
  counter-reset: thesis-step;
}

.thesis-steps li {
  counter-increment: thesis-step;
}

.thesis-steps li::before {
  content: counter(thesis-step, decimal-leading-zero);
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-right: 12px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.compact-steps li {
  display: flex;
  align-items: center;
}

.thesis-receipts {
  margin-top: 24px;
}

.positioning-stack {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.positioning-stack blockquote {
  margin: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
  box-shadow: inset -5px -5px 0 rgba(200, 255, 77, 0.35);
}

.nav-links {
  display: flex;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links a,
.nav-cta {
  padding: 12px 14px;
  border-radius: 999px;
}

.nav-links a:hover {
  background: rgba(21, 17, 12, 0.08);
}

.nav-cta {
  color: var(--paper);
  background: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.thesis-cta {
  display: grid;
  gap: 2px;
  padding: 10px 16px;
  min-width: 154px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--acid);
  box-shadow: 4px 4px 0 var(--ink);
  line-height: 1;
}

.thesis-cta span,
.thesis-link span {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  opacity: 0.68;
}

.thesis-cta strong,
.thesis-link b {
  font-size: 0.74rem;
  letter-spacing: 0.05em;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 44px;
  min-height: calc(100vh - 78px);
  align-items: center;
  padding: 76px 0 58px;
}

.hero-copy,
.section-heading,
.manifest-section > div,
.avoid-section > div {
  animation: rise 0.8s ease both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Archivo Black", Impact, sans-serif;
  letter-spacing: -0.07em;
  line-height: 0.91;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.6rem, 5.9vw, 5.95rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 5.5vw, 6.2rem);
}

h3 {
  font-size: 1.5rem;
  line-height: 1.02;
}

.hero-subtitle,
.section-heading p,
.manifest-section p {
  color: var(--muted);
  font-size: clamp(1.12rem, 1.8vw, 1.5rem);
  line-height: 1.48;
}

.hero-subtitle {
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 22px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.thesis-link {
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
  min-width: 184px;
  line-height: 1;
}

.primary-button {
  color: var(--paper);
  background: var(--ink);
  box-shadow: 6px 6px 0 var(--acid);
}

.secondary-button {
  background: rgba(255, 248, 226, 0.58);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--rust);
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-strip span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 248, 226, 0.46);
}

.hero-machine {
  position: relative;
  padding: 12px;
  border: 1px solid var(--ink);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(29, 34, 27, 0.96), rgba(49, 55, 39, 0.92));
  box-shadow: var(--shadow);
  transform: rotate(1deg);
  animation: floatIn 1s 0.12s ease both;
}

.hero-machine::before {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -1;
  border: 1px dashed rgba(21, 17, 12, 0.3);
  border-radius: 42px;
  transform: rotate(-3deg);
}

.machine-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(242, 234, 214, 0.8);
  padding: 10px 12px 18px;
  font-size: 0.72rem;
}

.machine-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rust);
}

.machine-top span:nth-child(2) {
  background: #f1c54a;
}

.machine-top span:nth-child(3) {
  background: var(--acid);
}

.machine-top strong {
  margin-left: auto;
  font-weight: 600;
}

.machine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.market-card,
.terminal-card,
.phone-card,
.agent-card {
  min-height: 190px;
  border: 1px solid rgba(242, 234, 214, 0.2);
  border-radius: 24px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.market-card {
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(200, 255, 77, 0.24), transparent 58%),
    rgba(255, 255, 255, 0.06);
}

.market-card p,
.agent-card p,
.phone-card .app-chip,
.tiny-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.market-card h3 {
  margin: 36px 0 16px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 2.2rem;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.market-card span {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--acid);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
}

.terminal-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  color: var(--acid);
  background: #0f120e;
}

.terminal-card p {
  color: var(--paper);
  font-weight: 700;
}

.terminal-card code {
  color: rgba(200, 255, 77, 0.86);
}

.terminal-card code::before {
  content: "> ";
  color: var(--rust);
}

.phone-card {
  position: relative;
  grid-row: span 2;
  padding: 34px 18px 18px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: inset 0 0 0 10px rgba(21, 17, 12, 0.08);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 78px;
  height: 18px;
  border-radius: 999px;
  background: var(--ink);
  transform: translateX(-50%);
}

.phone-card .app-chip {
  display: inline-flex;
  margin: 20px 0 34px;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
}

.phone-card h3 {
  margin-bottom: 44px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 3rem;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.phone-card button,
.workout-screen button {
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 14px;
  color: var(--ink);
  background: var(--acid);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 800;
  text-transform: uppercase;
}

.agent-card {
  padding: 18px;
}

.agent-card p {
  color: rgba(242, 234, 214, 0.7);
}

.switch-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(242, 234, 214, 0.16);
  border-radius: 16px;
  color: rgba(242, 234, 214, 0.76);
}

.switch-row.active {
  color: var(--ink);
  background: var(--acid);
}

.switch-row span,
.switch-row b {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
}

.thesis-band {
  margin: 22px 0 110px;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--ink);
  border-radius: 34px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.thesis-band p {
  margin: 0;
  color: var(--paper);
  font-size: clamp(1.8rem, 4vw, 4.6rem);
  font-weight: 800;
  line-height: 0.98;
}

section {
  scroll-margin-top: 110px;
}

.demo-section,
.control-section,
.mvp-section,
.manifest-section,
.trust-section,
.avoid-section,
.closing-section,
.page-links,
.timeline-section,
.page-hero,
.vision-preview {
  padding: 78px 0;
}

.page-hero {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 38px;
}

.section-heading.compact {
  max-width: 760px;
}

.demo-board {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.72fr);
  gap: 24px;
  align-items: stretch;
}

.demo-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-steps li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 248, 226, 0.56);
  box-shadow: 0 12px 28px rgba(52, 45, 29, 0.08);
  font-size: 1.28rem;
}

.demo-steps li span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 800;
}

.demo-phone {
  position: sticky;
  top: 110px;
  align-self: start;
}

.phone-shell {
  padding: 16px;
  border: 2px solid var(--ink);
  border-radius: 38px;
  background: #11150f;
  box-shadow: var(--shadow);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 6px 8px 16px;
  color: var(--paper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
}

.workout-screen {
  padding: 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 8%, rgba(200, 255, 77, 0.52), transparent 30%),
    var(--paper);
}

.tiny-label {
  color: var(--rust);
}

.workout-screen h3 {
  margin: 12px 0 28px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 3.2rem;
  letter-spacing: -0.08em;
  line-height: 0.86;
  text-transform: uppercase;
}

.set-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 1.12rem;
}

.set-row b {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
}

.workout-screen button {
  margin-top: 24px;
}

.agent-bubble {
  position: relative;
  margin: -16px auto 0;
  width: calc(100% - 24px);
  padding: 16px;
  border: 1px solid var(--ink);
  border-radius: 20px;
  background: var(--acid);
  box-shadow: 8px 8px 0 var(--ink);
  font-size: 1.05rem;
}

code {
  font-family: "IBM Plex Mono", monospace;
}

.control-grid,
.architecture,
.link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.control-grid article,
.architecture article,
.link-card,
.timeline article,
.choice-card,
.code-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 16px 50px rgba(51, 43, 22, 0.09);
}

.control-grid article {
  min-height: 280px;
  padding: 24px;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 700ms ease, opacity 700ms ease;
}

.control-grid article.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.control-grid article:nth-child(2),
.architecture article:nth-child(2n) {
  background: rgba(214, 93, 46, 0.11);
}

.control-grid article:nth-child(3) {
  background: rgba(200, 255, 77, 0.23);
}

.control-grid article span,
.architecture article strong {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--rust);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
}

.control-grid article h3,
.architecture article h3,
.link-card h3,
.timeline article h3,
.choice-card h3 {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(1.8rem, 2.4vw, 2.7rem);
  letter-spacing: -0.07em;
  line-height: 0.92;
  text-transform: uppercase;
}

.control-grid article p,
.architecture article p,
.link-card p,
.timeline article p,
.choice-card span {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.4;
}

.link-card {
  min-height: 290px;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.link-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 var(--ink), var(--shadow);
}

.link-card span,
.timeline article span {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--rust);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.featured-link p,
.featured-link span {
  color: rgba(242, 234, 214, 0.74);
}

.choice-card {
  display: grid;
  grid-template-columns: 0.5fr 1fr 0.8fr;
  gap: 22px;
  align-items: center;
  margin-top: 16px;
  padding: 26px;
  border-color: var(--ink);
  background: var(--ink);
}

.choice-card p,
.choice-card h3,
.choice-card span {
  margin: 0;
  color: var(--paper);
}

.choice-card p {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.architecture {
  grid-template-columns: repeat(3, 1fr);
}

.architecture article {
  min-height: 245px;
  padding: 24px;
}

.manifest-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 28px;
  align-items: center;
}

.code-card {
  margin: 0;
  padding: clamp(22px, 4vw, 38px);
  overflow: auto;
  color: var(--acid);
  background: #10130f;
  font-size: clamp(0.8rem, 1.3vw, 1rem);
  line-height: 1.55;
  box-shadow: var(--shadow);
}

.receipt-wall,
.avoid-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.receipt-wall span,
.avoid-list span {
  padding: 16px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 248, 226, 0.6);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.receipt-wall span:nth-child(3n + 1) {
  background: var(--acid);
}

.receipt-wall span:nth-child(3n + 2) {
  color: var(--paper);
  background: var(--ink);
}

.avoid-section {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 28px;
  align-items: center;
  border-block: 1px solid var(--line);
}

.avoid-list span {
  background: rgba(214, 93, 46, 0.13);
}

.vision-preview {
  display: grid;
  grid-template-columns: 0.36fr 1fr;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.vision-preview.wide {
  grid-template-columns: 0.28fr 1fr;
  border-block: 1px solid var(--line);
}

.vision-preview p:not(.section-kicker) {
  max-width: 900px;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
  line-height: 1.48;
}

.vision-stamp {
  display: grid;
  width: min(100%, 250px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--paper);
  background:
    radial-gradient(circle at 34% 30%, rgba(200, 255, 77, 0.48), transparent 34%),
    var(--ink);
  box-shadow: 10px 10px 0 var(--rust);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(1.8rem, 4vw, 4.2rem);
  letter-spacing: -0.07em;
  line-height: 0.88;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-8deg);
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  display: grid;
  grid-template-columns: 160px 0.7fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
}

.timeline article span {
  margin: 0;
}

.timeline article h3,
.timeline article p {
  margin: 0;
}

.closing-section {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.closing-section h2 {
  max-width: 1050px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(24px) rotate(4deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(1deg);
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .demo-board,
  .manifest-section,
  .avoid-section,
  .vision-preview,
  .vision-preview.wide {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-machine {
    transform: none;
  }

  .control-grid,
  .architecture,
  .link-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .choice-card {
    grid-template-columns: 1fr;
  }

  .demo-phone {
    position: relative;
    top: auto;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }

  .thesis-article {
    grid-template-columns: 1fr;
  }

  .thesis-sidebar {
    position: relative;
    top: auto;
  }

  .thesis-card-grid,
  .thesis-card-grid.two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    border-radius: 24px;
  }

  .nav-cta {
    display: none;
  }

  main,
  .site-header,
  .site-footer {
    width: min(100% - 20px, 1180px);
  }

  .hero {
    padding-top: 52px;
  }

  h1 {
    font-size: clamp(3rem, 13.5vw, 3.9rem);
  }

  h2 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .machine-grid,
  .control-grid,
  .architecture,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .phone-card {
    grid-row: auto;
  }

  .demo-steps li {
    grid-template-columns: 42px 1fr;
    padding: 14px;
    font-size: 1.08rem;
  }

  .demo-steps li span {
    width: 38px;
    height: 38px;
  }

  .thesis-band {
    margin-bottom: 58px;
  }

  .demo-section,
  .control-section,
  .mvp-section,
  .manifest-section,
  .trust-section,
  .avoid-section,
  .closing-section,
  .page-links,
  .timeline-section,
  .page-hero,
  .vision-preview {
    padding: 52px 0;
  }

  .page-hero {
    min-height: auto;
  }

  .vision-stamp {
    width: 160px;
  }

  .site-footer {
    flex-direction: column;
  }
}

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