/* ==========================================================================
   IPTV Greece — Pro Theme Stylesheet (Sleek Tech Hardware Lab)
   Domain: https://iptvgreece.online/
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Tokens & Reset
   -------------------------------------------------------------------------- */
:root {
  --ink: #081a33;
  --night: #0a1f3d;
  --night-2: #0f2a52;
  --night-3: #16386b;
  --sky: #2b8ae6;
  --sky-d: #0d5eaf;
  --sky-dd: #0a4a8c;
  --ochre: #ecc81d;
  --ochre-d: #a88c0c;
  --terra: #c2532e;
  --acacia: #8a5a2b;
  --sand: #f6f8fb;
  --dune: #e5ecf5;
  --mist: #e8f2ff;
  --accent: #ecc81d;
  --muted: #56657a;
  --line: #d6e1ee;
  --line-dark: rgba(255, 255, 255, 0.12);
  --surface: #ffffff;
  --wa: #25d366;
  --wa-dark: #0f8a40;
  --ok: #37e08a;
  --warn: #f2b134;
  --bad: #ff5d5d;
  --r: 20px;
  --r-sm: 12px;
  --r-lg: 26px;
  --shadow-sm: 0 10px 26px -18px rgba(8, 26, 51, 0.35);
  --shadow-md: 0 24px 46px -30px rgba(8, 26, 51, 0.55);
  --shadow-lg: 0 36px 76px -36px rgba(8, 26, 51, 0.72);
  --font-display: "Geologica", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--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(--sky-dd);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.page-hero p a,
.a-hero p a,
.dark p a,
.dark li a,
.guarantee-band p a,
.lab-card--dark p a,
.calc-rec p a,
.order p a {
  color: #82c4ff;
  font-weight: 700;
  text-decoration-color: rgba(130, 196, 255, 0.55);
}

.page-hero p a:hover,
.a-hero p a:hover,
.dark p a:hover,
.dark li a:hover,
.guarantee-band p a:hover,
.lab-card--dark p a:hover,
.calc-rec p a:hover,
.order p a:hover {
  color: var(--ochre);
  text-decoration-color: var(--ochre);
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-weight: 800;
}

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

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

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: #fff;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

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

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

.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; }
.mb-24 { margin-bottom: 24px; }
.text-right { text-align: right; }

/* Flag accent band */
.band {
  height: 10px;
  background: repeating-linear-gradient(180deg, #0d5eaf 0 2.5px, #ffffff 2.5px 5px);
}

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

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

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

.btn-sky {
  background: var(--sky);
  color: #fff;
  box-shadow: 0 4px 0 var(--sky-d), 0 18px 30px -16px rgba(13, 94, 175, 0.8);
}
.btn-sky:hover { background: #1f78d1; }

.btn-ochre,
.btn-gold {
  background: var(--ochre);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--ochre-d), 0 18px 30px -16px rgba(236, 200, 29, 0.72);
}
.btn-ochre:hover,
.btn-gold:hover { background: #f5d84a; }

.btn-ink {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 0 #000;
}
.btn-ink:hover { background: var(--night-3); }

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--ochre);
}

.btn-outline-light {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-outline-light:hover {
  border-color: var(--sky-d);
  background: var(--mist);
}

.btn-wa,
a.btn-wa {
  background: var(--wa);
  color: #03270e;
  box-shadow: 0 4px 0 #149b48, 0 18px 30px -16px rgba(37, 211, 102, 0.85);
}
.btn-wa:hover,
a.btn-wa:hover { background: #30df74; }
.btn-wa svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: none;
}

.btn .arr {
  display: inline-block;
  transition: transform 0.2s;
  font-style: normal;
}
.btn:hover .arr {
  transform: translateX(4px);
}

/* Kickers, Section Headers & Spec Chips */
section {
  padding: 88px 0;
  position: relative;
}

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

.sec-sand { background: var(--sand); }
.sec-white { background: #ffffff; }
.sec-dune { background: var(--dune); }

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

.kicker i {
  font-style: normal;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--sky);
  font-size: 11px;
  letter-spacing: 0;
  box-shadow: 0 0 0 3px var(--sand), 0 0 0 5px var(--ochre);
}

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

.sec-head h2 {
  font-size: clamp(28px, 3.4vw, 46px);
  margin: 16px 0 14px;
}

.sec-head h2 em {
  font-style: normal;
  color: var(--sky-dd);
  background: linear-gradient(transparent 68%, rgba(236, 200, 29, 0.42) 68% 92%, transparent 92%);
}

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

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

.dark {
  background: var(--night);
  color: #b4c4d2;
}
.dark .sec-head h2 { color: #fff; }
.dark .sec-head h2 em { color: var(--sky); background: none; }
.dark .sec-head p { color: #a9bcbf; }
.dark .kicker { color: var(--ochre); }
.dark .kicker i {
  background: var(--sky);
  color: var(--ink);
  box-shadow: 0 0 0 3px var(--night), 0 0 0 5px var(--ochre);
}

.weave {
  position: absolute;
  left: 0;
  width: 100%;
  height: 40px;
  pointer-events: none;
  top: -39px;
}
.weave.top { top: -1px; }

/* Tech Hardware Lab Spec Strip & Spec Chips */
.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
  padding: 18px;
  background: rgba(8, 26, 51, 0.55);
  border: 1px solid rgba(43, 138, 230, 0.28);
  border-radius: 18px;
  backdrop-filter: blur(8px);
}

.spec-strip--light {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 12px;
  border-left: 2px solid rgba(236, 200, 29, 0.45);
}

.spec-item:first-child {
  border-left-color: var(--sky);
}

.spec-item span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9cb4cc;
}

.spec-strip--light .spec-item span { color: var(--muted); }

.spec-item strong {
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.02em;
}

.spec-strip--light .spec-item strong { color: var(--ink); }

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

.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--mist);
  color: var(--sky-dd);
  border: 1px solid #c9dff7;
}

.spec-chip--ochre {
  background: rgba(236, 200, 29, 0.22);
  color: #6b5600;
  border-color: rgba(236, 200, 29, 0.6);
}

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

.spec-chip--ok {
  background: rgba(55, 224, 138, 0.14);
  color: #0b6d3b;
  border-color: rgba(55, 224, 138, 0.42);
}

