@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --cream: #faf7f0;
  --paper: #fffdf8;
  --ink: #191919;
  --body: #4e4a44;
  --muted: #8b857c;
  --line: #d8d1c5;
  --blue: #2743d6;
  --blue-dark: #1b2f9e;
  --blue-tint: #dde3f9;
  --red: #e2422c;
  --red-tint: #fbe3de;
  --yellow: #f5b301;
  --yellow-tint: #fdefc4;
  --teal: #159a8c;
  --teal-tint: #e8f2ef;
  --display: 'Outfit', 'Avenir Next', 'Helvetica Neue', sans-serif;
  --text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 4px 4px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --ease: cubic-bezier(.2, 0, 0, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, video { max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, figure, blockquote { margin-top: 0; }

.topbar {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 68px;
  padding: 0 3.5vw;
  display: flex;
  align-items: center;
  gap: 32px;
  background: rgba(250, 247, 240, .94);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font: 700 19px/1 var(--display);
}
.brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--blue);
}
.brand-mark i { position: absolute; display: block; }
.brand-mark i:nth-child(1) { width: 16px; height: 16px; background: var(--red); left: 0; top: 0; }
.brand-mark i:nth-child(2) { width: 16px; height: 16px; background: var(--yellow); right: 0; top: 0; border-bottom-left-radius: 100%; }
.brand-mark i:nth-child(3) { width: 32px; height: 2px; background: var(--cream); left: 0; top: 16px; }
.topbar nav { display: flex; gap: 24px; margin-left: auto; }
.topbar nav a {
  position: relative;
  text-decoration: none;
  color: var(--body);
  font: 700 10px/1 var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 9px 0;
}
.topbar nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 3px;
  background: var(--blue);
  transition: right .25s var(--ease);
}
.topbar nav a:hover::after, .topbar nav a.active::after { right: 0; }
.top-cta {
  padding: 10px 14px;
  border: 2px solid var(--ink);
  background: var(--blue);
  color: white;
  text-decoration: none;
  font: 700 11px/1 var(--display);
  box-shadow: 3px 3px 0 var(--ink);
}
.progress { position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; pointer-events: none; }
.progress i { display: block; width: 0; height: 100%; background: var(--yellow); }

.chapter {
  position: relative;
  min-height: 100vh;
  padding: 132px 5vw 110px;
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}
.chapter-inner { width: min(1480px, 100%); margin: 0 auto; position: relative; z-index: 2; }
.chapter-cream { background: var(--cream); }
.chapter-blue-tint { background: var(--blue-tint); }
.chapter-yellow { background: var(--yellow-tint); }
.chapter-ink { background: var(--ink); color: var(--cream); }

