/* =====================================================================
   Betwinner Kenya — styles.css
   Brand gold #FFCE06 on ink #0E0E0E.
   ===================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand */
  --bw-yellow:  #FFCE06;
  --bw-yellow-2:#FFD93D;
  --bw-ink:     #0E0E0E;
  --bw-charcoal:#16181D;
  --bw-slate:   #1E2128;

  /* Neutrals */
  --white:      #FFFFFF;
  --text:       #F4F5F7;
  --text-muted: #9AA0AA;
  --line:       #2A2E37;

  /* Function */
  --success:    #0F8A5F;
  --danger:     #D64545;
  --bg-soft:    #F6F7F8;

  /* Spacing scale (single source) */
  --s-8: 8px; --s-12:12px; --s-16:16px; --s-24:24px;
  --s-32:32px; --s-48:48px; --s-64:64px; --s-96:96px;

  /* Radii */
  --r-card:16px; --r-tile:12px; --r-btn:999px; --r-btn2:12px;

  /* Shadow (one tier) */
  --shadow: 0 8px 24px rgba(0,0,0,.35);

  /* Type */
  --font-display:"Barlow Condensed",Impact,"Arial Narrow",sans-serif;
  --font-body:Manrope,system-ui,sans-serif;
  --container:1240px;

  color-scheme: dark;
}

/* ---------- 2. Reset / base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;overflow-x:clip}
body{
  margin:0;
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.6;
  color:var(--text);
  background:var(--bw-ink);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:clip;
}
img,svg,picture{display:block;max-width:100%;height:auto}
img{vertical-align:middle}
a{color:var(--bw-yellow);text-decoration:none}
a:hover{text-decoration:underline}
button{font:inherit;color:inherit;cursor:pointer}
ul,ol{margin:0;padding-left:1.25rem}
p{margin:0 0 1rem}
h1,h2,h3,h4{margin:0 0 .5rem;line-height:1.12;font-weight:800}
h2,h3,h4{text-wrap:balance}
strong{font-weight:700;color:var(--white)}

/* ---------- 3. Layout: container + section (single spacing owner) ---------- */
.container{
  width:100%;
  max-width:var(--container);
  margin-inline:auto;
  padding-inline:clamp(16px,4vw,32px);
}
.section{padding-block:clamp(48px,7vw,96px)}
.section--tight{padding-block:clamp(32px,5vw,56px)}
.section--alt{background:var(--bw-charcoal)}
.section--soft{background:var(--bg-soft);color:#15171c}

/* ---------- 4. Typography utilities ---------- */
.display,h1,h2{letter-spacing:-.01em;text-transform:uppercase;font-family:var(--font-display)}
.eyebrow{
  display:inline-block;
  font-weight:700;
  font-size:.75rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--bw-yellow);
  margin-bottom:.5rem;
}
.lead{font-size:clamp(1.05rem,2vw,1.25rem);color:var(--text-muted);max-width:65ch}
.section-head{margin-bottom:var(--s-32);max-width:70ch}
.section-head h2{font-size:clamp(1.5rem,3vw,2.25rem)}
.section-head p{margin-top:.5rem;color:var(--text-muted)}
.muted{color:var(--text-muted)}
.small{font-size:.875rem}

/* ---------- 5. Skip link + focus ring ---------- */
.skip-link{
  position:absolute;left:8px;top:-48px;z-index:200;
  background:var(--bw-yellow);color:var(--bw-ink);
  padding:8px 16px;border-radius:0 0 8px 8px;font-weight:700;
  transition:top .15s;
}
.skip-link:focus{top:0;text-decoration:none}
:focus-visible{outline:2px solid var(--bw-yellow);outline-offset:2px;border-radius:4px}

/* ---------- 6. Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.8rem 1.4rem;min-height:44px;
  border:0;border-radius:var(--r-btn2);
  font-weight:700;font-size:1rem;
  text-decoration:none;cursor:pointer;
  transition:transform .12s ease,background-color .15s ease,box-shadow .15s ease;
  line-height:1.2;
}
.btn:hover{text-decoration:none}
.btn:active{transform:translateY(1px)}
.btn--primary{background:var(--bw-yellow);color:var(--bw-ink)}
.btn--primary:hover{background:var(--bw-yellow-2)}
.btn--secondary{background:transparent;color:var(--text);border:1.5px solid var(--line)}
.btn--secondary:hover{border-color:var(--bw-yellow);color:var(--bw-yellow)}
.btn--ghost{background:var(--bw-slate);color:var(--text)}
.btn--ghost:hover{background:#272a32}
.btn--sm{padding:.55rem .9rem;font-size:.875rem}
.btn--block{display:flex;width:100%;justify-content:center}

/* ---------- 7. Header ---------- */
.site-header{
  position:sticky;top:0;z-index:220;
  background:rgba(14,14,14,.94);
  border-bottom:1px solid var(--line);
  overflow:visible;
}
/* Blur on a layer — NOT on .site-header itself — so fixed mobile nav isn't trapped/clipped */
.site-header::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:rgba(14,14,14,.78);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.header-inner{
  display:flex;align-items:center;gap:var(--s-16);
  height:64px;min-width:0;overflow:visible;position:relative;z-index:2;
}
.brand{display:inline-flex;align-items:center;flex-shrink:0;min-width:0}
.brand img{height:24px;width:auto;max-width:100%}
.brand:focus-visible{outline-offset:4px;border-radius:4px}

