:root {
  --ink: #17242d;
  --ink-deep: #101a21;
  --ink-soft: #33434d;
  --paper: #f4f1e9;
  --paper-light: #fbfaf6;
  --paper-dark: #e7e1d5;
  --muted: #59666e;
  --rule: #d3ccbf;
  --rust: #974a32;
  --rust-dark: #773823;
  --sage: #dce4dc;
  --sage-dark: #245d54;
  --white: #ffffff;
  --max-width: 1240px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button {
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font-family: inherit;
}

p,
h1,
h2,
h3,
dl,
dd {
  margin-top: 0;
}

p {
  line-height: 1.7;
}

.shell {
  width: min(calc(100% - 64px), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--paper-light);
  background: var(--rust-dark);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  color: var(--paper-light);
  background: rgba(16, 26, 33, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-size: 0.84rem;
  font-weight: 730;
  letter-spacing: 0.015em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--paper-light);
  border: 1px solid rgba(255, 255, 255, 0.65);
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #c4c9cc;
  font-size: 0.76rem;
}

.site-header nav a,
.site-footer nav a {
  transition: color 150ms ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: var(--white);
}

.status-button {
  justify-self: end;
  min-height: 38px;
  padding: 9px 14px;
  color: #bac1c5;
  background: transparent;
  border: 1px solid #65717a;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

button:disabled {
  cursor: not-allowed;
  opacity: 1;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--paper-light);
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    radial-gradient(circle at 79% 21%, rgba(151, 74, 50, 0.22), transparent 26%),
    var(--ink-deep);
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.hero::after {
  content: "";
  position: absolute;
  right: -210px;
  bottom: -310px;
  width: 610px;
  height: 610px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.75fr);
  align-items: center;
  gap: clamp(64px, 9vw, 140px);
  min-height: 720px;
  padding-block: clamp(88px, 10vw, 142px);
}

.kicker,
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--rust-dark);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kicker {
  color: #d7b1a3;
}

.kicker span {
  width: 25px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.section h2,
.boundary-section h2,
.final-section h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.046em;
  line-height: 0.99;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(3.5rem, 6.5vw, 7rem);
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 34px;
  color: #b8c1c6;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
}

.pilot-line {
  max-width: 720px;
  margin: 20px 0 0;
  padding-left: 16px;
  color: #b7c0c5;
  border-left: 2px solid var(--rust);
  font-size: 0.78rem;
  line-height: 1.65;
}

.pilot-line strong {
  color: #ead3ca;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 760;
  letter-spacing: 0.02em;
}

.button-primary {
  color: var(--paper-light);
  background: var(--rust-dark);
  border-color: var(--rust-dark);
}

.button-primary:disabled {
  color: #ded7cf;
  background: #6f493b;
  border-color: #8b685b;
}

.button-secondary {
  color: var(--paper-light);
  background: transparent;
  border-color: #5f6b73;
  transition: background 160ms ease, border-color 160ms ease;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  border-color: #aeb6bb;
}

.intake-note {
  max-width: 590px;
  margin: 15px 0 0;
  color: #909ba1;
  font-size: 0.71rem;
  line-height: 1.55;
}

.decision-frame {
  padding: clamp(22px, 3vw, 34px);
  background: rgba(18, 30, 38, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 24px 24px 0 rgba(151, 74, 50, 0.08);
}

.frame-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 19px;
  color: #86939b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.frame-status {
  color: #d7b1a3;
}

.decision-frame dl {
  margin-bottom: 0;
}

.decision-frame dl > div {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.decision-frame dt {
  color: #87939a;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
}

.decision-frame dd {
  margin-bottom: 0;
  color: #d9dfe2;
  font-size: 0.78rem;
  line-height: 1.55;
}

.decision-frame .decision-row {
  border-bottom: 0;
}

.decision-row dd {
  color: #e5c5ba;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.decision-frame > p {
  margin: 18px 0 0;
  color: #87939a;
  font-size: 0.66rem;
  line-height: 1.55;
}

.principles {
  background: var(--paper-dark);
  border-bottom: 1px solid var(--rule);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principle-grid > div {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 98px;
  padding: 22px clamp(16px, 3vw, 42px);
  border-right: 1px solid var(--rule);
}

.principle-grid > div:first-child {
  padding-left: 0;
}

.principle-grid > div:last-child {
  border-right: 0;
}

.principle-grid span,
.step-number,
.question-grid article > span {
  color: var(--rust-dark);
  font-family: var(--mono);
  font-size: 0.66rem;
}

.principle-grid strong {
  font-size: 0.78rem;
  font-weight: 700;
}

.section {
  padding-block: clamp(90px, 11vw, 155px);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.7fr);
  gap: clamp(50px, 9vw, 130px);
  padding-bottom: clamp(65px, 8vw, 100px);
  border-bottom: 1px solid var(--rule);
}

.section h2,
.boundary-section h2,
.final-section h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5.1vw, 5.6rem);
}