.eyebrow, .section-heading > p, .mini-label {
  font: 700 11px/1.2 var(--display);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow { margin-bottom: 52px; }
.section-heading { margin-bottom: 64px; }
.section-heading > p { color: var(--blue); margin-bottom: 22px; }
.chapter-ink .section-heading > p { color: var(--yellow); }
h1, h2, h3 { font-family: var(--display); }
h1 {
  max-width: 1000px;
  font-size: clamp(62px, 7.4vw, 124px);
  line-height: .97;
  letter-spacing: -.055em;
  font-weight: 700;
  text-wrap: balance;
  margin-bottom: 36px;
}
h2 {
  max-width: 1160px;
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 1.01;
  letter-spacing: -.045em;
  font-weight: 650;
  text-wrap: balance;
  margin-bottom: 0;
}
h3 { font-weight: 650; letter-spacing: -.025em; }
.section-intro {
  max-width: 810px;
  margin: -30px 0 60px;
  font: 500 clamp(21px, 2.2vw, 34px)/1.35 var(--display);
  color: var(--body);
}
.chapter-ink .section-intro { color: #d8d3ca; }

.hero {
  padding-top: 120px;
  background: var(--cream);
}
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5vw; align-items: center; }
.hero-copy { padding-bottom: 30px; }
.hero-lede {
  max-width: 720px;
  color: var(--body);
  font-size: clamp(18px, 1.5vw, 25px);
  line-height: 1.48;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 20px;
  border: 2px solid var(--ink);
  text-decoration: none;
  font: 700 13px/1 var(--display);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.button.primary { color: white; background: var(--blue); box-shadow: var(--shadow-sm); }
.button.secondary { background: transparent; }
.button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.browser-frame, .screen-frame, .demo-frame {
  margin: 0;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}
.browser-frame { position: relative; transform: rotate(1.1deg); }
.browser-bar {
  height: 38px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.browser-bar span:nth-child(2) { background: var(--yellow); }
.browser-bar span:nth-child(3) { background: var(--teal); }
.browser-bar small { margin-left: auto; color: var(--muted); font-size: 9px; }
.browser-frame img { display: block; width: 100%; }
.hero-shape { position: absolute; z-index: 0; border: 2px solid var(--ink); }
.shape-blue { width: 300px; height: 300px; border-radius: 50%; background: var(--blue); right: -120px; top: 18%; }
.shape-red { width: 120px; height: 260px; background: var(--red); left: -45px; bottom: -70px; transform: rotate(33deg); }
.scope-strip {
  margin-top: 90px;
  display: grid;
  grid-template-columns: 1.5fr .7fr .7fr 1.2fr;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.scope-strip div { min-height: 112px; padding: 22px; border-right: 2px solid var(--ink); display: flex; flex-direction: column; justify-content: space-between; }
.scope-strip div:last-child { border-right: 0; }
.scope-strip small { color: var(--blue); font: 700 9px/1 var(--display); letter-spacing: .16em; }
.scope-strip b { font: 600 18px/1.25 var(--display); }

.origin-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 6vw; align-items: start; }
.origin-sequence { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: center; }
.sequence-card {
  min-height: 280px;
  padding: 24px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.sequence-card.blue { background: var(--blue-tint); }
.sequence-card.yellow { background: var(--yellow-tint); }
.sequence-card.missing { border-style: dashed; background: rgba(255,255,255,.4); transform: rotate(1deg); }
.sequence-card span { font: 700 9px/1 var(--display); letter-spacing: .15em; color: var(--blue); }
.sequence-card strong { margin: auto 0 15px; font: 650 29px/1 var(--display); }
.sequence-card p { margin: 0; color: var(--body); font-size: 13px; line-height: 1.45; }
.sequence-arrow { font: 700 25px/1 var(--display); }
.statement { font: 600 clamp(30px, 3vw, 52px)/1.1 var(--display); }
.origin-copy > p:not(.statement) { color: var(--body); font-size: 17px; }
.decision-note { margin-top: 44px; padding: 24px; border: 2px solid var(--ink); background: var(--red); color: white; box-shadow: var(--shadow-sm); transform: rotate(-1deg); }
.decision-note small, .decision-note b { display: block; }
.decision-note small { font: 700 9px/1 var(--display); letter-spacing: .15em; margin-bottom: 20px; }
.decision-note b { font: 600 23px/1.25 var(--display); }
.screen-frame { margin-top: 76px; }
.screen-frame img { display: block; width: 100%; }
figcaption { padding: 12px 2px 0; color: var(--body); font-size: 12px; line-height: 1.5; }
.chapter-ink figcaption { color: #d8d3ca; }

.integrated-illustration { width: min(1640px, calc(100% + 9vw)); margin: 0 -4.5vw 30px; }
.integrated-illustration img { display: block; width: 100%; }
.integrated-illustration figcaption { max-width: 1480px; margin: -18px auto 0; padding: 0 4.5vw; }
.visual-proof { margin-top: 54px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 5vw; align-items: center; }
.palette-panel { padding: 38px; border: 2px solid var(--ink); background: var(--paper); box-shadow: var(--shadow-lg); }
.palette-panel h3 { font-size: clamp(31px, 3vw, 48px); line-height: 1.08; }
.mini-label { color: var(--blue); }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 36px 0; }
.swatches span { position: relative; aspect-ratio: 1; background: var(--swatch); border: 2px solid var(--ink); }
.swatches b { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); padding: 3px 5px; background: var(--cream); border: 1px solid var(--ink); font: 700 7px/1 var(--display); }
.palette-panel ul { margin: 0; padding: 0; list-style: none; }
.palette-panel li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--body); font-size: 14px; }
.screen-frame.compact { margin-top: 0; transform: rotate(.7deg); }

.four-bets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bet-card {
  min-height: 410px;
  padding: 26px;
  border: 2px solid var(--cream);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 7px 7px 0 var(--blue);
  display: flex;
  flex-direction: column;
}
.bet-card:nth-child(2) { box-shadow: 7px 7px 0 var(--red); }
.bet-card:nth-child(3) { box-shadow: 7px 7px 0 var(--yellow); }
.bet-card:nth-child(4) { box-shadow: 7px 7px 0 var(--teal); }
.bet-card > span { font: 700 10px/1 var(--display); letter-spacing: .14em; }
.bet-icon { margin: 46px 0 auto; font: 700 76px/1 var(--display); color: var(--blue); font-style: normal; }
.bet-card:nth-child(2) .bet-icon { color: var(--red); }
.bet-card:nth-child(3) .bet-icon { color: #9a7100; }
.bet-card:nth-child(4) .bet-icon { color: var(--teal); }
.bet-card h3 { font-size: 28px; line-height: 1.05; margin-bottom: 15px; }
.bet-card p { margin: 0; color: var(--body); font-size: 14px; }
.breadth-line { margin-top: 70px; padding: 24px 0; border-top: 2px solid var(--cream); border-bottom: 2px solid var(--cream); display: flex; justify-content: space-between; gap: 30px; }
.breadth-line b { color: var(--yellow); font: 700 13px/1.3 var(--display); letter-spacing: .13em; text-transform: uppercase; }
.breadth-line span { font: 500 clamp(20px, 2.2vw, 32px)/1.2 var(--display); }

.cut-art { margin-top: -34px; }
.cut-logic { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 18px; margin-top: 44px; }
.logic-card { min-height: 310px; padding: 30px; border: 2px solid var(--ink); background: var(--paper); box-shadow: var(--shadow-sm); }
.logic-card.removed { background: var(--red-tint); }
.logic-card.kept { background: var(--blue); color: white; }
.logic-card small { font: 700 9px/1 var(--display); letter-spacing: .14em; }
.logic-card h3 { margin: 70px 0 18px; font-size: 34px; line-height: 1.05; }
.logic-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--body); }
.logic-card.kept p { color: #f5f3ee; }

.two-moments { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.moment-card { position: relative; min-height: 440px; padding: 36px; border: 2px solid var(--ink); background: var(--blue-tint); box-shadow: var(--shadow-lg); overflow: hidden; }
.moment-card:nth-child(2) { background: var(--yellow-tint); }
.moment-card > span { font: 700 10px/1 var(--display); letter-spacing: .16em; color: var(--blue); }
.moment-number { position: absolute; right: -22px; top: -42px; font: 800 190px/1 var(--display); color: rgba(39,67,214,.12); }
.moment-card:nth-child(2) .moment-number { color: rgba(245,179,1,.24); }
.moment-card h3 { max-width: 520px; margin: 90px 0 14px; font-size: clamp(38px, 4vw, 59px); line-height: 1; }
.moment-card > p { max-width: 560px; color: var(--body); }
.input-output { margin-top: 45px; display: grid; grid-template-columns: auto 1fr auto auto 1fr; align-items: center; gap: 10px; border-top: 2px solid var(--ink); padding-top: 18px; }
.input-output small { font: 700 8px/1 var(--display); letter-spacing: .13em; color: var(--muted); }
.input-output b { font: 600 13px/1.25 var(--display); }
.input-output i { font-style: normal; }
.human-tools { margin: 72px 0 36px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 24px 0; }
.human-tools p { margin: 0; font: 600 23px/1.2 var(--display); }
.human-tools > div { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.human-tools span { padding: 8px 12px; border: 2px solid var(--ink); background: var(--paper); font: 700 10px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.screens-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.screens-pair .screen-frame { margin-top: 0; overflow: hidden; }
.screens-pair img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.screens-pair figcaption { padding: 12px 14px; }

.loop-art { margin-top: -20px; }
.loop-principle { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 40px auto 0; padding: 20px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.loop-principle span, .loop-principle b { font: 700 11px/1 var(--display); letter-spacing: .1em; }
.loop-principle span { padding: 10px 12px; background: var(--paper); border: 2px solid var(--ink); }
.loop-principle b { padding: 12px 14px; color: white; background: var(--blue); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.loop-principle i { font: 700 22px/1 var(--display); font-style: normal; }
blockquote { max-width: 1060px; margin: 90px auto 0; font: 650 clamp(40px, 5vw, 76px)/1.04 var(--display); letter-spacing: -.035em; text-align: center; }

.ship-grid { display: grid; grid-template-columns: 1.45fr .55fr; gap: 32px; align-items: stretch; }
.build-track { display: grid; grid-template-columns: repeat(4, 1fr); }
.build-track div { min-height: 300px; padding: 24px; border: 2px solid var(--cream); border-right: 0; display: flex; flex-direction: column; }
.build-track div:last-child { border-right: 2px solid var(--cream); }
.build-track span { color: var(--yellow); font: 700 11px/1 var(--display); letter-spacing: .15em; }
.build-track b { margin: auto 0 20px; font: 600 23px/1.1 var(--display); }
.build-track small { color: #cfcac1; font-size: 12px; line-height: 1.45; }
.ship-stat { padding: 34px; background: var(--yellow); color: var(--ink); border: 2px solid var(--cream); box-shadow: 8px 8px 0 var(--blue); display: flex; flex-direction: column; }
.ship-stat strong { font: 800 clamp(100px, 12vw, 190px)/.82 var(--display); letter-spacing: -.08em; }
.ship-stat > span { font: 800 32px/1 var(--display); letter-spacing: .1em; }
.ship-stat p { margin: auto 0 0; font-weight: 600; line-height: 1.35; }
.demo-frame { margin-top: 72px; border-color: var(--cream); box-shadow: 10px 10px 0 var(--blue); background: #000; }
.demo-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.demo-frame figcaption { padding: 12px 0 0; }
.launch-button { width: max-content; margin: 68px auto 0; display: flex; align-items: center; gap: 50px; padding: 20px 26px; border: 2px solid var(--cream); background: var(--blue); color: white; box-shadow: 6px 6px 0 var(--yellow); text-decoration: none; font: 700 18px/1 var(--display); transition: transform .2s var(--ease); }
.launch-button:hover { transform: translate(-3px, -3px); }
.launch-button span { font-size: 26px; }

.reflection { background: var(--red-tint); }
.reflection::before { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--yellow); right: -120px; top: 16%; border: 2px solid var(--ink); }
.reflection::after { content: ''; position: absolute; width: 210px; height: 400px; background: var(--blue); left: -150px; bottom: -80px; transform: rotate(-28deg); border: 2px solid var(--ink); }
.reflection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reflection-grid article { min-height: 350px; padding: 30px; border: 2px solid var(--ink); background: var(--paper); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.reflection-grid article:nth-child(2) { background: var(--yellow-tint); }
.reflection-grid article:nth-child(3) { background: var(--teal-tint); }
.reflection-grid span { font: 700 11px/1 var(--display); color: var(--blue); }
.reflection-grid h3 { margin: auto 0 22px; font-size: 35px; line-height: 1.08; }
.reflection-grid p { margin: 0; color: var(--body); }
.closing { margin-top: 90px; padding-top: 30px; border-top: 2px solid var(--ink); display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.closing p { max-width: 900px; margin: 0; font: 650 clamp(34px, 4.2vw, 64px)/1.05 var(--display); letter-spacing: -.03em; }
.closing a { flex: none; font: 700 12px/1 var(--display); text-decoration: none; border-bottom: 2px solid; padding-bottom: 4px; }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .topbar nav { display: none; }
  .hero-grid, .origin-layout, .visual-proof, .ship-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 900px; }
  .four-bets { grid-template-columns: 1fr 1fr; }
  .cut-logic { grid-template-columns: 1fr 1fr; }
  .logic-card.kept { grid-column: 1 / -1; }
  .scope-strip { grid-template-columns: 1fr 1fr; }
  .scope-strip div:nth-child(2) { border-right: 0; }
  .scope-strip div:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
  .build-track { grid-template-columns: 1fr 1fr; }
  .build-track div:nth-child(2) { border-right: 2px solid var(--cream); }
  .build-track div:nth-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .topbar { height: 62px; padding: 0 18px; }
  .top-cta { margin-left: auto; font-size: 9px; }
  .chapter { padding: 104px 20px 78px; min-height: auto; }
  .eyebrow { margin-bottom: 38px; }
  h1 { font-size: clamp(50px, 14vw, 70px); line-height: 1; letter-spacing: -.05em; }
  h2 { font-size: clamp(43px, 12vw, 64px); line-height: 1.03; }
  .section-heading { margin-bottom: 46px; }
  .hero-grid { gap: 50px; }
  .hero-shape { opacity: .35; }
  .scope-strip, .two-moments, .screens-pair, .reflection-grid { grid-template-columns: 1fr; }
  .scope-strip div { border-right: 0; border-bottom: 2px solid var(--ink); }
  .scope-strip div:last-child { border-bottom: 0; }
  .origin-sequence { grid-template-columns: 1fr; }
  .sequence-arrow { transform: rotate(90deg); text-align: center; }
  .sequence-card { min-height: 230px; }
  .integrated-illustration { width: calc(100% + 40px); margin-left: -20px; margin-right: -20px; }
  .integrated-illustration figcaption { padding: 0 20px; margin-top: 0; }
  .four-bets, .cut-logic { grid-template-columns: 1fr; }
  .logic-card.kept { grid-column: auto; }
  .bet-card { min-height: 330px; }
  .breadth-line, .closing { align-items: flex-start; flex-direction: column; }
  .moment-card { min-height: 410px; padding: 26px; }
  .input-output { grid-template-columns: 1fr 1fr; }
  .input-output i { display: none; }
  .human-tools { grid-template-columns: 1fr; }
  .human-tools > div { justify-content: flex-start; }
  .loop-principle { justify-content: flex-start; }
  .build-track { grid-template-columns: 1fr; }
  .build-track div, .build-track div:nth-child(2) { min-height: 240px; border-right: 2px solid var(--cream); border-bottom: 0; }
  .build-track div:last-child { border-bottom: 2px solid var(--cream); }
  .ship-stat { min-height: 380px; }
  .launch-button { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .launch-button { transition: none; }
}
