/* ==========================================================================
   The Crypto Week (thecryptoweek.com) — Editorial Stylesheet (v2)
   Bright crisp surfaces & paper-craft stickers (shophhh craft) +
   Developments Today 3-column article layout & scroll-updating TOC sidebar.
   High contrast (>= 4.5:1), zero ads, fluid typography, midnight dark mode.
   Revertible to v1 warm-cream baseline via git tag `v1-coinclarity-baseline`.
   ========================================================================== */

:root {
  --bg: #fbfbf9;
  --bg-elev: #f1f4f8;
  --bg-deep: #e6ebf2;
  --card: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #5b667a;
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-soft: rgba(29, 78, 216, 0.09);
  --gold: #d97706;
  --gold-soft: #fef3c7;
  --gold-ink: #92400e;
  --ok: #059669;
  --ok-soft: rgba(5, 150, 105, 0.11);
  --danger: #dc2626;
  --danger-soft: rgba(220, 38, 38, 0.10);
  --border: #e2e7f0;
  --border-strong: #c8d2e2;
  --rule-soft: #eaeef5;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 6px rgba(15, 23, 42, 0.03);
  --shadow: 0 4px 14px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 18px 44px -16px rgba(15, 23, 42, 0.22);
  --radius: 1rem;
  --radius-sm: 0.65rem;
  --radius-lg: 1.35rem;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

html.dark {
  --bg: #0b101b;
  --bg-elev: #111827;
  --bg-deep: #070b14;
  --card: #151e30;
  --ink: #f1f5f9;
  --ink-2: #cbd5e1;
  --muted: #94a3b8;
  --primary: #60a5fa;
  --primary-hover: #93c5fd;
  --primary-soft: rgba(96, 165, 250, 0.14);
  --gold: #fbbf24;
  --gold-soft: rgba(251, 191, 36, 0.14);
  --gold-ink: #fde68a;
  --ok: #34d399;
  --ok-soft: rgba(52, 211, 153, 0.14);
  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, 0.14);
  --border: rgba(226, 232, 240, 0.12);
  --border-strong: rgba(226, 232, 240, 0.22);
  --rule-soft: rgba(226, 232, 240, 0.08);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow: 0 8px 26px -8px rgba(0, 0, 0, 0.52);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.72);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); color: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; line-height: 1.62; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: 1.25rem; }
.max-4xl { max-width: 56rem; margin-inline: auto; }
.max-6xl { max-width: 72rem; margin-inline: auto; }
.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; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.serif { font-family: var(--font-display); }

