/* ==========================================================================
   IPTV CARAÏBES — PRO EDITORIAL BROADCAST MAGAZINE THEME
   Domain: https://iptv-caraibes.online/
   Architecture: Split Editorial Hero + Asymmetric Bento Grid + Dark Highlight Band + Compact Accordion FAQ
   ========================================================================== */

/* 01. Tokens & Reset
   ========================================================================== */
:root {
  --basalte: #17131f;
  --basalte-2: #211b2b;
  --basalte-3: #2a2235;
  --nuit: #0e0b14;
  --ink: #1d1a26;
  --ink-soft: #4b4456;
  --flamb: #e8452c;
  --flamb-d: #c9341e;
  --lagon: #0fb5ae;
  --lagon-d: #0a8a85;
  --canne: #a7c93a;
  --soleil: #ffd166;
  --coco: #fbf4e8;
  --coco2: #f3e7d2;
  --muted: #665f70;
  --line: #e7dccb;
  --line-dark: rgba(255, 255, 255, 0.12);
  --card: #ffffff;
  --wa: #25d366;
  --wa-hover: #2ee072;
  --r: 14px;
  --r-lg: 20px;
  --shadow: 0 22px 44px -22px rgba(23, 19, 31, 0.45);
  --shadow-lg: 0 34px 68px -30px rgba(14, 11, 20, 0.65);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space 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);
  color: var(--ink);
  background: var(--coco);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: clip;
}

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--lagon);
  outline-offset: 2px;
}

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

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 999;
  background: #fff;
  color: var(--basalte);
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* 02. Typography & Containers
   ========================================================================== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--basalte);
}

.mono {
  font-family: var(--font-mono);
}

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

section {
  padding: 88px 0;
  position: relative;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--flamb-d);
}

.kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lagon);
  box-shadow: 14px 0 0 var(--soleil);
  margin-right: 14px;
}

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

.sec-head h1 {
  font-size: clamp(32px, 4.6vw, 54px);
  margin: 14px 0 16px;
  letter-spacing: -0.035em;
}

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

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

.sec-head p a {
  font-weight: 700;
}

section[id],
.glossary-card[id],
.app-card[id],
.device-card[id] {
  scroll-margin-top: 96px;
}

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

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

/* Alternating Editorial Broadcast Bands */
.band-light {
  background: var(--coco);
}

.band-paper {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.night,
.band-dark {
  background: var(--basalte);
  color: #d9d3e2;
}

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

.night a,
.band-dark a,
.pricing .sec-head a,
.page-hero p a {
  color: var(--soleil);
  font-weight: 700;
}

.night a:hover,
.band-dark a:hover,
.pricing .sec-head a:hover,
.page-hero p a:hover {
  color: #fff;
}

.night a.btn,
.band-dark a.btn,
.pricing a.btn,
.page-hero a.btn {
  font-weight: 800;
}

.night a.btn-wa,
.band-dark a.btn-wa,
.pricing a.btn-wa,
.page-hero a.btn-wa {
  color: #04260f;
}

.night a.btn-flamb,
.band-dark a.btn-flamb,
.pricing a.btn-flamb,
.page-hero a.btn-flamb {
  color: #fff;
}

.night a.btn-line-light,
.band-dark a.btn-line-light,
.page-hero a.btn-line-light {
  color: #fff;
}

.night a.btn-line-light:hover,
.band-dark a.btn-line-light:hover,
.page-hero a.btn-line-light:hover {
  color: var(--basalte);
}

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

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

.band-nuit {
  background: var(--nuit);
  color: #d9d3e2;
}

.band-nuit h2,
.band-nuit h3 {
  color: #fff;
}

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

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

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

.btn-flamb {
  background: var(--flamb);
  color: #fff;
  box-shadow: 0 14px 28px -12px rgba(232, 69, 44, 0.75);
}

.btn-flamb:hover {
  background: var(--flamb-d);
  color: #fff;
}

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

.btn-wa:hover,
a.btn-wa:hover {
  background: var(--wa-hover);
  color: #04260f;
}

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

.btn-dark {
  background: var(--basalte);
  color: #fff;
}

.btn-dark:hover {
  background: #2a2433;
  color: #fff;
}

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

.btn-line:hover {
  background: var(--basalte);
  color: #fff;
}

.btn-line-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-line-light:hover {
  background: #fff;
  color: var(--basalte);
}

/* Badges & Chips */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--coco);
  border: 1px solid var(--line);
  color: var(--basalte);
}

