:root {
  --ink: #0b1020;
  --ink-2: #111936;
  --paper: #f6f1e8;
  --paper-2: #fffaf0;
  --white: #ffffff;
  --muted: #aeb8cb;
  --text: #171b28;
  --hot: #ff6b62;
  --lime: #d7ff58;
  --aqua: #70e1d1;
  --violet: #a997ff;
  --line: rgba(255,255,255,.14);
  --max: 1160px;
  --article: 760px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Arial, sans-serif;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid #176c68; outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 14px; font-weight: 900; }
.skip-link:focus { top: 16px; }
.shell { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11,16,32,.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  color: white;
}
.header-inner { min-height: 70px; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid var(--lime); color: var(--lime); font-weight: 1000; transform: rotate(-4deg); box-shadow: 4px 4px 0 var(--hot); }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: .95rem; letter-spacing: .04em; }
.brand-copy small { color: var(--muted); font-size: .65rem; letter-spacing: .1em; margin-top: 5px; text-transform: uppercase; }
.site-nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.site-nav a { color: #dfe5f2; text-decoration: none; font-size: .82rem; font-weight: 800; }
.site-nav a:hover { color: var(--lime); }
.hero {
  color: var(--paper);
  background:
    radial-gradient(circle at 85% 14%, rgba(169,151,255,.25), transparent 24rem),
    radial-gradient(circle at 12% 75%, rgba(112,225,209,.13), transparent 30rem),
    var(--ink);
  overflow: hidden;
  position: relative;
}
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(to bottom, black, transparent); }
.hero-inner { position: relative; z-index: 1; padding: 82px 0 78px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; color: #b8c1d3; font-size: .76rem; }
.breadcrumbs a { text-underline-offset: 3px; }
.eyebrow { margin: 48px 0 12px; color: var(--aqua); font-size: .75rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1 { max-width: 930px; margin: 0; font-size: clamp(3rem, 7.5vw, 7rem); line-height: .89; letter-spacing: -.075em; }
.hero-lead { max-width: 760px; margin: 24px 0 0; color: #c8d1e2; font-size: clamp(1.03rem, 1.7vw, 1.25rem); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 30px; color: #aeb8cb; font-size: .78rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 15px; border: 1px solid transparent; text-decoration: none; font-weight: 900; cursor: pointer; }
.btn--primary { background: var(--lime); color: var(--ink); box-shadow: 5px 5px 0 var(--hot); }
.btn--ghost { color: white; border-color: rgba(255,255,255,.3); background: transparent; }
.article-layout { display: grid; grid-template-columns: minmax(0, var(--article)) minmax(230px, 1fr); gap: 70px; align-items: start; padding: 70px 0 92px; }
.article { min-width: 0; }
.article > p:first-of-type { font-size: 1.16rem; line-height: 1.72; }
.article h2 { margin: 64px 0 16px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.05em; }
.article h3 { margin: 34px 0 10px; font-size: 1.4rem; line-height: 1.18; letter-spacing: -.02em; }
.article p { margin: 0 0 20px; }
.article ul, .article ol { margin: 0 0 24px; padding-left: 1.35rem; }
.article li { margin: 8px 0; }
.article a { color: #174f75; text-underline-offset: 4px; }
.article strong { font-weight: 850; }
.callout { margin: 30px 0; padding: 22px 24px; background: #fffdf7; border-left: 5px solid var(--aqua); box-shadow: 7px 7px 0 #ddd5c8; }
.callout--warning { border-left-color: var(--hot); background: #fff3ec; }
.callout h3 { margin-top: 0; }
.decision-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin: 26px 0 34px; }
.decision-card { padding: 18px; background: #fffdf7; border: 1px solid #d9d3c9; }
.decision-card b { display: block; margin-bottom: 6px; color: #176c68; }
.checklist { list-style: none; padding: 0 !important; display: grid; gap: 9px; }
.checklist li { position: relative; padding: 12px 14px 12px 42px; background: #fffdf7; border: 1px solid #ddd6ca; }
.checklist li::before { content: "✓"; position: absolute; left: 14px; top: 10px; color: #176c68; font-weight: 1000; }
.phrase-table { width: 100%; border-collapse: collapse; margin: 24px 0 30px; background: #fffdf7; font-size: .9rem; }
.phrase-table th, .phrase-table td { padding: 12px 13px; border: 1px solid #d9d2c7; text-align: left; vertical-align: top; }
.phrase-table th { background: #e9e0d2; }
.toc { position: sticky; top: 96px; padding: 22px; background: var(--ink-2); color: var(--paper); border: 1px solid rgba(255,255,255,.12); }
.toc b { display: block; color: var(--aqua); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.toc ol { margin: 18px 0 0; padding-left: 1.15rem; }
.toc li { margin: 9px 0; color: #cbd3e1; font-size: .83rem; }
.toc a { text-underline-offset: 3px; }
.toc .finder-link { display: block; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); color: var(--lime); font-size: .8rem; font-weight: 900; }
.ad-zone { margin: 34px 0; padding: 18px 0; border-block: 1px solid #ddd5c9; }
.ad-label { display: block; margin-bottom: 8px; color: #737a86; font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.ad-slot { min-height: 90px; display: grid; place-items: center; overflow: hidden; }
.ad-zone.is-debug .ad-slot { min-height: 112px; border: 1px dashed #7f8490; color: #6e7480; background: rgba(127,127,127,.06); font-size: .78rem; font-weight: 850; }
.related { padding: 82px 0; background: var(--ink-2); color: var(--paper); }
.related h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.05em; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 28px; }
.related-card { min-height: 220px; display: flex; flex-direction: column; padding: 22px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); text-decoration: none; }
.related-card small { color: var(--aqua); font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.related-card h3 { margin: 22px 0 12px; font-size: 1.35rem; line-height: 1.08; }
.related-card p { margin: 0; color: #bfc8d9; font-size: .84rem; }
.related-card span { margin-top: auto; padding-top: 20px; color: var(--lime); font-weight: 900; }
footer { padding: 44px 0 92px; background: var(--ink); color: white; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
.footer-title { font-size: 1.4rem; font-weight: 1000; letter-spacing: .02em; }
.footer-copy { max-width: 650px; color: #aeb7ca; font-size: .78rem; margin-top: 9px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; padding-top: 22px; margin-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-links a, .footer-links button { padding: 0; border: 0; background: none; color: #cbd3e1; font: inherit; font-size: .76rem; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.footer-links a:hover, .footer-links button:hover { color: var(--lime); }
.guide-index { background: var(--paper); color: var(--text); padding-top: 70px; padding-bottom: 90px; }
.guide-index .related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.guide-index .related-card { background: #fffdf7; border-color: #d9d2c7; }
.guide-index .related-card small { color: #176c68; }
.guide-index .related-card p { color: #5d6472; }
.guide-index .related-card span { color: #174f75; }

.source-note { margin-top: 58px; padding-top: 22px; border-top: 1px solid #d6cec1; color: #646b77; font-size: .82rem; }
.source-note h2 { margin-top: 0; font-size: 1.25rem; letter-spacing: -.02em; }
.source-note ul { padding-left: 1.2rem; }
@media (max-width: 900px) {
  .guide-index .related-grid { grid-template-columns: 1fr; }
  .site-nav a:not(.nav-home) { display: none; }
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .toc { position: relative; top: auto; order: -1; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .shell { width: min(100% - 26px, var(--max)); }
  .brand-copy small { display: none; }
  .site-nav { gap: 10px; }
  .site-nav a { font-size: .75rem; }
  .hero-inner { padding: 62px 0 60px; }
  .eyebrow { margin-top: 36px; }
  h1 { font-size: clamp(2.75rem, 15vw, 5rem); }
  .article-layout { padding: 52px 0 70px; }
  .article h2 { margin-top: 52px; }
  .decision-grid { grid-template-columns: 1fr; }
  .phrase-table { font-size: .78rem; }
  .phrase-table th, .phrase-table td { padding: 9px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .hero-actions, .toc, .ad-zone, .related, .footer-links { display: none !important; }
  .hero { background: white; color: black; }
  .hero-lead, .hero-meta, .breadcrumbs { color: #333; }
  .hero-inner, .article-layout, footer { padding: 20px 0; }
  .article-layout { grid-template-columns: 1fr; }
  footer { background: white; color: black; }
}
