:root {
  --ink: #10231f;
  --ink-soft: #3f514c;
  --muted: #6c7a76;
  --paper: #f6f5ef;
  --white: #ffffff;
  --line: #d8ddd6;
  --line-strong: #bdc7bf;
  --mint: #c7f36b;
  --mint-deep: #7fae23;
  --forest: #143f36;
  --forest-2: #0b2f29;
  --violet: #7557ff;
  --violet-soft: #eeeaff;
  --coral: #ef684f;
  --coral-soft: #fff0eb;
  --yellow: #f7dc67;
  --shadow: 0 24px 70px rgba(22, 46, 39, 0.12);
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --sans: Inter, "Aptos", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: -5rem;
  left: 1rem;
  padding: .7rem 1rem;
  color: white;
  background: var(--forest);
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 0 4vw;
  border-bottom: 1px solid rgba(16, 35, 31, .1);
  background: rgba(246, 245, 239, .9);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  width: fit-content;
  font-size: .95rem;
  font-weight: 850;
  letter-spacing: -.02em;
  text-decoration: none;
}
.brand-symbol {
  position: relative;
  display: block;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: var(--forest);
  transform: rotate(-5deg);
}
.brand-symbol i {
  position: absolute;
  left: 7px;
  width: 13px;
  height: 5px;
  border: 2px solid var(--mint);
  border-left: 0;
  border-bottom: 0;
}
.brand-symbol i:first-child { top: 6px; transform: rotate(28deg); }
.brand-symbol i:last-child { bottom: 6px; transform: rotate(208deg); }
nav { display: flex; gap: 2.5rem; }
nav a {
  color: var(--ink-soft);
  font-size: .76rem;
  font-weight: 700;
  text-decoration: none;
}
nav a:hover { color: var(--violet); }
.header-cta {
  justify-self: end;
  display: inline-flex;
  gap: .65rem;
  align-items: center;
  padding: .7rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.header-cta:hover { color: white; background: var(--forest); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(620px, 1.14fr);
  gap: clamp(3rem, 5vw, 7rem);
  align-items: center;
  width: min(1500px, 92vw);
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 6rem 0;
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 3%;
  left: -18%;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 243, 107, .28), transparent 68%);
}
.eyebrow {
  margin: 0 0 1.4rem;
  color: var(--violet);
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.eyebrow .pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: .55rem;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 5px rgba(117, 87, 255, .1);
}
h1, h2, h3, p { text-wrap: pretty; }
h1, h2 {
  margin: 0;
  font-weight: 820;
  letter-spacing: -.065em;
  line-height: .97;
}
h1 { max-width: 720px; font-size: clamp(4.3rem, 6.1vw, 7.2rem); }
h2 { font-size: clamp(3.3rem, 5.3vw, 6rem); }
h1 em, h2 em { color: var(--violet); font-style: normal; }
.hero-lede {
  max-width: 650px;
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2.3rem 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 52px;
  padding: 0 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  font-size: .74rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(16, 35, 31, .12); }
.button-primary { color: white; border-color: var(--forest); background: var(--forest); }
.button-primary span { color: var(--mint); }
.button-quiet { background: rgba(255, 255, 255, .55); }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.2rem; color: var(--muted); font-size: .71rem; }
.trust-row i { color: var(--mint-deep); font-style: normal; font-weight: 900; }