/* ── Alternating Full-Bleed Bands (shophhh rhythm) ─────────────────────── */
.band {
  background: var(--bg-elev);
  border-block: 1px solid var(--border);
}
.band-hero {
  background:
    radial-gradient(640px 300px at 88% 8%, rgba(29, 78, 216, 0.08), transparent 70%),
    radial-gradient(520px 260px at 10% 90%, rgba(245, 158, 11, 0.09), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
html.dark .band-hero {
  background:
    radial-gradient(640px 300px at 88% 8%, rgba(96, 165, 250, 0.12), transparent 70%),
    radial-gradient(520px 260px at 10% 90%, rgba(251, 191, 36, 0.08), transparent 70%),
    var(--bg);
}

/* ── Header, Masthead Logo & Nav ───────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.9rem; min-height: 66px;
}
.brand {
  display: inline-flex; align-items: center; flex-shrink: 0;
}
.brand-lockup {
  display: inline-flex; align-items: center; gap: 0.62rem;
}
.brand-emblem {
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(29, 78, 216, 0.18));
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.brand-coin-halo { fill: var(--card); }
.site-footer .brand-coin-halo { fill: var(--bg-elev); }
.brand:hover .brand-emblem { transform: rotate(-3deg) scale(1.04); }
.brand-wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.brand-title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  white-space: nowrap;
}
.brand-lockup.is-compact .brand-title { font-size: 1.18rem; }
.brand-title em {
  font-style: italic;
  font-weight: 600;
  color: var(--primary);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.14rem;
}

.nav-links { display: none; align-items: center; gap: 0.2rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-link {
  padding: 0.42rem 0.68rem; border-radius: 999px; font-size: 0.855rem; font-weight: 550;
  color: var(--ink-2); transition: background 0.15s, color 0.15s; white-space: nowrap;
}
.nav-link:hover, .nav-link[aria-current="page"] { background: var(--bg-elev); color: var(--ink); }
.nav-link.is-start {
  color: var(--primary); background: var(--primary-soft); font-weight: 650;
}
.nav-link.is-start:hover { background: color-mix(in srgb, var(--primary) 16%, transparent); }

.header-actions { display: flex; align-items: center; gap: 0.4rem; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid var(--border); background: var(--card); color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.15s;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.icon-sun { display: none; }
html.dark .icon-sun { display: block; }
html.dark .icon-moon { display: none; }
.mobile-nav-btn { display: grid; }
@media (min-width: 1024px) { .mobile-nav-btn { display: none; } }

.mobile-drawer {
  display: none; border-top: 1px solid var(--border); background: var(--card);
  padding: 0.85rem 1.25rem 1.1rem;
}
.mobile-drawer.open { display: block; }
.mobile-drawer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.mobile-drawer-links a {
  padding: 0.62rem 0.85rem; border-radius: var(--radius-sm); background: var(--bg-elev);
  border: 1px solid var(--border); font-size: 0.88rem; font-weight: 600; color: var(--ink);
}

/* ── Live Consumer Bitcoin Pulse Strip ─────────────────────────────────── */
.pulse-strip {
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
  font-size: 0.79rem;
}
.pulse-inner {
  display: flex; align-items: center; gap: 1.15rem;
  overflow-x: auto; padding-block: 0.48rem; scrollbar-width: none;
}
.pulse-inner::-webkit-scrollbar { display: none; }
.pulse-item { display: inline-flex; align-items: center; gap: 0.42rem; white-space: nowrap; color: var(--ink-2); }
.pulse-label { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.055em; font-size: 0.68rem; }
.pulse-val { font-family: var(--font-mono); font-weight: 650; color: var(--ink); }
.pulse-delta { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; padding: 0.08rem 0.4rem; border-radius: 999px; }
.pulse-delta.up { color: var(--ok); background: var(--ok-soft); }
.pulse-delta.down { color: var(--danger); background: var(--danger-soft); }
.pulse-sep { width: 1px; height: 14px; background: var(--border-strong); flex-shrink: 0; }
.pulse-cta { margin-inline-start: auto; color: var(--primary); font-weight: 650; white-space: nowrap; display: inline-flex; align-items: center; gap: 0.28rem; }
.pulse-cta:hover { text-decoration: underline; }

/* ── Tactile shophhh-style Die-Cut Paper-Craft Stickers ────────────────── */
.sticker-wrap {
  display: inline-grid;
  place-items: center;
  width: var(--st-size, 54px);
  height: var(--st-size, 54px);
  flex-shrink: 0;
  transform: rotate(var(--st-tilt, -3deg));
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), filter 0.25s ease;
  filter: drop-shadow(0 5px 10px rgba(15, 23, 42, 0.14)) drop-shadow(0 1px 2px rgba(15, 23, 42, 0.10));
}
html.dark .sticker-wrap {
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.48)) drop-shadow(0 0 1px rgba(255, 255, 255, 0.18));
}
.sticker-img, .sticker-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.tool-card:hover .sticker-wrap,
.stat-card:hover .sticker-wrap,
.step-card:hover .sticker-wrap,
.hero-sticker-chip:hover .sticker-wrap {
  transform: rotate(0deg) translateY(-3px) scale(1.06);
}

