/* ==========================================================================
   IPTV Caribbean — Pro Editorial Broadcast Design System
   Domain: https://iptvcaribbean.online/
   Archetype: Compact Utility Header + 2-Column Matrix + Elevated Metric Cards + Clean FAQ List
   Personality: Editorial Broadcast Magazine (high-contrast dark/light bands, ruled tables)
   ========================================================================== */

/* 01. Tokens & Reset
   ========================================================================== */
:root {
  --navy: #04223a;
  --navy-mid: #07314f;
  --deep: #021626;
  --ink: #0d2233;
  --teal: #19c3b5;
  --lagoon: #0e8f8a;
  --coral: #ff6f59;
  --coral-d: #e8533d;
  --mango: #ffc145;
  --sand: #fdf6e9;
  --sand2: #f6ead2;
  --white: #ffffff;
  --muted: #536471;
  --muted-dark: #a6bfce;
  --line: #e2d6be;
  --line-dark: rgba(255, 255, 255, 0.13);
  --card: #ffffff;
  --wa: #25d366;
  --wa-dark: #16a34a;
  --r: 18px;
  --r-sm: 12px;
  --r-lg: 22px;
  --shadow: 0 18px 40px -18px rgba(4, 34, 58, 0.34);
  --shadow-elev: 0 24px 52px -20px rgba(2, 22, 38, 0.42);
  --font-display: "Sora", system-ui, -apple-system, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

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

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

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 200;
  background: var(--white);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lagoon);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

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

.sec-head h2 {
  font-size: clamp(29px, 4vw, 46px);
  margin: 12px 0 14px;
}

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

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

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

.lead {
  font-size: 19px;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  padding: 14px 25px;
  border-radius: 999px;
  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 {
  padding: 10px 18px;
  font-size: 14px;
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 12px 28px -10px rgba(255, 111, 89, 0.7);
}

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

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

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

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

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

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

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-mid);
}

.mt-0 { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.text-muted { color: var(--muted); }
.text-muted-dark { color: var(--muted-dark); font-size: 14px; }
.small-note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.small-note--dark { font-size: 14px; color: var(--muted-dark); margin-top: 16px; }

/* 03. Header & Navigation (Compact Utility Header)
   ========================================================================== */
.util-bar {
  background: var(--deep);
  color: #9bb7c7;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.util-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  padding: 5px 0;
  flex-wrap: wrap;
}

.util-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.util-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d7ebf5;
}

.util-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
}

.util-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.util-links a {
  color: #b7d0de;
  text-decoration: none;
}

.util-links a:hover {
  color: var(--mango);
}

.top {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(4, 34, 58, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18.5px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

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

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

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

.nav a {
  color: #d7e6ef;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  padding: 7px 11px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.nav .nav-cta {
  background: var(--coral);
  color: var(--white);
  margin-left: 6px;
  padding: 8px 16px;
}

.nav .nav-cta:hover {
  background: var(--coral-d);
}

.burger {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

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

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 22, 38, 0.55);
  z-index: 65;
}

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

/* 04. Hero & Alternating Bands (Editorial Broadcast Magazine)
   ========================================================================== */
section {
  padding: 84px 0;
  position: relative;
}

.band-light {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band-sand {
  background: var(--sand);
}

.dark {
  background: var(--navy);
  color: #d4e3ec;
}

.dark h1,
.dark h2,
.dark h3,
.dark h4 {
  color: var(--white);
}

.dark .sec-head p {
  color: var(--muted-dark);
}

.dark .eyebrow {
  color: var(--teal);
}

.dark a:not(.btn):not(.local-card):not(.hub-tile) {
  color: var(--teal);
}

.dark a:not(.btn):not(.local-card):not(.hub-tile):hover {
  color: var(--mango);
}

.page-hero a:not(.btn):not(.jump-pill):not(.crumbs a) {
  color: var(--teal);
}

.page-hero a:not(.btn):not(.jump-pill):not(.crumbs a):hover {
  color: var(--mango);
}

.page-hero .jump-pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.page-hero .jump-pill:hover {
  background: var(--mango);
  border-color: var(--mango);
  color: var(--navy);
}

.hero {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(255, 193, 69, 0.26), transparent 60%),
    radial-gradient(900px 520px at 0% 110%, rgba(25, 195, 181, 0.24), transparent 60%),
    linear-gradient(160deg, #021626 0%, #04223a 55%, #073452 100%);
  color: #d4e3ec;
  padding: 76px 0 138px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 82px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 50c160-40 320-40 480 0s320 40 480 0 320-40 480 0v40H0z' fill='%23fdf6e9'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 52px;
  align-items: center;
}

.hero .eyebrow {
  color: var(--mango);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(35px, 5.2vw, 62px);
  margin: 16px 0 20px;
  letter-spacing: -0.035em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--teal), var(--mango));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  max-width: 580px;
  color: #b9d0dc;
}

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

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

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

