/* ==========================================================================
   IPTV Brazzaville — Pro Theme Stylesheet
   Archetype: Centered Clean Hero + 3-Col Icon Card Grid + Contrasting Strip
   Personality: Sleek Tech Hardware Lab (tonal borders, spec-chips, 12-col)
   ========================================================================== */

/* 01. Tokens & Reset */
:root {
  --abysse: #0b2a24;
  --abysse-2: #123d34;
  --nuit: #071c18;
  --ink: #17312b;
  --lagon: #12a150;
  --lagon-d: #0b7a3b;
  --lagon-l: #dff4e6;
  --flam: #d9342b;
  --flam-d: #b0231b;
  --flam-l: #fde4e1;
  --saline: #e8a33d;
  --soleil: #fbd843;
  --sable: #faf6ee;
  --sable2: #f1e8d6;
  --paper: #ffffff;
  --muted: #5a6a63;
  --line: #e4d9c3;
  --line-dark: rgba(255, 255, 255, 0.12);
  --wa: #25d366;
  --wa-dark: #04260f;
  --shadow: 0 26px 50px -26px rgba(7, 28, 24, 0.55);
  --shadow-sm: 0 12px 26px -18px rgba(7, 28, 24, 0.42);
  --radius-lab: 22px 6px 22px 6px;
  --radius-card: 26px 6px 26px 6px;
  --radius-pill: 999px;
}

*,
*::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: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--sable);
  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;
}

h1,
h2,
h3,
h4 {
  font-family: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--abysse);
}

/* 02. Typography & Containers */
.wrap {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}

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

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 99;
  background: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Figtree", sans-serif;
  font-weight: 800;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: 24px 7px 24px 7px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-radius 0.3s;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-2px);
  border-radius: 7px 24px 7px 24px;
}

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

.btn-flam {
  background: var(--flam);
  color: #fff;
  box-shadow: 0 14px 28px -12px rgba(217, 52, 43, 0.7);
}

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

.btn-lagon {
  background: var(--lagon);
  color: var(--nuit);
  box-shadow: 0 14px 28px -12px rgba(18, 161, 80, 0.6);
}

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

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

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

.btn-dark:hover {
  background: var(--abysse-2);
}

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

.btn-outline:hover {
  background: var(--abysse);
  color: #fff;
}

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

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

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

.sec-tight {
  padding: 64px 0;
}

.sec-sand {
  background: var(--sable);
}

.sec-cream {
  background: var(--sable2);
}

.sec-white {
  background: var(--paper);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "DM Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--flam-d);
}

.kicker .n {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 24px;
  padding: 0 7px;
  border-radius: 12px 3px 12px 3px;
  background: var(--flam);
  color: #fff;
  letter-spacing: 0;
  font-size: 11.5px;
}

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

.sec-head h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  margin: 14px 0 16px;
}

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

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

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

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

.night {
  background: var(--abysse);
  color: #b9cfc5;
}

.night h2,
.night h3 {
  color: #fff;
}

.night .sec-head p {
  color: #98b3a8;
}

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

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

.night .sec-head h2 em {
  color: var(--lagon);
}

/* Accessible high-contrast prose links on dark surfaces */
.night a:not(.btn):not(.hub-tile):not(.local-card),
.contrast-strip a:not(.btn),
.calc-readout a:not(.btn),
.est-out a:not(.btn),
.monogram-box a:not(.btn),
.a-cta a:not(.btn),
.pillar a:not(.btn),
.plan.hot a:not(.btn),
.plan--featured a:not(.btn) {
  color: var(--soleil);
  text-decoration-color: rgba(251, 216, 67, 0.55);
}

.night a:not(.btn):not(.hub-tile):not(.local-card):hover,
.contrast-strip a:not(.btn):hover,
.calc-readout a:not(.btn):hover,
.est-out a:not(.btn):hover,
.monogram-box a:not(.btn):hover,
.a-cta a:not(.btn):hover,
.pillar a:not(.btn):hover,
.plan.hot a:not(.btn):hover,
.plan--featured a:not(.btn):hover {
  color: #fff;
  text-decoration-color: #fff;
}

