/* Boss & Books — navy + lime, Space Grotesk + Inter */
:root {
  --navy: #13213c;
  --navy-2: #1d2f52;
  --lime: #c6f24e;
  --lime-ink: #2d3b00;
  --cobalt: #2f55e4;
  --bg: #f5f6f2;
  --surface: #ffffff;
  --ink: #111a2b;
  --ink-2: #44506a;
  --muted: #6b7489;
  --line: #e2e5ec;
  --soft: #eef1f8;
  --ok: #157a4c;
  --warn: #b4501a;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(17, 26, 43, .05), 0 6px 24px -10px rgba(17, 26, 43, .14);
  --font-head: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0b1222;
  --surface: #121b30;
  --ink: #e9edf6;
  --ink-2: #b7c0d4;
  --muted: #8b95ab;
  --line: #24304a;
  --soft: #18233c;
  --navy: #0f1a31;
  --navy-2: #1a2847;
  --cobalt: #8aa5ff;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; border-radius: 4px; }
.ico { width: 20px; height: 20px; flex: none; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap-read { width: min(760px, 100% - 40px); margin-inline: auto; }
.section { padding-block: 44px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 12px; }
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--lime); box-shadow: 0 0 0 1px rgba(19, 33, 60, .15); }
.eyebrow { font: 600 13px/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .08em; color: var(--cobalt); margin-bottom: 12px; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow.light { color: var(--lime); }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.meta { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; font: 600 15px/1 var(--font-body); padding: 13px 20px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-lime:hover { background: #d6f87a; }
.text-link { font-weight: 600; font-size: 15px; text-decoration: none; }
.tag { display: inline-block; font: 600 12px/1 var(--font-body); letter-spacing: .04em; text-transform: uppercase; color: var(--cobalt); text-decoration: none; margin-bottom: 8px; }
.tag:hover { text-decoration: underline; }

/* Deadline bar */
.deadline-bar { background: var(--navy); color: #d9e0ef; font-size: 14px; }
.deadline-bar .wrap { display: flex; align-items: center; gap: 12px; min-height: 40px; flex-wrap: wrap; padding-block: 6px; }
.deadline-bar b { color: #fff; font-weight: 600; }
.dl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(198, 242, 78, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(198, 242, 78, 0); } }
.dl-count { background: var(--lime); color: var(--lime-ink); font-weight: 700; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.deadline-bar a { color: var(--lime); font-weight: 600; text-decoration: none; margin-left: auto; }
.deadline-bar a:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo-mark { width: 36px; height: 36px; }
.wordmark { font: 700 21px/1 var(--font-head); letter-spacing: -.03em; }
.wordmark b { color: var(--cobalt); font-weight: 700; margin: 0 1px; }
.main-nav { display: flex; gap: 2px; margin-left: auto; }
.main-nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.main-nav a:hover { color: var(--ink); background: var(--soft); }
.main-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--lime); border-radius: 0; }
.main-nav a.nav-cta { background: var(--navy); color: #fff; border-radius: 999px; padding-inline: 16px; margin-left: 8px; }
.main-nav a.nav-cta:hover { background: var(--navy-2); }
[data-theme="dark"] .main-nav a.nav-cta { background: var(--lime); color: var(--lime-ink); }
.header-tools { display: flex; gap: 4px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid transparent; background: none; color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { background: var(--soft); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .moon, [data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }
.menu-toggle { display: none; }
.mobile-nav { display: none; }
@media (max-width: 1060px) {
  .main-nav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: grid; }
  .mobile-nav.open { display: grid; padding: 8px 20px 18px; border-top: 1px solid var(--line); background: var(--surface); }
  .mobile-nav a { padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
}

/* Hero */
.hero { background: radial-gradient(1200px 400px at 85% -10%, rgba(47, 85, 228, .10), transparent 60%), var(--surface); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; padding-block: 64px 56px; align-items: start; }
.hero-grid > * { min-width: 0; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px var(--navy); }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 20px; }
.hero h1 .hl { background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); padding: 0 .08em; }
[data-theme="dark"] .hero h1 .hl { background: none; color: var(--lime); }
.hero-search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; margin: 26px 0 22px; max-width: 560px; box-shadow: var(--shadow); }
.hero-search:focus-within { border-color: var(--cobalt); }
.hero-search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.hero-search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); padding: 8px 4px; outline: none; }
.hero-search button { border: 0; background: var(--navy); color: #fff; font: 600 15px var(--font-body); padding: 11px 20px; border-radius: 999px; cursor: pointer; }
[data-theme="dark"] .hero-search button { background: var(--lime); color: var(--lime-ink); }
.paths { display: grid; gap: 10px; max-width: 560px; }
.path { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.path:hover { border-color: var(--navy); transform: translateX(3px); }
.path-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: var(--lime); display: grid; place-items: center; flex: none; }
.path b { display: block; font: 600 16px/1.3 var(--font-head); }
.path small { color: var(--muted); font-size: 14px; }
.path-arrow { margin-left: auto; color: var(--muted); }
.figures { background: var(--navy); color: #dfe5f2; border-radius: 20px; padding: 26px; box-shadow: 0 30px 60px -30px rgba(19, 33, 60, .55); position: relative; overflow: hidden; }
.figures::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; border: 28px solid rgba(198, 242, 78, .12); }
.fig-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.fig-head span { font: 600 13px var(--font-body); text-transform: uppercase; letter-spacing: .08em; color: #9fb0d3; }
.fig-head b { font: 700 24px var(--font-head); color: var(--lime); }
.figures dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .08); border-radius: 12px; overflow: hidden; }
.figures dl > div { background: var(--navy); padding: 14px 14px 12px; }
.figures dt { font-size: 13px; color: #9fb0d3; }
.figures dd { margin: 2px 0 0; font: 700 23px/1.2 var(--font-head); color: #fff; letter-spacing: -.02em; }
.figures dd small { display: block; font: 400 12px/1.4 var(--font-body); color: #8293b6; letter-spacing: 0; margin-top: 2px; }
.fig-src { font-size: 12px; color: #8293b6; margin: 12px 0 16px; }
.fig-cta { display: flex; align-items: center; gap: 12px; background: var(--lime); color: var(--lime-ink); text-decoration: none; padding: 14px 16px; border-radius: 12px; position: relative; z-index: 1; }
.fig-cta b { display: block; font: 700 16px/1.25 var(--font-head); }
.fig-cta small { font-size: 13px; opacity: .8; }
.fig-cta .ico:last-child { margin-left: auto; }
.fig-cta:hover { background: #d6f87a; }

/* Chips */
.chips-section { padding-block: 26px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.chip .ico { width: 18px; height: 18px; color: var(--cobalt); }
.chip:hover { border-color: var(--navy); background: var(--soft); }

/* Home main */
.home-main { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { font-size: 1.6rem; margin: 0; }
.spotlight { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 8px; box-shadow: var(--shadow); }
.spot-media img { aspect-ratio: 16 / 8; object-fit: cover; width: 100%; }
.spot-body { padding: 22px 24px 24px; }
.spot-body h3 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-bottom: 10px; }
.spot-body h3 a, .feed-title a, .tile-title a { color: var(--ink); text-decoration: none; }
.spot-body h3 a:hover, .feed-title a:hover, .tile-title a:hover { color: var(--cobalt); }
.spot-body p { color: var(--ink-2); }
.feed { display: grid; }
.feed-item { display: grid; grid-template-columns: minmax(0, 1fr) 168px; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center; }
.feed-item:last-child { border-bottom: 0; }
.feed-title { font-size: 1.25rem; margin-bottom: 6px; line-height: 1.25; }
.feed-excerpt { color: var(--ink-2); font-size: 15.5px; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feed-thumb img { width: 168px; height: 168px; object-fit: cover; border-radius: 12px; }
.narrow-feed { max-width: 860px; }
.side-col { display: grid; gap: 20px; position: sticky; top: 92px; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-box h2 { font-size: 1.1rem; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.side-box h2 .ico { color: var(--cobalt); }
.dates-box ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dates-box li { display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: center; font-size: 14.5px; line-height: 1.4; }
.dates-box time { background: var(--soft); border-radius: 10px; text-align: center; padding: 6px 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.dates-box time b { display: block; font: 700 20px/1.1 var(--font-head); color: var(--ink); letter-spacing: -.02em; }
.dates-box li:first-child time { background: var(--lime); color: var(--lime-ink); }
.dates-box li:first-child time b { color: var(--lime-ink); }
.dates-box .fig-src { color: var(--muted); margin: 14px 0 0; }
.side-topics { list-style: none; margin: 0; padding: 0; }
.side-topics a { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.side-topics li:last-child a { border-bottom: 0; }
.side-topics a:hover { color: var(--cobalt); }
.side-topics small { background: var(--soft); color: var(--muted); border-radius: 999px; padding: 1px 9px; font-size: 12px; font-weight: 600; }

/* CTA */
.cta { background: var(--navy); color: #cfd8ea; border-radius: 22px; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); max-width: 22ch; }
.cta p { max-width: 60ch; margin: 0; }

/* Page hero / categories */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: 48px 40px; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.page-hero.center { text-align: center; }
.page-hero.center .lede { margin-inline: auto; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--cobalt); }
.cat-title { display: flex; gap: 20px; align-items: flex-start; }
.cat-ico { width: 60px; height: 60px; border-radius: 16px; background: var(--navy); color: var(--lime); display: grid; place-items: center; flex: none; }
.cat-ico .ico { width: 28px; height: 28px; }
.empty { color: var(--ink-2); }

/* Post */
.post-head { padding-top: 40px; }
.post-head h1 { font-size: clamp(2rem, 4.6vw, 2.9rem); letter-spacing: -.03em; margin-bottom: 16px; }
.post-dek { font-size: 1.18rem; color: var(--ink-2); }
.byline { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); margin-top: 20px; flex-wrap: wrap; }
.byline b { display: block; font-size: 15px; }
.byline span { font-size: 14px; color: var(--muted); }
.author-link { color: var(--ink); text-decoration: none; }
.author-link:hover { color: var(--cobalt); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--lime); display: grid; place-items: center; font: 700 15px var(--font-head); text-decoration: none; flex: none; }
.avatar.lg { width: 56px; height: 56px; font-size: 19px; }
.avatar.xl { width: 96px; height: 96px; font-size: 32px; }
.checked { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px !important; font-weight: 600; color: var(--ok) !important; background: color-mix(in srgb, var(--ok) 10%, transparent); padding: 5px 11px; border-radius: 999px; }
.checked .ico { width: 15px; height: 15px; }
.post-hero { margin-top: 4px; margin-bottom: 28px; }
.post-hero img { border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-hero figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.post-hero figcaption a { color: var(--muted); }
.toc { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--lime); border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 32px; }
.toc summary { font: 700 16px var(--font-head); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary span { font: 500 13px var(--font-body); color: var(--muted); }
.toc ol { margin: 12px 0 2px; padding-left: 22px; columns: 2; column-gap: 32px; font-size: 15px; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover, .toc a.active { color: var(--cobalt); }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* Prose */
.prose { font-size: 18px; line-height: 1.75; }
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: 1.75rem; margin: 2.2em 0 .6em; position: relative; padding-top: 18px; }
.prose h2::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 5px; border-radius: 3px; background: var(--lime); }
.prose h3 { font-size: 1.3rem; margin: 1.7em 0 .5em; }
.prose h4 { font-size: 1.08rem; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--cobalt); font-weight: 700; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose code { background: var(--soft); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--navy); font-size: 1.1em; color: var(--ink-2); }
[data-theme="dark"] .prose blockquote { border-color: var(--lime); }
.table-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.prose th { background: var(--soft); text-align: left; font: 600 14px var(--font-body); color: var(--ink); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { font-weight: 600; color: var(--ink); }
.callout { border-radius: var(--radius-sm); padding: 18px 22px; margin: 1.8em 0; border: 1px solid var(--line); background: var(--surface); font-size: 16.5px; }
.callout > :last-child, .callout ul:last-child, .callout p:last-child { margin-bottom: 0; }
.callout-title { font: 700 15px var(--font-head); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px !important; display: flex; align-items: center; gap: 8px; }
.callout-title::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: currentColor; }
.callout-takeaways { background: var(--navy); border-color: var(--navy); color: #dbe2f0; }
.callout-takeaways .callout-title { color: var(--lime); }
.callout-takeaways strong { color: #fff; }
.callout-takeaways a { color: var(--lime); }
.callout-takeaways li::marker { color: var(--lime); }
.callout-tip { border-left: 4px solid var(--ok); }
.callout-tip .callout-title { color: var(--ok); }
.callout-warning { border-left: 4px solid var(--warn); background: color-mix(in srgb, var(--warn) 6%, var(--surface)); }
.callout-warning .callout-title { color: var(--warn); }
.callout-info { border-left: 4px solid var(--cobalt); }
.callout-info .callout-title { color: var(--cobalt); }
.faq { margin-top: 2.6em; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 10px; }
.faq summary { padding: 16px 48px 16px 18px; cursor: pointer; font: 600 17px/1.4 var(--font-head); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 13px; font: 500 22px var(--font-body); color: var(--cobalt); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; margin: 0; font-size: 16.5px; color: var(--ink-2); }
.sponsored-note { background: var(--soft); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 15px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 36px 0 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.share span { font-weight: 600; font-size: 15px; margin-right: 6px; }
.share a, .share button { font: 500 14px var(--font-body); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--navy); }
.disclaimer { font-size: 14px; color: var(--muted); background: var(--soft); border-radius: var(--radius-sm); padding: 14px 16px; }
.author-box { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin: 22px 0 48px; }
.author-box p { margin: 6px 0 0; font-size: 15px; color: var(--ink-2); }
.author-role { font-size: 13px; color: var(--muted); }
.band { background: var(--surface); border-top: 1px solid var(--line); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.tile-media img { border-radius: 12px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; margin-bottom: 14px; }
.tile-title { font-size: 1.12rem; line-height: 1.3; margin-bottom: 6px; }
.author-hero { display: flex; gap: 24px; align-items: flex-start; }

/* Calculator */
.calc-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; max-width: 1000px; }
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.calc label { display: grid; gap: 7px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.calc .span2 { grid-column: 1 / -1; }
.field { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); }
.field:focus-within, .calc select:focus { border-color: var(--cobalt); }
.field i { font-style: normal; color: var(--muted); padding-left: 12px; font-weight: 600; }
.field input, .calc select { border: 0; background: none; font: 500 17px var(--font-body); color: var(--ink); padding: 12px; width: 100%; min-width: 0; outline: none; }
.calc select { border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); font-size: 15px; }
.calc .check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.calc .check input { width: 18px; height: 18px; accent-color: var(--navy); }
.calc-result { background: var(--navy); color: #d9e0ef; border-radius: 18px; padding: 26px; position: sticky; top: 92px; }
.res-label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #9fb0d3; margin: 0; font-weight: 600; }
.res-big { font: 700 clamp(2.4rem, 5vw, 3.2rem)/1.1 var(--font-head); color: var(--lime); letter-spacing: -.03em; margin: 4px 0 18px; }
.res-rows { margin: 0; }
.res-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 15px; }
.res-rows dt { color: #b6c2db; }
.res-rows dd { margin: 0; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.res-rows .total dt, .res-rows .total dd { color: #fff; font-weight: 700; }
.calc-note { font-size: 12.5px; color: #8293b6; margin: 14px 0 0; }

/* Footer */
.site-footer { background: var(--navy); color: #aab6cf; margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: 56px 40px; }
.footer-brand p { font-size: 15px; margin: 14px 0 20px; max-width: 42ch; }
.logo-light { color: #fff; }
.logo-light .wordmark b { color: var(--lime); }
.site-footer h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-body); font-weight: 600; margin-bottom: 14px; }
.site-footer .footer-top > div:not(.footer-brand) a { display: block; color: #aab6cf; text-decoration: none; font-size: 15px; padding: 4px 0; }
.site-footer a:hover { color: var(--lime); }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 22px; font-size: 13px; }
.footer-base p { margin: 0; max-width: 80ch; }
.footer-base a { color: #aab6cf; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .home-main, .calc-wrap { grid-template-columns: 1fr; }
  .hero-grid { gap: 36px; padding-block: 44px; }
  .side-col, .calc-result { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .cta { flex-direction: column; align-items: flex-start; padding: 30px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding-block: 32px; }
  .deadline-bar { font-size: 13px; }
  .deadline-bar a { margin-left: 0; }
  .dl-dot { display: none; }
  .feed-item { grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; padding: 18px 0; }
  .feed-thumb img { width: 96px; height: 96px; border-radius: 10px; }
  .feed-title { font-size: 1.08rem; }
  .feed-excerpt { display: none; }
  .tiles { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .prose { font-size: 17px; }
  .prose h2 { font-size: 1.45rem; }
  .figures dd { font-size: 20px; }
  .cat-title, .author-hero { flex-direction: column; }
  .checked { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
