/* =====================================================================
   IPTV PROVIDERS ONLINE — Design System
   Light theme · midnight-blue #0a1628 base · electric-cyan #00d4ff accent
   Space Grotesk (display) + Inter (body) · self-hosted variable WOFF2
   Mobile-first · WCAG AA · Core Web Vitals friendly
   ===================================================================== */

/* ---------- Self-hosted fonts (Latin variable, covers all weights) ---------- */
@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2-variations'),
       url('/assets/fonts/space-grotesk-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
  font-style: normal;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin.woff2') format('woff2-variations'),
       url('/assets/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --midnight:        #0a1628;
  --midnight-800:    #0d1c33;
  --midnight-700:    #16243d;
  --midnight-600:    #1f3252;
  --cyan:            #00d4ff;   /* bright accent — on dark / fills w/ dark text */
  --cyan-press:      #00b8de;
  --link:            #007a99;   /* AA cyan-family for body hyperlinks on white */

  /* Light surfaces */
  --bg:              #ffffff;
  --bg-alt:          #f4f7fa;   /* off-white alt sections */
  --surface:         #ffffff;
  --surface-2:       #f4f7fa;
  --surface-3:       #eaf1f8;

  /* Text */
  --text:            #0a1628;   /* near-black on light, 16.5:1 on white */
  --text-muted:      #475569;   /* slate-600, 7.6:1 */
  --text-faint:      #64748b;   /* slate-500, 4.8:1 */
  --text-on-dark:    #ffffff;
  --text-on-dark-mut:#aebbd0;

  /* Lines */
  --line:            #e2e8f1;
  --line-strong:     #cdd7e6;
  --line-dark:       rgba(255,255,255,.16);

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(10,22,40,.05), 0 1px 3px rgba(10,22,40,.04);
  --shadow:    0 6px 18px rgba(10,22,40,.08), 0 2px 6px rgba(10,22,40,.05);
  --shadow-lg: 0 28px 60px rgba(10,22,40,.18), 0 10px 24px rgba(10,22,40,.08);
  --ring: 0 0 0 3px rgba(0,212,255,.5);

  /* Type */
  --font-head: 'Space Grotesk', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Spacing (8px base) */
  --s-1: .5rem;  --s-2: 1rem;  --s-3: 1.5rem; --s-4: 2rem;
  --s-5: 3rem;   --s-6: 4rem;  --s-7: 6rem;

  /* Radius */
  --r-sm: 10px; --r: 16px; --r-lg: 22px; --r-xl: 30px; --r-pill: 999px;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --header-h: 68px;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
  --t-fast: .15s; --t: .25s; --t-slow: .4s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;            /* 17px base (>=16 mobile) */
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.25rem; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--text);
  text-wrap: balance;
}
p { text-wrap: pretty; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 1000;
  background: var(--midnight); color: #fff; padding: 10px 16px;
  border-radius: var(--r-sm); font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 8px; }

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--midnight); color: var(--text-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 500; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-press);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--cyan); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section__title { font-size: clamp(1.7rem, 4.4vw, 2.7rem); }
.section__lead { margin-top: 14px; color: var(--text-muted); font-size: 1.1rem; }
.section--dark .section__lead { color: var(--text-on-dark-mut); }

/* ---------- Buttons ---------- */
.btn {
  --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: var(--bh); padding: 0 26px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  line-height: 1; letter-spacing: -.01em; white-space: nowrap;
  border-radius: var(--r-pill); border: 2px solid transparent;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease), color var(--t) var(--ease);
  text-decoration: none; user-select: none;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--cyan); color: var(--midnight);
  box-shadow: 0 6px 20px rgba(0,212,255,.32);
}
.btn-primary:hover { background: var(--cyan-press); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,212,255,.4); text-decoration: none; }
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: transparent; color: var(--midnight);
  border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--midnight); background: rgba(10,22,40,.04); transform: translateY(-1px); text-decoration: none; }