.section-intro {
  align-self: end;
}

.section-intro p,
.section-heading > div > p {
  color: var(--muted);
  font-size: 0.94rem;
}

.section-intro p:last-child,
.section-heading > div > p:last-child {
  margin-bottom: 0;
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.question-grid article {
  min-height: 320px;
  padding: 38px 30px 32px;
  border-right: 1px solid var(--rule);
}

.question-grid article:first-child {
  border-left: 1px solid var(--rule);
}

.question-grid h3 {
  margin: 80px 0 18px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.question-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.65;
}

.method-section {
  background: var(--paper-light);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: 50px;
  align-items: start;
  padding-bottom: 66px;
}

.section-heading > .section-label {
  margin-top: 10px;
}

.section-heading h2 {
  max-width: 900px;
}

.section-heading > div > p {
  max-width: 680px;
  margin: 26px 0 0;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.method-grid article {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 34px 30px;
  border-right: 1px solid var(--rule);
}

.method-grid article:first-child {
  border-left: 1px solid var(--rule);
}

.method-grid h3 {
  margin: 94px 0 18px;
  font-size: 1.05rem;
}

.method-grid p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.method-grid small {
  margin-top: auto;
  padding-top: 20px;
  color: var(--rust-dark);
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.output-section {
  color: var(--paper-light);
  background: var(--ink-deep);
}

.output-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(470px, 1fr);
  gap: clamp(70px, 11vw, 160px);
  align-items: center;
}

.section-label-light {
  color: #d7b1a3;
}

.output-copy h2 {
  max-width: 600px;
}

.output-copy > p {
  max-width: 560px;
  margin: 28px 0 0;
  color: #aab4ba;
  font-size: 0.9rem;
}

.output-status {
  margin-top: 46px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.output-status span,
.output-status strong {
  display: block;
}

.output-status span {
  color: #829097;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.output-status strong {
  margin-top: 8px;
  color: #e4c8bd;
  font-size: 0.88rem;
}

.output-status p {
  margin: 7px 0 0;
  color: #8d999f;
  font-size: 0.7rem;
  line-height: 1.5;
}

.packet-card {
  color: var(--ink);
  background: var(--paper-light);
  border-top: 5px solid var(--rust-dark);
  box-shadow: 28px 28px 0 rgba(255, 255, 255, 0.035);
}

.packet-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.packet-heading span:last-child {
  color: var(--rust-dark);
}

.packet-card ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.packet-card li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 23px 28px;
  border-bottom: 1px solid var(--rule);
}

.packet-card li:last-child {
  border-bottom: 0;
}

.packet-card li > span {
  padding-top: 2px;
  color: var(--rust-dark);
  font-family: var(--mono);
  font-size: 0.66rem;
}

.packet-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.84rem;
}

.packet-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.evidence-section {
  background: var(--paper);
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.evidence-card {
  display: flex;
  flex-direction: column;
  min-height: 470px;
  padding: 28px;
  background: var(--paper-light);
  border: 1px solid var(--rule);
}

.evidence-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 19px;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-transform: uppercase;
}

.evidence-meta span:last-child {
  color: var(--rust-dark);
  text-align: right;
}

.evidence-card h3 {
  margin: 54px 0 20px;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.evidence-card > p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.68;
}

.evidence-card > a {
  width: fit-content;
  margin-top: auto;
  padding-bottom: 4px;
  color: var(--rust-dark);
  border-bottom: 1px solid #b78d7f;
  font-size: 0.74rem;
  font-weight: 750;
}

.evidence-card > a span {
  margin-left: 4px;
}

.evidence-card > small {
  margin-top: 24px;
  padding-top: 18px;
  color: #6d777d;
  border-top: 1px solid var(--rule);
  font-size: 0.64rem;
  line-height: 1.55;
}

.fit-section {
  background: var(--paper-light);
  border-top: 1px solid var(--rule);
}

.fit-heading {
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 62px;
}

.fit-heading .section-label {
  margin-top: 10px;
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.fit-card {
  padding: clamp(32px, 4vw, 52px);
  background: var(--paper);
  border: 1px solid var(--rule);
}

.fit-card-positive {
  background: var(--sage);
  border-color: #bfcfc1;
}

.fit-card h3 {
  margin: 0 0 32px;
  font-size: 0.9rem;
}

.fit-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit-card li {
  position: relative;
  padding: 17px 0 17px 27px;
  color: var(--ink-soft);
  border-top: 1px solid rgba(23, 36, 45, 0.15);
  font-size: 0.79rem;
  line-height: 1.55;
}

.fit-card li:last-child {
  border-bottom: 1px solid rgba(23, 36, 45, 0.15);
}

.fit-card li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 1px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--rust-dark);
}

