:root {
  --ink: #111827;
  --muted: #5f6878;
  --paper: #fbfaf7;
  --card: #ffffff;
  --line: #e6e4df;
  --violet: #6d4aff;
  --cyan: #10b9d6;
  --green: #b5ec45;
  --yellow: #ffd45a;
  --shadow: 0 24px 70px rgba(20, 19, 48, .11);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.7; }
a { color: inherit; }
.skip-link { position: absolute; left: -999px; top: 10px; z-index: 5; padding: .6rem 1rem; background: var(--ink); color: white; border-radius: 999px; }
.skip-link:focus { left: 10px; }
.site-header { border-bottom: 1px solid rgba(17,24,39,.08); background: rgba(251,250,247,.9); backdrop-filter: blur(16px); }
.header-inner, .article-shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.wordmark span { color: var(--violet); }
.header-note { color: var(--muted); font-size: .86rem; }
nav[aria-label="Article navigation"] { display: flex; align-items: center; gap: 1rem; }
nav[aria-label="Article navigation"] > a { color: var(--violet); font-size: .86rem; font-weight: 700; text-decoration: none; }
.hero { padding: clamp(52px, 8vw, 104px) 0 38px; }
.eyebrow { margin: 0 0 18px; color: #4d35cf; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; letter-spacing: -.045em; }
h1 { max-width: 900px; margin: 0; font-size: clamp(3rem, 7vw, 6.6rem); }
.dek { max-width: 740px; margin: 28px 0 0; color: #3e4654; font-size: clamp(1.12rem, 2vw, 1.4rem); line-height: 1.55; }
.byline { display: flex; flex-wrap: wrap; gap: .6rem 1.1rem; margin: 26px 0 0; color: var(--muted); font-size: .92rem; }
.byline span + span { position: relative; padding-left: 1.1rem; }
.byline span + span::before { content: ""; position: absolute; left: 0; top: .65em; width: 4px; height: 4px; border-radius: 50%; background: var(--green); }
.hero-figure { margin: 54px 0 0; border-radius: 28px; overflow: hidden; background: #090d25; box-shadow: var(--shadow); }
.hero-figure img { display: block; width: 100%; height: auto; }
figcaption { padding: 11px 16px 14px; color: var(--muted); font-size: .82rem; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 70px; align-items: start; padding: 54px 0 100px; }
.article-body { max-width: 730px; font-size: 1.08rem; }
.article-body p { margin: 0 0 1.45em; }
.article-body h2 { margin: 2.6em 0 .65em; font-size: clamp(2rem, 4vw, 3.2rem); }
.article-body h3 { margin: 2em 0 .5em; font-size: 1.65rem; }
.article-body strong { color: #111827; }
.article-body blockquote { margin: 2.2rem 0; padding: 1.3rem 1.6rem; border-left: 5px solid var(--violet); background: #f0edff; border-radius: 0 18px 18px 0; font-family: Georgia, serif; font-size: 1.35rem; line-height: 1.4; }
.article-body ul { padding-left: 1.25rem; }
.article-body li { margin: .55rem 0; }
.toc { position: sticky; top: 96px; padding: 18px 0; border-top: 2px solid var(--ink); }
.toc strong { display: block; margin-bottom: 10px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.toc a { display: block; padding: .3rem 0; color: var(--muted); font-size: .91rem; text-decoration: none; }
.toc a:hover, .toc a:focus { color: var(--violet); }
.diagram { margin: 2.5rem 0; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: 0 14px 40px rgba(20,19,48,.05); }
.diagram-title { margin: 0 0 20px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: center; }
.loop-step { min-height: 112px; display: flex; flex-direction: column; justify-content: center; padding: 14px; border-radius: 16px; background: #f4f1ff; }
.loop-step:nth-child(2) { background: #e9fbff; }
.loop-step:nth-child(3) { background: #f5fbdc; }
.loop-step:nth-child(4) { background: #fff5d3; }
.loop-step b { font-size: .94rem; }
.loop-step span { margin-top: 6px; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.arrow { color: var(--violet); font-size: 1.4rem; text-align: center; }
.clue-card { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.clue-card > div { padding: 18px; border-radius: 16px; background: #f7f7f4; }
.clue-card .question { background: #eefaff; border: 1px solid #c9f2fa; }
.clue-card b { display: block; margin-bottom: 7px; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.clue-card p { margin: 0; font-size: .96rem; line-height: 1.5; }
.source-note { color: var(--muted); font-size: .92rem; }
.source-note a { color: #4d35cf; }
.cta { margin-top: 3rem; padding: 34px; border-radius: 24px; background: var(--ink); color: white; }
.cta h2 { margin-top: 0; color: white; }
.cta p { color: #d2d7df; }
.cta a { display: inline-block; margin-top: 8px; padding: 11px 17px; border-radius: 999px; background: var(--green); color: #17200d; font-weight: 800; text-decoration: none; }
.related { padding: 38px 0 90px; border-top: 1px solid var(--line); }
.related h2 { margin-top: 0; }
.related-card { display: inline-block; vertical-align: top; width: min(100%, 520px); margin: 0 14px 14px 0; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: white; text-decoration: none; }
.related-card span { color: var(--violet); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.related-card h3 { margin: .55rem 0 0; font-size: 1.45rem; }
footer { padding: 30px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
@media (max-width: 800px) { .content-grid { grid-template-columns: 1fr; gap: 28px; } .toc { position: static; order: -1; } .loop { grid-template-columns: 1fr; } .arrow { transform: rotate(90deg); } }
@media (max-width: 560px) { .header-inner, .article-shell { width: min(100% - 28px, 1120px); } .header-note { display: none; } h1 { font-size: clamp(2.8rem, 15vw, 4.4rem); } .hero-figure { margin-top: 34px; border-radius: 18px; } .content-grid { padding-top: 34px; } .article-body { font-size: 1rem; } .diagram { padding: 16px; } .clue-card { grid-template-columns: 1fr; } .cta { padding: 24px; } }
