/* ============================================================
   AllTime IPTV — "Signal" design system
   Tokens first. Never hard-code a colour below the :root block.
   ============================================================ */

/* Self-hosted faces. Drop the .woff2 files into assets/fonts/ and
   these activate; until then the fallback stack carries the design. */
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-variable.woff2") format("woff2-variations");
  font-weight: 300 800; font-display: swap; font-style: normal;
}
@font-face {
  font-family: "InterVar";
  src: url("../fonts/inter-variable.woff2") format("woff2-variations");
  font-weight: 300 700; font-display: swap; font-style: normal;
}

:root {
  /* ---- ground & surfaces ---- */
  --ground:        #08090E;
  --ground-2:      #0B0D14;
  --surface:       #11141C;
  --surface-2:     #161A24;
  --line:          #1D2230;
  --line-bright:   #2A3244;

  /* ---- ink ---- */
  --ink:           #F2F5FA;
  --ink-2:         #A8B3C6;
  --ink-3:         #6F7C92;

  /* ---- accents: cyan does all interactive work ---- */
  --accent:        #2DD4FF;
  --accent-deep:   #0EA5CE;
  --accent-glow:   rgba(45, 212, 255, 0.15);
  --accent-line:   rgba(45, 212, 255, 0.28);

  /* ---- amber: offers and urgency ONLY ---- */
  --offer:         #FFB020;
  --offer-glow:    rgba(255, 176, 32, 0.12);

  /* ---- gold: Supreme tier ONLY ---- */
  --gold:          #E8C87A;
  --gold-glow:     rgba(232, 200, 122, 0.11);

  --good:          #4FD69C;

  /* ---- type ---- */
  --display: "Sora", "Avenir Next", "Segoe UI Variable Display", system-ui, -apple-system, sans-serif;
  --body:    "InterVar", "Inter", -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  --mono:    ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  /* ---- rhythm ---- */
  --page:   1200px;
  --gut:    clamp(18px, 4vw, 40px);
  --sect:   clamp(64px, 9vw, 120px);
  --radius: 14px;

  --shadow-lift: 0 1px 0 rgba(255,255,255,.04), 0 24px 60px -30px rgba(0,0,0,.9);
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.15rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.85rem, 3.7vw, 2.85rem); letter-spacing: -0.022em; }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.38rem); }
h4 { font-size: 1.03rem; }
h5 { font-size: 0.93rem; }
p  { margin: 0; }

.wrap { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: var(--gut); }

/* shared section head */
.sect { padding-block: var(--sect); position: relative; }
.sect-head { display: flex; flex-direction: column; gap: 16px; max-width: 62ch; margin-bottom: 52px; }
.sect-head.center { margin-inline: auto; text-align: center; align-items: center; }
.eyebrow {
  font-family: var(--mono);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--accent); opacity: .6;
}
.sect-head.center .eyebrow::after {
  content: ""; width: 22px; height: 1px; background: var(--accent); opacity: .6;
}
.sub { color: var(--ink-2); font-size: 1.06rem; max-width: 58ch; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--display); font-weight: 650; font-size: .97rem;
  padding: 15px 28px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-decoration: none; white-space: nowrap; letter-spacing: -0.01em;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #04121A;
  box-shadow: 0 0 0 1px var(--accent-line), 0 10px 32px -12px var(--accent-glow);
}
.btn-primary:hover { box-shadow: 0 0 0 1px var(--accent), 0 16px 40px -12px rgba(45,212,255,.45); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-bright);
}
.btn-ghost:hover { border-color: var(--accent-line); background: var(--accent-glow); }
.btn-lg { padding: 18px 34px; font-size: 1.04rem; }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 34px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 750; font-size: 1.12rem; color: var(--ink); letter-spacing: -0.03em; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: linear-gradient(140deg, var(--accent) 0%, var(--accent-deep) 60%, #0B6E8C 100%);
  display: grid; place-items: center;
  box-shadow: 0 0 22px -6px var(--accent-glow);
}
.brand-mark span { width: 9px; height: 9px; border-radius: 2px; background: #04121A; }
.brand em { font-style: normal; color: var(--accent); }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--ink-2); font-size: .93rem; font-weight: 500; }
.nav-links .only-mobile { display: none; }   /* desktop shows the ghost button instead */
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-bright); border-radius: 8px; padding: 9px 11px; cursor: pointer; }
.nav-toggle span { display: block; width: 17px; height: 1.5px; background: var(--ink); }
.nav-toggle span + span { margin-top: 4px; }

