/* EonAI site stylesheet. Design tokens come from the approved prototype. */
/* Self-hosted Google Fonts (latin subset, SIL OFL; see assets/fonts/). Preloaded in <head> so they arrive before first paint. */
@font-face { font-family: 'Space Grotesk'; src: url('fonts/space-grotesk.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/plex-sans.woff2') format('woff2'); font-weight: 100 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('fonts/plex-mono-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('fonts/plex-mono-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
/* Metric-matched fallbacks keep layout stable while the web fonts load. */
@font-face { font-family: 'Space Grotesk Fallback'; src: local('Arial'), local('Liberation Sans'); size-adjust: 102%; }
@font-face { font-family: 'IBM Plex Sans Fallback'; src: local('Arial'), local('Liberation Sans'); size-adjust: 101.8%; }
@font-face { font-family: 'IBM Plex Mono Fallback'; src: local('Courier New'), local('Liberation Mono'); }

:root {
  --ink: #0E1726;
  --navy: #0B1220;
  --panel: #111A2E;
  --border-dark: #22304A;
  --ground: #F5F6F8;
  --card: #FFFFFF;
  --border: #E1E5EC;
  --body-grey: #475266;
  --caption-grey: #5B6678;
  --accent: #2B5BFF;
  --accent-light: #8FB0FF;
  --link: #1E3FBF;
  --link-hover: #142C8A;
  --text: #2A3446;
  --tint: #EEF2FF;
  --tint-border: #D5DDF8;
  --line: #D3D9E3;
  --input-border: #C9D0DC;
  --row-line: #EEF1F5;
  --header-line: #1C2638;
  --ghost-line: #3A4760;
  --on-dark: #C9D2E3;
  --on-dark-soft: #E3E8F1;
  --on-dark-check: #DCE3EF;
  --on-dark-muted: #A9B5CB;
  --on-dark-quiet: #93A1BC;
  --font-head: 'Space Grotesk', 'Space Grotesk Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'IBM Plex Sans', 'IBM Plex Sans Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'IBM Plex Mono Fallback', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(20px, 4vw, 32px);
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--accent-light); }
h1, h2, h3 { margin: 0; font-family: var(--font-head); }
p { margin: 0; }
ul, ol { margin: 0; }

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 20;
  background: var(--accent); color: #fff; padding: 12px 18px; border-radius: 6px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-top: clamp(56px, 8vw, 96px); }
.section--tall { padding-top: clamp(64px, 9vw, 112px); }
.on-dark { background: var(--navy); color: #fff; }

/* Shared type */
.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; color: var(--accent); }
.on-dark .eyebrow, .eyebrow--light { color: var(--accent-light); }
.eyebrow--sm { font-size: 12px; }
.eyebrow--xs { font-size: 11px; letter-spacing: 0.1em; }
.eyebrow--grey { color: var(--caption-grey); }
.band-dark .eyebrow, .card--dark .eyebrow, .note-card--dark .eyebrow, .note-card--featured .eyebrow { color: var(--accent-light); }
.note-card--featured .eyebrow--quiet, .eyebrow--quiet { color: var(--on-dark-quiet); }
.h2 { font-weight: 700; font-size: clamp(30px, 5vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
.h2--md { font-size: clamp(28px, 4.2vw, 36px); }
.lede { font-size: 17px; line-height: 1.6; color: var(--body-grey); }
.on-dark .lede { color: var(--on-dark); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 48px; }
.section-head--wide { max-width: 800px; margin-bottom: 44px; }
.section-head--split { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.section-head--split .section-head { margin-bottom: 0; }
.section-head--tight { margin-bottom: 40px; }
.link-strong { font-weight: 600; font-size: 16px; text-decoration: none; color: var(--accent); }
.link-strong:hover { text-decoration: underline; color: var(--accent); }
.on-dark .link-strong, .link-light { color: #fff; }
.on-dark .link-strong:hover, .link-light:hover { color: #fff; }

/* Buttons */
.btn {
  display: inline-block; font: inherit; font-weight: 600; font-size: 16px; line-height: 1.2;
  padding: 16px 28px; border-radius: 6px; border: 1px solid transparent; text-decoration: none; cursor: pointer;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #2350E6; color: #fff; }
.btn--ghost { color: #fff; border-color: var(--ghost-line); }
.btn--ghost:hover { color: #fff; border-color: var(--on-dark-quiet); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--panel); color: #fff; }
.btn--sm { padding: 12px 20px; font-size: 15px; }

/* Header */
.site-header { background: var(--navy); border-bottom: 1px solid var(--header-line); }
.site-header__inner {
  max-width: 1200px; margin: 0 auto; padding: 20px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand__logo { display: block; height: 36px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; font-size: 15px; }
.nav a { color: var(--on-dark); text-decoration: none; padding: 6px 0; }
.nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.nav a[aria-current="page"] { color: #fff; font-weight: 600; }
.nav .btn { color: #fff; padding: 12px 20px; font-size: 15px; }
.nav .btn:hover { text-decoration: none; }
.nav-toggle {
  display: none; font: inherit; font-size: 15px; font-weight: 600; color: #fff; background: transparent;
  border: 1px solid var(--ghost-line); border-radius: 6px; padding: 10px 16px; cursor: pointer;
}
@media (max-width: 900px) {
  .js .nav-toggle { display: inline-block; }
  .js .nav { display: none; flex-direction: column; align-items: stretch; width: 100%; gap: 4px; padding-top: 8px; }
  .js .nav.is-open { display: flex; }
  .js .nav a { padding: 12px 0; border-top: 1px solid var(--header-line); }
  .js .nav .btn { margin-top: 8px; text-align: center; border-top: 0; }
}

/* Hero */
.hero__inner { padding-block: clamp(56px, 9vw, 104px) clamp(48px, 7vw, 88px); display: flex; flex-direction: column; gap: 32px; }
.hero h1, .page-title h1 {
  font-weight: 700; font-size: clamp(38px, 7vw, 68px); line-height: 1.04; letter-spacing: -0.025em; max-width: 960px;
}
.hero__lead { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.6; color: var(--on-dark); max-width: 740px; }
.hero__sub { font-size: 17px; line-height: 1.6; color: var(--on-dark-quiet); max-width: 740px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 4px; }
.hero__checks {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px;
  padding-top: 28px; margin-top: 24px; border-top: 1px solid var(--header-line); list-style: none; padding-inline: 0; padding-bottom: 0;
}
.hero__checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--on-dark-check); }
.hero__checks svg { flex: none; margin-top: 2px; }
.hero__checks strong { color: #fff; font-weight: 600; }

/* Page title band (notes index, privacy, 404) */
.page-title__inner { padding-block: clamp(56px, 8vw, 88px) clamp(48px, 6vw, 72px); display: flex; flex-direction: column; gap: 24px; }
.page-title h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.06; max-width: 900px; }
.page-title__lead { font-size: 19px; line-height: 1.6; color: var(--on-dark); max-width: 760px; }
.page-title__fine { font-size: 14px; line-height: 1.6; color: var(--on-dark-quiet); max-width: 760px; }

/* Cards and grids */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--trust { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.grid--engage { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--dark { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 14px; color: var(--ink);
}
.card--lg { padding: 32px; gap: 12px; }
.card--svc { padding: 32px; gap: 16px; }
.card--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.card--highlight { background: var(--tint); border-color: var(--tint-border); }
.card--center { justify-content: center; gap: 12px; }
.card__title { font-weight: 600; font-size: 22px; line-height: 1.3; }
.card__title--sm { font-size: 20px; }
.card__title--xs { font-size: 18px; }
.card__title--eng { font-size: 21px; }
.card__text { font-size: 15px; line-height: 1.6; color: var(--body-grey); }
.card__text--sm { font-size: 14px; line-height: 1.6; }
.card--dark .card__text { color: var(--on-dark); }
.card__more { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--accent); }
.card__more:hover { color: var(--accent); text-decoration: underline; }
.card__more--bottom { margin-top: auto; padding-top: 6px; font-size: 14px; }
.card--lg .card__more { margin-top: 8px; }
.card--dark .card__more { color: #fff; }
.card__tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--accent); margin-top: auto; padding-top: 6px; }
.card__list { padding-left: 18px; font-size: 14px; line-height: 1.8; color: var(--text); }
.card--dark .card__list { color: var(--on-dark-soft); }
.card__list--eng { line-height: 1.7; }
.card__label { font-size: 13px; font-weight: 600; color: var(--ink); margin-top: 4px; }
.card__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--row-line); font-size: 13px; color: var(--caption-grey); }
.card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.card__meta { font-family: var(--font-mono); font-size: 13px; color: var(--caption-grey); }
.card__num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.card--dark .card__num { color: var(--accent-light); }
.card .eyebrow--tag { margin: 0; }

/* Why pilots stall */
.band-dark {
  background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(28px, 5vw, 40px) clamp(24px, 5vw, 48px);
  display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start;
}
.band-dark__title { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.band-dark__title h2 { font-weight: 600; font-size: 24px; line-height: 1.25; }
.band-dark__list {
  flex: 999 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px 32px; font-size: 15px; line-height: 1.55; color: var(--on-dark); list-style: none; padding: 0;
}
.band-dark__list strong { color: #fff; font-weight: 600; }

/* Use cases */
.usecases { margin-top: clamp(64px, 8vw, 96px); }
.usecases__inner { padding-block: clamp(64px, 9vw, 112px); }
.ucard {
  background: var(--panel); border: 1px solid var(--border-dark); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.ucard h3 { font-weight: 600; font-size: 18px; }
.ucard p { font-size: 14px; line-height: 1.55; color: var(--on-dark-muted); }
.ucard__seen { font-family: var(--font-mono); font-size: 12px; color: var(--accent-light); margin-top: auto; padding-top: 8px; }
.ucard__note { font-size: 13px; font-weight: 600; color: #fff; text-decoration: none; margin-top: auto; padding-top: 10px; display: block; }
.ucard__note:hover { color: #fff; text-decoration: underline; }
.usecases__foot { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.usecases__foot p { font-size: 13px; color: var(--on-dark-quiet); max-width: 720px; }
.usecases__foot a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.usecases__foot a:hover { color: #fff; text-decoration: underline; }

/* Approach */
.panel-light { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 5vw, 48px); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; list-style: none; padding: 0; }
.step { display: flex; flex-direction: column; gap: 10px; }
.step__num {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700;
}
.step h3 { font-weight: 600; font-size: 20px; }

/* Pull quote */
.pullquote {
  margin: 32px 0 0; background: var(--card); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px; display: flex; flex-direction: column; gap: 8px; max-width: 900px;
}
.pullquote p:first-child { font-family: var(--font-head); font-size: 19px; line-height: 1.4; color: var(--ink); }
.pullquote p:last-child { font-size: 13px; color: var(--caption-grey); }

/* Pills */
.pills { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; padding: 0; list-style: none; }
.pills--sector { gap: 16px 20px; margin-top: 40px; }
.pills__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--caption-grey); margin-right: 8px; }
.pill { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--ink); }
.pills--sector .pill { padding: 9px 16px; }
.pill--active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Labs / about */
.band-labs { padding: clamp(28px, 5vw, 48px); gap: 48px; }
.band-labs .band-dark__title { flex-basis: 320px; gap: 16px; }
.band-labs .band-dark__title h2 { font-weight: 700; font-size: clamp(28px, 4.2vw, 36px); line-height: 1.1; letter-spacing: -0.02em; }
.band-labs .band-dark__title p { font-size: 15px; line-height: 1.6; color: var(--on-dark); }
.labs-grid { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.about { display: flex; flex-direction: column; gap: 16px; max-width: 800px; }
.about p { font-size: 15px; line-height: 1.6; color: var(--body-grey); }

/* FAQ */
.faq { display: flex; flex-wrap: wrap; gap: 48px; }
.faq__head { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.faq__list { flex: 999 1 560px; min-width: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary {
  cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 19px; list-style: none;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font-family: var(--font-mono); font-weight: 500; font-size: 22px; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--body-grey); }

/* Contact */
.contact { background: var(--card); border-top: 1px solid var(--border); }
.contact__inner { padding-block: clamp(64px, 9vw, 112px); display: flex; flex-wrap: wrap; gap: 64px; }
.contact__copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact__actions { display: flex; flex-direction: column; gap: 14px; padding-top: 4px; font-size: 16px; }
.contact__actions .btn { align-self: flex-start; }
.contact__mail { font-weight: 600; text-decoration: none; margin-top: 8px; align-self: flex-start; }
.contact__mail:hover { text-decoration: underline; }
.next { margin-top: 16px; border-top: 1px solid var(--border); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.next ol { padding-left: 20px; font-size: 15px; line-height: 1.7; color: var(--text); }
.form {
  flex: 1 1 440px; min-width: 0; background: var(--ground); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(20px, 4vw, 32px); display: flex; flex-direction: column; gap: 18px;
}
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; padding: 13px 14px; border: 1px solid var(--input-border); border-radius: 6px;
  background: var(--card); color: var(--ink); width: 100%;
}
.field textarea { resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--body-grey); }
.check input { margin-top: 3px; width: 16px; height: 16px; flex: none; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__actions span { font-size: 13px; color: var(--caption-grey); }
.form__status { font-size: 15px; line-height: 1.6; padding: 14px 16px; border-radius: 6px; }
.form__status[hidden] { display: none; }
.form__status--ok { background: var(--tint); border: 1px solid var(--tint-border); color: var(--ink); }
.form__status--error { background: var(--card); border: 1px solid var(--ink); color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: 0.7; cursor: wait; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-dark-muted); margin-top: 0; }
.site-footer__inner {
  max-width: 1200px; margin: 0 auto; padding: 48px var(--gutter);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; font-size: 13px; line-height: 1.7;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 10px; max-width: 420px; }
.site-footer__name { align-self: flex-start; }
.site-footer__logo { display: block; height: 30px; width: auto; }
.site-footer__legal { padding-top: 8px; }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: 32px 48px; }
.site-footer__col { display: flex; flex-direction: column; gap: 6px; }
.site-footer__col strong { color: #fff; font-weight: 600; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; padding: 2px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__copy { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter) 32px; font-size: 12px; color: var(--on-dark-quiet); }

/* Notes index */
.note-card {
  text-decoration: none; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 12px; color: var(--ink);
}
.note-card:hover { color: var(--ink); border-color: var(--accent); }
.note-card__meta { display: flex; flex-wrap: wrap; gap: 10px; }
.note-card h2, .note-card h3 { font-weight: 600; font-size: 21px; line-height: 1.3; }
.note-card p { font-size: 15px; line-height: 1.6; color: var(--body-grey); }
.note-card__cta { font-size: 14px; font-weight: 600; color: var(--accent); margin-top: auto; padding-top: 6px; }
.note-card--featured { background: var(--ink); border-color: var(--ink); color: #fff; padding: 32px; grid-column: 1 / -1; }
.note-card--featured:hover { color: #fff; border-color: var(--accent-light); }
.note-card--featured h3 { font-weight: 700; font-size: clamp(24px, 3.4vw, 30px); line-height: 1.2; max-width: 820px; }
.note-card--featured p { font-size: 16px; color: var(--on-dark); max-width: 820px; }
.note-card--featured .note-card__cta { color: #fff; margin-top: 6px; }
.note-card--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.note-card--dark:hover { color: #fff; border-color: var(--accent-light); }
.note-card--dark h3 { font-size: 20px; }
.note-card--dark p { font-size: 14px; color: var(--on-dark); }
.note-card--dark .note-card__cta { color: #fff; }
.note-card--talk { background: var(--tint); border-color: var(--tint-border); }
.note-card--talk:hover { border-color: var(--accent); }
.note-card__thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: var(--ink); }
.notes-home h3 { font-size: 20px; }
.notes-home p { font-size: 14px; }

/* Note page */
.crumb { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--on-dark-quiet); text-decoration: none; align-self: flex-start; }
.crumb:hover { color: #fff; text-decoration: underline; }
.note-hero__inner { padding-block: clamp(48px, 7vw, 72px) clamp(40px, 6vw, 64px); display: flex; flex-direction: column; gap: 22px; }
.note-hero h1 { font-weight: 700; font-size: clamp(32px, 5vw, 50px); line-height: 1.08; letter-spacing: -0.025em; max-width: 920px; }
.note-hero__lead { font-size: 19px; line-height: 1.6; color: var(--on-dark); max-width: 820px; }
.note-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 13px; color: var(--on-dark-quiet); padding-top: 6px; }
.note-layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-block: clamp(40px, 6vw, 64px) clamp(64px, 9vw, 112px); }
.article { flex: 999 1 620px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 36px; font-size: 17px; line-height: 1.7; color: var(--text); }
.article section { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 24px; }
.article h2 { font-weight: 700; font-size: 28px; line-height: 1.2; color: var(--ink); }
.article ol, .article ul { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.article li strong { font-weight: 600; }
.table-wrap { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; }
.table-wrap:focus-visible { outline-offset: 0; }
.scenario { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.55; text-align: left; }
.scenario th { padding: 14px 20px; border-bottom: 1px solid var(--border); font-family: var(--font-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.1em; color: var(--caption-grey); vertical-align: top; }
.scenario td { padding: 16px 20px; vertical-align: top; border-bottom: 1px solid var(--row-line); }
.scenario tr:last-child td { border-bottom: 0; }
.scenario td:first-child { font-weight: 600; width: 22%; }
.scenario td:last-child { color: var(--body-grey); width: 28%; }
.recommend { background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.article .recommend h2 { font-family: var(--font-mono); font-weight: 400; font-size: 12px; line-height: 1.5; letter-spacing: 0.12em; color: var(--accent-light); }
.recommend p { font-size: 17px; line-height: 1.65; color: var(--on-dark-soft); }
.article .recommend { gap: 12px; }
.provenance { font-size: 14px; line-height: 1.6; color: var(--caption-grey); }
.draft-flag {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--ink); background: var(--tint);
  border: 1px dashed var(--accent); border-radius: 6px; padding: 10px 14px; align-self: flex-start;
}
.sidebar { flex: 1 1 280px; min-width: 0; max-width: 340px; display: flex; flex-direction: column; gap: 20px; }
.side-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.side-card--cta { background: var(--tint); border-color: var(--tint-border); gap: 10px; }
.side-card a { font-size: 14px; line-height: 1.5; text-decoration: none; color: var(--text); }
.side-card a:hover { text-decoration: underline; }
.side-card h2 { font-weight: 600; font-size: 17px; }
.side-card p { font-size: 14px; line-height: 1.6; color: var(--body-grey); }
.side-card a.card__more { font-weight: 600; color: var(--accent); }
@media (min-width: 1000px) { .sidebar { position: sticky; top: 24px; } }

/* Prose pages (privacy, 404) */
.prose { max-width: 760px; padding-block: clamp(40px, 6vw, 64px) clamp(64px, 9vw, 112px); display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.7; color: var(--text); }
.prose h2 { font-weight: 700; font-size: 24px; line-height: 1.2; color: var(--ink); margin-top: 18px; }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose .todo { font-family: var(--font-mono); font-size: 14px; }
.prose-404 { padding-block: clamp(56px, 10vw, 120px); display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.prose-404 p { font-size: 19px; line-height: 1.6; color: var(--on-dark); }

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