/* ── Editorial Opener (Weekly Edition Hero) ────────────────────────────── */
.opener {
  display: grid; grid-template-columns: 1fr; gap: 1.75rem;
  padding-block: 2.4rem 2.35rem;
}
@media (min-width: 920px) {
  .opener { grid-template-columns: 1.38fr 0.92fr; align-items: center; gap: 2.35rem; }
}
.opener-eyebrow {
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.085em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 0.75rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem;
}
.issue-pill {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.2rem 0.62rem; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold-ink);
  font-size: 0.7rem; font-weight: 750; letter-spacing: 0.07em;
}
.opener h1 {
  font-family: var(--font-display); font-size: clamp(2.1rem, 4.3vw, 3.35rem);
  font-weight: 700; line-height: 1.07; letter-spacing: -0.028em; margin: 0 0 0.9rem;
}
.opener h1 em { font-style: italic; color: var(--primary); font-weight: 600; }
.opener-dek {
  font-size: 1.04rem; line-height: 1.66; color: var(--ink-2); max-width: 40rem; margin: 0 0 1.35rem;
}
.opener-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.66rem 1.18rem; border-radius: 999px; font-size: 0.89rem; font-weight: 650;
  transition: background 0.16s, border-color 0.16s, transform 0.16s, box-shadow 0.16s;
}
.btn-primary {
  background: var(--primary); color: #ffffff;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.26);
}
html.dark .btn-primary { color: #0b101b; box-shadow: 0 4px 14px rgba(96, 165, 250, 0.22); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-secondary {
  background: var(--card); color: var(--ink); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }

.opener-sticker-row {
  display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.35rem;
}
.hero-sticker-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.36rem 0.78rem 0.36rem 0.42rem;
  border-radius: 999px;
  background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 0.8rem; font-weight: 600; color: var(--ink-2);
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.hero-sticker-chip:hover {
  border-color: var(--primary); color: var(--primary);
  transform: translateY(-2px); box-shadow: var(--shadow);
}

.stat-card {
  position: relative;
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.35rem 1.45rem; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute; top: 0; inset-inline: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
}
.stat-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.stat-top-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.stat-lbl { font-size: 0.7rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.085em; color: var(--muted); }
.congestion-pill {
  font-size: 0.67rem; font-weight: 700; padding: 0.14rem 0.5rem; border-radius: 999px;
}
.congestion-pill.is-ok { background: var(--ok-soft); color: var(--ok); }
.congestion-pill.is-mid { background: var(--gold-soft); color: var(--gold-ink); }
.congestion-pill.is-busy { background: var(--danger-soft); color: var(--danger); }
.stat-big {
  font-family: var(--font-display); font-size: clamp(2.25rem, 3.6vw, 3rem);
  font-weight: 700; line-height: 1.02; color: var(--primary); margin: 0.38rem 0 0.4rem;
}
.stat-bottom { font-size: 0.87rem; line-height: 1.48; color: var(--ink-2); }
.stat-tiers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem;
}
.stat-tier {
  display: flex; flex-direction: column; gap: 0.12rem;
  padding: 0.62rem 0.68rem; border-radius: var(--radius-sm);
  background: var(--bg-elev); border: 1px solid var(--border);
}
.stat-tier.is-featured {
  background: var(--primary-soft);
  border-color: color-mix(in srgb, var(--primary) 38%, var(--border));
}
.stat-tier-lbl { font-size: 0.66rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.055em; color: var(--muted); }
.stat-tier-val { font-family: var(--font-mono); font-size: 1rem; font-weight: 700; color: var(--ink); }
.stat-tier.is-featured .stat-tier-val { color: var(--primary); }
.stat-tier-sub { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); }
.stat-meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.42rem;
  font-size: 0.78rem; color: var(--muted);
}
.stat-meta-row strong { color: var(--ink-2); font-weight: 650; }
.stat-foot {
  padding-top: 0.85rem; border-top: 1px solid var(--border);
}
.stat-link {
  font-size: 0.84rem; font-weight: 650; color: var(--primary);
  display: inline-flex; align-items: center; gap: 0.3rem;
}

