/* ==========================================================================
   IPTV RDC — Pro Theme Stylesheet (iptvrdc.online)
   Layout Archetype : Split Editorial Hero + Asymmetric Bento Grid
                      + Dark Highlight Band + Compact Accordion FAQ
   Personality      : Modern SaaS Studio (16px cards, diffused shadows, pills)
   ========================================================================== */

/* 01. Tokens & Reset
   ========================================================================== */
:root {
  --abysse: #0a1d3b;
  --nuit: #06132a;
  --ink: #13233c;
  --lagon: #0b85d8;
  --lagon-d: #0866ad;
  --lagon-l: #e1f0fc;
  --flam: #ce1021;
  --flam-d: #a20c19;
  --flam-l: #fde2e4;
  --saline: #e8a33d;
  --soleil: #f7d618;
  --sable: #f6f8fb;
  --sable2: #e8eef6;
  --surface: #ffffff;
  --muted: #56657a;
  --line: #d6dfeb;
  --wa: #25d366;
  --wa-d: #17a34a;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 14px -4px rgba(10, 29, 59, 0.08);
  --shadow: 0 22px 46px -22px rgba(6, 19, 42, 0.24);
  --shadow-lg: 0 32px 68px -28px rgba(6, 19, 42, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::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: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--sable);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--lagon-d);
  text-underline-offset: 3px;
  transition: color 0.18s var(--ease);
}

a:hover {
  color: var(--flam-d);
}

code,
kbd {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.86em;
  background: var(--sable2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  color: var(--abysse);
}

button,
input,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--lagon);
  outline-offset: 2px;
}

/* 02. Typography, Containers & Shared Primitives
   ========================================================================== */
h1,
h2,
h3,
h4 {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--abysse);
}

.wrap {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 14px;
  top: 14px;
  z-index: 120;
  background: var(--surface);
  color: var(--abysse);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-weight: 700;
  text-decoration: none;
}

.mono {
  font-family: "DM Mono", ui-monospace, monospace;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 15.5px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

.btn-flam {
  background: var(--flam);
  color: #ffffff;
  box-shadow: 0 14px 28px -12px rgba(206, 16, 33, 0.58);
}

.btn-flam:hover {
  background: var(--flam-d);
  color: #ffffff;
}

.btn-lagon {
  background: var(--lagon);
  color: #ffffff;
  box-shadow: 0 14px 28px -12px rgba(11, 133, 216, 0.55);
}

.btn-lagon:hover {
  background: var(--lagon-d);
  color: #ffffff;
}

.btn-wa,
a.btn-wa {
  background: var(--wa);
  color: #042110;
  box-shadow: 0 14px 28px -12px rgba(37, 211, 102, 0.55);
}

.btn-wa:hover,
a.btn-wa:hover {
  background: #2ee072;
  color: #042110;
}

.btn-wa svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: none;
}

.btn-dark {
  background: var(--abysse);
  color: #ffffff;
}

.btn-dark:hover {
  background: #133262;
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--abysse);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--lagon);
  background: var(--lagon-l);
  color: var(--lagon-d);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--soleil);
  color: #ffffff;
}

/* Badges & Kickers */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "DM Mono", monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--lagon-d);
  background: var(--lagon-l);
  padding: 5px 12px 5px 6px;
  border-radius: var(--radius-pill);
}

.kicker .n {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 22px;
  padding: 0 7px;
  border-radius: var(--radius-pill);
  background: var(--abysse);
  color: var(--soleil);
  letter-spacing: 0.04em;
  font-size: 11px;
  font-weight: 700;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "DM Mono", monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--lagon-l);
  color: var(--lagon-d);
}

.pill--gold {
  background: var(--soleil);
  color: var(--abysse);
  font-weight: 700;
}

.pill--red {
  background: var(--flam-l);
  color: var(--flam-d);
}

.pill--dark {
  background: rgba(255, 255, 255, 0.1);
  color: #e4eef9;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* Sections & Alternating Bands */
section {
  padding: 88px 0;
  position: relative;
}

.band-white {
  background: var(--surface);
}

.band-tint {
  background: var(--sable2);
}

.band-soft {
  background: var(--sable);
}

.sec-head {
  max-width: 780px;
  margin-bottom: 44px;
}

.sec-head h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  margin: 14px 0 14px;
}

.sec-head h2 em {
  font-style: italic;
  font-weight: 600;
  color: var(--lagon-d);
}

.sec-head p {
  color: var(--muted);
  font-size: 17.5px;
}

.center {
  text-align: center;
  margin-inline: auto;
}

.center .kicker {
  justify-content: center;
}

.night,
.dark-band {
  background: linear-gradient(160deg, #0e274f 0%, var(--abysse) 55%, var(--nuit) 100%);
  color: #b8c9de;
}

.night h2,
.night h3,
.dark-band h2,
.dark-band h3 {
  color: #ffffff;
}

.night .sec-head p,
.dark-band .sec-head p {
  color: #a6bad4;
}

.night .kicker,
.dark-band .kicker {
  background: rgba(247, 214, 24, 0.14);
  color: var(--soleil);
}

.night .kicker .n,
.dark-band .kicker .n {
  background: var(--soleil);
  color: var(--abysse);
}

.night .sec-head h2 em,
.dark-band .sec-head h2 em {
  color: #6bc4ff;
}

.night a:not(.btn):not(.bento-link),
.dark-band a:not(.btn):not(.bento-link),
.page-hero p a:not(.btn),
.a-hero p a:not(.btn),
.a-cta p a:not(.btn),
.bento-card--dark p a:not(.btn),
.calc-out a:not(.btn),
.est-out a:not(.btn) {
  color: #7cc6ff;
  font-weight: 700;
}

.night a:not(.btn):not(.bento-link):hover,
.dark-band a:not(.btn):not(.bento-link):hover,
.page-hero p a:not(.btn):hover,
.a-hero p a:not(.btn):hover,
.a-cta p a:not(.btn):hover,
.bento-card--dark p a:not(.btn):hover,
.calc-out a:not(.btn):hover,
.est-out a:not(.btn):hover {
  color: var(--soleil);
}

.night code,
.dark-band code,
.page-hero code,
.bento-card--dark code,
.calc-out code {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--soleil);
}

/* Raphia flag divider */
.tide {
  height: 10px;
  background: linear-gradient(115deg, var(--lagon) 0 38%, var(--soleil) 38% 62%, var(--flam) 62%);
  -webkit-mask: repeating-linear-gradient(135deg, #000 0 10px, transparent 10px 13px);
  mask: repeating-linear-gradient(135deg, #000 0 10px, transparent 10px 13px);
}

/* SVG flow animation moved out of inline <style> */
.flow {
  animation: dash 2.8s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -44;
  }
}

/* 03. Header & Navigation
   ========================================================================== */
.ribbon-top {
  background: var(--abysse);
  color: #cfdcee;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 8px 14px;
  letter-spacing: 0.015em;
}

.ribbon-top b {
  color: var(--soleil);
  font-weight: 700;
}

.ribbon-top i {
  font-style: normal;
  color: var(--saline);
  letter-spacing: 0.18em;
  margin: 0 6px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 248, 251, 0.92);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--abysse);
  text-decoration: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  flex: none;
}

