:root {
  --ink: #10201b;
  --paper: #edf2f0;
  --white: #ffffff;
  --blue: #2057f5;
  --blue-dark: #1539a8;
  --orange: #ff6a3d;
  --moss: #3f6f5b;
  --line: #c9d5d0;
  --muted: #52645d;
  --display: "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --body: "Avenir Next", Avenir, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 17px; line-height: 1.65; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button, .primary, .nav-action { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 780px; }
.skip { position: fixed; top: 10px; left: 10px; transform: translateY(-180%); padding: 8px 14px; background: var(--white); z-index: 20; }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(16,32,27,.16); background: rgba(237,242,240,.94); backdrop-filter: blur(14px); }
.nav { min-height: 76px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: grid; gap: 2px; width: 25px; transform: skewX(-13deg); }
.brand-mark i { display: block; height: 5px; background: var(--blue); }
.brand-mark i:nth-child(2) { width: 75%; background: var(--orange); }
.brand-mark i:nth-child(3) { width: 50%; background: var(--moss); }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { text-decoration: none; font-size: 14px; font-weight: 650; }
.nav nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.nav-action, .primary { display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: 3px; padding: 12px 18px; background: var(--blue); color: white; font-weight: 750; text-decoration: none; box-shadow: 4px 4px 0 var(--ink); }
.nav-action:hover, .primary:hover { background: var(--blue-dark); }
.hero { padding: 86px 0 78px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 80px; }
.signal { margin: 0 0 14px; color: var(--blue-dark); font-weight: 750; font-size: 14px; }
h1, h2, h3 { font-family: var(--display); line-height: .98; letter-spacing: -.035em; }
h1 { max-width: 760px; margin: 0; font-size: clamp(58px, 8vw, 106px); font-weight: 800; }
h2 { margin: 0 0 18px; font-size: clamp(38px, 5vw, 60px); }
h3 { margin: 0 0 12px; font-size: 30px; }
.hero-copy { max-width: 680px; margin: 30px 0; font-size: 21px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 26px; }
.hero-actions > a:not(.primary) { font-weight: 750; }
.trust-line, .method-note { color: var(--muted); font-size: 14px; }
.risk-ledger { position: relative; padding: 26px; background: var(--white); border: 1px solid var(--ink); box-shadow: 14px 14px 0 var(--orange); transform: rotate(1.5deg); }
.risk-ledger::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(32,87,245,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(32,87,245,.07) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.risk-ledger > * { position: relative; }
.ledger-head, .risk-ledger > div { display: grid; grid-template-columns: 110px 1fr 70px; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.ledger-head { font-weight: 750; color: var(--muted); }
.ledger-head span:last-child { grid-column: 2 / 4; text-align: right; }
.risk-ledger i { display: block; height: 10px; background: linear-gradient(to right, var(--blue) var(--score), var(--line) var(--score)); }
.risk-ledger > p { margin: 22px 0 0; font-weight: 750; font-size: 20px; }
.decision-strip { padding: 34px 0; background: var(--ink); color: white; }
.decision-strip .shell { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.decision-strip > div > p { margin: 0; font-family: var(--display); font-size: 32px; font-weight: 750; line-height: 1.1; }
.decision-strip ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; margin: 0; padding: 0; }
.decision-strip li { display: grid; gap: 4px; }
.decision-strip li span { color: #b9cbc4; font-size: 14px; }
.product-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 88px 0; }
.product-pair > article { min-height: 420px; padding: 40px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; }
.product-pair > article h2 { margin-top: auto; }
.product-pair > article p { max-width: 580px; }
.product-pair > article a { margin-top: 20px; }
.product-pair .roadmap-card { background: var(--blue); color: white; border-color: var(--blue); }
.product-pair .roadmap-card a { font-weight: 800; }
.product-state { color: var(--muted); font-size: 13px; font-weight: 750; }
.roadmap-card .product-state { color: #cbd7ff; }
.library { padding: 76px 0 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 36px; }
.section-heading h2 { max-width: 720px; }
.section-heading > a { font-weight: 750; }
.topic-index { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); margin-bottom: 70px; }
.topic-index a { display: flex; justify-content: space-between; gap: 15px; padding: 20px; background: var(--white); border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); text-decoration: none; }
.topic-index a:hover { background: #dce5ff; }
.topic-index span { color: var(--muted); font-size: 13px; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card { min-height: 320px; background: var(--white); border-top: 5px solid var(--blue); }
.article-card a { height: 100%; padding: 26px; display: flex; flex-direction: column; text-decoration: none; }
.article-card span { color: var(--moss); font-size: 13px; font-weight: 750; }
.article-card h3 { margin-top: 40px; }
.article-card p { color: var(--muted); font-size: 15px; }
.article-card b { margin-top: auto; text-decoration: underline; }
.page-hero, .tool-hero, .article-head { padding: 84px 0 64px; background: var(--white); border-bottom: 1px solid var(--line); }
.page-hero h1, .tool-hero h1, .article-head h1 { font-size: clamp(52px, 7vw, 86px); }
.page-hero p:last-child, .tool-hero p:last-child, .article-head > div > p { max-width: 740px; font-size: 20px; }
.topic-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.topic-nav a { padding: 8px 12px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-size: 14px; }
.topic-nav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: white; }
.empty { padding: 60px; background: var(--white); border: 1px solid var(--line); }
.tool-shell { padding: 64px 0 100px; }
.map-page { height: 100dvh; overflow: hidden; background: #0a0a0f; }
.map-app { display: grid; grid-template-rows: 66px minmax(0, 1fr); height: 100dvh; }
.map-bar { z-index: 2; display: flex; align-items: center; gap: 26px; min-width: 0; padding: 9px 14px 9px 20px; border-bottom: 1px solid #bcc9c4; background: var(--paper); }
.map-bar .brand { flex: none; }
.map-bar-copy { display: grid; margin-right: auto; padding-left: 26px; border-left: 1px solid var(--line); line-height: 1.15; }
.map-bar-copy strong { font-size: 14px; }
.map-bar-copy span { color: var(--muted); font-size: 12px; }
.map-bar nav { display: flex; align-items: center; gap: 20px; min-width: 0; font-size: 13px; font-weight: 700; }
.map-bar nav > a:not(.map-next) { white-space: nowrap; text-decoration: none; }
.map-next { display: grid; min-width: 250px; padding: 7px 13px; border-radius: 2px; background: var(--blue); color: white; text-decoration: none; box-shadow: 3px 3px 0 var(--ink); line-height: 1.2; }
.map-next span { color: #dce5ff; font-size: 11px; font-weight: 600; }
.map-next strong { font-size: 14px; }
.map-workspace { position: relative; min-height: 0; background: #0a0a0f; }
.map-workspace iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-note { position: absolute; right: 16px; bottom: 16px; display: grid; max-width: 320px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 4px; background: rgba(10,10,15,.92); color: #e0e0e8; box-shadow: 0 8px 30px rgba(0,0,0,.38); font-size: 11px; line-height: 1.35; backdrop-filter: blur(12px); }
.map-note span { color: #aaaab4; }
.map-note a { margin-top: 3px; color: #cbd7ff; }
.roadmap-form { max-width: 860px; margin-inline: auto; padding: 38px; background: var(--white); border: 1px solid var(--ink); }
.field { display: grid; gap: 8px; margin-bottom: 28px; }
.field[hidden] { display: none; }
.field > span { font-weight: 750; }
.field > small { margin-top: -5px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #82928b; border-radius: 2px; background: white; color: var(--ink); padding: 13px 14px; }
.field select:disabled { background: #f0f3f2; color: #78847f; }
.roadmap-form { margin-top: 64px; margin-bottom: 100px; }
.progress-line { height: 7px; background: var(--line); }
.progress-line i { display: block; width: 25%; height: 100%; background: var(--orange); transition: width .2s; }
.roadmap-form > p { color: var(--muted); font-size: 13px; }
.roadmap-form fieldset { border: 0; padding: 20px 0 0; }
.roadmap-form legend { margin-bottom: 32px; font-family: var(--display); font-size: 46px; font-weight: 800; line-height: 1; }
.choice { display: grid; grid-template-columns: auto 1fr; gap: 15px; align-items: start; margin: 12px 0; padding: 18px; border: 1px solid var(--line); }
.choice span { display: grid; }
.form-actions { display: flex; justify-content: space-between; margin-top: 34px; }
.form-actions > button:not(.primary) { border: 0; background: transparent; text-decoration: underline; }
.roadmap-preview { margin-top: 44px; padding: 30px; background: #dce5ff; border-left: 6px solid var(--blue); }
.roadmap-preview[hidden] { display: none; }
.roadmap-preview small { display: block; margin-top: 18px; color: var(--muted); }
.checkout-state { font-size: .82rem; color: var(--muted); }
.paid-roadmap { margin-block: 50px 80px; padding: 42px; border: 1px solid var(--ink); background: var(--white); }
.paid-roadmap[hidden] { display: none; }
.paid-paths { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-block: 28px; }
.paid-paths article { padding: 20px; background: var(--paper); border-top: 4px solid var(--blue); }
.paid-roadmap blockquote { margin: 30px 0 0; padding: 22px; border-left: 6px solid var(--green); font-size: 1.15rem; }
.report-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.report-actions button { padding: 10px 14px; border: 1px solid var(--ink); background: transparent; font: inherit; font-weight: 800; cursor: pointer; }
.report-boundary { padding: 14px 18px; background: #fff5d8; border-left: 5px solid #dfab00; }
.report-section { margin: 22px 0; padding: 28px; background: #f4f7ff; }
.report-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
.report-columns > section { padding: 20px; background: #f4f7ff; border-top: 4px solid var(--blue); }
.report-columns h4, .paid-paths h4 { margin: 0 0 10px; text-transform: capitalize; }
.report-columns ul, .report-columns ol { padding-left: 20px; }
.path-score { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-family: var(--display); }
.path-score span { color: var(--blue); font-weight: 850; }
.paid-paths article > small { display: block; margin: 6px 0 18px; color: var(--muted); }
.method-grid { padding: 80px 0 100px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.method-grid article { min-height: 300px; padding: 34px; background: var(--paper); }
.method-grid article span { color: var(--blue); font-weight: 750; }
.article-head { padding-bottom: 70px; }
.article-hero-image { max-width: 980px; margin-top: 48px; }
.article-image { margin: 34px 0; }
.article-image img { display: block; width: 100%; height: auto; border: 1px solid var(--ink); }
.article-image figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; }
.meta { display: flex; gap: 24px; margin-top: 32px; color: var(--muted); font-size: 14px; }
.article-layout { display: grid; grid-template-columns: 230px minmax(0, 720px); justify-content: center; gap: 70px; padding: 70px 0 110px; }
.article-layout aside { position: sticky; top: 112px; align-self: start; display: grid; gap: 10px; font-size: 14px; }
.article-layout aside a { color: var(--muted); text-decoration: none; }
.article-body { min-width: 0; }
.article-body section { margin: 64px 0; }
.article-body h2 { font-size: 44px; }
.article-body p { max-width: 74ch; }
.answer { padding: 28px; background: #dce5ff; border-left: 6px solid var(--blue); }
.answer span { color: var(--blue-dark); font-size: 13px; font-weight: 750; }
.answer p { margin-bottom: 0; font-size: 20px; font-weight: 650; }
.article-body details { border-top: 1px solid var(--line); padding: 16px 0; }
.article-body summary { cursor: pointer; font-weight: 750; }
.sources li { margin-bottom: 22px; }
.sources p { color: var(--muted); font-size: 14px; }
.article-cta { padding: 34px; background: var(--ink); color: white; }
footer { padding: 58px 0 20px; background: var(--ink); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 60px; }
.footer-grid > div > p, .footer-grid .boundary { color: #b9cbc4; }
.footer-grid nav { display: grid; align-content: start; gap: 8px; }
.footer-base { margin-top: 46px; padding-top: 18px; border-top: 1px solid #385047; color: #91a79e; font-size: 13px; }
@media (max-width: 850px) {
  .nav nav { display: none; }
  .nav-action { margin-left: auto; }
  .hero-grid, .decision-strip .shell, .product-pair, .footer-grid, .paid-paths, .report-columns { grid-template-columns: 1fr; }
  .decision-strip ol, .article-grid, .topic-index, .method-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 56px; }
  .risk-ledger { margin: 10px 10px 12px 0; }
  .article-layout { grid-template-columns: 1fr; }
  .article-layout aside { position: static; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .map-bar nav > a:not(.map-next) { display: none; }
}
@media (max-width: 560px) {
  .shell { width: min(100% - 24px, 1180px); }
  .nav-action { display: none; }
  h1 { font-size: 56px; }
  .decision-strip ol, .article-grid, .topic-index, .method-grid { grid-template-columns: 1fr; }
  .product-pair > article, .roadmap-form { padding: 24px; }
  .section-heading { align-items: start; flex-direction: column; }
  .meta { display: grid; gap: 4px; }
  .map-app { grid-template-rows: 58px minmax(0, 1fr); }
  .map-bar { gap: 12px; padding: 7px 8px 7px 12px; }
  .map-bar .brand strong, .map-bar-copy { display: none; }
  .map-bar nav { margin-left: auto; }
  .map-next { min-width: 0; padding: 7px 10px; }
  .map-next span { display: none; }
  .map-next strong { font-size: 12px; }
  .map-note { right: 8px; bottom: 8px; left: 8px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .site-header, .site-footer, .tool-hero, .roadmap-form, .report-actions button { display: none !important; }
  body { background: white; color: #111; }
  .paid-roadmap { display: block !important; margin: 0; padding: 0; border: 0; }
  .paid-paths, .report-columns { grid-template-columns: 1fr; }
  .paid-paths article, .report-columns > section, .report-section { break-inside: avoid; background: white; border: 1px solid #bbb; }
}
