@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/unbounded-latin.woff2") format("woff2");
}

:root {
  --paper: #f1f3f0;
  --paper-deep: #e5e9e7;
  --paper-bright: #fafbf8;
  --ink: #171b22;
  --ink-soft: #565e68;
  --rule: #aeb5b8;
  --rule-dark: #727b83;
  --cobalt: #174fc9;
  --cobalt-dark: #103a94;
  --cobalt-wash: #dbe5ff;
  --vermilion: #df432f;
  --vermilion-wash: #f8ded8;
  --content: 1500px;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI Variable", Aptos, "Segoe UI", sans-serif;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(23, 27, 34, 0.035) 1px, transparent 1px) 0 0 / 46px 100%,
    var(--paper);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.024;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

::selection { color: #fff; background: var(--cobalt); }

:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 16px;
  z-index: 100;
  padding: 12px 16px;
  transform: translateY(-110%);
  color: #fff;
  background: var(--ink);
}

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

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: var(--content);
  margin: 0 auto;
  padding: 14px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--rule-dark);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Unbounded", sans-serif;
  font-size: 13px;
  font-weight: 720;
  letter-spacing: -0.025em;
}

.wordmark small {
  padding-left: 10px;
  border-left: 1px solid var(--rule);
  color: var(--cobalt);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }

.site-nav a {
  font-size: 13px;
  font-weight: 680;
  text-decoration: none;
}

.site-nav a:not(.nav-cta) { padding-block: 9px; border-bottom: 1px solid transparent; }
.site-nav a:not(.nav-cta):hover { border-color: currentColor; }

.nav-cta,
.primary-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  color: #fff;
  background: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease-out, background-color 180ms ease-out;
}

.nav-cta { min-height: 42px; gap: 18px; }
.nav-cta:hover, .primary-cta:hover { background: var(--cobalt); }

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.96fr) minmax(420px, 1.04fr);
  min-height: calc(100dvh - 76px);
  max-width: var(--content);
  margin: 0 auto;
  border-inline: 1px solid var(--rule);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: clamp(58px, 7vw, 116px) clamp(28px, 5vw, 78px);
}

.register {
  margin: 0 0 22px;
  color: var(--cobalt-dark);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.35rem, 5.7vw, 7.2rem);
  font-weight: 860;
  line-height: 0.88;
  letter-spacing: -0.067em;
}

.hero-lead {
  max-width: 660px;
  margin: clamp(30px, 4vw, 54px) 0 28px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.52;
}

.primary-cta { min-width: 242px; }

.owner-note {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scope-stage {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-left: 1px solid var(--rule-dark);
  background:
    linear-gradient(rgba(23, 27, 34, 0.06) 1px, transparent 1px) 0 0 / 100% 46px,
    linear-gradient(90deg, rgba(23, 27, 34, 0.06) 1px, transparent 1px) 0 0 / 46px 100%,
    var(--paper-deep);
}

.scope-stage::before,
.scope-stage::after {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 54px;
  height: 170px;
  border-block: 11px solid var(--ink);
  content: "";
  transform: translateY(-50%);
}

.scope-stage::before { left: 30px; border-left: 11px solid var(--ink); }
.scope-stage::after { right: 30px; border-right: 11px solid var(--ink); }

.scope-meta {
  position: absolute;
  right: 30px;
  left: 30px;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  color: var(--ink-soft);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.scope-meta-top { top: 28px; }
.scope-meta-bottom { bottom: 28px; }
.scope-meta-bottom span:last-child { color: var(--cobalt-dark); }

.proof-stream {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  transform: translate(-50%, -50%);
}

.proof {
  position: relative;
  display: flex;
  width: clamp(148px, 14vw, 220px);
  aspect-ratio: 0.72;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--ink);
  box-shadow: 0 16px 22px rgba(23, 27, 34, 0.16);
  color: var(--ink);
  background: #f6e9c5;
  transform: rotate(-1.8deg);
}

.proof::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.08;
  background: repeating-linear-gradient(12deg, transparent 0 7px, var(--ink) 8px 9px);
}

.proof > span {
  position: relative;
  z-index: 1;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 9px;
}