/* offer strip */
.offer-strip {
  background: linear-gradient(90deg, var(--offer-glow), transparent 60%);
  border-bottom: 1px solid var(--line);
  font-size: .86rem; color: var(--ink-2);
}
.offer-strip .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; height: 42px; flex-wrap: wrap; }
.offer-strip b { color: var(--offer); font-weight: 650; }
.offer-strip .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--offer); box-shadow: 0 0 10px var(--offer); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(56px, 8vw, 96px); padding-bottom: var(--sect); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% 0 auto 50%; translate: -50% 0;
  width: min(1100px, 130vw); aspect-ratio: 1/1; pointer-events: none;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 62%);
  opacity: .8;
}
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero h1 { max-width: 15ch; }
.hero h1 .hl {
  background: linear-gradient(100deg, var(--accent) 10%, #8FE9FF 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--ink-2); font-size: clamp(1.02rem, 1.5vw, 1.15rem); max-width: 52ch; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-micro { display: flex; gap: 22px; flex-wrap: wrap; font-size: .87rem; color: var(--ink-3); }
.hero-micro span { display: inline-flex; align-items: center; gap: 7px; }
.tick { width: 15px; height: 15px; flex: none; color: var(--good); }

.badge-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-2); background: var(--surface); border: 1px solid var(--line);
  padding: 7px 12px; border-radius: 100px;
}
.badge .live { width: 6px; height: 6px; border-radius: 50%; background: var(--good); box-shadow: 0 0 9px var(--good); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }

/* --- hero TV visual (pure CSS/SVG, no image asset needed) --- */
.tv { position: relative; }
.tv-frame {
  border-radius: 16px; padding: 11px; background: linear-gradient(150deg, #1A1F2B, #0C0E15);
  border: 1px solid var(--line-bright); box-shadow: var(--shadow-lift), 0 0 90px -40px var(--accent);
}
.tv-screen {
  border-radius: 9px; overflow: hidden; background: var(--ground-2);
  border: 1px solid #000; aspect-ratio: 16/10; position: relative;
  display: flex; flex-direction: column;
}
.tv-bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: rgba(0,0,0,.35); }
.tv-bar .pip { font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; color: var(--ink-3); text-transform: uppercase; }
.tv-bar .now { margin-left: auto; font-family: var(--mono); font-size: .6rem; color: var(--accent); }
.epg { flex: 1; display: grid; grid-template-columns: 74px 1fr; overflow: hidden; }
.epg-chan { border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.epg-chan div {
  flex: 1; display: flex; align-items: center; padding-left: 10px;
  font-family: var(--mono); font-size: .58rem; color: var(--ink-3);
  border-bottom: 1px solid var(--line); letter-spacing: .04em;
}
.epg-rows { display: flex; flex-direction: column; }
.epg-row { flex: 1; display: flex; gap: 3px; padding: 3px; border-bottom: 1px solid var(--line); }
.epg-cell {
  border-radius: 3px; background: var(--surface-2); flex: 1;
  display: flex; align-items: center; padding-left: 7px;
  font-size: .56rem; color: var(--ink-3); overflow: hidden; white-space: nowrap;
  font-family: var(--body);
}
.epg-cell.on { background: linear-gradient(90deg, var(--accent-deep), rgba(14,165,206,.25)); color: #E9FBFF; }
.epg-cell.hot { background: var(--offer-glow); color: var(--offer); }
.tv-stand { width: 34%; height: 9px; margin: 0 auto; border-radius: 0 0 7px 7px; background: linear-gradient(180deg, #1A1F2B, #0A0C11); }

/* floating stat chips over the TV */
.chip {
  position: absolute; display: flex; flex-direction: column; gap: 1px;
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px);
  border: 1px solid var(--line-bright); border-radius: 11px; padding: 11px 15px;
  box-shadow: var(--shadow-lift);
}
.chip b { font-family: var(--display); font-size: 1.15rem; letter-spacing: -0.02em; }
.chip small { font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.chip-a { top: 6%; left: -11%; }
.chip-a b { color: var(--accent); }
.chip-b { bottom: 8%; right: -9%; }
.chip-b b { color: var(--good); }

/* ============================================================
   STAT BAR
   ============================================================ */
.stats { border-block: 1px solid var(--line); background: var(--ground-2); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-size: clamp(1.6rem, 2.7vw, 2.15rem); letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat small { font-family: var(--mono); font-size: .67rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); }

/* ============================================================
   FEATURE GRID
   ============================================================ */
.grid-3 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(276px, 1fr)); }
.grid-2 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 13px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--line-bright); transform: translateY(-3px); }
.card .ico {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-glow); border: 1px solid var(--accent-line); color: var(--accent);
  margin-bottom: 4px;
}
.card .ico svg { width: 21px; height: 21px; }
.card p { color: var(--ink-2); font-size: .96rem; }