/* Elevated glass cards inside dark .night bands (e.g. /applications/ device-to-app band) */
.night .pillar {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 44px -28px rgba(0, 0, 0, 0.75);
}

.night .pillar p {
  color: #c8ded5;
}

.tide {
  height: 12px;
  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);
}

.spec-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.spec-strip--center {
  justify-content: center;
}

.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "DM Mono", monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 8px 2px 8px 2px;
  background: var(--lagon-l);
  color: var(--abysse);
  border: 1px solid rgba(11, 122, 59, 0.22);
}

.spec-chip--dark {
  background: rgba(255, 255, 255, 0.07);
  color: #dff4e6;
  border-color: rgba(255, 255, 255, 0.16);
}

.spec-chip--gold {
  background: var(--soleil);
  color: var(--abysse);
  border-color: transparent;
  font-weight: 500;
}

.spec-chip--flam {
  background: var(--flam-l);
  color: var(--flam-d);
  border-color: rgba(217, 52, 43, 0.22);
}

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

.span-4 {
  grid-column: span 4;
}

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

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

.span-12 {
  grid-column: span 12;
}

.mt-16 {
  margin-top: 16px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-32 {
  margin-top: 32px;
}

.mt-36 {
  margin-top: 36px;
}

.p-0 {
  padding: 0;
}

.note-muted {
  margin-top: 14px;
  font-size: 13.5px;
  color: #6f8e82;
}

.hero-sub {
  max-width: 720px;
  font-size: 18px;
}

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

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

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

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.94);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px dashed #d8cbb3;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--abysse);
  text-decoration: none;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

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

.brand b {
  color: var(--flam);
  font-weight: 600;
  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: 999px;
  transition: background 0.2s, color 0.2s;
  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: #fff;
  margin-left: 8px;
  padding: 10px 18px;
  border-radius: 22px 6px 22px 6px;
}

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

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

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

/* 04. Hero & Alternating Bands */
.hero {
  background:
    radial-gradient(900px 520px at 100% -5%, rgba(18, 161, 80, 0.16), transparent 60%),
    radial-gradient(700px 460px at -8% 105%, rgba(217, 52, 43, 0.14), transparent 60%),
    var(--sable);
  padding: 68px 0 96px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 60px, rgba(10, 38, 51, 0.035) 60px 61px);
  pointer-events: none;
}

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

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

.hero h1 {
  font-size: clamp(38px, 5.4vw, 72px);
  margin: 18px 0 22px;
  line-height: 1.02;
  font-weight: 800;
}

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

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

.hero .lead {
  font-size: 19px;
  max-width: 610px;
  color: #33505a;
}

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

.hero-ctas--center {
  justify-content: center;
}

.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: #fff;
  border: 1px solid var(--line);
  padding: 14px 12px;
  border-radius: 18px 5px 18px 5px;
  font-weight: 800;
  font-size: 13.5px;
  line-height: 1.25;
  color: var(--abysse);
  box-shadow: 0 10px 22px -18px rgba(7, 28, 24, 0.5);
}

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

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

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

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

.isle {
  position: relative;
  background: linear-gradient(165deg, var(--abysse-2) 0%, var(--abysse) 60%, #061820 100%);
  border-radius: 34px 8px 34px 8px;
  padding: 20px;
  color: #c7dde0;
  box-shadow: 0 40px 80px -36px rgba(7, 28, 24, 0.85);
}

.isle-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "DM Mono", monospace;
  font-size: 11.5px;
  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;
  }
}

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

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