.brand .logo-mark {
  width: 38px;
  height: 38px;
  flex: none;
}

.brand b {
  color: var(--flam);
  font-weight: 700;
  font-style: italic;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  padding: 8px 11px;
  border-radius: var(--radius-pill);
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--lagon-l);
  color: var(--lagon-d);
}

.nav .nav-cta {
  background: var(--flam);
  color: #ffffff;
  margin-left: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
}

.nav .nav-cta:hover {
  background: var(--abysse);
  color: #ffffff;
}

.burger {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--abysse);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.burger svg {
  width: 24px;
  height: 24px;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 19, 42, 0.45);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}

.nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* 04. Hero, Split Editorial Heroes & Cinema Showcase
   ========================================================================== */
.hero {
  background:
    radial-gradient(880px 480px at 100% -5%, rgba(11, 133, 216, 0.16), transparent 62%),
    radial-gradient(660px 420px at -8% 105%, rgba(206, 16, 33, 0.12), transparent 60%),
    var(--sable);
  padding: 64px 0 92px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12px;
  background: var(--abysse);
  -webkit-mask: radial-gradient(circle at 10px 12px, transparent 8px, #000 8.5px) 0 0 / 20px 12px repeat-x;
  mask: radial-gradient(circle at 10px 12px, transparent 8px, #000 8.5px) 0 0 / 20px 12px repeat-x;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(38px, 5.2vw, 68px);
  margin: 18px 0 20px;
  line-height: 1.04;
  font-weight: 800;
}

.hero h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--flam);
}

.hero h1 .dom {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: max(0.26em, 15px);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.45;
}

.hero .lead {
  font-size: 18.5px;
  max-width: 600px;
  color: #324861;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 28px;
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 660px;
}

.trust li {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 14px 12px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.25;
  color: var(--abysse);
  box-shadow: var(--shadow-sm);
}

.trust svg {
  width: 24px;
  height: 24px;
  flex: none;
}

.trust .cards-ic {
  display: flex;
  gap: 4px;
}

.trust .cards-ic i {
  font-style: normal;
  font-weight: 800;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--lagon-l);
  color: #1a1f71;
}

.trust .cards-ic i + i {
  color: #eb001b;
}

.isle {
  position: relative;
  background: linear-gradient(165deg, #11305a 0%, #0a1d3b 60%, #06132a 100%);
  border-radius: var(--radius-lg);
  padding: 20px;
  color: #c7dde0;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.isle-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 6px 12px;
  gap: 10px;
}

.isle-top i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--flam);
  margin-right: 8px;
  box-shadow: 0 0 10px var(--flam);
  animation: blink 1.6s infinite;
}

@keyframes blink {
  50% {
    opacity: 0.3;
  }
}

.isle-map {
  border-radius: var(--radius);
  background: radial-gradient(circle at 55% 55%, rgba(11, 133, 216, 0.25), transparent 65%), rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.isle-map svg {
  width: 100%;
  height: auto;
}

.clocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.clk {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
}

.clk span {
  font-size: 11.5px;
  color: #9fb3cc;
  font-weight: 700;
}

.clk b {
  font-family: "DM Mono", monospace;
  font-size: 20px;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.clk small {
  font-family: "DM Mono", monospace;
  font-size: 10.5px;
  color: var(--soleil);
}

.chip-a {
  position: absolute;
  top: -14px;
  right: 22px;
  background: var(--soleil);
  color: var(--abysse);
  font-family: "DM Mono", monospace;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
}

.chip-b {
  position: absolute;
  bottom: -14px;
  left: 22px;
  background: var(--flam);
  color: #ffffff;
  font-weight: 800;
  font-size: 12.5px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
}

/* Split Editorial Hero for Stage 1 Landing Pages */
.page-hero {
  background:
    radial-gradient(760px 360px at 96% -8%, rgba(11, 133, 216, 0.34), transparent 62%),
    radial-gradient(620px 340px at 0% 110%, rgba(206, 16, 33, 0.24), transparent 60%),
    linear-gradient(155deg, #102a52 0%, var(--abysse) 58%, var(--nuit) 100%);
  color: #c2d3e8;
  padding: 46px 0 68px;
  position: relative;
}

.page-hero .tide {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 38px;
  align-items: center;
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(32px, 4.4vw, 52px);
  margin: 12px 0 16px;
  font-weight: 800;
}

.page-hero h1 em {
  color: var(--soleil);
  font-style: italic;
  font-weight: 600;
}

.page-hero .hero-sub {
  font-size: 18px;
  color: #b7cae0;
  max-width: 650px;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(8px);
}

.hero-panel h2 {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 14px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.hero-metric {
  background: rgba(6, 19, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px;
}

.hero-metric b {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 24px;
  color: var(--soleil);
  line-height: 1.1;
}

.hero-metric span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #b8c9de;
}

.crumbs {
  font-size: 13.5px;
  color: #9fb3cc;
  margin-bottom: 16px;
}

.crumbs a {
  color: #e0ecf8;
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--soleil);
}

/* Cinema 4K showcase */
#cinema {
  background: var(--abysse);
  color: #b8cfd3;
  padding: 88px 0;
  --accent: var(--soleil);
}

.shead {
  max-width: 760px;
  margin-bottom: 8px;
}

.eyebrow {
  display: inline-block;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--abysse);
  background: var(--soleil);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

#cinema .h2 {
  color: #ffffff;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.08;
  margin: 16px 0 14px;
}

#cinema .h2 em {
  color: var(--soleil);
  font-style: italic;
}

#cinema .sub {
  color: #a6bad4;
  font-size: 17.5px;
}

.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: 28px 0 36px;
  padding: 14px 4px 22px;
  scrollbar-width: thin;
}

.poster-carousel::-webkit-scrollbar {
  height: 8px;
}

.poster-carousel::-webkit-scrollbar-thumb {
  background: var(--soleil);
  border-radius: 8px;
}

.poster-carousel li {
  flex: 0 0 clamp(200px, 24vw, 276px);
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  background: #081a33;
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.78), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.poster-carousel figure {
  margin: 0;
}

.poster-carousel img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}

.poster-carousel li:hover,
.poster-carousel li:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 26px 46px -16px rgba(0, 0, 0, 0.9), 0 0 0 2px var(--soleil);
}

.poster-carousel li:hover img,
.poster-carousel li:focus-within img {
  transform: scale(1.04);
}

.genres {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.ticket:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 50px -24px rgba(0, 0, 0, 0.8);
}