.chip--lagon {
  background: rgba(15, 181, 174, 0.13);
  border-color: rgba(15, 181, 174, 0.35);
  color: var(--lagon-d);
}

.chip--flamb {
  background: rgba(232, 69, 44, 0.12);
  border-color: rgba(232, 69, 44, 0.3);
  color: var(--flamb-d);
}

.chip--soleil {
  background: var(--soleil);
  border-color: var(--soleil);
  color: var(--basalte);
}

.chip--dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #f3eff8;
}

/* Editorial Ruled Tables */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

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

.table-wrap th {
  background: var(--basalte);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  padding: 13px 16px;
}

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

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

.table-wrap--dark {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
}

.table-wrap--dark th {
  background: var(--nuit);
  color: var(--soleil);
}

.table-wrap--dark td {
  border-top-color: var(--line-dark);
  color: #e3ddec;
}

.table-wrap--dark tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.03);
}

/* 03. Header & Navigation
   ========================================================================== */
.ribbon-top {
  background: var(--flamb);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
  padding: 7px 14px;
  letter-spacing: 0.01em;
}

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

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 244, 232, 0.92);
  backdrop-filter: saturate(1.5) blur(12px);
  -webkit-backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--basalte);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.03em;
  flex: none;
}

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

.brand b {
  color: var(--flamb);
  font-weight: 800;
}

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

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

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

.nav .nav-cta {
  background: var(--basalte);
  color: #fff;
  margin-left: 8px;
  padding: 10px 16px;
}

.nav .nav-cta:hover,
.nav .nav-cta[aria-current="page"] {
  background: var(--flamb);
  color: #fff;
}

.burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--basalte);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
}

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

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14, 11, 20, 0.45);
  z-index: 45;
}

.nav-backdrop.open {
  display: block;
}

/* 04. Hero & Alternating Bands
   ========================================================================== */
.hero {
  background:
    radial-gradient(900px 520px at 100% 0%, rgba(15, 181, 174, 0.18), transparent 60%),
    radial-gradient(700px 480px at 0% 100%, rgba(232, 69, 44, 0.12), transparent 60%),
    var(--coco);
  padding: 68px 0 92px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 60px solid rgba(255, 209, 102, 0.22);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 52px;
  align-items: center;
  position: relative;
}

.hero h1 {
  font-size: clamp(36px, 5.4vw, 66px);
  margin: 18px 0 22px;
  letter-spacing: -0.04em;
}

.hero h1 .hl {
  position: relative;
  white-space: nowrap;
  color: var(--flamb);
}

.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.16em;
  background: var(--soleil);
  z-index: -1;
  border-radius: 4px;
}

.hero h1 small {
  display: block;
  font-size: 0.42em;
  letter-spacing: -0.01em;
  color: var(--lagon-d);
  margin-top: 10px;
  font-weight: 700;
}

.hero .lead {
  font-size: 19px;
  max-width: 590px;
  color: var(--ink-soft);
}

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

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

.trust li {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px 12px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13.5px;
  line-height: 1.25;
  color: var(--basalte);
  box-shadow: 0 10px 22px -18px rgba(23, 19, 31, 0.5);
}

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

/* Homepage Broadcast Postcard */
.postcard {
  position: relative;
  background: var(--basalte);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 40px 80px -36px rgba(23, 19, 31, 0.75);
  transform: rotate(1.1deg);
}

.postcard::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 28px;
  border: 2px dashed rgba(23, 19, 31, 0.18);
  transform: rotate(-2.2deg);
  pointer-events: none;
}

.pc-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #a59db1;
  padding: 0 4px 12px;
  letter-spacing: 0.06em;
}

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

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