.isle-map {
  border-radius: 22px 6px 22px 6px;
  background: radial-gradient(circle at 55% 55%, rgba(18, 161, 80, 0.22), 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: 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

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

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

.clk b {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 21px;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.02em;
}

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

.chip-a {
  position: absolute;
  top: -16px;
  right: 24px;
  background: var(--soleil);
  color: var(--abysse);
  font-family: "DM Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 9px 14px;
  border-radius: 14px 4px 14px 4px;
  box-shadow: var(--shadow);
  transform: rotate(2.5deg);
}

.chip-b {
  position: absolute;
  bottom: -15px;
  left: 24px;
  background: var(--flam);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 14px 4px 14px 4px;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

/* Centered Tech Hardware Lab Hero (Pillar & Local Pages) */
.lab-hero {
  background:
    radial-gradient(800px 380px at 90% -15%, rgba(217, 52, 43, 0.24), transparent 60%),
    radial-gradient(760px 360px at 8% 115%, rgba(18, 161, 80, 0.34), transparent 60%),
    linear-gradient(165deg, var(--abysse-2) 0%, var(--abysse) 55%, var(--nuit) 100%);
  color: #c8dcd3;
  padding: 58px 0 74px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.lab-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.lab-hero .wrap {
  position: relative;
  z-index: 1;
}

.lab-hero .crumbs {
  justify-content: center;
}

.lab-hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.8vw, 56px);
  max-width: 880px;
  margin: 16px auto 18px;
  font-weight: 800;
}

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

.lab-hero .lead {
  max-width: 740px;
  margin: 0 auto 24px;
  font-size: 18.5px;
  color: #c1d8ce;
}

.lab-hero .tide {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--sable);
  -webkit-mask: radial-gradient(circle at 10px 14px, transparent 9px, #000 9.5px) 0 0 / 20px 14px repeat-x;
  mask: radial-gradient(circle at 10px 14px, transparent 9px, #000 9.5px) 0 0 / 20px 14px repeat-x;
}

/* Contrasting Feature Strip */
.contrast-strip {
  background: linear-gradient(155deg, var(--abysse-2), var(--abysse) 65%, var(--nuit));
  color: #c2d7ce;
  border-radius: 30px 8px 30px 8px;
  padding: 36px 34px;
  border: 1px solid rgba(251, 216, 67, 0.25);
  box-shadow: var(--shadow);
}

.contrast-strip h2,
.contrast-strip h3 {
  color: #fff;
}

.contrast-strip--split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

/* Cinema 4K Showcase & Poster Carousel */
#cinema {
  background: var(--abysse);
  color: #b8cfd3;
  padding: 96px 0;
  --accent: var(--soleil);
}

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

.eyebrow {
  display: inline-block;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--abysse);
  background: var(--soleil);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 500;
}

#cinema .h2 {
  color: #fff;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.06;
  margin: 16px 0 14px;
}

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

#cinema .sub {
  color: #98b3a8;
  font-size: 18px;
}

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

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

.poster-carousel::-webkit-scrollbar-thumb {
  background: var(--accent, #fbd843);
  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(--accent, #fbd843);
}

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

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

.ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fbf5ea;
  color: var(--ink);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.ticket:hover {
  transform: translateY(-6px) rotate(-0.6deg);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.85);
}

.t-art {
  position: relative;
  height: 130px;
  overflow: hidden;
}

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

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

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

.t-art--anim {
  background: linear-gradient(135deg, #fbd843, #e8a33d 50%, #d9342b);
}

.t-art--doc {
  background: linear-gradient(135deg, #12a150, #0b7a3b 50%, #0a2e22);
}

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

.t-art .res {
  position: absolute;
  left: 14px;
  top: 12px;
  font-family: "DM Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  background: rgba(7, 28, 24, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 4px 8px;
  border-radius: 8px 3px 8px 3px;
}

.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.12em;
}

.t-tear {
  position: relative;
  height: 22px;
  background: #fbf5ea;
}

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

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

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

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

.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: 10px;
  letter-spacing: 0.08em;
  color: #8a9a92;
}

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

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

.c-tags span {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--abysse);
  background: var(--lagon-l);
  padding: 4px 8px;
  border-radius: 8px 2px 8px 2px;
}

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

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

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

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px 6px 26px 6px;
  padding: 28px 22px 46px;
  position: relative;
  overflow: hidden;
  --c: var(--lagon);
}