.t-art {
  position: relative;
  height: 126px;
  overflow: hidden;
  background: linear-gradient(135deg, #0b85d8, #0866ad 55%, #0a1d3b);
}

.t-art--action {
  background: linear-gradient(135deg, #ce1021, #8c1f18 60%, #250806);
}

.t-art--thriller {
  background: linear-gradient(135deg, #2a3d33, #16261f 60%, #050f0b);
}

.t-art--scifi {
  background: linear-gradient(135deg, #0b85d8, #1e5a6b 55%, #0a1d3b);
}

.t-art--family {
  background: linear-gradient(135deg, #f7d618, #e8a33d 50%, #ce1021);
}

.t-art--doc {
  background: linear-gradient(135deg, #0b85d8, #0866ad 50%, #0a2e22);
}

.t-art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.t-art .res {
  position: absolute;
  left: 12px;
  top: 12px;
  font-family: "DM Mono", monospace;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  background: rgba(6, 19, 42, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
}

.t-art .salle {
  position: absolute;
  right: 12px;
  top: 12px;
  font-family: "DM Mono", monospace;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.1em;
}

.t-tear {
  position: relative;
  height: 20px;
  background: var(--surface);
}

.t-tear::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  border-top: 2px dashed #c5d1e0;
}

.t-tear i {
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--abysse);
}

.t-tear i:first-child {
  left: -10px;
}

.t-tear i:last-child {
  right: -10px;
}

.t-body {
  padding: 4px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ticket h3 {
  font-size: 19px;
  margin: 0 0 8px;
}

.ticket p {
  font-size: 14px;
  color: var(--muted);
  flex: 1;
}

.t-stub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.t-stub span {
  font-family: "DM Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: #7c8c9c;
}

.t-stub b {
  display: block;
  font-size: 12.5px;
  color: var(--abysse);
  letter-spacing: 0;
  font-weight: 700;
}

.c-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.c-tags span {
  font-family: "DM Mono", monospace;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--abysse);
  background: var(--lagon-l);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.c-tags span:first-child {
  background: var(--soleil);
}

/* Performance & Pillars */
.perf {
  background: var(--sable);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 44px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 34px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.stat::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--lagon);
}

.stat--red::after {
  background: var(--flam);
}

.stat--blue::after {
  background: var(--lagon);
}

.stat--gold::after {
  background: var(--soleil);
}

.stat--amber::after {
  background: var(--saline);
}

.stat b {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 3.6vw, 48px);
  color: var(--abysse);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.stat--red b span {
  color: var(--flam);
}

.stat--blue b span {
  color: var(--lagon);
}

.stat--gold b span {
  color: var(--saline);
}

.stat--amber b span {
  color: var(--saline);
}

.stat small {
  display: block;
  margin-top: 8px;
  font-weight: 700;
  color: var(--muted);
  font-size: 14.5px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar {
  background: var(--abysse);
  color: #bfd1e4;
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pillar .ico {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--lagon);
  margin-bottom: 20px;
}

.pillar--red .ico {
  background: var(--flam);
}

.pillar--gold .ico {
  background: var(--soleil);
}

.pillar .ico svg {
  width: 28px;
  height: 28px;
}

.pillar a {
  color: #7cc6ff;
  font-weight: 700;
}

.pillar a:hover {
  color: var(--soleil);
}

.pillar h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #ffffff;
}

.pillar p {
  font-size: 15.5px;
}

.pillar ul {
  margin-top: 16px;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: #e4eef9;
}

.pillar li {
  display: flex;
  gap: 9px;
}

.pillar li::before {
  content: "";
  flex: none;
  width: 12px;
  height: 2px;
  margin-top: 11px;
  background: var(--soleil);
}

.isp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.isp-chips span {
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* 05. Pricing Plans & Cards
   ========================================================================== */
.pricing {
  background: linear-gradient(180deg, var(--sable2), var(--sable));
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.plan h3 {
  font-size: 25px;
}

.plan .per {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 800;
}

.plan .price {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 60px;
  color: var(--abysse);
  margin: 14px 0 0;
  line-height: 1;
  letter-spacing: -0.04em;
}

.plan .price small {
  font-size: 28px;
  margin-left: 4px;
  color: var(--flam);
}

.plan .eq {
  font-size: 14px;
  color: var(--lagon-d);
  font-weight: 800;
  min-height: 22px;
  margin-top: 6px;
}

.plan .day {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  color: var(--muted);
}

.plan ul {
  list-style: none;
  display: grid;
  gap: 9px;
  margin: 20px 0 24px;
  font-size: 14.5px;
}

.plan li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.plan li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 6px;
  background: var(--lagon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 12l4 4 8-8' fill='none' stroke='white' stroke-width='3'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.plan .btn {
  margin-top: auto;
  width: 100%;
}

.plan .btn-ghost {
  background: var(--lagon-l);
  color: var(--lagon-d);
}

.plan .btn-ghost:hover {
  background: var(--lagon);
  color: #ffffff;
}

.plan.hot,
.plan--featured {
  background: linear-gradient(160deg, #11305a, var(--abysse) 70%);
  color: #c7dde0;
  border: 2px solid var(--soleil);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.plan.hot:hover,
.plan--featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.plan.hot h3,
.plan.hot .price,
.plan--featured h3,
.plan--featured .price {
  color: #ffffff;
}

.plan.hot .per,
.plan.hot .day,
.plan--featured .per,
.plan--featured .day {
  color: #9fb3cc;
}

.plan.hot .price small,
.plan.hot .eq,
.plan--featured .price small,
.plan--featured .eq {
  color: var(--soleil);
}

.plan.hot li::before,
.plan--featured li::before {
  background-color: var(--flam);
}

.ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--flam);
  color: #ffffff;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 10px 20px -8px rgba(206, 16, 33, 0.7);
}

.pay-row {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  justify-content: center;
  align-items: center;
  color: var(--ink);
  font-weight: 700;
  font-size: 14.5px;
}

.pay-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pay-row svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.card-logos {
  display: inline-flex;
  gap: 8px;
}

.card-logos i {
  font-style: normal;
  font-weight: 800;
  font-size: 12.5px;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: #1a1f71;
}

.card-logos i + i {
  color: #eb001b;
}

/* Compact 4-plan strip (used on city pages) */
.compact-plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cplan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.cplan--hot {
  background: var(--abysse);
  color: #d6e3f2;
  border-color: var(--soleil);
}

.cplan--hot h3,
.cplan--hot .cplan-price {
  color: #ffffff;
}

.cplan h3 {
  font-size: 19px;
}

.cplan-price {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: var(--abysse);
  line-height: 1.05;
}

.cplan-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.cplan--hot .cplan-meta {
  color: var(--soleil);
}

/* 06. Asymmetric Bento, Device & App Grids
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.bento-card {
  grid-column: span 4;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--lagon);
}

.bento-span-6 {
  grid-column: span 6;
}

.bento-span-8 {
  grid-column: span 8;
}

.bento-span-3 {
  grid-column: span 3;
}

.bento-card--dark {
  background: linear-gradient(155deg, #102a52, var(--abysse));
  color: #c2d4e9;
  border-color: rgba(255, 255, 255, 0.12);
}

.bento-card--dark h3,
.bento-card--dark a {
  color: #ffffff;
}

.bento-card--dark p {
  color: #a9bed7;
}

.bento-card h3 {
  font-size: 22px;
}

.bento-card p {
  color: var(--muted);
  font-size: 15.5px;
  flex: 1;
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--lagon-l);
  color: var(--lagon-d);
  display: grid;
  place-items: center;
  flex: none;
}

.bento-card--dark .bento-icon {
  background: rgba(247, 214, 24, 0.16);
  color: var(--soleil);
}

.bento-icon svg {
  width: 24px;
  height: 24px;
}

.bento-link {
  font-weight: 800;
  font-size: 14.5px;
  text-decoration: none;
  color: var(--flam-d);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bento-card--dark .bento-link {
  color: var(--soleil);
}

/* Filter Pills & Device Cards */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-count {
  margin-left: auto;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.calc-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.calc-preset {
  background: var(--surface);
  color: var(--abysse);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.18s var(--ease);
}

.calc-preset:hover,
.calc-preset.is-active {
  background: var(--abysse);
  color: #ffffff;
  border-color: var(--abysse);
}

.calc-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.calc-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "DM Mono", monospace;
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(124, 198, 255, 0.18);
  color: #7cc6ff;
  border: 1px solid rgba(124, 198, 255, 0.35);
}

.calc-status-badge--warn {
  background: rgba(247, 214, 24, 0.16);
  color: var(--soleil);
  border-color: rgba(247, 214, 24, 0.4);
}

.calc-status-badge--high {
  background: rgba(255, 143, 120, 0.16);
  color: #ff9d88;
  border-color: rgba(255, 143, 120, 0.4);
}

.filter-pill {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.18s var(--ease);
}

.filter-pill:hover {
  border-color: var(--lagon);
  color: var(--lagon-d);
}

.filter-pill.is-active,
.filter-pill[aria-pressed="true"] {
  background: var(--abysse);
  color: #ffffff;
  border-color: var(--abysse);
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.device-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.device-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.device-card[hidden] {
  display: none;
}

.device-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--sable);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.device-icon svg {
  width: 30px;
  height: 30px;
}

.device-card h3 {
  font-size: 20px;
}

.device-card p {
  font-size: 14.5px;
  color: var(--muted);
  flex: 1;
}

.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.spec-chip {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: var(--sable2);
  color: var(--abysse);
}

.spec-chip--accent {
  background: var(--lagon-l);
  color: var(--lagon-d);
}

/* App Player Tiles */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.app-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.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%;
}

.app-card h3 {
  font-size: 21px;
}

.app-sub {
  font-family: "DM Mono", monospace;
  font-size: 11.5px;
  color: var(--muted);
}

.app-card p {
  font-size: 15px;
  color: var(--muted);
  flex: 1;
}

/* Dark Recommendation Matrix */
.rec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rec-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rec-card h3 {
  font-size: 19px;
  color: #ffffff;
  margin-bottom: 0;
}

.rec-card p {
  font-size: 14.5px;
  color: #b4c8df;
  flex: 1;
}

.rec-card .bento-link {
  color: var(--soleil);
  margin-top: 4px;
}

.rec-badge {
  display: inline-block;
  align-self: flex-start;
  margin-top: 6px;
  font-family: "DM Mono", monospace;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--abysse);
  background: var(--soleil);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* 07. Interactive Calculators & Network Telemetry
   ========================================================================== */
.speed {
  background: var(--surface);
}

.est,
.calc-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: stretch;
}

.est-form,
.calc-form {
  background: var(--sable);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.field {
  margin-bottom: 20px;
}

.field--tight {
  margin-bottom: 0;
}

.field label,
.field .lbl {
  display: block;
  font-weight: 800;
  font-size: 14.5px;
  margin-bottom: 8px;
  color: var(--abysse);
}

.isp-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.isp-tabs button {
  font-weight: 800;
  font-size: 14px;
  padding: 12px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.18s var(--ease);
  text-align: left;
  line-height: 1.25;
}

.isp-tabs button small {
  display: block;
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

.isp-tabs button[aria-pressed="true"] {
  border-color: var(--abysse);
  background: var(--abysse);
  color: #ffffff;
}

.isp-tabs button[aria-pressed="true"] small {
  color: var(--soleil);
}

.field input[type="range"] {
  width: 100%;
  accent-color: var(--flam);
}

.range-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
}

.val {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.12em;
  color: var(--flam);
}

.field select {
  width: 100%;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.est-out,
.calc-out {
  background: linear-gradient(160deg, #102a52, var(--abysse) 70%);
  color: #c2d4e8;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.gauge {
  position: relative;
  width: 224px;
  max-width: 100%;
  margin: 0 auto 6px;
}

.gauge svg {
  width: 100%;
  height: auto;
}

.gauge b {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  text-align: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 44px;
  color: #ffffff;
  line-height: 1;
}

.gauge-l {
  text-align: center;
  font-size: 13px;
  color: #9bb1cc;
}

.verdict {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin: 14px 0 16px;
  text-align: center;
}

.verdict.ok {
  color: #7cc6ff;
}

.verdict.mid {
  color: var(--soleil);
}

.verdict.bad {
  color: #ff8f78;
}

.est-rows {
  display: grid;
  gap: 8px;
  font-size: 15px;
  margin-bottom: 16px;
}

.est-rows div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
  padding-bottom: 8px;
}

.est-rows b {
  color: #ffffff;
  text-align: right;
}

.tip {
  background: rgba(247, 214, 24, 0.12);
  border-left: 3px solid var(--soleil);
  padding: 12px 14px;
  border-radius: 0 12px 12px 0;
  font-size: 14.5px;
  margin-top: auto;
}

.calc-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.calc-kpi {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px;
}

.calc-kpi span {
  display: block;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9bb1cc;
}

.calc-kpi b {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 30px;
  color: var(--soleil);
  margin-top: 4px;
  line-height: 1.1;
}

.calc-isp-box {
  background: rgba(11, 133, 216, 0.16);
  border: 1px solid rgba(124, 198, 255, 0.3);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.calc-isp-box h3 {
  font-size: 17px;
  color: #ffffff;
  margin-bottom: 4px;
}

.calc-isp-box p {
  font-size: 14.5px;
  color: #d6e6f8;
}

/* Setup & Network */
.setup {
  background: var(--surface);
}

.setup-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: start;
}

.steps {
  list-style: none;
  counter-reset: s;
  display: grid;
  gap: 14px;
  position: relative;
}

.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sable);
}

.step::before {
  counter-increment: s;
  content: counter(s);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #ffffff;
  background: var(--flam);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.step:nth-child(2n)::before {
  background: var(--lagon-d);
}

.step:nth-child(3)::before {
  background: var(--soleil);
  color: var(--abysse);
}

.step h3 {
  font-size: 20px;
  margin: 2px 0 4px;
}

.step p {
  font-size: 15px;
  color: var(--muted);
}

.step code {
  font-family: "DM Mono", monospace;
  font-size: 12.5px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 6px;
  color: var(--abysse);
  word-break: break-all;
}

.term {
  background: var(--nuit);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: sticky;
  top: 96px;
}

.term-bar {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 12px 16px;
  background: #0d2547;
}

.term-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--flam);
}

.term-bar i:nth-child(2) {
  background: var(--soleil);
}

.term-bar i:nth-child(3) {
  background: var(--lagon);
}

.term-bar span {
  margin-left: auto;
  font-family: "DM Mono", monospace;
  font-size: 11.5px;
  color: #8aa2bf;
}

.term pre {
  font-family: "DM Mono", monospace;
  font-size: 13px;
  line-height: 1.75;
  color: #c4d4e8;
  padding: 20px 22px;
  white-space: pre-wrap;
  word-break: break-all;
}

.term pre b {
  color: var(--soleil);
  font-weight: 600;
}

.term pre em {
  color: #7cc6ff;
  font-style: normal;
}

.term pre u {
  color: #7d96b6;
  text-decoration: none;
}

.devices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 22px 22px;
}

.devices span {
  font-weight: 700;
  font-size: 12.5px;
  color: #d9e5f3;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}

.net-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.topo {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 14px;
}

.topo svg {
  width: 100%;
  height: auto;
}

.rtt {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.rtt th,
.rtt td {
  padding: 9px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rtt th {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soleil);
  font-weight: 600;
}

.rtt td b {
  color: #ffffff;
  white-space: nowrap;
}

.rtt td small {
  color: #8aa2bf;
  font-family: "DM Mono", monospace;
  font-size: 11px;
}

.bar {
  display: inline-block;
  height: 6px;
  border-radius: 5px;
  background: linear-gradient(90deg, #7cc6ff, var(--soleil), var(--flam));
  vertical-align: middle;
  margin-right: 8px;
}

.bar--w42 { width: 42px; }
.bar--w49 { width: 49px; }
.bar--w68 { width: 68px; }
.bar--w72 { width: 72px; }
.bar--w79 { width: 79px; }
.bar--w80 { width: 80px; }

.rtt-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: #8aa2bf;
}

.cables {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.cables span {
  font-family: "DM Mono", monospace;
  font-size: 11.5px;
  color: #d9e5f3;
  border: 1px dashed rgba(232, 163, 61, 0.55);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}

.net-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.net-points div {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 22px;
}

.net-points h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.net-points p {
  font-size: 15px;
  color: #a8bdd6;
}

/* 08. Editorial Articles, FAQ, Glossary, Author, Local Cities & Legal
   ========================================================================== */
.guides {
  background: var(--sable);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.acard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.acard::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--lagon);
}

.acard:nth-child(3n + 2)::before {
  background: var(--flam);
}

.acard:nth-child(3n)::before {
  background: var(--saline);
}

.acard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.ameta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.cat {
  font-family: "DM Mono", monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--lagon-l);
  color: var(--lagon-d);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.rt {
  font-family: "DM Mono", monospace;
  font-weight: 600;
  font-size: 11.5px;
  color: var(--flam-d);
  letter-spacing: 0.08em;
}

.acard h2,
.acard h3 {
  font-size: 21px;
  line-height: 1.2;
  margin: 0;
}

.acard h2 a,
.acard h3 a {
  color: var(--abysse);
  text-decoration: none;
}

.acard h2 a::after,
.acard h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.acard p {
  color: var(--muted);
  font-size: 15px;
  flex: 1;
}

.more {
  font-weight: 800;
  font-size: 14px;
  color: var(--flam-d);
}

.guides .all {
  margin-top: 32px;
  text-align: center;
}

/* Compact Accordion FAQ */
.faq {
  background: var(--sable);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.faq-grid .sec-head {
  position: sticky;
  top: 96px;
  margin: 0;
}

.faq-cta-wrap {
  margin-top: 20px;
}

.faq-list,
.acc-list {
  display: grid;
  gap: 10px;
}

.faq details,
.acc-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 22px;
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.faq details[open],
.acc-list details[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--lagon);
}

.faq summary,
.acc-list summary {
  cursor: pointer;
  list-style: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 18.5px;
  color: var(--abysse);
  padding: 18px 40px 18px 0;
  position: relative;
  line-height: 1.28;
}

.faq summary::-webkit-details-marker,
.acc-list summary::-webkit-details-marker {
  display: none;
}

.faq summary::after,
.acc-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lagon-l);
  color: var(--lagon-d);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-family: "Inter", sans-serif;
  font-weight: 800;
}

.faq details[open] summary::after,
.acc-list details[open] summary::after {
  content: "−";
  background: var(--flam);
  color: #ffffff;
}

.faq .ans,
.acc-list .ans {
  padding: 0 0 18px;
  color: #365066;
  font-size: 15.5px;
}

.faq .ans p + p,
.acc-list .ans p + p {
  margin-top: 10px;
}

.jump-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.jump-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--abysse);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.18s var(--ease);
}

.jump-pill:hover {
  background: var(--abysse);
  color: #ffffff;
  border-color: var(--abysse);
}

.faq-group {
  margin-bottom: 36px;
  scroll-margin-top: 96px;
}

.faq-group h2 {
  font-size: 26px;
  margin-bottom: 14px;
}

/* Glossary Grid */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.term-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 96px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.term-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.term-card h2 {
  font-size: 22px;
}

.term-tag {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  background: var(--lagon-l);
  color: var(--lagon-d);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.term-tip {
  margin-top: auto;
  margin-bottom: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--sable);
  border-left: 3px solid var(--lagon);
  font-size: 14px;
  color: #324861;
}

/* Author Profile & Testing Lab */
.author-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 24px;
}