/* --------------------------------------------------------------------------
   03. Header & Navigation
   -------------------------------------------------------------------------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 251, 0.92);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

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

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

.brand .logo-mark {
  width: 44px;
  height: 44px;
  flex: none;
  transition: transform 0.6s ease;
}

.brand:hover .logo-mark {
  transform: rotate(45deg);
}

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

.brand small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--terra);
  margin-top: 5px;
}

.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: 10px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--mist);
  color: var(--sky-dd);
}

.nav .nav-cta {
  background: var(--ink);
  color: #fff;
  margin-left: 8px;
  padding: 10px 18px 10px 30px;
  position: relative;
  border-radius: 999px;
}

.nav .nav-cta::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 9px;
  height: 12px;
  margin-top: -6px;
  background: var(--sky);
  clip-path: path("M4.5 0C4.5 0 0 5.5 0 7.8a4.5 4.5 0 0 0 9 0C9 5.5 4.5 0 4.5 0z");
}

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

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

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

/* --------------------------------------------------------------------------
   04. Hero, Alternating Bands & Homepage Showcase
   -------------------------------------------------------------------------- */
/* Homepage Hero */
.hero {
  background:
    radial-gradient(700px 300px at 28% 100%, rgba(236, 200, 29, 0.55), transparent 70%),
    linear-gradient(180deg, #120707 0%, var(--night) 38%, #5a2320 72%, #a8562f 100%);
  color: #b4c4d2;
  padding: 64px 0 210px;
  overflow: hidden;
  isolation: isolate;
}

.hero .stars {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.55;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, #fff, transparent),
    radial-gradient(1px 1px at 28% 8%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 46% 22%, #fff, transparent),
    radial-gradient(1px 1px at 66% 12%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 84% 26%, #fff, transparent),
    radial-gradient(1px 1px at 92% 6%, #fff, transparent),
    radial-gradient(1px 1px at 8% 40%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 56% 4%, #fff, transparent);
}

.hero .horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 250px;
  z-index: -1;
}

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

.hero .kicker { color: var(--ochre); }
.hero .kicker i {
  background: var(--sky);
  color: var(--ink);
  box-shadow: 0 0 0 3px #0e1719, 0 0 0 5px var(--ochre);
}

.hero h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 64px);
  margin: 20px 0 20px;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero h1 em { font-style: normal; color: var(--sky); }
.hero h1 .o { color: var(--ochre); }
.hero h1 span.sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.29em;
  letter-spacing: 0;
  font-weight: 500;
  color: #b8cadb;
  margin-top: 16px;
  line-height: 1.5;
}

.hero .lead {
  font-size: 18px;
  max-width: 600px;
}
.hero .lead b { color: #fff; }

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

.trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  list-style: none;
  max-width: 560px;
}

.trust li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(43, 138, 230, 0.28);
  padding: 8px 14px 8px 8px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}

.trust li span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
}

.trust li:nth-child(1) span { background: var(--sky); }
.trust li:nth-child(2) span { background: #fff; }
.trust li:nth-child(3) span { background: var(--ochre); }
.trust li:nth-child(4) span { background: #d8e9ff; }
.trust svg { width: 18px; height: 18px; }

/* Hero Console Card */
.console-card {
  position: relative;
  background: linear-gradient(170deg, rgba(15, 42, 82, 0.94), rgba(5, 16, 31, 0.96));
  border: 1px solid rgba(43, 138, 230, 0.34);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 40px 90px -36px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
}

.console-card::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: -6px;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #0d5eaf 0 33.3%, #ecc81d 33.3% 66.6%, #2b8ae6 66.6%);
}

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

.c-top b {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.c-top b::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(55, 224, 138, 0.2);
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(55, 224, 138, 0); } }

.c-top span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  background: var(--sky);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 700;
}

.c-mid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
}

.map {
  position: relative;
  background: radial-gradient(circle at 50% 40%, #1a3560, #071426 75%);
  border-radius: 18px;
  border: 1px solid rgba(43, 138, 230, 0.26);
  padding: 8px;
}
.map svg { width: 100%; height: auto; }
.map .pin { animation: bob 3s ease-in-out infinite; }
.map .pin:nth-of-type(2) { animation-delay: 0.6s; }
.map .pin:nth-of-type(3) { animation-delay: 1.2s; }
.map .pin:nth-of-type(4) { animation-delay: 1.8s; }
.map .pin:nth-of-type(5) { animation-delay: 2.4s; }
@keyframes bob { 50% { transform: translateY(-3px); } }

.feeds {
  list-style: none;
  display: grid;
  gap: 9px;
}

.feeds li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 9px 12px;
}

.feeds li b { color: #fff; font-size: 13.5px; font-weight: 700; }
.feeds li em { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--ochre); }
.feeds .lvl {
  grid-column: 1 / -1;
  height: 5px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.feeds .lvl i {
  display: block;
  height: 100%;
  border-radius: 9px;
  background: linear-gradient(90deg, var(--sky), var(--ochre));
}
.lvl-97 { width: 97%; }
.lvl-95 { width: 95%; }
.lvl-92 { width: 92%; }
.lvl-88 { width: 88%; }
.lvl-76 { width: 76%; }

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

.c-stats div {
  text-align: center;
  padding: 10px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}
.c-stats b {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
  color: #fff;
}
.c-stats div:nth-child(1) b { color: var(--sky); }
.c-stats div:nth-child(2) b { color: var(--ochre); }
.c-stats div:nth-child(3) b { color: #d8e9ff; }
.c-stats span { font-size: 12px; color: #a9bcbf; }

/* Bold Typographic Page Hero (Tech Hardware Lab for Stage 1 Landing Pages) */
.page-hero {
  background:
    radial-gradient(680px 320px at 88% 100%, rgba(236, 200, 29, 0.22), transparent 65%),
    radial-gradient(600px 260px at 12% 0%, rgba(43, 138, 230, 0.26), transparent 62%),
    linear-gradient(175deg, #061428 0%, var(--night) 52%, var(--night-3) 100%);
  color: #c2d2e2;
  padding: 54px 0 96px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 90%);
}

.page-hero .weave {
  top: auto;
  bottom: -1px;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.4vw, 56px);
  max-width: 920px;
  margin: 16px 0 18px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.page-hero h1 em {
  font-style: normal;
  color: var(--ochre);
}

.page-hero .hero-lead {
  font-size: 18.5px;
  max-width: 760px;
  color: #c8d7e6;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #9cb4cc;
  margin-bottom: 18px;
}
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--ochre); }

/* Cinema & Poster Carousel */
#cinema { background: var(--sand); }
.shead { max-width: 820px; margin-bottom: 12px; }
.shead .h2 { font-size: clamp(30px, 3.6vw, 48px); margin: 16px 0 14px; }
.shead .h2 em { font-style: normal; color: var(--sky-dd); }
.shead .sub { color: var(--muted); 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); border-radius: 8px; }
.poster-carousel li {
  flex: 0 0 clamp(200px, 26vw, 280px);
  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);
}
.poster-carousel li:hover img,
.poster-carousel li:focus-within img { transform: scale(1.06); }

