:root {
  --ink: #151515;
  --muted: #6f655e;
  --paper: #fbf7f0;
  --panel: #fffdf8;
  --line: #dfd4c8;
  --sage: #6f8d78;
  --rose: #c88073;
  --clay: #b77954;
  --shadow: 0 24px 80px rgba(70, 49, 33, .14);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background:
  radial-gradient(circle at 8% 10%, rgba(200,128,115,.18), transparent 28rem),
  radial-gradient(circle at 90% 8%, rgba(111,141,120,.18), transparent 26rem),
  linear-gradient(180deg, #fbf7f0 0%, #f4eadf 100%);
}
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: 0; }
.brand-stack { display: grid; gap: 1px; }
.brand-stack strong { font-size: 15px; line-height: 1.05; }
.brand-stack small { font-size: 11px; text-transform: uppercase; letter-spacing: .11em; color: var(--muted); }
.brand-mark {
  width: 38px; height: 38px; display: inline-grid; place-items: center;
  border: 1px solid #2f2924; border-radius: 50%;
  font-size: 12px; line-height: 1; letter-spacing: .08em;
  background: #151515; color: #fff8eb;
}
nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; min-width: 0; }
nav a { text-decoration: none; font-size: 14px; font-weight: 700; color: #3c342f; }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 48px; align-items: center; padding: 68px 0 80px; }
.kicker { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 800; color: var(--clay); }
h1, h2, h3 { letter-spacing: 0; margin: 0; }
h1 { font: 400 clamp(58px, 8vw, 112px)/.82 "Instrument Serif", serif; max-width: 820px; }
h2 { font: 400 clamp(34px, 4vw, 62px)/.92 "Instrument Serif", serif; }
h3 { font-size: 20px; line-height: 1.12; }
.lede { color: #4b4039; font-size: 19px; line-height: 1.62; max-width: 680px; margin: 28px 0 0; }
.status-strip, .hero-actions, .controls { display: flex; gap: 12px; flex-wrap: wrap; }
.status-strip { margin-top: 24px; }
.status-strip span {
  border: 1px solid rgba(54,42,34,.14);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,.5);
  font-size: 12px;
  font-weight: 700;
  color: #55483f;
}
.hero-actions, .controls { margin-top: 28px; }
.button { border: 1px solid #1f1915; border-radius: 999px; min-height: 46px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; text-decoration: none; cursor: pointer; font: inherit; }
.button.primary { background: #151515; color: #fff8eb; box-shadow: 0 12px 24px rgba(21,21,21,.16); }
.button.quiet { background: rgba(255,255,255,.52); color: #221b16; }

.hero-card {
  position: relative; padding: clamp(28px, 4vw, 48px); min-height: 490px;
  background: linear-gradient(145deg, rgba(255,253,248,.94), rgba(242,232,220,.88));
  border: 1px solid rgba(54,42,34,.16); box-shadow: var(--shadow);
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
}
.hero-card::before {
  content: ""; position: absolute; inset: 22px; border: 1px solid rgba(21,21,21,.08); pointer-events: none;
}
.paper-tag { width: max-content; border: 1px solid rgba(21,21,21,.18); border-radius: 999px; padding: 8px 12px; font-size: 12px; font-weight: 800; color: var(--muted); }
.message { font: 400 clamp(31px, 4vw, 51px)/1.02 "Instrument Serif", serif; margin: 44px 0; color: #211a16; }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.signal-grid div { padding: 16px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.signal-grid span, .cards span, .example-grid span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .11em; font-weight: 800; color: var(--clay); margin-bottom: 8px; }
.signal-grid strong { font-size: 15px; line-height: 1.2; display: block; }

.proof { padding: 12px 0 22px; }
.proof-grid, .flow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.proof-grid article {
  border: 1px solid rgba(54,42,34,.16);
  background: rgba(255,253,248,.78);
  min-height: 230px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(70,49,33,.08);
}
.proof-grid article span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #151515;
  color: #fff8eb;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
}
.proof-grid article p { margin: 12px 0 18px; color: #4c423a; line-height: 1.58; }
.proof-grid article a { color: #2f2924; font-weight: 700; text-underline-offset: 3px; }

.judge-route { padding: 28px 0 14px; }
.judge-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 16px;
}
.judge-card {
  border: 1px solid rgba(54,42,34,.16);
  background: linear-gradient(150deg, rgba(255,253,248,.88), rgba(241,231,221,.72));
  min-height: 248px;
  padding: 24px;
  box-shadow: 0 18px 50px rgba(70,49,33,.08);
}
.judge-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #151515;
  color: #fff8eb;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
}
.judge-card p {
  margin: 12px 0 0;
  color: #4c423a;
  line-height: 1.58;
}
.judge-card a {
  color: #2f2924;
  font-weight: 700;
  text-underline-offset: 3px;
}
.jump-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.jump-chip {
  border: 1px solid rgba(54,42,34,.16);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255,255,255,.58);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  color: #312823;
}

.flow { padding: 38px 0 28px; }
.flow-grid article {
  border: 1px solid rgba(54,42,34,.16);
  background: linear-gradient(160deg, rgba(255,253,248,.82), rgba(243,235,225,.68));
  min-height: 210px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(70,49,33,.08);
}
.flow-grid article span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #151515;
  color: #fff8eb;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
}
.flow-grid article p { margin: 12px 0 0; color: #4c423a; line-height: 1.58; }
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.trust-strip span {
  border: 1px solid rgba(54,42,34,.14);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,.5);
  font-size: 12px;
  font-weight: 700;
  color: #55483f;
}

.share-kit { padding: 28px 0 42px; }
.share-lede {
  max-width: 820px;
  margin: 14px 0 0;
  color: #4b4039;
  font-size: 18px;
  line-height: 1.65;
}
.share-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}
.share-video-card,
.share-copy-card {
  border: 1px solid rgba(54,42,34,.16);
  background: linear-gradient(160deg, rgba(255,253,248,.92), rgba(242,232,220,.78));
  box-shadow: 0 18px 50px rgba(70,49,33,.08);
  padding: 22px;
}
.share-video-card video {
  display: block;
  width: 100%;
  border: 1px solid rgba(54,42,34,.16);
  background: #e8ddd1;
  box-shadow: 0 18px 50px rgba(70,49,33,.12);
}
.share-copy-card span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 800;
  color: var(--clay);
  margin-bottom: 8px;
}
.share-copy-card p {
  margin: 14px 0 0;
  color: #4c423a;
  line-height: 1.62;
}
.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.share-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.share-proof-grid article,
.transcript-card,
.recording-card {
  border: 1px solid rgba(54,42,34,.14);
  background: rgba(255,255,255,.56);
  box-shadow: 0 16px 38px rgba(70,49,33,.06);
}
.share-proof-grid article {
  padding: 16px;
}
.share-proof-grid strong {
  display: block;
  font-size: 18px;
  line-height: 1.15;
}
.share-proof-grid p {
  margin: 10px 0 0;
  color: #55483f;
  line-height: 1.5;
}
.rule-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.rule-strip span {
  margin: 0;
  border: 1px solid rgba(54,42,34,.14);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,.56);
  font-size: 12px;
  font-weight: 700;
  color: #55483f;
}
.transcript-card {
  margin-top: 18px;
  padding: 18px;
}
.transcript-card ol,
.recording-card ol,
.recording-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: #4c423a;
  line-height: 1.62;
}
.transcript-card li + li,
.recording-card li + li {
  margin-top: 8px;
}
.transcript-card .button {
  margin-top: 18px;
}