.author-avatar {
  width: 112px;
  height: 112px;
  border-radius: 20px;
  overflow: hidden;
  flex: none;
  box-shadow: var(--shadow);
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lab-card {
  background: var(--surface);
  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-card h3 {
  font-size: 21px;
  margin-bottom: 6px;
}

.lab-card p {
  font-size: 15px;
  color: var(--muted);
}

/* Local City ISP Scorecard & District Chips */
.score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.score-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 20px;
}

.score-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.score-top h3 {
  font-size: 19px;
  color: #ffffff;
}

.score-val {
  font-family: "DM Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--soleil);
}

.score-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin: 10px 0 12px;
}

.score-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lagon), var(--soleil));
}

.score-fill--92 { width: 92%; }
.score-fill--88 { width: 88%; }
.score-fill--84 { width: 84%; }
.score-fill--78 { width: 78%; }
.score-fill--74 { width: 74%; }
.score-fill--68 { width: 68%; }

.district-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.district-chips span {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--abysse);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

/* Editorial Articles & Legal Layout */
.a-hero {
  background:
    radial-gradient(760px 360px at 95% -10%, rgba(206, 16, 33, 0.24), transparent 60%),
    radial-gradient(660px 340px at 0% 120%, rgba(11, 133, 216, 0.34), transparent 60%),
    linear-gradient(160deg, #102a52, var(--abysse) 60%, var(--nuit));
  color: #b8c9de;
  padding: 48px 0 68px;
  position: relative;
}

.a-hero .tide {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

.a-hero h1 {
  color: #ffffff;
  font-size: clamp(30px, 4.4vw, 50px);
  max-width: 920px;
  margin: 12px 0 16px;
  font-weight: 800;
}

.a-hero-lead {
  max-width: 720px;
  font-size: 17.5px;
  color: #b8c9de;
}

.a-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  font-size: 14px;
}

.a-meta .cat {
  background: var(--soleil);
  color: var(--abysse);
}

.a-meta strong,
.a-meta a {
  color: #ffffff;
}

.a-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 52px;
  padding: 52px 0 76px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 94px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  font-size: 14px;
  border-top: 4px solid var(--lagon);
  box-shadow: var(--shadow-sm);
}