.stat--flam {
  --c: var(--flam);
}

.stat--lagon {
  --c: var(--lagon);
}

.stat--soleil {
  --c: var(--soleil);
}

.stat--saline {
  --c: var(--saline);
}

.stat::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22px;
  background: var(--c);
  opacity: 0.85;
  -webkit-mask: radial-gradient(circle at 12px 0, transparent 11px, #000 11.5px) 0 0 / 24px 22px repeat-x;
  mask: radial-gradient(circle at 12px 0, transparent 11px, #000 11.5px) 0 0 / 24px 22px repeat-x;
}

.stat b {
  display: block;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 3.8vw, 50px);
  color: var(--abysse);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

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

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

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

.pillar {
  background: var(--abysse);
  color: #b3cbcf;
  border-radius: 30px 8px 30px 8px;
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  --c: var(--lagon);
}

.pillar--lagon {
  --c: var(--lagon);
}

.pillar--flam {
  --c: var(--flam);
}

.pillar--soleil {
  --c: var(--soleil);
}

.pillar::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 24px solid var(--c);
  opacity: 0.18;
}

.pillar .ico {
  width: 62px;
  height: 62px;
  border-radius: 20px 5px 20px 5px;
  display: grid;
  place-items: center;
  background: var(--c);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

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

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

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

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

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

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

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

.isp-chips span {
  font-size: 12.5px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px 10px;
  border-radius: 999px;
}

/* 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: #fff;
  border: 1px solid var(--line);
  border-radius: 30px 8px 30px 8px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}

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

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

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

.plan .price {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 64px;
  color: var(--abysse);
  margin: 14px 0 0;
  line-height: 1;
  letter-spacing: -0.04em;
}

.plan .price small {
  font-size: 30px;
  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 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: 8px 2px 8px 2px;
  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: var(--nuit);
}

.plan.hot,
.plan--featured {
  background: linear-gradient(160deg, var(--abysse-2), var(--abysse) 70%);
  color: #c7dde0;
  border: 0;
  transform: scale(1.045);
  box-shadow: 0 34px 64px -26px rgba(7, 28, 24, 0.8);
  outline: 3px solid var(--soleil);
  outline-offset: -3px;
}

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

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

.plan.hot .per,
.plan.hot .day,
.plan--featured .per,
.plan--featured .day {
  color: #98b3a8;
}

.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: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--flam);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 14px 4px 14px 4px;
  white-space: nowrap;
  box-shadow: 0 10px 20px -8px rgba(217, 52, 43, 0.8);
}

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

.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: 800;
  font-size: 13px;
  padding: 6px 11px;
  border-radius: 10px 3px 10px 3px;
  background: #fff;
  border: 1px solid var(--line);
  color: #1a1f71;
}

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

/* Compact 4-Plan Strip (City Pages) */
.plans-compact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.plan-mini {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px 6px 22px 6px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-mini--hot {
  background: linear-gradient(155deg, var(--abysse-2), var(--abysse));
  color: #cfe3d8;
  border-color: var(--soleil);
  border-width: 2px;
}

.plan-mini--hot h3,
.plan-mini--hot .plan-mini__price {
  color: #fff;
}

.plan-mini__price {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 40px;
  color: var(--abysse);
  line-height: 1;
}

.plan-mini__price small {
  font-size: 20px;
  color: var(--flam);
}

.plan-mini--hot .plan-mini__price small {
  color: var(--soleil);
}

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

/* 06. Bento / Device / App Grids & Tech Lab Cards */
.icon-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.lab-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

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

.lab-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px 4px 16px 4px;
  display: grid;
  place-items: center;
  background: var(--lagon-l);
  color: var(--abysse);
  border: 1px solid rgba(11, 122, 59, 0.2);
}

.lab-card__icon svg {
  width: 28px;
  height: 28px;
}

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

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

/* OS Filter Pills & Device Bento Grid */
.os-filters,
.jump-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.os-pill,
.jump-pill {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 12.5px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--abysse);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.os-count {
  text-align: center;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 12.5px;
  color: var(--muted);
  margin: -18px 0 24px;
}

.os-pill:hover,
.os-pill[aria-pressed="true"],
.jump-pill:hover {
  background: var(--abysse);
  color: var(--soleil);
  border-color: var(--abysse);
}

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

.device-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lab);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

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

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

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

