/* ==========================================================================
   IPTV Russia — Pro Theme Stylesheet
   Design System: Swiss Precision Grid × Native Gzhel & Khokhloma Palette
   Domain: https://iptv-russia.online/
   ========================================================================== */

/* 01. Tokens & Reset
   -------------------------------------------------------------------------- */
:root {
  --farfor: #f4f6fb;
  --bel: #ffffff;
  --sneg: #e6ebf5;
  --chern: #15100d;
  --chern2: #241a14;
  --ink: #131a2c;
  --ink2: #353f57;
  --kob: #1b3d9e;
  --kob-d: #112a72;
  --kob-l: #b9c8ef;
  --sin: #3b6fd8;
  --kin: #c62a1f;
  --kin-d: #9a1e16;
  --zol: #d9a12b;
  --zol-l: #f2d488;
  --mal: #1e7a5f;
  --mal-l: #a6dcc8;
  --mut: #5f6880;
  --line: rgba(19, 26, 44, 0.13);
  --line-strong: rgba(19, 26, 44, 0.24);
  --wa: #25d366;
  --tg: #2aabee;
  --r-sm: 6px;
  --r: 8px;
  --r-lg: 12px;
  --elev-1: 0 1px 2px rgba(19, 26, 44, 0.05);
  --elev-2: 0 8px 24px -12px rgba(19, 26, 44, 0.16);
  --gzh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.4'%3E%3Cpath d='M32 14c5 6 5 12 0 18-5-6-5-12 0-18zM32 50c-5-6-5-12 0-18 5 6 5 12 0 18zM14 32c6-5 12-5 18 0-6 5-12 5-18 0zM50 32c-6 5-12 5-18 0 6-5 12-5 18 0z'/%3E%3Ccircle cx='32' cy='32' r='3'/%3E%3Cpath d='M0 0q8 8 0 16M64 0q-8 8 0 16M0 64q8-8 0-16M64 64q-8-8 0-16'/%3E%3C/g%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='32' cy='6' r='1.6'/%3E%3Ccircle cx='32' cy='58' r='1.6'/%3E%3Ccircle cx='6' cy='32' r='1.6'/%3E%3Ccircle cx='58' cy='32' r='1.6'/%3E%3C/g%3E%3C/svg%3E");
  --band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='16' viewBox='0 0 40 16'%3E%3Cpath d='M0 8q10-9 20 0t20 0' fill='none' stroke='%23d9a12b' stroke-width='1.6'/%3E%3Ccircle cx='10' cy='4.6' r='2.6' fill='%23c62a1f'/%3E%3Ccircle cx='30' cy='11.4' r='2.6' fill='%23c62a1f'/%3E%3Cpath d='M17 9.5q3-4 6 0-3 2.5-6 0z' fill='%23d9a12b'/%3E%3Cpath d='M37 6.5q3-4 6 0-3 2.5-6 0zM-3 6.5q3-4 6 0-3 2.5-6 0z' fill='%23d9a12b'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Onest", system-ui, -apple-system, sans-serif;
  background: var(--farfor);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

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

a:hover {
  text-decoration: underline;
}

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

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

.skip:focus {
  left: 12px;
  top: 12px;
  background: var(--bel);
  color: var(--ink);
  border: 1px solid var(--kob);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  z-index: 999;
}

/* 02. Typography & Containers
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: "Unbounded", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.wrap--narrow {
  max-width: 900px;
}

section {
  position: relative;
}

.sec {
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

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

.sec--flush-top {
  padding-top: 28px;
}

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

.sec--tint {
  background: var(--sneg);
}

.sec-h {
  max-width: 820px;
  margin-bottom: 36px;
}

.sec-h--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.sec-h--center .kick {
  justify-content: center;
}

.kick {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kin);
}

.kick::before {
  content: "";
  width: 22px;
  height: 10px;
  background: var(--chern) var(--band) center / 40px 16px;
  border-radius: 2px;
  flex: none;
}

.sec-h h2 {
  font-size: clamp(26px, 3.4vw, 42px);
  margin: 10px 0 12px;
}

.sec-h h2 em {
  font-style: normal;
  color: var(--kob);
}

.sec-h p {
  font-size: 17.5px;
  color: var(--ink2);
}

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

.muted {
  color: var(--mut);
}

.small-note {
  font-size: 13.5px;
  color: var(--mut);
  margin-top: 12px;
}

.dark-note {
  font-size: 13.5px;
  color: #a5b3da;
}

.dark-link {
  color: var(--zol-l);
}

.mt-sm {
  margin-top: 14px;
}

.mt-md {
  margin-top: 24px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  border-radius: var(--r);
  padding: 11px 22px;
  font-size: 15px;
  line-height: 1.25;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-wa {
  background: var(--wa);
  color: #03230f;
  border-color: rgba(3, 35, 15, 0.12);
}

.btn-wa:hover {
  box-shadow: 0 8px 20px -8px rgba(37, 211, 102, 0.65);
}

.btn-red, .btn-kin {
  background: var(--kin);
  color: #fff;
}

.btn-red:hover, .btn-kin:hover {
  background: var(--kin-d);
}

.btn-kob, .btn-vas {
  background: var(--kob);
  color: #fff;
}

.btn-kob:hover, .btn-vas:hover {
  background: var(--kob-d);
}

.btn-gold {
  background: var(--zol);
  color: #1f1400;
}

.btn-green, .btn-chern {
  background: var(--chern);
  color: #fff;
}

.btn-green:hover, .btn-chern:hover {
  background: var(--kob-d);
}

.btn-light {
  background: var(--bel);
  color: var(--kob);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(19, 26, 44, 0.05);
}

.btn-ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.wa-ico {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex: none;
}

/* 03. Header & Navigation
   -------------------------------------------------------------------------- */
.hohbar {
  height: 12px;
  background: var(--chern) var(--band) repeat-x center / 40px 14px;
  border-bottom: 2px solid var(--zol);
}

.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: 18.5px;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.logo:hover {
  text-decoration: none;
}

.logo .mark {
  width: 36px;
  height: 36px;
  flex: none;
}

.logo b {
  color: var(--kob);
  font-weight: 800;
}

.logo sup {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  color: var(--kin);
  letter-spacing: 0.02em;
  margin-left: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14.5px;
}

.nav a {
  color: var(--ink2);
  font-weight: 700;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--kob);
  border-bottom-color: var(--kin);
  text-decoration: none;
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r);
  border: 1px solid var(--line-strong);
  background: var(--bel);
  color: var(--ink);
  cursor: pointer;
}