.trust li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14.5px;
  color: #e8f2f7;
}

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

.screen {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(180deg, #0b2e48, #06192a);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 16px;
}

.screen-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #8fb0c3;
  padding: 2px 4px 12px;
}

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

@keyframes blinkdot {
  50% { opacity: 0.35; }
}

.screen-map {
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, #0f4d6e, #062338 70%);
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}

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

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

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

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

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

.screen-stats b {
  display: block;
  font-family: var(--font-display);
  color: var(--white);
  font-size: 20px;
}

.screen-stats span {
  font-size: 12px;
  color: #8fb0c3;
}

.tag-float {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 13px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.tag-float.t1 {
  top: -14px;
  right: 22px;
  background: var(--mango);
  color: var(--navy);
}

.tag-float.t2 {
  bottom: -14px;
  left: 22px;
  background: var(--coral);
  color: var(--white);
}

/* Inner Page Hero (Editorial Broadcast Header) */
.page-hero,
.a-hero {
  background:
    radial-gradient(920px 440px at 90% -20%, rgba(255, 193, 69, 0.22), transparent 60%),
    radial-gradient(700px 380px at 5% 110%, rgba(25, 195, 181, 0.16), transparent 60%),
    linear-gradient(160deg, #021626, #04223a 60%, #073452);
  color: #c9dce6;
  padding: 52px 0 60px;
  border-bottom: 3px solid var(--mango);
}

.page-hero h1,
.a-hero h1 {
  color: var(--white);
  font-size: clamp(30px, 4.4vw, 52px);
  max-width: 920px;
  margin: 12px 0 16px;
  letter-spacing: -0.03em;
}

.page-hero .lead,
.a-hero .lead {
  max-width: 740px;
  color: #c1d8e5;
  font-size: 18px;
}

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

.crumbs {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #8fb0c3;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

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

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

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e9f4f9;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
}

.hero-chip--gold {
  background: var(--mango);
  color: var(--navy);
  border-color: var(--mango);
}

/* Cinema & Poster Carousel */
.cine {
  background: var(--sand);
}

.carousel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.carousel-nav {
  display: inline-flex;
  gap: 8px;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.carousel-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.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: 22px 0 32px;
  padding: 12px 4px 22px;
  scrollbar-width: thin;
  scrollbar-color: var(--mango) rgba(4, 34, 58, 0.12);
}

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

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

.poster-carousel li {
  flex: 0 0 clamp(200px, 24vw, 275px);
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  background: #0b1c14;
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.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(-7px) scale(1.02);
  box-shadow: 0 26px 46px -16px rgba(0, 0, 0, 0.85), 0 0 0 2px var(--mango);
}

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

.cine-note {
  margin: 18px 0 30px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 15px;
}

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

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

.genre {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  min-height: 285px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  isolation: isolate;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

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

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

.genre--action::before { background: linear-gradient(135deg, #ff6f59, #b3261e 55%, #3a0d0a); }
.genre--thriller::before { background: linear-gradient(135deg, #2b3a55, #11192b 60%, #05070d); }
.genre--scifi::before { background: linear-gradient(135deg, #3a1c71, #1b2a6b 50%, #04223a); }
.genre--family::before { background: linear-gradient(135deg, #ffb347, #ff7e5f 50%, #c94b7c); }
.genre--nature::before { background: linear-gradient(135deg, #0e8f8a, #0b5d75 55%, #06243a); }
.genre--drama::before { background: linear-gradient(135deg, #ffc145, #f08a4b 50%, #19806f); }

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

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

.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: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: rgba(4, 22, 38, 0.48);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 9px;
  border-radius: 999px;
}

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

.genre h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 6px;
}

.genre p {
  font-size: 15px;
  color: #dbe7ee;
}

/* Performance & Network Band */
.perf {
  background: linear-gradient(180deg, var(--navy), #06304d);
}

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

.stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--teal);
  border-radius: var(--r);
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 14px 28px -18px rgba(0, 0, 0, 0.5);
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--white);
  letter-spacing: -0.03em;
}

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

.stat small {
  font-weight: 700;
  color: #a9c1cf;
  font-size: 14.5px;
}

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

.pillar {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pillar::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  opacity: 0.12;
}

.pillar--teal::after, .pillar--teal .ico { background: var(--teal); }
.pillar--coral::after, .pillar--coral .ico { background: var(--coral); }
.pillar--mango::after, .pillar--mango .ico { background: var(--mango); }

.pillar .ico {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

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

.dark .pillar h3,
.pillar h3 {
  font-size: 21px;
  margin-bottom: 10px;
  color: var(--navy);
}

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

.pillar ul {
  margin-top: 14px;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 700;
}

.pillar li::before {
  content: "✓";
  color: var(--lagoon);
  margin-right: 8px;
}

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

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

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

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

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

.rtt td b {
  color: var(--white);
}

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

.bar--w28 { width: 28px; }
.bar--w38 { width: 38px; }
.bar--w55 { width: 55px; }
.bar--w62 { width: 62px; }
.bar--w66 { width: 66px; }
.bar--w80 { width: 80px; }

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

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

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

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

/* 05. Pricing Plans & Cards
   ========================================================================== */
.pricing {
  background: var(--sand);
}

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

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

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

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

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

.plan .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 50px;
  color: var(--navy);
  letter-spacing: -0.04em;
  margin: 14px 0 2px;
  line-height: 1;
}

.plan .price sup {
  font-size: 23px;
  vertical-align: top;
  margin-right: 2px;
  position: relative;
  top: 6px;
}

.plan .price small {
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0;
}

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

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

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

.plan li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--teal) 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.hot,
.plan--featured {
  background: var(--navy);
  color: #d4e3ec;
  border-color: var(--navy);
  box-shadow: 0 30px 60px -25px rgba(4, 34, 58, 0.65);
  transform: scale(1.03);
}

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

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

.plan.hot .per,
.plan.hot .price small,
.plan--featured .per,
.plan--featured .price small {
  color: #a9c1cf;
}

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

.ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--mango);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 6px 15px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 18px -6px rgba(255, 193, 69, 0.8);
}

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

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

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

.guarantee-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: var(--r);
  padding: 28px 30px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  box-shadow: var(--shadow);
}

.guarantee-ico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(25, 195, 181, 0.14);
  display: grid;
  place-items: center;
  color: var(--lagoon);
}

.guarantee-ico svg {
  width: 30px;
  height: 30px;
}

.guarantee-box h3 {
  font-size: 21px;
  margin-bottom: 6px;
}

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

/* Compact 4-Plan Strip for Local City Pages */
.plan-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.plan-mini {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.plan-mini--hot {
  background: var(--navy);
  border-color: var(--navy);
  color: #d6e6ef;
}

.plan-mini--hot h3,
.plan-mini--hot .plan-mini-price {
  color: var(--white);
}

.plan-mini--hot .plan-mini-eq {
  color: var(--mango);
}

.plan-mini-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lagoon);
}

.plan-mini--hot .plan-mini-tag {
  color: var(--mango);
}

.plan-mini-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  color: var(--navy);
  line-height: 1.1;
}

.plan-mini-eq {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 10px;
}

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

/* 06. Bento / Device / App Grids & 2-Column Side-by-Side Matrix
   ========================================================================== */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.metric-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: var(--r);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

.metric-card--teal { border-top-color: var(--teal); }
.metric-card--coral { border-top-color: var(--coral); }
.metric-card--mango { border-top-color: var(--mango); }

.metric-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  color: var(--navy);
  margin: 6px 0 4px;
  line-height: 1.1;
}

.metric-sub {
  font-size: 14px;
  color: var(--muted);
}

.matrix-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
}

.matrix-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 26px;
  box-shadow: 0 12px 26px -18px rgba(4, 34, 58, 0.25);
}

.dark .matrix-panel {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-dark);
  color: #d4e3ec;
}

