/* ==========================================================================
   IPTV Jamaica — Pro Theme Stylesheet (Editorial Broadcast Magazine Edition)
   Domain: https://iptv-jamaica.online/
   ========================================================================== */

/* 01. Tokens & Reset */
:root {
  --night: #0d100e;
  --night-2: #151a17;
  --night-3: #1c241f;
  --jade: #009b3a;
  --jade-d: #00702a;
  --jade-l: #3ccf74;
  --gold: #fed100;
  --gold-d: #e2b800;
  --sea: #0fa3a3;
  --sea-d: #0b7676;
  --coral: #ff5a3c;
  --cream: #fbf6e8;
  --sand: #f2e9d2;
  --paper: #ffffff;
  --ink: #121612;
  --muted: #525953;
  --line: #e2d8bf;
  --line-dark: rgba(255, 255, 255, 0.11);
  --wa: #25d366;
  --wa-dark: #108a42;
  --r: 20px;
  --r-lg: 26px;
  --shadow-card: 0 22px 44px -30px rgba(13, 16, 14, 0.55);
  --shadow-lift: 0 28px 56px -28px rgba(13, 16, 14, 0.72);
}

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

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

body {
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.66;
  font-size: 17px;
  overflow-x: clip;
}

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

a {
  color: var(--jade-d);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

a:hover {
  color: var(--night);
}

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

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

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

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 999;
  background: var(--paper);
  color: var(--night);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jade-d);
}

.kicker i {
  font-style: normal;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--night);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0;
  box-shadow: 0 0 0 3px var(--gold);
}

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

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

.sec-head h2 em {
  font-style: normal;
  background: linear-gradient(transparent 62%, rgba(254, 209, 0, 0.72) 62% 92%, transparent 92%);
  padding: 0 0.08em;
}

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

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

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

.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 26px; }
.mt-lg { margin-top: 38px; }
.mb-0 { margin-bottom: 0; }
.text-right { text-align: right; }
.muted-note { margin-top: 18px; font-size: 14.5px; color: var(--muted); max-width: 820px; }
.dark .muted-note { color: #8ea395; }

/* Buttons */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Figtree", sans-serif;
  font-weight: 800;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 999px;
  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::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

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

.btn:hover::after {
  left: 130%;
}

.btn-gold {
  background: var(--gold);
  color: var(--night);
  box-shadow: 0 12px 28px -12px rgba(254, 209, 0, 0.85);
}

.btn-gold:hover {
  color: var(--night);
}

.btn-jade {
  background: var(--jade);
  color: #fff;
  box-shadow: 0 12px 28px -14px rgba(0, 155, 58, 0.9);
}

.btn-jade:hover {
  color: #fff;
}

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

.btn-night:hover {
  color: var(--gold);
}

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

.btn-wa:hover,
a.btn-wa:hover {
  color: #04290f;
}

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

.btn-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.36);
}

.btn-ghost:hover {
  color: var(--gold);
  box-shadow: inset 0 0 0 2px var(--gold);
}

.btn-outline {
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line);
}

.btn-outline:hover {
  box-shadow: inset 0 0 0 2px var(--jade);
  color: var(--jade-d);
}

.btn .arr {
  font-size: 1.1em;
  line-height: 1;
  transition: transform 0.2s ease;
}

.btn:hover .arr {
  transform: translateX(3px);
}

/* 03. Header & Navigation (Compact Utility Header) */
.saltbar {
  height: 7px;
  background: linear-gradient(
    135deg,
    var(--jade) 0 25%,
    var(--gold) 25% 30%,
    var(--night) 30% 70%,
    var(--gold) 70% 75%,
    var(--jade) 75%
  );
  background-size: 56px 7px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 16, 14, 0.95);
  backdrop-filter: blur(12px) saturate(1.25);
  color: #fff;
  border-bottom: 1px solid rgba(254, 209, 0, 0.2);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1;
  flex: none;
}

.brand:hover {
  color: #fff;
}

.brand .logo-mark {
  width: 40px;
  height: 40px;
  flex: none;
  transform: rotate(-4deg);
  transition: transform 0.3s ease;
}

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

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

.brand small {
  display: block;
  font-family: "Space Mono", monospace;
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #8fc9a3;
  margin-top: 4px;
}

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

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

.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(254, 209, 0, 0.14);
  color: var(--gold);
}

.nav .nav-cta {
  background: var(--gold);
  color: var(--night);
  margin-left: 8px;
  padding: 9px 18px;
  box-shadow: 0 0 0 3px rgba(254, 209, 0, 0.2);
}

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

.burger {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
}

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

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 10, 0.56);
  z-index: 45;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

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

/* 04. Hero & Alternating Editorial Bands */
section,
.band {
  padding: 88px 0;
  position: relative;
}

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

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

.dark h2,
.dark h3,
.dark .sec-head h2,
.band-dark h2,
.band-dark h3 {
  color: #fff;
}

.dark .sec-head h2 em,
.band-dark .sec-head h2 em {
  background: none;
  color: var(--gold);
}