.main-nav{flex:1 1 auto;min-width:0;display:flex;justify-content:flex-end}
.nav-extras{display:none}
.nav-list{
  list-style:none;display:flex;gap:.15rem;margin:0;padding:0;justify-content:flex-end;flex-wrap:nowrap;
}
.nav-list a{
  display:block;padding:.5rem .7rem;border-radius:8px;
  color:var(--text);font-weight:600;font-size:.92rem;white-space:nowrap;
}
.nav-list a:hover{background:var(--bw-slate);text-decoration:none}
.nav-list a[aria-current="page"]{color:var(--bw-yellow)}

.header-tools{display:flex;align-items:center;gap:.5rem;flex:0 0 auto;margin-left:var(--s-12)}

.lite-toggle{
  display:inline-flex;align-items:center;gap:.4rem;
  padding:.5rem .7rem;min-height:40px;border:1px solid var(--line);border-radius:var(--r-btn);
  background:var(--bw-charcoal);color:var(--text);font-size:.8rem;font-weight:600;
}
.lite-toggle[aria-pressed="true"]{border-color:var(--bw-yellow);color:var(--bw-yellow)}
.lite-toggle .dot{
  width:9px;height:9px;border-radius:50%;background:var(--text);
}
.lite-toggle[aria-pressed="true"] .dot{background:var(--bw-yellow)}

.header-cta{margin-left:.25rem}

/* hamburger */
.nav-toggle{
  display:none;width:44px;height:44px;align-items:center;justify-content:center;
  background:var(--bw-charcoal);border:1px solid var(--line);border-radius:10px;
}
.nav-toggle svg{width:22px;height:22px}
.nav-toggle .close{display:none}
.nav-toggle[aria-expanded="true"] .open{display:none}
.nav-toggle[aria-expanded="true"] .close{display:block}

/* ---------- 8. Hero ---------- */
.hero{
  position:relative;overflow:hidden;
  background:var(--bw-ink);
  border-bottom:1px solid var(--line);
}
.hero::before{ /* yellow speed-stripe wedge */
  content:"";position:absolute;inset:0 auto 0 -12%;width:42%;
  background:linear-gradient(118deg,var(--bw-yellow) 0 15%,transparent 15.3%);
  opacity:1;pointer-events:none;
  clip-path:polygon(0 0,100% 0,52% 100%,0 100%);
}
.hero::after{ /* floodlight radial glow */
  content:"";position:absolute;right:-15%;top:-25%;width:75%;height:160%;
  background:radial-gradient(ellipse at 65% 42%,rgba(255,206,6,.28),rgba(255,206,6,.06) 42%,transparent 66%);
  pointer-events:none;
}
.hero .container{position:relative;z-index:2}
.hero-grid{
  display:grid;gap:var(--s-32);
  grid-template-columns:1fr;align-items:center;
  padding-block:clamp(40px,7vw,84px);
}
.hero-copy h1{
  font-size:clamp(1.7rem,5vw,3.5rem);
  margin-bottom:var(--s-16);
}
.hero-copy .lead{margin-bottom:var(--s-24)}
.hero-ctas{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:var(--s-16)}
.trust-micro{
  display:flex;flex-wrap:wrap;gap:.4rem .9rem;align-items:center;
  list-style:none;margin:0;padding:var(--s-12) 0 0;
  font-size:.85rem;font-weight:600;color:var(--text-muted);
  border-top:1px solid var(--line);max-width:max-content;
}
.trust-micro li{list-style:none;display:flex;align-items:center;gap:.35rem}
.trust-micro svg{width:15px;height:15px;color:var(--bw-yellow)}

.hero-visual{
  position:relative;border-radius:var(--r-card);overflow:hidden;
  border:1px solid var(--line);box-shadow:var(--shadow);aspect-ratio:12/5;
  background:var(--bw-slate);
}
.hero-visual img{width:100%;height:100%;object-fit:cover}