/* ============================================================
   STEPS
   ============================================================ */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); counter-reset: st; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--line); display: flex; flex-direction: column; gap: 11px; }
.step::before {
  counter-increment: st; content: "0" counter(st);
  position: absolute; top: -14px; left: 0;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .16em;
  color: var(--accent); background: var(--ground); padding-right: 12px;
}
.step:first-child { border-color: var(--accent); }
.step p { color: var(--ink-2); font-size: .95rem; }

/* ============================================================
   PRICING
   ============================================================ */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); align-items: start; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px 30px;
  display: flex; flex-direction: column; gap: 20px;
}
.plan-tag {
  position: absolute; top: -11px; left: 30px;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px;
}
.plan-name { font-family: var(--display); font-size: 1.22rem; font-weight: 700; letter-spacing: -0.02em; }
.plan-term { font-family: var(--mono); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); }
.plan-price { display: flex; align-items: baseline; gap: 11px; flex-wrap: wrap; }
.plan-price b { font-family: var(--display); font-size: 3.1rem; font-weight: 750; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price s { color: var(--ink-3); font-size: 1.05rem; text-decoration-thickness: 1.5px; }
.plan-save { font-family: var(--mono); font-size: .68rem; color: var(--good); letter-spacing: .08em; }
.plan-feat { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.plan-feat li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink-2); }
.plan-feat svg { width: 15px; height: 15px; flex: none; margin-top: 4px; color: var(--accent); }
.plan-note { font-size: .78rem; color: var(--ink-3); text-align: center; }