/* ── Section Headings & Grids ──────────────────────────────────────────── */
.section { padding-block: 2.65rem; }
.section + .section { border-top: 1px solid var(--rule-soft); }
.section-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.45rem; flex-wrap: wrap;
}
.section-title-group { display: flex; align-items: center; gap: 0.7rem; }
.section-head h2 {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 1.98rem);
  font-weight: 700; letter-spacing: -0.022em; margin: 0;
}
.section-more { font-size: 0.87rem; font-weight: 650; color: var(--primary); display: inline-flex; align-items: center; gap: 0.3rem; }
.section-more:hover { text-decoration: underline; }

.grid-1 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 820px) {
  .grid-1 .article-card {
    display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.25rem; align-items: stretch;
  }
  .grid-1 .card-media { aspect-ratio: auto; min-height: 280px; }
  .grid-1 .card-body { padding: 0.45rem 0.5rem 0.45rem 0.15rem; }
  .grid-1 .card-title { font-size: 1.55rem; }
}
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 680px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ── Category Badge & Author Pill ──────────────────────────────────────── */
.cat-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.71rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.24rem 0.64rem; border-radius: 999px; width: fit-content;
  background: var(--primary-soft); color: var(--primary);
}
.new-pill {
  font-size: 0.67rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.065em;
  padding: 0.2rem 0.56rem; border-radius: 999px; background: var(--primary); color: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.22);
}
.guide-pill {
  background: rgba(15, 23, 42, 0.80); color: #ffffff; backdrop-filter: blur(6px);
}
.avatar {
  width: 28px; height: 28px; border-radius: 999px;
  background: linear-gradient(135deg, #1d4ed8, #0f1f4b); color: #fde68a;
  display: inline-grid; place-items: center; font-size: 0.7rem; font-weight: 800;
  letter-spacing: -0.02em; flex-shrink: 0; border: 1.5px solid rgba(245, 158, 11, 0.65);
}
.avatar-lg { width: 42px; height: 42px; font-size: 0.9rem; }

/* ── DT-Style Article Card (with shophhh elevation & crisp framing) ────── */
.article-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0.8rem; box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.22s, transform 0.22s;
}
.article-card:hover {
  border-color: color-mix(in srgb, var(--primary) 42%, var(--border));
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.card-media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius-sm); background: var(--bg-elev);
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.article-card:hover .card-media img { transform: scale(1.045); }
.card-badges { position: absolute; top: 0.58rem; left: 0.58rem; display: flex; gap: 0.38rem; }
.card-body { display: flex; flex-direction: column; flex: 1; gap: 0.55rem; padding: 0.85rem 0.35rem 0.3rem; }
.card-title {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  line-height: 1.26; margin: 0; color: var(--ink); transition: color 0.15s;
}
.article-card:hover .card-title { color: var(--primary); }
.card-dek { font-size: 0.88rem; line-height: 1.52; color: var(--muted); margin: 0; }
.card-brief {
  margin-top: 0.22rem; padding: 0.68rem 0.8rem; border-radius: var(--radius-sm);
  background: var(--bg-elev); border: 1px solid var(--border);
}
.card-brief-head {
  display: flex; align-items: center; gap: 0.35rem; margin-bottom: 0.42rem;
  font-size: 0.68rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.075em; color: var(--primary);
}
.card-brief ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.32rem; }
.card-brief li { display: flex; align-items: flex-start; gap: 0.45rem; font-size: 0.785rem; line-height: 1.42; color: var(--ink-2); }
.card-brief li::before {
  content: ""; width: 5px; height: 5px; border-radius: 999px; background: var(--gold);
  margin-top: 0.44rem; flex-shrink: 0;
}
.card-meta {
  margin-top: auto; padding-top: 0.6rem; display: flex; align-items: center; flex-wrap: wrap;
  gap: 0.4rem; font-size: 0.76rem; color: var(--muted);
}