.proof strong {
  position: relative;
  z-index: 1;
  font-size: clamp(20px, 2.2vw, 34px);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.proof-one { color: #f4ead6; background: #21334f; }
.proof-two { color: #f7e7dc; background: #9e3228; transform: rotate(1.4deg); }
.proof-three { color: #fff8df; background: #174fc9; transform: translateY(-10px); }
.proof-four { color: #2a271e; background: #e4c75e; transform: rotate(1.8deg); }
.proof-five { color: #f7e6ea; background: #a72f58; }
.proof-muted { opacity: 0.42; }
.proof-reject { opacity: 0.58; }

.proof i,
.proof b {
  position: absolute;
  right: 9px;
  bottom: 9px;
  z-index: 2;
  padding: 4px 6px;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.1em;
}

.proof i { color: #fff; background: var(--vermilion); transform: rotate(-7deg); }
.proof b { color: var(--cobalt); background: #fff; }

.scope-target {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 116px;
  height: 116px;
  border: 8px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px var(--cobalt), 0 0 0 999px rgba(23, 27, 34, 0.06);
}

.scope-target::before,
.scope-target::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  background: #fff;
  transform: translate(-50%, -50%);
}

.scope-target::before { width: 154px; height: 2px; }
.scope-target::after { width: 2px; height: 154px; }
.scope-target span { position: absolute; inset: 42px; z-index: 2; border-radius: 50%; background: var(--ink); }

.process-register {
  grid-column: 1 / -1;
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 52px);
  padding: 12px 22px;
  border-top: 1px solid var(--rule-dark);
  color: var(--ink-soft);
  background: var(--paper-bright);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.process-register i { color: var(--cobalt); font-style: normal; }

.decision-section,
.memory-section,
.handoff-section,
.closing-section,
.site-footer {
  max-width: var(--content);
  margin: 0 auto;
  border-inline: 1px solid var(--rule);
}

.decision-section {
  display: grid;
  grid-template-columns: 180px minmax(280px, 0.8fr) minmax(420px, 1.2fr);
  min-height: 520px;
  border-top: 1px solid var(--rule-dark);
}

.section-number {
  padding: 46px 28px;
  border-right: 1px solid var(--rule);
  color: var(--cobalt-dark);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.decision-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(46px, 6vw, 90px);
}

.decision-copy h2,
.memory-heading h2,
.handoff-head h2,
.closing-section h2 {
  margin: 0;
  font-size: clamp(2.55rem, 5vw, 6rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.decision-copy p {
  max-width: 590px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

.decision-keys {
  display: grid;
  align-content: center;
  border-left: 1px solid var(--rule-dark);
  background: var(--ink);
}

.key-action {
  display: grid;
  grid-template-columns: 88px 1fr;
  min-height: 110px;
  align-items: stretch;
  border-bottom: 1px solid #424852;
  color: #fff;
}

.key-action:last-child { border-bottom: 0; }
.key-action kbd { display: grid; place-items: center; border-right: 1px solid #424852; font: 700 26px/1 "Cascadia Mono", Consolas, monospace; }
.key-action span { display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 18px 28px; }
.key-action strong { font-size: 20px; }
.key-action small { color: #b9c0c5; font-size: 13px; }
.key-accept kbd { color: #99b7ff; }
.key-reject kbd { color: #ff988a; }

.memory-section { padding: clamp(76px, 9vw, 150px) clamp(28px, 7vw, 112px); background: var(--paper-bright); }
.memory-heading { display: grid; grid-template-columns: minmax(190px, 0.35fr) minmax(420px, 1fr); align-items: end; }
.memory-heading .register { margin-bottom: 8px; }
.memory-ledger { margin-top: clamp(58px, 8vw, 110px); border-top: 2px solid var(--ink); }
.ledger-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); font-size: clamp(18px, 2vw, 27px); }
.ledger-row b { color: var(--ink-soft); font: 800 10px/1.4 "Cascadia Mono", Consolas, monospace; letter-spacing: 0.1em; }
.ledger-fresh { color: var(--cobalt-dark); }
.ledger-fresh b { color: var(--cobalt-dark); }
.memory-note { max-width: 760px; margin: 42px 0 0 auto; color: var(--ink-soft); font-size: 18px; line-height: 1.6; }

.handoff-section { padding: clamp(76px, 9vw, 140px) clamp(28px, 7vw, 112px); color: #fff; background: var(--ink); }
.handoff-head { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(44px, 8vw, 130px); align-items: end; }
.handoff-head .register { color: #91aeff; }
.handoff-head p { max-width: 540px; margin: 0; color: #c5cbce; font-size: 18px; line-height: 1.6; }
.handoff-line { display: grid; grid-template-columns: auto minmax(180px, 1fr) auto minmax(220px, 0.55fr); gap: 28px; align-items: center; margin-top: clamp(62px, 8vw, 110px); padding-block: 32px; border-block: 1px solid #4d535c; }
.pool-count { display: grid; }
.pool-count strong { font-size: clamp(52px, 6vw, 86px); line-height: 0.8; }
.pool-count span, .customy-node span { margin-top: 12px; color: #9ca5aa; font: 700 9px/1 "Cascadia Mono", Consolas, monospace; letter-spacing: 0.12em; }
.pool-track { display: flex; min-width: 0; gap: 4px; }
.pool-track i { display: block; width: 10%; height: 58px; background: var(--cobalt); }
.pool-track i:nth-child(3n) { background: #698be0; }
.handoff-arrow { color: #91aeff; font-size: 42px; }
.customy-node { display: flex; flex-direction: column; min-height: 116px; justify-content: center; padding: 20px; border: 1px solid #686f78; }
.customy-node span { margin: 0 0 12px; }
.customy-node strong { font-size: 28px; }
.customy-node small { margin-top: 5px; color: #aeb5b8; }

.closing-section { display: grid; min-height: 600px; place-items: center; align-content: center; gap: 34px; padding: 80px 28px; text-align: center; background: var(--cobalt-wash); }
.closing-section h2 { max-width: 1000px; }
.primary-cta-light { color: #fff; }

.site-footer { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 24px; padding: 18px clamp(20px, 4vw, 64px); border-top: 1px solid var(--ink); color: var(--ink-soft); background: var(--paper-bright); font: 700 9px/1.4 "Cascadia Mono", Consolas, monospace; letter-spacing: 0.09em; }
.site-footer a { color: var(--cobalt-dark); }

.scope-stage,
.hero-copy > *,
.process-register { opacity: 0; animation: settle-in 650ms cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero-copy .register { animation-delay: 60ms; }
.hero-copy h1 { animation-delay: 120ms; }
.hero-copy .hero-lead { animation-delay: 190ms; }
.hero-copy .primary-cta { animation-delay: 260ms; }
.hero-copy .owner-note { animation-delay: 300ms; }
.scope-stage { animation-delay: 110ms; }
.process-register { animation-delay: 340ms; }

.scope-stage::before,
.scope-stage::after { opacity: 0; animation: scope-brackets 700ms 420ms cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.scope-target { opacity: 0; animation: target-focus 520ms 620ms cubic-bezier(0.16, 1, 0.3, 1) forwards; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes settle-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scope-brackets { from { opacity: 0; transform: translateY(-50%) scaleX(1.4); } to { opacity: 1; transform: translateY(-50%) scaleX(1); } }
@keyframes target-focus { from { opacity: 0; transform: translate(-50%, -50%) scale(1.5); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

@media (max-width: 1080px) {
  .site-nav > a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 0.92fr 1.08fr; }
  .hero-copy { padding-inline: 34px; }
  .hero h1 { font-size: clamp(3.5rem, 7vw, 5.8rem); }
  .decision-section { grid-template-columns: 120px 1fr; }
  .decision-keys { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule-dark); border-left: 0; }
  .key-action { border-right: 1px solid #424852; border-bottom: 0; }
  .handoff-line { grid-template-columns: auto 1fr auto; }
  .customy-node { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .site-header { min-height: 66px; padding-inline: 18px; }
  .wordmark small { display: none; }
  .nav-cta { min-height: 44px; padding-inline: 13px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; min-height: 0; border-inline: 0; }
  .hero-copy { padding: 64px 22px 52px; }
  .hero h1 { font-size: clamp(3.7rem, 17vw, 5.6rem); line-height: 0.88; }
  .hero-lead { margin-top: 30px; }
  .scope-stage { min-height: 410px; border-top: 1px solid var(--rule-dark); border-left: 0; }
  .scope-stage::before { left: 18px; }
  .scope-stage::after { right: 18px; }
  .scope-meta { right: 18px; left: 18px; }
  .proof { width: 142px; }
  .proof-stream { gap: 12px; }
  .scope-target { width: 94px; height: 94px; }
  .process-register { justify-content: flex-start; gap: 12px; overflow-x: auto; white-space: nowrap; }
  .decision-section, .memory-section, .handoff-section, .closing-section, .site-footer { border-inline: 0; }
  .decision-section { grid-template-columns: 1fr; min-height: 0; }
  .section-number { padding: 26px 22px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .decision-copy { padding: 62px 22px; }
  .decision-copy h2, .memory-heading h2, .handoff-head h2, .closing-section h2 { font-size: clamp(2.8rem, 13vw, 4.8rem); }
  .decision-keys { grid-column: auto; grid-template-columns: 1fr; }
  .key-action { border-right: 0; border-bottom: 1px solid #424852; }
  .memory-section, .handoff-section { padding: 72px 22px; }
  .memory-heading, .handoff-head { grid-template-columns: 1fr; gap: 24px; }
  .memory-heading .register { margin-bottom: 0; }
  .ledger-row { grid-template-columns: 1fr; gap: 8px; }
  .memory-note { font-size: 16px; }
  .handoff-head p { font-size: 16px; }
  .handoff-line { grid-template-columns: auto 1fr; gap: 20px; }
  .handoff-arrow { display: none; }
  .customy-node { grid-column: 1 / -1; }
  .pool-track i { height: 48px; }
  .closing-section { min-height: 540px; }
  .site-footer { flex-wrap: wrap; }
  .site-footer span:nth-child(2) { order: 3; width: 100%; }
}

@media (max-width: 410px) {
  .wordmark { font-size: 11px; }
  .wordmark img { width: 27px; height: 27px; }
  .nav-cta span[aria-hidden] { display: none; }
  .hero h1 { font-size: 3.55rem; }
  .primary-cta { width: 100%; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