.device-svg {
  width: 48px;
  height: 48px;
  border-radius: 14px 4px 14px 4px;
  background: var(--abysse);
  display: grid;
  place-items: center;
  flex: none;
}

.device-svg svg {
  width: 28px;
  height: 28px;
}

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

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

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

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

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

.app-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-tile {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  overflow: hidden;
  flex: none;
  box-shadow: 0 10px 20px -12px rgba(7, 28, 24, 0.55);
}

.app-tile svg {
  width: 100%;
  height: 100%;
}

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

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

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

.term-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--lagon);
  border-radius: var(--radius-lab);
  padding: 26px 24px;
  scroll-margin-top: 96px;
}

.term-card:nth-child(3n + 2) {
  border-top-color: var(--flam);
}

.term-card:nth-child(3n) {
  border-top-color: var(--saline);
}

.term-card h2 {
  font-size: 24px;
  margin: 10px 0 10px;
}

.term-card p {
  font-size: 15.5px;
  color: var(--ink);
  margin-bottom: 12px;
}

.term-tip {
  background: var(--sable);
  border-left: 3px solid var(--abysse);
  padding: 10px 14px;
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}

.term-card p.term-tip {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}

/* Editor Profile Card */
.author-profile {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px 8px 30px 8px;
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

.monogram-box {
  background: linear-gradient(155deg, var(--abysse-2), var(--abysse));
  border-radius: 24px 6px 24px 6px;
  padding: 26px;
  text-align: center;
  color: #cfe3d8;
}

.monogram-box svg {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
}

.monogram-box h2 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 4px;
}

.monogram-box .role {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  color: var(--soleil);
}

/* Homepage Topical Authority Hub + Local Coverage Bento */
.authority-hub {
  background: var(--sable2);
}

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

.hub-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px 6px 22px 6px;
  padding: 22px 20px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

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

.hub-tile h3 {
  font-size: 20px;
  color: var(--abysse);
}

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

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

.local-strip {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.local-card {
  background: var(--abysse);
  color: #c2d7ce;
  border-radius: 22px 6px 22px 6px;
  padding: 24px 22px;
  text-decoration: none;
  border: 1px solid rgba(251, 216, 67, 0.22);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s, border-color 0.2s;
}

.local-card:hover {
  transform: translateY(-4px);
  border-color: var(--soleil);
}

.local-card h3 {
  color: #fff;
  font-size: 22px;
}

.local-card p {
  font-size: 14.5px;
  color: #a6c1b7;
}

.local-card .more {
  color: var(--soleil);
  font-weight: 800;
  font-size: 14px;
  margin-top: auto;
}

/* 07. Interactive Calculator & Filters */
.speed {
  background: #fff;
}

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

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

.field {
  margin-bottom: 20px;
}

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

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

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

.isp-tabs button {
  font: inherit;
  font-weight: 800;
  font-size: 14.5px;
  padding: 12px;
  border-radius: 16px 4px 16px 4px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
  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: #fff;
}

.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: 12.5px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
}

.val {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.12em;
  color: var(--flam);
}

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

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