/* ── Tool & Topic Cards (with tactile paper-craft sticker badges) ──────── */
.tool-card {
  display: flex; flex-direction: column; gap: 0.62rem; padding: 1.35rem;
  border-radius: var(--radius); background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, transform 0.22s, box-shadow 0.22s;
}
.tool-card:hover {
  border-color: color-mix(in srgb, var(--primary) 50%, var(--border));
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.tool-card-top {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  margin-bottom: 0.15rem;
}
.tool-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin: 0; line-height: 1.24; }
.tool-card p { font-size: 0.87rem; line-height: 1.54; color: var(--muted); margin: 0; }
.tool-cta {
  margin-top: auto; padding-top: 0.45rem; font-size: 0.83rem; font-weight: 650;
  color: var(--primary); display: inline-flex; align-items: center; gap: 0.3rem;
}

/* ── Breadcrumbs ───────────────────────────────────────────────────────── */
.breadcrumbs {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem;
  font-size: 0.82rem; color: var(--muted); margin-bottom: 1.5rem;
}
.breadcrumbs a:hover { color: var(--primary); text-decoration: underline; }

/* ── DT Article Hero (exact layout & 21:9 aspect ratio) ────────────────── */
.article-page { padding-block: 1.75rem 4.25rem; }
.article-header { max-width: 56rem; margin-inline: auto; display: grid; gap: 1rem; }
.article-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.026em; margin: 0;
}
.article-dek { font-size: clamp(1.05rem, 2vw, 1.24rem); line-height: 1.6; color: var(--muted); margin: 0; }
.article-byline { display: flex; align-items: center; gap: 0.75rem; padding-top: 0.35rem; }
.byline-name { font-weight: 650; font-size: 0.94rem; margin: 0; }
.byline-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; font-size: 0.82rem; color: var(--muted); }

.article-hero-figure { margin: 2rem 0 0; }
.article-hero-frame {
  position: relative; aspect-ratio: 2 / 1; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--bg-elev);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
@media (min-width: 768px) { .article-hero-frame { aspect-ratio: 21 / 9; } }
.article-hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.article-hero-figure figcaption {
  margin-top: 0.65rem; text-align: center; font-size: 0.78rem; color: var(--muted); font-style: italic;
}

/* ── Key Takeaways Box (DT ArticleBriefSidebar + sticker charm) ────────── */
.brief-box {
  margin-top: 1.85rem; border-radius: var(--radius); padding: 1.25rem 1.4rem;
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--border));
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}
.brief-box-head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  margin-bottom: 0.8rem;
}
.brief-box-label {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.74rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.085em; color: var(--primary);
}
.brief-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.58rem; }
.brief-list li { display: flex; align-items: flex-start; gap: 0.62rem; font-size: 0.95rem; line-height: 1.54; color: var(--ink-2); }
.brief-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--gold); margin-top: 0.52rem; flex-shrink: 0; }

/* ── DT 3-Column Article Grid (56px Left Share | 1fr Prose | 234px TOC) ── */
.article-grid {
  max-width: 72rem; margin: 2.5rem auto 0;
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 1040px) {
  .article-grid { grid-template-columns: 56px minmax(0, 1fr) 234px; gap: 2.35rem; }
}

.share-rail { display: none; }
@media (min-width: 1040px) { .share-rail { display: block; } }
.share-sticky { position: sticky; top: 6rem; display: flex; flex-direction: column; gap: 0.55rem; align-items: center; }
.share-btn {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--card); color: var(--muted); display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, color 0.15s, background 0.15s, transform 0.15s;
}
.share-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); transform: translateY(-1px); }
.share-mobile { display: flex; justify-content: center; gap: 0.6rem; margin-top: 2rem; }
@media (min-width: 1040px) { .share-mobile { display: none; } }