.toc b {
  font-family: "DM Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}

.toc ol {
  padding-left: 18px;
  display: grid;
  gap: 7px;
}

.toc a {
  color: var(--ink);
  text-decoration: none;
}

.toc a:hover {
  color: var(--flam);
}

.toc .btn {
  width: 100%;
  margin-top: 16px;
  font-size: 14px;
  padding: 11px 14px;
  color: #ffffff;
}

article.post {
  max-width: 780px;
  font-size: 17.5px;
}

article.post .lede {
  font-size: 19.5px;
  color: #29435c;
  margin-bottom: 24px;
}

article.post h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 44px 0 14px;
  scroll-margin-top: 96px;
}

article.post h3 {
  font-size: 22px;
  margin: 28px 0 10px;
}

article.post p {
  margin-bottom: 16px;
}

article.post ul,
article.post ol {
  margin: 0 0 18px 22px;
  display: grid;
  gap: 7px;
}

article.post a {
  color: var(--lagon-d);
  font-weight: 700;
}

article.post code,
article.post kbd {
  font-family: "DM Mono", monospace;
  font-size: 0.82em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  word-break: break-word;
}

.table-wrap {
  overflow-x: auto;
  margin: 22px 0 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 540px;
}

.table-wrap th {
  background: var(--abysse);
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 13.5px;
  text-align: left;
  padding: 13px 15px;
}