/* highlighted tier */
.plan.featured {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-glow) 45%, var(--surface)) 0%, var(--surface) 42%);
  box-shadow: var(--shadow-lift), 0 0 70px -40px var(--accent);
}
.plan.featured .plan-tag { background: var(--accent); color: #04121A; }
.plan.featured .plan-price b { color: var(--accent); }

/* supreme tier — gold, used nowhere else */
.plan.supreme { border-color: color-mix(in srgb, var(--gold) 34%, transparent); }
.plan.supreme .plan-tag { background: var(--gold-glow); color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 34%, transparent); }
.plan.supreme .plan-price b { color: var(--gold); }
.plan.supreme .plan-feat svg { color: var(--gold); }
.plan.supreme .btn-primary { background: linear-gradient(180deg, var(--gold), #C9A855); color: #1A1405; box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 40%, transparent), 0 10px 32px -12px var(--gold-glow); }

.pay-row { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.pay-row span { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--ink-3); }
.pay-row svg { width: 16px; height: 16px; color: var(--ink-3); }

/* ============================================================
   DEVICES
   ============================================================ */
.devices { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); }
.device {
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  padding: 22px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; transition: border-color .2s ease;
}
.device:hover { border-color: var(--accent-line); }
.device svg { width: 28px; height: 28px; color: var(--accent); }
.device b { font-size: .87rem; font-weight: 600; font-family: var(--display); letter-spacing: -0.01em; }
.device small { font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* ============================================================
   REVIEWS  (structure only — wire to real Trustpilot feed)
   ============================================================ */
.reviews { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 15px; }
.stars { display: flex; gap: 3px; color: var(--offer); }
.stars svg { width: 15px; height: 15px; }
.review p { font-size: .95rem; color: var(--ink-2); }
.review footer { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-bright); font-family: var(--display); font-size: .78rem; font-weight: 650; color: var(--ink-2); }
.review cite { font-style: normal; font-size: .88rem; font-weight: 600; display: block; }
.review time { font-family: var(--mono); font-size: .66rem; color: var(--ink-3); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--display); font-weight: 620; font-size: 1.05rem; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  translate: 0 -70%; rotate: 45deg; transition: rotate .2s ease, border-color .2s ease;
}
.faq details[open] summary::after { rotate: -135deg; translate: 0 -20%; border-color: var(--accent); }
.faq .answer { padding: 0 40px 24px 0; color: var(--ink-2); font-size: .97rem; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta-band::before {
  content: ""; position: absolute; inset: auto 0 -60% 50%; translate: -50% 0;
  width: min(900px, 120vw); aspect-ratio: 1/1;
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
}
.cta-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ground-2); border-top: 1px solid var(--line); padding-block: 56px 30px; }
.foot-grid { display: grid; gap: 40px; grid-template-columns: minmax(240px, 1.5fr) repeat(auto-fit, minmax(140px, 1fr)); }
.foot-about p { color: var(--ink-3); font-size: .9rem; margin-top: 14px; max-width: 40ch; }
.foot-col h3 { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 15px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { color: var(--ink-2); font-size: .9rem; }
.foot-col a:hover { color: var(--accent); text-decoration: none; }
.foot-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot-bottom p { font-size: .8rem; color: var(--ink-3); }
.disclaimer { margin-top: 18px; font-size: .74rem; color: var(--ink-3); line-height: 1.6; max-width: 100ch; }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  position: fixed; inset: auto 0 0 0; z-index: 70; display: none;
  padding: 11px var(--gut) calc(11px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--ground) 92%, transparent);
  backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  align-items: center; gap: 12px;
}
.sticky-cta .px { display: flex; flex-direction: column; line-height: 1.2; }
.sticky-cta .px b { font-family: var(--display); font-size: 1.05rem; color: var(--accent); }
.sticky-cta .px small { font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.sticky-cta .btn { margin-left: auto; }

/* whatsapp float */
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 65;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #06301A; box-shadow: 0 10px 30px -8px rgba(37,211,102,.5);
}
.wa svg { width: 26px; height: 26px; }
.wa:hover { text-decoration: none; transform: scale(1.06); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .tv { max-width: 520px; margin-inline: auto; }
  .chip-a { left: -2%; }
  .chip-b { right: -2%; }
  .nav-links { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta .btn-ghost { display: none; }        /* too narrow for two buttons... */
  .nav-links .only-mobile { display: block; color: var(--accent); }  /* ...so it moves into the menu */
  .nav-cta .btn { padding: 11px 17px; font-size: .89rem; }
  .nav { gap: 14px; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .sticky-cta { display: flex; }
  .wa { bottom: 78px; }
  .site-footer { padding-bottom: 90px; }
  .plan { padding: 30px 24px 26px; }
  .chip { display: none; }
}

/* ============================================================
   ARTICLE / PILLAR LAYOUT
   ============================================================ */
.art-head { padding-block: clamp(44px, 6vw, 76px) 0; }
.art-head .wrap { display: flex; flex-direction: column; gap: 20px; }
.crumb { display: flex; gap: 9px; flex-wrap: wrap; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.crumb a { color: var(--ink-3); }
.crumb a:hover { color: var(--accent); text-decoration: none; }
.art-head h1 { max-width: 20ch; }
.art-meta { display: flex; gap: 20px; flex-wrap: wrap; font-family: var(--mono); font-size: .73rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); padding-top: 18px; border-top: 1px solid var(--line); }
.art-meta b { color: var(--ink-2); font-weight: 500; }

.art-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-block: 48px var(--sect); align-items: start; }

/* sticky table of contents */
.toc { position: sticky; top: 96px; max-height: calc(100vh - 130px); overflow-y: auto; }
.toc h2 { font-family: var(--mono); font-size: .68rem; letter-spacing: .17em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 15px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.toc a {
  display: block; padding: 7px 12px; border-left: 2px solid var(--line);
  color: var(--ink-3); font-size: .85rem; line-height: 1.35;
  transition: color .15s ease, border-color .15s ease;
}
.toc a:hover, .toc a.on { color: var(--ink); border-color: var(--accent); text-decoration: none; }

/* prose */
.prose { max-width: 72ch; display: flex; flex-direction: column; gap: 20px; }
.prose > h2 { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin-top: 14px; color: var(--ink); scroll-margin-top: 90px; }
.prose h4 { margin-top: 8px; color: var(--ink-2); font-size: 1rem; }
.prose h5 { margin-top: 4px; color: var(--ink-3); font-family: var(--mono); font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 500; }
.prose p { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 620; }
.prose ul, .prose ol { color: var(--ink-2); padding-left: 1.25em; display: flex; flex-direction: column; gap: 9px; margin: 0; }
.prose li::marker { color: var(--accent); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-line); }

/* answer-first block — the bit that wins snippets */
.answer-box {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px; display: flex; flex-direction: column; gap: 10px;
}
.answer-box p { color: var(--ink); font-size: 1.03rem; }
.answer-box .tagline { font-family: var(--mono); font-size: .65rem; letter-spacing: .17em; text-transform: uppercase; color: var(--accent); }

/* callouts */
.callout { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; display: flex; flex-direction: column; gap: 8px; background: var(--surface); }
.callout h3, .callout h4, .callout .ctitle { font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--ink); margin: 0; letter-spacing: -0.015em; }
.callout p { font-size: .93rem; }
.callout.warn { border-left: 3px solid var(--offer); }
.callout.warn h3, .callout.warn h4, .callout.warn .ctitle { color: var(--offer); }
.callout.tip { border-left: 3px solid var(--good); }
.callout.tip h3, .callout.tip h4, .callout.tip .ctitle { color: var(--good); }

/* data tables inside prose */
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tbl table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: .89rem; }
.tbl th, .tbl td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font-family: var(--mono); font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; background: var(--surface-2); white-space: nowrap; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td { color: var(--ink-2); }
.tbl td strong, .tbl td b { color: var(--ink); }
.tbl .n { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .yes { color: var(--good); }
.tbl .no  { color: var(--ink-3); }

/* inline CTA inside the article */
.art-cta {
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent-glow) 60%, var(--surface)), var(--surface));
  border: 1px solid var(--accent-line); border-radius: var(--radius);
  padding: 28px 30px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.art-cta h3 { font-size: 1.24rem; }
.art-cta p { color: var(--ink-2); font-size: .95rem; }

@media (max-width: 900px) {
  .art-layout { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: var(--surface); }
  .toc ol { max-height: 260px; overflow-y: auto; }
}