.dark .sec-head p,
.band-dark .sec-head p {
  color: #9aa99f;
}

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

.dark .kicker i,
.band-dark .kicker i {
  background: var(--gold);
  color: var(--night);
  box-shadow: 0 0 0 3px rgba(254, 209, 0, 0.25);
}

.dark a:not(.btn):not(.nav-cta),
.band-dark a:not(.btn):not(.nav-cta),
.a-hero .hero-sub a {
  color: var(--gold);
  font-weight: 700;
}

.dark a:not(.btn):not(.nav-cta):hover,
.band-dark a:not(.btn):not(.nav-cta):hover,
.a-hero .hero-sub a:hover {
  color: #fff;
}

/* Homepage Hero */
.hero {
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(15, 163, 163, 0.28), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(0, 155, 58, 0.32), transparent 60%),
    var(--night);
  color: #b9c6bd;
  padding: 68px 0 144px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  z-index: -2;
  background:
    linear-gradient(33deg, transparent 48.6%, rgba(254, 209, 0, 0.11) 48.6% 51.4%, transparent 51.4%),
    linear-gradient(-33deg, transparent 48.6%, rgba(254, 209, 0, 0.11) 48.6% 51.4%, transparent 51.4%);
}

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

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

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

.hero .kicker i {
  background: var(--gold);
  color: var(--night);
  box-shadow: 0 0 0 3px rgba(254, 209, 0, 0.25);
}

.hero h1 {
  color: #fff;
  font-size: clamp(38px, 5.4vw, 68px);
  margin: 20px 0 20px;
  line-height: 0.99;
  letter-spacing: -0.04em;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
  position: relative;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.06em;
  height: 0.12em;
  background: var(--jade);
  border-radius: 99px;
  transform: skewX(-20deg);
}

.hero h1 span {
  display: block;
  font-family: "Figtree", sans-serif;
  font-size: 0.34em;
  letter-spacing: 0;
  font-weight: 600;
  color: #a3b8aa;
  margin-top: 16px;
  line-height: 1.42;
}

.hero .lead {
  font-size: 18px;
  max-width: 610px;
}

.hero .lead b {
  color: #fff;
}

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

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  max-width: 640px;
}

.trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  padding: 7px 15px 7px 7px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}

.trust li span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
}

.trust svg {
  width: 17px;
  height: 17px;
}

/* Island Telemetry Frame & SVG Flow Animation */
.flow {
  animation: dash 3s linear infinite;
}

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

.island {
  position: relative;
  background: linear-gradient(160deg, #152520, #0b1411);
  border: 1px solid rgba(254, 209, 0, 0.28);
  border-radius: 26px;
  padding: 18px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.island-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0 6px 12px;
  color: #86a593;
}

.island-top i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  margin-right: 8px;
  animation: blink 1.4s infinite;
}

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

.map {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 50 / 33;
  background: #08313a;
}

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

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

.island-row div {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.island-row b {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 22px;
  line-height: 1.1;
  color: #fff;
}

.island-row div:nth-child(1) b { color: var(--gold); }
.island-row div:nth-child(2) b { color: var(--jade-l); }

.island-row span {
  font-size: 12px;
  color: #86a593;
  font-weight: 600;
}

.sticker {
  position: absolute;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--night);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6);
}

.sticker.s1 { top: -16px; right: 24px; transform: rotate(3deg); }
.sticker.s2 { bottom: -16px; left: 24px; background: var(--jade); color: #fff; transform: rotate(-2deg); }

/* Subpage Editorial Hero (.a-hero / .p-hero) */
.crumbs {
  font-size: 13.5px;
  color: #9aa99f;
  margin-bottom: 16px;
  font-family: "Space Mono", monospace;
}

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

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

.a-hero {
  background:
    linear-gradient(33deg, transparent 48.8%, rgba(254, 209, 0, 0.11) 48.8% 51.2%, transparent 51.2%),
    linear-gradient(-33deg, transparent 48.8%, rgba(254, 209, 0, 0.11) 48.8% 51.2%, transparent 51.2%),
    radial-gradient(700px 420px at 100% 0%, rgba(15, 163, 163, 0.26), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(0, 155, 58, 0.28), transparent 60%),
    var(--night);
  color: #b9c6bd;
  padding: 54px 0 84px;
  position: relative;
  overflow: hidden;
}

.a-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 40px;
  background: var(--cream);
  clip-path: polygon(0 100%, 0 60%, 12% 30%, 24% 58%, 38% 18%, 52% 52%, 66% 22%, 80% 56%, 92% 32%, 100% 50%, 100% 100%);
}

.a-hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.4vw, 54px);
  max-width: 920px;
  margin: 14px 0 16px;
  letter-spacing: -0.035em;
}

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

.a-hero .hero-sub {
  max-width: 740px;
  font-size: 18px;
  color: #cad6ce;
}

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

.a-meta .cat {
  background: var(--gold);
  color: var(--night);
}

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

