/* The Inside Track. Colours, type and spacing come from the approved design
   (Home and Blog pages, blue palette). Change a colour here, once, in :root. */

:root {
  --ink: #1A2340;
  --accent: #3446B0;
  --warm: #B4532A;
  --peach: #F2B68A;
  --bg: #F6F8FC;
  --surface: #FFFFFF;
  --tint: #E6EEFB;
  --tint-soft: #EFF3FC;
  --border: #DDE3F0;
  --border-strong: #CDD6EA;
  --control-border: #8F98B8;
  --text-body: #3D4766;
  --text-muted: #4B5573;
  --text-prose: #2E3A66;
  --on-dark: #D3DAEE;
  --on-dark-muted: #B3BCD6;
  --dark-panel: #2B3763;
  --dark-divider: #36416A;
  --heading: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--heading); margin: 0; }
p { margin: 0; }
a { color: var(--accent); }
a:hover { color: var(--ink); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; z-index: 10; }
.skip-link:focus { top: 12px; color: #fff; }
.draft-banner { margin: 0; background: #FFF3C4; color: #5C4400; text-align: center; padding: 10px 24px; font-size: 14px; font-weight: 600; }
[hidden] { display: none !important; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.section-tail { padding-bottom: 96px; }
.section-72 { padding-top: 72px; padding-bottom: 72px; }
.stack-36 { display: flex; flex-direction: column; gap: 36px; }
.stack-28 { display: flex; flex-direction: column; gap: 28px; }
.band-white { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band-tint { background: var(--tint); }
.band-ink { background: var(--ink); color: #fff; }

.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.eyebrow-peach { color: var(--peach); }
.lead { font-size: 20px; line-height: 1.55; color: var(--text-body); max-width: 36em; }
.section-head { display: flex; flex-direction: column; gap: 12px; }
.section-head-row .section-head { flex: 1 1 520px; }
.section-head h2, .faq-head h2, .subscribe-text h2 { font-size: clamp(32px, 3.8vw, 46px); line-height: 1.08; letter-spacing: -0.015em; }
.section-head-row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; }
.section-aside { flex: 1 1 380px; font-size: 17px; line-height: 1.6; color: var(--text-prose); }
.more-link { font-weight: 600; }
.h2-small { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; letter-spacing: -0.015em; }

/* ---------- buttons, chips, toggles ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-warm { background: var(--warm); color: #fff; }
.btn-warm:hover { background: #9C4522; color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2B3763; color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--tint); color: var(--ink); }
.btn-peach { background: var(--peach); color: var(--ink); }
.btn-peach:hover { background: #F6C9A5; color: var(--ink); }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-center { align-self: center; }
.chip { background: var(--tint); color: var(--ink); text-decoration: none; padding: 8px 14px; border-radius: 999px; }
.chip:hover { background: var(--border-strong); }
.toggles { display: flex; flex-wrap: wrap; gap: 10px; }
.toggle { min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--control-border); background: #fff; color: var(--ink); font: 600 15px/1 var(--body); cursor: pointer; }
.toggle-sm { min-height: 44px; padding: 0 18px; }
.toggle[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.toggle:hover { border-color: var(--ink); }

/* ---------- header and footer ---------- */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.nav { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-family: var(--heading); font-weight: 700; font-size: 22px; color: var(--ink); text-decoration: none; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; padding: 12px 0; }
.nav-links a:not(.btn):hover { color: var(--accent); }
.nav-links a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.btn-nav { min-height: 44px; padding: 0 20px; font-size: 15px; font-weight: 500; }

.site-footer { background: var(--ink); color: var(--on-dark); border-top: 1px solid var(--dark-divider); }
.footer-inner { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 28px; font-size: 14px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.logo-footer { font-family: var(--heading); font-size: 22px; font-weight: 700; color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.footer-links a { color: #fff; padding: 10px 0; }
.footer-links a:hover { color: var(--peach); }
.disclaimer { border-top: 1px solid var(--dark-divider); padding-top: 20px; color: var(--on-dark-muted); }

/* ---------- home: banner ---------- */
.banner { position: relative; width: 100%; min-height: 520px; overflow: hidden; background: var(--ink); display: flex; align-items: center; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.banner-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,35,64,0.92) 0%, rgba(26,35,64,0.78) 38%, rgba(26,35,64,0.15) 68%, rgba(26,35,64,0) 100%); }
.banner-inner { position: relative; width: 100%; padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 22px; color: #fff; }
.banner h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.02em; max-width: 11em; }
.banner-text { font-size: 18px; line-height: 1.6; color: var(--on-dark); max-width: 30em; }
.banner-points { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; font-weight: 500; }
.banner-points li { display: flex; align-items: center; gap: 10px; }
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--peach); flex: 0 0 8px; }
.banner .btn-white { align-self: flex-start; margin-top: 6px; }
@media (max-width: 720px) {
  .banner-shade { background: linear-gradient(90deg, rgba(26,35,64,0.92) 0%, rgba(26,35,64,0.82) 60%, rgba(26,35,64,0.55) 100%); }
}

/* ---------- home: hero and search ---------- */
.hero { padding-top: 96px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero h1 { font-size: clamp(48px, 7vw, 88px); line-height: 1; font-weight: 700; letter-spacing: -0.025em; max-width: 11em; }
.search-form { width: 100%; max-width: 720px; display: flex; flex-direction: column; gap: 8px; }
.search-narrow { max-width: 640px; }
.search-form label, .subscribe-form label { font-size: 15px; font-weight: 600; }
.field-row { display: flex; flex-wrap: wrap; gap: 10px; }
.field-row input { flex: 1 1 240px; min-width: 0; }
input[type="search"], input[type="email"] { min-height: 52px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 999px; font: 16px var(--body); background: #fff; color: var(--ink); }
.search-form input[type="search"] { min-height: 56px; padding: 0 20px; }
.search-form .field-row input { flex-basis: 320px; }
.search-form .btn { min-height: 56px; padding: 0 28px; }
.search-narrow input[type="search"] { min-height: 54px; }
.popular { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; }
.popular > span { color: var(--text-muted); }

/* ---------- home: stage picker ---------- */
.stage-panels { display: flex; flex-direction: column; gap: 20px; }
.stage-panel { display: flex; flex-wrap: wrap; gap: 40px; background: var(--tint-soft); border-radius: 24px; padding: 40px; }
.js .stage-panels[data-ready] .stage-panel:not(.is-active) { display: none; }
.stage-intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.stage-intro h3 { font-size: 28px; line-height: 1.15; }
.stage-intro p { font-size: 17px; line-height: 1.6; color: var(--text-body); }
.stage-guides { flex: 1 1 520px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.stage-guides li { border-top: 1px solid var(--border-strong); }
.stage-guides a, .stage-guides .is-soon { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 0; text-decoration: none; color: var(--ink); }
.stage-guides a:hover .stage-guide-title { text-decoration: underline; text-underline-offset: 4px; }
.stage-guide-title { font-size: 18px; font-weight: 600; }
.stage-guide-time { font-size: 14px; color: var(--text-muted); }
@media (max-width: 600px) { .stage-panel { padding: 28px 24px; gap: 24px; } }

/* ---------- feature cards ---------- */
.feature, .featured { text-decoration: none; color: #fff; background: var(--ink); border-radius: 28px; display: flex; flex-wrap: wrap; overflow: hidden; }
.feature:hover, .featured:hover { color: #fff; }
.feature-text { flex: 1 1 560px; min-width: 0; padding: 56px; display: flex; flex-direction: column; gap: 18px; }
.feature-text h2, .featured-text h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -0.015em; }
.feature-text p, .featured-text p { font-size: 18px; line-height: 1.6; color: var(--on-dark); }
.feature-eyebrow { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--peach); }
.feature-cta { font-weight: 600; color: var(--peach); }
a.feature:hover .feature-cta, a.featured:hover .feature-cta { text-decoration: underline; text-underline-offset: 4px; }
.feature-media { flex: 1 1 360px; min-height: 320px; object-fit: cover; }
.feature-placeholder { background: var(--dark-panel); display: flex; align-items: center; justify-content: center; color: var(--on-dark); font-size: 15px; padding: 24px; text-align: center; }
.featured-wrap { padding-bottom: 56px; }
.featured > img { flex: 1 1 420px; min-width: 0; min-height: 380px; max-height: 460px; width: 100%; height: auto; object-fit: cover; object-position: 78% 45%; }
.featured-text { flex: 1 1 480px; min-width: 0; padding: 56px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.featured-text h2 { font-size: clamp(32px, 3.4vw, 44px); }
.featured-meta { font-size: 15px; color: var(--on-dark); }
@media (max-width: 600px) {
  .feature-text, .featured-text { padding: 36px 28px; }
  .featured > img { min-height: 240px; }
}

/* ---------- cards ---------- */
.card-row { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 340px; min-width: 0; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
a.card:hover { color: var(--ink); border-color: var(--control-border); box-shadow: 0 6px 24px rgba(26, 35, 64, 0.08); }
a.card:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.card h3 { font-size: 22px; line-height: 1.25; }
.card p { font-size: 15px; line-height: 1.6; color: var(--text-body); }
.post-card { gap: 14px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.post-grid .post-card { min-height: 260px; }
.post-grid .post-card p { flex: 1 1 auto; }
.tool-card { gap: 10px; }
.tool-card h3 { font-size: 20px; }
.tool-card p { line-height: 1.55; }
.resource-card { gap: 12px; }
.resource-card h3 { font-size: 21px; }
.resource-card p { line-height: 1.55; }
.resource-card .meta-strong { margin-top: auto; font-size: 14px; }
.meta { font-size: 14px; color: var(--text-muted); }
.meta-strong { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.tag { align-self: flex-start; background: var(--tint); color: #2B3A8F; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.type-tag { align-self: flex-start; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 10px; border-radius: 999px; }
.type-guide { background: #E6EEFB; color: #2B3A8F; }
.type-template { background: #EEE8FA; color: #4B3290; }
.type-checklist { background: #FBEBDF; color: #8A3A17; }
.type-industry { background: var(--ink); color: #fff; }
.draft-tag { align-self: flex-start; background: #FFF3C4; color: #5C4400; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.is-soon { cursor: default; }
.no-results { font-size: 16px; color: var(--text-body); }

/* ---------- home: industries, FAQ, about, subscribe ---------- */
.industry-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.industry-tile { flex: 1 1 260px; text-decoration: none; color: var(--ink); background: #fff; border-radius: 16px; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; font-size: 17px; font-weight: 600; }
.industry-tile span { color: var(--accent); }
.industry-tile:hover { color: var(--ink); box-shadow: 0 6px 24px rgba(26, 35, 64, 0.1); }

.faq { display: flex; flex-wrap: wrap; gap: 56px; }
.faq-head { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.faq-head .more-link { margin-top: 8px; }
.faq-list { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; }
.faq-list details { border-top: 1px solid var(--border); padding: 18px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--border); }
.faq-list summary { font-size: 18px; font-weight: 600; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.faq-list details p { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--text-body); }

.about { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.portrait { flex: 0 1 300px; aspect-ratio: 1; border-radius: 999px; object-fit: cover; }
.portrait-placeholder { background: var(--tint); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 14px; text-align: center; padding: 32px; }
.about-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about-text h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.015em; }
.about-text > p:not(.eyebrow) { font-size: 18px; line-height: 1.65; color: var(--text-body); }
.credentials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; font-weight: 500; }
.credentials li { background: var(--tint-soft); padding: 8px 14px; border-radius: 999px; }

.subscribe { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.subscribe-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.subscribe-text p { font-size: 18px; line-height: 1.6; color: var(--text-body); }
.subscribe-form { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.form-status { font-size: 15px; font-weight: 500; color: var(--accent); min-height: 0; }
.form-status:empty { display: none; }
.band-tint .subscribe { gap: 40px; }
.band-tint .subscribe-text { flex-basis: 440px; gap: 10px; }
.band-tint .subscribe-text p { font-size: 17px; color: var(--text-prose); }
.h2-band { font-size: clamp(28px, 3.2vw, 38px) !important; line-height: 1.1; }

/* ---------- library and Career notes ---------- */
.page-intro { padding-top: 80px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 22px; }
.page-intro h1 { font-size: clamp(42px, 5.6vw, 68px); line-height: 1.03; font-weight: 700; letter-spacing: -0.02em; }
.page-intro .lead { font-size: 19px; line-height: 1.6; }
.page-intro-split { flex-direction: row; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; }
.intro-main { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.intro-main h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -0.025em; }
.intro-aside { flex: 1 1 360px; min-width: 0; font-size: 18px; line-height: 1.6; color: var(--text-body); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.count { font-size: 14px; color: var(--text-muted); }
.topic-bar { padding-bottom: 40px; display: flex; flex-direction: column; gap: 14px; }

.ask-dark { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.ask-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.ask-text h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.015em; }
.ask-text p:not(.eyebrow) { font-size: 18px; line-height: 1.6; color: var(--on-dark); }
.ask-form { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.ask-form .field { display: flex; flex-direction: column; gap: 6px; }
.ask-form label { font-size: 14px; font-weight: 600; }
.ask-form select, .ask-form textarea { border: 0; border-radius: 12px; font: 16px var(--body); background: #fff; color: var(--ink); }
.ask-form select { min-height: 48px; padding: 0 12px; }
.ask-form textarea { padding: 12px 14px; resize: vertical; }
.ask-form .btn { align-self: flex-start; min-height: 50px; }
.ask-form .form-status { color: var(--peach); }

.two-col { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 56px; }
.ask-light { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; background: var(--tint); border-radius: 24px; padding: 40px; }
.ask-light > p:not(.eyebrow) { font-size: 16px; line-height: 1.6; color: var(--text-body); }
.ask-form-light { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.ask-form-light label { font-size: 15px; font-weight: 600; }
.ask-form-light textarea { padding: 14px 18px; border: 1.5px solid var(--ink); border-radius: 16px; font: 16px var(--body); background: #fff; resize: vertical; }
.ask-form-light .btn { align-self: flex-start; margin-top: 6px; }
.reading { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.reading > p:not(.eyebrow) { font-size: 16px; line-height: 1.6; color: var(--text-body); }
.reading-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; }
.reading-list li { border-top: 1px solid var(--border); padding: 18px 0; display: flex; flex-direction: column; gap: 6px; }
.reading-list li:last-child { border-bottom: 1px solid var(--border); }
.reading-title { font-size: 18px; font-weight: 600; color: var(--ink); }
.reading-note { font-size: 15px; line-height: 1.55; color: var(--text-body); }
@media (max-width: 600px) { .ask-light { padding: 28px 22px; } }

/* ---------- articles ---------- */
.article-head { padding-top: 64px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 22px; }
.article-head h1 { font-size: clamp(42px, 5.6vw, 72px); line-height: 1.03; font-weight: 700; letter-spacing: -0.02em; max-width: 14em; }
.article-head .lead { font-size: 21px; }
.article-head-narrow { max-width: 816px; }
.article-head-narrow h1 { font-size: clamp(38px, 4.8vw, 60px); }
.breadcrumb { font-size: 14px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 8px; }
.byline { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 14px; color: var(--text-muted); }
.byline strong { color: var(--ink); }
.avatar { display: inline-block; border-radius: 999px; background: var(--tint); object-fit: cover; }
.avatar-44 { width: 44px; height: 44px; }
.avatar-72 { width: 72px; height: 72px; flex: 0 0 72px; }

.article-layout { padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.article-single { padding-bottom: 96px; max-width: 816px; }
.article-aside { flex: 0 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 900px) { .article-aside { position: sticky; top: 24px; } }
.toc { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.toc-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 8px; }
.toc a { padding: 8px 0 8px 14px; border-left: 2px solid var(--border); color: var(--text-body); text-decoration: none; }
.toc a:hover { color: var(--ink); border-left-color: var(--control-border); }
.toc a.active { border-left-color: var(--accent); color: var(--ink); font-weight: 600; }
.download-card { background: var(--tint); border-radius: 16px; padding: 20px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.download-card:hover { color: var(--ink); background: #DCE6F8; }
.download-eyebrow { font-size: 13px; font-weight: 600; color: var(--accent); }
.download-title { font-size: 16px; font-weight: 600; }
.download-text { font-size: 14px; color: var(--text-prose); }

.prose { flex: 999 1 560px; min-width: 0; max-width: 720px; display: flex; flex-direction: column; gap: 16px; font-size: 18px; line-height: 1.75; color: var(--text-prose); }
.prose > h2 { margin-top: 24px; font-size: 32px; line-height: 1.15; color: var(--ink); scroll-margin-top: 24px; }
.prose > h3 { margin-top: 12px; font-size: 24px; line-height: 1.2; color: var(--ink); }
.prose > h2 + p, .prose > h3 + p { margin-top: 0; }
.prose strong { color: var(--ink); }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose ol { margin: 0; padding: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 12px; }
.prose ol > li { counter-increment: step; display: flex; gap: 16px; align-items: flex-start; }
.prose ol > li::before { content: counter(step); flex: 0 0 32px; height: 32px; margin-top: 2px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.prose ol > li:nth-child(3n+2)::before { background: var(--accent); }
.prose ol > li:nth-child(3n+3)::before { background: var(--tint); color: var(--accent); }
.prose blockquote { margin: 0; border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; font-size: 20px; color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 16px 0; width: 100%; }
.prose code { font-size: 0.9em; background: var(--tint-soft); padding: 2px 6px; border-radius: 6px; }
.prose pre { margin: 0; background: var(--tint-soft); padding: 20px; border-radius: 16px; overflow-x: auto; font-size: 15px; line-height: 1.6; }
.prose pre code { background: none; padding: 0; }
.prose .figure { margin: 8px 0; display: flex; flex-direction: column; gap: 10px; }
.prose .figure img { border-radius: 16px; width: 100%; height: auto; }
.prose .figure figcaption { font-size: 14px; color: var(--text-muted); }
.prose > * + h2 { margin-top: 40px; }

.takeaways { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 28px 32px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.takeaways h2 { font-size: 22px; color: var(--ink); }
.takeaways ul { margin: 0; padding-left: 22px; font-size: 17px; line-height: 1.7; }

.template { margin: 8px 0; background: var(--ink); color: var(--tint); border-radius: 20px; padding: 28px 32px; display: flex; flex-direction: column; gap: 14px; }
.template figcaption { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--peach); }
.template p { font-size: 16px; line-height: 1.7; white-space: pre-line; }
.template .copy-btn { align-self: flex-start; min-height: 44px; padding: 0 18px; font-size: 14px; background: var(--peach); color: var(--ink); }

table.plan { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: #fff; margin: 8px 0; }
table.plan th, table.plan td { text-align: left; vertical-align: top; padding: 18px 24px; border-bottom: 1px solid var(--border); font-weight: 400; }
table.plan tbody tr:last-child > * { border-bottom: 0; }
table.plan tbody th { width: 90px; font-weight: 700; color: var(--accent); white-space: nowrap; padding-right: 0; }
@media (max-width: 520px) {
  table.plan tbody tr { display: flex; flex-direction: column; border-bottom: 1px solid var(--border); }
  table.plan tbody tr:last-child { border-bottom: 0; }
  table.plan tbody th { padding-bottom: 4px; border-bottom: 0; }
  table.plan tbody td { padding-top: 0; border-bottom: 0; }
}

.box { margin-top: 24px; background: var(--tint-soft); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.box h2 { font-size: 28px; line-height: 1.15; color: var(--ink); scroll-margin-top: 24px; }
.box ul { font-size: 17px; gap: 8px; }

.author-box { margin-top: 24px; border-top: 1px solid var(--border); padding-top: 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.author-box > div { flex: 1 1 360px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.6; color: var(--text-body); }
.author-box strong { font-size: 17px; color: var(--ink); }

.h2-related { font-size: 28px; }
.related-row { display: flex; flex-wrap: wrap; gap: 24px; }
.related-card { flex: 1 1 320px; min-width: 0; text-decoration: none; color: var(--ink); border-top: 2px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
a.related-card:hover { color: var(--ink); }
a.related-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.related-card h3 { font-size: 22px; line-height: 1.25; }
.related-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); }
.more-notes { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; }

.not-found { padding-bottom: 120px; }

@media (max-width: 600px) {
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section-tail { padding-bottom: 64px; }
  .hero { padding-top: 64px; padding-bottom: 56px; }
  .takeaways, .template, .box { padding: 24px 22px; }
  .nav-links { gap: 4px 20px; }
}

@media print {
  .site-header, .site-footer, #subscribe, .article-aside, .banner { display: none; }
}