.menu-btn svg {
  width: 20px;
  height: 20px;
}

.mnav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(19, 26, 44, 0.5);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

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

.mnav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: var(--bel);
  border-left: 1px solid var(--line);
  z-index: 90;
  transform: translateX(100%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
}

.mnav.is-open {
  transform: translateX(0);
}

.mnav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.mnav-close {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--farfor);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.mnav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mnav-links a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 15px;
  border: 1px solid transparent;
}

.mnav-links a:hover,
.mnav-links a[aria-current="page"] {
  background: var(--farfor);
  border-color: var(--line);
  color: var(--kob);
  text-decoration: none;
}

.mnav-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 04. Hero & Alternating Bands
   -------------------------------------------------------------------------- */
.dark {
  background: var(--kob-d);
  color: #d3dcf3;
  background-image: linear-gradient(180deg, rgba(21, 16, 13, 0.94), rgba(21, 16, 13, 0.97)), var(--gzh);
  background-size: auto, 64px 64px;
}

.dark h2, .dark h3, .dark h4 {
  color: #fff;
}

.dark .sec-h p {
  color: #c3cde9;
}

.dark .kick {
  color: var(--zol-l);
}

.dark .sec-h h2 em {
  color: var(--zol-l);
}

/* Homepage Hero */
.hero {
  padding: 64px 0 0;
  overflow: hidden;
  background: var(--kob-d);
  color: #fff;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--gzh);
  background-size: 64px 64px;
  opacity: 0.08;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 420px at 12% 10%, rgba(59, 111, 216, 0.5), transparent 65%),
              radial-gradient(560px 360px at 95% 100%, rgba(198, 42, 31, 0.35), transparent 65%);
  pointer-events: none;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero .kick {
  margin-bottom: 16px;
  color: var(--zol-l);
}

.hero h1 {
  color: #fff;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.08;
}

.hero h1 .k {
  display: block;
  color: var(--zol-l);
}

.hero h1 .s {
  display: block;
  font-size: 0.48em;
  font-family: "Onest", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #d3dcf3;
  margin-top: 12px;
  line-height: 1.3;
}

.hero .lead {
  font-size: 18px;
  color: #d3dcf3;
  margin: 20px 0 24px;
  max-width: 600px;
}

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

.hero .ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero .ctas .btn {
  padding: 14px 24px;
  font-size: 16px;
}

.trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  max-width: 600px;
  margin-top: 26px;
  font-size: 14px;
  color: #c3cde9;
  list-style: none;
}

.trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

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

.trust i {
  width: 8px;
  height: 8px;
  background: var(--zol);
  transform: rotate(45deg);
  display: inline-block;
  flex: none;
}

.trust .cards {
  display: inline-flex;
  gap: 5px;
}

.trust .cards em {
  font-style: normal;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: #fff;
  color: var(--kob);
}

.trust .cards em + em {
  background: var(--kin);
  color: #fff;
}

/* TV panel in Hero */
.tv {
  background: var(--chern);
  border-radius: var(--r-lg);
  padding: 16px;
  border: 1px solid rgba(242, 212, 136, 0.45);
  box-shadow: 0 32px 64px -32px rgba(0, 0, 0, 0.75);
  color: #d3dcf3;
  position: relative;
}

.tv-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #9aa7cc;
  margin-bottom: 10px;
}

.tv-top .live {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
}

.tv-top .live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--kin);
  animation: blink 1.6s infinite;
}

@keyframes blink {
  0% { box-shadow: 0 0 0 0 rgba(198, 42, 31, 0.7); }
  100% { box-shadow: 0 0 0 10px rgba(198, 42, 31, 0); }
}

.tv-clock {
  font-size: 24px;
  color: var(--zol-l);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tv-screen {
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.tv-screen .scn {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
}

.tv-screen .scn.on {
  opacity: 1;
}

.tv-screen .scn svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tv-screen .osd {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), transparent);
  color: #fff;
}

.tv-screen .osd b {
  font-family: "Unbounded", sans-serif;
  font-size: 18px;
  display: block;
}

.tv-screen .osd small {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: #d3dcf3;
}

.tv-screen .badge {
  position: absolute;
  right: 10px;
  top: 10px;
  background: var(--kin);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.tv-epg {
  list-style: none;
  margin-top: 10px;
  display: grid;
  gap: 5px;
}

.tv-epg li {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 13.5px;
  padding: 7px 10px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  border: 1px solid transparent;
}

.tv-epg li[aria-current="true"] {
  background: rgba(198, 42, 31, 0.2);
  border-color: rgba(198, 42, 31, 0.55);
}

.tv-epg time {
  font-family: "JetBrains Mono", monospace;
  color: var(--zol-l);
  font-size: 12.5px;
}

.tv-epg em {
  font-style: normal;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #9aa7cc;
}

.tv-bar {
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
  margin-top: 8px;
  overflow: hidden;
}

.tv-bar i {
  display: block;
  height: 100%;
  background: var(--kin);
  width: 40%;
}

/* ISP strip */
.strip {
  background: var(--bel);
  border-top: 1px solid var(--line);
  padding: 16px 0;
  position: relative;
  z-index: 1;
}

.hero .strip {
  margin-top: 52px;
  background: rgba(255, 255, 255, 0.96);
}

.strip .wrap {
  display: flex;
  align-items: center;
  gap: 14px 24px;
  flex-wrap: wrap;
  justify-content: center;
  font-weight: 800;
  color: var(--ink2);
  font-size: 14.5px;
}

.strip small {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mut);
  font-weight: 600;
}

.strip span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.strip span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--kin);
  transform: rotate(45deg);
}

/* Centered Clean Hero for Stage 1 Landing Pages (Swiss Precision Archetype) */
.p-hero {
  padding: 58px 0 52px;
  background: linear-gradient(180deg, var(--bel) 0%, var(--farfor) 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

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

.p-hero .kick {
  margin-bottom: 14px;
}

.p-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  max-width: 900px;
  margin: 0 auto 16px;
}

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

.p-hero .p-lead {
  font-size: 18px;
  color: var(--ink2);
  max-width: 740px;
  margin: 0 auto 24px;
}

.p-hero .p-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.p-hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  color: var(--mut);
}

.p-hero-meta b {
  color: var(--ink);
}

/* Contrasting Feature Strip */
.feature-strip {
  background: var(--kob-d);
  color: #e4eaf8;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 56px 0;
}

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

.feature-strip p {
  color: #c3cde9;
}