.est-out,
.calc-readout {
  background: var(--abysse);
  color: #b8cfd3;
  border-radius: 30px 8px 30px 8px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.gauge {
  position: relative;
  width: 230px;
  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: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 46px;
  color: #fff;
  line-height: 1;
}

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

.verdict {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin: 14px 0 16px;
  text-align: center;
}

.verdict.ok {
  color: #6fe39a;
}

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

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

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

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

.metric-box span {
  display: block;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #98b3a8;
}

.metric-box b {
  display: block;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: clamp(24px, 2.5vw, 30px);
  color: var(--soleil);
  margin-top: 4px;
  line-height: 1.1;
}

.metric-box small {
  display: block;
  font-size: 12.5px;
  color: #cfe3d8;
  margin-top: 4px;
}

.isp-reco-banner {
  background: rgba(18, 161, 80, 0.14);
  border: 1px solid rgba(111, 227, 154, 0.32);
  border-radius: 16px 4px 16px 4px;
  padding: 14px 16px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.isp-reco-banner__label {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6fe39a;
}

.isp-reco-banner strong {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 19px;
  color: #fff;
  line-height: 1.2;
}

.isp-reco-banner small {
  font-size: 13px;
  color: #c2d7ce;
}

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

.calc-status {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(111, 227, 154, 0.18);
  color: #6fe39a;
  border: 1px solid rgba(111, 227, 154, 0.35);
}

.calc-status--mid {
  background: rgba(251, 216, 67, 0.16);
  color: var(--soleil);
  border-color: rgba(251, 216, 67, 0.4);
}

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

/* Setup & Network Sections */
.setup {
  background: #fff;
}

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

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

.steps::before {
  content: "";
  position: absolute;
  left: 46px;
  top: 30px;
  bottom: 30px;
  border-left: 2px dashed #d5c6ab;
}

.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 22px 6px 22px 6px;
  background: var(--sable);
  position: relative;
}

.step::before {
  counter-increment: s;
  content: counter(s);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: #fff;
  background: var(--flam);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

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

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

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

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

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

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

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

.term-bar i {
  width: 11px;
  height: 11px;
  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: #6f8e82;
}

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

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

.term pre em {
  color: #6fe39a;
  font-style: normal;
}

.term pre u {
  color: #6f8e82;
  text-decoration: none;
}

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

.devices span {
  font-weight: 700;
  font-size: 13px;
  color: #d8e8df;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 11px;
  border-radius: 999px;
}

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

.topo {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px 8px 30px 8px;
  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.09);
}

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

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

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

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

.bar-49 { width: 49px; }
.bar-66 { width: 66px; }
.bar-68 { width: 68px; }
.bar-70 { width: 70px; }
.bar-77 { width: 77px; }
.bar-80 { width: 80px; }

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

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

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

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

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

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

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

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

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

.faq-list {
  display: grid;
  gap: 12px;
}

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

.faq-group h2 {
  font-size: 28px;
  margin-bottom: 18px;
}

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

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

.faq summary,
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: 19.5px;
  color: var(--abysse);
  padding: 19px 44px 19px 0;
  position: relative;
  line-height: 1.25;
}

.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: 50%;
  background: var(--lagon);
  color: var(--nuit);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-family: "Figtree", sans-serif;
  font-weight: 800;
}

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

.faq .ans,
.faq-list .ans {
  padding: 0 0 22px;
  color: #36525b;
  font-size: 16px;
}

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

/* Order Band */
.order {
  background:
    radial-gradient(600px 300px at 12% 0%, rgba(255, 201, 60, 0.4), transparent 60%),
    radial-gradient(700px 360px at 90% 100%, rgba(232, 163, 61, 0.55), transparent 60%),
    var(--flam);
  color: #fff1ec;
  text-align: center;
  padding: 88px 0;
}

