/* ==========================================================================
   IPTV SÉNÉGAL — PRO THEME STYLESHEET (/assets/theme.css)
   Archetype: Split Editorial Hero + Asymmetric Bento Grid + Dark Highlight Band + Compact Accordion FAQ
   Personality: Modern SaaS Studio · Teranga & Pirogue Edition
   ========================================================================== */

/* ==========================================================================
   01. Tokens & Reset
   ========================================================================== */
:root {
  --dune: #f7f0e1;
  --sable: #ecdfc3;
  --blanc: #fffcf5;
  --surface: #ffffff;
  --ocean: #0a1f2e;
  --ocean2: #123247;
  --ocean3: #071622;
  --ink: #0d1b26;
  --ink2: #34434d;
  --mut: #5c6873;
  --line: rgba(10, 31, 46, .12);
  --line-dark: rgba(255, 255, 255, .12);
  --vert: #00853f;
  --vertD: #006430;
  --vertL: #3fbf7a;
  --soleil: #fdd835;
  --soleilD: #c9a400;
  --soleilL: #fff07a;
  --ocre: #c8792e;
  --ocreD: #9a5617;
  --rouge: #e31b23;
  --rougeD: #b0121a;
  --bleu: #1d6fa5;
  --wa: #25d366;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 6px 20px -10px rgba(10, 31, 46, .16);
  --shadow-md: 0 18px 42px -20px rgba(10, 31, 46, .24);
  --shadow-lg: 0 30px 68px -28px rgba(10, 31, 46, .42);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font-body);
  background: var(--dune);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16.5px;
  overflow-x: clip;
}
body.drawer-open { overflow: hidden; }
a { color: var(--vertD); text-decoration: none; transition: color .18s ease; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--soleil);
  outline-offset: 2px;
}
.hero a:not(.btn):not(.logo),
.split-hero.is-dark a:not(.btn):not(.logo),
.dark-band a:not(.btn):not(.logo),
.guarantee-box a:not(.btn):not(.logo),
.sec.night a:not(.btn):not(.logo),
.final a:not(.btn):not(.logo),
.hub-cta a:not(.btn):not(.logo),
.side.offer a:not(.btn):not(.logo),
.xgen a:not(.btn):not(.logo),
.tdet a:not(.btn):not(.logo),
.strip .b a:not(.btn):not(.logo) {
  color: var(--soleil);
  text-decoration: underline;
  text-decoration-color: rgba(253, 216, 53, .45);
  text-underline-offset: 3px;
}
.hero a:not(.btn):not(.logo):hover,
.split-hero.is-dark a:not(.btn):not(.logo):hover,
.dark-band a:not(.btn):not(.logo):hover,
.guarantee-box a:not(.btn):not(.logo):hover,
.sec.night a:not(.btn):not(.logo):hover,
.final a:not(.btn):not(.logo):hover,
.hub-cta a:not(.btn):not(.logo):hover,
.side.offer a:not(.btn):not(.logo):hover,
.xgen a:not(.btn):not(.logo):hover,
.tdet a:not(.btn):not(.logo):hover,
.strip .b a:not(.btn):not(.logo):hover {
  color: #fff;
  text-decoration-color: #fff;
}
img { max-width: 100%; height: auto; display: block; }
button, input, select { font: inherit; }

/* ==========================================================================
   02. Typography & Containers
   ========================================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-weight: 800;
}
.mono { font-family: var(--font-mono); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.skip {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip:focus {
  left: 12px; top: 12px; width: auto; height: auto; padding: 10px 16px;
  background: var(--soleil); color: var(--ocean); font-weight: 800;
  border-radius: 10px; z-index: 9999;
}

.bande {
  height: 8px;
  position: relative;
  background: repeating-linear-gradient(115deg,
    var(--vert) 0 22px, var(--soleil) 22px 30px, var(--rouge) 30px 52px,
    var(--blanc) 52px 57px, var(--bleu) 57px 79px, var(--soleil) 79px 84px);
}
.bande::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(10, 31, 46, .35) 46px 48px);
}

.crumbs { font-size: 13.5px; color: var(--mut); margin-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.crumbs a { color: var(--mut); font-weight: 600; }
.crumbs a:hover { color: var(--vertD); }
.crumbs span { opacity: .45; }
.hero .crumbs, .split-hero.is-dark .crumbs, .city-hero .crumbs { color: #9fb6c4; }
.hero .crumbs a, .split-hero.is-dark .crumbs a, .city-hero .crumbs a { color: #c9d7e0; text-decoration: none; }
.hero .crumbs a:hover, .split-hero.is-dark .crumbs a:hover, .city-hero .crumbs a:hover { color: var(--soleil); text-decoration: underline; }

.tag, .pill-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--vertD); background: rgba(0, 133, 63, .1);
  border: 1px solid rgba(0, 133, 63, .26);
  padding: 5px 13px; border-radius: var(--radius-pill); margin-bottom: 16px;
}
.pill-badge--gold {
  color: var(--ocean); background: var(--soleil); border-color: var(--soleil);
}
.pill-badge--dark {
  color: var(--soleil); background: rgba(253, 216, 53, .12); border-color: rgba(253, 216, 53, .32);
}
.lead { font-size: 18.5px; color: var(--ink2); max-width: 780px; margin-top: 16px; line-height: 1.65; }
.text-center { text-align: center; }
.mt-sm { margin-top: 14px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 36px; }
.hidden-item { display: none !important; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 800; border-radius: var(--radius-pill);
  padding: 13px 22px; font-size: 15px; line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  border: 0; cursor: pointer; font-family: inherit; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-wa { background: var(--wa); color: #04210e; }
.btn-wa:hover { box-shadow: 0 12px 28px -10px rgba(37, 211, 102, .72); }
.btn-soleil, .btn-orange { background: var(--soleil); color: var(--ocean); }
.btn-soleil:hover, .btn-orange:hover { box-shadow: 0 12px 28px -10px rgba(253, 216, 53, .7); }
.btn-cacao { background: var(--rouge); color: #fff; }
.btn-cacao:hover { background: var(--rougeD); box-shadow: 0 12px 28px -10px rgba(227, 27, 35, .6); }
.btn-vert { background: var(--vert); color: #fff; }
.btn-vert:hover { background: var(--vertD); box-shadow: 0 12px 28px -10px rgba(0, 133, 63, .55); }
.btn-ink { background: var(--ocean); color: #fff; }
.btn-ink:hover { background: var(--ocean2); box-shadow: 0 12px 28px -10px rgba(10, 31, 46, .5); }
.btn-ghost { border: 1.5px solid currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: rgba(10, 31, 46, .06); }
.btn-ghost-light { border: 1.5px solid rgba(255, 255, 255, .36); color: #fff; background: rgba(255, 255, 255, .05); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); border-color: var(--soleil); color: var(--soleil); }
.wa-ico { width: 19px; height: 19px; fill: currentColor; flex: none; }

/* ==========================================================================
   03. Header & Navigation
   ========================================================================== */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 31, 46, .95);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.hdr .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 16px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-family: var(--font-display);
  font-weight: 800; font-size: 19px; letter-spacing: -.015em; flex: none;
}
.logo:hover { text-decoration: none; }
.logo i {
  width: 36px; height: 36px; border-radius: 50% 50% 11px 11px;
  background: linear-gradient(90deg, var(--vert) 0 33.3%, var(--soleil) 0 66.6%, var(--rouge) 0);
  display: grid; place-items: center; font-style: normal; position: relative;
  overflow: hidden; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .2);
}
.logo i::before {
  content: "★"; position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--vert); font-size: 14px; line-height: 1;
}
.logo i span { display: none; }
.logo b { color: var(--soleil); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 20px; font-size: 14.5px; font-weight: 600; }
.nav a { color: #d0dde6; padding: 6px 2px; position: relative; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--soleil); text-decoration: none; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--soleil); border-radius: 2px;
}

.hdr-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06);
  color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; visibility: hidden;
  transition: visibility .25s ease;
}
.mobile-drawer.is-open { pointer-events: auto; visibility: visible; }
.drawer-backdrop {
  position: absolute; inset: 0; background: rgba(7, 22, 34, .72);
  opacity: 0; transition: opacity .25s ease;
}
.mobile-drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(330px, 88vw);
  background: var(--ocean); color: #d7e3ea; padding: 20px 22px 30px;
  display: flex; flex-direction: column; gap: 18px; overflow-y: auto;
  border-left: 1px solid rgba(255, 255, 255, .1);
  transform: translateX(100%); transition: transform .26s cubic-bezier(.2, .8, .2, 1);
}
.mobile-drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.drawer-close {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06); color: #fff; font-size: 22px; cursor: pointer;
  display: grid; place-items: center; line-height: 1;
}
.drawer-nav { display: flex; flex-direction: column; gap: 6px; }
.drawer-nav a {
  color: #e5eff5; font-weight: 600; font-size: 15.5px; padding: 11px 14px;
  border-radius: 12px; background: rgba(255, 255, 255, .03);
}
.drawer-nav a:hover { background: rgba(253, 216, 53, .12); color: var(--soleil); text-decoration: none; }
.drawer-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--vertL); margin-top: 8px; padding-left: 6px;
}