/* ── DT Scroll-Updating Right TOC Sidebar ──────────────────────────────── */
.toc-aside { display: none; position: relative; }
@media (min-width: 1040px) { .toc-aside { display: block; } }
.toc-nav {
  position: sticky; top: 5.75rem;
  max-height: calc(100vh - 7.25rem); overflow-y: auto; scrollbar-width: none;
  user-select: none;
  padding: 1.05rem 1rem 0.9rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.toc-nav::-webkit-scrollbar { display: none; }
.toc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.6rem; }
.toc-title { font-size: 0.7rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.085em; color: var(--muted); margin: 0; }
.toc-pct { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600; color: var(--muted); transition: color 0.3s, transform 0.3s; }
.toc-pct.done { color: var(--ok); font-weight: 700; transform: scale(1.06); }
.toc-bar-track { height: 4px; background: var(--bg-elev); border-radius: 999px; overflow: hidden; margin-bottom: 1.05rem; }
.toc-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--primary), var(--gold)); border-radius: 999px; transition: width 0.25s ease-out, background 0.3s; }
.toc-bar-fill.done { background: var(--ok); }

.toc-list { position: relative; }
.toc-rail-bg { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--border); border-radius: 999px; }
.toc-rail-active {
  position: absolute; left: 0; top: 0; width: 2px; height: 0; opacity: 0;
  background: var(--primary); border-radius: 999px;
  transition: top 0.3s cubic-bezier(0.22, 1, 0.36, 1), height 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s;
}
.toc-link {
  position: relative; display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; line-height: 1.38; padding: 0.44rem 0 0.44rem 0.9rem;
  color: var(--muted); transition: color 0.2s ease, transform 0.2s ease;
}
.toc-link.level-3 { padding-left: 1.55rem; font-size: 0.76rem; }
.toc-link:hover { color: var(--ink); }
.toc-link.is-past { color: color-mix(in srgb, var(--muted) 58%, transparent); }
.toc-link.is-active { color: var(--ink); font-weight: 650; }
.toc-dot {
  width: 6px; height: 6px; border-radius: 999px; flex-shrink: 0;
  background: transparent; transform: scale(0); transition: all 0.35s ease;
}
.toc-link:hover .toc-dot { background: var(--border-strong); transform: scale(0.8); }
.toc-link.is-past .toc-dot { background: var(--border-strong); transform: scale(0.7); }
.toc-link.is-active .toc-dot {
  background: var(--primary); transform: scale(1.25);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.toc-link-text { transition: transform 0.25s ease; }
.toc-link.is-active .toc-link-text { transform: translateX(2px); }
.toc-foot {
  margin-top: 0.9rem; padding-top: 0.7rem; border-top: 1px solid var(--border);
  font-size: 0.71rem; color: var(--muted); font-family: var(--font-mono);
}

/* ── Article Prose Typography (DT sizing & readability) ────────────────── */
.article-body { min-width: 0; }
.prose { color: var(--ink-2); font-size: 1.05rem; line-height: 1.78; }
@media (min-width: 768px) { .prose { font-size: 1.1rem; } }
.prose h2 {
  font-family: var(--font-display); color: var(--ink); font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 1.92rem); line-height: 1.2; letter-spacing: -0.02em;
  margin: 2.65rem 0 0.9rem; scroll-margin-top: 6rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-display); color: var(--ink); font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.44rem); line-height: 1.28;
  margin: 1.95rem 0 0.65rem; scroll-margin-top: 6rem;
}
.prose p { margin: 0 0 1.35rem; }
.prose ul, .prose ol { margin: 1.25rem 0 1.45rem; padding-left: 1.4rem; }
.prose li { margin-bottom: 0.5rem; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--primary) 35%, transparent); }
.prose a:hover { text-decoration-color: var(--primary); }
.prose blockquote {
  margin: 1.65rem 0; padding: 0.95rem 1.3rem;
  border-left: 3.5px solid var(--gold); background: var(--card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-sm);
  color: var(--ink); font-style: italic;
}
.prose table {
  width: 100%; border-collapse: collapse; margin: 1.65rem 0;
  font-size: 0.93rem; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm);
}
.prose th, .prose td { padding: 0.72rem 0.95rem; text-align: left; border-bottom: 1px solid var(--border); }
.prose th { background: var(--bg-elev); color: var(--ink); font-weight: 650; font-size: 0.84rem; }
.prose tr:last-child td { border-bottom: none; }
.prose code {
  font-family: var(--font-mono); font-size: 0.86em; padding: 0.14rem 0.38rem;
  border-radius: 5px; background: var(--bg-elev); color: var(--ink);
}

