:root {
  color-scheme: light;
  --ink: #19252c;
  --muted: #657178;
  --soft: #8a9599;
  --paper: #f4f1e9;
  --panel: #fbfaf6;
  --blue: #155b70;
  --blue-deep: #0d3d4c;
  --mint: #cfe4d5;
  --line: #d7d9d2;
  --coral: #e78369;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.reading-bar { position: fixed; z-index: 20; top: 0; left: 0; width: 100%; height: 4px; background: transparent; }
.reading-bar span { display: block; width: 0; height: 100%; background: var(--coral); transition: width 100ms linear; }
.site-header { display: flex; align-items: center; justify-content: space-between; width: min(1240px, calc(100% - 3rem)); margin: 0 auto; padding: 1.45rem 0; border-bottom: 1px solid rgb(25 37 44 / 12%); }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--blue-deep); font-size: .96rem; font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; color: var(--paper); background: var(--blue); font-size: 1rem; }
.brand-dot { color: var(--coral); }
.top-nav { display: flex; gap: 1.6rem; }
.top-nav a { color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.top-nav a:hover, .top-nav a:focus-visible { color: var(--coral); }
a:focus-visible { outline: 3px solid var(--coral); outline-offset: 5px; border-radius: 2px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: clamp(3rem, 10vw, 9rem); align-items: end; width: min(1240px, calc(100% - 3rem)); margin: 0 auto; padding: clamp(5rem, 11vw, 9rem) 0 clamp(5rem, 11vw, 8rem); }
.hero-copy { max-width: 780px; }
.kicker, .section-kicker, .note-label, .section-index p, .mini-label { color: var(--blue); font-size: .7rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.kicker { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.7rem; }
.kicker-line { display: inline-block; width: 2.8rem; height: 2px; background: var(--coral); }
h1 { max-width: 800px; margin: 0; color: var(--blue-deep); font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.65rem, 8.3vw, 8.5rem); font-weight: 400; letter-spacing: -.075em; line-height: .88; }
h1 em { color: var(--coral); font-style: italic; }
.hero-summary { max-width: 680px; margin: 2.25rem 0 2rem; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.28rem); line-height: 1.7; }
.primary-link { display: inline-flex; align-items: center; gap: .7rem; padding: .9rem 1.25rem; border: 1px solid var(--blue); border-radius: 2px; color: var(--panel); background: var(--blue); font-size: .83rem; font-weight: 800; letter-spacing: .03em; text-decoration: none; transition: background 160ms ease, transform 160ms ease; }
.primary-link .link-arrow::after { color: var(--paper); content: "↗"; font-size: 1.15rem; line-height: 0; }
.primary-link:hover { background: var(--blue-deep); transform: translateY(-2px); }
.hero-note { align-self: center; padding: 1.45rem; border: 1px solid var(--line); border-radius: 2px; background: var(--panel); box-shadow: 12px 12px 0 var(--mint); }
.note-label { padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.workflow-list { display: grid; }
.workflow-item { display: grid; grid-template-columns: 2rem 1fr; column-gap: .6rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.workflow-item:last-child { padding-bottom: .2rem; border-bottom: 0; }
.workflow-item span { grid-row: span 2; color: var(--coral); font: 800 .72rem/1.5 "Courier New", monospace; }
.workflow-item strong { color: var(--blue-deep); font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; font-weight: 400; }
.workflow-item small { margin-top: .2rem; color: var(--soft); font-size: .76rem; line-height: 1.3; }
.content-layout { display: grid; grid-template-columns: 200px minmax(0, 850px); gap: clamp(2rem, 8vw, 8rem); justify-content: center; width: min(1240px, calc(100% - 3rem)); margin: 0 auto; padding-bottom: 5rem; }
.section-index { position: sticky; top: 2rem; align-self: start; padding-top: .25rem; }
.section-index p { margin: 0 0 1.5rem; color: var(--soft); font-size: .64rem; }
.index-link { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; color: var(--soft); font-size: .78rem; font-weight: 700; text-decoration: none; transition: color 160ms ease, transform 160ms ease; }
.index-link span { color: var(--line); font: 700 .68rem "Courier New", monospace; }
.index-link:hover, .index-link.is-active { color: var(--blue); transform: translateX(3px); }
.index-link.is-active span { color: var(--coral); }
.sections { min-width: 0; }
.content-section { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 1.35rem; padding: clamp(3.5rem, 7vw, 6rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 2rem; }
.content-section:first-child { border-top: 0; padding-top: .25rem; }
.section-number { padding-top: .35rem; color: var(--coral); font: 800 .7rem "Courier New", monospace; letter-spacing: .02em; }
.section-kicker { margin: 0 0 .8rem; font-size: .66rem; }
h2 { max-width: 700px; margin: 0 0 1.4rem; color: var(--blue-deep); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.05rem, 4vw, 3.65rem); font-weight: 400; letter-spacing: -.055em; line-height: .98; }
.section-content > p:not(.section-kicker) { max-width: 700px; margin: 0 0 1.05rem; color: var(--muted); font-size: 1rem; line-height: 1.78; }
.callout { display: flex; gap: 1rem; align-items: flex-start; max-width: 700px; margin-top: 1.8rem; padding: 1rem 1.1rem; border-left: 3px solid var(--coral); background: rgb(231 131 105 / 10%); }
.callout-icon { color: var(--coral); font-size: 1.4rem; line-height: 1.2; }
.callout p { margin: 0; color: var(--blue-deep); font-size: .9rem; line-height: 1.55; }
.callout strong { font-weight: 800; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; max-width: 700px; margin-top: 2rem; }
.mini-grid > div { display: flex; flex-direction: column; gap: .45rem; min-height: 100px; padding: 1rem; border: 1px solid var(--line); background: var(--panel); }
.mini-label { color: var(--soft); font-size: .58rem; }
.mini-grid strong { color: var(--blue-deep); font-family: Georgia, "Times New Roman", serif; font-size: 1.03rem; font-weight: 400; line-height: 1.15; }
.layer-diagram { position: relative; max-width: 700px; margin-top: 2.2rem; padding: .5rem 2.2rem .5rem 0; }
.layer { display: grid; grid-template-columns: 2rem 1fr; column-gap: .8rem; width: 88%; padding: 1rem 1.2rem; border: 1px solid var(--blue); }
.layer span { grid-row: span 2; color: var(--coral); font: 800 .72rem "Courier New", monospace; }
.layer strong { color: var(--blue-deep); font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; font-weight: 400; }
.layer small { color: var(--muted); font-size: .76rem; }
.layer-top { position: relative; z-index: 2; margin-left: 11%; background: var(--mint); }
.layer-bottom { margin-top: -1px; background: var(--panel); }
.layer-bracket { position: absolute; top: 1.2rem; right: .6rem; width: 1.3rem; height: 5.1rem; border-top: 1px solid var(--coral); border-right: 1px solid var(--coral); border-bottom: 1px solid var(--coral); }
.quote-strip { display: flex; gap: .7rem; align-items: flex-start; max-width: 700px; margin-top: 2rem; padding: 1.2rem 1.3rem; background: var(--blue-deep); }
.quote-strip > span { color: var(--coral); font-family: Georgia, serif; font-size: 2.6rem; line-height: .7; }
.quote-strip p { margin: 0; color: var(--paper); font-family: Georgia, serif; font-size: 1.18rem; line-height: 1.45; }
.checklist { display: grid; gap: .7rem; max-width: 700px; margin-top: 1.9rem; }
.checklist > div { display: flex; align-items: center; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--blue-deep); font-size: .9rem; }
.checkmark { display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; color: var(--blue-deep); background: var(--mint); font-size: .78rem; font-weight: 900; }
.evidence-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; max-width: 700px; margin-top: 2rem; }
.evidence-card { display: flex; flex-direction: column; min-height: 130px; padding: .85rem .7rem; border-top: 3px solid var(--blue); background: var(--panel); }
.evidence-card span { color: var(--coral); font: 800 .63rem "Courier New", monospace; }
.evidence-card strong { margin-top: auto; color: var(--blue-deep); font-family: Georgia, serif; font-size: 1rem; font-weight: 400; }
.evidence-card small { margin-top: .35rem; color: var(--soft); font-size: .67rem; line-height: 1.35; }
.sequence-line { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; max-width: 700px; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--blue-deep); font-family: Georgia, serif; font-size: 1.1rem; }
.sequence-line i { color: var(--coral); font-family: "Courier New", monospace; font-size: 1rem; font-style: normal; }
.faq-section { padding-bottom: 7rem; }
.faq-list { max-width: 700px; margin-top: 2rem; border-top: 1px solid var(--blue); }
details { border-bottom: 1px solid var(--line); }
summary { display: grid; grid-template-columns: 2.5rem 1fr; gap: .6rem; align-items: center; padding: 1.15rem 0; color: var(--blue-deep); cursor: pointer; font-family: Georgia, serif; font-size: 1.15rem; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { justify-self: end; color: var(--coral); content: "+"; font-family: Arial, sans-serif; font-size: 1.35rem; font-weight: 300; }
details[open] summary::after { content: "−"; }
summary span { color: var(--coral); font: 800 .68rem "Courier New", monospace; }
.faq-answer { padding: 0 2.5rem 1.3rem; }
.faq-answer p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.75; }
.site-footer { display: flex; justify-content: space-between; width: min(1240px, calc(100% - 3rem)); margin: 0 auto; padding: 1.5rem 0 2.5rem; border-top: 1px solid var(--line); color: var(--soft); font: 700 .65rem "Courier New", monospace; letter-spacing: .05em; text-transform: uppercase; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; }
  .hero-note { max-width: 480px; }
  .content-layout { grid-template-columns: 1fr; }
  .section-index { position: static; display: flex; gap: 1rem; overflow-x: auto; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .section-index p { display: none; }
  .index-link { flex: 0 0 auto; padding: .2rem 0; }
  .index-link span { margin-right: -.3rem; }
}
@media (max-width: 560px) {
  .site-header, .hero, .content-layout, .site-footer { width: min(100% - 2rem, 1240px); }
  .top-nav { display: none; }
  .hero { padding-top: 4.5rem; }
  h1 { font-size: clamp(3.45rem, 16vw, 5.5rem); }
  .content-section { grid-template-columns: 1fr; gap: .6rem; }
  .section-number { padding-top: 0; }
  .mini-grid { grid-template-columns: 1fr; }
  .evidence-grid { grid-template-columns: repeat(2, 1fr); }
  .evidence-card:last-child { grid-column: span 2; }
  .site-footer { flex-direction: column; gap: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