.table-wrap td {
  padding: 12px 15px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.table-wrap tr:nth-child(even) td {
  background: #f8fafd;
}

.callout {
  background: var(--lagon-l);
  border-left: 4px solid var(--lagon);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 22px 0;
  font-size: 16px;
}

.callout.warn {
  background: var(--flam-l);
  border-left-color: var(--flam);
}

.callout p:last-child {
  margin-bottom: 0;
}

article.post a.btn-wa,
article.post .btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  color: #042110;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 800;
  font-size: 15.5px;
}

.a-faq {
  margin-top: 46px;
  padding: 0;
}

.a-faq h2 {
  margin-bottom: 16px;
}

.a-faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 20px;
  margin-bottom: 10px;
}

.a-faq summary {
  cursor: pointer;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 18.5px;
  color: var(--abysse);
  padding: 16px 0;
  list-style: none;
}

.a-faq summary::-webkit-details-marker {
  display: none;
}

.a-faq summary::before {
  content: "+ ";
  color: var(--flam);
}

.a-faq details[open] summary::before {
  content: "− ";
}

.a-faq .ans {
  padding-bottom: 16px;
  font-size: 16px;
}

.a-cta {
  margin: 44px 0 0;
  background: linear-gradient(135deg, #102a52, var(--abysse));
  color: #b8c9de;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  border-left: 6px solid var(--flam);
}

.a-cta h3 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 4px;
}

.a-cta p {
  margin: 0;
  font-size: 15.5px;
}

.a-cta .btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

article.post .a-cta a.btn {
  color: #ffffff;
}

article.post .a-cta a.btn-wa {
  color: #042110;
}

.author {
  margin-top: 34px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--muted);
}

.author a {
  color: var(--abysse);
  font-weight: 800;
}

.related {
  background: var(--sable2);
  padding: 64px 0;
}

.related h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

.hub-grid {
  padding: 40px 0 88px;
}

.legal {
  max-width: 820px;
  padding: 52px 0 88px;
  font-size: 17px;
}

.legal h2 {
  font-size: 26px;
  margin: 32px 0 10px;
}

.legal p,
.legal ul {
  margin-bottom: 14px;
}

.legal ul {
  padding-left: 22px;
}

/* Order / Conversion Banner */
.order {
  background:
    radial-gradient(600px 300px at 12% 0%, rgba(247, 214, 24, 0.35), transparent 60%),
    radial-gradient(700px 360px at 90% 100%, rgba(232, 163, 61, 0.45), transparent 60%),
    var(--flam);
  color: #fff2ef;
  text-align: center;
  padding: 84px 0;
}

.order h2 {
  color: #ffffff;
  font-size: clamp(32px, 4.4vw, 54px);
  margin-bottom: 14px;
}

.order h2 em {
  color: var(--soleil);
  font-weight: 700;
}

.order p {
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: 18px;
}

.order .hero-ctas {
  justify-content: center;
  margin: 0;
}

.order .btn-dark {
  background: #ffffff;
  color: var(--abysse);
}

.order .btn-dark:hover {
  background: var(--soleil);
  color: var(--abysse);
}

/* 09. Footer, Sticky CTA & Floating WhatsApp
   ========================================================================== */
.foot {
  background: var(--nuit);
  color: #8aa2bf;
  padding: 0 0 128px;
  font-size: 14.5px;
  position: relative;
}

.foot .tide {
  margin-bottom: 56px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr 1fr;
  gap: 30px;
}

.foot h4,
.foot .foot-title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  font-size: 17.5px;
  margin-bottom: 14px;
}

.foot ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.foot a {
  color: #c4d4e8;
  text-decoration: none;
}

.foot a:hover {
  color: var(--soleil);
}

.foot .brand {
  color: #ffffff;
  margin-bottom: 14px;
}

.foot-pay {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.paychip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: var(--abysse);
  font-weight: 800;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 8px;
}

.foot-terr {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.foot-terr span,
.foot-terr a {
  font-family: "DM Mono", monospace;
  font-size: 11.5px;
  color: #8da5c4;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-decoration: none;
}

.foot-terr a:hover {
  border-color: var(--soleil);
  color: var(--soleil);
}

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 26px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

/* Floating #cta-sticky (non-homepage pages) */
#cta-sticky {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 58;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(10, 29, 59, 0.96);
  color: #ffffff;
  border: 1px solid rgba(247, 214, 24, 0.45);
  border-radius: var(--radius-pill);
  padding: 10px 12px 10px 20px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

#cta-sticky.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cta-sticky-text {
  font-size: 14px;
  line-height: 1.25;
}

.cta-sticky-text b {
  color: var(--soleil);
}

.cta-sticky-text small {
  display: block;
  font-size: 11.5px;
  color: #b7cae0;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 62;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  filter: drop-shadow(0 14px 26px rgba(6, 24, 32, 0.45));
  transition: transform 0.22s var(--ease);
}

.wa-float:hover {
  transform: translateY(-3px);
}

.wa-float .wa-pill {
  position: relative;
  display: block;
  background: var(--wa);
  color: #03230d;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: 14.5px;
  line-height: 1.3;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.wa-float .wa-pill small {
  display: block;
  font-weight: 600;
  font-size: 11px;
  opacity: 0.85;
}

.wa-float .wa-pill::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid var(--wa);
  transform: translateY(-50%);
}

.wa-float .wa-circ {
  position: relative;
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #5ae894, #25d366 55%, #139a45);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.22);
}

.wa-float .wa-circ::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: waping 2.2s infinite;
  pointer-events: none;
}

.wa-float .wa-circ svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

.wa-float:hover .wa-pill {
  background: #2ee072;
}

.wa-float:hover .wa-pill::after {
  border-left-color: #2ee072;
}