/* ── DT Inline Read More Card ──────────────────────────────────────────── */
.inline-more {
  margin: 2rem 0; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--card); box-shadow: var(--shadow-sm);
  overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.inline-more:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-1px); }
.inline-more-link { display: flex; gap: 1rem; padding: 0.95rem 1.05rem; align-items: center; }
.inline-more-thumb {
  width: 112px; height: 76px; border-radius: var(--radius-sm); overflow: hidden;
  flex-shrink: 0; background: var(--bg-elev); display: none;
}
@media (min-width: 560px) { .inline-more-thumb { display: block; } }
.inline-more-thumb img { width: 100%; height: 100%; object-fit: cover; }
.inline-more-kicker { font-size: 0.68rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.075em; color: var(--primary); margin: 0 0 0.25rem; }
.inline-more-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin: 0 0 0.25rem; color: var(--ink); }
.inline-more:hover .inline-more-title { color: var(--primary); }
.inline-more-cta { font-size: 0.78rem; font-weight: 650; color: var(--primary); display: inline-flex; align-items: center; gap: 0.25rem; }

/* ── Verified Sources & Consumer Notice ────────────────────────────────── */
.sources-box {
  margin-top: 2.25rem; padding: 1.2rem 1.3rem; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.sources-box h3 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.085em; color: var(--muted); margin: 0 0 0.72rem; }
.sources-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; font-size: 0.88rem; }
.sources-list a { color: var(--primary); display: inline-flex; align-items: center; gap: 0.35rem; }
.sources-list a:hover { text-decoration: underline; }
.disclaimer-note {
  margin-top: 1.5rem; padding: 0.95rem 1.15rem; border-radius: var(--radius-sm);
  background: var(--bg-elev); border: 1px solid var(--border);
  font-size: 0.82rem; line-height: 1.56; color: var(--muted);
}

/* ── Adjacent Prev/Next & Floating ReadNextBar (DT Pattern) ────────────── */
.adj-nav { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
@media (min-width: 640px) { .adj-nav { grid-template-columns: repeat(2, 1fr); } }
.adj-card {
  padding: 1.05rem 1.2rem; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--card); box-shadow: var(--shadow-sm);
  transition: border-color 0.16s, transform 0.16s, box-shadow 0.16s;
}
.adj-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.adj-card.right { text-align: right; }
.adj-kicker { font-size: 0.74rem; font-weight: 600; color: var(--muted); display: block; }
.adj-title { font-family: var(--font-display); font-size: 1.03rem; font-weight: 700; display: block; margin-top: 0.25rem; }