.feature-strip .kick {
  color: var(--zol-l);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.strip-cell {
  padding: 24px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.strip-cell:last-child {
  border-right: 0;
}

.strip-cell b {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-size: 24px;
  color: var(--zol-l);
  margin-bottom: 6px;
}

.strip-cell strong {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 4px;
}

.strip-cell span {
  font-size: 13.5px;
  color: #b9c8ef;
}

/* Breadcrumbs */
.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13.5px;
  color: var(--mut);
  margin-bottom: 16px;
}

.crumbs a {
  color: var(--mut);
  font-weight: 600;
}

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

.crumbs span {
  opacity: 0.5;
}

/* 05. Pricing Plans & Cards
   -------------------------------------------------------------------------- */
.plans4, .plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pcard, .plan {
  background: var(--bel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0 22px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--elev-1);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.pcard:hover, .plan:hover {
  border-color: var(--kob);
  box-shadow: var(--elev-2);
}

.pcard::before, .plan::before {
  content: "";
  display: block;
  height: 10px;
  margin: 0 -22px 20px;
  background: var(--chern) var(--band) repeat-x center / 40px 14px;
  border-bottom: 2px solid var(--zol);
}

.pcard.hot, .plan.hot, .plan--featured {
  background: linear-gradient(165deg, var(--kob) 0%, var(--kob-d) 100%);
  color: #d3dcf3;
  border: 2px solid var(--zol);
  box-shadow: 0 24px 50px -20px rgba(17, 42, 114, 0.82), 0 0 0 1px rgba(242, 212, 136, 0.25);
}

@media (min-width: 1025px) {
  .pcard.hot, .plan.hot, .plan--featured {
    transform: translateY(-4px);
  }
}

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

.pcard h3, .plan h3 {
  font-size: 20px;
}

.pcard .note, .plan .note {
  font-size: 13.5px;
  color: var(--mut);
  margin-top: 4px;
  min-height: 20px;
}

.pcard.hot .note, .plan.hot .note, .plan--featured .note {
  color: #b9c8ef;
}

.pcard .price, .plan .price {
  font-family: "Unbounded", sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin: 16px 0 4px;
  color: var(--ink);
  white-space: nowrap;
}

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

.pcard .price small, .plan .price small {
  font-size: 22px;
  font-weight: 700;
  color: var(--kin);
}

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

.pcard .per, .plan .per {
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  color: var(--mal);
  font-weight: 700;
}

.pcard.hot .per, .plan.hot .per, .plan--featured .per {
  color: var(--mal-l);
}

.pcard ul, .plan ul {
  list-style: none;
  margin: 18px 0 20px;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
}

.pcard li, .plan li {
  padding-left: 22px;
  position: relative;
}

.pcard li::before, .plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--mal);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.5;
}

.pcard.hot li::before, .plan.hot li::before, .plan--featured li::before {
  color: var(--zol-l);
}

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

.ribbon {
  position: absolute;
  top: 22px;
  right: -34px;
  transform: rotate(45deg);
  background: var(--kin);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 38px;
}

.save {
  display: inline-block;
  align-self: flex-start;
  background: rgba(30, 122, 95, 0.12);
  color: var(--mal);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 11.5px;
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 8px;
}

.pcard.hot .save, .plan.hot .save, .plan--featured .save {
  background: rgba(255, 255, 255, 0.14);
  color: var(--mal-l);
}

/* Compact inline plans inside articles & city pages */
.plans--compact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 26px;
}

.plan-mini {
  background: var(--bel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--kob);
  border-radius: var(--r);
  padding: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: var(--elev-1);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.plan-mini:hover {
  border-color: var(--kob);
  box-shadow: var(--elev-2);
  transform: translateY(-2px);
}

.plan-mini.hot {
  background: linear-gradient(165deg, var(--kob) 0%, var(--kob-d) 100%);
  border: 2px solid var(--zol);
  color: #fff;
  box-shadow: 0 16px 34px -18px rgba(17, 42, 114, 0.75);
}

.plan-mini h3, .plan-mini h4 {
  font-family: "Onest", sans-serif;
  font-size: 14.5px;
  color: var(--mut);
  font-weight: 700;
}

.plan-mini.hot h3, .plan-mini.hot h4 {
  color: var(--zol-l);
}

.plan-mini .p {
  font-family: "Unbounded", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  margin: 6px 0;
}

.plan-mini.hot .p {
  color: #fff;
}

.plan-mini .p small {
  display: block;
  font-size: 12.5px;
  color: var(--mut);
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  margin-top: 4px;
}

.plan-mini.hot .p small {
  color: #c3cde9;
}

.plan-mini .btn {
  width: 100%;
  margin-top: auto;
  padding: 9px 12px;
  font-size: 14px;
}

.paynote {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: center;
  margin-top: 30px;
  font-size: 14.5px;
  color: var(--ink2);
}

.paynote span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.paynote b {
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: 1px 7px;
  font-size: 12px;
  font-family: "JetBrains Mono", monospace;
}

.guar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  background: var(--bel);
  border: 1px solid var(--kin);
  border-left: 5px solid var(--kin);
  border-radius: var(--r);
  padding: 26px 30px;
  margin-top: 34px;
}

.guar .seal {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  background: var(--kin);
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  text-align: center;
  border-radius: var(--r);
  margin: 0 auto;
}

.guar .seal small {
  display: block;
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  margin-top: 3px;
}

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