/* on-dark variants (auto via context) */
.section--dark .btn-secondary,
.hero .btn-secondary,
.cta-band .btn-secondary { color: #fff; border-color: rgba(255,255,255,.45); }
.section--dark .btn-secondary:hover,
.hero .btn-secondary:hover,
.cta-band .btn-secondary:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--block { width: 100%; }
.btn--lg { --bh: 56px; padding: 0 32px; font-size: 1.0625rem; }
.btn--sm { --bh: 44px; padding: 0 18px; font-size: .94rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 20px;
  height: var(--header-h); display: flex; align-items: center; gap: 18px;
}
.logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.12rem;
  letter-spacing: -.02em; color: var(--midnight); text-decoration: none; margin-right: auto;
  min-height: 44px;
}
.logo:hover { text-decoration: none; }
.logo__mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--midnight); color: var(--cyan);
  display: grid; place-items: center; flex: none;
}
.logo__mark svg { width: 20px; height: 20px; }
.logo b { color: var(--cyan-press); font-weight: 700; }
.nav { display: none; }
.nav__list { list-style: none; display: flex; gap: 4px; padding: 0; margin: 0; }
.nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-family: var(--font-head); font-weight: 500; font-size: .96rem;
  color: var(--text); border-radius: var(--r-pill); text-decoration: none;
}
.nav__link:hover { background: var(--surface-2); color: var(--midnight); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--cyan-press); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.header__cta .btn-primary { display: none; }
.nav-toggle {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 10px; color: var(--midnight);
}
.nav-toggle:hover { background: var(--surface-2); }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-open { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

/* Mobile nav panel (opaque, above scrim) */
.nav-scrim {
  position: fixed; inset: 0; z-index: 90; background: rgba(10,22,40,.5);
  opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t);
}
body.nav-open .nav-scrim { opacity: 1; visibility: visible; }
.nav-panel {
  position: fixed; top: 0; right: 0; z-index: 95;
  width: min(86vw, 360px); height: 100dvh; height: 100vh;
  background: #fff; padding: calc(var(--header-h) + 12px) 18px 32px;
  transform: translateX(100%); transition: transform var(--t-slow) var(--ease);
  box-shadow: var(--shadow-lg); overflow-y: auto;
  display: flex; flex-direction: column; gap: 4px;
}
body.nav-open .nav-panel { transform: translateX(0); }
.nav-panel .nav__link {
  min-height: 52px; padding: 0 16px; font-size: 1.08rem; border-radius: var(--r);
  border-bottom: 1px solid var(--line);
}
.nav-panel .nav__link:hover { background: var(--surface-2); }
.nav-panel .btn { margin-top: 16px; }

/* ---------- Mobile sticky bottom CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.mobile-cta .btn { flex: 1; }
.mobile-cta .btn-secondary { display: none; }
@media (max-width: 520px) { .mobile-cta .btn-primary { font-size: .95rem; padding: 0 14px; } }
body { padding-bottom: 0; }
main { padding-bottom: 76px; } /* space for bottom CTA on mobile */
@media (min-width: 768px) { .mobile-cta { display: none; } main { padding-bottom: 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--midnight); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 88% -10%, rgba(0,212,255,.22), transparent 60%),
    radial-gradient(700px 600px at -5% 110%, rgba(0,212,255,.10), transparent 55%);
  pointer-events: none;
}
.hero__grid {
  position: relative; max-width: var(--container); margin: 0 auto; padding: clamp(40px, 7vw, 84px) 20px clamp(36px,6vw,64px);
  display: grid; gap: 32px;
}
.hero__copy { max-width: 640px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px;
  background: rgba(0,212,255,.12); border: 1px solid rgba(0,212,255,.4);
  border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 500;
  font-size: .82rem; letter-spacing: .02em; color: var(--cyan); margin-bottom: 22px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(0,212,255,.6); }
.hero h1 {
  color: #fff; font-size: clamp(2rem, 6.4vw, 3.6rem); line-height: 1.04;
  letter-spacing: -.03em;
}
.hero h1 .hl { color: var(--cyan); }
.hero__sub { margin-top: 20px; font-size: clamp(1.05rem, 2.4vw, 1.28rem); color: var(--text-on-dark-mut); max-width: 56ch; }
.hero__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__cta .btn-primary { box-shadow: 0 10px 30px rgba(0,212,255,.4); }
.hero__media { position: relative; }
.hero__frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.12); background: var(--midnight-700);
  box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__stat-card {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  background: rgba(10,22,40,.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--r);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px;
}
.hero__stat-card .num { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--cyan); line-height: 1; }
.hero__stat-card .lbl { font-size: .78rem; color: var(--text-on-dark-mut); line-height: 1.25; }

