/* AfroRemote — shared stylesheet. Generated pages link this; edit here, then run build.py. */

:root {
  --paper: #fbf8f3;
  --surface: #ffffff;
  --sunk: #f4efe6;
  --ink: #18201c;
  --ink-2: #47524c;
  --ink-3: #6f7a74;
  --line: #e8e1d5;
  --line-2: #d6ccbc;
  --green: #0d5c46;
  --green-2: #0a4a38;
  --green-soft: #e4f1eb;
  --sun: #f0a030;
  --sun-ink: #8a5300;
  --sun-soft: #fdf0da;
  --clay: #c4532f;
  --band: #0b3a2e;
  --band-2: #0f4a3a;
  --wa: #25d366;
  --wa-ink: #0b3b22;

  --ww-bg: #e3f4ea; --ww-ink: #106b3c; --ww-line: #b7e2c8;
  --af-bg: #e6f0fb; --af-ink: #1d5fa8; --af-line: #bfd6f2;
  --ck-bg: #fdf1dc; --ck-ink: #8f5300; --ck-line: #f0cf93;
  --rs-bg: #fbe8e6; --rs-ink: #a3322a; --rs-line: #f1c3bd;

  --shadow-1: 0 1px 2px rgba(24, 32, 28, .05), 0 1px 1px rgba(24, 32, 28, .03);
  --shadow-2: 0 10px 30px -12px rgba(24, 32, 28, .18), 0 2px 6px rgba(24, 32, 28, .05);
  --radius: 18px;
  --radius-sm: 10px;
  --wrap: 1180px;
  --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1412;
    --surface: #161d1a;
    --sunk: #1c2521;
    --ink: #edf1ee;
    --ink-2: #b7c1bb;
    --ink-3: #8c968f;
    --line: #26302c;
    --line-2: #34413b;
    --green: #4cc095;
    --green-2: #7ad6b2;
    --green-soft: #15302a;
    --sun: #f4b04e;
    --sun-ink: #f4c27a;
    --sun-soft: #33270f;
    --clay: #ec8a68;
    --band: #0c2a22;
    --band-2: #113629;
    --ww-bg: #143322; --ww-ink: #86dfaa; --ww-line: #22513a;
    --af-bg: #142538; --af-ink: #96c4f6; --af-line: #24405e;
    --ck-bg: #33270f; --ck-ink: #f2c070; --ck-line: #574116;
    --rs-bg: #3a1916; --rs-ink: #f4a198; --rs-line: #5c2a25;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-2: 0 12px 30px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-2); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.02em; margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; letter-spacing: -.035em; }
.brand-name span { color: var(--sun); }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a {
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .93rem;
  padding: 8px 12px; border-radius: 999px; transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--sunk); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--sunk); }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 .95rem/1 var(--font-body); padding: 13px 20px; border-radius: 999px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s, background .15s, box-shadow .15s, border-color .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-primary, .btn-primary:hover { color: #08231b; } }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-wa { background: var(--wa); color: var(--wa-ink); box-shadow: 0 6px 18px -8px rgba(37, 211, 102, .7); }
.btn-wa:hover { background: #2ee673; color: var(--wa-ink); }
.btn-sm { padding: 9px 14px; font-size: .86rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--sun) 22%, transparent), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -40% -15%; width: 640px; height: 640px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--green) 16%, transparent), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .74rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--green);
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px var(--sun-soft); }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); font-weight: 800; letter-spacing: -.045em; margin: 18px 0 18px; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .26em;
  background: var(--sun); opacity: .55; border-radius: 4px; z-index: -1;
}
.hero-lede { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
.hero-stats div { min-width: 110px; }
.hero-stats b { display: block; font: 800 1.9rem/1 var(--font-display); letter-spacing: -.03em; color: var(--ink); }
.hero-stats span { font-size: .82rem; color: var(--ink-3); }

.stamp-stack { position: relative; display: grid; gap: 12px; }
.stamp-row {
  display: flex; align-items: center; gap: 14px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-2);
}
.stamp-row:nth-child(1) { transform: rotate(-1.2deg); }
.stamp-row:nth-child(2) { transform: translateX(18px) rotate(.8deg); }
.stamp-row:nth-child(3) { transform: rotate(-.4deg); }
.stamp-row:nth-child(4) { transform: translateX(24px) rotate(1deg); opacity: .9; }
.stamp-row p { margin: 0; font-size: .86rem; color: var(--ink-2); line-height: 1.4; }
.stamp-row strong { display: block; color: var(--ink); font-size: .95rem; font-family: var(--font-display); }