.recording-kit {
  padding: 8px 0 42px;
}
.recording-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.recording-card {
  padding: 22px;
}
.recording-card span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 800;
  color: var(--clay);
  margin-bottom: 8px;
}

.band { border-block: 1px solid rgba(48,36,28,.12); background: rgba(255,253,248,.56); }
.workbench { display: grid; grid-template-columns: .85fr 1.15fr; gap: 18px; padding: 34px 0; align-items: stretch; }
.panel { background: var(--panel); border: 1px solid rgba(54,42,34,.16); box-shadow: 0 18px 60px rgba(70,49,33,.08); padding: clamp(20px, 3vw, 34px); }
.panel-head { margin-bottom: 22px; }
label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--muted); margin: 20px 0 8px; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: #f6eee4; padding: 4px; gap: 4px; }
.segmented button { min-height: 40px; border: 0; background: transparent; font: inherit; font-weight: 800; cursor: pointer; color: #67584e; }
.segmented button.active { background: #151515; color: #fff8eb; }
textarea { width: 100%; min-height: 220px; resize: vertical; border: 1px solid var(--line); background: #fffaf2; padding: 18px; color: #2a211c; font: 500 17px/1.55 Inter, sans-serif; }
textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid rgba(111,141,120,.45); outline-offset: 3px; }
.scenario-rail {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.scenario-card {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(54,42,34,.14);
  background: #fffaf2;
  padding: 16px;
  cursor: pointer;
  font: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.scenario-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(70,49,33,.08);
}
.scenario-card.active {
  border-color: rgba(111,141,120,.52);
  background: linear-gradient(140deg, #f4f6f0, #fffaf2);
}
.scenario-card span,
.summary-strip span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 800;
  color: var(--clay);
  margin-bottom: 8px;
}
.scenario-card strong,
.summary-strip strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}
.scenario-card small {
  display: block;
  margin-top: 6px;
  color: #5e534c;
  line-height: 1.45;
}
.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.summary-strip article {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #fffdf7, #f3ece2);
  padding: 14px 16px;
}
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cards article { min-height: 146px; border: 1px solid var(--line); background: #fffaf2; padding: 18px; }
.cards article.wide { grid-column: 1 / -1; min-height: 130px; background: #f2f5ef; }
.cards p, .example-grid p, .about p { margin: 0; color: #4c423a; line-height: 1.58; }
.result-note {
  margin: 14px 0 0;
  color: #655950;
  font-size: 14px;
  line-height: 1.5;
}

.examples { padding: 82px 0; }
.section-head { max-width: 820px; margin-bottom: 28px; }
.example-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.example-grid article { border: 1px solid rgba(54,42,34,.16); background: rgba(255,253,248,.72); min-height: 250px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 18px 50px rgba(70,49,33,.08); }
.example-grid h3 { max-width: 280px; }
.about { border-top: 1px solid rgba(54,42,34,.16); display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; padding: 52px 0 60px; align-items: start; }
.about > p { font-size: 18px; }
.footer { min-height: 86px; display: flex; align-items: center; color: #6c6058; font-size: 14px; border-top: 1px solid rgba(54,42,34,.16); }

@media (max-width: 860px) {
  .shell { width: min(100% - 28px, 1160px); }
  .topbar { align-items: flex-start; padding-top: 16px; min-height: 88px; }
  nav { gap: 12px; }
  nav a { font-size: 13px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 48px; }
  h1 { font-size: clamp(54px, 16vw, 78px); }
  .hero-card { min-height: 410px; }
  .workbench, .about, .proof-grid, .judge-grid, .flow-grid, .share-grid, .summary-strip, .recording-grid, .share-proof-grid { grid-template-columns: 1fr; }
  .cards, .example-grid { grid-template-columns: 1fr; }
  .signal-grid { grid-template-columns: 1fr; }
  .message { font-size: 36px; }
}

@media (max-width: 420px) {
  .topbar { gap: 12px; }
  nav { gap: 10px; }
  nav a { font-size: 12px; }
  .brand { gap: 8px; }
  .brand-mark { width: 32px; height: 32px; }
}