.fit-card-positive li::before {
  border-color: var(--sage-dark);
  background: var(--sage-dark);
}

.boundary-section {
  padding-block: clamp(90px, 10vw, 140px);
  color: var(--paper-light);
  background: var(--ink);
}

.boundary-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(440px, 1fr);
  gap: clamp(70px, 11vw, 160px);
}

.boundary-list {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.boundary-list article {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 30px;
  padding: 27px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.boundary-list h3 {
  margin: 0;
  color: #e4c8bd;
  font-size: 0.82rem;
}

.boundary-list p {
  margin: 0;
  color: #aeb7bc;
  font-size: 0.75rem;
  line-height: 1.62;
}

.final-section {
  padding-block: clamp(90px, 11vw, 155px);
  text-align: center;
  background: var(--paper-dark);
}

.final-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-inner .section-label {
  margin-bottom: 24px;
}

.final-section h2 {
  max-width: 940px;
}

.final-section p:not(.section-label) {
  max-width: 620px;
  margin: 26px auto 34px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  color: var(--paper-light);
  background: var(--ink-deep);
}

.guide-hero {
  color: var(--paper-light);
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    radial-gradient(circle at 82% 24%, rgba(151, 74, 50, 0.22), transparent 24%),
    var(--ink-deep);
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.guide-hero-inner {
  max-width: 980px;
  padding-block: clamp(84px, 11vw, 150px);
}

.guide-hero h1,
.guide-article h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.guide-hero h1 {
  max-width: 850px;
  margin-bottom: 26px;
  font-size: clamp(3.6rem, 7vw, 7.6rem);
  line-height: 0.96;
}

.guide-deck {
  max-width: 760px;
  color: #bac3c8;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 38px;
  padding-top: 22px;
  color: #98a4aa;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guide-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 780px);
  justify-content: space-between;
  gap: clamp(60px, 10vw, 150px);
  padding-block: clamp(76px, 10vw, 140px);
}

.guide-toc {
  position: sticky;
  top: 112px;
  align-self: start;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.guide-toc .section-label {
  margin-bottom: 16px;
}

.guide-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-toc li + li {
  margin-top: 12px;
}

.guide-toc a {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.guide-toc a:hover,
.guide-toc a:focus-visible {
  color: var(--rust-dark);
}

.guide-intro {
  padding-bottom: 70px;
  border-bottom: 1px solid var(--rule);
}

.guide-lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.1vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1.14;
}

.guide-intro > p:last-child,
.guide-section > p,
.guide-note,
.guide-disclosure {
  color: var(--muted);
}

.guide-section {
  padding-block: 76px;
  border-bottom: 1px solid var(--rule);
}

.guide-section .section-label {
  margin-bottom: 22px;
}

.guide-article h2 {
  margin-bottom: 40px;
  font-size: clamp(2.35rem, 4.7vw, 4.4rem);
  line-height: 1;
}

.checklist-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.checklist-steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}

.checklist-steps li > span,
.evidence-ladder article > span {
  color: var(--rust-dark);
  font-family: var(--mono);
  font-size: 0.66rem;
}

.checklist-steps h3,
.evidence-ladder h3,
.decision-cards h3 {
  margin-bottom: 9px;
  font-size: 1rem;
}

.checklist-steps p,
.evidence-ladder p,
.decision-cards p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.evidence-ladder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.evidence-ladder article {
  min-height: 230px;
  padding: 26px;
  background: var(--paper-light);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.evidence-ladder h3 {
  margin-top: 52px;
}

.acceptance-template {
  padding: 10px 30px;
  background: var(--ink-deep);
  border-top: 4px solid var(--rust);
}

.acceptance-template p {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  margin: 0;
  padding: 18px 0;
  color: #c2cbd0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.79rem;
}

.acceptance-template p:last-child {
  border-bottom: 0;
}

.acceptance-template strong {
  color: #e6c9bf;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.guide-note {
  margin: 22px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--rust);
  font-size: 0.72rem;
}

.decision-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.decision-cards article {
  min-height: 200px;
  padding: 24px;
  background: var(--paper-light);
  border: 1px solid var(--rule);
}

.decision-cards h3 {
  margin: 50px 0 10px;
  color: var(--rust-dark);
  font-family: var(--mono);
  letter-spacing: 0.06em;
}

.mistake-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.mistake-list li {
  position: relative;
  padding: 22px 0 22px 30px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
  font-size: 0.82rem;
  line-height: 1.6;
}

.guide-source-tag {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.mistake-list li::before {
  content: "×";
  position: absolute;
  left: 2px;
  color: var(--rust-dark);
  font-family: var(--mono);
}

.guide-cta {
  margin-top: 76px;
  padding: clamp(34px, 5vw, 58px);
  background: var(--sage);
  border: 1px solid #bdcbbc;
}

.guide-cta h2 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 4.5vw, 4.2rem);
}

.guide-cta > p:not(.section-label) {
  max-width: 650px;
}

.guide-cta .button {
  margin: 10px 0 24px;
}

.guide-disclosure {
  margin-bottom: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(23, 36, 45, 0.17);
  font-size: 0.64rem;
  line-height: 1.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 35px;
  align-items: center;
  padding-block: 52px 34px;
}

.footer-grid > p {
  margin: 0;
  color: #9ca7ad;
  font-size: 0.74rem;
}

.site-footer nav {
  display: flex;
  gap: 24px;
  color: #b8c0c4;
  font-size: 0.7rem;
}

.footer-grid > small {
  grid-column: 1 / -1;
  padding-top: 28px;
  color: #879299;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.62rem;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #d99a82;
  outline-offset: 4px;
}

@media (max-width: 1000px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 800px;
  }

  .decision-frame {
    width: min(100%, 690px);
  }

  .question-grid,
  .method-grid {
    grid-template-columns: 1fr 1fr;
  }

  .question-grid article:nth-child(3),
  .method-grid article:nth-child(3) {
    border-left: 1px solid var(--rule);
  }

  .question-grid article,
  .method-grid article {
    border-bottom: 1px solid var(--rule);
  }

  .output-grid,
  .boundary-grid {
    grid-template-columns: 1fr;
  }

  .output-copy {
    max-width: 760px;
  }

  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-toc {
    position: static;
  }

}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 40px), var(--max-width));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand > span:last-child {
    display: none;
  }

  .status-button {
    padding-inline: 10px;
    font-size: 0.62rem;
  }

  .hero-grid {
    min-height: auto;
    gap: 58px;
    padding-block: 76px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 16vw, 5rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .decision-frame {
    padding: 19px;
    box-shadow: 12px 12px 0 rgba(151, 74, 50, 0.08);
  }

  .decision-frame dl > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .principle-grid,
  .split-heading,
  .section-heading,
  .fit-heading,
  .fit-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .principle-grid > div,
  .principle-grid > div:first-child {
    min-height: 76px;
    padding-inline: 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .principle-grid > div:last-child {
    border-bottom: 0;
  }

  .split-heading,
  .section-heading {
    gap: 28px;
  }

  .section-heading > .section-label,
  .fit-heading .section-label {
    margin-top: 0;
  }

  .question-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .question-grid article,
  .question-grid article:first-child,
  .question-grid article:nth-child(3),
  .method-grid article,
  .method-grid article:first-child,
  .method-grid article:nth-child(3) {
    min-height: auto;
    padding: 30px 22px;
    border-right: 0;
    border-left: 0;
  }

  .question-grid h3,
  .method-grid h3 {
    margin-top: 42px;
  }

  .method-grid small {
    margin-top: 24px;
  }

  .output-grid,
  .boundary-grid {
    gap: 62px;
  }

  .packet-heading,
  .evidence-meta {
    display: grid;
  }

  .evidence-meta span:last-child {
    text-align: left;
  }

  .evidence-card {
    min-height: 430px;
  }

  .boundary-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .evidence-ladder,
  .decision-cards {
    grid-template-columns: 1fr;
  }

  .evidence-ladder article,
  .decision-cards article {
    min-height: auto;
  }

  .evidence-ladder h3,
  .decision-cards h3 {
    margin-top: 30px;
  }

  .footer-brand > span:last-child {
    display: inline;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .final-section .button,
  .skip-link {
    display: none;
  }

  .hero,
  .output-section,
  .boundary-section,
  .site-footer {
    color: var(--ink);
    background: var(--white);
  }

  .hero-grid {
    min-height: auto;
  }
}