.a-meta a:hover {
  color: var(--gold);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(254, 209, 0, 0.22);
  border-radius: 16px;
  padding: 16px 18px;
}

.metric-card b {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 26px;
  color: var(--gold);
  line-height: 1.1;
}

.metric-card span {
  display: block;
  font-size: 13px;
  color: #c2cfc7;
  margin-top: 4px;
  font-weight: 600;
}

/* Light elevated metric cards */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}

.metric-elevated {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--jade);
  border-radius: 18px;
  padding: 20px 20px 18px;
  box-shadow: var(--shadow-card);
}

.metric-elevated--gold { border-top-color: var(--gold-d); }
.metric-elevated--sea { border-top-color: var(--sea); }
.metric-elevated--coral { border-top-color: var(--coral); }

.metric-elevated .m-label {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.metric-elevated b {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 30px;
  color: var(--ink);
  margin: 6px 0 4px;
  line-height: 1.05;
}

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

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

.cine::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 110px;
  background: linear-gradient(var(--sand), transparent);
  pointer-events: none;
}

.poster-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 38px 0 14px;
}

.poster-head h3 { font-size: 24px; }
.poster-head-r {
  display: flex;
  align-items: center;
  gap: 12px;
}
.poster-head span {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--jade-d);
}
.carousel-nav {
  display: inline-flex;
  gap: 6px;
}
.carousel-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.carousel-btn:hover {
  background: var(--night);
  border-color: var(--night);
  color: var(--gold);
}

.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 30px;
  padding: 12px 4px 22px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(13, 16, 14, 0.1);
}

.poster-carousel::-webkit-scrollbar { height: 6px; }
.poster-carousel::-webkit-scrollbar-thumb { background: var(--gold-d); border-radius: 999px; }

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

.poster-carousel figure { position: relative; margin: 0; }
.poster-carousel img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.poster-carousel li:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 26px 48px -16px rgba(0, 0, 0, 0.9), 0 0 0 2px var(--gold);
}

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

.poster-carousel figcaption {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 1;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--night);
}

.cine-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 42px;
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 600;
}

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

/* Ticket Genre Cards */
.tickets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ticket:hover {
  transform: translateY(-5px) rotate(-0.35deg);
  box-shadow: var(--shadow-lift);
}

.ticket.span2 { grid-column: span 2; }
.ticket.span3 { grid-column: 1 / -1; flex-direction: row; }

.t-art {
  position: relative;
  height: 204px;
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  isolation: isolate;
}