/* ---------- 9. Category tiles ---------- */
.cat-grid{
  display:grid;gap:var(--s-16);
  grid-template-columns:repeat(2,1fr);
}
.cat-tile{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;
  padding:var(--s-24) var(--s-16);
  background:var(--bw-charcoal);border:1px solid var(--line);border-radius:var(--r-tile);
  text-align:center;color:var(--text);font-weight:700;font-size:.95rem;
  transition:border-color .15s,transform .12s;
}
.cat-tile:hover{border-color:var(--bw-yellow);text-decoration:none;transform:translateY(-2px)}
.cat-tile svg{width:30px;height:30px;color:var(--bw-yellow);stroke-linecap:round;stroke-linejoin:round}

/* ---------- 10. Carousel ---------- */
.carousel-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:var(--s-16);
  margin-bottom:var(--s-24);flex-wrap:wrap;
}
.carousel-head h2{font-size:clamp(1.4rem,3vw,2rem)}
.carousel{position:relative}
.carousel-track{
  display:grid;grid-auto-flow:column;grid-auto-columns:minmax(180px,1fr);
  gap:var(--s-16);overflow-x:auto;scroll-snap-type:x mandatory;
  padding-bottom:var(--s-8);scrollbar-width:thin;scrollbar-color:var(--line) transparent;
}
.carousel-track::-webkit-scrollbar{height:8px}
.carousel-track::-webkit-scrollbar-thumb{background:var(--line);border-radius:8px}
.carousel-track.dragging{scroll-snap-type:none;cursor:grabbing;user-select:none}
.carousel-track.dragging *{pointer-events:none}

.game-card{
  scroll-snap-align:start;
  background:var(--bw-charcoal);border:1px solid var(--line);border-radius:var(--r-card);
  overflow:hidden;display:flex;flex-direction:column;
}
.game-card__media{position:relative;aspect-ratio:3/2;background:var(--bw-slate);overflow:hidden}
.game-card__media img{width:100%;height:100%;object-fit:cover;object-position:center}
.game-card__badge{
  position:absolute;top:8px;left:8px;z-index:2;
  background:var(--bw-yellow);color:var(--bw-ink);
  font-weight:800;font-size:.7rem;letter-spacing:.04em;text-transform:uppercase;
  padding:.2rem .5rem;border-radius:6px;
}
.game-card__body{padding:.85rem;display:flex;flex-direction:column;gap:.5rem;flex:1}
.game-card__title{font-size:1rem;font-weight:700;text-transform:none;letter-spacing:0;margin:0}
.game-card__meta{font-size:.78rem;color:var(--text-muted)}
.game-card__expand{
  display:flex;align-items:center;justify-content:space-between;gap:.5rem;
  margin-top:auto;padding:.5rem .1rem;font-size:.85rem;font-weight:700;
  background:none;border:0;color:var(--bw-yellow);text-align:left;cursor:pointer;
}
.game-card__expand svg{width:16px;height:16px;transition:transform .15s}
.game-card__expand:hover svg{transform:translateX(3px)}
.game-card__panel{display:none!important}
.game-card__desc{margin:0 0 .75rem;font-size:.95rem;color:var(--text-muted);line-height:1.55}
.game-card__cta{margin-top:.25rem}

/* Details modal — keeps carousel cards equal height */
.game-sheet{
  width:min(440px,calc(100% - 2rem));
  max-width:440px;padding:0;border:1px solid var(--line);
  border-radius:16px;background:var(--bw-charcoal);color:var(--text);
  box-shadow:0 24px 64px rgba(0,0,0,.55);
}
.game-sheet::backdrop{background:rgba(0,0,0,.72);backdrop-filter:blur(2px)}
.game-sheet__panel{position:relative;padding:1.35rem 1.35rem 1.5rem}
.game-sheet__close{
  position:absolute;top:.7rem;right:.7rem;width:40px;height:40px;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--line);border-radius:10px;background:var(--bw-slate);color:var(--text);
}
.game-sheet__close:hover{border-color:var(--bw-yellow);color:var(--bw-yellow)}
.game-sheet__close svg{width:18px;height:18px}
.game-sheet__meta{
  margin:0 2.5rem .35rem 0;font-size:.78rem;font-weight:700;
  letter-spacing:.04em;text-transform:uppercase;color:var(--bw-yellow);
}
.game-sheet__title{margin:0 2.5rem .75rem 0;font-size:1.35rem;font-weight:800}
.game-sheet__body .btn{width:100%}

.carousel-controls{display:flex;gap:.4rem}
.carousel-btn{
  width:42px;height:42px;border-radius:50%;
  background:var(--bw-charcoal);border:1px solid var(--line);color:var(--text);
  display:inline-flex;align-items:center;justify-content:center;
}
.carousel-btn:hover{border-color:var(--bw-yellow);color:var(--bw-yellow)}
.carousel-btn svg{width:18px;height:18px}
.carousel-btn:disabled{opacity:.35;cursor:not-allowed}

