:root {
  --ink: #13242c;
  --ink-soft: #465961;
  --paper: #f5f0e6;
  --paper-deep: #e8dfcf;
  --white: #fffdf8;
  --teal: #176d66;
  --teal-bright: #3fa69b;
  --coral: #d86545;
  --gold: #e7b84e;
  --line: rgba(19, 36, 44, .16);
  --shadow: 0 28px 70px rgba(25, 42, 48, .16);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
.skip-link { position: fixed; top: -4rem; left: 1rem; z-index: 20; background: var(--white); padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .85rem clamp(1.2rem, 4vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(245, 240, 230, .9);
  backdrop-filter: blur(14px);
}
.wordmark { display: inline-flex; align-items: center; gap: .65rem; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.wordmark-mark { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: var(--paper); font-style: italic; }
nav { display: flex; gap: clamp(.9rem, 2.5vw, 2.2rem); font-size: .88rem; }
nav a { text-decoration: none; color: var(--ink-soft); }
nav a:hover, nav a:focus-visible { color: var(--ink); }

.hero {
  min-height: 83vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  padding: clamp(4rem, 8vw, 8rem) clamp(1.2rem, 7vw, 8rem);
  overflow: hidden;
}
.eyebrow { margin: 0 0 1.2rem; color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: .98; letter-spacing: -.04em; }
h1 { max-width: 760px; font-size: clamp(3.7rem, 7.8vw, 8.7rem); }
h1 em { color: var(--teal); font-weight: 400; }
.hero-lede { max-width: 660px; margin: 2rem 0; color: var(--ink-soft); font-size: clamp(1.05rem, 1.7vw, 1.35rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: 999px; font-weight: 750; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--white); box-shadow: 0 10px 24px rgba(19,36,44,.18); }
.button-secondary { border-color: var(--ink); }
.hero-note { margin-top: 1.2rem; color: var(--ink-soft); font-size: .82rem; }

.hero-visual { position: relative; padding: clamp(1.4rem, 3vw, 2.5rem); border: 1px solid rgba(255,255,255,.16); border-radius: 30px; background: var(--ink); color: var(--white); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-visual::before { content: ""; position: absolute; width: 13rem; height: 13rem; right: -5rem; top: -5rem; border-radius: 50%; background: var(--coral); opacity: .75; filter: blur(1px); }
.visual-topline { position: relative; display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.18); font-size: .85rem; }
.status-dot { color: #b9d9d4; }
.headline-number { position: relative; display: grid; grid-template-columns: auto auto auto auto auto; align-items: baseline; gap: .55rem; margin: 2rem 0 1rem; font-variant-numeric: tabular-nums; }
.headline-number span { font-family: Georgia, serif; font-size: clamp(2.15rem, 4vw, 4rem); }
.headline-number small { color: #b8c3c6; font-size: .67rem; }
.headline-number b { color: var(--gold); font-size: 1.5rem; }
.change-pill { display: inline-flex; padding: .4rem .7rem; border-radius: 999px; background: rgba(63,166,155,.2); color: #91ddd4; font-weight: 750; font-size: .78rem; }
.new-work-callout { margin: 1.5rem 0; padding: 1rem; border-left: 3px solid var(--coral); background: rgba(255,255,255,.06); color: #d9e1e2; }
.mini-composition > div:not(.track) { display: flex; justify-content: space-between; margin-top: .9rem; font-size: .82rem; }
.track { position: relative; height: .45rem; margin-top: .4rem; border-radius: 1rem; background: rgba(255,255,255,.12); overflow: visible; }
.track::before, .track i { content: ""; position: absolute; left: 0; top: 0; height: 100%; border-radius: inherit; }
.track::before { width: var(--before); background: #849ca6; }
.track i { width: var(--after); background: var(--teal-bright); transform: translateY(100%); }
.track.accent i { background: var(--coral); }
.visual-caption { margin: 1.5rem 0 0; color: var(--gold); font-family: Georgia, serif; font-size: 1.15rem; font-style: italic; }

.proof-band { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.proof-band div { display: flex; flex-direction: column; gap: .2rem; padding: 1.4rem clamp(1.2rem, 4vw, 4.5rem); border-right: 1px solid var(--line); }
.proof-band div:last-child { border-right: 0; }
.proof-band strong { font-family: Georgia, serif; font-size: 1.05rem; }
.proof-band span { color: var(--ink-soft); font-size: .8rem; }

.section { padding: clamp(5rem, 10vw, 10rem) clamp(1.2rem, 7vw, 8rem); }
.section-heading { max-width: 820px; margin-bottom: 3.5rem; }
.section-heading h2, .report-copy h2, .closing h2 { font-size: clamp(3rem, 6vw, 6.4rem); }
.section-heading > p:last-child, .report-copy > p { max-width: 650px; color: var(--ink-soft); font-size: 1.05rem; }
.workflow-card { display: grid; grid-template-columns: 1fr 120px 1fr; gap: 1.5rem; max-width: 1050px; margin: auto; padding: clamp(1.2rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.35); }
.lane { display: flex; flex-direction: column; gap: .38rem; }
.lane-heading { display: flex; justify-content: space-between; margin-bottom: .7rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.step { min-height: calc(var(--size) * 1.6px + 30px); display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .65rem .75rem; border-radius: 8px; color: white; font-size: .78rem; }
.step small { opacity: .8; white-space: nowrap; }
.step-data { background: #5f7c98; }
.step-routine { background: #398b82; }
.step-judgment { background: #6d6095; }
.step-relationship { background: #bd7a3c; }
.step-new { background: transparent; border: 2px dashed var(--coral); color: var(--ink); }
.flow-arrow { align-self: center; display: grid; gap: .3rem; place-items: center; color: var(--coral); font-family: Georgia, serif; font-size: 2rem; }
.flow-arrow span { color: var(--ink-soft); font-family: inherit; font-size: .7rem; font-style: italic; }

.sandbox-section { background: var(--ink); color: var(--white); }
.section-heading.light p { color: #b5c2c5; }
.section-heading.light .eyebrow { color: #76c8be; }
.sandbox-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.controls { display: grid; gap: 1.2rem; }
.controls label { display: grid; grid-template-columns: 1fr auto; gap: .55rem; color: #d7dfe0; font-size: .9rem; }
.controls output { color: var(--gold); font-variant-numeric: tabular-nums; font-weight: 800; }
.controls input { grid-column: 1 / -1; width: 100%; accent-color: var(--teal-bright); }
.live-result { padding: clamp(1.5rem, 4vw, 3.5rem); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); background: rgba(255,255,255,.05); }
.live-label { color: #a9b8bc; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.live-numbers { display: flex; flex-wrap: wrap; align-items: baseline; gap: .7rem; margin: 1rem 0 2rem; }
.live-numbers strong { font-family: Georgia, serif; font-size: clamp(3rem, 6vw, 6rem); font-weight: 500; }
.live-numbers span { color: var(--gold); font-size: 2rem; }
.live-numbers small { color: #a9b8bc; }
.comparison-bars { display: grid; gap: .8rem; }
.comparison-bars div { display: grid; grid-template-columns: 3.5rem 1fr; align-items: center; gap: .7rem; color: #a9b8bc; font-size: .75rem; }
.comparison-bars i { display: block; width: 100%; height: 1.25rem; border-radius: 5px; background: #597887; transform-origin: left; transition: width .18s ease; }
.comparison-bars div:last-child i { background: var(--teal-bright); }
.live-change { margin-top: 1.5rem; color: #d9e1e2; }
.formula { padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); color: #8fa2a7; font-family: ui-monospace, monospace; font-size: .78rem; }

.report-section { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(3rem, 8vw, 9rem); }
.report-sheet { max-width: 480px; min-height: 570px; padding: 3rem; background: var(--white); box-shadow: var(--shadow); transform: rotate(-2deg); }
.sheet-kicker { padding-bottom: 1rem; border-bottom: 2px solid var(--ink); font-size: .68rem; letter-spacing: .14em; }
.report-sheet h3 { margin: 4rem 0 1.5rem; font-family: Georgia, serif; font-size: 2rem; }
.report-row { display: flex; justify-content: space-between; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.report-line { width: 72%; height: .7rem; margin: 3rem 0 1.2rem; border-radius: 1rem; background: var(--teal); }
.report-sheet p { color: var(--ink-soft); font-size: .9rem; }
.report-copy > p { margin-block: 1.5rem 2rem; }
.text-link { font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.method-section { padding-top: 3rem; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.method-grid article { padding: 2rem; border-right: 1px solid var(--line); }
.method-grid article:last-child { border-right: 0; }
.method-grid span { color: var(--coral); font-family: Georgia, serif; font-size: 2rem; font-style: italic; }
.method-grid h3 { font-family: Georgia, serif; font-size: 1.45rem; }
.method-grid p { color: var(--ink-soft); }
.method-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2rem; font-weight: 750; }

.closing { padding: clamp(6rem, 12vw, 12rem) 1.2rem; background: var(--teal); color: var(--white); text-align: center; }
.closing .eyebrow, .closing p { color: #c6e4df; }
.closing h2 { margin-bottom: 1.5rem; }
.centered { justify-content: center; margin-top: 2rem; }
.button-light { background: var(--white); color: var(--teal); }
.button-outline-light { border-color: rgba(255,255,255,.7); color: var(--white); }
footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding: 2rem clamp(1.2rem, 7vw, 8rem); background: var(--ink); color: var(--white); }
footer p { color: #aab8bb; font-size: .78rem; }
footer > div { display: flex; justify-content: flex-end; gap: 1.2rem; font-size: .78rem; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media (max-width: 850px) {
  nav a:not(:last-child) { display: none; }
  .hero, .sandbox-grid, .report-section { grid-template-columns: 1fr; }
  .hero { padding-top: 5rem; }
  .hero-visual { transform: none; }
  .proof-band, .method-grid { grid-template-columns: 1fr; }
  .proof-band div, .method-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .workflow-card { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .wordmark, footer > div { justify-content: center; }
}
@media (max-width: 520px) {
  h1 { font-size: 3.45rem; }
  .headline-number { grid-template-columns: auto auto; }
  .headline-number b { display: none; }
  .report-sheet { min-height: 480px; padding: 1.5rem; }
  .report-sheet h3 { margin-top: 2.5rem; }
}