.pc-map {
  border-radius: 14px;
  background: radial-gradient(circle at 70% 40%, #123d4a, #0c1d26 72%);
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

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

.flow {
  animation: svgdash 2.8s linear infinite;
}

@keyframes svgdash {
  to {
    stroke-dashoffset: -40;
  }
}

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

.pc-stats div {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 11px;
  padding: 10px 12px;
}

.pc-stats b {
  display: block;
  font-family: var(--font-display);
  color: #fff;
  font-size: 21px;
}

.pc-stats span {
  font-size: 12px;
  color: #a59db1;
}

.stamp {
  position: absolute;
  top: -22px;
  right: 18px;
  background: var(--soleil);
  color: var(--basalte);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 10px 14px;
  border-radius: 10px;
  transform: rotate(4deg);
  box-shadow: var(--shadow);
}

.stamp2 {
  position: absolute;
  bottom: -18px;
  left: 20px;
  background: var(--flamb);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 9px 14px;
  border-radius: 10px;
  transform: rotate(-3deg);
  box-shadow: var(--shadow);
}

/* Split Editorial Subpage Hero (Landing Pages & Local Hubs) */
.page-hero {
  background:
    radial-gradient(800px 420px at 96% -10%, rgba(232, 69, 44, 0.3), transparent 60%),
    radial-gradient(700px 380px at 0% 115%, rgba(15, 181, 174, 0.25), transparent 60%),
    var(--basalte);
  color: #d9d3e2;
  padding: 54px 0 68px;
  position: relative;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--flamb) 0 25%, var(--soleil) 25% 50%, var(--canne) 50% 75%, var(--lagon) 75%);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.6vw, 54px);
  margin: 14px 0 18px;
  letter-spacing: -0.035em;
}

.page-hero .lead {
  font-size: 18.5px;
  color: #d2cbe0;
  max-width: 64ch;
}

.page-hero .kicker {
  color: var(--soleil);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 24px;
}

.hero-panel-head {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soleil);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.hero-kpi {
  background: rgba(14, 11, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 14px;
}

.hero-kpi b {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  color: #fff;
  line-height: 1.1;
}

.hero-kpi span {
  display: block;
  font-size: 12.5px;
  color: #b3abbf;
  margin-top: 4px;
}

/* Cinema Showcase & Poster Carousel */
.cine {
  background: var(--nuit);
  color: #d9d3e2;
}

.cine .sec-head h2 {
  color: #fff;
}

.cine .sec-head p {
  color: #b3abbf;
}

.cine .kicker {
  color: var(--soleil);
}

.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 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--soleil) rgba(255, 255, 255, 0.08);
}

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

.poster-carousel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

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

.poster-carousel li {
  flex: 0 0 clamp(200px, 26vw, 290px);
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  background: #0b1c14;
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s 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.4s 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, 0.92), 0 0 0 2px var(--soleil);
}

.poster-carousel li:hover img {
  transform: scale(1.06);
}

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

.genre {
  grid-column: span 2;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 310px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  isolation: isolate;
  transition: transform 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.genre:nth-child(1),
.genre:nth-child(2) {
  grid-column: span 3;
  min-height: 340px;
}

.genre:nth-child(6) {
  grid-column: span 6;
  min-height: 250px;
}

.genre:hover {
  transform: translateY(-6px);
}

.genre::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.genre--action::before {
  background: linear-gradient(135deg, #e8452c, #a3221a 55%, #2b0a08);
}

.genre--thriller::before {
  background: linear-gradient(135deg, #2c2a48, #15142a 60%, #07060d);
}

.genre--scifi::before {
  background: linear-gradient(135deg, #4b1d7a, #1e2a6e 50%, #17131f);
}

.genre--anim::before {
  background: linear-gradient(135deg, #ffb347, #ff7a59 50%, #c4426e);
}

.genre--doc::before {
  background: linear-gradient(135deg, #0fb5ae, #0b6f78 55%, #082a33);
}

.genre--carib::before {
  background: linear-gradient(135deg, #ffd166, #f08a4b 50%, #3e8a3a);
}

.genre::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 28%, rgba(10, 7, 14, 0.88));
}

.genre .art {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.genre .art svg {
  width: 100%;
  height: 100%;
}

.genre .badges {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.genre .badges span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(14, 11, 20, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 9px;
  border-radius: 6px;
}

.genre .badges span.hi {
  background: var(--soleil);
  color: var(--basalte);
  border-color: var(--soleil);
}

.genre .num {
  position: absolute;
  right: 20px;
  top: 54px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
}

.genre h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 6px;
}

.genre p {
  font-size: 15px;
  color: #e4dfea;
  max-width: 46ch;
}

.cine-note {
  margin: 0 0 40px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: #a59db1;
  font-size: 15px;
}

.cine-note svg {
  width: 22px;
  height: 22px;
  flex: none;
}

/* Performance & Stats */
.perf {
  background: var(--coco);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--basalte);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 46px;
  box-shadow: var(--shadow);
}

.stat {
  padding: 30px 22px;
  text-align: center;
  position: relative;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.7vw, 46px);
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

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

.stat small {
  display: block;
  margin-top: 6px;
  font-weight: 700;
  color: #c4bccf;
  font-size: 15px;
}

.stat:nth-child(1) {
  border-bottom: 5px solid var(--flamb);
}

.stat:nth-child(2) {
  border-bottom: 5px solid var(--soleil);
}

.stat:nth-child(3) {
  border-bottom: 5px solid var(--canne);
}

.stat:nth-child(4) {
  border-bottom: 5px solid var(--lagon);
}

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

.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  border-top: 6px solid var(--lagon);
}

.pillar--lagon {
  border-top-color: var(--lagon);
}

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

.pillar--lagon li::before {
  background: var(--lagon);
}

.pillar--flamb {
  border-top-color: var(--flamb);
}

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

.pillar--flamb li::before {
  background: var(--flamb);
}

.pillar--soleil {
  border-top-color: var(--soleil);
}

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

.pillar--soleil li::before {
  background: var(--soleil);
}

.pillar--canne {
  border-top-color: var(--canne);
}

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

.pillar--canne li::before {
  background: var(--canne);
}

.pillar .ico {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transform: rotate(-4deg);
}

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

.pillar h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.pillar p {
  color: var(--muted);
  font-size: 16px;
}

.pillar ul {
  margin-top: 16px;
  list-style: none;
  display: grid;
  gap: 7px;
  font-size: 15px;
  font-weight: 700;
}

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

.pillar li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
}

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

.isp-chips span {
  font-size: 12.5px;
  font-weight: 800;
  background: var(--coco);
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: 6px;
}

/* 05. Pricing Plans & Cards
   ========================================================================== */
.pricing {
  background: var(--basalte);
  color: #d9d3e2;
  overflow: hidden;
}

.pricing::before {
  content: "";
  position: absolute;
  left: -160px;
  bottom: -160px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 181, 174, 0.28), transparent 70%);
  pointer-events: none;
}

.pricing .sec-head h1,
.pricing .sec-head h2 {
  color: #fff;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 209, 102, 0.35);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.rating-pill b {
  color: var(--soleil);
}

.pricing .sec-head p {
  color: #b3abbf;
}

.pricing .kicker {
  color: var(--soleil);
}

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

.plan {
  background: var(--basalte-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s, border-color 0.25s;
}

.plan:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 209, 102, 0.45);
}