/* ---------- 11. Cards (promo / generic) ---------- */
.grid{display:grid;gap:var(--s-24);align-items:stretch}
.grid--top{align-items:start}
.grid--2{grid-template-columns:1fr}
.grid--3{grid-template-columns:1fr}
.grid--4{grid-template-columns:1fr}

.card{
  background:var(--bw-charcoal);border:1px solid var(--line);border-radius:var(--r-card);
  padding:var(--s-24);display:flex;flex-direction:column;gap:.75rem;height:100%;
}
.card h3{font-size:1.2rem;text-transform:none;letter-spacing:0}
.card .media{border-radius:12px;overflow:hidden;aspect-ratio:12/5;background:var(--bw-slate);flex-shrink:0}
.card .media img{width:100%;height:100%;object-fit:cover}
/* Image-only cards must not stretch to the taller column — avoids empty grey void */
.card:has(> .media:only-child){
  height:auto;align-self:start;padding:var(--s-12);width:100%;
}
.card:has(> .media:only-child) .media{width:100%;margin:0}
.grid__stack{display:flex;flex-direction:column;gap:var(--s-16);min-width:0}
.grid__stack > .card{height:auto}
.card__tag{
  align-self:flex-start;font-size:.72rem;font-weight:800;letter-spacing:.06em;
  text-transform:uppercase;color:var(--bw-yellow);
}
.card__bullet{font-size:.9rem;color:var(--text-muted);margin:0;flex:1 1 auto}
.card__actions{
  display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;
  margin-top:auto;padding-top:.25rem;
}
.card__actions .btn{min-height:44px}

/* featured promo card */
.card--feature{border-color:var(--bw-yellow);box-shadow:var(--shadow)}
.card--feature .card__tag{background:var(--bw-yellow);color:var(--bw-ink);padding:.2rem .5rem;border-radius:6px}

/* ---------- 12. Strips (providers / payments) ---------- */
.strip{
  display:flex;flex-wrap:wrap;gap:var(--s-16);align-items:center;justify-content:flex-start;
}
.strip--center{justify-content:center}
.chip{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:104px;min-height:56px;padding:.5rem .9rem;
  background:rgba(255,255,255,.05);border:1px solid var(--line);border-radius:10px;
  position:relative;
}
.chip img{
  max-height:36px;width:auto;max-width:120px;
}
.strip--providers{
  justify-content:center;
}
.strip--providers .chip{
  background:#fff;border-color:rgba(255,255,255,.2);min-width:132px;min-height:64px;padding:.55rem 1rem;
}
.strip--providers .chip img{
  max-height:40px;max-width:140px;filter:none;
}
.chip--local{border-color:var(--bw-yellow)}
.chip--local::after{
  content:"KE";position:absolute;top:-7px;right:-5px;z-index:2;
  background:var(--bw-yellow);color:var(--bw-ink);font-size:.62rem;font-weight:800;
  padding:.12rem .35rem;border-radius:5px;line-height:1;
}
.strip-note{width:100%;color:var(--text-muted);font-size:.88rem;margin-top:.5rem;text-align:left}

/* ---------- 13. App block ---------- */
.app-block{
  display:grid;gap:var(--s-32);align-items:center;grid-template-columns:1fr;
  background:var(--bw-charcoal);border:1px solid var(--line);border-radius:var(--r-card);
  padding:var(--s-32);
}
.app-block__stores{display:flex;flex-wrap:wrap;gap:.75rem}
.store-badge{display:inline-block;height:48px}
.store-badge img{height:48px;width:auto}
.app-block__icon{width:84px;height:84px;border-radius:18px;border:1px solid var(--line)}

/* ---------- 14. Trust / responsible ---------- */
.trust-grid{display:grid;gap:var(--s-24);grid-template-columns:repeat(2,minmax(0,1fr))}
.trust-card{
  background:var(--bw-charcoal);border:1px solid var(--line);border-radius:var(--r-card);
  padding:var(--s-24);display:flex;flex-direction:column;gap:.75rem;align-items:flex-start;
}
.trust-card img{height:56px;width:auto}
.trust-card h3{font-size:1.05rem;text-transform:none;letter-spacing:0}
.age-badge{display:inline-flex;align-items:center;gap:.5rem;font-weight:800;color:var(--danger)}
.age-badge svg{width:34px;height:34px}
.responsible-banner{
  border:1px solid var(--line);background:var(--bw-slate);border-radius:var(--r-card);
  padding:var(--s-24);display:flex;flex-wrap:wrap;align-items:center;gap:var(--s-16);
}
.responsible-banner p{margin:0;font-size:.9rem;color:var(--text-muted)}
.responsible-icons{display:flex;gap:var(--s-16);flex-wrap:wrap;align-items:center}
.responsible-icons img{height:42px;width:auto}