/* Genre Reels */
.reels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.reel {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.reel:hover {
  transform: translateY(-5px);
  border-color: var(--ochre);
}
.reel.wide { grid-column: span 2; }

.r-art {
  position: relative;
  height: 220px;
  isolation: isolate;
  overflow: hidden;
}
.r-art--action { background: linear-gradient(150deg, #fff3b0, #ecc81d 40%, #3a3005); }
.r-art--thriller { background: linear-gradient(160deg, #25293a, #11141f 60%, #04050a); }
.r-art--scifi { background: linear-gradient(150deg, #0d5eaf, #0f2a52 50%, #05101f); }
.r-art--family { background: linear-gradient(150deg, #ffffff, #9fd0ff 50%, #0d5eaf); }
.r-art--doc { background: linear-gradient(180deg, #081a33, #0f2a52 55%, #2b8ae6); }

.r-art::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 18px;
  z-index: 1;
  background:
    linear-gradient(45deg, var(--ochre) 25%, transparent 25%) -9px 0 / 18px 18px,
    linear-gradient(315deg, var(--ochre) 25%, transparent 25%) -9px 0 / 18px 18px;
}
.r-art::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 18px;
  z-index: 1;
  background:
    linear-gradient(45deg, #fff 25%, transparent 25%) -9px 0 / 18px 18px,
    linear-gradient(315deg, #fff 25%, transparent 25%) -9px 0 / 18px 18px;
}
.r-art > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.reel.wide .r-art { height: 248px; }
.r-art .res {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--ochre);
}
.r-art .badges {
  position: absolute;
  left: 18px;
  top: 18px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  max-width: 70%;
}
.r-art .badges span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(11, 22, 32, 0.78);
  color: #fff;
  backdrop-filter: blur(4px);
}
.r-art .badges span.hi { background: var(--sky); color: var(--ink); font-weight: 700; }
.r-info { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.r-no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--terra);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.r-no b { color: var(--sky-dd); font-weight: 700; }
.r-info h3 { font-size: 23px; }
.reel.wide .r-info h3 { font-size: 28px; }
.r-info p { color: var(--muted); font-size: 15.5px; }

/* Performance Gauges & Pillars */
.perf { padding-top: 112px; }
.gauges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}
.gauge {
  --c: #ecc81d;
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 18px;
  border-radius: 22px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(43, 138, 230, 0.22);
  transition: transform 0.25s, border-color 0.25s;
}
.gauge--ochre { --c: #ecc81d; }
.gauge--sky { --c: #2b8ae6; }
.gauge--ice { --c: #cfe0ff; }
.gauge--snow { --c: #f4f7f5; }
.gauge:hover { transform: translateY(-4px); border-color: var(--c); }
.gauge svg { width: 60px; height: 126px; }
.gauge .fill {
  transform-box: fill-box;
  transform-origin: bottom;
  transform: scaleY(0);
  animation: rain 1.4s 0.25s cubic-bezier(0.3, 1.2, 0.5, 1) forwards;
}
@keyframes rain { to { transform: scaleY(1); } }
.gauge b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 2.3vw, 32px);
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.gauge b span { color: var(--c); }
.gauge small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #cddbe6;
  margin-top: 8px;
  line-height: 1.4;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.pillar {
  --c: #0d5eaf;
  position: relative;
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  padding: 28px 26px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.pillar--blue { --c: #0d5eaf; }
.pillar--ochre { --c: #ecc81d; }
.pillar--sky { --c: #2b8ae6; }
.pillar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 7px;
  background: var(--c);
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.pillar .ico {
  position: relative;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  margin-bottom: 18px;
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--c);
}
.pillar .ico svg { width: 28px; height: 28px; }
.pillar .num {
  position: absolute;
  right: 22px;
  top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
}
.pillar h3 { font-size: 23px; margin-bottom: 10px; }
.pillar p { font-size: 15.5px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.chips span {
  font-size: 12px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 8px;
  background: var(--mist);
  color: var(--sky-dd);
}
.pillar ul { list-style: none; display: grid; gap: 6px; font-size: 14.5px; color: #34404a; }
.pillar li { display: flex; gap: 9px; align-items: baseline; }
.pillar li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 11px;
  background: var(--sky-d);
  clip-path: path("M4 0C4 0 0 5 0 7a4 4 0 0 0 8 0C8 5 4 0 4 0z");
}

/* Setup Road & Terminal */
.setup { background: #fff; }
.road {
  list-style: none;
  counter-reset: s;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 56px;
  position: relative;
  padding-bottom: 48px;
}
.road::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, transparent 14px, #f4f7f5 14px 18px, transparent 18px) 0 0 / 44px 32px repeat-x,
    #2b3138;
  box-shadow: inset 0 3px 0 #f2b134, inset 0 -3px 0 #f2b134;
}
.road li {
  counter-increment: s;
  position: relative;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 58px 18px 20px;
}
.road li::before {
  content: "KM " counter(s, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: -14px;
  padding: 7px 11px 5px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12.5px;
  border: 2px solid var(--ink);
  border-radius: 8px 8px 3px 3px;
  box-shadow: inset 0 -5px 0 var(--fc, var(--sky));
}
.road li::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -36px;
  width: 3px;
  height: 36px;
  background: repeating-linear-gradient(180deg, var(--muted) 0 5px, transparent 5px 9px);
}
.road li:nth-child(2) { --fc: var(--ochre); }
.road li:nth-child(3) { --fc: var(--acacia); }
.road li:nth-child(4) { --fc: var(--terra); }
.road li:nth-child(5) { background: var(--mist); border-color: var(--sky); }
.road li:nth-child(5)::before { background: var(--ink); color: #fff; box-shadow: inset 0 -5px 0 var(--sky); }
.road h3 { font-size: 18.5px; margin-bottom: 6px; }
.road p { color: var(--muted); font-size: 14.5px; }
.road code {
  font-family: var(--font-mono);
  font-size: 0.78em;
  background: #fff;
  padding: 1px 6px;
  border-radius: 5px;
  border: 1px solid var(--line);
}

.setup-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.term {
  background: #05101f;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(14, 34, 51, 0.8);
  border: 1px solid #0f2a52;
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  background: #101e33;
  border-bottom: 1px solid #183256;
}
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--sky); }
.term-bar i:nth-child(2) { background: var(--ochre); }
.term-bar i:nth-child(3) { background: #d8e9ff; }
.term-bar span { margin-left: 10px; font-family: var(--font-mono); font-size: 12px; color: #a9bcbf; }
.term pre {
  padding: 20px 22px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.85;
  color: #e2ebf2;
  overflow-x: auto;
}
.term .c { color: #7f9497; }
.term .k { color: var(--ochre); }
.term .v { color: var(--sky); }
.devices { display: flex; flex-wrap: wrap; gap: 8px; }
.devices span {
  font-size: 13px;
  font-weight: 800;
  padding: 7px 13px;
  border-radius: 8px;
  background: var(--dune);
  color: var(--ink);
}
.setup-side h3 { font-size: 26px; margin-bottom: 12px; }
.setup-side p { color: var(--muted); margin-bottom: 18px; }

/* Network Topology & RTT */
#network { padding-top: 112px; }
.net-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: center;
}
.topo {
  background: #05101f;
  border: 1px solid #0f2a52;
  border-radius: 22px;
  padding: 16px;
}
.topo .flow { animation: dash 2.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -44; } }

.rtt { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.rtt th {
  text-align: left;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
  padding: 0 0 12px;
}
.rtt th:last-child { text-align: right; }
.rtt td { padding: 10px 0; border-top: 1px solid #122d54; color: #e2ebf2; vertical-align: middle; }
.rtt td:last-child { white-space: nowrap; text-align: right; }
.rtt .bar {
  display: inline-block;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--sky), var(--ochre));
  margin-right: 10px;
  vertical-align: middle;
}
.bar-5 { width: 6px; }
.bar-8 { width: 10px; }
.bar-14 { width: 16px; }
.bar-15 { width: 18px; }
.bar-18 { width: 22px; }
.bar-48 { width: 48px; }
.bar-69 { width: 68px; }
.rtt b { font-family: var(--font-mono); font-weight: 700; color: #fff; }
.rtt-note { margin-top: 14px; font-size: 14px; color: #aab4d4; }

.net-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}
.net-points div {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 22px;
  border: 1px solid rgba(43, 138, 230, 0.2);
}
.net-points div::before {
  content: "";
  display: block;
  width: 34px;
  height: 10px;
  border-radius: 4px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, #0d5eaf 0 33.3%, #ecc81d 33.3% 66.6%, #2b8ae6 66.6%);
}
.net-points h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.net-points p { font-size: 15px; }

/* Order Banner */
.order { padding: 28px 0 48px; background: var(--sand); }
.order .inner {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(125deg, #0a2a57 0%, #0d5eaf 58%, #1a437e 100%);
  border: 2px solid var(--ochre);
  padding: 56px 44px;
  color: #fff;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 28px;
  align-items: center;
}
.order .inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--ochre) 0 32px, var(--sky) 32px 64px);
}
.order .tree {
  position: absolute;
  right: 300px;
  bottom: 24px;
  width: 140px;
  height: 140px;
  opacity: 0.14;
  z-index: -1;
}
.order .emb {
  width: 100%;
  max-width: 240px;
  justify-self: center;
  filter: drop-shadow(0 24px 28px rgba(8, 26, 51, 0.45));
}
.order h2 { font-size: clamp(30px, 4vw, 50px); margin: 0 0 14px; color: #fff; }
.order h2 em { font-style: normal; color: var(--ochre); }
.order p { color: #dce9f8; max-width: 580px; font-size: 17.5px; font-weight: 500; }
.order .hero-ctas { margin: 24px 0 0; }

/* --------------------------------------------------------------------------
   05. Pricing Plans & Cards
   -------------------------------------------------------------------------- */
.pricing { background: var(--sand); padding-top: 96px; }
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 0 22px 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan .tank {
  position: relative;
  height: 92px;
  margin: 0 -22px 18px;
  background: linear-gradient(180deg, var(--mist), #fff);
  overflow: hidden;
}
.plan .tank svg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  max-width: none;
  animation: tide 8s linear infinite;
}
.tank--26 svg { height: 28%; }
.tank--44 svg { height: 46%; }
.tank--62 svg { height: 64%; }
.tank--82 svg { height: 82%; }
@keyframes tide { to { transform: translateX(-50%); } }
.plan .tank span {
  position: absolute;
  left: 22px;
  top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  z-index: 1;
}
.plan .save {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--mist);
  color: var(--sky-dd);
  padding: 5px 11px;
  border-radius: 8px;
}
.plan h3 { font-size: 23px; margin: 12px 0 10px; }
.price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 50px;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 5px;
  white-space: nowrap;
}
.price small { font-size: 25px; margin-top: 4px; color: var(--terra); letter-spacing: 0; }
.price em {
  font-style: normal;
  font-size: 12.5px;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--muted);
  align-self: flex-end;
  margin: 0 0 6px 2px;
  letter-spacing: 0;
}
.eq { font-weight: 800; font-size: 15px; color: var(--ink); margin-top: 8px; }
.usd { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.plan ul {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  margin-bottom: 22px;
  flex: 1;
  padding-top: 14px;
  border-top: 2px dashed var(--line);
}
.plan li { display: flex; gap: 9px; align-items: flex-start; }
.plan li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--sky-d) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.plan .btn { width: 100%; font-size: 15px; }

.plan.hot,
.plan--featured {
  background: linear-gradient(175deg, var(--night-3), var(--night));
  color: #c3d2de;
  border-color: var(--night);
  box-shadow: 0 30px 60px -28px rgba(14, 34, 51, 0.85), 0 0 0 3px var(--ochre);
  isolation: isolate;
}
.plan.hot .tank,
.plan--featured .tank { background: linear-gradient(180deg, #16386b, transparent); }
.plan.hot .tank span,
.plan--featured .tank span { background: var(--ochre); border-color: var(--ochre); }
.plan.hot h3,
.plan--featured h3 { color: #fff; }
.plan.hot .price,
.plan.hot .eq,
.plan--featured .price,
.plan--featured .eq { color: #fff; }
.plan.hot .price small,
.plan--featured .price small { color: var(--ochre); }
.plan.hot .price em,
.plan.hot .usd,
.plan--featured .price em,
.plan--featured .usd { color: #a9bcbf; }
.plan.hot .save,
.plan--featured .save { background: var(--sky); color: var(--ink); }
.plan.hot ul,
.plan--featured ul { border-top-color: rgba(255, 255, 255, 0.2); }
.plan.hot li::before,
.plan--featured li::before {
  background-color: var(--ochre);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230b1620' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.badge-best {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ochre);
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 8px;
  z-index: 2;
  box-shadow: 0 8px 20px -8px rgba(236, 200, 29, 0.9);
}

.pay-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 34px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--muted);
}
.pay-row > span { display: inline-flex; align-items: center; gap: 8px; }
.pay-row svg { width: 19px; height: 19px; flex: none; }
.card-logos i {
  font-style: normal;
  font-weight: 800;
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 8px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}

/* Compact 4-Plan Strip (City Pages & Cross-Sell) */
.compact-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.cplan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s, border-color 0.2s;
}
.cplan:hover { transform: translateY(-3px); border-color: var(--sky-d); }
.cplan--hot {
  background: var(--night);
  color: #d6e4f2;
  border: 2px solid var(--ochre);
}
.cplan--hot h3,
.cplan--hot .cplan-price { color: #fff; }
.cplan-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sky-dd);
  font-weight: 700;
}
.cplan--hot .cplan-tag { color: var(--ochre); }
.cplan h3 { font-size: 20px; }
.cplan-price {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.05;
  color: var(--ink);
}
.cplan-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.cplan--hot .cplan-sub { color: #a9bcbf; }
.cplan .btn { width: 100%; margin-top: auto; }

/* Guarantee Banner */
.guarantee-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, var(--night), var(--night-3));
  color: #d7e5f3;
  border: 1px solid rgba(43, 138, 230, 0.35);
  border-left: 6px solid var(--ochre);
  border-radius: 22px;
  padding: 28px 30px;
}
.guarantee-ico {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: rgba(236, 200, 29, 0.14);
  border: 1.5px solid var(--ochre);
  display: grid;
  place-items: center;
}
.guarantee-ico svg { width: 32px; height: 32px; }
.guarantee-band h2,
.guarantee-band h3 { color: #fff; font-size: 23px; margin-bottom: 6px; }
.guarantee-band p { font-size: 15.5px; color: #c4d6e8; }

/* --------------------------------------------------------------------------
   06. Bento, Device, App & Local Coverage Grids (Tech Hardware Lab)
   -------------------------------------------------------------------------- */
/* Structured 12-column Bento Grid */
.bento-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* Staggered Visual Showcase Cards */
.stagger-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.stagger-grid > *:nth-child(3n + 2) {
  transform: translateY(14px);
}
.stagger-grid > *:nth-child(3n + 2):hover {
  transform: translateY(10px);
}

.lab-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.lab-card:hover {
  transform: translateY(-4px);
  border-color: var(--sky-d);
  box-shadow: var(--shadow-md);
}
.lab-card--dark {
  background: linear-gradient(165deg, var(--night-2), var(--night));
  border-color: rgba(43, 138, 230, 0.28);
  color: #c8d8e8;
}
.lab-card--dark h3 { color: #fff; }
.lab-card--dark p { color: #b0c4d8; }
.lab-card h3 { font-size: 21px; }
.lab-card p { color: var(--muted); font-size: 15.5px; }

.lab-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 14.5px;
  color: var(--sky-dd);
  text-decoration: none;
}
.lab-card-links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}
.lab-card-links .lab-card-link {
  margin-top: 0;
}
.lab-card--dark .lab-card-link { color: var(--ochre); }
.lab-card-link:hover { text-decoration: underline; }

/* Device Cards with Custom SVG Icons */
.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: 20px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.device-card:hover {
  transform: translateY(-4px);
  border-color: var(--sky-d);
  box-shadow: var(--shadow-md);
}
.device-card.is-hidden { display: none; }
.device-icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--night), var(--night-3));
  border: 1px solid rgba(43, 138, 230, 0.35);
  display: grid;
  place-items: center;
}
.device-icon svg { width: 30px; height: 30px; }
.device-card h3 { font-size: 19.5px; }
.device-card p { font-size: 14.5px; color: var(--muted); flex: 1; }
.device-rec {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--sand);
  border: 1px solid var(--line);
  color: var(--ink);
}
.device-rec strong { color: var(--sky-dd); }

/* App Cards with Gradient SVG 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: 22px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--ochre);
  box-shadow: var(--shadow-md);
}
.app-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.app-tile {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  flex: none;
  overflow: hidden;
  box-shadow: 0 12px 24px -14px rgba(8, 26, 51, 0.7);
}
.app-tile svg { width: 100%; height: 100%; }
.app-head h3 { font-size: 21px; }
.app-head small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.app-card p { font-size: 15px; color: var(--muted); flex: 1; }

/* Dark Device-to-App Recommendation Band */
.rec-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.rec-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(43, 138, 230, 0.26);
  border-radius: 18px;
  padding: 20px;
}
.rec-item small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 6px;
}
.rec-item h3 { color: #fff; font-size: 19px; margin-bottom: 6px; }
.rec-item p { font-size: 14.5px; color: #b8cadb; }

/* Local City Scorecards & District Grid */
.score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.score-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.score-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.score-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--night);
  color: var(--ochre);
}
.score-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}
.score-metrics div {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
}
.score-metrics span { display: block; font-size: 11.5px; color: var(--muted); }
.score-metrics b { font-family: var(--font-mono); font-size: 14px; color: var(--ink); }

/* Author Profile & Testing Lab Cards */
.author-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 28px;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(43, 138, 230, 0.34);
  border-radius: 24px;
  padding: 28px;
  margin-top: 22px;
}
.author-avatar {
  width: 132px;
  height: 132px;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--ochre);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7);
}
.author-card h1 { margin: 4px 0 10px; }
.author-role {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ochre);
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.method-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  align-items: start;
}
.method-ico {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--night);
  border: 2px solid var(--ochre);
  display: grid;
  place-items: center;
}
.method-ico svg { width: 28px; height: 28px; }
.method-card h3 { font-size: 21px; margin-bottom: 8px; }
.method-card p { font-size: 15.5px; color: var(--muted); }

/* --------------------------------------------------------------------------
   07. Interactive Calculators & Filters
   -------------------------------------------------------------------------- */
/* Filter Bar & Category Jump Pills */
.filter-bar,
.jump-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  align-items: center;
}

.filter-pill,
.jump-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.filter-pill:hover,
.jump-pill:hover {
  border-color: var(--sky-d);
  background: var(--mist);
  color: var(--sky-dd);
}

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

.filter-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

/* Homepage Speed Estimator (Dial) */
.speed { background: var(--dune); }
.desk {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.desk-form { padding: 32px; }
.field { margin-bottom: 20px; }
.field:last-child { margin-bottom: 0; }
.field label,
.field .lbl {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 8px;
}
.field .val { font-family: var(--font-mono); color: var(--sky-dd); }
.isp-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.isp-tabs button {
  text-align: left;
  font: inherit;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 2px solid var(--line);
  background: var(--sand);
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
  line-height: 1.25;
}
.isp-tabs button small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); margin-top: 3px; }
.isp-tabs button[aria-pressed="true"] { border-color: var(--night); background: var(--night); color: #fff; }
.isp-tabs button[aria-pressed="true"] small { color: var(--sky); }
.field select {
  width: 100%;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 15px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: var(--sand);
  color: var(--ink);
}
input[type="range"] { width: 100%; accent-color: var(--sky-d); height: 28px; }
.range-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.desk-out {
  background: linear-gradient(175deg, var(--night-3), var(--night));
  color: #b4c4d2;
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.dial { display: grid; justify-items: center; text-align: center; }
.dial svg { width: 100%; max-width: 320px; height: auto; overflow: visible; }
#needle {
  transform-origin: 150px 150px;
  transform: rotate(-90deg);
  transition: transform 0.9s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.g-read b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 46px;
  color: #fff;
  line-height: 1;
  margin-top: -6px;
}
.g-read small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #a9bcbf;
  letter-spacing: 0.14em;
  margin-top: 6px;
}
.verdict {
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  line-height: 1.25;
}
.verdict::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--vc, var(--ok));
  flex: none;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}