.plan h2,
.plan h3 {
  font-size: 20px;
  color: #fff;
}

.plan .per {
  color: #a59db1;
  font-size: 14px;
  font-weight: 700;
}

.plan .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 56px;
  color: #fff;
  letter-spacing: -0.045em;
  margin: 16px 0 2px;
  line-height: 1;
}

.plan .price small {
  font-size: 26px;
  letter-spacing: 0;
  margin-left: 4px;
  color: var(--soleil);
}

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

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

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

.plan li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 5px;
  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: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

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

.plan.hot,
.plan--featured {
  background: var(--coco);
  color: var(--ink);
  border: 3px solid var(--soleil);
  transform: scale(1.03);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.7);
}

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

.plan.hot h2,
.plan.hot h3,
.plan.hot .price,
.plan--featured h2,
.plan--featured h3,
.plan--featured .price {
  color: var(--basalte);
}

.plan.hot .per,
.plan--featured .per {
  color: var(--muted);
}

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

.plan.hot .eq,
.plan--featured .eq {
  color: var(--lagon-d);
}

.ribbon {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--flamb);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 15px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 10px 20px -8px rgba(232, 69, 44, 0.8);
}

.pay-row {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  justify-content: center;
  align-items: center;
  color: #c4bccf;
  font-weight: 700;
  font-size: 15px;
  position: relative;
}

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

.pay-row svg {
  width: 22px;
  height: 22px;
}

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

.card-logos i {
  font-style: normal;
  font-weight: 900;
  font-size: 13px;
  padding: 6px 11px;
  border-radius: 7px;
  background: #fff;
  color: #1a1f71;
}

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

/* Guarantee Strip */
.guarantee-band {
  background: #fff;
  border: 2px solid var(--basalte);
  border-radius: 20px;
  padding: 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
}

.guarantee-badge {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: var(--basalte);
  color: var(--soleil);
  display: grid;
  place-items: center;
  flex: none;
}

.guarantee-badge svg {
  width: 34px;
  height: 34px;
}

.guarantee-band h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.guarantee-band p {
  color: var(--ink-soft);
  font-size: 16px;
}

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

