/* ==========================================================================
   The Cover Pilot — stylesheet
   Navy #0b2545 · Sky #4fa3e0 · Ink #1b2433 · Paper #ffffff · Mist #f3f6fa
   System font stack: no web-font download, fast LCP, zero CLS from font swap.
   ========================================================================== */
:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --navy-3: #081a33;
  --sky: #4fa3e0;
  --sky-2: #1f7fc4;
  --sky-soft: #e6f2fb;
  --ink: #1b2433;
  --muted: #5a6577;
  --line: #dfe5ee;
  --mist: #f3f6fa;
  --paper: #fff;
  --warn: #fff7e6;
  --warn-line: #f2c46d;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(11,37,69,.06), 0 6px 20px rgba(11,37,69,.06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --measure: 72ch;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--paper); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-2); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); margin: .25em 0 .5em; }
h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); margin: 2em 0 .6em; }
h3 { font-size: 1.2rem; margin: 1.6em 0 .4em; }
p { margin: 0 0 1.1em; }
.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(800px, 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute !important; 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: 1rem; top: -100px; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.brand-name { font-size: 1.25rem; letter-spacing: -.02em; font-weight: 500; }
.brand-name strong { font-weight: 800; color: var(--sky-2); }
.brand-light { color: #fff; }
.brand-light .brand-name strong { color: var(--sky); }
.primary-nav { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.primary-nav ul { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a { display: block; padding: .5rem .7rem; color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 600; border-radius: 8px; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: var(--sky-soft); color: var(--navy); }
.header-search { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--mist); padding-left: .9rem; }
.header-search input { border: 0; background: transparent; font: inherit; font-size: .95rem; width: 150px; padding: .45rem 0; color: var(--ink); }
.header-search input:focus { outline: none; }
.header-search:focus-within { border-color: var(--sky); box-shadow: 0 0 0 3px var(--sky-soft); }
.header-search button { border: 0; background: none; color: var(--navy); padding: .45rem .8rem; cursor: pointer; display: flex; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--navy); content: ""; transition: transform .2s; }
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -6px; }
.nav-toggle-bar::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.25rem; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; }
  .primary-nav a { padding: .75rem .5rem; font-size: 1.05rem; }
  .header-search input { width: 100%; }
  .header-search { margin-top: .5rem; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; padding: 0; margin: 1.25rem 0 0; font-size: .875rem; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: .4rem; color: #9aa6b8; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--sky-2); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; font-size: 1rem; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn-primary { background: var(--sky); color: var(--navy-3); }
.btn-primary:hover { background: #79bbea; color: var(--navy-3); }
.btn-outline { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(79,163,224,.35), transparent 60%), linear-gradient(160deg, var(--navy-3), var(--navy) 55%, var(--navy-2)); color: #e8f0fa; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: center; padding: 4.5rem 0 4rem; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); letter-spacing: -.025em; margin: .3em 0 .45em; }
.hero h1 span { color: var(--sky); }
.hero p.lede { font-size: 1.2rem; max-width: 46ch; color: #c9d8ea; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-search { display: flex; background: #fff; border-radius: 12px; padding: .35rem; max-width: 520px; box-shadow: 0 10px 30px rgba(0,0,0,.25); margin-top: 1.75rem; }
.hero-search input { flex: 1; border: 0; font: inherit; padding: .7rem .9rem; color: var(--ink); background: transparent; min-width: 0; }
.hero-search input:focus { outline: none; }
.hero-panel { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 1.5rem; backdrop-filter: blur(4px); }
.hero-panel h2 { color: #fff; font-size: 1rem; margin: 0 0 1rem; letter-spacing: .02em; }
.hero-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.hero-panel a { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: 10px; color: #e8f0fa; text-decoration: none; background: rgba(255,255,255,.04); border: 1px solid transparent; }
.hero-panel a:hover { border-color: rgba(79,163,224,.6); background: rgba(79,163,224,.12); color: #fff; }
.hero-panel .ico { width: 34px; height: 34px; border-radius: 9px; background: rgba(79,163,224,.18); display: grid; place-items: center; flex-shrink: 0; }
.hero-panel .ico svg { width: 18px; height: 18px; stroke: var(--sky); }
.trust-strip { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.12); }
.trust-strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 0; padding: 1.1rem 0; font-size: .9rem; color: #b8cae0; }
.trust-strip li::before { content: "✓"; color: var(--sky); margin-right: .5rem; font-weight: 700; }
.hero-inner > * { min-width: 0; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: minmax(0, 1fr); padding: 3rem 0; } }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section-alt { background: var(--mist); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: .3rem 0 0; color: var(--muted); }
.section-link { font-weight: 700; text-decoration: none; }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px,100%), 1fr)); gap: 1rem; }
.cat-tile { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.cat-tile:hover { border-color: var(--sky); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.cat-tile .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--sky-soft); display: grid; place-items: center; flex-shrink: 0; }
.cat-tile .ico svg { width: 24px; height: 24px; stroke: var(--navy); }
.cat-tile h3 { margin: 0 0 .2rem; font-size: 1.08rem; }
.cat-tile p { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.55; }
.cat-tile .count { display: inline-block; margin-top: .45rem; font-size: .8rem; font-weight: 700; color: var(--sky-2); }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px,100%), 1fr)); gap: 1.5rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { display: block; aspect-ratio: 16/9; background: var(--mist); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-2); text-decoration: none; }
.card-title { font-size: 1.12rem; margin: .4rem 0 .5rem; line-height: 1.35; }
.card-title a { color: var(--navy); text-decoration: none; }
.card-title a:hover { color: var(--sky-2); text-decoration: underline; }
.card-excerpt { font-size: .95rem; color: var(--muted); line-height: 1.6; margin-bottom: .8rem; }
.card-meta { margin: auto 0 0; font-size: .82rem; color: #7b8698; }

.feature-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 1.5rem; }
.feature-main { position: relative; border-radius: 16px; overflow: hidden; background: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; }
.feature-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.feature-main .inner { position: relative; padding: 2rem; background: linear-gradient(to top, rgba(8,26,51,.95), rgba(8,26,51,0)); }
.feature-main h3 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin: .4rem 0 .6rem; }
.feature-main h3 a { color: #fff; text-decoration: none; }
.feature-main h3 a:hover { text-decoration: underline; }
.feature-main p { color: #cfdcec; margin: 0; }
.feature-main .card-cat { color: var(--sky); }
.feature-list { display: grid; gap: 1rem; align-content: start; }
.feature-list .mini { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.feature-list .mini:last-child { border-bottom: 0; }
.feature-list .mini img { border-radius: 10px; aspect-ratio: 16/10; object-fit: cover; }
.feature-list h3 { font-size: 1.02rem; margin: .25rem 0 0; }
.feature-list h3 a { color: var(--navy); text-decoration: none; }
.feature-list h3 a:hover { color: var(--sky-2); text-decoration: underline; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: minmax(0,1fr); } }

.popular-list { counter-reset: pop; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px,100%), 1fr)); gap: .25rem 2rem; }
.popular-list li { counter-increment: pop; display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.popular-list li::before { content: counter(pop, decimal-leading-zero); font-weight: 800; font-size: 1.4rem; color: var(--sky); min-width: 2.2ch; line-height: 1.3; }
.popular-list a { font-weight: 700; color: var(--navy); text-decoration: none; }
.popular-list a:hover { color: var(--sky-2); text-decoration: underline; }
.popular-list span { display: block; font-size: .85rem; color: var(--muted); }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.value { padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.value h3 { margin-top: 0; font-size: 1.08rem; }
.value p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Page headers ---------- */
.page-hero { background: linear-gradient(180deg, var(--mist), #fff); border-bottom: 1px solid var(--line); padding: 1.5rem 0 2.5rem; }
.page-hero p.lede { font-size: 1.15rem; color: var(--muted); max-width: 70ch; }
.cat-hero { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: center; }
.cat-hero img { border-radius: 16px; box-shadow: var(--shadow); }
@media (max-width: 900px) { .cat-hero { grid-template-columns: 1fr; } .cat-hero img { display: none; } }

/* ---------- Article ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3.5rem; padding: 1rem 0 4rem; }
@media (max-width: 1024px) { .article-layout { grid-template-columns: 1fr; } }
.article-header { padding: .5rem 0 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 1.75rem; }
.article-header .card-cat { font-size: .8rem; }
.article-header .lede { font-size: 1.2rem; color: var(--muted); margin: 0 0 1.2rem; }
.byline { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .9rem; color: var(--muted); }
.byline strong { color: var(--ink); }
.review-note { margin-top: .9rem; font-size: .85rem; color: var(--muted); background: var(--mist); border-radius: 8px; padding: .55rem .8rem; }
.article-body { max-width: var(--measure); }
.article-body ul, .article-body ol { padding-left: 1.4rem; margin: 0 0 1.2em; }
.article-body li { margin-bottom: .45em; }
.article-body h2 { padding-top: .5rem; }
.article-body blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--sky); background: var(--sky-soft); border-radius: 0 8px 8px 0; }
.callout { margin: 1.75rem 0; padding: 1.1rem 1.3rem; border-radius: 12px; background: var(--sky-soft); border: 1px solid #c6e0f5; }
.callout p:last-child { margin: 0; }
.callout strong:first-child { color: var(--navy); }
.key-takeaways { margin: 0 0 2rem; padding: 1.3rem 1.5rem; border-radius: 12px; background: var(--mist); border: 1px solid var(--line); }
.key-takeaways h2 { margin: 0 0 .6rem; font-size: 1.1rem; padding: 0; }
.key-takeaways ul { margin: 0; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--navy); color: #fff; font-weight: 700; }
tbody tr:nth-child(even) { background: var(--mist); }
tbody tr:last-child td { border-bottom: 0; }
.faq h3 { font-size: 1.08rem; }
.content-disclaimer { margin: 2.5rem 0 1.5rem; padding: 1.1rem 1.3rem; background: var(--warn); border: 1px solid var(--warn-line); border-radius: 12px; font-size: .93rem; }
.content-disclaimer p { margin: 0; }
.references { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .93rem; }
.references h2 { font-size: 1.15rem; margin-top: 0; }
.references ol { padding-left: 1.3rem; }
.references li { margin-bottom: .4rem; word-break: break-word; }
.author-box { display: flex; gap: 1rem; margin-top: 2rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 12px; }
.author-box img { width: 56px; height: 56px; flex-shrink: 0; }
.author-box p { margin: .2rem 0 0; font-size: .93rem; color: var(--muted); }
.author-box strong { color: var(--navy); }
.sidebar { position: relative; }
.sidebar-sticky { position: sticky; top: 92px; display: grid; gap: 1.5rem; }
.toc { padding: 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.toc h2 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .7rem; color: var(--muted); }
.toc ol { list-style: none; padding: 0; margin: 0; font-size: .9rem; display: grid; gap: .1rem; }
.toc a { display: block; padding: .3rem .6rem; border-left: 2px solid transparent; color: var(--ink); text-decoration: none; line-height: 1.45; }
.toc a:hover, .toc a.is-active { border-left-color: var(--sky); color: var(--navy); background: var(--mist); }
.side-box { padding: 1.2rem; border-radius: 12px; background: var(--navy); color: #d6e3f2; font-size: .92rem; }
.side-box h2 { color: #fff; font-size: 1rem; margin: 0 0 .5rem; }
.side-box a { color: var(--sky); }
@media (max-width: 1024px) { .sidebar-sticky { position: static; } .toc { display: none; } }
.related { border-top: 1px solid var(--line); }

/* ---------- Ads (only rendered after AdSense approval) ---------- */
.ad-unit { margin: 2rem 0; padding: .5rem 0 1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 120px; }
.ad-label { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #8a94a5; margin-bottom: .4rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.1rem; max-width: 640px; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; color: var(--navy); }
.field .hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
.field input, .field textarea, .field select { width: 100%; font: inherit; padding: .75rem .9rem; border: 1px solid #c4cdd9; border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--sky-2); outline: 3px solid var(--sky-soft); }
.field [aria-invalid="true"] { border-color: #c0392b; }
.field-error { color: #b03a2e; font-size: .9rem; min-height: 1em; margin-top: .3rem; display: block; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1.5rem; }
.alert-success { background: #e9f7ef; border: 1px solid #9fd8b5; }
.alert-error { background: #fdecea; border: 1px solid #f1a9a0; }
.alert-info { background: var(--sky-soft); border: 1px solid #c6e0f5; }
.placeholder-note { background: #fff2cc; border: 1px dashed #d6a200; padding: 0 .3rem; border-radius: 4px; font-size: .92em; }

/* ---------- Prose pages ---------- */
.prose { padding: 1rem 0 4rem; }
.prose h2 { font-size: 1.4rem; }
.prose ul { padding-left: 1.3rem; }
.prose .updated { color: var(--muted); font-size: .92rem; }

/* ---------- Search ---------- */
.search-form-lg { display: flex; gap: .5rem; max-width: 640px; margin: 1rem 0 2rem; }
.search-form-lg input { flex: 1; font: inherit; padding: .8rem 1rem; border: 1px solid #c4cdd9; border-radius: 10px; min-width: 0; }
.result-list { list-style: none; padding: 0; margin: 0; }
.result-list li { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.result-list h2 { font-size: 1.2rem; margin: .2rem 0 .3rem; }
.result-list h2 a { text-decoration: none; color: var(--navy); }
.result-list h2 a:hover { color: var(--sky-2); text-decoration: underline; }
.result-list p { margin: 0; color: var(--muted); }
mark { background: #fff2b3; padding: 0 .1em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-3); color: #aebdd1; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-grid a { color: #d6e3f2; text-decoration: none; }
.footer-grid a:hover { color: var(--sky); text-decoration: underline; }
.footer-heading { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1rem; }
.footer-brand p { margin: 1rem 0 0; max-width: 42ch; }
.footer-note { font-size: .85rem; color: #8ea1ba; }
.footer-note a { color: var(--sky) !important; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: 1.25rem 0 2rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; color: #8ea1ba; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 5rem 0; }
.notfound .code { font-size: 5rem; font-weight: 900; color: var(--sky); line-height: 1; }

@media print {
  .site-header, .site-footer, .sidebar, .ad-unit, .related, .breadcrumbs { display: none !important; }
  .article-layout { display: block; }
  a { color: inherit; }
}