/* ---------- 15. Accordion (FAQ / game expand) ---------- */
.accordion{border-top:1px solid var(--line)}
.accordion-item{border-bottom:1px solid var(--line)}
.accordion-trigger{
  display:flex;align-items:center;justify-content:space-between;gap:var(--s-16);
  width:100%;padding:var(--s-16) 0;background:none;border:0;color:var(--text);
  font-weight:700;font-size:1.02rem;text-align:left;
}
.accordion-trigger:hover{color:var(--bw-yellow)}
.accordion-trigger .icon{flex-shrink:0;width:20px;height:20px;transition:transform .2s;color:var(--bw-yellow)}
.accordion-trigger[aria-expanded="true"] .icon{transform:rotate(45deg)}
.accordion-panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows .25s ease}
.accordion-panel-inner{overflow:hidden}
.accordion-item[open] .accordion-panel,
.accordion-trigger[aria-expanded="true"] + .accordion-panel{grid-template-rows:1fr}
.accordion-panel p{padding:0 0 var(--s-16);color:var(--text-muted);margin:0;max-width:75ch}

/* native details fallback used in FAQ */
details.accordion-item{padding:0}
details.accordion-item > summary{
  list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;
  gap:var(--s-16);padding:var(--s-16) 0;font-weight:700;font-size:1.02rem;color:var(--text);
}
details.accordion-item > summary::-webkit-details-marker{display:none}
details.accordion-item > summary:hover{color:var(--bw-yellow)}
details.accordion-item[open] > summary{color:var(--bw-yellow)}
details.accordion-item > .accordion-panel{display:block}
details.accordion-item[open] > .accordion-panel{animation:none}
details.accordion-item > summary .icon{flex-shrink:0;width:20px;height:20px;color:var(--bw-yellow);transition:transform .2s}
details.accordion-item[open] > summary .icon{transform:rotate(45deg)}