.verdict.ok { --vc: var(--ok); }
.verdict.mid { --vc: var(--warn); }
.verdict.bad { --vc: var(--bad); }

.est-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.est-rows div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 14px;
}
.est-rows span { display: block; font-size: 12px; color: #a9bcbf; font-weight: 600; }
.est-rows b { font-family: var(--font-mono); font-weight: 700; font-size: 15px; color: #fff; }
.tip { font-size: 14.5px; color: #d6e2eb; border-left: 3px solid var(--ochre); padding-left: 14px; }

/* Dedicated 4K Speed & Buffer Calculator Page */
.calc-lab {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}
.calc-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.calc-panel--dark {
  background: linear-gradient(170deg, var(--night-2), var(--night));
  border-color: rgba(43, 138, 230, 0.35);
  color: #cfe0f0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.calc-group { margin-bottom: 22px; }
.calc-group:last-child { margin-bottom: 0; }
.calc-label {
  display: block;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--ink);
}
.calc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.calc-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--sand);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.16s ease;
}
.calc-btn:hover { border-color: var(--sky-d); background: var(--mist); }
.calc-btn[aria-pressed="true"] {
  background: var(--night);
  border-color: var(--night);
  color: #fff;
  box-shadow: 0 6px 14px -8px rgba(8, 26, 51, 0.65);
}
.calc-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.calc-kpi {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 18px;
}
.calc-kpi span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9cb4cc;
  margin-bottom: 6px;
}
.calc-kpi strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  color: #fff;
  line-height: 1.05;
}
.calc-kpi--accent strong { color: var(--ochre); }
.calc-kpi--sky strong { color: var(--sky); }
.calc-rec {
  background: rgba(43, 138, 230, 0.14);
  border: 1px solid rgba(43, 138, 230, 0.38);
  border-left: 4px solid var(--ochre);
  border-radius: 14px;
  padding: 18px;
}
.calc-rec h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.calc-rec p { font-size: 14.5px; color: #d5e5f5; }

.calc-meter {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
}
.calc-meter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #b8cadb;
  margin-bottom: 8px;
}
.calc-meter-head strong {
  color: var(--ochre);
  font-size: 12px;
}
.calc-meter-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.calc-meter-fill {
  height: 100%;
  width: 38%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ok), var(--sky), var(--ochre));
  transition: width 0.35s ease;
}