@keyframes waping {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

/* 09b. SmartPanel 4K Smart TV Hero & Post-Poster Bento Suite
   ========================================================================== */
.smartpanel-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.smartpanel-tv {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.smartpanel-bezel {
  width: 100%;
  background: linear-gradient(155deg, #1b2d47 0%, #091324 22%, #050c19 100%);
  padding: 9px 9px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 34px 68px -22px rgba(6, 19, 42, 0.62),
    0 0 0 1px rgba(11, 133, 216, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  position: relative;
}

.smartpanel-screen {
  background:
    radial-gradient(420px 220px at 95% 0%, rgba(11, 133, 216, 0.24), transparent 65%),
    radial-gradient(320px 200px at 5% 100%, rgba(206, 16, 33, 0.16), transparent 65%),
    #071429;
  border-radius: 13px;
  padding: 14px;
  color: #e4eef9;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.smartpanel-led {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(11, 133, 216, 0.3), #7cc6ff, rgba(11, 133, 216, 0.3));
  margin: 7px auto -4px;
  box-shadow: 0 0 8px rgba(124, 198, 255, 0.7);
}

.smartpanel-stand {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: -1px;
}

.smartpanel-stand-neck {
  width: 58px;
  height: 18px;
  background: linear-gradient(180deg, #1b2d47 0%, #4b617d 55%, #273b56 100%);
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}

.smartpanel-stand-base {
  width: 44%;
  max-width: 210px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1a2c47 0%, #7d95b3 30%, #c8d8eb 50%, #7d95b3 70%, #1a2c47 100%);
  box-shadow: 0 8px 18px -4px rgba(6, 19, 42, 0.55);
}

.smartpanel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 11px;
  margin-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-family: "DM Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
}

.smartpanel-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  font-weight: 600;
}

.smartpanel-live i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--flam);
  box-shadow: 0 0 10px var(--flam);
  animation: blink 1.5s infinite;
}

.smartpanel-badges {
  display: flex;
  align-items: center;
  gap: 6px;
}

.smartpanel-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 10px;
}

.smartpanel-badge--hdr {
  background: var(--soleil);
  color: var(--abysse);
}

.smartpanel-badge--ping {
  background: rgba(11, 133, 216, 0.22);
  color: #8fd2ff;
  border: 1px solid rgba(124, 198, 255, 0.3);
}

.smartpanel-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  margin-bottom: 12px;
}

.smartpanel-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #b7cae0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.smartpanel-tab svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.smartpanel-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.smartpanel-tab.is-active {
  background: linear-gradient(135deg, var(--lagon) 0%, var(--lagon-d) 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 18px -10px rgba(11, 133, 216, 0.9);
}

.smartpanel-panels {
  min-height: 274px;
}

.smartpanel-panel[hidden] {
  display: none !important;
}

/* Cinema 4K Tab */
.smartpanel-hero-vod {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(125deg, rgba(11, 133, 216, 0.22) 0%, rgba(10, 29, 59, 0.85) 58%, rgba(206, 16, 33, 0.22) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 10px;
}

.smartpanel-hero-poster {
  width: 88px;
  height: 124px;
  object-fit: cover;
  border-radius: 9px;
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.smartpanel-hero-overlay {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.smartpanel-vod-tag {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--soleil);
  font-weight: 600;
}

.smartpanel-vod-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.18;
}

.smartpanel-vod-meta {
  font-size: 12px;
  color: #b7cae0;
}

.smartpanel-vod-play {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 4px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--flam);
  color: #ffffff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
}

.smartpanel-vod-play svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.smartpanel-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.smartpanel-mini-card {
  margin: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  overflow: hidden;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.smartpanel-mini-card:hover {
  transform: translateY(-2px);
  border-color: var(--soleil);
}

.smartpanel-mini-card img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  display: block;
}

.smartpanel-mini-card figcaption {
  padding: 5px 6px;
  font-size: 10.5px;
  font-weight: 600;
  color: #dce9f8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

/* Live Sports 4K Tab */
.smartpanel-scorecard {
  background: linear-gradient(145deg, rgba(11, 133, 216, 0.18) 0%, rgba(10, 29, 59, 0.9) 65%, rgba(6, 19, 42, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
}

.smartpanel-score-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: #a8c1de;
  margin-bottom: 14px;
}

.smartpanel-clock-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--soleil);
  font-weight: 600;
}

.smartpanel-clock-live i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--flam);
  animation: blink 1.4s infinite;
}

.smartpanel-score-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  text-align: center;
  margin-bottom: 14px;
}

.smartpanel-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.smartpanel-crest {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.smartpanel-crest--home {
  background: linear-gradient(135deg, var(--lagon), #064b82);
  color: #ffffff;
  border: 1px solid rgba(124, 198, 255, 0.45);
}

.smartpanel-crest--away {
  background: linear-gradient(135deg, var(--flam), #7d0913);
  color: #ffffff;
  border: 1px solid rgba(255, 160, 168, 0.4);
}

.smartpanel-team strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  color: #ffffff;
  font-weight: 700;
}

.smartpanel-team small {
  font-size: 11px;
  color: #93abc7;
}

.smartpanel-score-nums b {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--soleil);
  line-height: 1;
  letter-spacing: -0.02em;
}

.smartpanel-score-nums span {
  display: block;
  margin-top: 5px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: #9bb4d1;
}

.smartpanel-sport-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.smartpanel-sport-chips span {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e4eef9;
}

.smartpanel-fixtures {
  display: grid;
  gap: 7px;
}

.smartpanel-fixture {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #dbe8f7;
}

.smartpanel-fixture b {
  color: var(--soleil);
  margin: 0 4px;
}

.smartpanel-fixture em {
  font-style: normal;
  font-family: "DM Mono", monospace;
  font-size: 10.5px;
  color: #8fd2ff;
  white-space: nowrap;
}

/* Live TV EPG Tab */
.smartpanel-epg-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-family: "DM Mono", monospace;
  font-size: 10.5px;
  color: #9bb4d1;
  margin-bottom: 9px;
}

.smartpanel-epg-head em {
  font-style: normal;
  color: var(--soleil);
  font-weight: 600;
}

.smartpanel-epg-list {
  display: grid;
  gap: 7px;
}

.smartpanel-epg-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.smartpanel-ch {
  font-family: "DM Mono", monospace;
  font-size: 10.5px;
  font-weight: 600;
  color: #8fd2ff;
  background: rgba(11, 133, 216, 0.16);
  padding: 4px 5px;
  border-radius: 7px;
  text-align: center;
}

.smartpanel-epg-info {
  min-width: 0;
}

.smartpanel-epg-info strong {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.smartpanel-epg-info strong em {
  font-style: normal;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  color: #93abc7;
  white-space: nowrap;
}

.smartpanel-epg-info > span {
  display: block;
  font-size: 11.5px;
  color: #b7cae0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 2px 0 5px;
}

.smartpanel-progress {
  height: 4px;
  width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.smartpanel-progress-bar {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lagon), var(--soleil));
}

.smartpanel-w68 { width: 68%; }
.smartpanel-w74 { width: 74%; }
.smartpanel-w45 { width: 45%; }
.smartpanel-w56 { width: 56%; }

.smartpanel-epg-tag {
  font-family: "DM Mono", monospace;
  font-size: 9.5px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  color: #dce9f8;
  white-space: nowrap;
}