.order h2 {
  color: #fff;
  font-size: clamp(32px, 4.6vw, 56px);
  margin-bottom: 14px;
}

.order h2 em {
  color: var(--abysse);
  font-weight: 600;
}

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

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

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

/* 08. Editorial Articles & Legal */
.guides {
  background: var(--sable);
}

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

.acard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px 6px 26px 6px;
  padding: 26px 26px 24px;
  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: 26px;
  right: 26px;
  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", ui-monospace, monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--lagon-l);
  color: var(--lagon-d);
  padding: 5px 9px;
  border-radius: 999px;
}

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

.acard h2,
.acard h3 {
  font-size: 22px;
  line-height: 1.18;
  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: 15.5px;
  flex: 1;
}

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

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

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 14px;
  color: #98b3a8;
  margin-bottom: 18px;
}

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

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

.a-hero {
  background:
    radial-gradient(800px 380px at 95% -10%, rgba(217, 52, 43, 0.28), transparent 60%),
    radial-gradient(700px 360px at 0% 120%, rgba(18, 161, 80, 0.35), transparent 60%),
    linear-gradient(160deg, var(--abysse-2), var(--abysse) 60%, #061820);
  color: #b9cfc5;
  padding: 56px 0 76px;
  position: relative;
}

.a-hero .tide {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--sable);
  -webkit-mask: radial-gradient(circle at 10px 14px, transparent 9px, #000 9.5px) 0 0 / 20px 14px repeat-x;
  mask: radial-gradient(circle at 10px 14px, transparent 9px, #000 9.5px) 0 0 / 20px 14px repeat-x;
}

.a-hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.7vw, 54px);
  max-width: 960px;
  margin: 14px 0 18px;
  font-weight: 800;
}

.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(--abysse);
}

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

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

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

.toc b {
  font-family: "DM Mono", monospace;
  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(--flam);
}

.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: #2b4952;
  margin-bottom: 26px;
}

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

article.post h3 {
  font-size: 23px;
  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: "DM Mono", monospace;
  font-size: 0.8em;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
  word-break: break-word;
}

.table-wrap {
  overflow-x: auto;
  margin: 22px 0 26px;
  border: 1px solid var(--line);
  border-radius: 16px 4px 16px 4px;
  background: #fff;
}

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

.table-wrap th {
  background: var(--abysse);
  color: #fff;
  font-family: "Figtree", sans-serif;
  font-weight: 800;
  font-size: 14px;
  text-align: left;
  padding: 12px 14px;
}

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

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

.callout {
  background: rgba(18, 161, 80, 0.09);
  border-left: 4px solid var(--lagon);
  border-radius: 0 14px 14px 0;
  padding: 16px 20px;
  margin: 22px 0;
  font-size: 16.5px;
}

.callout.warn {
  background: rgba(217, 52, 43, 0.08);
  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: var(--wa-dark);
  padding: 12px 22px;
  border-radius: 20px 6px 20px 6px;
  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: 16px 4px 16px 4px;
  padding: 0 20px;
  margin-bottom: 10px;
}

.a-faq summary {
  cursor: pointer;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: 19px;
  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: 16.5px;
}

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

.a-cta h3 {
  color: #fff;
  font-size: 25px;
  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: var(--wa-dark);
}

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

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

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

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

.editorial-intro {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--lagon);
  border-radius: 20px 6px 20px 6px;
  padding: 20px 24px;
  margin-bottom: 28px;
  font-size: 16px;
  color: var(--ink);
}

.editorial-intro p {
  margin: 0;
}

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

.legal h2 {
  font-size: 28px;
  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: #8ba79c;
  padding: 0 0 132px;
  font-size: 15px;
  position: relative;
}

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

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

.foot h4,
.foot-title {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  font-size: 18px;
  margin-bottom: 14px;
}

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

.foot a {
  color: #c6dbd1;
  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(--abysse);
  font-weight: 800;
  font-size: 12.5px;
  padding: 6px 10px;
  border-radius: 10px 3px 10px 3px;
}

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