.product-visual {
  position: relative;
  min-height: 650px;
  padding: 1rem;
  border: 1px solid #ccd4cd;
  border-radius: 28px;
  background: rgba(255, 255, 255, .76);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(20, 63, 54, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 63, 54, .035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(black, transparent 72%);
  pointer-events: none;
}
.product-bar, .change-alert, .repair-flow, .decision-banner { position: relative; z-index: 1; }
.product-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: .3rem .35rem 1rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .57rem;
}
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #c6cfca; }
.evidence-state { justify-self: end; display: flex; align-items: center; gap: .45rem; }
.evidence-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint-deep); box-shadow: 0 0 0 4px rgba(127,174,35,.1); }
.change-alert {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border: 1px solid #f0cabc;
  border-radius: 15px;
  background: var(--coral-soft);
}
.alert-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: white;
  border-radius: 12px;
  background: var(--coral);
  font-size: 1.35rem;
  font-weight: 900;
}
.change-alert div:nth-child(2) span { display: block; color: var(--coral); font-family: var(--mono); font-size: .56rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.change-alert strong { font-size: .88rem; }
.alert-time { color: #a56656; font-family: var(--mono); font-size: .54rem; }
.repair-flow {
  display: grid;
  grid-template-columns: 1fr 135px 1fr;
  align-items: center;
  min-height: 390px;
  padding: 2rem .5rem;
}
.flow-card {
  position: relative;
  min-width: 0;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  box-shadow: 0 12px 28px rgba(22,46,39,.08);
}
.flow-card > span { color: var(--muted); font-family: var(--mono); font-size: .55rem; letter-spacing: .1em; }
.flow-card > strong { display: block; margin: .45rem 0 1.15rem; font-size: .8rem; }
.code-lines { display: grid; gap: .52rem; min-height: 110px; padding: .9rem; border-radius: 8px; background: #f5f6f2; }
.code-lines i { display: block; width: 78%; height: 6px; border-radius: 3px; background: #d7ddd7; }
.code-lines i:nth-child(2) { width: 95%; }
.code-lines i:nth-child(3) { width: 64%; }
.code-lines i:nth-child(4) { width: 84%; }
.flow-before .code-lines i:nth-child(3) { background: #ef8b76; }
.flow-after .code-lines i:nth-child(3), .flow-after .code-lines i:nth-child(4) { background: #a8cf55; }
.flow-card small { display: block; margin-top: 1rem; color: var(--muted); font-size: .61rem; }
.flow-before small b { color: var(--coral); }
.flow-after small b { color: var(--mint-deep); }
.flow-engine {
  position: relative;
  display: grid;
  justify-items: center;
  gap: .8rem;
}
.flow-engine::before, .flow-engine::after {
  content: "";
  position: absolute;
  top: 51%;
  width: 42px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--violet) 0 4px, transparent 4px 8px);
}
.flow-engine::before { left: 0; }
.flow-engine::after { right: 0; }
.flow-engine > span { color: var(--violet); font-family: var(--mono); font-size: .53rem; font-weight: 900; letter-spacing: .12em; }
.flow-engine small { max-width: 90px; color: var(--muted); font-size: .53rem; text-align: center; }
.engine-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(117,87,255,.32);
  border-radius: 24px;
  background: var(--violet-soft);
  transform: rotate(45deg);
}
.engine-core::before, .engine-core::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(117,87,255,.22); border-radius: 16px; }
.engine-core::after { inset: 22px; background: var(--violet); }
.decision-banner {
  display: grid;
  grid-template-columns: .85fr 1.4fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.2rem 1.25rem;
  color: white;
  border-radius: 16px;
  background: var(--forest);
}
.decision-banner div span { display: block; color: var(--mint); font-family: var(--mono); font-size: .53rem; letter-spacing: .1em; }
.decision-banner strong { display: block; margin-top: .25rem; font-size: 1.08rem; text-transform: capitalize; }
.decision-banner p { margin: 0; color: #c9d6d1; font-size: .72rem; }
.decision-arrow { display: grid; place-items: center; width: 36px; height: 36px; color: var(--forest); border-radius: 50%; background: var(--mint); font-weight: 900; }

.story-strip {
  padding: 1.7rem 4vw;
  color: #d6e5df;
  background: var(--forest);
  overflow: hidden;
}
.story-strip p { display: flex; align-items: center; justify-content: center; gap: 2rem; margin: 0; font-size: clamp(1rem, 1.6vw, 1.45rem); }
.story-strip span { color: white; font-weight: 800; }
.story-strip b { color: var(--mint); font-family: var(--mono); font-size: .58rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.section { width: min(1440px, 92vw); margin: 0 auto; padding: 10rem 0 4rem; }
.section-intro { max-width: 970px; margin-bottom: 4.5rem; }
.section-intro > p:last-child { max-width: 700px; margin: 1.5rem 0 0; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.7; }
.how-section { padding-bottom: 9rem; }
.how-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.how-card {
  position: relative;
  min-height: 430px;
  padding: 1.6rem 1.4rem;
  border-right: 1px solid var(--line-strong);
  transition: background .25s ease, transform .25s ease;
}
.how-card:last-child { border-right: 0; }
.how-card:hover { z-index: 2; background: white; transform: translateY(-6px); box-shadow: 0 22px 50px rgba(16,35,31,.08); }
.how-number { color: var(--muted); font-family: var(--mono); font-size: .58rem; }
.how-icon {
  position: relative;
  width: 78px;
  height: 78px;
  margin: 3.1rem 0 2.4rem;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: white;
}
.how-icon i { position: absolute; display: block; }
.signal-icon i { inset: 19px; border: 1px solid var(--coral); border-radius: 50%; }
.signal-icon i:nth-child(2) { inset: 27px; }
.signal-icon i:nth-child(3) { inset: 35px; background: var(--coral); }
.source-icon i { left: 19px; right: 19px; height: 5px; border-radius: 3px; background: #aeb9b3; }
.source-icon i:nth-child(1) { top: 21px; background: var(--violet); }
.source-icon i:nth-child(2) { top: 35px; right: 29px; }
.source-icon i:nth-child(3) { top: 49px; right: 24px; }
.think-icon i { width: 18px; height: 18px; border: 1px solid var(--violet); border-radius: 50%; background: var(--violet-soft); }
.think-icon i:nth-child(1) { left: 18px; top: 30px; }
.think-icon i:nth-child(2) { right: 18px; top: 20px; }
.think-icon i:nth-child(3) { right: 19px; bottom: 16px; background: var(--mint); border-color: var(--mint-deep); }
.test-icon i { left: 18px; width: 40px; height: 10px; border-radius: 4px; background: #e9eee9; }
.test-icon i::after { content: "✓"; position: absolute; right: 5px; top: -4px; color: var(--mint-deep); font-size: .72rem; font-weight: 900; }
.test-icon i:nth-child(1) { top: 18px; }
.test-icon i:nth-child(2) { top: 34px; }
.test-icon i:nth-child(3) { top: 50px; }
.decide-icon i:nth-child(1) { inset: 16px; border: 2px solid var(--forest); border-radius: 50%; }
.decide-icon i:nth-child(2) { left: 30px; top: 37px; width: 11px; height: 5px; border-left: 2px solid var(--mint-deep); border-bottom: 2px solid var(--mint-deep); transform: rotate(-45deg); }
.decide-icon i:nth-child(3) { display: none; }
.how-card h3 { margin: 0; font-size: 1.45rem; letter-spacing: -.03em; }
.how-card p { min-height: 115px; margin: .9rem 0; color: var(--ink-soft); font-size: .82rem; line-height: 1.65; }
.how-card small { color: var(--violet); font-family: var(--mono); font-size: .52rem; font-weight: 850; letter-spacing: .06em; }

.difference-section {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 7vw;
  align-items: center;
  padding: 9rem max(4vw, calc((100vw - 1440px) / 2));
  color: white;
  background: var(--violet);
}
.difference-copy .eyebrow { color: var(--mint); }
.difference-copy h2 { font-size: clamp(3.3rem, 4.8vw, 5.8rem); }
.difference-copy > p:last-child { max-width: 600px; margin: 1.6rem 0 0; color: #e0dcff; line-height: 1.7; }
.difference-grid { display: grid; gap: .75rem; }
.difference-grid article {
  display: grid;
  grid-template-columns: 130px 1fr 1.55fr;
  gap: 1rem;
  align-items: center;
  min-height: 116px;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  background: rgba(255,255,255,.07);
}
.difference-grid article > span { color: #d2caff; font-family: var(--mono); font-size: .52rem; font-weight: 850; letter-spacing: .08em; }
.difference-grid article > strong { font-size: 1.03rem; }
.difference-grid article > p { margin: 0; color: #dcd7ff; font-size: .72rem; line-height: 1.55; }
.difference-grid .difference-highlight { color: var(--forest); border-color: var(--mint); background: var(--mint); }
.difference-grid .difference-highlight > span, .difference-grid .difference-highlight > p { color: #45631b; }

.repair-section { width: 100%; max-width: none; padding: 9rem 4vw; color: white; background: var(--forest-2); }
.repair-intro, .proof-intro { display: grid; grid-template-columns: 1.4fr .6fr; gap: 4rem; align-items: end; max-width: 1440px; margin-right: auto; margin-left: auto; }
.repair-intro > p:last-child { color: #aec1ba; }
.repair-section .eyebrow { color: var(--mint); }
.walkthrough {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 1rem;
  width: min(1440px, 100%);
  min-width: 0;
  margin: 0 auto;
}
.stage-nav { display: grid; align-content: start; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; overflow: hidden; }
.stage-tab {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: .75rem;
  align-items: center;
  min-height: 94px;
  padding: 1rem;
  color: #9fb3ac;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color .2s ease, background .2s ease;
}
.stage-tab:last-child { border-bottom: 0; }
.stage-tab > span { font-family: var(--mono); font-size: .57rem; }
.stage-tab b, .stage-tab small { display: block; }
.stage-tab b { color: inherit; font-size: .8rem; }
.stage-tab small { margin-top: .2rem; color: #718a82; font-size: .64rem; }
.stage-tab:hover { color: white; }
.stage-tab.active { color: var(--forest); background: var(--mint); }
.stage-tab.active small { color: rgba(20,63,54,.65); }
.stage-canvas { min-width: 0; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: #123c34; overflow: hidden; }
.canvas-head {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid rgba(255,255,255,.11);
  color: #92a9a1;
  font-family: var(--mono);
  font-size: .56rem;
  font-weight: 750;
  letter-spacing: .08em;
}
.verified-chip { display: flex; align-items: center; gap: .5rem; color: var(--mint); }
.verified-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 9px var(--mint); }
.canvas-body { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; min-height: 560px; padding: 3.2rem; }
.stage-copy { align-self: center; }
.stage-count { display: block; margin-bottom: 2rem; color: var(--mint); font-family: var(--mono); font-size: .62rem; }
.stage-copy h3 { margin: 0; font-size: clamp(2.4rem, 3.5vw, 4.5rem); letter-spacing: -.055em; line-height: .98; }
.stage-copy > p { margin: 1.5rem 0; color: #b9cbc4; font-size: .9rem; line-height: 1.7; }
.stage-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.stage-tags span { padding: .45rem .58rem; color: #b8cbc4; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; font-family: var(--mono); font-size: .5rem; text-transform: uppercase; }
.artifact { align-self: stretch; min-width: 0; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: #082a24; overflow: hidden; }
.artifact-label { display: flex; justify-content: space-between; padding: .9rem 1rem; color: #829b92; border-bottom: 1px solid rgba(255,255,255,.11); font-family: var(--mono); font-size: .54rem; letter-spacing: .07em; }
.artifact-label span:last-child { color: var(--mint); }
.artifact-visual { display: grid; align-content: center; min-height: 500px; padding: 1.6rem; }
.stage-progress { height: 4px; background: rgba(255,255,255,.07); }
.stage-progress i { display: block; width: 20%; height: 100%; background: var(--mint); transition: width .35s ease; }

.payload-flow { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; }
.payload-box { padding: 1rem; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; background: rgba(255,255,255,.04); }
.payload-box small { display: block; margin-bottom: .8rem; color: #7f9990; font-family: var(--mono); font-size: .5rem; }
.visual-row { display: flex; justify-content: space-between; gap: .7rem; padding: .65rem 0; border-top: 1px solid rgba(255,255,255,.09); font-family: var(--mono); font-size: .6rem; }
.visual-row span { color: #9cb1aa; }
.visual-row.good b { color: var(--mint); }
.visual-row.bad b, .visual-row.lost b { color: #ff9d88; }
.visual-row.lost { background: rgba(239,104,79,.08); }
.adapter-node { position: relative; display: grid; justify-items: center; gap: .25rem; color: #8ba49b; text-align: center; }
.adapter-node::before, .adapter-node::after { content: ""; position: absolute; top: 50%; width: 24px; height: 1px; background: var(--violet); }
.adapter-node::before { left: 0; }.adapter-node::after { right: 0; }
.adapter-node span, .adapter-node small { font-size: .5rem; }
.adapter-node b { color: white; font-family: var(--mono); font-size: .55rem; }
.visual-note { margin: 1.5rem 0 0; padding: .85rem 1rem; border-radius: 8px; font-size: .67rem; }
.danger-note { color: #ffb5a5; border: 1px solid rgba(239,104,79,.25); background: rgba(239,104,79,.08); }
.source-document { padding: 1.2rem; color: var(--ink); border-radius: 10px; background: #faf9f3; transform: rotate(-.5deg); box-shadow: 0 15px 35px rgba(0,0,0,.18); }
.document-top { display: flex; justify-content: space-between; color: var(--muted); font-family: var(--mono); font-size: .52rem; }
.official-chip { color: var(--mint-deep); font-weight: 900; }
.source-document h4 { margin: 1.5rem 0 1rem; font-size: 1.2rem; }
.source-document blockquote { margin: 0; padding: 1rem; color: var(--ink-soft); border-left: 3px solid var(--violet); background: white; font-family: var(--mono); font-size: .63rem; line-height: 1.65; }
.document-meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; color: var(--muted); font-family: var(--mono); font-size: .48rem; }
.grounded-claim { margin-top: 1rem; padding: 1rem; border: 1px solid rgba(199,243,107,.28); border-radius: 10px; background: rgba(199,243,107,.07); }
.grounded-claim small { color: var(--mint); font-family: var(--mono); font-size: .5rem; }
.grounded-claim p { margin: .5rem 0 0; font-size: .72rem; }
.diff-card { border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: #061e1a; overflow: hidden; }
.diff-top, .model-line { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; border-bottom: 1px solid rgba(255,255,255,.1); font-family: var(--mono); font-size: .55rem; }
.bounded-chip { color: var(--mint); }
.diff-code { display: grid; margin: 0; padding: 1.2rem 0; overflow: auto; color: #afc1bb; font-family: var(--mono); font-size: .6rem; line-height: 1.7; }
.diff-code span { display: block; padding: 0 1.2rem; white-space: pre-wrap; }
.diff-code .added { color: #e7ffc0; background: rgba(199,243,107,.1); }
.diff-code .meta { color: #a997ff; }
.model-line { justify-content: flex-start; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 0; color: #829b92; }
.model-line b { color: white; }.model-line small { margin-left: auto; }
.proof-matrix { border: 1px solid rgba(255,255,255,.11); border-radius: 10px; overflow: hidden; }
.proof-matrix-row { display: grid; grid-template-columns: 1.5fr .75fr .75fr; align-items: center; min-height: 78px; padding: 0 1rem; border-bottom: 1px solid rgba(255,255,255,.09); }
.proof-matrix-row:last-child { border-bottom: 0; }
.proof-matrix-row > span:not(:first-child) { justify-self: center; }
.proof-matrix-head { min-height: 48px; color: #779087; font-family: var(--mono); font-size: .5rem; }
.proof-matrix-row b { font-size: .68rem; }
.proof-matrix-row.focus { background: rgba(199,243,107,.05); }
.mini-pass, .mini-fail { padding: .35rem .5rem; border-radius: 5px; font-family: var(--mono); font-size: .5rem; font-weight: 900; }
.mini-pass { color: var(--forest); background: var(--mint); }
.mini-fail { color: #ff9f8a; border: 1px solid rgba(239,104,79,.35); }
.proof-conclusion { display: flex; gap: .8rem; align-items: center; margin-top: 1rem; padding: .9rem 1rem; color: var(--forest); border-radius: 9px; background: var(--mint); }
.proof-conclusion > span { font-weight: 900; }.proof-conclusion p { margin: 0; font-size: .66rem; }
.decision-gates { display: grid; gap: .55rem; }
.decision-gate { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; font-size: .65rem; }
.decision-gate span { color: #a4b8b1; }
.decision-gate b { font-family: var(--mono); font-size: .52rem; }
.gate-pass { color: var(--mint); }.gate-warn { color: #ffad9c; }
.verdict-card { margin-top: 1rem; padding: 1rem; color: var(--ink); border-radius: 10px; background: var(--yellow); }
.verdict-card small { font-family: var(--mono); font-size: .48rem; }
.verdict-card strong { display: block; margin: .35rem 0; font-size: 1.5rem; text-transform: capitalize; }
.verdict-card p { margin: 0; font-size: .63rem; }

.outcome-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 7vw;
  align-items: center;
  padding: 9rem max(4vw, calc((100vw - 1440px) / 2));
  background: #ecebe3;
}
.outcome-copy > p:last-child { max-width: 620px; margin: 1.5rem 0 0; color: var(--ink-soft); }
.comparison { border: 1px solid var(--line-strong); border-radius: 18px; background: white; box-shadow: var(--shadow); overflow: hidden; }
.comparison > div { display: grid; grid-template-columns: 1.4fr .6fr .6fr; align-items: center; min-height: 90px; padding: 0 1.4rem; border-bottom: 1px solid var(--line); }
.comparison > div:last-child { border-bottom: 0; }
.comparison-head { min-height: 54px !important; color: var(--muted); font-family: var(--mono); font-size: .55rem; text-transform: uppercase; }
.comparison > div > span:not(:first-child) { justify-self: center; }
.comparison b { font-size: .8rem; }
.comparison-focus { background: #fbfbf7; }
.status-pass, .status-fail { padding: .38rem .58rem; border-radius: 5px; font-family: var(--mono); font-size: .52rem; font-weight: 900; text-transform: uppercase; }
.status-pass { color: var(--forest); background: var(--mint); }
.status-fail { color: var(--coral); border: 1px solid #efb1a3; background: var(--coral-soft); }
.comparison .comparison-foot { grid-template-columns: 1fr auto; min-height: 70px; color: white; background: var(--forest); }
.comparison-foot span { display: flex; align-items: center; gap: .6rem; font-size: .68rem; }
.comparison-foot i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.comparison-foot strong { color: var(--mint); font-family: var(--mono); font-size: .62rem; }

.proof-section { padding-bottom: 9rem; }
.proof-intro { max-width: none; }
.proof-grid { display: grid; grid-template-columns: 1.2fr 1fr .9fr; gap: 1rem; }
.proof-card { min-height: 520px; padding: 2rem; border: 1px solid var(--line-strong); border-radius: 18px; background: rgba(255,255,255,.6); }
.proof-card-label { color: var(--violet); font-family: var(--mono); font-size: .54rem; font-weight: 850; letter-spacing: .08em; }
.proof-card h3 { margin: 2rem 0 0; font-size: 2.4rem; letter-spacing: -.05em; line-height: 1; }
.source-proof blockquote { margin: 2rem 0; padding: 1.2rem; color: var(--ink-soft); border-left: 3px solid var(--violet); background: white; font-family: var(--mono); font-size: .66rem; line-height: 1.7; }
.source-proof a { display: inline-flex; gap: .7rem; color: var(--violet); font-size: .72rem; font-weight: 850; text-decoration: none; }
.model-proof { color: white; background: var(--forest); }
.model-proof .proof-card-label { color: var(--mint); }
.model-proof > p { margin: 2rem 0; padding: 1rem; color: var(--mint); border: 1px solid rgba(199,243,107,.25); border-radius: 9px; background: rgba(199,243,107,.06); font-family: var(--mono); font-size: .64rem; word-break: break-all; }
.model-proof dl { margin: 3rem 0 0; }
.model-proof dl div { display: grid; grid-template-columns: 100px 1fr; gap: 1rem; padding: .85rem 0; border-top: 1px solid rgba(255,255,255,.11); }
dt { color: #9ab0a8; font-family: var(--mono); font-size: .52rem; text-transform: uppercase; }
dd { min-width: 0; margin: 0; overflow: hidden; font-family: var(--mono); font-size: .58rem; text-overflow: ellipsis; white-space: nowrap; }
.decision-proof ul { display: grid; gap: .65rem; margin: 2.4rem 0 0; padding: 0; list-style: none; }
.decision-proof li { display: flex; gap: .7rem; align-items: center; padding: .8rem; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: .7rem; }
.decision-proof li span { color: var(--mint-deep); font-weight: 900; }
.decision-proof li.warning { color: var(--coral); border-color: #efc0b5; background: var(--coral-soft); }
.decision-proof li.warning span { color: var(--coral); }
.receipt { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.2fr; margin-top: 1rem; border: 1px solid var(--line-strong); border-radius: 14px; background: white; overflow: hidden; }
.receipt div { min-width: 0; padding: 1rem; border-right: 1px solid var(--line); }
.receipt div:last-child { border-right: 0; }
.receipt span, .receipt b { display: block; }
.receipt span { color: var(--muted); font-family: var(--mono); font-size: .47rem; }
.receipt b { margin-top: .35rem; overflow: hidden; font-family: var(--mono); font-size: .57rem; text-overflow: ellipsis; white-space: nowrap; }

.closing {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 9rem 4vw;
  color: white;
  background: var(--forest-2);
  text-align: center;
  overflow: hidden;
}
.closing::before {
  content: "";
  position: absolute;
  width: 48rem;
  height: 48rem;
  border: 1px solid rgba(199,243,107,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 110px rgba(199,243,107,.025), 0 0 0 220px rgba(199,243,107,.018);
}
.closing > * { position: relative; z-index: 1; }
.closing .eyebrow { color: var(--mint); }
.closing h2 em { color: var(--mint); }
.closing > p:not(.eyebrow) { margin: 2rem 0 0; color: #aac0b7; }
.closing-mark { margin-bottom: 3rem; transform: scale(2); }
.closing .button-primary { color: var(--forest); border-color: var(--mint); background: var(--mint); }
.closing .button-quiet { color: white; border-color: rgba(255,255,255,.25); background: transparent; }

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 110px;
  padding: 1.5rem 4vw;
  color: var(--muted);
  background: #061f1a;
  font-size: .6rem;
}
footer .brand { color: white; }
footer p { text-align: center; }
footer > span { justify-self: end; font-family: var(--mono); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1200px) {
  .hero { grid-template-columns: 1fr; padding-top: 5rem; }
  .hero-copy { max-width: 880px; }
  .product-visual { max-width: 900px; }
  .how-grid { grid-template-columns: repeat(3, 1fr); }
  .how-card:nth-child(3) { border-right: 0; }
  .how-card:nth-child(-n+3) { border-bottom: 1px solid var(--line-strong); }
  .how-card { min-height: 360px; }
  .how-card p { min-height: 80px; }
  .canvas-body { grid-template-columns: 1fr; }
  .artifact-visual { min-height: 390px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .decision-proof { grid-column: 1 / -1; min-height: auto; }
  .decision-proof ul { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 850px) {
  .site-header { grid-template-columns: 1fr auto; padding: 0 1rem; }
  nav { display: none; }
  .header-cta { padding: .6rem .8rem; }
  .hero { width: min(92vw, 690px); }
  h1 { font-size: clamp(3.7rem, 14vw, 6rem); }
  h2 { font-size: clamp(3rem, 11vw, 5rem); }
  .product-visual { min-height: auto; }
  .repair-flow { grid-template-columns: 1fr; gap: 1rem; }
  .flow-engine { grid-template-columns: 1fr auto 1fr; }
  .flow-engine::before, .flow-engine::after { display: none; }
  .engine-core { width: 50px; height: 50px; border-radius: 15px; }
  .flow-engine small { max-width: none; }
  .decision-banner { grid-template-columns: 1fr auto; }
  .decision-banner p { grid-column: 1 / -1; grid-row: 2; }
  .story-strip p { gap: .8rem; flex-wrap: wrap; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .how-card, .how-card:nth-child(3) { border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
  .how-card:nth-child(even) { border-right: 0; }
  .how-card:last-child { grid-column: 1 / -1; border-right: 0; }
  .repair-intro, .proof-intro { grid-template-columns: 1fr; gap: 1rem; }
  .difference-section { grid-template-columns: 1fr; }
  .walkthrough { grid-template-columns: 1fr; }
  .stage-nav { width: 100%; max-width: 100%; min-width: 0; grid-template-columns: repeat(5, 120px); overflow-x: auto; contain: layout paint; }
  .stage-tab { grid-template-columns: 1fr; border-right: 1px solid rgba(255,255,255,.1); border-bottom: 0; }
  .canvas-body { padding: 2rem; }
  .outcome-band { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .decision-proof { grid-column: auto; }
  .decision-proof ul { grid-template-columns: 1fr 1fr; }
  .receipt { grid-template-columns: 1fr 1fr; }
  .receipt div:nth-child(2) { border-right: 0; }
  .receipt div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .hero { padding: 4rem 0; }
  h1 { font-size: 3.6rem; }
  .trust-row { display: grid; gap: .5rem; }
  .product-visual { padding: .65rem; border-radius: 20px; }
  .product-bar { grid-template-columns: 1fr 1fr; }
  .product-bar > span:nth-child(2) { display: none; }
  .change-alert { grid-template-columns: auto 1fr; }
  .alert-time { display: none; }
  .decision-banner { padding: 1rem; }
  .section { padding-top: 7rem; }
  .how-grid { grid-template-columns: 1fr; }
  .how-card, .how-card:nth-child(3), .how-card:nth-child(even) { border-right: 0; }
  .how-card:last-child { grid-column: auto; }
  .repair-section { padding: 7rem 1rem; }
  .difference-section { padding: 7rem 1rem; }
  .difference-grid article { grid-template-columns: 1fr; gap: .45rem; }
  .stage-nav { grid-template-columns: 1fr 1fr; overflow: visible; contain: none; }
  .stage-tab { min-height: 78px; border-right: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
  .stage-tab:nth-child(even) { border-right: 0; }
  .stage-tab:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .canvas-body { padding: 1.2rem; }
  .stage-copy h3 { font-size: 2.6rem; }
  .artifact-visual { min-height: 350px; padding: .9rem; }
  .payload-flow { grid-template-columns: 1fr; gap: .8rem; }
  .adapter-node::before, .adapter-node::after { display: none; }
  .outcome-band { padding: 7rem 1rem; }
  .comparison > div { grid-template-columns: 1.2fr .6fr .6fr; padding: 0 .7rem; }
  .comparison b { font-size: .68rem; }
  .proof-grid { gap: .8rem; }
  .proof-card { min-height: auto; padding: 1.4rem; }
  .decision-proof ul { grid-template-columns: 1fr; }
  .receipt { grid-template-columns: 1fr; }
  .receipt div { border-right: 0; border-bottom: 1px solid var(--line); }
  .receipt div:last-child { border-bottom: 0; }
  footer { grid-template-columns: 1fr; gap: 1rem; justify-items: center; text-align: center; }
  footer > span { justify-self: center; }
}

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