.bento-card {
  grid-column: span 4;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

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

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

.bento-card--full {
  grid-column: span 12;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.bento-card--full .bento-full-copy {
  flex: 1 1 420px;
  display: grid;
  gap: 10px;
}

.bento-card--full .bento-full-copy .chip {
  justify-self: start;
}

.bento-card p a,
.bento-card .chip-row a,
.acard p a,
.device-card p a,
.app-card p a,
.glossary-card p a,
.isp-card p a,
.pillar p a,
.pillar li a,
.step p a,
.faq .ans a,
.faq-list .ans a,
.legal a,
.author-card p a,
.guarantee-band p a {
  font-weight: 700;
  text-decoration-thickness: 1.5px;
}

.bento-card p a,
.bento-card .chip-row a,
.acard p a {
  position: relative;
  z-index: 2;
}

.card-spec-meta a {
  font-weight: 800;
  text-decoration: none;
  margin-top: 4px;
}

.card-spec-meta a:hover {
  text-decoration: underline;
}

.bento-card--feature {
  grid-column: span 6;
  background: var(--basalte);
  color: #d9d3e2;
  border-color: rgba(255, 255, 255, 0.12);
}

.bento-card--feature h3,
.bento-card--feature h2 {
  color: #fff;
}

.bento-card--feature p {
  color: #b8b0c4;
}

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

.bento-card--accent {
  border-top: 5px solid var(--flamb);
}

.bento-card--lagon {
  border-top: 5px solid var(--lagon);
}

.bento-card--soleil {
  border-top: 5px solid var(--soleil);
}

.bento-card--canne {
  border-top: 5px solid var(--canne);
}

.bento-card h3 {
  font-size: 21px;
  line-height: 1.2;
}

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

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

.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* Device & App Icon Cards */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

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

.device-card,
.app-card,
.glossary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.device-card:hover,
.app-card:hover,
.glossary-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--flamb);
}

.device-card.is-hidden {
  display: none;
}

.device-icon,
.app-icon {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  flex: none;
}

.device-icon {
  background: var(--basalte);
  color: var(--soleil);
}

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

.app-icon svg {
  width: 58px;
  height: 58px;
  border-radius: 14px;
}

.device-card h2,
.device-card h3,
.app-card h2,
.app-card h3,
.glossary-card h2,
.glossary-card h3 {
  font-size: 21px;
  line-height: 1.2;
}

.device-card p,
.app-card p,
.glossary-card p {
  font-size: 15.5px;
  color: var(--muted);
}

.card-spec-meta {
  font-size: 14px;
  color: var(--ink);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  margin-top: auto;
  display: grid;
  gap: 5px;
}

.card-spec-meta b {
  color: var(--basalte);
}

/* Setup Steps & Credentials */
.setup {
  background: #fff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: s;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 27px;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--flamb) 0 10px, transparent 10px 18px);
}

.step {
  padding: 0 14px;
  position: relative;
}

.step::before {
  counter-increment: s;
  content: counter(s);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  background: var(--basalte);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 5px solid #fff;
  box-shadow: 0 0 0 3px var(--flamb);
  position: relative;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

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

.step code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: var(--coco);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 5px;
  color: var(--basalte);
  word-break: break-all;
}

.creds {
  margin-top: 34px;
  background: var(--nuit);
  color: #d0c9da;
  border-radius: 16px;
  padding: 22px 26px;
  font-family: var(--font-mono);
  font-size: 14px;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 10px 30px;
  justify-content: start;
}

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

.devices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.devices span,
.devices a {
  font-weight: 700;
  font-size: 14.5px;
  background: var(--coco);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 9px;
  color: var(--basalte);
  text-decoration: none;
}

.devices a:hover {
  border-color: var(--flamb);
  color: var(--flamb-d);
}

/* Network Topology Band */
.net-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
}

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

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

.rtt-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

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

.rtt th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soleil);
  font-weight: 700;
}

.rtt td b {
  color: #fff;
}

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

.bar--45 { width: 45px; }
.bar--57 { width: 57px; }
.bar--60 { width: 60px; }
.bar--82 { width: 82px; }
.bar--110 { width: 110px; }

.rtt-note {
  margin-top: 16px;
  font-size: 14px;
  color: #a59db1;
}

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

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

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

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

/* Author Profile & Lab Cards */
.author-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
  box-shadow: var(--shadow);
}

.author-avatar {
  width: 112px;
  height: 112px;
  border-radius: 24px;
  flex: none;
  box-shadow: 0 18px 34px -18px rgba(23, 19, 31, 0.65);
}

.author-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 18px;
}