/* ── Stamps & chips ─────────────────────────────────────────────────────── */
.stamp {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  font: 600 .72rem/1 var(--font-mono); letter-spacing: .04em; text-transform: uppercase;
  padding: 7px 10px; border-radius: 8px; border: 1.5px solid; white-space: nowrap;
}
.stamp::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stamp.worldwide { background: var(--ww-bg); color: var(--ww-ink); border-color: var(--ww-line); }
.stamp.africa_ok { background: var(--af-bg); color: var(--af-ink); border-color: var(--af-line); }
.stamp.check { background: var(--ck-bg); color: var(--ck-ink); border-color: var(--ck-line); }
.stamp.restricted { background: var(--rs-bg); color: var(--rs-ink); border-color: var(--rs-line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 500; color: var(--ink-2);
  background: var(--sunk); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.chip.pay { background: var(--sun-soft); border-color: color-mix(in srgb, var(--sun) 35%, transparent); color: var(--sun-ink); font-weight: 600; }
.chip.deadline { background: var(--rs-bg); border-color: var(--rs-line); color: var(--rs-ink); font-weight: 600; }
.chip.stale { background: var(--ck-bg); border-color: var(--ck-line); color: var(--ck-ink); }

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { padding: 64px 0; }
.section.tight { padding: 40px 0; }
.section.alt { background: var(--sunk); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; margin-top: 10px; }
.section-head p { color: var(--ink-2); margin: 8px 0 0; max-width: 42em; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ── Editor's note ──────────────────────────────────────────────────────── */
.note {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--sun);
  border-radius: var(--radius-sm); padding: 20px 22px; margin-bottom: 28px; box-shadow: var(--shadow-1);
}
.note-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font: 800 1rem/1 var(--font-display);
}
.note h3 { font-size: 1.05rem; margin-bottom: 6px; }
.note p { margin: 0; color: var(--ink-2); }
.note .note-meta { font-size: .8rem; color: var(--ink-3); margin-top: 8px; }

/* ── Pick cards ─────────────────────────────────────────────────────────── */
.picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pick {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-1); transition: box-shadow .2s, transform .2s, border-color .2s;
}
.pick:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); border-color: var(--line-2); }
.pick-top { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; overflow: hidden;
  display: grid; place-items: center; background: var(--green-soft); color: var(--green);
  font: 800 .95rem/1 var(--font-display); border: 1px solid var(--line);
}
.avatar img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pick-co { min-width: 0; }
.pick-co b { display: block; font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-co span { display: block; font-size: .82rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-num { margin-left: auto; font: 600 .78rem/1 var(--font-mono); color: var(--ink-3); }
.pick h3 { font-size: 1.32rem; font-weight: 700; }
.pick h3 a { color: inherit; text-decoration: none; }
.pick h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.pick-verdict { color: var(--ink-2); margin: 0; font-size: .97rem; }
.pick-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.pick-foot .more { font-weight: 600; font-size: .9rem; color: var(--green); }

/* ── WhatsApp community band ────────────────────────────────────────────── */
.wa-band {
  position: relative; overflow: hidden; color: #eaf5ef;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(135deg, var(--band) 0%, var(--band-2) 100%);
  border-radius: 28px; padding: 48px; margin: 0 auto;
}
.wa-band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(37, 211, 102, .28), transparent 70%); pointer-events: none;
}
.wa-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.wa-band .kicker { color: #9fe7bd; }
.wa-band .kicker::before { background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, .2); }
.wa-band h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; margin: 14px 0 14px; }
.wa-band p { color: #c8dfd3; font-size: 1.05rem; }
.wa-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.wa-list li { display: flex; gap: 10px; align-items: flex-start; color: #e3f1ea; }
.wa-list li::before {
  content: "✓"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(37, 211, 102, .18); color: #7ef0a9; font-size: .78rem; font-weight: 800; margin-top: 2px;
}
.wa-small { font-size: .82rem !important; color: #9dbcad !important; margin: 12px 0 0 !important; }
.phone {
  background: #0b141a; border-radius: 26px; padding: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
  border: 1px solid rgba(255, 255, 255, .08); max-width: 360px; margin-left: auto; transform: rotate(1.5deg);
}
.phone-bar { display: flex; align-items: center; gap: 10px; padding: 4px 6px 12px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.phone-bar .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.phone-bar .dot svg { width: 20px; height: 20px; }
.phone-bar b { color: #e9edef; font-size: .9rem; display: block; line-height: 1.2; }
.phone-bar span { color: #8696a0; font-size: .74rem; }
.bubble {
  background: #1f2c34; color: #e9edef; border-radius: 4px 14px 14px 14px; padding: 12px 14px;
  margin: 14px 4px 4px; font-size: .84rem; line-height: 1.5;
}
.bubble b { color: #fff; }
.bubble .stamp-mini { color: #7ef0a9; font-family: var(--font-mono); font-size: .72rem; }
.bubble time { display: block; text-align: right; color: #8696a0; font-size: .7rem; margin-top: 6px; }

.wa-inline {
  display: flex; align-items: center; gap: 18px; justify-content: space-between; flex-wrap: wrap;
  background: color-mix(in srgb, var(--wa) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--wa) 35%, var(--line));
  border-radius: var(--radius); padding: 18px 22px; margin: 28px 0;
}
.wa-inline p { margin: 0; font-weight: 500; }
.wa-inline p span { display: block; font-weight: 400; color: var(--ink-2); font-size: .9rem; }

.wa-sticky {
  position: fixed; z-index: 150; right: 20px; bottom: 20px; max-width: 380px;
  display: flex; align-items: center; gap: 12px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 18px; padding: 12px 12px 12px 16px; box-shadow: var(--shadow-2);
  transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.wa-sticky.show { transform: translateY(0); }
.wa-sticky p { margin: 0; font-size: .88rem; line-height: 1.35; }
.wa-sticky p b { display: block; font-family: var(--font-display); font-size: .98rem; }
.wa-sticky .x {
  border: 0; background: transparent; color: var(--ink-3); cursor: pointer; font-size: 1.2rem; line-height: 1;
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
}
.wa-sticky .x:hover { background: var(--sunk); color: var(--ink); }

/* ── Feature tiles ──────────────────────────────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tile h3 { font-size: 1.08rem; margin: 14px 0 8px; }
.tile p { color: var(--ink-2); font-size: .93rem; margin: 0; }
.tile-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.tile-ico svg { width: 22px; height: 22px; }

.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card-link {
  position: relative; display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card-link:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow-2); color: var(--ink); }
.card-link h3 { font-size: 1.15rem; }
.card-link p { color: var(--ink-2); margin: 0; font-size: .93rem; }
.card-link .meta { font: 600 .72rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.card-link .flag { font-size: 1.6rem; line-height: 1; }

.day-list { display: grid; gap: 10px; }
.day-row {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: center; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; transition: border-color .2s;
}
.day-row:hover { border-color: var(--line-2); color: var(--ink); }
.day-row time { font: 600 .82rem/1.3 var(--font-mono); color: var(--green); }
.day-row b { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; display: block; }
.day-row span { color: var(--ink-3); font-size: .86rem; }

/* ── Article / prose pages ──────────────────────────────────────────────── */
.page-head { padding: 52px 0 34px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--sunk), var(--paper)); }
.page-head h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; letter-spacing: -.035em; margin: 14px 0 12px; max-width: 22em; }
.page-head .lede { font-size: 1.12rem; color: var(--ink-2); max-width: 40em; margin: 0; }
.page-head .byline { margin-top: 18px; font-size: .86rem; color: var(--ink-3); display: flex; gap: 14px; flex-wrap: wrap; }
.crumbs { font-size: .84rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .5; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; padding: 44px 0 64px; }
.layout.single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.prose { font-size: 1.04rem; color: var(--ink); max-width: 46rem; }
.prose h2 { font-size: 1.6rem; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.22rem; margin: 1.6em 0 .5em; }
.prose p, .prose ul, .prose ol { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; }
.prose strong { color: var(--ink); }
.prose blockquote {
  margin: 1.4em 0; padding: 16px 20px; border-left: 4px solid var(--sun); background: var(--sun-soft);
  border-radius: 0 12px 12px 0; color: var(--ink);
}
.prose blockquote p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .94rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-display); font-weight: 700; color: var(--ink); background: var(--sunk); }
.prose td { color: var(--ink-2); }
.prose .callout { background: var(--green-soft); border: 1px solid color-mix(in srgb, var(--green) 25%, transparent); border-radius: 14px; padding: 16px 20px; margin: 1.4em 0; }
.prose .callout p:last-child { margin: 0; }
.prose > :first-child { margin-top: 0; }

.aside { position: sticky; top: 90px; display: grid; gap: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel h3 { font-size: 1rem; margin-bottom: 12px; }
.panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.panel li a { text-decoration: none; font-size: .93rem; }
.panel li a:hover { text-decoration: underline; }
.panel.wa { background: linear-gradient(160deg, var(--band), var(--band-2)); border: 0; color: #e5f2eb; }
.panel.wa h3 { color: #fff; font-size: 1.15rem; }
.panel.wa p { color: #c3dccf; font-size: .92rem; }

/* ── Pick detail ────────────────────────────────────────────────────────── */
.detail-head { display: flex; gap: 18px; align-items: center; margin: 18px 0 6px; }
.detail-head .avatar { width: 64px; height: 64px; border-radius: 16px; font-size: 1.2rem; }
.detail-head b { display: block; font-size: 1.05rem; }
.detail-head span { color: var(--ink-3); font-size: .92rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 0; }
.facts div { background: var(--surface); padding: 12px 14px; }
.facts dt { font: 600 .68rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 600; font-size: .93rem; }
.verdict-box {
  font: 600 1.25rem/1.45 var(--font-display); letter-spacing: -.01em; color: var(--ink);
  padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  border-left: 5px solid var(--green); margin: 0 0 1.6em;
}
.take-label { display: inline-flex; gap: 8px; align-items: center; font: 600 .72rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--clay); margin-bottom: 10px; }
.ticks, .flags { list-style: none; padding: 0 !important; }
.ticks li, .flags li { position: relative; padding-left: 30px; }
.ticks li::before, .flags li::before {
  position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center;
  font-size: .72rem; font-weight: 800;
}
.ticks li::before { content: "✓"; background: var(--green-soft); color: var(--green); }
.flags li::before { content: "!"; background: var(--ck-bg); color: var(--ck-ink); }
.steps { padding-left: 22px !important; }
.steps li { margin-bottom: 6px; }
.apply-email { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; background: var(--sunk);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; margin: 10px 0; }
.apply-email span { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--green); min-width: 64px; }
.apply-email b { font-family: var(--font-mono); font-weight: 500; overflow-wrap: anywhere; flex: 1 1 180px; min-width: 0; }
.tip { background: var(--sun-soft); border-radius: 14px; padding: 16px 20px; color: var(--ink); }
.tip p { margin: 0; color: var(--ink); }
.apply-box { display: grid; gap: 12px; }
.apply-box .btn { width: 100%; }
.apply-box small { color: var(--ink-3); font-size: .8rem; line-height: 1.5; }
.closed-banner { background: var(--ck-bg); color: var(--ck-ink); border: 1px solid var(--ck-line); border-radius: 12px; padding: 12px 16px; font-weight: 500; margin-bottom: 20px; }
.share { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Board ──────────────────────────────────────────────────────────────── */
.filters {
  position: sticky; top: 66px; z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); padding: 14px 0;
}
.filters-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.field {
  font: inherit; font-size: .92rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 10px 12px; min-height: 44px;
}
.field:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.field.search { flex: 1 1 260px; padding-left: 38px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236f7a74' stroke-width='2.2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 13px center; }
.seg { display: inline-flex; background: var(--sunk); border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { font: 500 .86rem/1 var(--font-body); color: var(--ink-2); background: transparent; border: 0; border-radius: 9px; padding: 9px 12px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); font-weight: 600; }
.toggle { display: inline-flex; gap: 8px; align-items: center; font-size: .88rem; color: var(--ink-2); cursor: pointer; }
.toggle input { accent-color: var(--green); width: 16px; height: 16px; }
.board-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--ink-3); font-size: .88rem; margin: 22px 0 14px; }
.rows { display: grid; gap: 10px; }
.row {
  display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; transition: border-color .15s;
}
.row:hover { border-color: var(--line-2); }
.row.picked { border-color: color-mix(in srgb, var(--sun) 55%, var(--line)); background: color-mix(in srgb, var(--sun) 5%, var(--surface)); }
.row.gone { opacity: .7; }
.row h3 { font: 600 1rem/1.3 var(--font-body); letter-spacing: 0; margin-bottom: 3px; }
.row h3 a { color: var(--ink); text-decoration: none; }
.row h3 a:hover { color: var(--green); text-decoration: underline; }
.row .sub { font-size: .84rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .why { font-size: .82rem; color: var(--ink-2); margin-top: 6px; }
.row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.row-side a { font-size: .85rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.empty { text-align: center; padding: 60px 20px; color: var(--ink-3); background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.more-wrap { text-align: center; margin-top: 22px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: #111915; color: #a9b6af; margin-top: 64px; padding: 56px 0 30px; font-size: .92rem; }
.site-footer a { color: #d9e6df; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-grid h4 { font: 600 .72rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #7f8d86; margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-brand .brand-name { color: #fff; }
.foot-brand p { margin: 14px 0 18px; max-width: 30em; line-height: 1.6; }
.foot-bottom { border-top: 1px solid #223029; margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #7f8d86; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .hero-grid, .wa-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .stamp-stack { max-width: 520px; }
  .phone { margin: 0 auto; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout { grid-template-columns: 1fr; }
  .aside { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; gap: 2px; box-shadow: var(--shadow-2);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 12px; font-size: 1rem; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; }
  .picks, .cards-3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 40px; }
  .hero-lede { font-size: 1.04rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { gap: 18px; }
  .hero-stats b { font-size: 1.55rem; }
  .stamp-row:nth-child(n) { transform: none; }
  .section { padding: 44px 0; }
  .wa-band { padding: 30px 20px; border-radius: 22px; }
  .tiles { grid-template-columns: 1fr; }
  .pick { padding: 18px; }
  .pick h3 { font-size: 1.18rem; }
  .pick-num { display: none; }
  .pick-foot { flex-wrap: wrap; }
  .note { grid-template-columns: 1fr; }
  .day-row { grid-template-columns: 1fr; gap: 6px; }
  .row { grid-template-columns: minmax(0, 1fr); }
  .row .avatar { display: none; }
  .row-side { flex-direction: row; align-items: center; justify-content: space-between; }
  .facts { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .wa-sticky { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .seg { width: 100%; }
  .seg button { flex: 1 1 auto; }
}

/* ── Pick groups, on-site stamp, skipped list ───────────────────────────── */
:root { --lc-bg: #efe9fb; --lc-ink: #5b3fa3; --lc-line: #d6c9f2; }
@media (prefers-color-scheme: dark) { :root { --lc-bg: #261d3d; --lc-ink: #c4b1f5; --lc-line: #3d3060; } }
.stamp.local { background: var(--lc-bg); color: var(--lc-ink); border-color: var(--lc-line); }
.group-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.group-jump a {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: .9rem; background: var(--surface); border: 1px solid var(--line-2);
  border-radius: 999px; padding: 8px 14px; transition: border-color .15s;
}
.group-jump a:hover { border-color: var(--green); color: var(--ink); }
.group-jump a span, .group-head h3 span {
  font: 600 .74rem/1 var(--font-mono); background: var(--sunk); color: var(--ink-2);
  border-radius: 999px; padding: 4px 8px;
}
.group-head { margin: 40px 0 16px; padding-top: 22px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.group-head h3 { font-size: 1.45rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.group-head p { margin: 6px 0 0; color: var(--ink-2); max-width: 46em; }
.skipped { margin-top: 32px; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius-sm); padding: 14px 18px; }
.skipped summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.skipped ul { margin: 12px 0 0; padding-left: 1.2em; color: var(--ink-2); font-size: .94rem; }
.skipped li { margin-bottom: 6px; }

/* Same-day picks below a pick page (after the essentials on mobile) */
.more-picks { border-top: 1px solid var(--line); padding: 40px 0 56px; }
@media (max-width: 1020px) { .layout { padding-bottom: 40px; } }

/* ── Book promo (grants directory) ── */
.book-card {
  display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--sun);
  border-radius: var(--radius); padding: 20px; margin: 28px 0; box-shadow: var(--shadow-1);
}
.book-card .book-cover img, .book-hero .book-cover img {
  display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: var(--shadow-2);
}
.book-card h3 { font-size: 1.15rem; margin: 6px 0 8px; }
.book-card h3 a { color: var(--ink); }
.book-card p { margin: 0 0 14px; color: var(--ink-2); font-size: .94rem; }
.book-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.book-actions .btn { white-space: normal; text-align: center; }
.book-actions small { flex-basis: 100%; color: var(--ink-3); font-size: .8rem; }
.book-hero { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; margin: 8px 0 32px; }
.book-hero .book-facts { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.book-hero .book-facts li { margin: 0; }
@media (max-width: 600px) {
  .book-card { grid-template-columns: 76px 1fr; gap: 14px; padding: 16px; }
  .book-hero { grid-template-columns: 1fr; }
  .book-hero .book-cover { max-width: 200px; }
}
