/* DBBet Kenya — shared stylesheet. Brand: dark #121212 / accent #ff335c / Montserrat. */
:root{
  --bg:#121212; --surface:#1a1a1a; --surface-2:#242424;
  --accent:#ff335c; --accent-hover:#ff4d72; --accent-soft:rgba(255,51,92,.14);
  --text:#ffffff; --muted:#a3a3a3; --secondary:#2b2b2b; --secondary-hover:#383838;
  --border:rgba(255,255,255,.09); --border-accent:rgba(255,51,92,.35);
  --radius:12px; --radius-lg:18px; --maxw:1180px;
  --font:'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0; background:var(--bg); color:var(--text); font-family:var(--font); font-weight:400; line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:hidden;}
a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 22px}
h1,h2,h3{margin:0; font-weight:800; line-height:1.1; text-wrap:balance}
.eyebrow{display:inline-block; font-size:12px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--accent); margin-bottom:16px;}
.muted{color:var(--muted)} .accent{color:var(--accent)}
.center{text-align:center}

.btn{display:inline-flex; align-items:center; justify-content:center; gap:9px; font-family:var(--font); font-weight:800; font-size:15px; letter-spacing:.01em; padding:14px 26px; border-radius:var(--radius); border:0; cursor:pointer; transition:transform .15s ease, background .15s ease; white-space:nowrap;}
.btn-primary{background:var(--accent); color:#fff}
.btn-primary:hover{background:var(--accent-hover); transform:translateY(-2px)}
.btn-outline{background:transparent; color:#fff; box-shadow:inset 0 0 0 2px var(--accent)}
.btn-outline:hover{background:var(--accent-soft)}
.btn-ghost{background:var(--secondary); color:#fff}
.btn-ghost:hover{background:var(--secondary-hover)}
.btn-lg{padding:17px 34px; font-size:16px}

header{position:sticky; top:0; z-index:50; background:rgba(18,18,18,.82); backdrop-filter:blur(10px); border-bottom:1px solid var(--border);}
.nav{display:flex; align-items:center; gap:26px; height:66px}
.logo{font-weight:800; font-size:25px; letter-spacing:-.02em; font-style:italic}
.logo .db{color:var(--accent)} .logo .bet{color:#fff}
.nav-links{display:flex; gap:24px; margin-left:14px}
.nav-links a{color:var(--muted); font-weight:600; font-size:15px; transition:color .15s}
.nav-links a:hover,.nav-links a.active{color:#fff}
.nav-cta{display:flex; gap:10px; align-items:center}
.lang-toggle{margin-left:auto; display:flex; align-items:center; gap:2px; border:1px solid var(--border); border-radius:999px; padding:3px}
.lang-toggle a{padding:4px 10px; border-radius:999px; color:var(--muted); font-weight:700; font-size:13px; line-height:1}
.lang-toggle a.active{background:var(--accent); color:#fff}
.lang-toggle a:hover{color:#fff}
.lang-toggle a.active:hover{color:#fff}
.menu-toggle{display:none; margin-left:auto; background:transparent; border:0; cursor:pointer; padding:10px; flex-direction:column; gap:5px}
.menu-toggle span{display:block; width:24px; height:2px; background:#fff; border-radius:2px; transition:transform .25s, opacity .25s}
.menu-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-toggle.is-open span:nth-child(2){opacity:0}
.menu-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobile-menu{display:none; border-top:1px solid var(--border); background:var(--surface); padding:12px 22px 20px}
.mobile-menu a{display:block; color:var(--text); font-weight:600; font-size:16px; padding:13px 0; border-bottom:1px solid var(--border)}
.mobile-menu a:last-of-type{border-bottom:0}
.mobile-menu .mm-cta{display:flex; gap:10px; margin-top:16px}
.mobile-menu .mm-cta .btn{flex:1}

/* page intro (inner pages) */
.page-intro{padding:56px 0 10px; position:relative; overflow:hidden}
.page-intro::before{content:""; position:absolute; top:-260px; right:-140px; width:560px; height:560px; background:radial-gradient(circle, rgba(255,51,92,.22), transparent 62%); pointer-events:none;}
.page-intro h1{font-size:clamp(30px,4.4vw,46px); position:relative}
.page-intro p{color:var(--muted); font-size:18px; margin-top:18px; max-width:60ch; position:relative}
.crumb{font-size:13px; color:var(--muted); margin-bottom:14px}
.crumb a:hover{color:#fff}

.hero{position:relative; overflow:hidden; padding:70px 0 40px}
.hero::before{content:""; position:absolute; top:-260px; right:-140px; width:620px; height:620px; background:radial-gradient(circle, rgba(255,51,92,.28), transparent 62%); pointer-events:none;}
.hero-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:44px; align-items:center; position:relative}
.hero h1{font-size:clamp(34px,5vw,54px)}
.hero h1 .u{position:relative; white-space:nowrap}
.hero h1 .u::after{content:""; position:absolute; left:0; right:0; bottom:6px; height:12px; background:var(--accent-soft); transform:skewX(-12deg); z-index:-1;}
.hero p.lead{font-size:18px; color:var(--muted); margin:22px 0 30px; max-width:34ch}
.hero-cta{display:flex; gap:14px; flex-wrap:wrap; align-items:center}

.promo{margin-top:26px; display:flex; align-items:center; gap:12px; flex-wrap:wrap; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:14px 16px; max-width:480px;}
.promo .lbl{font-size:12px; text-transform:uppercase; letter-spacing:.12em; color:var(--muted)}
.promo code{font-family:var(--font); font-weight:800; letter-spacing:.06em; color:var(--accent); background:var(--accent-soft); padding:8px 14px; border-radius:8px; font-size:15px;}
.copy-btn{background:var(--secondary); color:#fff; border:0; border-radius:8px; padding:9px 15px; font-family:var(--font); font-weight:700; font-size:13px; cursor:pointer; transition:background .15s}
.copy-btn:hover{background:var(--secondary-hover)}

.img-slot{border:2px dashed var(--border-accent); border-radius:var(--radius-lg); background:repeating-linear-gradient(45deg, rgba(255,51,92,.04) 0 12px, transparent 12px 24px), var(--surface); display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; color:var(--muted); gap:6px; padding:22px;}
.img-slot .ico{font-size:26px; opacity:.7}
.img-slot .t{font-weight:700; color:#cfcfcf; font-size:14px}
.img-slot .d{font-size:12px; letter-spacing:.04em}
.hero-visual{aspect-ratio:4/5; min-height:340px}

.stats{border-top:1px solid var(--border); border-bottom:1px solid var(--border); background:var(--surface)}
.stats-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--border)}
.stat{background:var(--surface); padding:26px 22px; text-align:center}
.stat .n{font-weight:800; font-size:20px; color:var(--accent)}
.stat .l{font-size:13px; color:var(--muted); margin-top:4px}

.section{padding:64px 0}
.section.tight{padding:40px 0}
.section-head{max-width:640px; margin-bottom:36px}
.section-head.center{margin-left:auto; margin-right:auto}
.section-head h2{font-size:clamp(26px,3.4vw,36px)}
.section-head p{color:var(--muted); margin-top:12px; font-size:16px}

.cards-4{display:grid; grid-template-columns:repeat(4,1fr); gap:16px}
.cards-3{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.cards-2{display:grid; grid-template-columns:repeat(2,1fr); gap:16px}
.fcard{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:24px; transition:transform .15s ease, border-color .15s ease;}
.fcard:hover{transform:translateY(-4px); border-color:var(--border-accent)}
.fcard .ic{width:46px; height:46px; border-radius:12px; background:var(--accent-soft); display:flex; align-items:center; justify-content:center; margin-bottom:16px}
.fcard .ic svg{width:24px; height:24px; stroke:var(--accent); fill:none; stroke-width:2}
.fcard h3{font-size:17px; margin-bottom:7px}
.fcard p{color:var(--muted); font-size:14px; margin:0}
.fcard.link{display:block} .fcard.link:hover h3{color:var(--accent)}
.fcard .go{color:var(--accent); font-weight:700; font-size:14px; margin-top:12px; display:inline-block}

/* section-nav tiles (home) */
.tiles{display:grid; grid-template-columns:repeat(4,1fr); gap:16px}
.tile{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:26px 22px; transition:transform .15s, border-color .15s; display:block}
.tile:hover{transform:translateY(-4px); border-color:var(--border-accent)}
.tile .ic{font-size:26px; margin-bottom:12px}
.tile h3{font-size:18px}
.tile p{color:var(--muted); font-size:14px; margin:6px 0 0}
.tile .go{color:var(--accent); font-weight:700; font-size:14px; margin-top:14px; display:inline-block}

.spot{display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:38px; margin-bottom:20px}
.spot h2{font-size:clamp(24px,3vw,32px)}
.spot p{color:var(--muted); margin:16px 0 24px}
.spot .img-slot{aspect-ratio:16/10; min-height:220px}
.aviator-art{position:relative; aspect-ratio:16/10; border-radius:var(--radius); overflow:hidden; background:radial-gradient(120% 120% at 10% 90%, #2a1016, #141018 70%); border:1px solid var(--border)}
.aviator-art svg{position:absolute; inset:0; width:100%; height:100%}
.aviator-art .mult{position:absolute; top:18px; left:22px; font-weight:800; font-size:34px; color:#fff; text-shadow:0 2px 20px rgba(255,51,92,.6)}
.aviator-art .mult span{color:var(--accent)}

.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:16px; counter-reset:s}
.step{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:24px; position:relative}
.step::before{counter-increment:s; content:counter(s); position:absolute; top:18px; right:20px; font-weight:800; font-size:30px; color:var(--accent-soft)}
.step h3{font-size:16px; margin-bottom:6px}
.step p{color:var(--muted); font-size:14px; margin:0}

.pay-logos{display:flex; gap:12px; margin-top:22px; flex-wrap:wrap}
.pay-slot{width:120px; height:52px; font-size:11px}
.pay-cards{display:flex; gap:12px; flex-wrap:wrap; margin-top:20px}
.pay-card{background:#fff; border-radius:12px; padding:8px 12px; width:140px; height:58px; display:flex; align-items:center; justify-content:center}
.pay-card img{height:34px; width:auto; max-width:112px; object-fit:contain; display:block; margin:0 auto}

/* phone screenshot slots */
.shot-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.shot{aspect-ratio:9/18; border-radius:22px; font-size:12px}
.shot .n{position:absolute}
.shot-grid.iphone{grid-template-columns:repeat(3,1fr); max-width:640px}
/* real install-step screenshots */
.stepshots{display:grid; grid-template-columns:repeat(3,1fr); gap:28px 16px; margin-top:8px}
.stepshot{text-align:center}
.stepshot .num{display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; border-radius:50%; background:var(--accent); color:#fff; font-weight:800; font-size:14px; margin-bottom:12px}
.stepshot img{width:184px; max-width:100%; height:auto; margin:0 auto; display:block; border-radius:14px}
.stepshot p{color:var(--muted); font-size:14px; margin:14px auto 0; max-width:26ch}
.ios-shot{display:block; width:100%; max-width:920px; height:auto; margin:10px auto 0}
.screens{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; max-width:720px}
.screens figure{margin:0}
.screens img{width:100%; height:auto; border-radius:14px; border:1px solid var(--border); display:block}
.screens figcaption{color:var(--muted); font-size:13px; text-align:center; margin-top:10px}
@media(max-width:900px){.stepshots{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.stepshots{grid-template-columns:1fr}}

/* casino logo boxes */
.logo-grid{display:grid; grid-template-columns:repeat(6,1fr); gap:14px}
.logo-box{aspect-ratio:3/2; font-size:11px}

/* bonus card slots */
.bonus-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.bonus{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden}
.bonus .shotimg{aspect-ratio:16/9; border:0; border-bottom:1px dashed var(--border-accent); border-radius:0}
.bonus .body{padding:18px 20px}
.bonus h3{font-size:16px; margin-bottom:6px}
.bonus p{color:var(--muted); font-size:13px; margin:0 0 14px}

.pred-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.pred{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:20px}
.pred .lg{font-size:12px; text-transform:uppercase; letter-spacing:.1em; color:var(--muted)}
.pred .teams{display:flex; align-items:center; gap:12px; margin:14px 0}
.crest{width:34px; height:34px; border-radius:50%; background:var(--surface-2); border:1px dashed var(--border-accent); flex:0 0 auto; display:flex; align-items:center; justify-content:center; font-size:9px; color:var(--muted); text-align:center; line-height:1}
.pred .teams .vs{color:var(--muted); font-weight:700; font-size:13px}
.pred .tip{font-weight:700; font-size:15px}
.pred .odds{margin-left:auto; font-variant-numeric:tabular-nums; font-weight:800; color:var(--accent)}
.pred .row{display:flex; align-items:center; gap:10px}

.casino-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px}
.game-slot{aspect-ratio:1/1; font-size:12px}

.app{display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center}
.app-badges{display:flex; gap:14px; margin-top:24px; flex-wrap:wrap}
.badge-slot{width:150px; height:52px; font-size:11px}

.prose{max-width:760px}
.prose p{color:var(--muted); margin:0 0 16px}
.prose h2{font-size:clamp(22px,2.6vw,28px); margin:36px 0 14px}
.prose h3{font-size:18px; margin:24px 0 10px}
.prose ul{color:var(--muted); padding-left:20px; margin:0 0 16px}
.prose li{margin:6px 0}
.prose a{color:var(--accent)}
.prose ol{color:var(--muted); padding-left:20px; margin:0 0 16px}
.prose ol li{margin:8px 0}
table.spec{width:100%; border-collapse:collapse; margin:10px 0 20px; font-size:14.5px}
table.spec th,table.spec td{text-align:left; padding:12px 14px; border-bottom:1px solid var(--border); vertical-align:top}
table.spec th{color:var(--muted); font-weight:600; width:38%; white-space:nowrap}
table.spec td{color:var(--text)}
table.spec tr:last-child th,table.spec tr:last-child td{border-bottom:0}

.faq{max-width:820px}
.qa{border:1px solid var(--border); border-radius:var(--radius); background:var(--surface); margin-bottom:12px; overflow:hidden}
.qa summary{list-style:none; cursor:pointer; padding:18px 20px; font-weight:700; font-size:16px; display:flex; justify-content:space-between; align-items:center; gap:14px}
.qa summary::-webkit-details-marker{display:none}
.qa summary::after{content:"+"; color:var(--accent); font-size:22px; font-weight:800; transition:transform .2s}
.qa[open] summary::after{transform:rotate(45deg)}
.qa .a{padding:0 20px 18px; color:var(--muted); font-size:15px}

.cta-banner{background:linear-gradient(120deg, #ff335c, #b3164a); border-radius:var(--radius-lg); padding:46px 34px; text-align:center}
.cta-banner h2{font-size:clamp(24px,3vw,32px); color:#fff}
.cta-banner p{color:rgba(255,255,255,.9); margin:12px 0 24px; font-size:16px}
.cta-banner .btn-primary{background:#fff; color:#b3164a}
.cta-banner .btn-primary:hover{background:#fff; opacity:.92}

footer{background:var(--surface); border-top:1px solid var(--border); padding:48px 0 30px; margin-top:20px}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:30px; margin-bottom:30px}
.foot-grid h4{font-size:13px; text-transform:uppercase; letter-spacing:.1em; color:#fff; margin:0 0 14px}
.foot-grid a{display:block; color:var(--muted); font-size:14px; padding:5px 0}
.foot-grid a:hover{color:#fff}
.rg{display:flex; align-items:center; gap:14px; flex-wrap:wrap; padding:18px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border)}
.age{flex:0 0 auto; width:42px; height:42px; border-radius:50%; border:2px solid var(--accent); color:var(--accent); font-weight:800; display:flex; align-items:center; justify-content:center; font-size:15px}
.rg p{margin:0; color:var(--muted); font-size:13px}
.ph{color:var(--accent); font-style:italic}
.foot-legal{display:flex; flex-wrap:wrap; gap:6px 20px; padding:16px 0 2px}
.foot-legal a{color:var(--muted); font-size:13px}
.foot-legal a:hover{color:#fff}
.legal{color:var(--muted); font-size:12.5px; margin-top:14px; line-height:1.7}
.legal .ph{color:var(--accent)}

/* inline notice / disclaimer box (prose) */
.prose .notice{background:var(--accent-soft); border:1px solid var(--border-accent); border-radius:var(--radius); padding:16px 18px; margin:0 0 22px; color:var(--text); font-size:14.5px; line-height:1.65}
.prose .notice .ph{color:var(--accent)}

@media (max-width:900px){
  .hero-grid,.spot,.app{grid-template-columns:1fr}
  .hero-visual{order:-1; aspect-ratio:16/10; min-height:220px}
  .cards-4,.cards-3,.tiles{grid-template-columns:repeat(2,1fr)}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
  .pred-grid,.bonus-grid{grid-template-columns:1fr}
  .casino-grid{grid-template-columns:repeat(2,1fr)}
  .logo-grid{grid-template-columns:repeat(3,1fr)}
  .foot-grid{grid-template-columns:1fr 1fr}
  .nav-links{display:none}
  .nav-cta{display:none}
  .menu-toggle{display:flex}
  header.menu-open .mobile-menu{display:block}
}
@media (max-width:480px){
  .cards-4,.cards-3,.cards-2,.casino-grid,.tiles,.shot-grid{grid-template-columns:1fr}
  .logo-grid{grid-template-columns:repeat(2,1fr)}
  .promo{max-width:none}
}
@media (prefers-reduced-motion:reduce){*{transition:none !important; scroll-behavior:auto}}

/* tile icons rendered as images (matches Kenya) */
.tile .ic-img{font-size:0;line-height:0;margin-bottom:14px}
.tile .ic-img img{display:block}


/* ---- sticky mobile registration CTA ---- */
.sticky-cta{position:fixed; left:0; right:0; bottom:0; z-index:200; display:none; align-items:center; gap:14px;
  padding:9px 16px; padding-bottom:calc(9px + env(safe-area-inset-bottom));
  background:rgba(18,18,18,.97); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border-top:1px solid var(--border); box-shadow:0 -6px 22px rgba(0,0,0,.45)}
.sticky-cta .sc-text{display:flex; flex-direction:column; line-height:1.15; min-width:0}
.sticky-cta .sc-lbl{font-size:10px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted)}
.sticky-cta .sc-bonus{font-size:14px; font-weight:800; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.sticky-cta .sc-bonus b{color:var(--accent)}
.sticky-cta .sc-btn{flex:0 0 auto; margin-left:auto; padding:12px 28px; font-size:15px}
@media (max-width:900px){
  .sticky-cta{display:flex}
  body{padding-bottom:72px}
}
/* ============================================================
   BLOG / ARTICLE
   Post cards on /blog/, and the article furniture a post needs:
   byline, dates, author box, ToC, richer prose elements.
   ============================================================ */

/* ---- post cards (blog hub listing) ---- */
.post-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:18px}
.post-card{display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); overflow:hidden; transition:border-color .15s ease, transform .15s ease}
.post-card:hover{border-color:var(--border-accent); transform:translateY(-3px)}
.post-card .thumb{aspect-ratio:16/9; background:var(--surface-2); overflow:hidden}
.post-card .thumb img{width:100%; height:100%; object-fit:cover}
.post-card .body{padding:20px 22px 22px; display:flex; flex-direction:column; flex:1; gap:10px}
.post-card h3{font-size:18px; line-height:1.25}
.post-card:hover h3{color:var(--accent)}
.post-card p{margin:0; color:var(--muted); font-size:14.5px; line-height:1.6}
.post-card .post-meta{margin-top:auto; padding-top:4px}

/* ---- category chip ---- */
.chip{display:inline-block; font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:var(--accent); background:var(--accent-soft); border:1px solid var(--border-accent);
  border-radius:999px; padding:5px 11px; white-space:nowrap}
.chip-row{display:flex; flex-wrap:wrap; gap:8px}
a.chip:hover{background:var(--border-accent); color:#fff}

/* ---- byline + post meta (article header) ---- */
.post-meta{display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; font-size:13px; color:var(--muted)}
.post-meta .sep{opacity:.4}
.post-meta time{white-space:nowrap}
.byline{display:flex; align-items:center; gap:11px; margin:18px 0 0}
.byline .avatar{flex:0 0 auto; width:40px; height:40px; border-radius:50%; object-fit:cover;
  background:var(--surface-2); border:1px solid var(--border)}
.byline .who{display:flex; flex-direction:column; line-height:1.35; min-width:0}
.byline .who .name{font-weight:700; font-size:14.5px}
.byline .who .name a{color:inherit}
.byline .who .name a:hover{color:var(--accent)}
.byline .who .role{font-size:12.5px; color:var(--muted)}

/* ---- author bio box (end of post — E-E-A-T) ---- */
.author-box{display:flex; gap:16px; align-items:flex-start; background:var(--surface);
  border:1px solid var(--border); border-radius:var(--radius-lg); padding:20px 22px; margin:36px 0 0}
.author-box .avatar{flex:0 0 auto; width:56px; height:56px; border-radius:50%; object-fit:cover;
  background:var(--surface-2); border:1px solid var(--border)}
.author-box .bio{min-width:0}
.author-box .bio h3{font-size:16px; margin:0 0 6px}
.author-box .bio p{margin:0 0 8px; color:var(--muted); font-size:14px; line-height:1.6}
.author-box .bio .links{display:flex; flex-wrap:wrap; gap:14px; font-size:13px}
.author-box .bio .links a{color:var(--accent)}
@media (max-width:520px){
  .author-box{flex-direction:column; gap:12px}
}

/* ---- table of contents ---- */
.toc{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:18px 20px; margin:0 0 28px}
.toc h2{font-size:13px !important; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color:var(--muted); margin:0 0 12px !important}
.toc ol{margin:0; padding-left:20px; color:var(--muted); font-size:14.5px}
.toc li{margin:7px 0}
.toc a{color:var(--text)}
.toc a:hover{color:var(--accent)}

/* ---- prose elements the article layout adds ---- */
.prose h4{font-size:15.5px; font-weight:700; margin:22px 0 8px}
.prose blockquote{margin:0 0 22px; padding:4px 0 4px 18px; border-left:3px solid var(--accent);
  color:var(--text); font-size:16.5px; line-height:1.7}
.prose blockquote p:last-child{margin-bottom:0}
.prose blockquote cite{display:block; margin-top:8px; font-size:13.5px; font-style:normal; color:var(--muted)}
.prose figure{margin:0 0 24px}
.prose figure img{border:1px solid var(--border); border-radius:var(--radius)}
.prose figcaption{margin-top:9px; font-size:13px; color:var(--muted); line-height:1.55}
.prose hr{border:0; border-top:1px solid var(--border); margin:32px 0}
.prose code{background:var(--surface-2); border:1px solid var(--border); border-radius:5px;
  padding:2px 6px; font-size:13.5px; font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
/* wide tables must scroll inside their own box, never the page */
.prose .table-scroll{overflow-x:auto; margin:0 0 22px; -webkit-overflow-scrolling:touch}
.prose .table-scroll table{width:100%; min-width:460px; border-collapse:collapse; font-size:14.5px}
.prose .table-scroll th,.prose .table-scroll td{padding:11px 14px; text-align:left;
  border-bottom:1px solid var(--border); color:var(--muted)}
.prose .table-scroll th{color:var(--text); font-weight:700; font-size:13px;
  letter-spacing:.04em; text-transform:uppercase; background:var(--surface)}
.prose .table-scroll td b{color:var(--text)}
.prose .table-scroll tbody tr:last-child td{border-bottom:0}
.prose .table-scroll .num{font-variant-numeric:tabular-nums; white-space:nowrap}

/* ---- "next read" / related posts ---- */
.related{margin:36px 0 0}
.related h2{font-size:13px; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color:var(--muted); margin:0 0 14px}
.related ul{list-style:none; margin:0; padding:0}
.related li{border-top:1px solid var(--border)}
.related li:last-child{border-bottom:1px solid var(--border)}
.related a{display:flex; align-items:center; gap:12px; padding:14px 0; font-weight:600; font-size:15px}
.related a:hover{color:var(--accent)}
.related a .arw{margin-left:auto; color:var(--accent); flex:0 0 auto}