/* 06. Bento / Device / App Grids & Homepage Modules
   -------------------------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

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

.grid-4 .icon-card {
  padding: 20px;
  gap: 10px;
}

.grid-4 .ic-head {
  flex-wrap: wrap;
  gap: 8px;
}

.grid-4 .icon-card h3 {
  font-size: 16.5px;
}

.grid-4 .icon-card p {
  font-size: 14px;
}

.icon-card {
  background: var(--bel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--elev-1);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.icon-card:hover {
  border-color: var(--kob);
  box-shadow: var(--elev-2);
}

.icon-card--dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: #d3dcf3;
}

.icon-card--dark h3 {
  color: #fff;
}

.icon-card--dark p {
  color: #c3cde9;
}

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

.ic-tile {
  width: 48px;
  height: 48px;
  border-radius: var(--r);
  display: grid;
  place-items: center;
  background: var(--farfor);
  border: 1px solid var(--line);
  color: var(--kob);
  flex: none;
}

.ic-tile--kob {
  background: var(--kob);
  border-color: var(--kob);
  color: #fff;
}

.ic-tile--kin {
  background: var(--kin);
  border-color: var(--kin);
  color: #fff;
}

.ic-tile--mal {
  background: var(--mal);
  border-color: var(--mal);
  color: #fff;
}

.ic-tile--zol {
  background: var(--zol);
  border-color: var(--zol);
  color: #1f1400;
}

.ic-tile svg {
  width: 26px;
  height: 26px;
}

.app-tile {
  width: 56px;
  height: 56px;
  border-radius: var(--r);
  overflow: hidden;
  flex: none;
  border: 1px solid var(--line);
}

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

.icon-card h3 {
  font-size: 18px;
  line-height: 1.3;
}

.icon-card p {
  font-size: 15px;
  color: var(--ink2);
}

.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin-top: auto;
  padding-top: 8px;
}

.spec-chips li {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--kob-d);
  background: var(--farfor);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 4px;
}

.spec-chips li.chip-hot {
  background: rgba(198, 42, 31, 0.1);
  border-color: rgba(198, 42, 31, 0.28);
  color: var(--kin-d);
}

.spec-chips li.chip-ok {
  background: rgba(30, 122, 95, 0.1);
  border-color: rgba(30, 122, 95, 0.28);
  color: var(--mal);
}

.card-link {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.is-hidden {
  display: none !important;
}

/* Topical Authority Bento on Homepage */
.hub-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hub-link {
  background: var(--bel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--kob);
  border-radius: var(--r);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.hub-link:hover {
  text-decoration: none;
  border-color: var(--kob);
  border-top-color: var(--kin);
  box-shadow: var(--elev-2);
  transform: translateY(-2px);
}

.hub-link small {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--kin);
  font-weight: 700;
}

.hub-link strong {
  font-family: "Unbounded", sans-serif;
  font-size: 15.5px;
  line-height: 1.3;
  color: var(--ink);
}

.hub-link span {
  font-size: 14px;
  color: var(--ink2);
  font-weight: 400;
}

.city-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.city-card {
  background: var(--bel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--kin);
  border-radius: var(--r);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.city-card:hover {
  text-decoration: none;
  border-color: var(--kob);
  border-left-color: var(--kob);
}

.city-card strong {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-size: 16px;
}

.city-card small {
  display: block;
  font-size: 13.5px;
  color: var(--mut);
  font-weight: 500;
  margin-top: 2px;
}

.city-card em {
  font-style: normal;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--kob);
  background: var(--farfor);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Kino 4K & Poster Carousel */
.kino4k {
  background: var(--chern);
  color: #d3dcf3;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kino4k::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--gzh);
  background-size: 64px 64px;
  opacity: 0.05;
  pointer-events: none;
}

.kino4k .wrap {
  position: relative;
}

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

.kino4k .sec-h p {
  color: #c3cde9;
}

.kino4k .kick {
  color: var(--zol-l);
}

.kino4k .sec-h h2 em {
  color: var(--zol-l);
}

.poster-carousel {
  list-style: none;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 10px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin: 24px 0 32px;
  padding: 12px 4px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--zol) rgba(255, 255, 255, 0.08);
}

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

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

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

.poster-item {
  flex: 0 0 clamp(190px, 24vw, 260px);
  scroll-snap-align: start;
  border-radius: var(--r);
  overflow: hidden;
  background: #0b1c14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.poster-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.poster-item:hover {
  transform: translateY(-4px);
  border-color: var(--zol-l);
}

.poster-item:hover img {
  transform: scale(1.04);
}

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