.matrix-panel h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.matrix-panel p {
  font-size: 15.5px;
  color: var(--muted);
  margin-bottom: 12px;
}

.dark .matrix-panel p {
  color: var(--muted-dark);
}

.ruled-list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.dark .ruled-list {
  border-top-color: var(--line-dark);
}

.ruled-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.dark .ruled-list li {
  border-bottom-color: var(--line-dark);
}

.ruled-list strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 14.5px;
}

.dark .ruled-list strong {
  color: var(--white);
}

/* Device & App Bento Cards */
.device-grid,
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

.device-card,
.app-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

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

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

.icon-tile {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  flex: none;
}

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

.icon-tile--teal { background: linear-gradient(135deg, #19c3b5, #0a6f8f); }
.icon-tile--coral { background: linear-gradient(135deg, #ff6f59, #c43723); }
.icon-tile--mango { background: linear-gradient(135deg, #ffc145, #e68a19); color: var(--navy); }
.icon-tile--navy { background: linear-gradient(135deg, #0b3c61, #021626); }
.icon-tile--indigo { background: linear-gradient(135deg, #3b5bdb, #1b2a6b); }
.icon-tile--emerald { background: linear-gradient(135deg, #10b981, #047857); }

.card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.card-head h3 {
  font-size: 19px;
}

.card-os {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--lagoon);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

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

.spec-chip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  background: var(--sand);
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 4px 9px;
  border-radius: 999px;
}

.spec-chip--accent {
  background: rgba(25, 195, 181, 0.14);
  border-color: rgba(14, 143, 138, 0.35);
  color: var(--lagoon);
}

/* Topical Authority Hub Bento (Homepage + Hubs) */
.hub-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

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

.hub-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--mango));
  border-radius: 0 0 3px 3px;
}

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

.hub-tile-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lagoon);
}

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

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

.hub-tile-cta {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--coral);
}

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

.local-card {
  background: var(--navy);
  color: #d6e6ef;
  border-radius: var(--r);
  padding: 24px 22px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.22s, border-color 0.22s;
}

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

.local-card span.mono {
  font-size: 11.5px;
  color: var(--mango);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.local-card h3 {
  color: var(--white);
  font-size: 20px;
}

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

/* Setup Steps */
.setup {
  background: var(--white);
}

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

.step {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 18px;
  position: relative;
}

.step::before {
  counter-increment: s;
  content: "0" counter(s);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14.5px;
  color: var(--white);
  background: var(--coral);
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

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

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

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

.creds {
  margin-top: 24px;
  background: var(--navy);
  color: #cfe0ea;
  border-radius: var(--r);
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 10px 28px;
  justify-content: start;
}

.creds b {
  color: var(--mango);
  font-weight: 600;
}

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

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

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

/* 07. Interactive Calculator & Filters
   ========================================================================== */
.filter-pills,
.jump-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.pill-btn,
.jump-pill {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.pill-btn:hover,
.jump-pill:hover {
  border-color: var(--lagoon);
  color: var(--lagoon);
}

.pill-btn[aria-pressed="true"],
.pill-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* Homepage Speed Estimator & Full Calculator */
.speed {
  background: var(--white);
}

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

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

.field {
  margin-bottom: 20px;
}

.field:last-child {
  margin-bottom: 0;
}

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

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

.seg-group--4 {
  grid-template-columns: repeat(4, 1fr);
}

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

.seg-group--quality button[data-val="4k-hevc"] {
  grid-column: 1 / -1;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-bar .filter-pills {
  margin-bottom: 0;
}

.filter-status {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.isp-tabs button,
.seg-group button {
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 10px;
  border-radius: var(--r-sm);
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.18s;
}

.isp-tabs button[aria-pressed="true"],
.seg-group button[aria-pressed="true"] {
  border-color: var(--lagoon);
  background: var(--lagoon);
  color: var(--white);
}

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

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

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

.est-out,
.calc-results {
  background: var(--navy);
  color: #d4e3ec;
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-elev);
}

.calc-results h2,
.calc-results h3 {
  color: var(--white);
  font-size: clamp(22px, 2.4vw, 28px);
}

.calc-results .eyebrow {
  color: var(--teal);
}

.calc-results a:not(.btn) {
  color: var(--mango);
}

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

.gauge svg {
  width: 100%;
}

.gauge .g-val {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  text-align: center;
}

.gauge .g-val b {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--white);
  line-height: 1;
}

.gauge .g-val span {
  font-size: 12.5px;
  color: #8fb0c3;
}

.verdict {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  text-align: center;
  margin: 6px 0 16px;
}

.verdict.ok { color: var(--teal); }
.verdict.mid { color: var(--mango); }
.verdict.bad { color: var(--coral); }

.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: var(--white);
}

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

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

.calc-kpi span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #93b5c7;
}

.calc-kpi b {
  display: block;
  font-family: var(--font-display);
  font-size: 25px;
  color: var(--white);
  margin-top: 5px;
  line-height: 1.15;
}

.calc-kpi--tier {
  grid-column: 1 / -1;
  background: rgba(25, 195, 181, 0.1);
  border-color: rgba(25, 195, 181, 0.28);
}

.calc-kpi--tier b {
  font-size: 19px;
  color: var(--white);
}

.calc-kpi--accent b {
  color: var(--teal);
}

.calc-kpi--gold b {
  color: var(--mango);
}

.tip {
  background: rgba(25, 195, 181, 0.12);
  border-left: 3px solid var(--teal);
  padding: 13px 15px;
  border-radius: 0 12px 12px 0;
  font-size: 14.5px;
  margin-top: auto;
}

/* 08. Editorial Articles, Tables, FAQs, Glossary, Profile & Legal
   ========================================================================== */
.guides {
  background: var(--sand);
}

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

.acard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
}

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

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

.acard::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--teal), var(--mango), var(--coral));
}

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

.cat {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(14, 143, 138, 0.11);
  color: var(--lagoon);
  padding: 5px 10px;
  border-radius: 999px;
}

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

.acard h2,
.acard h3 {
  font-size: 19.5px;
  line-height: 1.25;
}

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

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

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

.more {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--coral);
}

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

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

.a-meta .cat {
  background: var(--mango);
  color: var(--navy);
}

.a-meta strong,
.a-meta a {
  color: var(--white);
}

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

.toc {
  position: sticky;
  top: 86px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 20px 16px;
  font-size: 14.5px;
}

.toc b {
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  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(--coral);
}

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

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

article.post .lede {
  font-size: 19.5px;
  color: #2d4250;
  margin-bottom: 26px;
}

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

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

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

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

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

article.post code,
article.post kbd {
  font-family: var(--font-mono);
  font-size: 0.84em;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  word-break: break-word;
}

/* Ruled Broadcast Tables */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 22px 0 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 10px 24px -18px rgba(4, 34, 58, 0.25);
}

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