.read-next-bar {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 45;
  background: color-mix(in srgb, var(--card) 95%, transparent);
  backdrop-filter: blur(14px); border-top: 1px solid var(--border); box-shadow: var(--shadow-lg);
  transform: translateY(110%); opacity: 0; pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.read-next-bar.visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.read-next-inner {
  max-width: 56rem; margin-inline: auto; padding: 0.72rem 1.25rem;
  display: flex; align-items: center; gap: 0.9rem;
}
.read-next-tag { font-size: 0.69rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.085em; color: var(--primary); display: none; white-space: nowrap; }
@media (min-width: 640px) { .read-next-tag { display: block; } }
.read-next-link { display: flex; align-items: center; gap: 0.75rem; flex: 1; min-width: 0; }
.read-next-thumb { width: 46px; height: 46px; border-radius: 9px; overflow: hidden; flex-shrink: 0; background: var(--bg-elev); }
.read-next-thumb img { width: 100%; height: 100%; object-fit: cover; }
.read-next-text { min-width: 0; flex: 1; }
.read-next-title { font-weight: 650; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; }
.read-next-dek { font-size: 0.76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0.1rem 0 0; display: none; }
@media (min-width: 640px) { .read-next-dek { display: block; } }

/* ── Interactive Consumer Tools ────────────────────────────────────────── */
.tool-panel {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.55rem; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 680px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.field label { display: block; font-size: 0.82rem; font-weight: 650; color: var(--ink-2); margin-bottom: 0.35rem; }
.field input[type="number"], .field input[type="text"], .field input[type="search"], .field select {
  width: 100%; padding: 0.65rem 0.85rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: var(--bg); color: var(--ink);
  font: inherit; font-size: 0.95rem;
}
.field input[type="range"] { width: 100%; accent-color: var(--primary); }
.result-strip {
  margin-top: 1.5rem; display: grid; grid-template-columns: 1fr; gap: 0.9rem;
}
@media (min-width: 640px) { .result-strip { grid-template-columns: repeat(3, 1fr); } }
.result-box {
  padding: 1.05rem; border-radius: var(--radius-sm); background: var(--bg-elev); border: 1px solid var(--border);
}
.result-box.accent { border-color: var(--primary); background: var(--primary-soft); }
.result-lbl { font-size: 0.71rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.065em; color: var(--muted); }
.result-num { font-family: var(--font-mono); font-size: 1.48rem; font-weight: 700; color: var(--ink); margin: 0.25rem 0; }
.result-sub { font-size: 0.8rem; color: var(--muted); }

/* ── Start-Here Steps & Glossary ───────────────────────────────────────── */
.step-list { display: grid; gap: 1rem; }
.step-card {
  display: grid; grid-template-columns: 52px 1fr; gap: 1.1rem; align-items: start;
  padding: 1.3rem; border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.step-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.step-num {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #1e3a8a); color: #ffffff;
  font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem; display: grid; place-items: center;
  box-shadow: 0 4px 10px rgba(29, 78, 216, 0.24);
}
.glossary-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 720px) { .glossary-grid { grid-template-columns: repeat(2, 1fr); } }
.glossary-card {
  padding: 1.25rem; border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.glossary-card h3 { font-family: var(--font-display); font-size: 1.22rem; margin: 0.4rem 0 0.45rem; }
.glossary-ex { margin-top: 0.65rem; padding: 0.7rem 0.85rem; border-radius: var(--radius-sm); background: var(--bg-elev); font-size: 0.86rem; color: var(--ink-2); }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
  margin-top: auto; border-top: 1px solid var(--border); background: var(--bg-elev);
  padding-block: 2.75rem 2rem; font-size: 0.86rem; color: var(--muted);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; margin-bottom: 1.85rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.55fr 1fr 1fr 1fr; } }
.footer-col h4 { font-size: 0.74rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.085em; color: var(--ink); margin: 0 0 0.8rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.48rem; }
.footer-col a:hover { color: var(--primary); text-decoration: underline; }
.footer-bottom {
  padding-top: 1.25rem; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; font-size: 0.78rem;
}

.toast {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 60;
  padding: 0.6rem 1.05rem; border-radius: 999px; background: var(--ink); color: var(--bg);
  font-size: 0.84rem; font-weight: 600; opacity: 0; transform: translateY(8px);
  pointer-events: none; transition: opacity 0.2s, transform 0.2s;
}
.toast.show { opacity: 1; transform: translateY(0); }