.smartpanel-epg-tag--live {
  background: var(--flam);
  color: #ffffff;
}

/* Below-Stand Device Pills & KPI Tiles */
.smartpanel-device-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  width: 100%;
}

.smartpanel-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--abysse);
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.smartpanel-pill svg {
  width: 16px;
  height: 16px;
  color: var(--lagon-d);
  flex: none;
}

.smartpanel-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.smartpanel-kpi {
  background: var(--abysse);
  border: 1px solid rgba(11, 133, 216, 0.25);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.smartpanel-kpi b {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: var(--soleil);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.smartpanel-kpi span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  font-weight: 600;
  color: #c8daee;
}

/* Post-Poster Asymmetric Bento Subscription Grid & Devices Strip */
.smartpanel-packs {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.smartpanel-card {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 24px;
  color: #c5d7ea;
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.smartpanel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(247, 214, 24, 0.55);
  box-shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.72);
}

.smartpanel-card--wide {
  grid-column: span 8;
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(11, 133, 216, 0.26), transparent 64%),
    linear-gradient(155deg, #102a52 0%, #091d3b 100%);
  border-color: rgba(124, 198, 255, 0.32);
}

.smartpanel-card--wide + .smartpanel-card {
  grid-column: span 4;
}

.smartpanel-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.smartpanel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  flex: none;
}

.smartpanel-icon svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.smartpanel-icon--gold {
  background: rgba(247, 214, 24, 0.16);
  color: var(--soleil);
  border: 1px solid rgba(247, 214, 24, 0.35);
}

.smartpanel-icon--lagon {
  background: rgba(11, 133, 216, 0.2);
  color: #7cc6ff;
  border: 1px solid rgba(124, 198, 255, 0.35);
}

.smartpanel-icon--flam {
  background: rgba(206, 16, 33, 0.2);
  color: #ff8e97;
  border: 1px solid rgba(255, 142, 151, 0.35);
}

.smartpanel-icon--mint {
  background: rgba(37, 211, 102, 0.18);
  color: #6df29d;
  border: 1px solid rgba(109, 242, 157, 0.32);
}

.smartpanel-card-badge {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: var(--soleil);
  color: var(--abysse);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}

.smartpanel-card-meta {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #93b5da;
  text-transform: uppercase;
}

.smartpanel-card h3 {
  color: #ffffff;
  font-size: 21px;
  line-height: 1.18;
  margin: 0;
}

.smartpanel-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #b7cae0;
  margin: 0;
  flex: 1;
}

.smartpanel-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 6px;
}

.smartpanel-card-tags span {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  color: #e4eef9;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.smartpanel-devices {
  margin-top: 22px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: linear-gradient(125deg, rgba(6, 19, 42, 0.92) 0%, rgba(16, 42, 82, 0.9) 100%);
  border: 1px solid rgba(124, 198, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.smartpanel-devices-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 460px;
}

.smartpanel-devices-label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--soleil);
}

.smartpanel-devices-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.smartpanel-devices-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #eef5fc;
  font-size: 12.5px;
  font-weight: 600;
}

.smartpanel-devices-list svg {
  width: 16px;
  height: 16px;
  color: #7cc6ff;
  flex: none;
}

.smartpanel-devices-cta {
  flex: none;
}

@media (max-width: 960px) {
  .smartpanel-packs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .smartpanel-card,
  .smartpanel-card--wide + .smartpanel-card {
    grid-column: span 1;
  }

  .smartpanel-card--wide,
  .smartpanel-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .smartpanel-packs {
    grid-template-columns: 1fr;
  }

  .smartpanel-card,
  .smartpanel-card--wide,
  .smartpanel-card--wide + .smartpanel-card,
  .smartpanel-card:last-child {
    grid-column: span 1;
  }

  .smartpanel-devices {
    padding: 18px;
  }

  .smartpanel-devices-cta,
  .smartpanel-devices-cta .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .smartpanel-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .smartpanel-hero-vod {
    grid-template-columns: 74px 1fr;
    gap: 11px;
  }

  .smartpanel-hero-poster {
    width: 74px;
    height: 106px;
  }

  .smartpanel-tab {
    font-size: 11px;
    padding: 7px 5px;
    gap: 4px;
  }

  .smartpanel-score-nums b {
    font-size: 26px;
  }

  .smartpanel-epg-info strong {
    flex-direction: column;
    gap: 1px;
  }
}

/* 10. Responsive Breakpoints (<=1024px, <=760px, <=600px)
   ========================================================================== */
@media (max-width: 1024px) {
  .burger {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    padding: 14px;
    gap: 4px;
    display: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    z-index: 65;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
    font-size: 15.5px;
  }

  .nav .nav-cta {
    margin: 8px 0 0;
    text-align: center;
  }

  .hero-grid,
  .page-hero-grid,
  .est,
  .calc-shell,
  .setup-grid,
  .net-grid,
  .faq-grid,
  .a-layout {
    grid-template-columns: 1fr;
  }

  .term,
  .toc,
  .faq-grid .sec-head {
    position: static;
  }

  .plans,
  .compact-plans {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan.hot,
  .plan--featured {
    transform: none;
  }

  .plan.hot:hover,
  .plan--featured:hover {
    transform: translateY(-4px);
  }

  .genres {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-grid,
  .rec-grid,
  .cards,
  .pillars,
  .net-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento-card,
  .bento-span-6,
  .bento-span-8,
  .bento-span-3 {
    grid-column: span 6;
  }

  .foot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  #cta-sticky {
    left: 12px;
    right: 12px;
    bottom: 92px;
    justify-content: space-between;
    border-radius: var(--radius);
    padding: 10px 14px;
  }

  .filter-count {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  section {
    padding: 68px 0;
  }

  .stats,
  .trust {
    grid-template-columns: repeat(2, 1fr);
  }

  .genres,
  .glossary-grid,
  .lab-grid,
  .score-grid,
  .app-grid,
  .rec-grid,
  .cards,
  .pillars,
  .net-points {
    grid-template-columns: 1fr;
  }

  .bento-card,
  .bento-span-6,
  .bento-span-8,
  .bento-span-3 {
    grid-column: span 12;
  }

  .author-card {
    grid-template-columns: 1fr;
  }

  #cta-sticky {
    left: 12px;
    right: 12px;
    bottom: 92px;
    justify-content: space-between;
    border-radius: var(--radius);
    padding: 10px 14px;
  }
}

@media (max-width: 600px) {
  .wrap {
    width: min(1200px, 100% - 28px);
  }

  .plans,
  .compact-plans,
  .device-grid,
  .two,
  .calc-kpis,
  .hero-metrics,
  .foot-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .clk b {
    font-size: 16.5px;
  }

  .isle-top span + span {
    display: none;
  }

  .est-form,
  .est-out,
  .calc-form,
  .calc-out {
    padding: 20px;
  }

  .wa-float {
    right: 12px;
    bottom: 12px;
    gap: 10px;
  }

  .wa-float .wa-pill {
    font-size: 13px;
    padding: 9px 15px;
  }

  .wa-float .wa-pill small {
    font-size: 10px;
  }

  .wa-float .wa-circ {
    width: 52px;
    height: 52px;
  }

  .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) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