/* Local ISP Scorecard */
.isp-scorecard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.isp-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  border-top: 5px solid var(--lagon);
}

.isp-card--alt {
  border-top-color: var(--flamb);
}

.isp-card--sun {
  border-top-color: var(--soleil);
}

.isp-card h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.isp-metric {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--lagon-d);
  margin-bottom: 10px;
}

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

/* Order / Conversion Band */
.order {
  background: linear-gradient(115deg, var(--flamb) 0%, #d23a48 45%, var(--basalte) 100%);
  color: #ffe9e3;
  text-align: center;
  padding: 82px 0;
}

.order h2 {
  color: #fff;
  font-size: clamp(30px, 4.4vw, 50px);
  margin-bottom: 14px;
}

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

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

.order .btn-dark {
  background: #fff;
  color: var(--basalte);
}

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

/* 07. Interactive Calculator & Filters
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-status {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lagon-d);
  margin-bottom: 24px;
}

.calc-cta-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.calc-cta-row .btn {
  flex: 1 1 180px;
}

.filter-pill,
.jump-pill {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14.5px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--basalte);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-pill:hover,
.jump-pill:hover {
  border-color: var(--flamb);
  color: var(--flamb-d);
}

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

.speed {
  background: #fff;
}

.est {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.est-form {
  background: var(--coco);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
}

.field {
  margin-bottom: 22px;
}

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

.field label,
.field .lbl {
  display: block;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 9px;
  color: var(--basalte);
}

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

.isp-tabs button {
  font: inherit;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 10px;
  border-radius: 10px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

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

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

.isp-tabs button[aria-pressed="true"] small {
  color: #ffe1da;
}

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

.range-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted);
  font-family: var(--font-mono);
}

.val {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--flamb);
}

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

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

.est-out {
  background: var(--basalte);
  color: #d9d3e2;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.meter {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 4px;
  height: 70px;
  align-items: end;
  margin: 4px 0 14px;
}

.meter i {
  display: block;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
}

.meter i:nth-child(1) { height: 30%; }
.meter i:nth-child(2) { height: 33%; }
.meter i:nth-child(3) { height: 37%; }
.meter i:nth-child(4) { height: 41%; }
.meter i:nth-child(5) { height: 44%; }
.meter i:nth-child(6) { height: 48%; }
.meter i:nth-child(7) { height: 52%; }
.meter i:nth-child(8) { height: 55%; }
.meter i:nth-child(9) { height: 59%; }
.meter i:nth-child(10) { height: 63%; }
.meter i:nth-child(11) { height: 66%; }
.meter i:nth-child(12) { height: 70%; }
.meter i:nth-child(13) { height: 74%; }
.meter i:nth-child(14) { height: 77%; }
.meter i:nth-child(15) { height: 81%; }
.meter i:nth-child(16) { height: 85%; }
.meter i:nth-child(17) { height: 88%; }
.meter i:nth-child(18) { height: 92%; }
.meter i:nth-child(19) { height: 96%; }
.meter i:nth-child(20) { height: 100%; }

.meter i.on {
  background: var(--lagon);
}

.meter i.on.mid {
  background: var(--soleil);
}

.meter i.on.bad {
  background: #ff7a62;
}

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

.pct b {
  font-family: var(--font-display);
  font-size: 44px;
  color: #fff;
  line-height: 1;
}

.pct span {
  font-size: 13.5px;
  color: #a59db1;
}

.verdict {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  margin: 12px 0 16px;
}

.verdict.ok {
  color: var(--lagon);
}

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

.verdict.bad {
  color: #ff7a62;
}

.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: #fff;
  text-align: right;
}

.tip {
  background: rgba(15, 181, 174, 0.14);
  border-left: 3px solid var(--lagon);
  padding: 12px 14px;
  border-radius: 0 10px 10px 0;
  font-size: 14.5px;
  margin-top: auto;
}

/* Dedicated Calculator Grid Results */
.calc-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

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

.calc-metric-box span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b3abbf;
  margin-bottom: 6px;
}

.calc-metric-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: #fff;
  line-height: 1.1;
}

.calc-metric-box--accent strong {
  color: var(--soleil);
}

.calc-metric-box--lagon strong {
  color: var(--lagon);
}

/* 08. Editorial Articles, FAQ Accordions & Legal
   ========================================================================== */
.guides {
  background: var(--coco);
}

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

.acard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.acard::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--flamb);
}

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

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

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

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

