:root {
  --ink: #10151a;
  --paper: #f3f1e9;
  --lime: #d9ff43;
  --blue: #456cff;
  --muted: #62686c;
  --line: rgba(16, 21, 26, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.55; }
a { color: inherit; }
.site-header { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; margin: 0 auto; max-width: 1440px; padding: 1.25rem 4vw; }
.brand { align-items: center; display: flex; gap: 0.85rem; text-decoration: none; }
.brand-mark { background: var(--ink); color: var(--lime); display: inline-flex; font-size: 0.78rem; font-weight: 800; letter-spacing: -0.04em; padding: 0.55rem 0.65rem; }
.brand-name { font-size: 0.88rem; font-weight: 700; letter-spacing: -0.01em; }
nav { display: flex; gap: clamp(1.2rem, 3vw, 3rem); }
nav a { font-size: 0.9rem; font-weight: 700; text-decoration: none; }
nav a:hover, nav a:focus-visible { text-decoration: underline; text-underline-offset: 0.35rem; }

.hero { display: grid; gap: clamp(3rem, 7vw, 7rem); grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr); margin: 0 auto; max-width: 1440px; min-height: 690px; padding: clamp(5rem, 10vw, 9rem) 4vw 5rem; }
.hero-copy { align-self: center; max-width: 850px; }
.kicker { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; margin: 0 0 1.6rem; text-transform: uppercase; }
h1 { font-size: clamp(3.8rem, 7.4vw, 8.2rem); letter-spacing: -0.075em; line-height: 0.84; margin: 0; max-width: 980px; }
h1 span { color: var(--blue); display: block; }
.hero-deck { font-size: clamp(1.15rem, 1.8vw, 1.55rem); margin: 2.5rem 0; max-width: 650px; }
.primary-link { align-items: center; background: var(--ink); color: white; display: inline-flex; font-weight: 700; gap: 3rem; padding: 1rem 1.2rem; text-decoration: none; }
.primary-link:hover, .primary-link:focus-visible { background: var(--blue); }
.signal-panel { align-self: end; background: var(--ink); color: white; min-height: 490px; padding: 1.4rem; }
.panel-head { display: flex; font-size: 0.73rem; justify-content: space-between; letter-spacing: 0.1em; text-transform: uppercase; }
.chart { border-bottom: 1px solid #555c61; height: 280px; margin: 2rem 0 1.2rem; position: relative; }
.grid-line { border-top: 1px dashed #3b4247; left: 0; position: absolute; right: 0; }
.line-1 { top: 25%; } .line-2 { top: 50%; } .line-3 { top: 75%; }
.bar { bottom: 0; position: absolute; width: 11%; }
.bar i { background: var(--lime); bottom: 0; display: block; height: 100%; position: absolute; width: 100%; }
.bar-1 { height: 32%; left: 4%; } .bar-2 { height: 48%; left: 23%; } .bar-3 { height: 41%; left: 42%; } .bar-4 { height: 69%; left: 61%; } .bar-5 { height: 86%; left: 80%; }
.chart-note { background: var(--blue); font-size: 0.72rem; padding: 0.4rem 0.55rem; position: absolute; right: 0; top: 2%; }
.panel-foot { align-items: end; display: grid; gap: 1rem; grid-template-columns: 0.5fr 1fr; }
.panel-foot strong { color: var(--lime); font-size: clamp(3rem, 5vw, 5rem); letter-spacing: -0.07em; line-height: 1; }
.panel-foot p { color: #c6c9cb; font-size: 0.9rem; margin: 0; }

.principles { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.principle { align-items: baseline; display: flex; gap: 1rem; padding: 1.6rem 4vw; }
.principle + .principle { border-left: 1px solid var(--line); }
.principle span { color: var(--blue); font-size: 0.74rem; font-weight: 800; }
.principle p { font-size: 0.92rem; font-weight: 700; margin: 0; }
.guides-section { margin: 0 auto; max-width: 1440px; padding: clamp(5rem, 9vw, 9rem) 4vw; }
.section-heading { display: grid; gap: 1.2rem; grid-template-columns: 1fr 2fr 1fr; margin-bottom: 4rem; }
.section-heading h2 { font-size: clamp(2.5rem, 4vw, 4.8rem); letter-spacing: -0.06em; line-height: 0.98; margin: 0; }
.section-heading > p:last-child { align-self: end; color: var(--muted); margin: 0; }
.guide-list { border-top: 1px solid var(--ink); }
.guide-card { align-items: start; border-bottom: 1px solid var(--line); display: grid; gap: 2rem; grid-template-columns: 0.2fr 1fr auto; padding: 2.2rem 0; text-decoration: none; }
.guide-card:hover h3, .guide-card:focus-visible h3 { color: var(--blue); }
.guide-number, .guide-eyebrow { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.guide-eyebrow { color: var(--blue); margin: 0 0 0.5rem; }
.guide-card h3 { font-size: clamp(1.5rem, 2.6vw, 2.6rem); letter-spacing: -0.04em; line-height: 1.05; margin: 0; transition: color 160ms ease; }
.guide-card div > p:last-child { color: var(--muted); margin: 0.8rem 0 0; max-width: 670px; }
.guide-arrow { font-size: 2rem; }

.article-shell { margin: 0 auto; max-width: 1280px; padding: 0 4vw 7rem; }
.article-header { border-bottom: 1px solid var(--ink); padding: clamp(4rem, 9vw, 8rem) 0 4rem; }
.article-header .back-link { display: inline-block; font-size: 0.82rem; font-weight: 700; margin-bottom: 4rem; text-decoration: none; }
.article-header .back-link:hover { text-decoration: underline; }
.article-header h1 { font-size: clamp(3.3rem, 7.2vw, 7.5rem); max-width: 1120px; }
.article-deck { font-size: clamp(1.2rem, 2vw, 1.65rem); margin: 3rem 0 0 auto; max-width: 760px; }
.takeaways { background: var(--ink); color: white; display: grid; gap: 2rem; grid-template-columns: 0.5fr 1fr; margin: 0 0 5rem auto; max-width: 920px; padding: 2rem; }
.takeaways > p { color: var(--lime); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; margin: 0; text-transform: uppercase; }
.takeaways ol { list-style: none; margin: 0; padding: 0; }
.takeaways li { border-top: 1px solid #3f464a; font-size: 1.1rem; padding: 0.9rem 0; }
.takeaways li:first-child { border-top: 0; padding-top: 0; }
.article-body { max-width: 980px; }
.article-body section { border-top: 1px solid var(--line); display: grid; gap: 2rem; grid-template-columns: 0.25fr 1fr; padding: 3.5rem 0; }
.section-number { color: var(--blue); font-size: 0.78rem; font-weight: 800; }
.article-body h2 { font-size: clamp(2rem, 4vw, 3.8rem); letter-spacing: -0.055em; line-height: 1; margin: 0 0 2rem; }
.article-body p { font-size: 1.12rem; margin: 0 0 1.35rem; max-width: 720px; }
blockquote { border-left: 5px solid var(--lime); font-size: clamp(1.4rem, 2.5vw, 2.1rem); font-weight: 700; letter-spacing: -0.03em; margin: 2.5rem 0 0; padding: 0.5rem 0 0.5rem 1.5rem; }
.article-footer { align-items: center; background: var(--blue); color: white; display: flex; justify-content: space-between; margin: 4rem 0 0; padding: 2rem; }
.article-footer p { margin: 0; max-width: 600px; }
.article-footer a { font-weight: 700; white-space: nowrap; }

.about-shell { margin: 0 auto; max-width: 1280px; padding: clamp(5rem, 10vw, 9rem) 4vw; }
.about-shell > section:first-child h1 { font-size: clamp(4rem, 8vw, 8rem); max-width: 1060px; }
.about-grid { border-top: 1px solid var(--ink); display: grid; gap: 4rem; grid-template-columns: 1fr 1fr; margin-top: 5rem; padding-top: 2.5rem; }
.about-grid > p { font-size: clamp(1.5rem, 3vw, 2.6rem); letter-spacing: -0.04em; line-height: 1.15; margin: 0; }
.about-grid div { color: var(--muted); font-size: 1.08rem; }
.about-grid div p:first-child { margin-top: 0; }
.editorial-code { margin-top: 8rem; }
.editorial-code ol { border-top: 1px solid var(--ink); list-style: none; margin: 0; padding: 0; }
.editorial-code li { align-items: baseline; border-bottom: 1px solid var(--line); display: grid; gap: 3rem; grid-template-columns: 0.7fr 1fr; padding: 2rem 0; }
.editorial-code strong { font-size: clamp(1.4rem, 3vw, 2.5rem); letter-spacing: -0.04em; }
.editorial-code span { color: var(--muted); }
.not-found { margin: 0 auto; max-width: 1100px; min-height: 70vh; padding: clamp(6rem, 13vw, 12rem) 4vw; }
.not-found h1 { font-size: clamp(4rem, 9vw, 8.5rem); }
.not-found > p:not(.kicker) { font-size: 1.2rem; margin: 2rem 0; }

footer { background: var(--ink); color: white; display: flex; justify-content: space-between; padding: 4rem 4vw; }
footer div p, footer > p { color: #afb4b7; font-size: 0.85rem; margin: 1rem 0 0; }

@media (max-width: 800px) {
  .brand-name { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 4rem; }
  .signal-panel { min-height: 440px; }
  .principles { grid-template-columns: 1fr; }
  .principle + .principle { border-left: 0; border-top: 1px solid var(--line); }
  .section-heading, .about-grid, .editorial-code li { grid-template-columns: 1fr; }
  .section-heading .kicker { margin-bottom: 0; }
  .guide-card { gap: 1rem; grid-template-columns: auto 1fr auto; }
  .article-body section { grid-template-columns: 1fr; }
  .takeaways { grid-template-columns: 1fr; margin-bottom: 3rem; }
  .article-footer { align-items: start; flex-direction: column; gap: 2rem; }
  footer { flex-direction: column; gap: 3rem; }
}

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