/* ---------- 16. Tables (stack on narrow) ---------- */
.table-wrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
table.data{
  width:100%;max-width:100%;border-collapse:collapse;background:var(--bw-charcoal);
  border:1px solid var(--line);border-radius:var(--r-card);overflow:hidden;font-size:.95rem;
}
table.data caption{
  caption-side:bottom;text-align:left;padding:.75rem 1rem;
  white-space:normal;overflow-wrap:anywhere;word-break:break-word;
}
table.data th,table.data td{padding:.85rem 1rem;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
table.data thead th{background:var(--bw-slate);font-weight:700;text-transform:uppercase;font-size:.78rem;letter-spacing:.05em;color:var(--text)}
table.data tbody tr:last-child td{border-bottom:0}
table.data td .pill{
  display:inline-block;font-size:.75rem;font-weight:700;padding:.15rem .5rem;border-radius:6px;
  background:var(--bw-slate);color:var(--text);
}
table.data td .pill--maybe{background:rgba(255,206,6,.15);color:var(--bw-yellow)}
table.data td .pill--yes{background:rgba(15,138,95,.18);color:var(--success)}

/* ---------- 17. SEO text ---------- */
#seo-text{background:var(--bw-charcoal);border-top:1px solid var(--line)}
#seo-text .seo-body{width:100%;max-width:none;color:var(--text-muted);font-size:.95rem}
#seo-text .seo-body p{margin-bottom:1rem;max-width:none}
#seo-text .eyebrow,
#seo-text #seo-title{text-align:left;width:auto;margin-inline:0}

/* ---------- 18. Reviews ---------- */
#reviews{background:var(--bw-ink)}
.reviews-summary{
  display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;
  font-size:.9rem;color:var(--text-muted);margin-bottom:var(--s-24);
}
.reviews-summary b{color:var(--text)}
.stars{display:inline-flex;gap:1px;color:var(--bw-yellow)}
.stars svg{width:16px;height:16px}
.stars .empty{color:var(--line)}
.reviews-grid{display:grid;gap:var(--s-16);grid-template-columns:1fr}
/* On mobile, show the first 4 reviews and reveal the rest via "Show more". */
.reviews-grid--collapsed > .review:nth-child(n+5){display:none}
.reviews-more{margin-top:var(--s-16)}
.review{
  background:var(--bw-charcoal);border:1px solid var(--line);border-radius:var(--r-card);
  padding:var(--s-24);display:flex;flex-direction:column;gap:.5rem;
}
.review__head{display:flex;justify-content:space-between;gap:.5rem;align-items:flex-start;flex-wrap:wrap}
.review__name{font-weight:700}
.review__meta{font-size:.8rem;color:var(--text-muted)}
.review__title{font-weight:700;color:var(--white);margin:.1rem 0 0}
.review__body{color:var(--text-muted);font-size:.92rem;margin:0}

/* review form */
.review-form{
  background:var(--bw-charcoal);border:1px solid var(--line);border-radius:var(--r-card);
  padding:var(--s-24);margin-top:var(--s-32);
}
.review-form h3{font-size:1.2rem;text-transform:none;letter-spacing:0}
.review-form .field{margin-bottom:var(--s-16);display:flex;flex-direction:column;gap:.4rem}
.review-form label{font-weight:600;font-size:.9rem}
.review-form .req{color:var(--danger)}
.review-form input[type=text],
.review-form textarea{
  width:100%;background:var(--bw-ink);border:1px solid var(--line);border-radius:10px;
  padding:.7rem .85rem;color:var(--text);font:inherit;font-size:.95rem;
}
.review-form input:focus,.review-form textarea:focus{outline:2px solid var(--bw-yellow);outline-offset:1px;border-color:var(--bw-yellow)}
.review-form textarea{min-height:110px;resize:vertical}
.rating-input{display:flex;gap:.25rem;flex-direction:row-reverse;justify-content:flex-end}
.rating-input input{position:absolute;opacity:0;width:0;height:0}
.rating-input label{font-size:1.6rem;line-height:1;cursor:pointer;color:var(--line)}
.rating-input input:checked ~ label,
.rating-input input:focus-visible ~ label{color:var(--bw-yellow)}
.rating-input label:hover,.rating-input label:hover ~ label{color:var(--bw-yellow-2)}
.field-check{flex-direction:row;align-items:flex-start;gap:.5rem}
.field-check input{margin-top:.25rem;flex-shrink:0;width:18px;height:18px;accent-color:var(--bw-yellow)}
.field-check label{font-weight:400;font-size:.88rem;color:var(--text-muted)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-note{font-size:.8rem;color:var(--text-muted);margin:0}
.form-error{color:var(--danger);font-size:.85rem;font-weight:600;display:none}
.form-error.show{display:block}
.form-success{
  display:none;background:rgba(15,138,95,.15);border:1px solid var(--success);color:var(--text);
  padding:var(--s-16);border-radius:12px;margin-bottom:var(--s-16);
}
.form-success.show{display:block}

/* ---------- 19. Footer ---------- */
.site-footer{background:var(--bw-ink);border-top:1px solid var(--line);padding-block:var(--s-48) var(--s-32)}
.footer-grid{display:grid;gap:var(--s-32);grid-template-columns:1fr}
.footer-col .brand{display:inline-block;margin-bottom:12px}
.footer-col h4,.footer-col h3,.footer-h{font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);margin-bottom:.75rem;font-family:var(--font-display)}
.footer-nav{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.2rem}
.footer-nav a{color:var(--text);font-size:.92rem;display:flex;align-items:center;min-height:40px;padding:.1rem .15rem}
.footer-nav a:hover{color:var(--bw-yellow)}
.footer-licence{font-size:.82rem;color:var(--text-muted);max-width:70ch}
.footer-legal{
  display:flex;flex-wrap:wrap;gap:var(--s-16);align-items:center;justify-content:flex-start;
  margin-top:var(--s-24);padding-top:var(--s-24);border-top:1px solid var(--line);
}
.footer-legal img{height:40px;width:auto}
.footer-bottom{
  margin-top:var(--s-24);padding-top:var(--s-16);border-top:1px solid var(--line);
  font-size:.8rem;color:var(--text-muted);display:flex;flex-wrap:wrap;gap:.5rem 1rem;justify-content:space-between;
}

/* ---------- 20. Misc ---------- */
.hr-line{height:1px;background:var(--line);border:0;margin:0}
.callout{
  border-left:3px solid var(--bw-yellow);background:var(--bw-slate);
  padding:var(--s-16) var(--s-24);border-radius:0 12px 12px 0;font-size:.92rem;color:var(--text-muted);
}
.prose{max-width:75ch}
.prose h2{font-size:clamp(1.4rem,3vw,2rem);margin-top:var(--s-32)}
.prose h3{font-size:1.15rem;text-transform:none;letter-spacing:0;margin-top:var(--s-24)}
.prose ul,.prose ol{margin-bottom:1rem}
.prose li{margin-bottom:.4rem}
.prose p{color:var(--text)}
.app-block__row{display:flex;gap:var(--s-24);align-items:center}
.app-block__row .media{flex:1;aspect-ratio:12/5;border-radius:12px;overflow:hidden;border:1px solid var(--line);background:var(--bw-slate);min-width:0}
.app-block__row .media img{width:100%;height:100%;object-fit:cover}
.steps{counter-reset:step;list-style:none;padding:0;margin:0 0 var(--s-32);display:grid;gap:var(--s-12)}
.steps li{
  position:relative;padding:.7rem .8rem .7rem 3rem;
  background:var(--bw-charcoal);border:1px solid var(--line);border-radius:12px;
}
.steps li::before{
  counter-increment:step;content:counter(step);
  position:absolute;left:.8rem;top:50%;transform:translateY(-50%);
  width:28px;height:28px;border-radius:50%;background:var(--bw-yellow);color:var(--bw-ink);
  display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:.9rem;
}
.page-hero{background:var(--bw-charcoal);border-bottom:1px solid var(--line);padding-block:clamp(40px,6vw,72px)}
.page-hero h1{font-size:clamp(1.5rem,4.5vw,3rem);margin-bottom:var(--s-16)}
.page-hero .lead{margin-bottom:var(--s-16)}

/* reveal on scroll */
[data-reveal]{opacity:0;transform:translateY(16px)}
[data-reveal].is-visible{opacity:1;transform:none;transition:opacity .3s ease,transform .3s ease}

/* long offscreen sections: skip render cost */
.cv-auto{content-visibility:auto;content-intrinsic-size:auto 600px}

/* ---------- 21. Lite mode ---------- */
html.lite [data-reveal]{opacity:1 !important;transform:none !important}
html.lite .hero::after{display:none}
html.lite .hero::before{opacity:.7}
html.lite img[data-lite-src]{content:url("") !important}
html.lite .carousel-track{scroll-snap-type:none}
html.lite .lite-hide{display:none}

/* ---------- 22. Responsive ---------- */
@media (min-width:480px){
  .cat-grid{grid-template-columns:repeat(4,1fr)}
}
@media (min-width:768px){
  .hero-grid{grid-template-columns:1.05fr .95fr}
  .cat-grid{grid-template-columns:repeat(4,1fr)}
  .grid--2{grid-template-columns:repeat(2,1fr)}
  .grid--3{grid-template-columns:repeat(3,1fr)}
  .grid--4{grid-template-columns:repeat(2,1fr)}
  .carousel-track{grid-auto-columns:minmax(210px,1fr)}
  .app-block{grid-template-columns:1fr 1fr}
  .trust-grid{grid-template-columns:repeat(4,1fr)}
  .reviews-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:2fr 1fr 1fr}
}