.cat {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--basalte);
  color: #fff;
  padding: 5px 9px;
  border-radius: 6px;
}

.rt {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--flamb-d);
  letter-spacing: 0.08em;
}

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

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

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

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

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

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

/* FAQ Accordions */
.faq {
  background: var(--coco);
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list--full {
  max-width: none;
}

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

.faq-group:last-child {
  margin-bottom: 0;
}

.faq-group-title {
  font-size: 26px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--basalte);
}

.faq details,
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

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

.faq summary,
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--basalte);
  padding: 19px 44px 19px 0;
  position: relative;
}

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

.faq summary::after,
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--flamb);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
}

.faq details[open] summary::after,
.faq-list details[open] summary::after {
  content: "−";
  background: var(--lagon);
}

.faq .ans,
.faq-list .ans {
  padding: 0 0 20px;
  color: var(--ink-soft);
  font-size: 16px;
}

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

/* Editorial Articles & Legal Layout */
.crumbs {
  font-size: 14px;
  color: #b3abbf;
  margin-bottom: 18px;
}

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

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

.a-hero {
  background:
    radial-gradient(800px 380px at 95% -10%, rgba(232, 69, 44, 0.32), transparent 60%),
    radial-gradient(700px 360px at 0% 120%, rgba(15, 181, 174, 0.25), transparent 60%),
    var(--basalte);
  color: #d9d3e2;
  padding: 54px 0 64px;
  position: relative;
}

.a-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--flamb) 0 25%, var(--soleil) 25% 50%, var(--canne) 50% 75%, var(--lagon) 75%);
}

.a-hero h1 {
  color: #fff;
  font-size: clamp(30px, 4.5vw, 52px);
  max-width: 940px;
  margin: 14px 0 18px;
  letter-spacing: -0.035em;
}

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

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

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

.a-meta strong {
  color: #fff;
}

.a-meta a {
  color: var(--soleil);
  font-weight: 700;
  text-decoration: none;
}

.a-meta a:hover {
  text-decoration: underline;
}

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

.toc {
  position: sticky;
  top: 94px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 20px 16px;
  font-size: 14.5px;
  border-top: 5px solid var(--flamb);
}

.toc b {
  font-family: var(--font-mono);
  font-size: 12px;
  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(--flamb);
}

.toc a.btn {
  color: #fff;
}

.toc .btn {
  width: 100%;
  margin-top: 16px;
  font-size: 14.5px;
  padding: 12px 14px;
}

article.post {
  max-width: 770px;
  font-size: 18px;
}

article.post .lede {
  font-size: 20px;
  color: #3b3546;
  margin-bottom: 26px;
}

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

article.post h3 {
  font-size: 21px;
  margin: 30px 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: var(--font-mono);
  font-size: 0.8em;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
  word-break: break-word;
}

.callout {
  background: rgba(15, 181, 174, 0.1);
  border-left: 4px solid var(--lagon);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 22px 0;
  font-size: 16.5px;
}

.callout.warn {
  background: rgba(232, 69, 44, 0.08);
  border-left-color: var(--flamb);
}

.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: #04260f;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
}

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

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

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

.a-faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17.5px;
  color: var(--basalte);
  padding: 16px 0;
  list-style: none;
}

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

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

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

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

.a-cta {
  margin: 46px 0 0;
  background: var(--basalte);
  color: #d9d3e2;
  border-radius: 18px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  border-left: 8px solid var(--flamb);
}

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

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

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

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

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

.author {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}

.related {
  background: #fff;
  padding: 64px 0;
}

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

.related .acard {
  background: var(--coco);
}

.hub-grid {
  padding: 44px 0 90px;
}

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

.legal h2 {
  font-size: 24px;
  margin: 34px 0 10px;
}

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

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

/* 09. Footer, Sticky CTA & WhatsApp
   ========================================================================== */
.foot {
  background: var(--nuit);
  color: #a59db1;
  padding: 66px 0 130px;
  font-size: 15px;
  position: relative;
}

.foot::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--flamb) 0 25%, var(--soleil) 25% 50%, var(--canne) 50% 75%, var(--lagon) 75%);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}

.foot h4,
.foot .foot-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 15.5px;
  margin-bottom: 14px;
  letter-spacing: 0;
  line-height: 1.2;
}

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

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

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

.foot .brand {
  color: #fff;
  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: #fff;
  color: var(--basalte);
  font-weight: 800;
  font-size: 12.5px;
  padding: 6px 10px;
  border-radius: 7px;
}

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