.foot-terr span,
.foot-terr a {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  color: #8ba79c;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  padding: 4px 9px;
  border-radius: 999px;
  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: 28px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
}

/* Sticky Conversion Bar (non-homepage pages) */
#cta-sticky {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 55;
  background: var(--abysse);
  color: #e6f2ec;
  border: 1px solid rgba(251, 216, 67, 0.35);
  border-radius: 18px 6px 18px 6px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 20px 44px -16px rgba(7, 28, 24, 0.85);
  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 .sticky-info {
  font-size: 13.5px;
  line-height: 1.3;
}

#cta-sticky .sticky-info strong {
  display: block;
  color: #fff;
  font-size: 14.5px;
}

#cta-sticky .sticky-info span {
  font-family: "DM Mono", monospace;
  font-size: 11.5px;
  color: var(--soleil);
}

#cta-sticky .btn {
  padding: 10px 16px;
  font-size: 14px;
  white-space: nowrap;
}

/* Sticky WhatsApp Float */
.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(6, 24, 32, 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: "Figtree", system-ui, sans-serif;
  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.82;
  letter-spacing: 0.01em;
}

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

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

/* 10. Responsive Breakpoints */
@media (max-width: 1100px) {
  .genres {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .plans,
  .plans-compact,
  .device-grid,
  .hub-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plan.hot,
  .plan--featured {
    transform: none;
  }
  .plan.hot:hover,
  .plan--featured:hover {
    transform: translateY(-5px);
  }
  .foot-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .burger {
    display: block;
  }
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--sable);
    padding: 12px 20px 22px;
    gap: 2px;
    display: none;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 12px 14px;
  }
  .nav .nav-cta {
    margin: 8px 0 0;
    text-align: center;
  }
  .hero-grid,
  .setup-grid,
  .net-grid,
  .faq-grid,
  .est,
  .calc-lab,
  .a-layout,
  .contrast-strip--split,
  .author-profile {
    grid-template-columns: minmax(0, 1fr);
  }
  .isle {
    margin-top: 12px;
  }
  .trust {
    grid-template-columns: repeat(2, 1fr);
  }
  .term,
  .toc,
  .faq-grid .sec-head {
    position: static;
  }
  .icon-grid-3,
  .app-grid,
  .cards,
  .local-strip,
  .net-points,
  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .span-4,
  .span-6,
  .span-8 {
    grid-column: span 12;
  }
}

@media (max-width: 960px) {
  .wa-float .wa-pill {
    font-size: 13.5px;
    padding: 10px 16px;
  }
  #cta-sticky {
    gap: 10px;
    padding: 9px 12px;
  }
  #cta-sticky .sticky-info strong {
    font-size: 13.5px;
  }
}

@media (max-width: 760px) {
  section {
    padding: 68px 0;
  }
  .stats,
  .genres,
  .glossary-grid,
  .icon-grid-3,
  .app-grid,
  .cards,
  .local-strip,
  .net-points,
  .pillars,
  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  #cta-sticky {
    left: 12px;
    right: 12px;
    bottom: 92px;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .plans,
  .plans-compact,
  .device-grid,
  .hub-bento,
  .isp-tabs,
  .two,
  .metric-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .clk b {
    font-size: 17px;
  }
  .clk {
    padding: 8px;
  }
  .isle-top span + span {
    display: none;
  }
  .est-form,
  .est-out,
  .calc-controls,
  .calc-readout,
  .contrast-strip,
  .author-profile {
    padding: 22px 18px;
  }
  .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: 10.5px;
  }
  .wa-float .wa-circ {
    width: 54px;
    height: 54px;
  }
  .wa-float .wa-circ svg {
    width: 28px;
    height: 28px;
  }
  #cta-sticky {
    bottom: 76px;
    padding: 9px 12px;
  }
}

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