.t-art--action { background: linear-gradient(150deg, #ff5a3c, #a3241a 55%, #2a0806); }
.t-art--thriller { background: linear-gradient(160deg, #1b3d44, #0d1c20 60%, #050a0b); }
.t-art--scifi { background: linear-gradient(150deg, #3b2f9e, #122a55 55%, #060b1a); }
.t-art--family { background: linear-gradient(150deg, #fed100, #ffa630 55%, #ff5a3c); }
.t-art--docs { background: linear-gradient(180deg, #0a1a33, #0b3a5a 55%, #0d4a37); }
.t-art--caribbean { background: linear-gradient(120deg, #ffa630, #ff5a3c 45%, #3a0f14); }

.ticket.span2 .t-art { height: 242px; }
.ticket.span3 .t-art { height: auto; min-height: 224px; flex: 1.25; border-radius: 22px 0 0 22px; }

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

.t-art .res {
  position: absolute;
  right: 16px;
  top: 12px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 42px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.t-art .badges {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.t-art .badges span {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(13, 16, 14, 0.72);
  color: #fff;
  backdrop-filter: blur(4px);
}

.t-art .badges span.hi {
  background: var(--gold);
  color: var(--night);
}

.perf-line {
  position: relative;
  height: 0;
  border-top: 2px dashed #d9cfb6;
  margin: 0 18px;
}

.perf-line::before,
.perf-line::after {
  content: "";
  position: absolute;
  top: -13px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cream);
}

.perf-line::before { left: -30px; }
.perf-line::after { right: -30px; }

.ticket.span3 .perf-line {
  height: auto;
  border-top: 0;
  border-left: 2px dashed #d9cfb6;
  margin: 18px 0;
}

.ticket.span3 .perf-line::before { left: -13px; top: -30px; }
.ticket.span3 .perf-line::after { left: -13px; right: auto; top: auto; bottom: -30px; }

.t-info {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.ticket.span3 .t-info { flex: 1; justify-content: center; padding: 26px 30px; }

.t-no {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--jade-d);
  display: flex;
  justify-content: space-between;
}

.t-no b { color: var(--coral); }
.t-info h3 { font-size: 24px; }
.ticket.span2 .t-info h3,
.ticket.span3 .t-info h3 { font-size: 29px; }
.t-info p { color: var(--muted); font-size: 15.5px; }

/* Performance Dials & Pillars */
.perf { overflow: hidden; }
.perf::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(33deg, transparent 49.5%, rgba(254, 209, 0, 0.05) 49.5% 50.5%, transparent 50.5%),
    linear-gradient(-33deg, transparent 49.5%, rgba(254, 209, 0, 0.05) 49.5% 50.5%, transparent 50.5%);
  pointer-events: none;
}

.dials {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 56px;
  position: relative;
}

.dial { text-align: center; }
.dial--gold { --c: #fed100; }
.dial--jade { --c: #3ccf74; }
.dial--sea { --c: #0fa3a3; }
.dial--coral { --c: #ff5a3c; }

.cone {
  position: relative;
  width: min(186px, 100%);
  aspect-ratio: 1;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: repeating-radial-gradient(circle, #1d2420 0 6px, #141a17 6px 12px);
  box-shadow: 0 0 0 6px #222a25, 0 0 0 8px var(--c), 0 26px 50px -20px rgba(0, 0, 0, 0.8);
}

.cone::before {
  content: "";
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3a443e, #0c100e 70%);
  box-shadow: inset 0 0 0 3px var(--c);
}

.cone b {
  position: relative;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.3vw, 31px);
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.cone b span { color: var(--c); }
.dial:hover .cone { animation: thump 0.5s ease 2; }
@keyframes thump { 50% { transform: scale(1.04); } }

.dial small {
  display: block;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d7e2da;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  position: relative;
}

.pillar {
  position: relative;
  background: linear-gradient(170deg, #18201c, #101512);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 30px 26px 26px;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.pillar--jade { --c: #009b3a; }
.pillar--gold { --c: #fed100; }
.pillar--coral { --c: #ff5a3c; }
.pillar--sea { --c: #0fa3a3; }

.pillar:hover {
  border-color: var(--c);
  transform: translateY(-4px);
}

.pillar::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 150px;
  height: 150px;
  background:
    linear-gradient(45deg, transparent 44%, var(--c) 44% 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, var(--c) 44% 56%, transparent 56%);
  opacity: 0.14;
}

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

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

.pillar .num {
  position: absolute;
  right: 24px;
  top: 22px;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 13px;
  color: #6f7f75;
}

.pillar h3 { color: #fff; font-size: 23px; margin-bottom: 10px; }
.pillar p { font-size: 15.5px; color: #aebbb2; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 12px;
}

.chips span {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e3ebe5;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.chips--light span {
  background: var(--sand);
  color: var(--ink);
  border: 1px solid var(--line);
}

.pillar ul {
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 14.5px;
  color: #cbd6ce;
}

.pillar li::before {
  content: "✕ ";
  color: var(--gold);
  font-weight: 800;
  font-size: 12px;
}

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

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

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

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

.plan .save {
  align-self: flex-start;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--sand);
  color: var(--jade-d);
  padding: 5px 11px;
  border-radius: 999px;
}

.plan h3 { font-size: 22px; margin: 14px 0 6px; }

.price {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 46px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.price small { font-size: 21px; color: var(--jade-d); }
.eq { font-weight: 700; font-size: 14.5px; color: var(--ink); margin-top: 8px; }
.usd { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

.plan ul {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  margin-bottom: 22px;
  flex: 1;
  padding-top: 15px;
  border-top: 1px dashed var(--line);
}

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

.plan li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--jade) 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; padding: 13px 18px; }

.plan.hot,
.plan--featured {
  background: var(--night);
  color: #c3cfc7;
  border-color: var(--night);
  box-shadow: 0 30px 60px -28px rgba(0, 155, 58, 0.6), 0 0 0 3px var(--gold);
  overflow: hidden;
}

.plan.hot::before,
.plan--featured::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 130px;
  height: 130px;
  background:
    linear-gradient(45deg, transparent 42%, var(--gold) 42% 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, var(--gold) 42% 58%, transparent 58%);
  opacity: 0.22;
}

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

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

.plan.hot .usd,
.plan--featured .usd { color: #93a398; }

.plan.hot .save,
.plan--featured .save { background: var(--jade); color: #fff; }

.plan.hot ul,
.plan--featured ul { border-top-color: rgba(255, 255, 255, 0.15); }

.plan.hot li::before,
.plan--featured li::before {
  background-color: var(--gold);
  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='%230d100e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.badge-best {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--night);
  padding: 5px 11px;
  border-radius: 999px;
  z-index: 1;
}

.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: 12.5px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: var(--paper);
}

/* Guarantee / Trust Banner */
.guarantee-bar {
  margin-top: 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 6px solid var(--jade);
  border-radius: 20px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.guarantee-bar h3 { font-size: 22px; margin-bottom: 6px; }
.guarantee-bar p { color: var(--muted); font-size: 15.5px; }

.included-strip {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.included-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--jade);
  border-radius: 16px;
  padding: 16px 18px;
}

.included-item:nth-child(2) { border-top-color: var(--gold-d); }
.included-item:nth-child(3) { border-top-color: var(--sea); }
.included-item:nth-child(4) { border-top-color: var(--coral); }

.included-item strong {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 4px;
}

.included-item p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* 06. Bento / Device / App / Matrix Grids */
.matrix-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

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

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

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

.bento-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

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

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

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

.bento-card a.card-link:hover { color: var(--night); }

/* Device & App Icon Tiles */
.device-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-tile {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--night);
  border: 1px solid rgba(254, 209, 0, 0.28);
  box-shadow: 0 10px 20px -12px rgba(13, 16, 14, 0.7);
}

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

.icon-tile--app {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  border: 0;
  overflow: hidden;
}

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

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

.spec-chip {
  font-family: "Space Mono", monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink);
  border: 1px solid var(--line);
}

.spec-chip--jade {
  background: rgba(0, 155, 58, 0.12);
  color: var(--jade-d);
  border-color: rgba(0, 155, 58, 0.28);
}

.spec-chip--gold {
  background: rgba(254, 209, 0, 0.25);
  color: #5b4800;
  border-color: rgba(226, 184, 0, 0.45);
}

/* Filter & Jump Pills */
.pill-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.pill-btn,
.pill-link {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.pill-btn:hover,
.pill-link:hover,
.pill-btn[aria-pressed="true"],
.pill-btn.active {
  background: var(--night);
  color: var(--gold);
  border-color: var(--night);
}

.filter-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: -14px 0 22px;
  font-family: "Space Mono", monospace;
  font-size: 12px;
  color: var(--muted);
}

.filter-meta strong { color: var(--jade-d); }

/* Dark Matrix Cards (e.g. Device-to-App Band, Local Scorecards) */
.dark-card {
  background: var(--night-2);
  border: 1px solid var(--line-dark);
  border-top: 3px solid var(--gold);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.dark-card:nth-child(2) { border-top-color: var(--jade-l); }
.dark-card:nth-child(3) { border-top-color: var(--sea); }
.dark-card:nth-child(4) { border-top-color: var(--coral); }
.dark-card:hover { transform: translateY(-3px); border-color: rgba(254, 209, 0, 0.45); }

.dark-card h3 { color: #fff; font-size: 20px; margin-bottom: 2px; }
.dark-card p { color: #b9c6bd; font-size: 15px; flex: 1; }
.dark-card .card-link {
  color: var(--gold);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dark-card .card-link:hover { color: #fff; }

/* Setup Timeline & Console */
.setup { background: var(--paper); }

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

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

.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 20px;
  bottom: 20px;
  width: 3px;
  background: repeating-linear-gradient(var(--jade) 0 10px, transparent 10px 16px);
}

.timeline li {
  counter-increment: s;
  position: relative;
  padding: 10px 0 18px 72px;
}

.timeline li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 6px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--night);
  color: var(--gold);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--gold);
}

.timeline li:last-child::before { background: var(--jade); color: #fff; }
.timeline h3 { font-size: 20px; margin-bottom: 4px; }
.timeline p { color: var(--muted); font-size: 15.5px; }
.timeline code { font-family: "Space Mono", monospace; font-size: 0.84em; background: var(--sand); padding: 1px 6px; border-radius: 6px; }

.console {
  background: #0a0d0b;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(13, 16, 14, 0.8);
  border: 1px solid #232b26;
  position: sticky;
  top: 96px;
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  background: #141a16;
  border-bottom: 1px solid #232b26;
}

.console-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5a3c; }
.console-bar i:nth-child(2) { background: #fed100; }
.console-bar i:nth-child(3) { background: #3ccf74; }
.console-bar span { margin-left: 10px; font-family: "Space Mono", monospace; font-size: 12px; color: #86a593; }

.console pre {
  padding: 20px 22px 22px;
  font-family: "Space Mono", monospace;
  font-size: 13.5px;
  line-height: 1.85;
  color: #d7e2da;
  overflow-x: auto;
}

.console .c { color: #6f7f75; }
.console .k { color: var(--gold); }
.console .v { color: #3ccf74; }

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

.devices span {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: #1a211d;
  color: #d7e2da;
  border: 1px solid #2a332d;
}

/* Network Topology & Ruled Tables */
.net-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 38px;
  align-items: center;
}

.topo {
  background: #0a0d0b;
  border: 1px solid #232b26;
  border-radius: 24px;
  padding: 16px;
}

.rtt { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.rtt th {
  text-align: left;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0 0 12px;
  font-weight: 700;
}

.rtt td { padding: 11px 0; border-top: 1px solid #232b26; color: #d7e2da; 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(--jade), var(--gold));
  margin-right: 10px;
  vertical-align: middle;
}

.bar--w22 { width: 22px; }
.bar--w24 { width: 24px; }
.bar--w25 { width: 25px; }
.bar--w29 { width: 29px; }
.bar--w41 { width: 41px; }
.bar--w60 { width: 60px; }

.rtt b { font-family: "Space Mono", monospace; color: #fff; }

.net-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.net-points div { border-top: 3px solid var(--jade); padding-top: 18px; }
.net-points div:nth-child(2) { border-top-color: var(--gold); }
.net-points div:nth-child(3) { border-top-color: var(--sea); }
.net-points h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.net-points p { font-size: 15px; }

/* Ruled Broadcast Tables */
.table-wrap {
  overflow-x: auto;
  margin: 22px 0 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

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

.table-wrap th {
  background: var(--night);
  color: #fff;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  padding: 13px 16px;
  border-bottom: 3px solid var(--gold);
}

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

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

/* 07. Interactive Calculator & Filters */
.speed { background: var(--sand); }

.desk {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  background: var(--paper);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(13, 16, 14, 0.6);
  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: "Space Mono", monospace; color: var(--jade-d); }

.isp-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.isp-tabs button {
  text-align: left;
  font: inherit;
  font-weight: 800;
  font-size: 14.5px;
  padding: 13px 15px;
  border-radius: 16px;
  border: 2px solid var(--line);
  background: var(--cream);
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}

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

.isp-tabs button[aria-pressed="true"] {
  border-color: var(--jade);
  background: #eaf7ef;
  box-shadow: inset 0 0 0 1px var(--jade);
}

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

.field select:focus,
.isp-tabs button:focus-visible,
input[type="range"]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--jade);
  height: 28px;
}

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

.desk-out {
  background: var(--night);
  color: #b9c6bd;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

.desk-out::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(33deg, transparent 49.5%, rgba(254, 209, 0, 0.06) 49.5% 50.5%, transparent 50.5%);
  pointer-events: none;
}

.eqbox {
  position: relative;
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 146px;
  padding: 14px;
  border-radius: 18px;
  background: #070908;
  border: 1px solid #232b26;
}

.eqbox i {
  flex: 1;
  border-radius: 4px;
  background: #1b221e;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.eqbox i::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--h, 0%);
  background: var(--col, #3ccf74);
  transition: height 0.45s cubic-bezier(0.3, 1.4, 0.5, 1), background 0.3s ease;
  border-radius: 4px;
  box-shadow: 0 0 14px var(--col, #3ccf74);
}

.eqbox .pct {
  position: absolute;
  right: 16px;
  top: 10px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: #fff;
  text-shadow: 0 2px 10px #000;
}

.eqbox .pct small {
  display: block;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  color: #86a593;
  letter-spacing: 0.1em;
  text-align: right;
}

.verdict {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.verdict::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--vc, #3ccf74);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
  flex: none;
}

.verdict.ok { --vc: #3ccf74; }
.verdict.mid { --vc: #fed100; }
.verdict.bad { --vc: #ff5a3c; }

.est-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.est-rows div {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
}

.est-rows span { display: block; font-size: 12px; color: #93a398; font-weight: 600; }
.est-rows b { font-family: "Space Mono", monospace; font-size: 18px; color: #fff; display: block; margin-top: 3px; }
.est-rows .val-gold { color: var(--gold); }
.est-rows .val-jade { color: var(--jade-l); }

.tip {
  font-size: 14.5px;
  color: #c7d3cb;
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}

/* Segmented controls for Dedicated Speed & Buffer Calculator */
.seg-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seg-btn {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 13px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.seg-btn[aria-pressed="true"] {
  background: var(--night);
  border-color: var(--night);
  color: var(--gold);
}

.preset-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}

.preset-label {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jade-d);
  margin-right: 4px;
}

.preset-btn {
  font-family: "Figtree", sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.preset-btn:hover,
.preset-btn[aria-pressed="true"] {
  background: var(--jade);
  border-color: var(--jade);
  color: #fff;
}

.calc-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-cta-row .btn {
  padding: 11px 18px;
  font-size: 14px;
}

.btn:focus-visible,
.pill-btn:focus-visible,
.pill-link:focus-visible,
.seg-btn:focus-visible,
.preset-btn:focus-visible,
.carousel-btn:focus-visible,
.nav a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

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

.faq-wrap {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 50px;
  align-items: start;
}

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

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

.faq-list details[open] {
  border-color: var(--jade);
  box-shadow: 0 16px 34px -26px rgba(0, 155, 58, 0.7);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 17px;
  padding: 18px 34px 18px 0;
  list-style: none;
  position: relative;
}

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

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

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  background: var(--gold);
  color: var(--night);
}

.faq-list .ans {
  padding-bottom: 18px;
  color: #3e463f;
  font-size: 16px;
}

.faq-group-title {
  font-size: 24px;
  margin: 34px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
  scroll-margin-top: 96px;
}

.faq-group-title:first-of-type { margin-top: 0; }

/* Glossary Entity Cards */
.term-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  scroll-margin-top: 96px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-card);
}

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

.term-tag {
  font-family: "Space Mono", monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--night);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 999px;
}

.term-card h2 { font-size: 22px; }
.term-card p { font-size: 15.5px; color: var(--muted); }
.term-tip {
  background: var(--cream);
  border-left: 4px solid var(--jade);
  padding: 10px 14px;
  border-radius: 0 12px 12px 0;
  font-size: 14.5px;
  color: var(--ink);
}

/* Editor / Author Profile Card */
.editor-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 32px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  box-shadow: var(--shadow-card);
}

.editor-avatar {
  width: 150px;
  height: 150px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 36px -16px rgba(13, 16, 14, 0.55);
}

.editor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

/* Order Saltire Banner */
.order { padding: 28px 0 96px; background: var(--cream); }

.order .inner {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: var(--night);
  padding: 66px 38px;
  text-align: center;
  color: #c3cfc7;
  isolation: isolate;
}

.order .inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(24deg, transparent 47%, rgba(254, 209, 0, 0.48) 47% 53%, transparent 53%),
    linear-gradient(156deg, transparent 47%, rgba(254, 209, 0, 0.48) 47% 53%, transparent 53%);
  opacity: 0.52;
}

.order .tri {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  height: 50%;
  z-index: -2;
  background: var(--jade);
  opacity: 0.48;
}

.order .tri.t { top: 0; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.order .tri.b { bottom: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }

.order h2 { color: #fff; font-size: clamp(30px, 4.4vw, 52px); max-width: 800px; margin: 0 auto 14px; }
.order p { max-width: 640px; margin: 0 auto; font-size: 18px; color: #e2ebe5; }
.order .hero-ctas { justify-content: center; margin-bottom: 0; }

/* 08. Editorial Articles, Cards & Legal */
.guides { background: var(--cream); }
.all { margin-top: 34px; text-align: center; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  counter-reset: g;
}

.acard {
  counter-increment: g;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.acard::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 90px;
  height: 90px;
  background:
    linear-gradient(45deg, transparent 42%, var(--gold) 42% 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, var(--gold) 42% 58%, transparent 58%);
  opacity: 0.35;
  transition: opacity 0.2s ease;
}

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

.acard:hover::after { opacity: 0.8; }

.acard::before {
  content: counter(g, decimal-leading-zero);
  position: absolute;
  right: 20px;
  bottom: 12px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 50px;
  line-height: 1;
  color: #f3eddc;
}

.ameta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  padding-right: 28px;
}

.cat {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--jade);
  color: #fff;
  padding: 4px 11px;
  border-radius: 999px;
}

.rt {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rt::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }

.acard h3,
.acard h2 { font-size: 20px; 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 -30px; 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(--jade-d); position: relative; z-index: 1; }

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

/* Article Layout */
.a-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 52px;
  padding: 40px 0 80px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 94px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  font-size: 14px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.toc::before {
  content: "";
  display: block;
  height: 6px;
  margin: -20px -20px 16px;
  background: linear-gradient(135deg, var(--jade) 0 25%, var(--gold) 25% 30%, var(--night) 30% 70%, var(--gold) 70% 75%, var(--jade) 75%);
  background-size: 40px 6px;
}

.toc b {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jade-d);
  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(--jade-d); }
.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: 19px;
  color: #2b322c;
  margin-bottom: 24px;
  padding: 18px 22px;
  background: var(--paper);
  border-radius: 18px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
}

article.post .lede p { margin: 0; }

article.post h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  margin: 46px 0 14px;
  scroll-margin-top: 96px;
  padding-left: 34px;
  position: relative;
}

article.post h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background:
    linear-gradient(45deg, transparent 40%, var(--gold) 40% 60%, transparent 60%),
    linear-gradient(-45deg, transparent 40%, var(--gold) 40% 60%, transparent 60%),
    var(--jade);
}

article.post h3 { font-size: 20px; 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(--jade-d); font-weight: 700; }

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

.callout {
  background: rgba(0, 155, 58, 0.08);
  border-left: 6px solid var(--jade);
  border-radius: 0 16px 16px 0;
  padding: 16px 20px;
  margin: 22px 0;
  font-size: 16px;
}

.callout.warn { background: rgba(254, 209, 0, 0.18); border-left-color: var(--gold-d); }
.callout p:last-child { margin-bottom: 0; }

.a-faq { margin-top: 46px; padding: 0; }
.a-faq h2 { margin-bottom: 16px; }
.a-faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; margin-bottom: 10px; }
.a-faq details[open] { border-color: var(--jade); }
.a-faq summary { cursor: pointer; font-weight: 800; font-size: 16.5px; padding: 15px 0; list-style: none; }
.a-faq summary::-webkit-details-marker { display: none; }
.a-faq summary::before { content: "+ "; color: var(--jade); }
.a-faq details[open] summary::before { content: "− "; }
.a-faq .ans { padding-bottom: 16px; font-size: 16px; }

.a-cta {
  margin: 44px 0 0;
  background: var(--night);
  color: #c3cfc7;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.a-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(20deg, transparent 46%, rgba(254, 209, 0, 0.28) 46% 54%, transparent 54%),
    linear-gradient(160deg, transparent 46%, rgba(254, 209, 0, 0.28) 46% 54%, transparent 54%);
}

.a-cta h3 { color: #fff; font-size: 22px; margin-bottom: 4px; }
.a-cta p { margin: 0; font-size: 15.5px; }
.a-cta .btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
article.post .a-cta a.btn { color: var(--night); }
article.post .a-cta a.btn-wa { color: #04290f; }

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

.related { background: var(--sand); padding: 64px 0; }
.related h2 { font-size: 30px; margin-bottom: 24px; }

.legal { max-width: 820px; padding: 48px 0 88px; 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 Float */
.foot {
  background: var(--night);
  color: #93a398;
  padding: 72px 0 132px;
  font-size: 14.5px;
  position: relative;
  overflow: hidden;
}

.foot::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, transparent 49.6%, rgba(254, 209, 0, 0.06) 49.6% 50.4%, transparent 50.4%),
    linear-gradient(-45deg, transparent 49.6%, rgba(254, 209, 0, 0.06) 49.6% 50.4%, transparent 50.4%);
  pointer-events: none;
}

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

.foot h4,
.foot .foot-h {
  color: var(--gold);
  font-family: "Space Mono", monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a { color: #d0dcd4; text-decoration: none; }
.foot a:hover { color: var(--gold); }
.foot .brand { margin-bottom: 14px; }

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

.paychip {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--night);
  font-weight: 800;
  font-size: 11.5px;
  padding: 5px 11px;
  border-radius: 999px;
}

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

/* Sticky Bottom CTA (Non-homepage pages, slides in after 280px scroll) */
#cta-sticky {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(13, 16, 14, 0.96);
  color: #fff;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  padding: 8px 10px 8px 18px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.48);
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

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

#cta-sticky span {
  font-size: 13.5px;
  font-weight: 700;
  color: #e2ece5;
}

#cta-sticky strong {
  color: var(--gold);
}

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

#cta-sticky a:hover {
  background: #fff;
}

/* WhatsApp Floating 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(13, 16, 14, 0.45));
  transition: transform 0.25s ease;
}

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

.wa-float .wa-pill {
  position: relative;
  display: block;
  background: var(--wa);
  color: #04290f;
  font-family: "Figtree", sans-serif;
  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.85; }

.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: 58px;
  height: 58px;
  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: 31px; height: 31px; 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 */
@media (max-width: 1024px) {
  .burger { display: grid; place-items: center; }
  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    background: var(--night);
    padding: 12px 20px 22px;
    gap: 4px;
    display: none;
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  }
  .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,
  .setup-grid,
  .net-grid,
  .faq-wrap,
  .a-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }

  .hero { padding: 48px 0 132px; }
  .console,
  .faq-wrap .sec-head,
  .toc { position: static; }

  .plans,
  .included-strip,
  .bento-grid--4,
  .hero-metrics,
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

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

  .ticket.span2 { grid-column: 1 / -1; }
  .ticket.span3 { flex-direction: column; }
  .ticket.span3 .t-art { min-height: 204px; border-radius: 22px 22px 0 0; flex: none; }
  .ticket.span3 .perf-line { border-left: 0; border-top: 2px dashed #d9cfb6; margin: 0 18px; }
  .ticket.span3 .perf-line::before { left: -30px; top: -13px; }
  .ticket.span3 .perf-line::after { left: auto; right: -30px; top: -13px; bottom: auto; }

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

@media (max-width: 960px) and (min-width: 761px) {
  .wa-float .wa-pill small { display: none; }
  .wa-float .wa-pill { font-size: 13.5px; padding: 9px 15px; }
  #cta-sticky {
    max-width: calc(100vw - 270px);
    gap: 10px;
    padding: 7px 10px 7px 14px;
  }
  #cta-sticky span { font-size: 12.5px; }
  #cta-sticky a { font-size: 12.5px; padding: 8px 13px; }
}

@media (max-width: 760px) {
  section,
  .band { padding: 68px 0; }
  .matrix-2col,
  .bento-grid--2,
  .guarantee-bar,
  .editor-card { grid-template-columns: minmax(0, 1fr); }
  .editor-avatar { width: 112px; height: 112px; }

  #cta-sticky {
    left: 12px;
    right: 12px;
    bottom: 92px;
    max-width: none;
    justify-content: space-between;
    border-radius: 18px;
    padding: 10px 12px 10px 16px;
  }
}

@media (max-width: 600px) {
  .wrap { width: min(1200px, 100% - 28px); }
  .hero-ctas .btn { width: 100%; }
  .trust li { width: 100%; }
  .hero h1 em { white-space: normal; }
  .plans,
  .included-strip,
  .tickets,
  .cards,
  .bento-grid,
  .bento-grid--4,
  .hero-metrics,
  .metric-grid,
  .isp-tabs,
  .est-rows,
  .foot-grid { grid-template-columns: minmax(0, 1fr); }

  .ticket.span2 .t-art { height: 204px; }
  .desk-form,
  .desk-out { padding: 22px 18px; }
  .order .inner { padding: 52px 20px; }
  article.post { font-size: 16.5px; }

  #cta-sticky {
    bottom: 76px;
    padding: 9px 10px 9px 14px;
  }

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

  .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: 27px; height: 27px; }
}

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