/* ---------- Trust pills ---------- */
.trust-pills { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.trust-pill {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-dark);
  border-radius: var(--r); font-size: .98rem; font-weight: 500;
}
.trust-pill svg { width: 22px; height: 22px; color: var(--cyan); flex: none; }
.trust-strip { background: var(--bg-alt); border-block: 1px solid var(--line); }
.trust-strip__inner { max-width: var(--container); margin: 0 auto; padding: 22px 20px; }
.trust-strip .trust-pills { grid-template-columns: 1fr; }
.trust-strip .trust-pill { background: #fff; border-color: var(--line); color: var(--text); }

/* ---------- Events ticker ---------- */
.events-ticker { background: var(--midnight); color: #fff; border-block: 1px solid var(--line-dark); }
.events-ticker__bar { display: flex; align-items: center; max-width: var(--container); margin: 0 auto; }
.events-ticker__label {
  flex: none; display: flex; align-items: center; gap: 8px; padding: 14px 18px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--cyan); border-right: 1px solid var(--line-dark);
  white-space: nowrap;
}
.events-ticker__label .live-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff4d6d; box-shadow: 0 0 0 0 rgba(255,77,109,.7); animation: livepulse 1.8s infinite; }
@keyframes livepulse { 0%{box-shadow:0 0 0 0 rgba(255,77,109,.6)} 70%{box-shadow:0 0 0 8px rgba(255,77,109,0)} 100%{box-shadow:0 0 0 0 rgba(255,77,109,0)} }
.events-ticker__viewport { flex: 1; contain: paint; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.events-ticker__track {
  display: flex; gap: 36px; padding: 14px 18px; width: max-content;
  animation: ticker 38s linear infinite;
}
.events-ticker:hover .events-ticker__track { animation-play-state: paused; }
.events-ticker__item {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-size: .95rem; color: var(--text-on-dark-mut);
}
.events-ticker__item .tag {
  font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--midnight); background: var(--cyan);
  padding: 3px 8px; border-radius: 6px;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Features (bento) ---------- */
.features { display: grid; gap: 18px; grid-template-columns: 1fr; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; display: flex; flex-direction: column; gap: 12px;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.feature__icon {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: var(--surface-3); color: var(--cyan-press); margin-bottom: 4px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.18rem; }
.feature p { color: var(--text-muted); font-size: .99rem; }
.feature--accent { background: linear-gradient(160deg, var(--midnight), var(--midnight-700)); color: #fff; border-color: transparent; }
.feature--accent h3 { color: #fff; }
.feature--accent p { color: var(--text-on-dark-mut); }
.feature--accent .feature__icon { background: rgba(0,212,255,.15); color: var(--cyan); }

/* ---------- Split (image + text, e.g. live sports) ---------- */
.split { display: grid; gap: 32px; align-items: center; }
.split__media { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 3 / 2; background: var(--surface-2); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__copy h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.split__copy p { color: var(--text-muted); margin-top: 14px; }
.split__list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.split__list li {
  font-family: var(--font-head); font-weight: 500; font-size: .85rem; color: var(--midnight);
  background: var(--surface-2); border: 1px solid var(--line); padding: 6px 12px; border-radius: var(--r-pill);
}

/* ---------- Pricing (data-shell hooks styled for js/pricing.js) ---------- */
.pricing-wrap { display: grid; gap: 28px; }
#pricing-tabs {
  display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-pill);
  justify-self: center; width: max-content; max-width: 100%; overflow-x: auto;
}
.conn-tab {
  appearance: none; border: 0; min-height: 44px; padding: 0 18px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--text-muted);
  background: transparent; border-radius: var(--r-pill); white-space: nowrap; transition: all var(--t) var(--ease);
}
.conn-tab:hover { color: var(--midnight); }
.conn-tab.active { background: var(--midnight); color: #fff; box-shadow: var(--shadow-sm); }
.conn-tab .conn-tab__n { color: var(--cyan); margin-left: 2px; }
.conn-tab.active .conn-tab__n { color: var(--cyan); }
#pricing-grid {
  display: grid; gap: 18px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0;
}
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 24px; display: flex; flex-direction: column; gap: 6px;
  transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.plan--popular {
  border-color: var(--cyan); border-width: 2px;
  box-shadow: 0 14px 40px rgba(0,212,255,.18);
}
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--cyan); color: var(--midnight); font-family: var(--font-head);
  font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--r-pill); white-space: nowrap; box-shadow: var(--shadow-sm);
}
.plan__duration { font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: .06em; }
.plan__price { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.1rem, 5vw, 2.7rem); color: var(--midnight); line-height: 1; margin-top: 6px; }
.plan__price .cur { font-size: 1.3rem; vertical-align: 9px; color: var(--text-muted); margin-right: 2px; }
.plan__per { font-size: .92rem; color: var(--text-muted); margin-top: 2px; }
.plan__per .save { color: #0f9d58; font-weight: 600; }
.plan__features { list-style: none; padding: 16px 0 0; margin: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plan__features li { display: flex; gap: 10px; font-size: .94rem; color: var(--text-muted); }
.plan__features svg { width: 18px; height: 18px; color: #0f9d58; flex: none; margin-top: 2px; }
.plan .btn.plan__cta { margin-top: 18px; }

/* ---------- Comparison table ---------- */
.compare { overflow: visible; }
.compare__scroll { overflow-x: auto; margin: 0 -20px; padding: 0 20px; -webkit-overflow-scrolling: touch; }
.compare table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; font-size: .95rem; }
.compare thead th {
  font-family: var(--font-head); font-weight: 700; text-align: left; padding: 16px 14px;
  background: var(--surface-2); border-bottom: 2px solid var(--line-strong); font-size: .92rem; color: var(--text);
  position: sticky; top: 0;
}
.compare thead th.us { background: var(--midnight); color: #fff; }
.compare thead th.us .tag { color: var(--cyan); }
.compare tbody td { padding: 14px; border-bottom: 1px solid var(--line); color: var(--text-muted); vertical-align: top; }
.compare tbody th { text-align: left; padding: 14px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--text); position: sticky; left: 0; background: var(--bg); min-width: 150px; }
.compare tbody td.us { background: rgba(0,212,255,.06); color: var(--text); font-weight: 600; }
.compare tbody tr:hover td { background: var(--surface-2); }
.compare tbody tr:hover th { background: var(--surface-2); }
.compare tbody tr:hover td.us { background: rgba(0,212,255,.12); }
.compare .yes { color: #0f9d58; font-weight: 700; }
.compare .no { color: #c43c2e; }
.compare__hint { font-size: .82rem; color: var(--text-faint); margin-top: 12px; text-align: center; }
.compare__hint svg { width: 14px; height: 14px; vertical-align: -2px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 18px; }
.review {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; display: flex; flex-direction: column; gap: 14px;
}
.review__stars { display: flex; gap: 2px; color: #f5a623; }
.review__stars svg { width: 18px; height: 18px; }
.review__body { font-size: 1.02rem; color: var(--text); }
.review__who { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--text-muted); }
.review__who b { color: var(--text); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--text); }
.field .req { color: #c43c2e; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; font-size: 1rem;
  background: #fff; color: var(--text); border: 1.5px solid var(--line-strong);
  border-radius: var(--r); transition: border-color var(--t), box-shadow var(--t);
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: #94a3b8; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--cyan-press); box-shadow: var(--ring); }
.form__row { display: grid; gap: 16px; }
.form__hint { font-size: .85rem; color: var(--text-faint); }
.form__msg { font-family: var(--font-head); font-weight: 600; padding: 14px 16px; border-radius: var(--r); display: none; align-items: center; gap: 10px; }
.form__msg svg { width: 20px; height: 20px; flex: none; }
.form__msg--ok { background: #e7f6ee; color: #0f7a43; border: 1px solid #b7e4c7; display: none; }
.form__msg--ok.is-visible { display: flex; }
.trust-mini { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.trust-mini li { display: flex; gap: 10px; font-size: .92rem; color: var(--text-muted); }
.trust-mini svg { width: 20px; height: 20px; color: #0f9d58; flex: none; }

/* ---------- Trial form card ---------- */
.trial-card { display: grid; gap: 28px; align-items: start; }
.trial-card__form-wrap {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow);
}
.trial-card__form-wrap h3 { font-size: 1.4rem; }

/* ---------- FAQ (native details/summary) ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq__item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; gap: 14px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; color: var(--text); min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm {
  margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); display: grid; place-items: center;
  color: var(--cyan-press); transition: transform var(--t) var(--ease), background var(--t);
}
.faq summary .pm svg { width: 16px; height: 16px; }
.faq__item[open] summary .pm { transform: rotate(45deg); background: var(--cyan); color: var(--midnight); border-color: var(--cyan); }
.faq__answer { padding: 0 22px 22px 22px; color: var(--text-muted); max-width: 78ch; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--midnight); color: #fff; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 380px at 80% 20%, rgba(0,212,255,.18), transparent 60%);
}
.cta-band__inner { position: relative; max-width: var(--container-narrow); margin: 0 auto; padding: clamp(48px,8vw,84px) 20px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem,4.4vw,2.6rem); }
.cta-band p { color: var(--text-on-dark-mut); margin-top: 14px; max-width: 56ch; margin-inline: auto; }
.cta-band__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--midnight); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(700px 360px at 85% 0, rgba(0,212,255,.18), transparent 60%); }
.page-hero__inner { position: relative; max-width: var(--container); margin: 0 auto; padding: clamp(40px,6vw,72px) 20px clamp(32px,5vw,56px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--text-on-dark-mut); margin-bottom: 18px; }
.breadcrumb a { color: var(--cyan); }
.breadcrumb span { opacity: .5; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem,5vw,3rem); max-width: 18ch; }
.page-hero__sub { margin-top: 16px; color: var(--text-on-dark-mut); font-size: clamp(1.02rem,2.2vw,1.2rem); max-width: 60ch; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: var(--container-narrow); margin: 0 auto; padding: clamp(40px,6vw,72px) 20px; }
.prose h1 { font-size: clamp(1.8rem,4.4vw,2.5rem); }
.prose .meta { color: var(--text-faint); font-size: .9rem; margin-top: 8px; }
.prose h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul, .prose ol { margin: 10px 0 14px; display: grid; gap: 6px; }
.prose a { color: var(--link); }
.prose__lead { font-size: 1.12rem; color: var(--text); margin-top: 14px; }
.toc { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; margin: 24px 0; }
.toc h2 { font-size: 1rem; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); }
.toc ol { margin: 0; padding-left: 1.2rem; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 8px; }
.step__n { font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .08em; color: var(--cyan-press); text-transform: uppercase; }
.step h3 { font-size: 1.12rem; }
.step p { color: var(--text-muted); font-size: .96rem; }

/* ---------- Device / category cards ---------- */
.cards { display: grid; gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--surface-3); color: var(--cyan-press); display: grid; place-items: center; margin-bottom: 12px; }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; }
.card__count { font-family: var(--font-head); font-weight: 700; color: var(--cyan-press); font-size: .9rem; }
.card p, .card__list { color: var(--text-muted); font-size: .94rem; margin-top: 8px; }
.card__list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.card__list li { background: var(--surface-2); border: 1px solid var(--line); padding: 5px 11px; border-radius: var(--r-pill); font-size: .82rem; color: var(--text); }

/* ---------- Device guide accordion ---------- */
.guides { display: grid; gap: 14px; }
.guide { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.guide summary {
  list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; gap: 14px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; min-height: 44px;
}
.guide summary::-webkit-details-marker { display: none; }
.guide summary .di { width: 40px; height: 40px; border-radius: 10px; background: var(--surface-3); color: var(--cyan-press); display: grid; place-items: center; flex: none; }
.guide summary .di svg { width: 22px; height: 22px; }
.guide summary .chev { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: transform var(--t); color: var(--text-faint); }
.guide[open] summary .chev { transform: rotate(180deg); background: var(--cyan); color: var(--midnight); border-color: var(--cyan); }
.guide__body { padding: 0 22px 24px; }
.guide__body ol { margin: 8px 0 0; padding-left: 1.3rem; display: grid; gap: 10px; color: var(--text-muted); }
.guide__body ol li::marker { color: var(--cyan-press); font-weight: 700; font-family: var(--font-head); }

/* ---------- Stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--surface); padding: 24px; text-align: center; }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem,4vw,2.2rem); color: var(--midnight); line-height: 1; }
.stat__num .hl { color: var(--cyan-press); }
.stat__lbl { font-size: .85rem; color: var(--text-muted); margin-top: 6px; }

/* ---------- Internal links list ---------- */
.intlinks { list-style: none; padding: 0; display: grid; gap: 12px; }
.intlinks li a {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  color: var(--text); font-weight: 500; text-decoration: none; transition: all var(--t);
}
.intlinks li a:hover { border-color: var(--cyan); box-shadow: var(--shadow-sm); transform: translateX(2px); }
.intlinks li a svg { width: 18px; height: 18px; color: var(--cyan-press); margin-left: auto; }

/* ---------- Contact methods ---------- */
.contact-grid { display: grid; gap: 18px; }
.contact-method { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; gap: 14px; }
.contact-method .ci { width: 44px; height: 44px; border-radius: 11px; background: var(--surface-3); color: var(--cyan-press); display: grid; place-items: center; flex: none; }
.contact-method .ci svg { width: 22px; height: 22px; }
.contact-method h3 { font-size: 1.05rem; }
.contact-method p { color: var(--text-muted); font-size: .94rem; margin-top: 4px; }

/* ---------- 404 ---------- */
.notfound { max-width: 640px; margin: 0 auto; padding: clamp(56px,10vw,110px) 20px; text-align: center; }
.notfound__code { font-family: var(--font-head); font-weight: 700; font-size: clamp(4rem,16vw,8rem); line-height: 1; color: var(--midnight); letter-spacing: -.04em; }
.notfound__code .hl { color: var(--cyan-press); }
.notfound h1 { font-size: clamp(1.5rem,4vw,2.1rem); margin-top: 12px; }
.notfound p { color: var(--text-muted); margin-top: 12px; }
.notfound__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--midnight); color: var(--text-on-dark-mut); padding: clamp(48px,7vw,76px) 0 28px; }
.site-footer a { color: var(--text-on-dark-mut); }
.site-footer a:hover { color: var(--cyan); }
.footer__inner { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.footer__top { display: grid; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line-dark); }
.footer__brand .logo { color: #fff; margin-bottom: 14px; }
.footer__brand p { color: var(--text-on-dark-mut); max-width: 38ch; font-size: .94rem; }
.footer__col h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer__col a { font-size: .94rem; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.footer__bottom { padding-top: 22px; display: flex; flex-direction: column; gap: 12px; font-size: .84rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer__legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
.footer__bottom .disclaimer { color: var(--text-on-dark-mut); opacity: .7; font-size: .8rem; line-height: 1.5; }

/* ---------- Helpers ---------- */
.center { text-align: center; }
.mt-s { margin-top: var(--s-2); } .mt-m { margin-top: var(--s-4); } .mt-l { margin-top: var(--s-5); }
.hide { display: none !important; }
.lead { font-size: 1.12rem; color: var(--text-muted); }

/* =====================================================================
   RESPONSIVE — tablet & up
   ===================================================================== */
@media (min-width: 640px) {
  .form__row { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4,1fr); }
  .mobile-cta .btn-secondary { display: inline-flex; }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 768px) {
  body { font-size: 1.0625rem; }
  .nav { display: block; }
  .nav-toggle { display: none; }
  .nav-panel, .nav-scrim { display: none !important; }
  .header__cta .btn-primary { display: inline-flex; }
  .header__cta .btn-secondary { display: none; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
  .trust-strip .trust-pills { grid-template-columns: repeat(2,1fr); }
  .features { grid-template-columns: repeat(2,1fr); }
  #pricing-grid { grid-template-columns: repeat(2,1fr); }
  .reviews { grid-template-columns: repeat(3,1fr); }
  .trial-card { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .split--rev .split__media { order: 2; }
  .cards--3 { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3,1fr); }
  .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .features { grid-template-columns: repeat(3,1fr); }
  #pricing-grid { grid-template-columns: repeat(4,1fr); }
  .cards--3 { grid-template-columns: repeat(3,1fr); }
  .cards--4 { grid-template-columns: repeat(4,1fr); }
  .trust-strip .trust-pills { grid-template-columns: repeat(4,1fr); }
}
@media (min-width: 1280px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .events-ticker__track { animation: none; }
  .events-ticker__label .live-dot { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-cta, .nav-scrim, .nav-panel, .events-ticker, .cta-band { display: none !important; }
  body { color: #000; background: #fff; }
}