/* --------------------------------------------------------------------------
   08. Editorial Articles, Glossary, FAQ & Legal
   -------------------------------------------------------------------------- */
/* Article Cards Grid */
.guides { background: var(--sand); }
.all { margin-top: 34px; text-align: center; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  counter-reset: g;
}
.acard {
  counter-increment: g;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  overflow: hidden;
}
.acard::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
  background:
    linear-gradient(45deg, var(--ochre) 25%, transparent 25%) -4px 0 / 8px 8px,
    linear-gradient(315deg, var(--ochre) 25%, transparent 25%) -4px 0 / 8px 8px;
  opacity: 0.55;
  transition: opacity 0.25s;
  transform: scaleY(-1);
}
.acard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sky-d); }
.acard:hover::after { opacity: 1; }
.acard::before {
  content: counter(g, decimal-leading-zero);
  position: absolute;
  right: 20px;
  bottom: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 52px;
  line-height: 1;
  color: #e4ecf5;
}
.ameta { display: flex; justify-content: space-between; align-items: center; gap: 10px; position: relative; z-index: 1; }
.cat {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--night);
  color: #fff;
  padding: 5px 10px;
  border-radius: 7px;
}
.rt {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rt::before {
  content: "";
  width: 8px;
  height: 11px;
  background: var(--sky-d);
  clip-path: path("M4 0C4 0 0 5 0 7a4 4 0 0 0 8 0C8 5 4 0 4 0z");
}
.acard h3,
.acard h2 { font-size: 20.5px; line-height: 1.22; position: relative; z-index: 1; margin-top: 6px; }
.acard h3 a,
.acard h2 a { color: var(--ink); text-decoration: none; }
.acard h3 a::after,
.acard h2 a::after { content: ""; position: absolute; inset: -200px -30px -200px -40px; z-index: 2; }
.acard p { color: var(--muted); font-size: 15px; flex: 1; position: relative; z-index: 1; }
.more { font-weight: 800; font-size: 14.5px; color: var(--sky-dd); position: relative; z-index: 1; }

/* Article Hero & Layout */
.a-hero {
  background:
    radial-gradient(700px 360px at 85% 120%, rgba(236, 200, 29, 0.24), transparent 62%),
    linear-gradient(175deg, #05101f, var(--night) 55%, #16386b);
  color: #b4c4d2;
  padding: 54px 0 98px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.a-hero .weave { top: auto; bottom: -1px; }
.a-hero .medal-bg { position: absolute; right: 40px; bottom: 50px; width: 240px; opacity: 0.09; z-index: -1; }
.a-hero h1 { color: #fff; font-size: clamp(28px, 3.8vw, 48px); max-width: 940px; margin: 16px 0; letter-spacing: -0.035em; }
.a-hero-sub { max-width: 740px; font-size: 18px; color: #c7d6e6; }
.a-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: 14px; }
.a-meta .cat { background: var(--ochre); color: var(--ink); }
.a-meta strong,
.a-meta a { color: #fff; }
.a-meta a:hover { color: var(--ochre); }

.a-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 50px;
  padding: 36px 0 80px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 20px 20px;
  font-size: 14.5px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.toc::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10px;
  background: repeating-linear-gradient(180deg, #0d5eaf 0 2.5px, #fff 2.5px 5px);
}
.toc b {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 12px;
}
.toc ol { padding-left: 18px; display: grid; gap: 7px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--sky-dd); }
.toc .btn { width: 100%; margin-top: 16px; font-size: 14px; padding: 12px 14px; }

article.post { max-width: 780px; font-size: 17.5px; }
article.post .lede {
  font-size: 19px;
  color: #22303a;
  margin-bottom: 26px;
  padding: 22px 24px;
  background: var(--mist);
  border-radius: 20px;
  border: 1px solid #c5d9f0;
  position: relative;
}
article.post .lede p { margin: 0; }
article.post h2 {
  font-size: clamp(23px, 2.6vw, 31px);
  margin: 44px 0 14px;
  scroll-margin-top: 98px;
  display: flex;
  gap: 12px;
  align-items: baseline;
}
article.post h2::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 3px var(--sand), 0 0 0 5px var(--ochre);
  transform: translateY(-2px);
}
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(--sky-dd); font-weight: 700; }
article.post a.btn { text-decoration: none; }
article.post a.btn-wa { color: #03270e; }
article.post a.btn-gold,
article.post a.btn-ochre { color: var(--ink); }
article.post a.btn-sky,
article.post a.btn-ink { color: #fff; }
article.post code,
article.post kbd {
  font-family: var(--font-mono);
  font-size: 0.78em;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  word-break: break-word;
}

/* Tables & Callouts */
.table-wrap {
  overflow-x: auto;
  margin: 22px 0 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 540px; }
.table-wrap th {
  background: var(--night);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 3px solid var(--ochre);
}
.table-wrap td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.table-wrap tr:nth-child(even) td { background: #f4f8fc; }

.callout {
  background: var(--mist);
  border-left: 5px solid var(--sky-d);
  border-radius: 0 16px 16px 0;
  padding: 16px 20px;
  margin: 22px 0;
  font-size: 16px;
}
.callout.warn { background: rgba(236, 200, 29, 0.16); border-left-color: var(--ochre-d); }
.callout p:last-child { margin-bottom: 0; }

/* Article CTA & Author Byline */
.a-cta {
  margin: 42px 0 0;
  background: linear-gradient(135deg, var(--night), var(--night-3));
  border-bottom: 5px solid var(--ochre);
  color: #fff;
  border-radius: 22px;
  padding: 28px 28px 28px 110px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.a-cta .mini-ring { position: absolute; left: 22px; top: 50%; width: 70px; transform: translateY(-50%); }
.a-cta h3 { color: #fff; font-size: 21px; margin-bottom: 4px; }
.a-cta p { margin: 0; font-size: 15.5px; color: #c3d2de; }
.a-cta .btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
article.post .a-cta a.btn { color: var(--ink); }
article.post .a-cta a.btn-wa { color: #03270e; }

.author {
  margin-top: 34px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  font-size: 15px;
  color: var(--muted);
  display: flex;
  gap: 16px;
  align-items: center;
}
.author-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--night);
  color: var(--ochre);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  display: grid;
  place-items: center;
  flex: none;
  border: 2px solid var(--ochre);
}
.related { background: var(--dune); padding: 64px 0; }
.related h2 { font-size: 30px; margin-bottom: 24px; }
.hub-grid { padding: 36px 0 84px; }

/* FAQ Accordions */
.faq { background: var(--sand); padding-top: 96px; }
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.faq-wrap .sec-head { position: sticky; top: 100px; margin-bottom: 0; }
.faq-list details,
.a-faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 22px;
  margin-bottom: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-list details[open],
.a-faq details[open] {
  border-color: var(--sky-d);
  box-shadow: var(--shadow-sm);
}
.faq-list summary,
.a-faq summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 16.5px;
  padding: 18px 36px 18px 0;
  list-style: none;
  position: relative;
}
.faq-list summary::-webkit-details-marker,
.a-faq summary::-webkit-details-marker { display: none; }
.faq-list summary::after,
.a-faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--sky-dd);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
}
.faq-list details[open] summary::after,
.a-faq details[open] summary::after {
  content: "−";
  background: var(--night);
  color: var(--ochre);
}
.faq-list .ans,
.a-faq .ans { padding-bottom: 18px; color: #3a4650; font-size: 16px; }
.a-faq { margin-top: 44px; padding: 0; }
.a-faq h2 { margin-bottom: 18px; }
.faq-group { margin-bottom: 40px; scroll-margin-top: 100px; }
.faq-group h2 { font-size: 26px; margin-bottom: 16px; }

/* Technical Glossary 2-Column Visual Grid */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.glossary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  scroll-margin-top: 100px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.glossary-card:target,
.glossary-card:hover {
  border-color: var(--sky-d);
  box-shadow: var(--shadow-sm);
}
.glossary-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.glossary-card h2 { font-size: 22px; }
.glossary-card p { font-size: 15.5px; color: var(--muted); }
.glossary-tip {
  background: var(--sand);
  border-left: 3px solid var(--ochre-d);
  padding: 10px 14px;
  border-radius: 0 10px 10px 0;
  font-size: 14.5px;
  color: var(--ink);
  margin: 0;
}
.anchor-btn {
  background: var(--mist);
  border: 1px solid var(--line);
  color: var(--sky-dd);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 8px;
  cursor: pointer;
}
.anchor-btn:hover { background: var(--night); color: var(--ochre); border-color: var(--night); }

/* Legal Pages */
.legal {
  max-width: 840px;
  padding: 46px 0 84px;
  font-size: 17px;
}
.legal h2 { font-size: 24px; margin: 32px 0 10px; }
.legal p,
.legal ul { margin-bottom: 14px; }
.legal ul { padding-left: 22px; display: grid; gap: 6px; }

/* --------------------------------------------------------------------------
   09. Footer, Sticky CTA & WhatsApp
   -------------------------------------------------------------------------- */
.foot {
  background: var(--night);
  color: #a9bcbf;
  padding: 76px 0 130px;
  font-size: 15px;
  position: relative;
  margin-top: 32px;
}
.foot .weave { top: -39px; }
.foot .medal-bg { position: absolute; right: 30px; bottom: 40px; width: 260px; opacity: 0.07; pointer-events: none; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  position: relative;
}
.foot h4,
.foot .foot-title {
  color: var(--ochre);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a { color: #e2ebf2; text-decoration: none; }
.foot a:hover { color: var(--sky); }
.foot .brand { margin-bottom: 14px; color: #fff; }
.foot .brand b { color: var(--sky); }
.foot .brand small { color: var(--ochre); }
.foot-pay { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.paychip {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  font-size: 11.5px;
  padding: 5px 11px;
  border-radius: 8px;
}
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  position: relative;
}

/* Sticky Non-Homepage Conversion Pill (#cta-sticky) */
#cta-sticky {
  position: fixed;
  left: 18px;
  bottom: 20px;
  z-index: 58;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--night);
  color: #fff;
  border: 2px solid var(--ochre);
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 800;
  font-size: 14.5px;
  text-decoration: none;
  box-shadow: 0 18px 34px -14px rgba(8, 26, 51, 0.72);
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease, background 0.2s;
}
#cta-sticky.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
#cta-sticky:hover { background: var(--sky-dd); }
#cta-sticky em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--ochre);
  color: var(--ink);
  padding: 3px 8px;
  border-radius: 999px;
}

/* Floating WhatsApp Pill */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  filter: drop-shadow(0 14px 26px rgba(14, 34, 51, 0.42));
  transition: transform 0.25s;
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float .wa-pill {
  position: relative;
  display: block;
  background: var(--wa);
  color: #03270e;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.25;
  padding: 11px 20px;
  border-radius: 999px;
  white-space: nowrap;
  border: 2px solid var(--wa-dark);
}
.wa-float .wa-pill small { display: block; font-weight: 600; font-size: 11px; opacity: 0.84; }
.wa-float .wa-pill::after {
  content: "";
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 9px 0 9px 13px;
  border-color: transparent transparent transparent var(--wa-dark);
}
.wa-float .wa-pill::before {
  content: "";
  position: absolute;
  right: -9px;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 7px 0 7px 10px;
  border-color: transparent transparent transparent var(--wa);
  z-index: 1;
}
.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%, #13a14a);
  display: grid;
  place-items: center;
  border: 2px solid var(--wa-dark);
}
.wa-float .wa-circ::before {
  content: "";
  position: absolute;
  inset: -2px;
  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: #35e07c; }
.wa-float:hover .wa-pill::before { border-left-color: #35e07c; }
@keyframes waping {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* --------------------------------------------------------------------------
   10. Responsive Breakpoints (<=1024px, <=760px, <=600px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .burger { display: block; }
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--sand);
    padding: 12px 20px 22px;
    gap: 4px;
    display: none;
    border-bottom: 4px solid var(--ink);
    box-shadow: 0 20px 30px -20px rgba(14, 34, 51, 0.4);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 12px; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }

  .hero-grid,
  .desk,
  .calc-lab,
  .setup-grid,
  .net-grid,
  .faq-wrap,
  .a-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .hero { padding: 52px 0 170px; }
  .faq-wrap .sec-head,
  .toc { position: static; }

  .plans,
  .compact-plans,
  .device-grid,
  .gauges,
  .spec-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reels,
  .cards,
  .app-grid,
  .stagger-grid,
  .score-grid,
  .rec-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stagger-grid > *:nth-child(3n + 2) { transform: none; }
  .reel.wide { grid-column: 1 / -1; }
  .pillars,
  .net-points,
  .method-grid,
  .glossary-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .col-4,
  .col-6,
  .col-8 { grid-column: span 12; }

  .road {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-bottom: 0;
    padding-left: 38px;
  }
  .road::after {
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    width: 22px;
    height: auto;
    background:
      linear-gradient(90deg, transparent 9px, #f4f7f5 9px 13px, transparent 13px) 0 0 / 22px 40px repeat-y,
      #2b3138;
    box-shadow: inset 3px 0 0 #f2b134, inset -3px 0 0 #f2b134;
  }
  .road li::after {
    left: -18px;
    top: 50%;
    bottom: auto;
    width: 18px;
    height: 3px;
    background: var(--muted);
  }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .guarantee-band { grid-template-columns: 1fr; }
  .order .inner { grid-template-columns: minmax(0, 1fr); padding: 44px 24px 60px; text-align: center; }
  .order .emb { max-width: 160px; grid-row: 1; }
  .order p { margin: 0 auto; }
  .order .hero-ctas { justify-content: center; }
  .order .tree { display: none; }
}

@media (max-width: 760px) {
  section { padding: 68px 0; }
  .isp-tabs { grid-template-columns: minmax(0, 1fr); }
  .author-card { grid-template-columns: 1fr; text-align: left; }
  .reels,
  .cards,
  .app-grid,
  .stagger-grid,
  .score-grid,
  .rec-matrix {
    grid-template-columns: minmax(0, 1fr);
  }
  #cta-sticky {
    left: 14px;
    right: auto;
    bottom: 92px;
    font-size: 13.5px;
    padding: 10px 16px;
  }
}

@media (max-width: 600px) {
  .wrap { width: min(1200px, 100% - 28px); }
  .hero-ctas .btn { width: 100%; }
  .trust,
  .c-mid,
  .plans,
  .compact-plans,
  .device-grid,
  .gauges,
  .spec-strip,
  .est-rows,
  .calc-kpi-grid,
  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .map { max-width: 220px; margin: 0 auto; }
  .console-card { padding: 16px; }
  .c-stats b { font-size: 18px; }
  .hero .horizon { height: 150px; }
  .desk-form,
  .desk-out,
  .calc-panel { padding: 22px 18px; }
  .g-read b { font-size: 38px; }
  .a-cta { padding: 100px 20px 24px; }
  .a-cta .mini-ring { top: 18px; left: 20px; transform: none; }
  .method-card { grid-template-columns: 1fr; }
  .author { flex-direction: column; align-items: flex-start; }

  .wa-float { right: 12px; bottom: 12px; gap: 10px; }
  .wa-float .wa-pill { font-size: 13.5px; padding: 9px 15px; }
  .wa-float .wa-pill small { display: none; }
  .wa-float .wa-circ { width: 52px; height: 52px; }
  .wa-float .wa-circ svg { width: 28px; height: 28px; }

  #cta-sticky {
    left: 12px;
    bottom: 76px;
    font-size: 13px;
    padding: 9px 14px;
    max-width: calc(100vw - 24px);
  }
}

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