:root {
  color-scheme: light;
  --paper: #f6f1e6;
  --linen: #eee6d6;
  --sheet: #fffdf8;
  --ink: #2a2420;
  --muted: #6e655a;
  --line: #cbbfa8;
  --accent: #a84b2a;
  --accent-dark: #7f351c;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { color: var(--accent-dark); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
h1 { margin-bottom: 26px; font-size: clamp(3rem, 5.6vw, 5.3rem); line-height: 1.06; letter-spacing: -0.045em; }
h1 em { color: var(--accent); font-weight: 400; }
h2 { margin-bottom: 18px; font-size: clamp(2.4rem, 4vw, 3.5rem); line-height: 1.12; letter-spacing: -0.035em; }
h3 { margin-bottom: 10px; font-size: 1.6rem; line-height: 1.2; }
p:last-child { margin-bottom: 0; }
.skip-link { position: absolute; z-index: 100; top: -100px; left: 16px; padding: 12px 18px; background: var(--sheet); }
.skip-link:focus { top: 12px; }
.topbar, main, footer { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; }
.brand img { border-radius: 7px; }
.brand small { display: block; font-size: 0.67rem; letter-spacing: 0.18em; font-weight: 500; text-transform: uppercase; }
.topbar nav { display: flex; flex-wrap: wrap; gap: 24px; }
.topbar nav a { color: var(--ink); font-size: 0.88rem; text-decoration: none; padding-block: 6px; }
.topbar nav a:hover { color: var(--accent); text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(36px, 6vw, 90px); align-items: center; padding: 88px 0 76px; }
.eyebrow { margin: 0 0 20px; color: var(--accent); font-size: 0.69rem; font-weight: 650; letter-spacing: 0.13em; text-transform: uppercase; }
.lead { max-width: 580px; color: #453d35; font-size: 1.08rem; line-height: 1.8; }
.action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; border: 1px solid var(--line); border-radius: 4px; padding: 11px 20px; color: var(--ink); background: var(--sheet); text-decoration: none; font-size: 0.86rem; font-weight: 600; transition: background 160ms ease; }
.button:hover { color: var(--ink); background: var(--linen); }
.button.primary { color: white; border-color: var(--accent); background: var(--accent); }
.button.primary:hover { color: white; background: var(--accent-dark); }
.boundary { margin: 24px 0 0; max-width: 490px; color: var(--muted); font-size: 0.77rem; line-height: 1.7; }
.notebook { position: relative; padding: 28px 30px 25px; background: var(--sheet); border: 1px solid var(--line); box-shadow: 5px 5px 0 var(--linen), 6px 6px 0 var(--line); }
.notebook::before { content: ""; position: absolute; top: -1px; right: 28px; width: 18px; height: 47px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); }
.notebook-heading { display: flex; justify-content: space-between; padding-right: 44px; padding-bottom: 19px; border-bottom: 3px double var(--line); color: var(--muted); font-size: 0.67rem; text-transform: uppercase; letter-spacing: 0.1em; }
.notebook-title { margin: 28px 0; font-family: var(--serif); font-size: 1.9rem; line-height: 1.3; }
.principles { list-style: none; padding: 0; margin: 0; }
.principles li { display: flex; gap: 18px; padding: 17px 0; border-top: 1px solid #e2d9c8; }
.principles li > span { color: var(--accent); font-family: var(--serif); font-style: italic; }
.principles strong { font-size: 0.85rem; font-weight: 600; }
.principles p { margin: 4px 0 0; color: var(--muted); font-size: 0.8rem; line-height: 1.65; }
.notebook-foot { margin-top: 24px; padding-top: 16px; border-top: 3px double var(--line); font-size: 0.64rem; color: var(--muted); }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); padding: 25px 0; gap: 32px; }
.strip article { padding-right: 32px; }
.strip article + article { border-left: 1px solid var(--line); padding-left: 32px; }
.strip strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.strip p { margin: 5px 0 0; color: var(--muted); font-size: 0.83rem; }
.section { padding-block: 78px; }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { max-width: 690px; margin-bottom: 38px; }
.section-heading > p:not(.eyebrow) { max-width: 650px; color: var(--muted); }
.chapter-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.chapter { border-top: 3px double var(--line); padding-top: 20px; }
.chapter-number { display: block; color: var(--accent); font-size: 0.67rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.chapter h3 { font-size: 1.4rem; }
.chapter p { color: var(--muted); font-size: 0.85rem; }
.section-note { margin: 30px 0 0; color: var(--muted); font-size: 0.82rem; }
kbd { border: 1px solid var(--line); border-radius: 3px; padding: 2px 5px; font-size: 0.75rem; }
.capture-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.capture { margin: 0; border: 1px solid var(--line); background: var(--sheet); }
.capture.wide { grid-column: 1 / -1; }
.capture a { display: block; }
.capture img { width: 100%; }
.capture figcaption { padding: 18px 20px; border-top: 1px solid var(--line); font-size: 0.84rem; }
.capture figcaption strong, .capture figcaption span { display: block; }
.capture figcaption span { margin-top: 5px; color: var(--muted); }
.evidence-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.evidence-card { padding: 30px; border: 1px solid var(--line); background: var(--sheet); }
.evidence-card .eyebrow { display: block; margin-bottom: 25px; }
.evidence-card p { color: var(--muted); font-size: 0.87rem; }
.evidence-card a { font-size: 0.8rem; }
.model-note { margin-top: 28px; border-left: 3px solid var(--accent); padding: 16px 24px; background: var(--linen); font-size: 0.85rem; }
.model-note p { color: #453d35; margin: 8px 0 0; }
.launch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 36px; }
.launch-card { display: block; padding: 25px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.launch-card .eyebrow { display: block; margin-bottom: 14px; }
.launch-card h3 { display: flex; justify-content: space-between; gap: 18px; }
.launch-card h3 span { color: var(--accent); }
.launch-card p { color: var(--muted); font-size: 0.89rem; max-width: 490px; }
.launch-card:hover h3 { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.safety { display: grid; grid-template-columns: 1fr auto; gap: 64px; padding: 40px; margin-bottom: 60px; border-block: 3px double var(--line); background: var(--linen); }
.safety h2 { font-size: 2.4rem; }
.safety p:not(.eyebrow) { max-width: 770px; font-size: 0.86rem; color: #453d35; }
.safety-actions { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; }
.text-link { font-size: 0.77rem; }
footer { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0 36px; border-top: 1px solid var(--line); font-size: 0.75rem; color: var(--muted); }
@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr 0.85fr; gap: 35px; padding-top: 60px; }
  .chapter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .evidence-card { padding: 22px; }
  .safety { gap: 30px; }
}
@media (max-width: 780px) {
  .topbar, main, footer { width: calc(100% - 40px); }
  .topbar { align-items: flex-start; flex-direction: column; gap: 16px; }
  .topbar nav { gap: 20px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 50px; }
  h1 { font-size: clamp(3.1rem, 10vw, 4.6rem); }
  .notebook { max-width: 550px; }
  .strip { gap: 18px; }
  .strip article { padding-right: 0; }
  .strip article + article { padding-left: 18px; }
  .chapter-grid, .evidence-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evidence-card:last-child { grid-column: 1 / -1; }
  .section { padding-block: 55px; }
  .safety { grid-template-columns: 1fr; padding: 28px; }
}
@media (max-width: 500px) {
  .topbar, main, footer { width: calc(100% - 32px); }
  .topbar nav { gap: 18px; }
  .topbar nav a { font-size: 0.78rem; }
  .notebook { padding: 22px; }
  .strip, .chapter-grid, .evidence-grid, .launch-grid, .capture-grid { grid-template-columns: 1fr; }
  .strip article + article { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0 0; }
  .chapter-grid { gap: 22px; }
  .chapter { padding-top: 16px; }
  .chapter-number { margin-bottom: 12px; }
  .launch-grid { gap: 0; }
  .capture.wide, .evidence-card:last-child { grid-column: auto; }
  .action-row .button { width: 100%; }
  .safety { padding: 24px; margin-bottom: 30px; }
  footer { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