@media (min-width:1024px){
  .cat-grid{grid-template-columns:repeat(8,1fr)}
  .grid--4{grid-template-columns:repeat(4,1fr)}
  .carousel-track{grid-auto-columns:minmax(230px,1fr)}
  .reviews-grid{grid-template-columns:repeat(3,1fr)}
}

/* Mobile nav drawer — panel is moved to <body> on small screens (see app.js) */
@media (max-width:899px){
  /* Fixed header so scroll-lock (overflow:hidden) doesn't make the bar vanish */
  .site-header{
    position:fixed;top:0;left:0;right:0;width:100%;
  }
  body{padding-top:64px}
  .nav-toggle{display:inline-flex;order:3;margin-left:.25rem;flex-shrink:0;position:relative;z-index:220}
  .brand{position:relative;z-index:220}
  .brand img{height:22px;width:auto}
  .header-tools{margin-left:auto}
  /* Prevent sticky-header clipping of the in-flow nav before/while JS relocates it */
  .header-inner > .main-nav{
    display:none !important;
  }

  body > .main-nav.main-nav--drawer{
    position:fixed !important;
    top:64px;left:0;right:0;bottom:0;
    width:100%;
    height:calc(100vh - 64px);
    height:calc(100dvh - 64px);
    max-height:calc(100dvh - 64px);
    margin:0;flex:none;
    background:var(--bw-ink);
    border-bottom:1px solid var(--line);
    padding:var(--s-16) clamp(16px,4vw,32px) calc(var(--s-32) + env(safe-area-inset-bottom,0px));
    box-sizing:border-box;
    z-index:210;
    overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;
    display:flex !important;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:0;
    transform:translate3d(0,-12px);
    opacity:0;visibility:hidden;pointer-events:none;
    transition:opacity .2s ease,transform .2s ease,visibility .2s;
    box-shadow:0 18px 48px rgba(0,0,0,.55);
  }
  body > .main-nav.main-nav--drawer.open{
    transform:translate3d(0,0);
    opacity:1;visibility:visible;pointer-events:auto;
  }
  body > .main-nav.main-nav--drawer .nav-list{
    flex-direction:column;gap:.15rem;justify-content:flex-start;
    width:100%;align-items:stretch;margin:0;padding:0;
  }
  body > .main-nav.main-nav--drawer .nav-list li{width:100%;list-style:none}
  body > .main-nav.main-nav--drawer .nav-list a{
    padding:.9rem .35rem;font-size:1.08rem;min-height:48px;
    display:flex;align-items:center;white-space:normal;width:100%;
    border-bottom:1px solid var(--line);
  }
  body > .main-nav.main-nav--drawer .nav-extras{
    display:flex;gap:.6rem;margin-top:1rem;padding-top:1rem;
    border-top:1px solid var(--line);flex-wrap:wrap;width:100%;
  }
  body.nav-open{
    overflow:hidden;
    touch-action:none;
    overscroll-behavior:none;
  }
}