/* ==========================================================================
   04. Hero & Alternating Bands
   ========================================================================== */
section { position: relative; }
.sec { padding: 84px 0; }
.sec.alt { background: var(--sable); }
.sec.white { background: var(--blanc); }
.sec.night { background: var(--ocean); color: #c9d7e0; }
.sec.night h2, .sec.night h3, .sec.night h4 { color: #fff; }
.sec-tight { padding: 56px 0; }

.kick {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--vertD); margin-bottom: 14px;
}
.kick::before {
  content: ""; width: 32px; height: 7px; border-radius: 2px;
  background: linear-gradient(90deg, var(--vert) 0 33%, var(--soleil) 0 66%, var(--rouge) 0);
}
.night .kick, .dark-band .kick, .split-hero.is-dark .kick { color: var(--soleil); }

.sh { max-width: 820px; margin-bottom: 40px; }
.sh h2 { font-size: clamp(24px, 3.3vw, 38px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
.sh p { font-size: 17.5px; color: var(--ink2); margin-top: 12px; }
.night .sh p, .dark-band .sh p { color: #b5c6d1; }
.sh.c { margin-left: auto; margin-right: auto; text-align: center; }
.sh.c .kick { justify-content: center; }

/* Homepage Hero */
.hero {
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(29, 111, 165, .45), transparent 62%),
    radial-gradient(700px 420px at 0% 100%, rgba(0, 133, 63, .32), transparent 60%),
    linear-gradient(180deg, var(--ocean3), var(--ocean) 60%, #0d2a3d);
  color: #c9d7e0; padding: 66px 0 0; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1.4px);
  background-size: 120px 120px; opacity: .1; pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1fr 1.04fr; gap: 44px; align-items: center; position: relative; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chips span {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .05em;
  padding: 6px 12px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, .2); color: #e6eef3;
}
.chips .y { background: var(--soleil); color: var(--ocean); border-color: var(--soleil); }
.chips .g { border-color: var(--vertL); color: var(--vertL); }
.hero h1 { color: #fff; font-size: clamp(28px, 4.2vw, 52px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
.hero h1 .y { color: var(--soleil); }
.hero h1 .u { background: linear-gradient(transparent 70%, rgba(227, 27, 35, .75) 70%); padding: 0 4px; }
.hero h1 small {
  display: block; font-family: var(--font-body); font-weight: 500;
  font-size: clamp(16px, 1.55vw, 19.5px); letter-spacing: 0;
  color: #a8becb; margin-top: 14px; line-height: 1.5;
}
.hero .lead { color: #c8d8e2; font-size: 17.5px; margin-top: 18px; max-width: 630px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .btn-ghost { color: #fff; }
.trust {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px; margin-top: 26px; font-size: 14px; list-style: none; max-width: 560px;
}
.trust li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #dbe6ed; }
.trust b {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; background: rgba(253, 216, 53, .12);
  border: 1px solid rgba(253, 216, 53, .35);
}
.trust b svg { width: 18px; height: 18px; fill: none; stroke: var(--soleil); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Split Editorial Hero (Inner Landing Pages) */
.split-hero {
  padding: 54px 0 52px;
  background:
    radial-gradient(760px 360px at 96% -10%, rgba(0, 133, 63, .16), transparent 58%),
    radial-gradient(640px 300px at -5% 110%, rgba(253, 216, 53, .22), transparent 58%),
    linear-gradient(175deg, var(--blanc), var(--dune));
  border-bottom: 1px solid var(--line);
}
.split-hero.is-dark {
  background:
    radial-gradient(840px 440px at 88% 8%, rgba(29, 111, 165, .36), transparent 60%),
    radial-gradient(640px 360px at 0% 100%, rgba(0, 133, 63, .28), transparent 60%),
    linear-gradient(180deg, var(--ocean3), var(--ocean));
  color: #c9d7e0; border-bottom-color: rgba(255, 255, 255, .08);
}
.split-hero.is-dark h1 { color: #fff; }
.split-hero.is-dark .lead { color: #c3d3dd; }
.split-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
}
.split-hero h1 { font-size: clamp(27px, 3.8vw, 44px); font-weight: 800; line-height: 1.12; }
.hero-panel {
  background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-md);
}
.split-hero.is-dark .hero-panel {
  background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14);
  color: #dce6ed; box-shadow: var(--shadow-lg);
}
.hero-panel-kpis {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 14px;
}
.hero-kpi {
  background: var(--dune); border: 1px solid var(--line); border-radius: 12px; padding: 14px;
}
.split-hero.is-dark .hero-kpi {
  background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1);
}
.hero-kpi b { display: block; font-family: var(--font-display); font-size: 20px; color: var(--ocean); }
.split-hero.is-dark .hero-kpi b { color: var(--soleil); }
.hero-kpi span { display: block; font-size: 13px; color: var(--mut); margin-top: 2px; }
.split-hero.is-dark .hero-kpi span { color: #a7bcc9; }

/* Radar Card & Ticker */
.radar {
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px; padding: 22px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); position: relative;
}
.radar-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.radar-top small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--vertL); }
.radar-top strong { display: block; color: #fff; font-family: var(--font-display); font-size: 16.5px; font-weight: 600; margin-top: 4px; }
.clock { text-align: right; }
.clock b { display: block; font-family: var(--font-mono); font-size: 26px; color: var(--soleil); line-height: 1; }
.clock span { font-size: 12px; color: #8fa6b4; }
.radar svg { width: 100%; height: auto; display: block; }
.radar .land { fill: #163a2c; stroke: #2f6b50; stroke-width: 1.2; }
.radar .cable { fill: none; stroke-width: 2; stroke-dasharray: 6 7; animation: flow 2.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -26; } }
.radar .city { fill: var(--soleil); }
.radar .pulse { fill: none; stroke: var(--soleil); stroke-width: 1.5; animation: pulse 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
.radar text { font-family: var(--font-mono); font-size: 10px; fill: #c9d7e0; }
.radar text.big { font-size: 12px; fill: #fff; font-weight: 700; }
.pings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.pings div { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 10px 12px; }
.pings b { display: block; font-family: var(--font-mono); color: #fff; font-size: 17px; }
.pings span { font-size: 12px; color: #8fa6b4; }
.pings i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--vertL); margin-right: 6px; box-shadow: 0 0 0 3px rgba(63, 191, 122, .25); }

.ticker { background: var(--soleil); color: var(--ocean); overflow: hidden; border-top: 3px solid var(--ocean); border-bottom: 3px solid var(--ocean); margin-top: 52px; }
.ticker .track { display: flex; gap: 46px; white-space: nowrap; padding: 12px 0; animation: tick 48s linear infinite; width: max-content; font-weight: 700; font-size: 14.5px; }
.ticker .track span::before { content: "◆"; color: var(--rouge); margin-right: 14px; }
.ticker .track b { font-family: var(--font-mono); margin-right: 8px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Dark Highlight Band */
.dark-band {
  background: linear-gradient(145deg, var(--ocean3), var(--ocean) 55%, var(--ocean2));
  color: #d2dfe8; border-radius: var(--radius-lg); padding: 40px 36px;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.dark-band::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: repeating-linear-gradient(115deg, var(--vert) 0 22px, var(--soleil) 22px 30px, var(--rouge) 30px 52px, var(--blanc) 52px 57px, var(--bleu) 57px 79px);
}
.dark-band h2, .dark-band h3 { color: #fff; }
.dark-band > h2 { font-size: clamp(22px, 3vw, 32px); margin-bottom: 10px; }
.dark-band > p { max-width: 780px; color: #c7d6e0; }
.dark-band-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.dark-tile {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 20px;
}
.dark-tile h3 { font-size: 16px; color: var(--soleil); margin-bottom: 6px; }
.dark-tile p { font-size: 14.5px; color: #c7d6e0; }

/* Poster Carousel & Cinema Genres */
.poster-carousel {
  list-style: none; display: flex; gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding: 0 10px;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  margin: 26px 0 34px; padding: 14px 4px 24px;
  scrollbar-width: thin; scrollbar-color: var(--soleil) rgba(255, 255, 255, .08);
}
.poster-carousel:focus-visible { outline: 2px solid var(--soleil); outline-offset: 4px; border-radius: 12px; }
.poster-carousel::-webkit-scrollbar { height: 6px; }
.poster-carousel::-webkit-scrollbar-thumb { background: var(--soleil); border-radius: 6px; }
.poster-carousel li {
  flex: 0 0 clamp(200px, 26vw, 280px); scroll-snap-align: start;
  border-radius: var(--radius); overflow: hidden; background: #0b1c14;
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .32s ease, box-shadow .32s ease;
}
.poster-carousel img { width: 100%; height: auto; aspect-ratio: 2/3; object-fit: cover; transition: transform .38s ease; }
.poster-carousel li:hover, .poster-carousel li:focus-within {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 28px 50px -16px rgba(0, 0, 0, .92), 0 0 0 2px var(--soleil);
}
.poster-carousel li:hover img { transform: scale(1.05); }

.genres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.genre {
  position: relative; overflow: hidden; border-radius: var(--radius);
  padding: 22px 20px 18px; min-height: 260px; display: flex; flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(160deg, var(--g1), var(--g2));
  transition: transform .22s ease, box-shadow .22s ease;
}
.genre:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -28px rgba(0, 0, 0, .8); }
.genre::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 255, 255, .035) 22px 24px); pointer-events: none; }
.genre::after { content: ""; position: absolute; right: -50px; top: -50px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, var(--g3), transparent 70%); opacity: .55; pointer-events: none; }
.g-action { --g1: #5a1216; --g2: #0e2233; --g3: #e31b23; }
.g-thriller { --g1: #14202b; --g2: #071019; --g3: #1d6fa5; }
.g-scifi { --g1: #0f2c4a; --g2: #0a1626; --g3: #3fbf7a; }
.g-anim { --g1: #7a5a00; --g2: #1b2a1a; --g3: #fdd835; }
.g-doc { --g1: #0c4a2a; --g2: #0a1f2e; --g3: #3fbf7a; }
.g-drame { --g1: #6b3a12; --g2: #1a1410; --g3: #c8792e; }
.g-series { --g1: #1d3d5c; --g2: #0a1f2e; --g3: #fdd835; }
.g-comedie { --g1: #6e1f3a; --g2: #1a1626; --g3: #fdd835; }
.gbadge { position: relative; align-self: flex-start; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; background: var(--soleil); color: var(--ocean); padding: 4px 9px; border-radius: 6px; }
.gico { position: relative; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); margin: 18px 0 14px; }
.gico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.genre h3 { position: relative; font-size: 16.5px; margin-bottom: 8px; color: #fff; }
.genre p { position: relative; font-size: 14.5px; line-height: 1.55; color: #c3d3dd; }
.gmeta { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
.gmeta span { font-family: var(--font-mono); font-size: 11px; color: #e3edf2; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius-pill); padding: 3px 9px; }
.cine-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.cine-feats div { border-left: 3px solid var(--soleil); padding: 4px 0 4px 14px; }
.cine-feats b { display: block; color: #fff; font-size: 15px; }
.cine-feats span { font-size: 14px; color: #9fb6c4; }
.cine-cta { text-align: center; margin-top: 32px; }

/* Metrics & Pillars */
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 26px; box-shadow: var(--shadow-sm);
}
.metrics div { padding: 24px 22px; border-right: 1px solid var(--line); position: relative; }
.metrics div:last-child { border-right: 0; }
.metrics div::before { content: ""; position: absolute; left: 22px; top: 0; width: 38px; height: 5px; border-radius: 0 0 4px 4px; background: var(--vert); }
.metrics div:nth-child(2)::before { background: var(--soleil); }
.metrics div:nth-child(3)::before { background: var(--rouge); }
.metrics div:nth-child(4)::before { background: var(--bleu); }
.metrics b { display: block; font-family: var(--font-display); font-size: clamp(22px, 2.5vw, 32px); font-weight: 700; color: var(--ocean); letter-spacing: -.03em; }
.metrics span { font-size: 14px; color: var(--mut); }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pillar {
  background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; position: relative; overflow: hidden; box-shadow: var(--shadow-sm);
}
.pillar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: repeating-linear-gradient(115deg, var(--vert) 0 22px, var(--soleil) 22px 30px, var(--rouge) 30px 52px, var(--blanc) 52px 57px, var(--bleu) 57px 79px);
}
.pico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ocean); margin-bottom: 16px; }
.pico svg { width: 26px; height: 26px; fill: none; stroke: var(--soleil); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pillar .n { display: block; font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--vertD); }
.pillar .big { display: block; font-family: var(--font-display); font-size: 22px; color: var(--rouge); margin: 4px 0 6px; }
.pillar h3 { font-size: 18px; margin-bottom: 8px; }
.pillar p { font-size: 15px; color: var(--ink2); }
.pillar ul { list-style: none; margin-top: 14px; padding-bottom: 6px; }
.pillar li { font-size: 14px; padding: 6px 0 6px 24px; position: relative; border-top: 1px dashed var(--line); }
.pillar li::before { content: "✓"; position: absolute; left: 2px; color: var(--vert); font-weight: 800; }

.strip { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-top: 22px; }
.strip > div { border-radius: var(--radius); padding: 26px; }
.strip .a { background: var(--sable); border: 1px solid var(--line); }
.strip .b { background: var(--ocean); color: #c9d7e0; }
.strip .b h3 { color: #fff; }
.strip h3 { font-size: 17.5px; margin-bottom: 8px; }
.strip p { font-size: 15px; }
.strip .a a { font-weight: 700; color: var(--vertD); }
.perf-cta { margin-top: 16px; }

/* ==========================================================================
   05. Pricing Plans & Cards
   ========================================================================== */
.view-wrap { text-align: center; margin-bottom: 26px; }
.view {
  display: inline-flex; background: var(--blanc); border: 1px solid var(--line);
  border-radius: var(--radius-pill); padding: 4px; box-shadow: var(--shadow-sm);
}
.view button, .seg button {
  font: inherit; font-weight: 700; font-size: 13.5px; border: 0;
  background: transparent; color: var(--ink2); border-radius: var(--radius-pill);
  padding: 8px 16px; cursor: pointer; transition: background .18s, color .18s;
}
.view button[aria-pressed="true"] { background: var(--ocean); color: #fff; }

.plans4, .plans-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tk, .plan-card {
  background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius);
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease;
}
.tk:hover, .plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tk .hd, .plan-card .hd { padding: 20px 20px 16px; border-bottom: 2px dashed var(--line); position: relative; }
.tk .hd::before, .tk .hd::after {
  content: ""; position: absolute; bottom: -10px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--sable); border: 1px solid var(--line);
}
.sec:not(.alt) .tk .hd::before, .sec:not(.alt) .tk .hd::after { background: var(--dune); }
.tk .hd::before { left: -10px; }
.tk .hd::after { right: -10px; }
.tk h3, .plan-card h3 { font-size: 14.5px; font-weight: 600; letter-spacing: .02em; color: var(--mut); }
.tk .pr, .plan-card .pr {
  font-family: var(--font-display); font-size: 34px; font-weight: 700;
  color: var(--ocean); letter-spacing: -.04em; margin-top: 6px;
}
.tk .pr small, .plan-card .pr small {
  display: inline-block; margin-left: 4px; font-family: var(--font-body);
  font-size: 14px; font-weight: 600; color: var(--mut); letter-spacing: 0;
}
.tk .sub, .plan-card .sub { font-size: 13px; color: var(--vertD); font-weight: 700; margin-top: 4px; }
.tk ul, .plan-card ul { list-style: none; padding: 18px 20px 8px; font-size: 14.5px; flex: 1; }
.tk li, .plan-card li { padding: 6px 0 6px 24px; position: relative; }
.tk li::before, .plan-card li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 13px; height: 7px;
  border-left: 2.5px solid var(--vert); border-bottom: 2.5px solid var(--vert);
  transform: rotate(-45deg);
}
.tk .ft, .plan-card .ft { padding: 8px 20px 20px; }
.tk .ft .btn, .plan-card .ft .btn { width: 100%; }

.tk.hot, .plan--featured {
  border: 2px solid var(--ocean); transform: translateY(-6px); box-shadow: var(--shadow-lg);
}
.tk.hot:hover, .plan--featured:hover { transform: translateY(-10px); }
.tk.hot .hd, .plan--featured .hd { background: var(--ocean); border-bottom-color: rgba(255, 255, 255, .15); }
.tk.hot .hd h3, .tk.hot .hd .pr small, .plan--featured .hd h3, .plan--featured .hd .pr small { color: #a7becb; }
.tk.hot .pr, .plan--featured .pr { color: var(--soleil); }
.tk.hot .sub, .plan--featured .sub { color: var(--vertL); }
.tk .flag, .plan-card .flag {
  position: absolute; top: 14px; right: -34px; transform: rotate(38deg);
  background: var(--rouge); color: #fff; font-size: 10.5px; font-weight: 800;
  letter-spacing: .08em; padding: 4px 40px; text-transform: uppercase;
}

.paynote {
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: center;
  margin-top: 28px; font-size: 14px; color: var(--ink2);
}
.paynote span { display: inline-flex; align-items: center; gap: 7px; }
.paynote i { font-style: normal; font-weight: 800; border: 1.5px solid var(--ink); border-radius: 6px; padding: 1px 8px; font-size: 12px; }

.pay-strip {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px;
}
.pay-strip-card {
  background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; gap: 14px; align-items: flex-start; box-shadow: var(--shadow-sm);
}
.pay-strip-ico {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: rgba(0, 133, 63, .1); color: var(--vertD);
  display: grid; place-items: center;
}
.pay-strip-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pay-strip-card h3 { font-size: 15px; margin-bottom: 4px; }
.pay-strip-card p { font-size: 14px; color: var(--ink2); }

.guarantee-box {
  margin-top: 28px; background: var(--ocean); color: #d5e2ea; border-radius: var(--radius);
  padding: 28px 30px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  border-left: 6px solid var(--soleil); box-shadow: var(--shadow-md);
}
.guarantee-box h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.guarantee-box p { font-size: 15px; color: #c4d5df; }

/* Compact 4-plan strip (Articles & Local City Pages) */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 12px 0 26px; }
.plan {
  background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 16px; text-align: center; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.plan.hot, .plan.plan--featured { border: 2px solid var(--vert); box-shadow: 0 18px 40px -24px rgba(0, 133, 63, .55); }
.plan h3, .plan h4 { font-size: 12.5px; color: var(--mut); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.plan .p { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--ocean); margin: 8px 0 4px; }
.plan .p small { display: block; font-family: var(--font-body); font-size: 12.5px; color: var(--mut); font-weight: 600; margin-top: 2px; }
.plan .btn { width: 100%; margin-top: auto; padding: 10px 14px; font-size: 14px; }

/* ==========================================================================
   06. Bento / Device / App / Glossary / Local Grids
   ========================================================================== */
/* Asymmetric Bento Grid */
.bento {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px;
}
.bento-card {
  grid-column: span 4; background: var(--blanc); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  color: var(--ink);
}
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--vert); text-decoration: none; }
.bento-wide { grid-column: span 6; }
.bento-span-8 { grid-column: span 8; }
.bento-span-3 { grid-column: span 3; }
.bento-card.is-accent { background: var(--ocean); color: #dce6ed; border-color: rgba(255, 255, 255, .12); }
.bento-card.is-accent h3 { color: #fff; }
.bento-card.is-accent p { color: #bfd0db; }
.bento-card.is-accent .bento-link { color: var(--soleil); }
.bento-ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(0, 133, 63, .1); color: var(--vertD); border: 1px solid rgba(0, 133, 63, .22);
}
.bento-card.is-accent .bento-ico { background: rgba(253, 216, 53, .14); color: var(--soleil); border-color: rgba(253, 216, 53, .3); }
.bento-ico svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bento-card h3 { font-size: 16.5px; line-height: 1.3; }
.bento-card p { font-size: 14.5px; color: var(--ink2); line-height: 1.55; }
.bento-link { margin-top: auto; padding-top: 6px; font-weight: 800; font-size: 14px; color: var(--vertD); display: inline-flex; align-items: center; gap: 6px; }

/* Filter & Jump Pills */
.filter-pills, .jump-pills {
  display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px;
}
.filter-pills button, .jump-pills a {
  font: inherit; font-weight: 700; font-size: 13.5px;
  border: 1.5px solid var(--line); background: var(--blanc); color: var(--ink2);
  border-radius: var(--radius-pill); padding: 8px 16px; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.filter-pills button:hover, .jump-pills a:hover { border-color: var(--vert); color: var(--vertD); text-decoration: none; }
.filter-pills button[aria-pressed="true"] { background: var(--ocean); color: var(--soleil); border-color: var(--ocean); }
.filter-status { font-family: var(--font-mono); font-size: 12.5px; color: var(--mut); margin: -14px 0 20px; }

/* Device Cards */
.device-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.device-card {
  background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.device-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--vert); }
.device-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ocean); color: var(--soleil);
}
.device-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.device-card h3 { font-size: 16px; }
.device-card p { font-size: 14px; color: var(--ink2); line-height: 1.55; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.spec-chips span {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: var(--radius-pill);
  background: rgba(10, 31, 46, .06); color: var(--ocean); border: 1px solid var(--line);
}
.spec-chips .chip-ok { background: rgba(0, 133, 63, .1); color: var(--vertD); border-color: rgba(0, 133, 63, .26); }

/* App Cards */
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.app-card {
  background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.app-head { display: flex; align-items: center; gap: 14px; }
.app-tile { width: 56px; height: 56px; border-radius: 14px; flex: none; overflow: hidden; box-shadow: var(--shadow-sm); }
.app-tile svg { width: 100%; height: 100%; display: block; }
.app-card h3 { font-size: 17px; }
.app-sub { font-family: var(--font-mono); font-size: 11.5px; color: var(--vertD); font-weight: 700; }
.app-card p { font-size: 14.5px; color: var(--ink2); line-height: 1.58; }

/* Glossary Grid */
.glossary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.term-card {
  background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); scroll-margin-top: 90px;
  border-top: 4px solid var(--vert);
}
.term-card:nth-child(3n+2) { border-top-color: var(--soleil); }
.term-card:nth-child(3n) { border-top-color: var(--bleu); }
.term-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.term-card h2, .term-card h3 { font-size: 17.5px; }
.term-cat { font-family: var(--font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--vertD); background: rgba(0, 133, 63, .1); padding: 3px 9px; border-radius: 6px; }
.term-card p { font-size: 15px; color: var(--ink2); margin-bottom: 10px; }
.term-card p.term-tip, .term-tip { font-size: 13.5px; background: var(--dune); border-radius: 10px; padding: 10px 12px; color: var(--ink); border-left: 3px solid var(--ocean); margin-bottom: 0; }

/* Lab & Author Profile */
.lab-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lab-card {
  background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); display: flex; gap: 18px; align-items: flex-start;
}
.lab-ico {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  background: var(--ocean); color: var(--soleil); display: grid; place-items: center;
}
.lab-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.lab-card h3 { font-size: 17px; margin-bottom: 6px; }
.lab-card p { font-size: 14.5px; color: var(--ink2); }

.author-card-lg {
  background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  box-shadow: var(--shadow-md);
}
.author-avatar { width: 108px; height: 108px; border-radius: 24px; overflow: hidden; flex: none; box-shadow: var(--shadow-sm); }
.author-avatar svg { width: 100%; height: 100%; display: block; }
.author-creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.author-creds span {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  background: var(--dune); border: 1px solid var(--line); color: var(--ocean);
  padding: 5px 11px; border-radius: var(--radius-pill);
}

/* Local City Scorecard & Housing */
.isp-scorecard {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.isp-card {
  background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--vert);
}
.isp-card:nth-child(2) { border-top-color: var(--soleil); }
.isp-card:nth-child(3) { border-top-color: var(--rouge); }
.isp-card h3 { font-size: 16.5px; margin-bottom: 10px; }
.score-row { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.score-row:last-of-type { border-bottom: 0; }
.score-row b { font-family: var(--font-mono); color: var(--ocean); }
.isp-note { font-size: 13.5px; color: var(--ink2); margin-top: 10px; }

.housing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.housing-card {
  background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.housing-card h3 { font-size: 16px; margin-bottom: 8px; color: var(--ocean); }
.housing-card p { font-size: 14.5px; color: var(--ink2); }

.sibling-links {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px;
}
.sibling-links a {
  background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 9px 16px; font-size: 14px; font-weight: 700; color: var(--ocean);
  transition: border-color .18s, background .18s;
}
.sibling-links a:hover { border-color: var(--vert); background: rgba(0, 133, 63, .08); text-decoration: none; }

/* Comparison Tables & Regions */
.cmpw, .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.cmp {
  width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0;
  background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; font-size: 15px;
}
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp thead th { background: var(--ocean); color: #fff; font-weight: 700; font-size: 14px; }
.cmp thead th.us { background: var(--vert); }
.cmp td.us { background: rgba(0, 133, 63, .06); font-weight: 600; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp td:first-child { font-weight: 700; color: var(--ink); }

.regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.reg {
  background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; position: relative; overflow: hidden; box-shadow: var(--shadow-sm);
}
.reg::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: repeating-linear-gradient(115deg, var(--vert) 0 16px, var(--soleil) 16px 22px, var(--rouge) 22px 38px, var(--bleu) 38px 54px);
}
.reg h3 { font-size: 16.5px; margin: 6px 0 4px; }
.reg .tagx { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--vertD); letter-spacing: .06em; text-transform: uppercase; }
.reg p { font-size: 14.5px; color: var(--ink2); margin-top: 6px; }
.reg .lat { display: flex; gap: 14px; margin-top: 12px; font-size: 13px; color: var(--mut); }
.reg .lat b { font-family: var(--font-mono); color: var(--ocean); }

/* Guides Cards */
.gcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.gcard {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--blanc); border: 1px solid var(--line); border-top: 5px solid var(--vert);
  border-radius: var(--radius); padding: 22px 22px 20px; color: var(--ink);
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.gcard:nth-child(3n+2) { border-top-color: var(--soleil); }
.gcard:nth-child(3n) { border-top-color: var(--rouge); }
.gtop { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.gcat { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--vertD); background: rgba(0, 133, 63, .1); border: 1px solid rgba(0, 133, 63, .26); padding: 4px 10px; border-radius: 6px; }
.gmin { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--rouge); letter-spacing: .08em; }
.gmore { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--vertD); }
.gcard:hover .gmore { color: var(--rouge); }
.gcard:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--vert); }
.gcard h3 { font-size: 15.5px; line-height: 1.35; margin: 4px 0; }
.gcard p { font-size: 14px; color: var(--mut); line-height: 1.5; }
.allg { text-align: center; margin-top: 28px; }

/* ==========================================================================
   07. Interactive Calculator, Install Tabs & Topology
   ========================================================================== */
.tool {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 0;
  background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.tool .in { padding: 28px; }
.tool .out { padding: 28px; background: var(--ocean); color: #c9d7e0; position: relative; }
.tool .out::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7px;
  background: linear-gradient(180deg, var(--vert) 0 33%, var(--soleil) 0 66%, var(--rouge) 0);
}
.tool .out h3 { color: #fff; font-size: 17px; margin-bottom: 16px; }
.fld { margin-bottom: 18px; }
.fld > label, .fld > .lb { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; color: var(--ink); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button {
  border: 1.5px solid var(--line); background: var(--dune); border-radius: 12px;
  padding: 9px 13px; font-size: 13.5px; text-align: left; line-height: 1.25;
}
.seg button small { display: block; font-weight: 500; color: var(--mut); font-size: 11.5px; }
.seg button[aria-pressed="true"] { background: var(--ocean); border-color: var(--ocean); color: #fff; }
.seg button[aria-pressed="true"] small { color: #a9bfcc; }

.range { display: flex; align-items: center; gap: 14px; }
.range input { flex: 1; accent-color: var(--vert); }
.range output { font-family: var(--font-mono); font-weight: 700; font-size: 20px; min-width: 30px; text-align: center; }
.chk { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 14px; }
.chk label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.chk input { accent-color: var(--vert); width: 17px; height: 17px; }
.rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.rows div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 12px 14px; }
.rows span { display: block; font-size: 12px; color: #96adb9; }
.rows b { font-family: var(--font-mono); color: #fff; font-size: 17.5px; }
.meter-head { display: flex; justify-content: space-between; font-size: 13px; color: #b5c6d1; }
.meter-head b { color: #fff; }
.meter { height: 12px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .1); overflow: hidden; margin: 6px 0 16px; }
.meter i { display: block; height: 100%; border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--rouge), var(--soleil) 45%, var(--vertL)); transition: width .4s ease; }
.verdict { border-radius: 12px; padding: 12px 14px; font-weight: 700; font-size: 14.5px; margin-bottom: 14px; }
.verdict.ok { background: rgba(63, 191, 122, .16); color: #9ff0c4; }
.verdict.mid { background: rgba(253, 216, 53, .16); color: var(--soleilL); }
.verdict.ko { background: rgba(227, 27, 35, .2); color: #ffb3b6; }
.tips { margin-left: 18px; font-size: 14px; color: #c3d3dd; }
.tips li { margin: 6px 0; }
.calc-isp-rec {
  background: rgba(253, 216, 53, .1); border: 1px solid rgba(253, 216, 53, .3);
  border-radius: 12px; padding: 14px; margin-bottom: 14px;
}
.calc-isp-rec small { display: block; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--soleil); }
.calc-isp-rec strong { display: block; color: #fff; font-size: 15.5px; margin-top: 4px; }
.calc-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); }

/* Installation & Xtream Generator */
.inst { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tabs button {
  font: inherit; font-size: 13.5px; font-weight: 700;
  border: 1.5px solid var(--line); background: var(--blanc); border-radius: 12px;
  padding: 9px 14px; cursor: pointer; color: var(--ink2);
}
.tabs button[aria-selected="true"] { background: var(--rouge); border-color: var(--rouge); color: #fff; }
.panel { background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.panel ol { counter-reset: s; list-style: none; }
.panel li { counter-increment: s; position: relative; padding: 0 0 16px 48px; font-size: 15px; }
.panel li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px;
  border-radius: 10px; background: var(--ocean); color: var(--soleil);
  font-family: var(--font-mono); font-weight: 700; display: grid; place-items: center;
}
.panel li b { display: block; }
.panel .note { font-size: 13.5px; color: var(--mut); border-top: 1px dashed var(--line); padding-top: 12px; }

.xgen { background: var(--ocean); border-radius: var(--radius); padding: 24px; color: #c9d7e0; box-shadow: var(--shadow-md); }
.xgen h3 { color: #fff; font-size: 17px; margin-bottom: 6px; }
.xgen p { font-size: 14px; margin-bottom: 14px; }
.xgen label { display: block; font-size: 13px; font-weight: 700; color: #9fb6c4; margin: 10px 0 5px; }
.xgen input {
  width: 100%; font-family: var(--font-mono); font-size: 13.5px;
  padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18);
  background: #0e2a3c; color: #fff;
}
.xgen .seg { margin-top: 12px; }
.xgen .seg button { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .15); color: #dbe6ec; }
.xgen .seg button[aria-pressed="true"] { background: var(--soleil); border-color: var(--soleil); color: var(--ocean); }
.xo { margin-top: 14px; }
.xo div { display: flex; gap: 8px; align-items: stretch; margin-top: 8px; }
.xo span { display: block; font-size: 12px; color: #8fa6b4; margin-top: 10px; }
.xo code { flex: 1; font-family: var(--font-mono); font-size: 12px; background: #06131d; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; padding: 10px; color: var(--soleilL); word-break: break-all; }
.xo button { font: inherit; font-size: 12.5px; font-weight: 700; border: 0; border-radius: 10px; padding: 0 12px; background: var(--vert); color: #fff; cursor: pointer; }

/* Topology & UPS */
.topo { background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; overflow-x: auto; box-shadow: var(--shadow-sm); }
.topo svg { min-width: 860px; width: 100%; height: auto; display: block; }
.topo .node { cursor: pointer; }
.topo .node rect { fill: var(--dune); stroke: var(--line); stroke-width: 1.5; transition: fill .2s; }
.topo .node:hover rect, .topo .node.on rect, .topo .node:focus rect { fill: var(--soleilL); stroke: var(--ocean); }
.topo .node:focus { outline: none; }
.topo text { font-family: var(--font-body); font-size: 13px; fill: var(--ink); font-weight: 700; }
.topo text.s { font-family: var(--font-mono); font-size: 10.5px; fill: var(--mut); font-weight: 500; }
.topo text.tv-icon { font-size: 14px; }
.topo .ln { stroke: var(--ocean); stroke-width: 2; fill: none; }
.topo .ln.d { stroke-dasharray: 5 6; animation: flow 2s linear infinite; }
.topo .ms { font-family: var(--font-mono); font-size: 11px; fill: var(--vertD); font-weight: 700; }
.tdet { margin-top: 16px; background: var(--ocean); color: #dbe6ec; border-radius: 14px; padding: 16px 18px; font-size: 14.5px; min-height: 54px; }
.tdet b { color: var(--soleil); }
.cables { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-top: 20px; }
.cables div { background: var(--blanc); border: 1px solid var(--line); border-left: 5px solid var(--bleu); border-radius: 14px; padding: 14px 16px; font-size: 14px; }
.cables b { display: block; font-family: var(--font-display); font-size: 13.5px; font-weight: 600; }

.big { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--soleil); letter-spacing: -.03em; line-height: 1.1; }
.big small { font-family: var(--font-body); font-size: 15px; color: #9fb6c4; font-weight: 600; letter-spacing: 0; }
.unote { font-size: 14px; color: #c3d3dd; margin-top: 12px; }

/* FAQ Accordions & Final CTA */
.faqw { max-width: 900px; margin: 0 auto; }
.faqw details, .faq details {
  background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 10px; padding: 0 22px; box-shadow: 0 4px 14px -10px rgba(10, 31, 46, .16);
}
.faqw summary, .faq summary {
  cursor: pointer; list-style: none; font-weight: 700; font-size: 16px;
  padding: 17px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ink);
}
.faqw summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.faqw summary::after, .faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 22px; color: var(--rouge); line-height: 1; flex: none; }
.faqw details[open] summary::after, .faq details[open] summary::after { content: "−"; }
.faqw details p, .faq details p { padding: 0 0 17px; color: var(--ink2); font-size: 15.5px; }
.faq-cat-title { font-size: 21px; margin: 34px 0 14px; scroll-margin-top: 90px; color: var(--ocean); }

.seo-txt { max-width: 900px; columns: 2 360px; column-gap: 40px; }
.seo-txt p { margin-bottom: 16px; color: var(--ink2); break-inside: avoid; }

.final {
  background: var(--ocean); color: #c9d7e0; border-radius: var(--radius-lg);
  padding: 52px 36px; text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.final::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background: repeating-linear-gradient(115deg, var(--vert) 0 22px, var(--soleil) 22px 30px, var(--rouge) 30px 52px, var(--blanc) 52px 57px, var(--bleu) 57px 79px);
}
.final h2 { color: #fff; font-size: clamp(24px, 3.2vw, 38px); margin-bottom: 12px; }
.final p { max-width: 680px; margin: 0 auto 24px; font-size: 17px; }
.final .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.seal {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  border: 2px dashed var(--soleil); color: var(--soleil); border-radius: var(--radius-pill);
  padding: 6px 16px; font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}

/* ==========================================================================
   08. Editorial Articles, Article Hub & Legal Pages
   ========================================================================== */
.ahero, .hhero, .lhero {
  padding: 52px 0 38px;
  background:
    radial-gradient(760px 360px at 6% -20%, rgba(0, 133, 63, .16), transparent 60%),
    radial-gradient(600px 300px at 100% 0, rgba(253, 216, 53, .22), transparent 60%),
    linear-gradient(180deg, var(--blanc), var(--dune));
  border-bottom: 1px solid var(--line);
}
.ahero h1, .hhero h1, .lhero h1 { font-size: clamp(26px, 3.9vw, 44px); font-weight: 800; max-width: 960px; }
.hhero .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--rougeD); font-weight: 700; display: block; margin-bottom: 10px; }
.hhero p, .lhero p { font-size: 18px; color: var(--ink2); max-width: 820px; margin-top: 12px; }
.hstats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 24px; font-size: 14.5px; color: var(--mut); }
.hstats b { font-family: var(--font-display); font-size: 24px; color: var(--ink); display: block; }
.meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; font-size: 14px; color: var(--mut); }
.meta strong { color: var(--ink); font-weight: 700; }
.meta a { font-weight: 700; color: var(--vertD); }

/* Article Hub Grid */
.filters { display: flex; gap: 9px; flex-wrap: wrap; margin: 32px 0 22px; }
.filters button {
  font: inherit; font-weight: 700; font-size: 13.5px;
  border: 1.5px solid var(--line); background: var(--blanc); color: var(--ink2);
  border-radius: var(--radius-pill); padding: 8px 16px; cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--vert); color: #fff; border-color: var(--vert); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 20px; padding-bottom: 30px; }
.card {
  background: var(--blanc); border: 1px solid var(--line); border-top: 5px solid var(--vert);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:nth-child(3n+2) { border-top-color: var(--soleil); }
.card:nth-child(3n) { border-top-color: var(--rouge); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .in { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card .cat { background: rgba(0, 133, 63, .1); border: 1px solid rgba(0, 133, 63, .26); color: var(--vertD); font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
.card .min { font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; color: var(--rouge); }
.card h2 { font-size: 18px; line-height: 1.3; }
.card h2 a { color: var(--ink); }
.card p { font-size: 15px; color: var(--ink2); }
.card .m { margin-top: auto; display: flex; justify-content: space-between; font-size: 13.5px; color: var(--mut); font-weight: 600; padding-top: 10px; border-top: 1px dashed var(--line); }
.card .more { font-weight: 800; color: var(--vertD); font-size: 14.5px; }
.hub-cta {
  margin: 28px 0 70px; border-radius: var(--radius-lg); padding: 38px 30px;
  background: linear-gradient(135deg, var(--ocean), var(--ocean2) 55%, var(--vertD));
  color: #fff; text-align: center; border-top: 5px solid var(--soleil); box-shadow: var(--shadow-lg);
}
.hub-cta h2 { color: #fff; font-size: 26px; margin-bottom: 10px; }
.hub-cta p { color: #b5c6d1; max-width: 660px; margin: 0 auto 20px; }
.hub-cta .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Article Layout & Prose */
.agrid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 46px; padding: 36px 0 80px; }
.agrid > * { min-width: 0; }
.prose h2 { font-size: clamp(21px, 2.5vw, 28px); margin: 44px 0 14px; padding-top: 6px; scroll-margin-top: 90px; }
.prose h3 { font-size: 18.5px; margin: 28px 0 10px; color: var(--vertD); }
.prose p { margin: 0 0 17px; color: #22323f; }
.prose ul, .prose ol { margin: 0 0 18px 24px; color: #22323f; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose code { font-family: var(--font-mono); font-size: 13.5px; background: #e6f3ec; border: 1px solid rgba(0, 133, 63, .22); padding: 2px 7px; border-radius: 6px; color: var(--vertD); }
.prose pre { background: var(--ocean); border-radius: 14px; padding: 18px; overflow: auto; margin: 0 0 22px; font-size: 13.5px; line-height: 1.6; }
.prose pre code { background: none; border: 0; padding: 0; color: #ffe680; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; display: block; overflow-x: auto; background: var(--blanc); border: 1px solid var(--line); border-radius: 14px; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--ocean); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 14px; white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }
.prose tr:hover td { background: rgba(0, 133, 63, .05); }
.toc { background: var(--blanc); border: 1px solid var(--line); border-left: 6px solid var(--vert); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 28px; box-shadow: var(--shadow-sm); }
.toc strong { font-family: var(--font-display); display: block; margin-bottom: 10px; font-size: 15.5px; }
.toc ol { margin: 0 0 0 20px; }
.toc li { margin: 6px 0; font-size: 15.5px; }
.box { border-radius: var(--radius); padding: 18px 20px; margin: 0 0 22px; border: 1px solid var(--line); background: var(--blanc); }
.box.tip { border-left: 5px solid var(--vert); }
.box.warn { border-left: 5px solid var(--rouge); background: #fdeceb; }
.box.expert { border-left: 5px solid var(--soleil); background: #fffadf; }
.box p:last-child { margin: 0; }
.box-t { font-family: var(--font-display); font-weight: 700; color: var(--ink); margin-bottom: 6px; display: block; font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 0 0 24px; }
.stat { background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stat b { display: block; font-family: var(--font-mono); font-size: 22px; color: var(--rouge); }
.stat span { font-size: 13.5px; color: var(--mut); }
.cta { margin: 38px 0; border-radius: var(--radius-lg); padding: 32px 30px 42px; background: var(--ocean); color: #d4e0da; text-align: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: repeating-linear-gradient(115deg, var(--vert) 0 22px, var(--soleil) 22px 30px, var(--rouge) 30px 52px, var(--blanc) 52px 57px, var(--bleu) 57px 79px); }
.cta h2, .cta h3 { margin: 0 0 10px !important; color: #fff !important; }
.cta p { color: #d4e0da !important; margin: 0 auto 18px; max-width: 620px; }
.cta p a { color: var(--soleil); font-weight: 700; }
.cta .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.author { display: flex; gap: 16px; align-items: flex-start; background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-top: 40px; }
.author .av { width: 56px; height: 56px; border-radius: 50%; background: var(--ocean); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: var(--soleil); flex: none; border: 3px solid var(--vert); }
.author p { font-size: 14.5px; margin: 4px 0 0; color: var(--mut); }
.aside .stick { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 18px; }
.side { background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.side.offer { background: var(--ocean); color: #d4e0da; border: 0; position: relative; overflow: hidden; padding-top: 28px; }
.side.offer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px; background: repeating-linear-gradient(115deg, var(--vert) 0 22px, var(--soleil) 22px 30px, var(--rouge) 30px 52px, var(--blanc) 52px 57px, var(--bleu) 57px 79px); }
.side.offer h4, .side.offer .side-title { color: #fff; }
.side h4, .side .side-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; margin-bottom: 12px; color: var(--ink); }
.side ul { list-style: none; }
.side li { margin: 8px 0; font-size: 14px; line-height: 1.45; }
.side .price { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--soleil); }
.side .price small { font-size: 13px; color: #a5b5ad; font-weight: 600; }
.side .btn { width: 100%; margin-top: 12px; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 16px; }
.related a { display: block; background: var(--blanc); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; color: var(--ink); font-weight: 700; font-size: 15.5px; line-height: 1.35; box-shadow: var(--shadow-sm); }
.related a:hover { border-color: var(--vert); text-decoration: none; }
.related a small { display: block; font-family: var(--font-mono); color: var(--rouge); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }

/* Legal Pages */
.legal { max-width: 860px; padding: 38px 22px 80px; }
.legal h2 { font-size: 23px; margin: 34px 0 12px; }
.legal p, .legal li { color: var(--ink2); margin-bottom: 12px; }
.legal ul, .legal ol { margin: 0 0 16px 22px; }
.legal .box { border-left: 6px solid var(--vert); margin: 20px 0; }
.legal nav.lnk { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 38px; }
.legal nav.lnk a { border: 1.5px solid var(--line); border-radius: var(--radius-pill); padding: 7px 14px; font-size: 14px; background: var(--blanc); font-weight: 600; }
.legal nav.lnk a:hover { border-color: var(--vert); text-decoration: none; }

/* ==========================================================================
   09. Footer, Sticky CTA & WhatsApp Float
   ========================================================================== */
.ftr { background: var(--ocean); color: #a9bab2; padding: 0 0 120px; font-size: 14.5px; position: relative; }
.ftr .bande { margin-bottom: 50px; }
.fgrid { display: grid; grid-template-columns: 1.8fr 1fr 1.15fr 1fr 1fr; gap: 28px; }
.ftr-desc { margin-top: 14px; max-width: 340px; line-height: 1.6; color: #b5c6d1; }
.ftr h5, .ftr .ftr-title { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 13px; margin-bottom: 12px; letter-spacing: .02em; }
.ftr ul { list-style: none; }
.ftr li { margin: 7px 0; }
.ftr a { color: #b4c5ce; }
.ftr a:hover { color: var(--soleil); }
.fbot { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.paycards { display: flex; gap: 8px; align-items: center; margin-top: 16px; font-size: 13px; }
.paycards span { border: 1px solid rgba(255, 255, 255, .28); border-radius: 7px; padding: 3px 9px; font-weight: 800; color: #fff; letter-spacing: .03em; }

/* Sticky Scroll-Reveal CTA (Non-Homepage Pages) */
.cta-sticky {
  position: fixed; left: 18px; bottom: 18px; z-index: 55;
  background: rgba(10, 31, 46, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(253, 216, 53, .36); border-radius: var(--radius-pill);
  padding: 8px 10px 8px 18px; display: flex; align-items: center; gap: 14px;
  color: #fff; box-shadow: 0 18px 40px -12px rgba(7, 22, 34, .65);
  transform: translateY(130%); opacity: 0; pointer-events: none;
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), opacity .28s ease;
}
.cta-sticky.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cta-sticky-txt { font-size: 13.5px; font-weight: 600; color: #dbe6ed; line-height: 1.25; }
.cta-sticky-txt strong { color: var(--soleil); display: block; font-family: var(--font-display); font-size: 13px; }

/* WhatsApp Floating Button */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  filter: drop-shadow(0 14px 26px rgba(10, 31, 46, .42)); transition: transform .25s;
}
.wa-float:hover { transform: translateY(-3px); text-decoration: none; }
.wa-float .wa-pill {
  position: relative; display: block; background: var(--wa); color: #03230f;
  font-family: var(--font-body); font-weight: 800; font-size: 14.5px; line-height: 1.35;
  padding: 11px 20px; border-radius: var(--radius-pill); white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}
.wa-float .wa-pill::after {
  content: ""; position: absolute; right: -6px; top: 50%; width: 14px; height: 14px;
  background: var(--wa); border-radius: 2px; transform: translateY(-50%) rotate(45deg);
}
.wa-float .wa-circ {
  position: relative; flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #4ee38a, #25d366 55%, #16a34a);
  display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(37, 211, 102, .2);
}
.wa-float .wa-circ::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: ping 2.2s infinite; pointer-events: none;
}
.wa-float .wa-circ svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover .wa-pill, .wa-float:hover .wa-pill::after { background: #2ee072; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.45); opacity: 0; } }

/* ==========================================================================
   10. Responsive Breakpoints (<=1024px, <=760px, <=600px)
   ========================================================================== */
@media (max-width: 1024px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero .wrap, .split-grid, .tool, .inst, .strip { grid-template-columns: 1fr; }
  .plans4, .plans-grid, .genres, .device-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-grid, .pillars, .dark-band-grid, .isp-scorecard, .housing-grid, .pay-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card, .bento-wide, .bento-span-8, .bento-span-3 { grid-column: span 6; }
  .agrid { grid-template-columns: 1fr; }
  .aside { display: none; }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cine-feats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .sec { padding: 64px 0; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics div:nth-child(2) { border-right: 0; }
  .metrics div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .plans, .glossary-grid, .lab-grid, .app-grid, .pillars, .dark-band-grid, .isp-scorecard, .housing-grid, .pay-strip { grid-template-columns: 1fr; }
  .bento-card, .bento-wide, .bento-span-8, .bento-span-3 { grid-column: span 12; }
  .guarantee-box, .author-card-lg { grid-template-columns: 1fr; }
  .dark-band { padding: 28px 22px; }
  .cta-sticky {
    left: 12px; right: 12px; bottom: 92px; justify-content: space-between;
    border-radius: 16px; padding: 10px 14px;
  }
  .ftr { padding-bottom: 168px; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hdr .wrap { gap: 8px; }
  .logo { font-size: 16px; gap: 8px; }
  .logo i { width: 32px; height: 32px; }
  .hdr-actions .btn { padding: 9px 13px; font-size: 13px; }
  .hdr-actions .btn svg { display: none; }
  .plans4, .plans-grid, .genres, .device-grid, .cine-feats, .fgrid { grid-template-columns: 1fr; }
  .tk.hot, .plan--featured { transform: none; }
  .tk.hot:hover, .plan--featured:hover { transform: translateY(-4px); }
  .trust, .hero-panel-kpis, .rows { grid-template-columns: 1fr; }
  .tool .in, .tool .out { padding: 20px; }
  .final { padding: 38px 20px; }
  .wa-float { right: 12px; bottom: 12px; gap: 10px; }
  .wa-float .wa-pill { font-size: 13px; padding: 10px 15px; }
  .wa-float .wa-circ { width: 50px; height: 50px; }
  .wa-float .wa-circ svg { width: 26px; height: 26px; }
  .cta-sticky { bottom: 76px; }
}

@media (max-width: 340px) {
  .wa-float .wa-pill { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   11. Stage 2 PlayerUI Showcase (Hero Multi-Screen Trio + Bento Packs)
   ========================================================================== */
.playerui-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.playerui-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.playerui-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--vertL);
}
.playerui-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vertL);
  box-shadow: 0 0 0 4px rgba(63, 191, 122, .22);
  flex: none;
}
.playerui-dot--live {
  background: var(--rouge);
  box-shadow: 0 0 0 4px rgba(227, 27, 35, .28);
}
.playerui-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: rgba(7, 22, 34, .78);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .7);
}
.playerui-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: #cfe0ea;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .18s ease;
}
.playerui-tab svg {
  width: 16px;
  height: 16px;
  flex: none;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.playerui-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}
.playerui-tab.is-active,
.playerui-tab[aria-selected="true"] {
  background: var(--soleil);
  color: var(--ocean);
}

/* Layered Multi-Screen Living Room Trio */
.playerui-trio {
  position: relative;
  padding: 0 6px 86px;
}
.playerui-tv {
  position: relative;
  background: linear-gradient(160deg, #1b3b50, #071622 65%, #040d15);
  border: 1.5px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  padding: 9px 9px 15px;
  box-shadow: 0 34px 70px -24px rgba(0, 0, 0, .82);
}
.playerui-tv-chin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.playerui-tv-chin::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .26);
}
.playerui-tv-chin::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vertL);
  box-shadow: 0 0 8px rgba(63, 191, 122, .75);
}
.playerui-screen {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  background: #06131d;
  min-height: 298px;
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-direction: column;
}
.playerui-osd {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(5, 16, 26, .92), rgba(5, 16, 26, 0));
  font-family: var(--font-mono);
  font-size: 11px;
  color: #dbe8f0;
}
.playerui-osd-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.playerui-osd-pill {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(10, 31, 46, .78);
  border: 1px solid rgba(255, 255, 255, .18);
  font-weight: 700;
  color: #fff;
}
.playerui-osd-pill--gold {
  background: var(--soleil);
  border-color: var(--soleil);
  color: var(--ocean);
}
.playerui-osd-clock {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: var(--soleil);
}
.playerui-osd-clock b {
  font-weight: 700;
  color: #fff;
}

.playerui-panel {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 256px;
}
.playerui-panel[hidden] {
  display: none !important;
}

/* Cinema 4K Panel */
.playerui-backdrop {
  position: absolute;
  inset: -44px 0 0 0;
  z-index: 1;
}
.playerui-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.playerui-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 16, 26, .94) 0%, rgba(5, 16, 26, .74) 48%, rgba(5, 16, 26, .32) 100%),
    linear-gradient(180deg, rgba(5, 16, 26, .45) 0%, rgba(5, 16, 26, .2) 38%, rgba(5, 16, 26, .95) 100%);
}
.playerui-cinema-body {
  position: relative;
  z-index: 2;
  padding: 18px 16px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}
.playerui-cinema-meta {
  min-width: 0;
}
.playerui-badge-uhd {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 133, 63, .92);
  color: #fff;
  margin-bottom: 8px;
}
.playerui-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 6px;
}
.playerui-sub {
  font-size: 12.5px;
  color: #c5d7e3;
  line-height: 1.4;
}
.playerui-playbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  max-width: 240px;
}
.playerui-playbar-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--soleil);
  color: var(--ocean);
  display: grid;
  place-items: center;
  flex: none;
}
.playerui-playbar-btn svg {
  width: 14px;
  height: 14px;
  display: block;
  fill: currentColor;
}
.playerui-scrubber {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  overflow: hidden;
}
.playerui-scrubber span {
  display: block;
  width: 64%;
  height: 100%;
  background: var(--soleil);
  border-radius: 999px;
}
.playerui-time {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #c9d9e4;
}

.playerui-thumbs {
  display: flex;
  align-items: flex-end;
  gap: 7px;
}
.playerui-thumb {
  position: relative;
  width: 56px;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, .26);
  border-radius: 8px;
  overflow: hidden;
  background: #081824;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.playerui-thumb img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}
.playerui-thumb:hover,
.playerui-thumb.is-selected {
  transform: translateY(-4px);
  border-color: var(--soleil);
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .85);
}

/* Live Sports & TV Panel */
.playerui-live-bg {
  position: absolute;
  inset: -44px 0 0 0;
  z-index: 1;
  background:
    radial-gradient(360px 220px at 78% 22%, rgba(0, 133, 63, .45), transparent 68%),
    radial-gradient(300px 200px at 14% 84%, rgba(29, 111, 165, .42), transparent 70%),
    linear-gradient(160deg, #071825, #0a2538 52%, #071b24);
}
.playerui-live-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.playerui-live-body {
  position: relative;
  z-index: 2;
  padding: 12px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.playerui-scoreboard {
  background: rgba(7, 22, 34, .82);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 13px;
  padding: 12px 14px;
}
.playerui-match-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #cfe0ea;
  margin-bottom: 8px;
}
.playerui-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ff9fa3;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.playerui-match-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}
.playerui-team {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.playerui-team--away {
  text-align: right;
}
.playerui-score {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--soleil);
  background: rgba(253, 216, 53, .12);
  border: 1px solid rgba(253, 216, 53, .32);
  border-radius: 9px;
  padding: 3px 12px;
  letter-spacing: .04em;
}
.playerui-live-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.playerui-live-item {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  padding: 8px 10px;
}
.playerui-live-item b {
  display: block;
  font-size: 11.5px;
  color: #fff;
  margin-bottom: 2px;
}
.playerui-live-item span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--vertL);
}

/* Overlapping Tablet EPG Card (Lower Left) */
.playerui-tablet {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56%;
  z-index: 4;
  background: rgba(10, 31, 46, .95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, .2);
  border-radius: 16px;
  padding: 11px 13px;
  box-shadow: 0 24px 48px -14px rgba(0, 0, 0, .78);
}
.playerui-card-mini-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--soleil);
}
.playerui-card-mini-hd span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.playerui-card-mini-hd svg {
  width: 16px;
  height: 16px;
  flex: none;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.playerui-epg-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.playerui-epg-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.playerui-epg-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11.5px;
  color: #e4eef5;
}
.playerui-epg-meta strong {
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.playerui-epg-meta em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #9fb8c7;
  flex: none;
}
.playerui-prog {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
}
.playerui-prog i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--vertL), var(--soleil));
}
.playerui-prog--w78 i { width: 78%; }
.playerui-prog--w52 i { width: 52%; }
.playerui-prog--w64 i { width: 64%; }

/* Overlapping Mobile Sports 60fps Pill Badge (Lower Right) */
.playerui-mobile {
  position: absolute;
  right: 0;
  bottom: 12px;
  width: 41%;
  z-index: 5;
  background: linear-gradient(150deg, rgba(18, 50, 71, .97), rgba(7, 22, 34, .98));
  border: 1.5px solid rgba(253, 216, 53, .46);
  border-radius: 16px;
  padding: 11px 13px;
  box-shadow: 0 24px 48px -14px rgba(0, 0, 0, .82);
}
.playerui-mobile-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 7px;
}
.playerui-mobile-score b {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--soleil);
  background: rgba(253, 216, 53, .14);
  padding: 2px 7px;
  border-radius: 6px;
}
.playerui-mobile-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #b8ccd8;
}
.playerui-buf-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--vertL);
  font-weight: 700;
}

/* Compact 3-Metric Bar Underneath Hero Showcase */
.playerui-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.playerui-metric {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 13px;
  padding: 11px 12px;
}
.playerui-metric b {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--soleil);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.playerui-metric span {
  display: block;
  font-size: 12px;
  color: #b7cbd7;
  margin-top: 2px;
}

/* Post-Poster Asymmetric Bento Subscription Grid */
.playerui-packs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}
.playerui-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 22px 46px -26px rgba(0, 0, 0, .75);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.playerui-card:hover {
  transform: translateY(-4px);
  border-color: rgba(253, 216, 53, .42);
  box-shadow: 0 28px 56px -24px rgba(0, 0, 0, .88);
}
.playerui-card--featured {
  grid-column: span 4;
  background:
    radial-gradient(420px 220px at 95% 0%, rgba(253, 216, 53, .16), transparent 65%),
    linear-gradient(135deg, rgba(0, 133, 63, .3), rgba(18, 50, 71, .9) 55%, rgba(7, 22, 34, .96));
  border-color: rgba(253, 216, 53, .38);
}
.playerui-card--vod { grid-column: span 2; }
.playerui-card--epg { grid-column: span 3; }
.playerui-card--family { grid-column: span 3; }

.playerui-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.playerui-card-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(253, 216, 53, .12);
  border: 1px solid rgba(253, 216, 53, .32);
  color: var(--soleil);
  flex: none;
}
.playerui-card-ico svg {
  width: 22px;
  height: 22px;
  display: block;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.playerui-card-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #e6f0f6;
}
.playerui-card--featured .playerui-card-badge {
  background: var(--soleil);
  border-color: var(--soleil);
  color: var(--ocean);
}
.playerui-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #fff;
}
.playerui-card p {
  font-size: 14.5px;
  line-height: 1.58;
  color: #c5d6e1;
}
.playerui-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 6px;
}
.playerui-card-tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #dfebf2;
  background: rgba(7, 22, 34, .58);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
}

/* Inline Screen Compatibility Strip */
.playerui-devices {
  margin-top: 20px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
}
.playerui-devices-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 560px;
}
.playerui-devices-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--soleil);
}
.playerui-device-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.playerui-device-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: #e6f0f6;
  background: rgba(7, 22, 34, .68);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-pill);
  padding: 7px 13px;
}
.playerui-device-pill svg {
  width: 16px;
  height: 16px;
  display: block;
  flex: none;
  fill: none;
  stroke: var(--soleil);
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.playerui-devices-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex: none;
}
.playerui-devices-cta small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #a9c1cf;
}

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .playerui-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .playerui-card--featured,
  .playerui-card--vod,
  .playerui-card--epg,
  .playerui-card--family { grid-column: span 1; }
  .playerui-devices-cta { align-items: flex-start; }
}

@media (max-width: 640px) {
  .playerui-trio {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .playerui-tablet,
  .playerui-mobile {
    position: static;
    width: 100%;
  }
  .playerui-cinema-body {
    grid-template-columns: 1fr;
    padding: 16px 14px 16px;
  }
  .playerui-thumbs {
    justify-content: flex-start;
  }
  .playerui-live-list {
    grid-template-columns: 1fr;
  }
  .playerui-metrics {
    grid-template-columns: 1fr;
  }
  .playerui-packs {
    grid-template-columns: 1fr;
  }
  .playerui-devices {
    padding: 16px;
  }
  .playerui-devices-cta,
  .playerui-devices-cta .btn {
    width: 100%;
  }
}