.table-wrap th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  text-align: left;
  padding: 13px 15px;
}

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

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

.callout {
  background: rgba(25, 195, 181, 0.1);
  border-left: 4px solid var(--teal);
  border-radius: 0 14px 14px 0;
  padding: 16px 20px;
  margin: 22px 0;
  font-size: 16px;
}

.callout.warn {
  background: rgba(255, 111, 89, 0.09);
  border-left-color: var(--coral);
}

.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: #05290f;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
}

/* Clean FAQ List */
.faq {
  background: var(--sand);
}

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

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

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

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

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

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

.faq summary::after,
.faq-list summary::after,
.a-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sand2);
  display: grid;
  place-items: center;
  font-size: 19px;
  color: var(--coral);
}

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

.faq .ans,
.faq-list .ans,
.a-faq .ans {
  padding: 0 0 20px;
  color: #364956;
  font-size: 16px;
}

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

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

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

.a-faq details {
  margin-bottom: 10px;
}

.a-cta {
  margin: 44px 0 0;
  background: var(--navy);
  color: #cfe0ea;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.a-cta h3 {
  color: var(--white);
  font-size: 21px;
  margin-bottom: 4px;
}

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

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

article.post .a-cta a.btn {
  color: var(--white);
}

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

.author {
  margin-top: 34px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 15px;
  color: var(--muted);
  display: flex;
  gap: 16px;
  align-items: center;
}