.gcard {
  background: var(--chern2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.gcard:hover {
  border-color: rgba(242, 212, 136, 0.5);
}

.gart {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.gart-1 { background: linear-gradient(140deg, #c8102e, #3b0510 74%); }
.gart-2 { background: linear-gradient(140deg, #24332c, #050d09 76%); }
.gart-3 { background: linear-gradient(140deg, #3f63c9, #0d1a3d 76%); }
.gart-4 { background: linear-gradient(140deg, #2f7d4a, #0d2a18 76%); }
.gart-5 { background: linear-gradient(140deg, #0d3b2a, #3f63c9 130%); }
.gart-6 { background: linear-gradient(140deg, #b8861a, #3a2900 76%); }

.gart::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 14, 30, 0.72));
}

.gart svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.glab {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  font-family: "Unbounded", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.gbad {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 1;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.gbad span {
  background: rgba(21, 16, 13, 0.78);
  color: var(--zol-l);
  border: 1px solid rgba(242, 212, 136, 0.4);
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 4px;
}

.gbad span:first-child {
  background: var(--kin);
  color: #fff;
  border-color: var(--kin);
}

.gtx {
  padding: 16px 18px 20px;
}

.gtx h3 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.gtx p {
  font-size: 14.5px;
  color: #a5b3da;
  line-height: 1.55;
}

.gnote {
  margin-top: 16px;
  font-size: 13px;
  color: #8592b8;
}

/* Performance metrics & pillars */
.mets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bel);
}

.met {
  padding: 24px 20px;
  border-right: 1px solid var(--line);
  position: relative;
}

.met:last-child {
  border-right: 0;
}

.met b {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 700;
  color: var(--kin);
  line-height: 1;
  white-space: nowrap;
}

.met:nth-child(2) b { color: var(--kob); }
.met:nth-child(3) b { color: var(--mal); }
.met:nth-child(4) b { color: var(--sin); }

.met span {
  display: block;
  margin-top: 10px;
  font-weight: 800;
  color: var(--ink);
  font-size: 15px;
}

.met small {
  display: block;
  font-size: 13px;
  color: var(--mut);
  margin-top: 2px;
}

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

.pillar {
  background: var(--bel);
  border: 1px solid var(--line);
  border-top: 4px solid var(--kin);
  border-radius: var(--r);
  padding: 24px;
}

.pillar:nth-child(2) { border-top-color: var(--kob); }
.pillar:nth-child(3) { border-top-color: var(--zol); }

.pico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: var(--r);
  background: var(--kin);
  color: #fff;
  margin-bottom: 14px;
}

.pillar:nth-child(2) .pico { background: var(--kob); }
.pillar:nth-child(3) .pico { background: var(--zol); color: #1f1400; }

.pico svg {
  width: 28px;
  height: 28px;
}

.pillar h3 {
  font-size: 18.5px;
  margin-bottom: 8px;
}

.pillar p {
  font-size: 15px;
  color: var(--ink2);
}

.pillar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.pillar li {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--kob);
  background: var(--farfor);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Comparison tables */
.cmp-wrap, .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--bel);
}

.cmp {
  width: 100%;
  border-collapse: collapse;
  background: var(--bel);
  font-size: 14.5px;
  min-width: 680px;
}

.cmp th, .cmp td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.cmp th {
  background: var(--kob);
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
}

.cmp th.us {
  background: var(--kin);
}

.cmp td.us {
  background: rgba(198, 42, 31, 0.05);
  font-weight: 700;
  color: var(--kin-d);
}

.cmp tr:last-child td {
  border-bottom: 0;
}

/* Network map, RTT table, Zones */
.netwrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.net svg {
  width: 100%;
  height: auto;
  display: block;
  background: var(--bel);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.net .lnk {
  stroke: var(--kob);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 6 6;
  animation: flow 1.2s linear infinite;
  opacity: 0.6;
}

.net .lnk.reg { stroke: var(--sin); stroke-dasharray: 3 5; opacity: 0.7; }
.net .lnk.bk { stroke: var(--kin); opacity: 0.45; }

@keyframes flow {
  to { stroke-dashoffset: -24; }
}

.net .node circle { fill: #fff; stroke: var(--kob); stroke-width: 2; }
.net .node.edge circle { fill: var(--kin); stroke: #fff; stroke-width: 4; }
.net .node text { font-family: "Onest", sans-serif; font-size: 13px; font-weight: 700; fill: var(--ink); }
.net .node .ms { font-family: "JetBrains Mono", monospace; font-size: 11.5px; font-weight: 500; fill: var(--kin-d); }
.net .pk { fill: var(--kin); }

.table-wrap .rtt {
  border: 0;
  border-radius: 0;
  min-width: 340px;
}

.rtt {
  width: 100%;
  border-collapse: collapse;
  background: var(--bel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  font-size: 14.5px;
}

.rtt caption {
  text-align: left;
  font-weight: 700;
  padding: 0 0 10px;
  font-size: 14px;
  color: var(--ink2);
}

.rtt th, .rtt td {
  padding: 10px 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.rtt th {
  background: var(--kob);
  color: #fff;
  font-size: 13px;
}

.rtt td:last-child {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  color: var(--kin-d);
  white-space: nowrap;
}

.netnote {
  margin-top: 14px;
  font-size: 14px;
  color: var(--mut);
}

.zones-title {
  margin-top: 20px;
  font-size: 17px;
}

.zones {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin-top: 12px;
  list-style: none;
}

.zones li {
  background: var(--bel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--sin);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  font-size: 13px;
  min-width: 0;
}

.zones li.prime { border-left-color: var(--kin); }
.zones li.day { border-left-color: var(--zol); }

.zones b {
  display: block;
  font-weight: 800;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.zones time {
  font-family: "JetBrains Mono", monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--kob);
}

.zones small {
  display: block;
  color: var(--mut);
  font-size: 11.5px;
}

/* Install tabs */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.tabs button {
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: var(--r);
  border: 1px solid var(--line-strong);
  background: var(--bel);
  cursor: pointer;
  color: var(--ink2);
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.tabs button:hover {
  border-color: var(--kob);
  color: var(--kob);
}

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

.tabpanes {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.tabpanes > *, .tool > *, .trgrid > *, .lab > *, .netwrap > * {
  min-width: 0;
}

.pane { display: none; }
.pane.on { display: block; }

.pane h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.pane ol {
  list-style: none;
  counter-reset: s;
  display: grid;
  gap: 10px;
}

.pane li {
  counter-increment: s;
  background: var(--bel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 13px 15px 13px 54px;
  position: relative;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.pane li::before {
  content: counter(s);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: var(--kin);
  border-radius: 4px;
}

.xform {
  background: var(--chern);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  padding: 24px;
  color: #d3dcf3;
}

.xform h4 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 6px;
}

.xform p {
  font-size: 13.5px;
  color: #a5b3da;
  margin-bottom: 14px;
}

.xrow {
  margin-bottom: 10px;
}

.xrow span {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aa7cc;
  margin-bottom: 4px;
}

.xrow div {
  display: flex;
  gap: 8px;
}

.xrow code {
  flex: 1;
  min-width: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-sm);
  padding: 9px 11px;
  color: var(--zol-l);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xrow button {
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-sm);
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.xform .warnx {
  margin-top: 14px;
  font-size: 13.5px;
  border-left: 3px solid var(--zol);
  padding: 8px 12px;
  background: rgba(217, 161, 43, 0.1);
  border-radius: 4px;
  margin-bottom: 0;
}

/* Lab cards & device tags */
.lab {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.labc {
  background: var(--bel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
}

.labc .city {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kin);
  font-weight: 700;
}

.labc h3 {
  font-size: 18px;
  margin: 8px 0 8px;
}

.labc p {
  font-size: 14.5px;
  color: var(--ink2);
}

.labc dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.labc dt {
  font-size: 11.5px;
  color: var(--mut);
}

.labc dd {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  color: var(--kob);
  font-size: 15px;
}

.devices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.devices span, .devices a {
  background: var(--bel);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 7px 14px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
}

.devices a:hover {
  border-color: var(--kob);
  color: var(--kob);
  text-decoration: none;
}

/* 07. Interactive Calculator, Filters & Glossary
   -------------------------------------------------------------------------- */
.tool, .trgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.panel {
  background: var(--bel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
}

.dark .panel {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
}

.fld {
  margin-bottom: 16px;
}

.fld label, .fld .lbl {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 7px;
}

.fld select,
.fld input[type="number"],
.fld input[type="time"],
.fld input[type="search"] {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--bel);
  color: var(--ink);
}

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

.fld output {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  color: var(--kin);
}

.dark .fld output {
  color: var(--zol-l);
}

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

.seg button {
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--bel);
  color: var(--ink2);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.seg button:hover {
  border-color: var(--kob);
  color: var(--kob);
}

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

.dark .seg button {
  background: rgba(255, 255, 255, 0.08);
  color: #d3dcf3;
  border-color: rgba(255, 255, 255, 0.18);
}

.dark .seg button:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(242, 212, 136, 0.55);
  color: #fff;
}

.dark .seg button[aria-pressed="true"] {
  background: var(--kin);
  border-color: var(--kin);
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(198, 42, 31, 0.65);
}

.res {
  background: var(--chern);
  color: #d3dcf3;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.res h3 {
  color: #fff;
  font-size: 20px;
}

.gauge {
  position: relative;
  height: 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.gauge i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--kin), var(--zol), var(--mal));
  transition: width 0.35s ease;
}

.gauge--load i {
  background: linear-gradient(90deg, var(--mal), var(--zol), var(--kin));
}

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

.kv div {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-sm);
  padding: 13px;
}

.kv b {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 22px;
  color: var(--zol-l);
}

.kv span {
  font-size: 12.5px;
  color: #a5b3da;
}

.verdict {
  border-left: 4px solid var(--mal);
  background: rgba(30, 122, 95, 0.16);
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 14.5px;
}

.verdict.bad {
  border-color: var(--kin);
  background: rgba(198, 42, 31, 0.18);
}

.verdict.mid {
  border-color: var(--zol);
  background: rgba(217, 161, 43, 0.15);
}

.isp-rec {
  background: rgba(27, 61, 158, 0.28);
  border: 1px solid rgba(185, 200, 239, 0.25);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.isp-rec span {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kob-l);
  font-weight: 700;
}

.isp-rec strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
}

.res-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}

.res-cta .btn {
  flex: 1 1 180px;
  padding: 10px 16px;
  font-size: 14px;
}

.res ul {
  margin-left: 18px;
  font-size: 14px;
  color: #c3cde9;
}

.bars {
  display: grid;
  gap: 9px;
  margin-top: 4px;
}

.bars div {
  display: grid;
  grid-template-columns: 96px 1fr 70px;
  gap: 10px;
  align-items: center;
  font-size: 13.5px;
}

.bars i {
  display: block;
  height: 10px;
  border-radius: 4px;
  background: var(--kin);
  transition: width 0.35s ease;
}

.bars em {
  font-style: normal;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  color: #d3dcf3;
  text-align: right;
}

/* Filter & Jump Pills */
.filter-pills, .jump-pills, .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.filter-pills--center, .jump-pills--center {
  justify-content: center;
}

.filter-pills button,
.filters button,
.jump-pills a {
  font: inherit;
  font-weight: 700;
  font-size: 13.5px;
  border: 1px solid var(--line-strong);
  background: var(--bel);
  color: var(--ink2);
  border-radius: var(--r-sm);
  padding: 7px 14px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.filter-pills button:hover,
.filters button:hover,
.jump-pills a:hover {
  border-color: var(--kob);
  color: var(--kob);
  text-decoration: none;
}

.filter-pills button[aria-pressed="true"],
.filters button[aria-pressed="true"] {
  background: var(--kob);
  color: #fff;
  border-color: var(--kob);
}

.filter-status {
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  color: var(--mut);
  margin-bottom: 18px;
}

/* Glossary term cards */
.term-card {
  background: var(--bel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--kob);
  border-radius: var(--r);
  padding: 22px 24px;
  scroll-margin-top: 86px;
  box-shadow: var(--elev-1);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.term-card:hover {
  border-color: var(--kob);
  box-shadow: var(--elev-2);
}

.term-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.term-head h2, .term-head h3 {
  font-size: 18px;
}

.term-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--kin);
  font-weight: 700;
  text-transform: uppercase;
}

.term-tip {
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--farfor);
  border-left: 3px solid var(--mal);
  border-radius: 4px;
  font-size: 14px;
  color: var(--ink2);
}

/* 08. Editorial Articles, FAQ, Author & Legal
   -------------------------------------------------------------------------- */
.ahero, .hhero, .lhero {
  padding: 52px 0 42px;
  background: linear-gradient(180deg, var(--bel) 0%, var(--sneg) 100%);
  border-bottom: 1px solid var(--line);
}

.ahero h1, .hhero h1, .lhero h1 {
  font-size: clamp(24px, 3.4vw, 42px);
  max-width: 960px;
}

.ahero .lead, .hhero p {
  font-size: 18px;
  color: var(--ink2);
  max-width: 820px;
  margin-top: 14px;
}

.lhero p {
  color: var(--mut);
  margin-top: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13.5px;
}

.tag {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--kob);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--mut);
}

.meta strong {
  color: var(--ink);
}

.hstats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 14px;
  color: var(--mut);
}

.hstats b {
  font-family: "Unbounded", sans-serif;
  font-size: 22px;
  color: var(--ink);
  display: block;
}

.agrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  padding: 36px 0 70px;
}

.prose h2 {
  font-size: clamp(20px, 2.3vw, 26px);
  margin: 44px 0 14px;
  padding-top: 8px;
  scroll-margin-top: 86px;
}

.prose h2::before {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-bottom: 12px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--kob) 0 50%, var(--kin) 50% 80%, var(--zol) 80%);
}

.prose h3 {
  font-size: 17px;
  margin: 26px 0 10px;
  color: var(--kob-d);
}

.prose p {
  margin: 0 0 16px;
  color: #273046;
}

.prose ul, .prose ol {
  margin: 0 0 18px 22px;
  color: #273046;
}

.prose li {
  margin-bottom: 7px;
}

.prose strong {
  color: var(--ink);
}

.prose code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13.5px;
  background: var(--sneg);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--kob-d);
}

.prose pre {
  background: var(--chern);
  border-radius: var(--r);
  padding: 16px;
  overflow: auto;
  margin: 0 0 20px;
  font-size: 13.5px;
  line-height: 1.55;
}

.prose pre code {
  background: none;
  border: 0;
  padding: 0;
  color: var(--zol-l);
}

.prose .table-wrap {
  margin: 0 0 22px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 22px;
  font-size: 14.5px;
  background: var(--bel);
  border-radius: var(--r);
  border: 1px solid var(--line);
}

.prose .table-wrap table {
  margin: 0;
  border: 0;
  border-radius: 0;
  min-width: 560px;
}

.prose th, .prose td {
  padding: 10px 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--kob);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  white-space: nowrap;
}

.prose tr:hover td {
  background: rgba(27, 61, 158, 0.04);
}

.toc {
  background: var(--bel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--kob);
  border-radius: var(--r);
  padding: 20px 22px;
  margin: 0 0 28px;
}

.toc strong {
  font-family: "Unbounded", sans-serif;
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
}

.toc ol {
  margin: 0 0 0 20px;
}

.toc li {
  margin: 5px 0;
  font-size: 15px;
}

.box {
  border-radius: var(--r);
  padding: 18px 20px;
  margin: 0 0 22px;
  border: 1px solid var(--line);
  background: var(--bel);
}

.box.tip { border-left: 4px solid var(--mal); background: #eef7f4; }
.box.warn { border-left: 4px solid var(--kin); background: #fdf0ee; }
.box.expert { border-left: 4px solid var(--zol); background: #fcf6e6; }
.box p:last-child { margin: 0; }

.box-t {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  display: block;
  font-size: 15px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}

.stat {
  background: var(--chern);
  border-radius: var(--r);
  padding: 15px;
  color: #c3cde9;
  border-bottom: 3px solid var(--kin);
}

.stat b {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 22px;
  color: var(--zol-l);
}

.stat span {
  font-size: 13.5px;
}

.cta, .hub-cta {
  margin: 34px 0;
  border-radius: var(--r);
  padding: 32px;
  background: linear-gradient(135deg, var(--chern) 0%, var(--kob-d) 100%);
  color: #fff;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta h2, .cta h3, .hub-cta h2 {
  margin: 0 0 10px;
  color: #fff;
}

.cta h2::before {
  display: none;
}

.cta p, .hub-cta p {
  color: #d3dcf3;
  margin: 0 auto 18px;
  max-width: 620px;
}

.cta a:not(.btn),
.hub-cta a:not(.btn),
.dark a:not(.btn),
.feature-strip a:not(.btn),
.final a:not(.btn),
.kino4k a:not(.btn),
.res a:not(.btn),
.side.buy a:not(.btn) {
  color: var(--zol-l);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta a:not(.btn):hover,
.hub-cta a:not(.btn):hover,
.dark a:not(.btn):hover,
.feature-strip a:not(.btn):hover,
.final a:not(.btn):hover,
.kino4k a:not(.btn):hover,
.res a:not(.btn):hover,
.side.buy a:not(.btn):hover {
  color: #fff;
}

.cta .row, .hub-cta .row, .final .row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn-ghost, .final .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.final {
  padding: 76px 0;
  text-align: center;
  background: var(--kob);
  color: #fff;
  background-image: linear-gradient(180deg, rgba(17, 42, 114, 0.92), rgba(27, 61, 158, 0.94)), var(--gzh);
  background-size: auto, 64px 64px;
}

.final::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 12px;
  background: var(--chern) var(--band) repeat-x center / 40px 14px;
  border-bottom: 2px solid var(--zol);
}

.final h2 {
  color: #fff;
  font-size: clamp(26px, 3.8vw, 44px);
  max-width: 860px;
  margin: 0 auto 14px;
}

.final p {
  font-size: 18px;
  color: #d3dcf3;
  max-width: 680px;
  margin: 0 auto 26px;
}

/* FAQ & Grouped FAQ */
.faqgrid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 36px;
}

.faq-group {
  margin-bottom: 34px;
  scroll-margin-top: 86px;
}

.faq-group-title {
  font-size: 20px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-group-title span {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--kin);
}

.faq details {
  background: var(--bel);
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: var(--r);
  margin-bottom: 9px;
  padding: 0 18px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.faq details[open] {
  border-left-color: var(--kob);
  box-shadow: var(--elev-1);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  padding: 15px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
}

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

.faq summary::after {
  content: "+";
  color: var(--kin);
  font-family: "JetBrains Mono", monospace;
  font-size: 20px;
  line-height: 1;
  flex: none;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  padding-bottom: 16px;
  margin: 0;
  color: var(--ink2);
  font-size: 15px;
}

/* Author Box & Profile */
.author {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--kob);
  border-radius: var(--r);
  padding: 20px;
  margin-top: 34px;
}

.author .av {
  width: 52px;
  height: 52px;
  border-radius: var(--r);
  background: var(--kob);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: 18px;
  flex: none;
}

.author p {
  font-size: 14.5px;
  margin: 4px 0 0;
  color: var(--ink2);
}

.profile-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  background: var(--bel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px;
}

.profile-avatar {
  width: 112px;
  height: 112px;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  flex: none;
}

/* Sidebar */
.aside .stick {
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side {
  background: var(--bel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
}

.side.buy {
  background: var(--chern);
  color: #c3cde9;
  border-color: var(--chern2);
}

.side.buy h4, .side.buy .aside-title, .side.buy .price {
  color: #fff;
}

.side h4, .side .aside-title {
  font-family: "Unbounded", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-size: 14.5px;
  margin-bottom: 10px;
}

.side ul {
  list-style: none;
}

.side li {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.45;
}

.side .price {
  font-family: "Unbounded", sans-serif;
  font-size: 26px;
  font-weight: 800;
}

.side .price small {
  font-size: 13px;
  color: #a5b3da;
  font-family: "Onest", sans-serif;
  font-weight: 500;
}

.side .btn {
  width: 100%;
  margin-top: 12px;
}

.cards-ico {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  font-size: 11.5px;
  color: #a5b3da;
  align-items: center;
  flex-wrap: wrap;
}

.cards-ico span {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  padding: 2px 7px;
  font-weight: 700;
  color: #fff;
}

/* Article cards */
.acards, .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 18px;
}

.acard, .card {
  background: var(--bel);
  border: 1px solid var(--line);
  border-top: 4px solid var(--kob);
  border-radius: var(--r);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--elev-1);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.acard:nth-child(3n+2), .card:nth-child(3n+2) { border-top-color: var(--kin); }
.acard:nth-child(3n), .card:nth-child(3n) { border-top-color: var(--zol); }

.acard:hover, .card:hover {
  border-color: var(--kob);
  box-shadow: var(--elev-2);
}

.acard .am, .card .cm {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.abadge, .card .cat {
  background: var(--kob);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
}

.art-rt, .card .rt {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--kin);
  white-space: nowrap;
}

.acard h3, .card h2 {
  font-size: 16.5px;
  line-height: 1.35;
}

.acard h3 a, .card h2 a {
  color: var(--ink);
}

.acard p, .card p {
  font-size: 14.5px;
  color: var(--ink2);
}

.amore, .card .m {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--kob);
}

.card .m {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--mut);
}

.card .m a {
  color: var(--kin);
}

.related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.related a {
  display: block;
  background: var(--bel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--kob);
  border-radius: var(--r);
  padding: 16px;
  color: var(--ink);
  font-weight: 700;
  font-family: "Unbounded", sans-serif;
  font-size: 14px;
  line-height: 1.35;
}

.related a:hover {
  border-left-color: var(--kin);
  text-decoration: none;
}

.related a small {
  display: block;
  font-family: "JetBrains Mono", monospace;
  color: var(--kin-d);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

/* Legal pages */
.legal {
  max-width: 860px;
  padding: 36px 20px 76px;
}

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

.legal p, .legal li {
  color: #273046;
  margin-bottom: 12px;
}

.legal ul, .legal ol {
  margin: 0 0 16px 22px;
}

.legal .box {
  border-left: 4px solid var(--kob);
}

.legal nav.lnk {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.legal nav.lnk a {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 7px 13px;
  font-size: 13.5px;
  background: var(--bel);
}

/* 09. Footer, Sticky CTA & WhatsApp
   -------------------------------------------------------------------------- */
.ftr {
  background: var(--kob-d);
  background-image: var(--gzh);
  background-size: 64px 64px;
  font-size: 14.5px;
  color: #c3cde9;
  position: relative;
}

.ftr::before {
  content: "";
  display: block;
  height: 12px;
  background: var(--chern) var(--band) repeat-x center / 40px 14px;
  border-bottom: 2px solid var(--zol);
}

.ftr > .wrap {
  background: linear-gradient(180deg, rgba(14, 30, 82, 0.94), rgba(10, 22, 62, 0.99));
  padding: 60px 20px 110px;
  max-width: none;
}

.ftr > .wrap > * {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.ftr .logo {
  color: #fff;
}

.ftr .logo b {
  color: var(--zol-l);
}

.ftr-desc {
  margin-top: 14px;
  max-width: 390px;
  color: #c3cde9;
  font-size: 14px;
}

.ftr-disc {
  margin-top: 22px;
  font-size: 12.5px;
  opacity: 0.78;
}

.fgrid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr;
  gap: 26px;
}

.ftr a, .ftr p {
  overflow-wrap: anywhere;
}

.ftr h5, .ftr .ftr-title {
  font-family: "Unbounded", sans-serif;
  color: #fff;
  font-size: 13.5px;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.ftr ul {
  list-style: none;
}

.ftr li {
  margin: 6px 0;
}

.ftr a {
  color: #c3cde9;
  font-weight: 500;
}

.ftr a:hover {
  color: #fff;
}

.fbot {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

/* Sticky Floating CTA (non-homepage pages) */
#cta-sticky {
  position: fixed;
  left: 18px;
  bottom: 18px;
  max-width: calc(100vw - 420px);
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--chern);
  color: #fff;
  border: 1px solid rgba(242, 212, 136, 0.45);
  border-radius: var(--r);
  padding: 10px 14px;
  box-shadow: 0 14px 32px -12px rgba(0, 0, 0, 0.55);
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

#cta-sticky .sticky-info {
  font-size: 13px;
  line-height: 1.3;
}

#cta-sticky .sticky-info strong {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-size: 13px;
  color: var(--zol-l);
}

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

/* Floating WhatsApp & Telegram */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  filter: drop-shadow(0 12px 22px rgba(6, 28, 38, 0.36));
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.wa-float .wa-pill {
  position: relative;
  display: block;
  background: var(--wa);
  color: #03230f;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.3;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

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

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

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

.wa-float .wa-circ svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.tg-float {
  position: fixed;
  right: 18px;
  bottom: 84px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  filter: drop-shadow(0 12px 22px rgba(6, 28, 38, 0.36));
  transition: transform 0.2s ease;
}

.tg-float:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.tg-float .tg-pill {
  position: relative;
  display: block;
  background: var(--tg);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.3;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

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

.tg-float .tg-circ {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #5cc4f5, #2aabee 55%, #1a8fcf);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 4px rgba(42, 171, 238, 0.2);
}

.tg-float .tg-circ svg {
  width: 27px;
  height: 27px;
  fill: #fff;
  margin-left: -2px;
}

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

/* 10. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .hero .wrap,
  .netwrap,
  .tabpanes,
  .tool,
  .trgrid,
  .faqgrid,
  .agrid {
    grid-template-columns: 1fr;
  }
  .aside {
    display: none;
  }
  .plans4, .plans, .plans--compact,
  .hub-bento,
  .grid-4,
  .strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .strip-cell:nth-child(2) {
    border-right: 0;
  }
  .strip-cell:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .grid-3, .ggrid, .pillars, .lab, .city-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) and (min-width: 761px) {
  .wa-float .wa-pill {
    display: none;
  }
  #cta-sticky {
    max-width: calc(100vw - 110px);
  }
}

@media (max-width: 760px) {
  .sec {
    padding: 56px 0;
  }
  .ftr > .wrap {
    padding-bottom: 156px;
  }
  .mets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .met:nth-child(2) {
    border-right: 0;
  }
  .met:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
  .grid-2, .grid-3, .ggrid, .pillars, .lab, .city-row, .profile-card {
    grid-template-columns: 1fr;
  }
  .guar {
    grid-template-columns: 1fr;
    text-align: center;
  }
  #cta-sticky {
    left: 12px;
    right: 12px;
    bottom: 92px;
    max-width: none;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .hdr .btn {
    padding: 9px 13px;
    font-size: 13.5px;
    white-space: nowrap;
  }
  .logo {
    font-size: 16px;
  }
  .logo sup {
    display: none;
  }
  .plans4, .plans, .plans--compact,
  .hub-bento,
  .grid-4,
  .strip-grid,
  .fgrid,
  .trust {
    grid-template-columns: 1fr;
  }
  .strip-cell {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .strip-cell:last-child {
    border-bottom: 0;
  }
  .met {
    padding: 20px 14px;
  }
  .met b {
    font-size: 24px;
  }
  #cta-sticky {
    bottom: 76px;
    padding: 9px 12px;
  }
  .wa-float {
    right: 12px;
    bottom: 12px;
    gap: 10px;
  }
  .wa-float .wa-pill {
    font-size: 13px;
    padding: 9px 14px;
  }
  .wa-float .wa-circ {
    width: 50px;
    height: 50px;
  }
  .wa-float .wa-circ svg {
    width: 26px;
    height: 26px;
  }
  .tg-float {
    right: 12px;
    bottom: 72px;
    gap: 10px;
  }
  .tg-float .tg-pill {
    font-size: 13px;
    padding: 9px 14px;
  }
  .tg-float .tg-circ {
    width: 50px;
    height: 50px;
  }
  .tg-float .tg-circ svg {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 440px) {
  .hdr .wrap {
    gap: 8px;
  }
  .hdr .btn {
    padding: 8px 10px;
    font-size: 12.5px;
  }
  .hdr .btn .wa-ico {
    display: none;
  }
  .logo {
    font-size: 14px;
    gap: 7px;
  }
  .logo .mark {
    width: 30px;
    height: 30px;
  }
  .panel, .res {
    padding: 18px;
  }
  .kv b {
    font-size: 18px;
  }
  .bars div {
    grid-template-columns: 74px 1fr 58px;
    font-size: 12.5px;
  }
  .pcard .price, .plan .price {
    font-size: 36px;
  }
}

@media (max-width: 340px) {
  .wa-float .wa-pill,
  .tg-float .tg-pill {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