/* Floating Sticky CTA Bar (non-homepage pages) */
#cta-sticky {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(23, 19, 31, 0.96);
  color: #fff;
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 20px 44px -16px rgba(14, 11, 20, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.cta-sticky-copy {
  line-height: 1.25;
}

.cta-sticky-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15.5px;
  color: #fff;
}

.cta-sticky-copy span {
  font-size: 12.5px;
  color: #c7bfd4;
}

/* Sticky WhatsApp Pill */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  filter: drop-shadow(0 14px 26px rgba(14, 11, 20, 0.45));
  transition: transform 0.25s;
}

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

.wa-float .wa-pill {
  position: relative;
  display: block;
  background: var(--wa);
  color: #03230d;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.35;
  padding: 12px 22px;
  border-radius: 999px;
  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: 11.5px;
  opacity: 0.8;
  letter-spacing: 0.02em;
}

.wa-float .wa-pill::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  width: 15px;
  height: 15px;
  background: var(--wa);
  border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
}

.wa-float .wa-circ {
  position: relative;
  flex: none;
  width: 60px;
  height: 60px;
  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: 32px;
  height: 32px;
  fill: #fff;
}

.wa-float:hover .wa-pill,
.wa-float:hover .wa-pill::after {
  background: var(--wa-hover);
}

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

/* 10. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }
  .plan.hot,
  .plan--featured {
    transform: none;
  }
  .plan.hot:hover,
  .plan--featured:hover {
    transform: translateY(-5px);
  }
  .icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .icon-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 28px 0;
  }
  .steps::before {
    display: none;
  }
  .creds {
    grid-template-columns: 1fr 1fr;
  }
  .bento-card {
    grid-column: span 6;
  }
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .postcard {
    transform: none;
    margin-top: 16px;
  }
  .a-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .toc {
    position: static;
  }
  .cards,
  .isp-scorecard {
    grid-template-columns: 1fr 1fr;
  }
  .cine-grid {
    grid-template-columns: 1fr 1fr;
  }
  .genre,
  .genre:nth-child(1),
  .genre:nth-child(2),
  .genre:nth-child(6) {
    grid-column: span 1;
    min-height: 280px;
  }
  .net-grid,
  .net-points,
  .est {
    grid-template-columns: 1fr;
  }
  .burger {
    display: block;
  }
  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--coco);
    padding: 12px 20px 20px;
    gap: 4px;
    display: none;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 55;
  }
  .nav.open {
    display: flex;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav a {
    padding: 12px 14px;
  }
  .nav .nav-cta {
    margin: 8px 0 0;
    text-align: center;
  }
}

@media (max-width: 960px) {
  #cta-sticky {
    max-width: calc(100vw - 360px);
    gap: 10px;
    padding: 10px 14px;
  }
  .cta-sticky-copy span {
    display: none;
  }
}

@media (max-width: 900px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat:nth-child(3)::before {
    display: none;
  }
  .pillars {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .guarantee-band {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .author-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  section {
    padding: 68px 0;
  }
  .trust {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card,
  .bento-card--wide,
  .bento-card--feature,
  .bento-card--full {
    grid-column: span 12;
  }
  .bento-card--full {
    flex-direction: column;
    align-items: flex-start;
  }
  .icon-grid,
  .icon-grid--2,
  .icon-grid--3,
  .cards,
  .isp-scorecard {
    grid-template-columns: 1fr;
  }
  #cta-sticky {
    max-width: none;
    left: 12px;
    right: 12px;
    bottom: 92px;
    justify-content: space-between;
  }
  .cta-sticky-copy span {
    display: block;
  }
}

@media (max-width: 600px) {
  .plans,
  .steps,
  .creds,
  .cine-grid,
  .foot-grid,
  .calc-metrics,
  .two {
    grid-template-columns: 1fr;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .hero h1 .hl {
    white-space: normal;
  }
  article.post {
    font-size: 17px;
  }
  .wa-float {
    right: 12px;
    bottom: 12px;
    gap: 12px;
  }
  .wa-float .wa-pill {
    font-size: 13.5px;
    padding: 9px 16px;
  }
  .wa-float .wa-pill small {
    font-size: 10.5px;
  }
  .wa-float .wa-circ {
    width: 54px;
    height: 54px;
  }
  .wa-float .wa-circ svg {
    width: 28px;
    height: 28px;
  }
  #cta-sticky {
    bottom: 76px;
    padding: 10px 14px;
  }
}

@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;
  }
}