.author-avatar {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 14px;
  overflow: hidden;
}

.related {
  background: var(--white);
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

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

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

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

.gloss-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--lagoon);
  border-radius: var(--r);
  padding: 24px;
  scroll-margin-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.gloss-head h2 {
  font-size: 21px;
}

.gloss-anchor {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--sand);
}

.gloss-anchor:hover {
  color: var(--coral);
}

.gloss-tip {
  background: var(--sand);
  border-left: 3px solid var(--mango);
  padding: 10px 13px;
  border-radius: 0 10px 10px 0;
  font-size: 14.5px;
  color: var(--ink);
  margin-top: auto;
}

.gloss-tip p {
  margin: 0;
}

/* Editor Profile & About Lab */
.profile-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow);
}

.profile-avatar {
  width: 112px;
  height: 112px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.legal {
  max-width: 840px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  font-size: 17px;
  box-shadow: 0 14px 32px -20px rgba(4, 34, 58, 0.22);
}

.legal h2 {
  font-size: 22px;
  margin: 30px 0 10px;
}

.legal h2:first-of-type {
  margin-top: 24px;
}

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

.legal ul {
  padding-left: 22px;
  display: grid;
  gap: 6px;
}

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

/* Order / CTA Band */
.order {
  background: linear-gradient(120deg, var(--lagoon), #0a6f8f 55%, var(--navy));
  color: #e3f1f6;
  text-align: center;
  padding: 80px 0;
}

.order h2 {
  color: var(--white);
  font-size: clamp(29px, 4.2vw, 46px);
  margin-bottom: 14px;
}

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

.order a:not(.btn) {
  color: var(--mango);
  font-weight: 700;
}

.order a:not(.btn):hover {
  color: var(--white);
}

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

/* 09. Footer, Sticky CTA & WhatsApp
   ========================================================================== */
.foot {
  background: var(--deep);
  color: #9fb6c4;
  padding: 64px 0 124px;
  font-size: 14.5px;
  border-top: 3px solid var(--teal);
}

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

.foot h4,
.foot .foot-heading {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

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

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

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

.foot .brand {
  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: var(--white);
  color: var(--navy);
  font-weight: 800;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  font-family: var(--font-display);
}

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

/* Floating Sticky CTA (non-homepage pages) */
#cta-sticky {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 58;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(4, 34, 58, 0.96);
  color: var(--white);
  border: 1px solid rgba(255, 193, 69, 0.45);
  border-radius: 999px;
  padding: 8px 10px 8px 18px;
  box-shadow: 0 18px 36px -12px rgba(2, 22, 38, 0.65);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

#cta-sticky span {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: #e6f2f8;
}

#cta-sticky b {
  color: var(--mango);
}

#cta-sticky a {
  background: var(--coral);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

#cta-sticky a:hover {
  background: var(--coral-d);
}

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

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