@media (min-width:900px) and (max-width:1279px){
  .header-inner{gap:.5rem}
  .brand img{max-width:150px}
  .nav-list a{padding:.4rem .42rem;font-size:.78rem}
  .header-tools{gap:.35rem}
  .header-tools .lite-toggle{padding:.4rem .5rem;font-size:.76rem;min-height:34px}
  .header-tools .btn{padding:.42rem .6rem;font-size:.8rem}
}
@media (min-width:1280px){
  .header-inner{gap:.7rem}
  .brand img{max-width:196px}
  .nav-list a{padding:.45rem .7rem;font-size:.9rem}
}

@media (max-width:640px){
  .header-inner{gap:.5rem}
  .brand img{height:18px}
  .header-tools .lite-toggle{display:none}
  .header-tools{gap:.3rem}
  .header-tools .btn{padding:.4rem .55rem;font-size:.78rem}
  .app-block__row{flex-direction:column;align-items:stretch}
  .footer-legal,.footer-bottom{justify-content:center;text-align:center}
  .footer-bottom{flex-direction:column;align-items:center}
  /* Flex column keeps caption full-width and at the bottom (caption-side is ignored when table is not table-layout). */
  table.data{
    display:flex;flex-direction:column;width:100%;max-width:100%;
    padding:0 var(--s-16);box-sizing:border-box;
  }
  table.data caption{
    order:99;display:block;width:100%;max-width:100%;
    box-sizing:border-box;padding:.85rem 0;margin:0;
    border-top:1px solid var(--line);white-space:normal;
    overflow-wrap:anywhere;word-break:break-word;line-height:1.45;
  }
  table.data thead{display:none}
  table.data tbody{display:block;width:100%;max-width:100%;order:1}
  table.data tr{
    display:block;width:100%;max-width:100%;box-sizing:border-box;
    padding:var(--s-12) 0;border-bottom:1px solid var(--line);
  }
  table.data tbody tr:last-child{border-bottom:0}
  table.data td{
    display:block;width:100%;max-width:100%;box-sizing:border-box;
    border:0;padding:.2rem 0;overflow-wrap:anywhere;word-break:break-word;
  }
  table.data td::before{
    content:attr(data-label);display:block;font-weight:700;font-size:.72rem;
    text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);margin-bottom:.15rem;
  }
  /* 2-column fact tables: first cell = label, second = value (no stacked "Quick fact / Detail"). */
  table.data tr:has(td:nth-child(2):last-child) td:first-child{
    font-weight:700;color:var(--bw-yellow);padding-bottom:.15rem;
  }
  table.data tr:has(td:nth-child(2):last-child) td::before{display:none}
}

@media (max-width:767px){
  /* Promo / offer cards: one column, readable copy, full-width buttons */
  .grid--4{gap:var(--s-16)}
  .grid--4 .card{padding:var(--s-16);gap:.7rem;min-width:0}
  .grid--4 .card h3{font-size:1.15rem;line-height:1.3}
  .grid--4 .card__bullet{font-size:.92rem;line-height:1.55}
  .grid--4 .card .media{aspect-ratio:2/1;border-radius:10px}
  .grid--4 .card__actions{flex-direction:column;align-items:stretch;gap:.5rem}
  .grid--4 .card__actions .btn{width:100%;justify-content:center}
}

@media (max-width:380px){
  .brand img{height:18px}
  .header-tools .btn{font-size:.75rem;padding:.38rem .5rem}
}


@media (max-width:640px){
  .hero-copy{text-align:center}
  .hero-ctas{justify-content:center}
  .trust-micro{justify-content:center;margin-inline:auto;max-width:100%;border-top:0;padding-top:0}
  .hero-copy .lead{margin-inline:auto}
  .eyebrow{text-align:center;width:100%}
  .section-head{text-align:center;margin-inline:auto}
  /* SEO block keeps the same left edge / full container width as FAQ and header */
  #seo-text .eyebrow,
  #seo-text #seo-title{text-align:left;width:auto;margin-inline:0}
}

/* ---------- 23. Reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important;scroll-behavior:auto !important}
  .hero::after{animation:none}
  [data-reveal]{opacity:1;transform:none}
}
