:root {
  --bg: #ffffff;
  --ink: #0b0c0c;
  --muted: #666a66;
  --line: #d9dcd7;
  --line-dark: #b8bdb5;
  --soft: #f6f7f4;
  --green: #16663b;
  --green-soft: #eaf4ee;
  --red: #9f241f;
  --red-soft: #f9ecea;
  --yellow: #9b6900;
  --yellow-soft: #fbf4dc;
  --waiting: #7b8179;
  --radius: 2px;
  --max: 1240px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 99;
  background: var(--ink);
  color: white;
  padding: 12px 16px;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand-mark {
  width: 20px;
  height: 20px;
  display: inline-block;
  border: 2px solid var(--ink);
  border-radius: 50% 50% 42% 42%;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink);
  left: 4px;
  top: 6px;
  box-shadow: 8px 0 0 var(--ink);
}
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav a { text-decoration: none; color: #3b3e3b; }
.nav a:hover { color: var(--ink); }
.nav-cta { border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 760px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 72px;
  align-items: center;
  padding: 104px 28px 92px;
}
.eyebrow {
  margin: 0 0 22px;
  color: #5b605a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1,
.section h2,
.pilot h2,
.primitive h2,
.status-copy h2,
.architecture h2,
.economics h2,
.future h2 {
  margin: 0;
  letter-spacing: -.055em;
  line-height: .95;
  font-weight: 630;
}
.hero h1 { font-size: clamp(64px, 7.5vw, 112px); }
.hero h1 em,
.pilot h2 em { font-style: normal; color: var(--green); }
.hero-lede {
  max-width: 620px;
  margin: 34px 0 0;
  font-size: 22px;
  line-height: 1.48;
  color: #343734;
  letter-spacing: -.02em;
}
.hero-actions { display: flex; gap: 22px; align-items: center; margin-top: 34px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #242724; }
.button-text { padding-left: 0; padding-right: 0; }
.microcopy { margin-top: 20px; font-size: 13px; color: var(--muted); }

.hero-visual { align-self: stretch; display: flex; align-items: center; }
.ledger-window {
  width: 100%;
  border: 1px solid var(--line-dark);
  background: white;
  box-shadow: 0 22px 70px rgba(13, 25, 18, .07);
}
.ledger-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 26px 28px 24px;
  border-bottom: 1px solid var(--line);
}
.ledger-label { font-size: 10px; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.ledger-head h2 { margin: 7px 0 0; font-size: 26px; letter-spacing: -.04em; }
.ledger-summary { text-align: right; }
.ledger-summary strong { display: block; font-size: 32px; font-weight: 600; letter-spacing: -.04em; }
.ledger-summary span { font-size: 11px; color: var(--muted); }
.ledger-progress { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; padding: 0 28px; transform: translateY(-1px); }
.seg { height: 3px; background: var(--line); }
.seg.established { background: var(--green); }
.seg.stopped { background: #c18a18; }
.seg.waiting { background: #cfd2cd; }
.ledger-sort {
  display: flex;
  justify-content: space-between;
  padding: 20px 28px 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}
.trackable {
  min-height: 78px;
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 28px;
  border-top: 1px solid var(--line);
}
.trackable-alert { background: #fffdf7; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.status-dot.established { background: var(--green); }
.status-dot.stopped { background: #bf8314; }
.status-dot.waiting { background: #b8bcb7; }
.trackable-main { display: flex; flex-direction: column; gap: 5px; }
.trackable-main strong { font-size: 15px; }
.trackable-main span { font-size: 12px; color: var(--muted); }
.status-pill { font-size: 9px; letter-spacing: .08em; padding: 6px 8px; border: 1px solid currentColor; white-space: nowrap; }
.status-pill.established { color: var(--green); background: var(--green-soft); }
.status-pill.stopped { color: var(--yellow); background: var(--yellow-soft); }
.status-pill.waiting { color: var(--waiting); background: #f2f3f1; }
.receipt-link {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  background: white;
  min-height: 58px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--ink);
}
.receipt-link:hover { background: var(--soft); }

.signal-strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.signal { border-top: 1px solid var(--ink); padding: 24px 28px 0 0; min-height: 160px; }
.signal + .signal { padding-left: 28px; border-left: 1px solid var(--line); }
.signal strong { display: block; font-size: 42px; font-weight: 560; letter-spacing: -.04em; margin-bottom: 14px; }
.signal span { display: block; max-width: 320px; color: #454945; font-size: 14px; line-height: 1.55; }
.source-note { grid-column: 1 / -1; margin: 24px 0 0; color: var(--muted); font-size: 11px; }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 110px 28px;
  border-top: 1px solid var(--line);
}
.section-intro { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: end; }
.section-intro .eyebrow { align-self: start; }
.section h2 { font-size: clamp(48px, 6vw, 84px); }
.section-lede { max-width: 740px; font-size: 26px; line-height: 1.42; color: #373a37; letter-spacing: -.025em; margin: 0; }

.trackable-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 110px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.trackable-card {
  min-height: 260px;
  padding: 28px 26px 30px 0;
  border-top: 1px solid var(--ink);
}
.trackable-card:nth-child(3n+2), .trackable-card:nth-child(3n+3) { padding-left: 26px; border-left: 1px solid var(--line); }
.trackable-card:nth-child(n+4) { border-top-color: var(--line); }
.trackable-index { font-size: 11px; color: var(--muted); }
.trackable-card h3 { font-size: 24px; letter-spacing: -.03em; margin: 64px 0 12px; }
.trackable-card p { margin: 0; color: var(--muted); line-height: 1.55; max-width: 300px; }

.primitive { display: grid; grid-template-columns: .9fr 1.1fr; gap: 86px; }
.primitive-copy h2 { font-size: clamp(48px, 5vw, 76px); }
.primitive-copy > p:last-child { color: #4b4f4b; line-height: 1.6; font-size: 18px; max-width: 520px; margin-top: 30px; }
.operator-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.operator-list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.operator-list li > span { color: var(--muted); font-size: 12px; padding-top: 2px; }
.operator-list strong { font-size: 18px; }
.operator-list p { margin: 5px 0 0; color: var(--muted); line-height: 1.45; }

.status-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 86px; }
.status-copy h2 { font-size: clamp(48px, 5vw, 76px); }
.status-stack { border-top: 1px solid var(--ink); }
.status-row { display: grid; grid-template-columns: 18px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.status-row strong { font-size: 16px; letter-spacing: .02em; }
.status-row p { margin: 6px 0 0; color: var(--muted); line-height: 1.45; }
.status-swatch { display: block; width: 12px; height: 44px; }
.status-swatch.established { background: var(--green); }
.status-swatch.failed { background: var(--red); }
.status-swatch.stopped { background: #c18a18; }

.architecture h2 { max-width: 900px; }
.architecture-map {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 1fr 100px 260px 100px 1fr;
  align-items: center;
}
.source-cluster, .output-cluster { display: grid; gap: 8px; }
.source-cluster span, .output-cluster span {
  border-top: 1px solid var(--line-dark);
  padding: 12px 0;
  font-size: 14px;
}
.connector-line { height: 1px; background: var(--ink); position: relative; }
.connector-line::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; background: var(--ink); border-radius: 50%; }
.noticer-core { min-height: 180px; border: 1px solid var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; }
.core-mark { width: 32px; height: 32px; border: 2px solid var(--ink); border-radius: 50% 50% 42% 42%; position: relative; }
.core-mark::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); position: absolute; left: 7px; top: 9px; box-shadow: 11px 0 0 var(--ink); }
.noticer-core strong { font-size: 18px; }
.noticer-core small { font-size: 9px; letter-spacing: .12em; color: var(--muted); }

.economics { display: grid; grid-template-columns: .9fr 1.1fr; gap: 86px; }
.economics h2 { font-size: clamp(44px, 4.5vw, 72px); }
.economics-copy > p:last-child { color: var(--muted); max-width: 560px; line-height: 1.55; margin-top: 28px; }
.calculator { border-top: 1px solid var(--ink); }
.calculator label { display: grid; grid-template-columns: 1fr 140px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); gap: 20px; }
.calculator label span { font-size: 14px; }
.calculator input { width: 100%; border: 1px solid var(--line-dark); padding: 10px 12px; background: white; color: var(--ink); text-align: right; }
.calculator-result { margin-top: 32px; background: var(--ink); color: white; padding: 26px; }
.calculator-result > span { display: block; font-size: 10px; letter-spacing: .12em; color: #cfd2cf; }
.calculator-result strong { display: inline-block; font-size: 72px; letter-spacing: -.06em; font-weight: 560; margin-top: 18px; }
.calculator-result small { margin-left: 8px; color: #cfd2cf; }
.calculator-result p { margin: 12px 0 0; color: #d9ddda; }

.future { display: grid; grid-template-columns: 1fr; gap: 50px; }
.future h2 { font-size: clamp(48px, 5vw, 76px); }
.future-steps { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 13px; letter-spacing: .09em; font-weight: 700; }
.future-steps span { border: 1px solid var(--line-dark); padding: 12px 14px; }
.future-steps i { font-style: normal; color: var(--muted); }
.future-note { max-width: 820px; color: var(--muted); line-height: 1.6; margin: 0; }

.pilot { text-align: left; padding-bottom: 130px; }
.pilot h2 { font-size: clamp(54px, 6.5vw, 92px); max-width: 1050px; }
.pilot-lede { max-width: 820px; font-size: 20px; line-height: 1.55; color: #3e423e; margin: 32px 0 44px; }
.pilot-form { border-top: 1px solid var(--ink); padding-top: 26px; }
.pilot-fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.pilot-fields label { display: flex; flex-direction: column; gap: 8px; }
.pilot-fields span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pilot-fields input { min-height: 48px; border: 1px solid var(--line-dark); padding: 0 12px; background: white; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; }

.footer {
  border-top: 1px solid var(--line-dark);
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 28px 60px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 20px 50px;
  color: var(--muted);
  font-size: 12px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer small { grid-column: 1 / -1; max-width: 760px; line-height: 1.55; }

.receipt-dialog { border: 0; padding: 0; width: min(680px, calc(100vw - 32px)); box-shadow: 0 28px 90px rgba(0,0,0,.22); }
.receipt-dialog::backdrop { background: rgba(8,10,9,.55); }
.receipt-modal { padding: 34px; position: relative; }
.dialog-close { position: absolute; right: 18px; top: 16px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.receipt-modal h2 { font-size: 38px; margin: 0 0 18px; letter-spacing: -.04em; }
.receipt-status { display: inline-flex; align-items: center; gap: 8px; color: var(--yellow); border: 1px solid var(--yellow); background: var(--yellow-soft); padding: 8px 10px; font-size: 11px; letter-spacing: .06em; }
.receipt-details { margin: 28px 0 0; border-top: 1px solid var(--ink); }
.receipt-details div { display: grid; grid-template-columns: 160px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.receipt-details dt { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.receipt-details dd { margin: 0; line-height: 1.45; }
.receipt-disclaimer { color: var(--muted); font-size: 11px; line-height: 1.5; margin: 20px 0 0; }

@media (max-width: 980px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 58px; padding-top: 72px; }
  .hero-visual { min-height: auto; }
  .signal-strip { grid-template-columns: 1fr; }
  .signal + .signal { padding-left: 0; border-left: 0; }
  .signal { min-height: 0; padding-bottom: 34px; }
  .section-intro, .primitive, .status-section, .economics { grid-template-columns: 1fr; gap: 48px; }
  .trackable-grid { grid-template-columns: 1fr 1fr; }
  .trackable-card:nth-child(3n+2), .trackable-card:nth-child(3n+3) { padding-left: 0; border-left: 0; }
  .trackable-card:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .architecture-map { grid-template-columns: 1fr; gap: 24px; }
  .connector-line { width: 1px; height: 34px; margin: 0 auto; }
  .connector-line::after { right: -3px; top: auto; bottom: 0; }
  .pilot-fields { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .topbar { min-height: 64px; padding-inline: 18px; }
  .nav { gap: 12px; }
  .hero { padding: 58px 18px 72px; min-height: auto; }
  .hero h1 { font-size: clamp(58px, 17vw, 80px); }
  .hero-lede { font-size: 19px; }
  .ledger-head { padding: 22px 18px 20px; align-items: flex-start; gap: 18px; }
  .ledger-summary strong { font-size: 26px; }
  .ledger-progress { padding: 0 18px; }
  .ledger-sort { padding: 18px 18px 10px; gap: 10px; }
  .trackable { grid-template-columns: 10px 1fr; padding: 14px 18px; }
  .status-pill { grid-column: 2; justify-self: start; }
  .receipt-link { padding-inline: 18px; }
  .signal-strip { padding: 0 18px 72px; }
  .section { padding: 82px 18px; }
  .section h2, .primitive-copy h2, .status-copy h2, .economics h2, .future h2 { font-size: clamp(44px, 13vw, 64px); }
  .section-lede { font-size: 21px; }
  .trackable-grid { grid-template-columns: 1fr; padding: 0 18px 82px; }
  .trackable-card, .trackable-card:nth-child(even) { border-left: 0; padding-left: 0; min-height: 220px; }
  .pilot-fields { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; padding-inline: 18px; }
  .footer small { grid-column: auto; }
  .receipt-modal { padding: 28px 20px; }
  .receipt-details div { grid-template-columns: 1fr; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