.wa-float .wa-pill {
  position: relative;
  display: block;
  background: var(--wa);
  color: #04210f;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.35;
  padding: 11px 20px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

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

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

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

.wa-float .wa-circ svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

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

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

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

  .nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy);
    padding: 12px 20px 22px;
    gap: 4px;
    display: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 44px rgba(2, 22, 38, 0.55);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
  }

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

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

  .toc {
    position: static;
  }

  .plans,
  .plan-strip,
  .hub-bento,
  .metric-grid,
  .device-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

  .cine-grid,
  .cards,
  .device-grid,
  .app-grid,
  .pillars,
  .net-points,
  .local-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 860px) and (min-width: 761px) {
  .wa-float .wa-pill {
    font-size: 13.5px;
    padding: 10px 14px;
  }

  #cta-sticky {
    padding: 7px 9px 7px 14px;
    gap: 10px;
  }

  #cta-sticky span {
    font-size: 13px;
  }
}

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

  .util-bar {
    display: none;
  }

  .hero {
    padding: 52px 0 116px;
  }

  .matrix-2col,
  .glossary-grid,
  .guarantee-box,
  .profile-card {
    grid-template-columns: 1fr;
  }

  .legal {
    padding: 26px 22px;
  }

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

  #cta-sticky {
    left: 14px;
    right: 14px;
    bottom: 92px;
    justify-content: space-between;
  }
}

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

  .plans,
  .plan-strip,
  .hub-bento,
  .metric-grid,
  .cine-grid,
  .cards,
  .device-grid,
  .device-grid--4,
  .app-grid,
  .pillars,
  .net-points,
  .local-strip,
  .steps,
  .creds,
  .foot-grid,
  .trust,
  .calc-kpis {
    grid-template-columns: 1fr;
  }

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

  .tag-float {
    font-size: 11.5px;
    padding: 6px 10px;
  }

  .tag-float.t1 {
    right: 12px;
  }

  .tag-float.t2 {
    left: 12px;
  }

  .calc-results,
  .calc-controls,
  .est-form,
  .est-out {
    padding: 22px 18px;
  }

  .genre {
    min-height: 245px;
  }

  article.post {
    font-size: 16.5px;
  }

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

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

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

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

  #cta-sticky {
    left: 12px;
    right: 12px;
    bottom: 76px;
    padding: 7px 8px 7px 14px;
  }

  #cta-sticky span {
    font-size: 12.5px;
  }
}

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