/* ==========================================================================
   TELEGET — main.css
   1. Fonts            7. Trust strip       13. Editorial content
   2. Design tokens    8. Pricing           14. FAQ
   3. Reset & base     9. Comparison        15. Final CTA
   4. Utilities       10. Features          16. Footer
   5. Header & nav    11. Devices           17. Motion & reveal
   6. Hero            12. Why + key features 18. Print
                                            19. Small screens
   ========================================================================== */

/* 1. FONTS ---------------------------------------------------------------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-var.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* 2. DESIGN TOKENS -------------------------------------------------------- */
:root {
  /* Brand */
  --c-cyan: #38c8f5;
  --c-blue: #3b82f6;
  --c-violet: #7c3aed;

  /* Premium accent — the Premium 4K tier and nothing else */
  --c-gold: #f4c84a;
  --c-gold-deep: #d9a91f;
  /* Savings only */
  --c-save: #3ddc97;

  /* Surfaces — deep navy, never pure black */
  --c-bg: #050719;
  --c-surface: #07091a;
  --c-surface-2: #080c20;
  --c-surface-3: #10152f;
  --c-raised: #151b3a;

  /* Ink */
  --c-ink: #ffffff;
  --c-text: #d3d9ea;
  --c-muted: #9aa6c5;
  --c-faint: #838ead;

  /* Lines */
  --c-line: rgba(80, 100, 180, 0.25);
  --c-line-2: rgba(96, 120, 200, 0.4);
  --c-line-3: rgba(118, 145, 220, 0.55);

  --grad-brand: linear-gradient(125deg, #38c8f5 0%, #3b82f6 42%, #7c3aed 100%);
  --grad-blade: linear-gradient(180deg, #38c8f5, #3b82f6);

  /* Typography */
  --ff-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-display: clamp(2.15rem, 1.35rem + 3.4vw, 4.35rem);
  --fs-h2: clamp(1.95rem, 1.4rem + 1.9vw, 2.9rem);
  --fs-h3: clamp(1.2rem, 1.08rem + 0.42vw, 1.45rem);
  --fs-h4: 1.0625rem;
  --fs-lead: clamp(1.0625rem, 1rem + 0.28vw, 1.2rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-eyebrow: 0.72rem;

  --lh-tight: 1.06;
  --lh-snug: 1.22;
  --lh-body: 1.68;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.75rem;
  --sp-8: 3.5rem;
  --sp-9: 4.5rem;
  --sp-section: clamp(4rem, 2.4rem + 6.4vw, 8.5rem);

  /* Shape */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadow */
  --sh-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --sh-2: 0 14px 34px -18px rgba(0, 0, 0, 0.8);
  --sh-3: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
  --sh-brand: 0 18px 44px -20px rgba(59, 130, 246, 0.5);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --tr-fast: 0.18s var(--ease);
  --tr: 0.28s var(--ease);
  --tr-slow: 0.6s var(--ease-out);

  /* Layout */
  --wrap: 1220px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 68px;
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }
}

/* 3. RESET & BASE --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--ff-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--c-ink);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: var(--lh-snug);
  text-wrap: balance;
}
h1 { font-size: var(--fs-display); line-height: var(--lh-tight); letter-spacing: -0.034em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.028em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-weight: 700; }

p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

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

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection { background: rgba(60, 123, 255, 0.4); color: #fff; }

/* 4. UTILITIES ------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sp-section); position: relative; }
section[id], #main { scroll-margin-top: calc(var(--header-h) + 1.25rem); }
.section--tint { background: var(--c-surface-2); }
.section--deep { background: var(--c-surface); }
.section--edge { border-top: 1px solid var(--c-line); }

.section > .wrap { position: relative; z-index: 1; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100%;
  left: var(--gutter);
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--c-raised);
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-sm);
  color: var(--c-ink);
  font-weight: 600;
}
.skip-link:focus,
.skip-link:focus-visible { top: 0.75rem; }

/* Signature: the signal blade eyebrow — echoes the brand mark */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: var(--sp-4);
  font-family: var(--ff-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: var(--grad-blade);
}
.eyebrow--center { justify-content: center; }

.section-head { max-width: 50rem; margin-bottom: clamp(2.5rem, 1.6rem + 2.8vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p {
  margin-top: var(--sp-4);
  font-size: var(--fs-lead);
  color: var(--c-muted);
  max-width: 42rem;
}
.section-head--center p { margin-inline: auto; }

.note--center { text-align: center; margin-inline: auto; max-width: 46rem; }

.note {
  margin-top: var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--c-faint);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform var(--tr-fast), box-shadow var(--tr),
    background-color var(--tr), border-color var(--tr), color var(--tr);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  color: #fff;
  background: linear-gradient(120deg, #3b82f6 0%, #5b5cf0 52%, #7c3aed 100%);
  box-shadow: var(--sh-brand);
}
.btn--primary:hover { box-shadow: 0 22px 52px -18px rgba(91, 92, 240, 0.66); }

.btn--ghost {
  color: var(--c-ink);
  border: 1px solid var(--c-line-2);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover { border-color: var(--c-line-3); background: rgba(255, 255, 255, 0.06); }

.btn--block { width: 100%; }
.btn--sm { padding: 0.6rem 1.15rem; font-size: var(--fs-xs); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Ambient bloom — used behind the hero and the closing CTA */
.bloom {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.bloom::before,
.bloom::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.bloom::before {
  width: 78vw; height: 78vw;
  max-width: 1100px; max-height: 1100px;
  top: -30%; right: -20%;
  background: radial-gradient(closest-side,
    rgba(124, 58, 237, 0.32) 0%, rgba(124, 58, 237, 0.11) 44%, transparent 74%);
}
.bloom::after {
  width: 58vw; height: 58vw;
  max-width: 780px; max-height: 780px;
  bottom: -32%; left: -16%;
  background: radial-gradient(closest-side,
    rgba(56, 200, 245, 0.13) 0%, rgba(56, 200, 245, 0.045) 46%, transparent 76%);
}

/* 5. HEADER & NAV --------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color var(--tr), border-color var(--tr),
    backdrop-filter var(--tr);
}
.header.is-stuck {
  background: rgba(5, 8, 26, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--c-line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  width: 100%;
}

.brand { flex: none; display: inline-flex; align-items: center; }
.brand img { width: auto; height: 30px; }
@media (min-width: 900px) { .brand img { height: 34px; } }

.nav { display: none; }

@media (min-width: 1000px) {
  .nav { display: flex; align-items: center; gap: 0.35rem; }
  .nav__link {
    position: relative;
    padding: 0.5rem 0.85rem;
    border-radius: var(--r-sm);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--c-muted);
    transition: color var(--tr-fast);
  }
  .nav__link::after {
    content: "";
    position: absolute;
    left: 0.85rem; right: 0.85rem;
    bottom: 0.15rem;
    height: 2px;
    border-radius: 2px;
    background: var(--grad-blade);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--tr) var(--ease-out);
  }
  .nav__link:hover { color: var(--c-ink); }
  .nav__link:hover::after,
  .nav__link[aria-current="true"]::after { transform: scaleX(1); }
  .nav__link[aria-current="true"] { color: var(--c-ink); }
}

.header__actions { display: flex; align-items: center; gap: 0.6rem; }
.header__cta { display: none; }
@media (min-width: 620px) { .header__cta { display: inline-flex; } }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 11px;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-sm);
}
@media (min-width: 1000px) { .burger { display: none; } }
.burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--c-ink);
  transition: transform var(--tr), opacity var(--tr-fast);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile panel */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: var(--sp-6) var(--gutter) var(--sp-8);
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--tr), visibility var(--tr);
}
.mobile-nav[data-open="true"] { visibility: visible; opacity: 1; }
@media (min-width: 1000px) { .mobile-nav { display: none; } }

.mobile-nav__list { display: flex; flex-direction: column; }
.mobile-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}
.mobile-nav__list a span {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-faint);
}
.mobile-nav .btn { margin-top: var(--sp-6); }

.js .mobile-nav__list li {
  --i: 0;
  opacity: 0;
  transform: translateY(14px);
}
.js .mobile-nav[data-open="true"] .mobile-nav__list li {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 45ms + 60ms);
}

/* 6. HERO ----------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(3rem, 2rem + 5vw, 6.5rem);
  background: var(--c-bg);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
}

.hero__copy { max-width: 34rem; }
.hero h1 { margin-bottom: var(--sp-5); }
.hero__lead {
  font-size: var(--fs-lead);
  color: var(--c-muted);
  margin-bottom: var(--sp-6);
}
.hero .btn-row { margin-bottom: var(--sp-6); }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.1rem;
  font-size: var(--fs-xs);
  color: var(--c-faint);
}
.hero__trust li { display: flex; align-items: center; gap: 0.5rem; }
.hero__trust li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-cyan);
  opacity: 0.75;
}

.hero__media { position: relative; }
.hero__media::before {
  content: "";
  position: absolute;
  inset: 6% -6% 10% -2%;
  background: radial-gradient(ellipse at 62% 48%,
    rgba(59, 130, 246, 0.24) 0%, rgba(124, 58, 237, 0.11) 44%, transparent 76%);
  z-index: 0;
}
.hero__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

/* Mobile hero: image first, edge to edge, and a tighter vertical rhythm so
   header -> image -> heading -> paragraph -> CTAs all land in one viewport. */
@media (max-width: 899px) {
  .hero { padding-block: 1.1rem 2.75rem; }
  .hero__grid { gap: 1.6rem; }
  .hero__media {
    order: -1;
    margin-inline: calc(var(--gutter) * -1);
  }
  .hero__copy { max-width: none; }
  .hero h1 { margin-bottom: 1rem; }
  .hero__lead {
    font-size: 1rem;
    line-height: 1.62;
    margin-bottom: 1.4rem;
  }
  .hero .btn-row { margin-bottom: 1.4rem; }
}
@media (max-width: 480px) {
  .hero .btn-row .btn { flex: 1 1 100%; }
}

/* 7. TRUST STRIP ---------------------------------------------------------- */
.strip {
  background: var(--c-bg);
  border-block: 1px solid var(--c-line);
}
.strip__list {
  display: grid;
  gap: 1px;
  background: var(--c-line);
}
@media (min-width: 700px) { .strip__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .strip__list { grid-template-columns: repeat(4, 1fr); } }

.strip__item {
  display: flex;
  gap: 0.9rem;
  padding: 2rem clamp(0rem, 2vw, 1.6rem);
  background: var(--c-bg);
}
.strip__item svg { flex: none; width: 24px; height: 24px; color: var(--c-cyan); margin-top: 1px; }
.strip__item h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 0.35rem; }
.strip__item p { font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.58; }

/* 8. PRICING — two selectors, one card ------------------------------------ */

/* Both selectors are native radio groups: arrow-key navigable, focusable, and
   they show the correct active state before JavaScript runs. */
.selector {
  position: relative;
  background: var(--c-surface-3);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-2);
}
.selector label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-family: var(--ff-mono);
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--c-muted);
  cursor: pointer;
  transition: color var(--tr), background-color var(--tr), box-shadow var(--tr);
}
.selector label:hover { color: var(--c-ink); }
.selector input:focus-visible + label { outline: 2px solid var(--c-cyan); outline-offset: 2px; }

/* --- Tier: Standard / Premium 4K --- */
.quality {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 0.75rem;
  padding: 7px;
  border-radius: var(--r-pill);
}
.quality label {
  flex-direction: row;
  gap: 0.55rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}
.quality__badge {
  padding: 0.16rem 0.42rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--c-faint);
  transition: background-color var(--tr), color var(--tr);
}
#q-standard:checked + label {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.26), rgba(56, 200, 245, 0.12));
  box-shadow: inset 0 0 0 1px rgba(56, 200, 245, 0.42);
  color: var(--c-ink);
}
#q-premium:checked + label {
  background: linear-gradient(120deg, rgba(244, 200, 74, 0.2), rgba(244, 200, 74, 0.05));
  box-shadow: inset 0 0 0 1px rgba(244, 200, 74, 0.55),
              0 12px 30px -14px rgba(244, 200, 74, 0.6);
  color: var(--c-gold);
}
#q-premium:checked + label .quality__badge {
  background: rgba(244, 200, 74, 0.22);
  color: var(--c-gold);
}

/* --- Period: 3 / 6 / 12 / 24 months ---
   Two-by-two below 620px rather than a horizontal scroller, so every option
   stays visible and finger-sized without the page ever scrolling sideways. */
.period {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto clamp(2.25rem, 1.5rem + 2.4vw, 3.25rem);
  padding: 7px;
  border-radius: var(--r-lg);
}
@media (min-width: 620px) {
  .period { grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r-pill); }
}
.period label {
  min-height: 3.35rem;
  padding: 0.6rem 0.5rem;
  border-radius: var(--r-md);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}
@media (min-width: 620px) { .period label { border-radius: var(--r-pill); } }

.period__badge {
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  color: var(--c-faint);
  transition: color var(--tr);
}
.period input:checked + label {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(56, 200, 245, 0.14));
  box-shadow: inset 0 0 0 1px rgba(56, 200, 245, 0.5),
              0 12px 30px -16px rgba(56, 200, 245, 0.7);
  color: var(--c-ink);
}
.period input:checked + label .period__badge { color: var(--c-cyan); }

/* --- The single card. Its contents are rewritten in place by main.js --- */
.plan-card {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  max-width: 56rem;
  margin-inline: auto;
  padding: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  background: var(--c-surface-3);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
  transition: border-color var(--tr), box-shadow var(--tr);
}
@media (min-width: 760px) {
  .plan-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: center;
  }
}

.plan-card__aside {
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background: rgba(255, 255, 255, 0.026);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
}
.plan-card__label {
  margin-bottom: 0.9rem;
  font-family: var(--ff-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-cyan);
}

.plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 1.6rem;
}
.plan__term {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.plan__save {
  padding: 0.3rem 0.55rem;
  border-radius: var(--r-xs);
  background: rgba(61, 220, 151, 0.13);
  box-shadow: inset 0 0 0 1px rgba(61, 220, 151, 0.38);
  color: var(--c-save);
  font-family: var(--ff-mono);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem;
  min-height: 1em;
  margin: 0.9rem 0 0.35rem;
  color: var(--c-ink);
  font-size: clamp(2.4rem, 1.9rem + 1.8vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan__was {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-faint);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.plan__equiv { font-size: var(--fs-sm); color: var(--c-faint); }
.plan__desc {
  margin-top: 0.9rem;
  font-size: var(--fs-body);
  color: var(--c-muted);
  line-height: 1.6;
}

.plan__features { display: flex; flex-direction: column; gap: 0.9rem; font-size: 0.98rem; }
.plan__features li { display: flex; gap: 0.7rem; line-height: 1.5; color: var(--c-text); }
.plan__features svg { flex: none; width: 19px; height: 19px; margin-top: 3px; color: var(--c-cyan); }

.plan-card .btn { margin-top: 1.6rem; padding-block: 1.05rem; }

/* A short fade on swap so the change registers without feeling sluggish */
.plan-card__main, .plan-card__aside { transition: opacity 0.26s var(--ease); }
.plan-card.is-swapping .plan-card__main,
.plan-card.is-swapping .plan-card__aside { opacity: 0.35; transition: none; }

/* Premium 4K lends the card the gold treatment. CSS-only, so the tier still
   reads correctly if the pricing script fails to load. */
#pricing:has(#q-premium:checked) .plan-card {
  border-color: transparent;
  background:
    linear-gradient(var(--c-surface-3), var(--c-surface-3)) padding-box,
    linear-gradient(140deg, #f4c84a, #d9a91f 45%, #7c3aed 100%) border-box;
  box-shadow: 0 32px 72px -34px rgba(244, 200, 74, 0.42);
}
#pricing:has(#q-premium:checked) .plan-card__label { color: var(--c-gold); }
#pricing:has(#q-premium:checked) .plan__features svg { color: var(--c-gold); }

@media (max-width: 430px) {
  .quality label { padding: 0.72rem 1rem; font-size: 0.72rem; letter-spacing: 0.09em; }
  .quality, .period { gap: 4px; padding: 5px; }
  .period label { font-size: 0.7rem; letter-spacing: 0.09em; min-height: 3.1rem; }
  .plan__features { font-size: 0.92rem; }
}

/* 9. COMPARISON — Standard vs Premium 4K ---------------------------------- */
.compare__scroll {
  max-width: 62rem;
  margin-inline: auto;
  overflow-x: auto;
  background: var(--c-surface-3);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  -webkit-overflow-scrolling: touch;
}

.compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.compare__table th,
.compare__table td {
  padding: 1rem 1.3rem;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
  vertical-align: middle;
}
.compare__table tbody tr:last-child th,
.compare__table tbody tr:last-child td { border-bottom: 0; }

.compare__table thead th {
  background: var(--c-raised);
  color: var(--c-ink);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.012em;
}
.compare__table thead th small {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-faint);
}

.compare__table tbody th { font-weight: 600; color: var(--c-text); }
.compare__table td { color: var(--c-muted); }
.compare__table tbody tr:hover td,
.compare__table tbody tr:hover th { background: rgba(255, 255, 255, 0.022); }

.compare__yes { color: var(--c-cyan); font-weight: 600; }
.compare__no { color: var(--c-faint); }

/* The Premium 4K column carries the same gold as the pricing tier */
.compare__table .col-premium { background: rgba(244, 200, 74, 0.05); color: var(--c-text); }
.compare__table thead .col-premium {
  color: var(--c-gold);
  background: linear-gradient(180deg, rgba(244, 200, 74, 0.16), rgba(244, 200, 74, 0.04));
  box-shadow: inset 0 -2px 0 0 var(--c-gold);
}
.compare__table thead .col-premium small { color: rgba(244, 200, 74, 0.72); }
.compare__table .col-premium .compare__yes { color: var(--c-gold); }

@media (max-width: 400px) {
  .compare__table { font-size: 0.8rem; }
  .compare__table th,
  .compare__table td { padding: 0.62rem 0.45rem; }
}
@media (max-width: 620px) {
  .compare__table { font-size: 0.84rem; }
  .compare__table th,
  .compare__table td { padding: 0.72rem 0.6rem; }
  .compare__table thead th { font-size: 0.84rem; }
  .compare__table thead th small { letter-spacing: 0.1em; }
}

/* 10. FEATURES ------------------------------------------------------------ */
.cards {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  padding: 1.75rem 1.6rem;
  background: var(--c-surface-3);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--tr), border-color var(--tr), background-color var(--tr);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--tr);
}
.card:hover { transform: translateY(-4px); border-color: var(--c-line-2); }
.card:hover::before { opacity: 1; }

.card__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 1.15rem;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-sm);
  background: linear-gradient(150deg, rgba(59, 130, 246, 0.18), rgba(124, 58, 237, 0.09));
  color: var(--c-cyan);
  transition: border-color var(--tr), background-color var(--tr);
}
.card__icon svg { width: 22px; height: 22px; }
.card:hover .card__icon { border-color: rgba(56, 200, 245, 0.45); }

.card h3 { margin-bottom: 0.55rem; font-size: 1.12rem; }
.card p { font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.62; }

/* 11. DEVICES ------------------------------------------------------------- */
.devices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
@media (min-width: 560px) { .devices { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .devices { grid-template-columns: repeat(8, 1fr); } }

.device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 1.4rem 0.5rem 1.15rem;
  background: var(--c-surface-3);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  text-align: center;
  transition: transform var(--tr), border-color var(--tr), color var(--tr);
}
.device:hover { transform: translateY(-3px); border-color: rgba(56, 200, 245, 0.42); }
.device svg { width: 30px; height: 30px; color: var(--c-muted); transition: color var(--tr); }
.device:hover svg { color: var(--c-cyan); }
.device span {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-text);
  letter-spacing: -0.005em;
}

/* 12. WHY TELEGET — restrained card grid ---------------------------------- */
/* Two across rather than three, so the editorial copy keeps a readable measure.
   Declared after section 10 so it overrides the three-column .cards rule. */
@media (min-width: 1000px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } }

.cards--2 .card { padding: 1.9rem 1.8rem; }
.cards--2 .card h3 { font-size: 1.2rem; margin-bottom: 0.7rem; }
.cards--2 .card p { font-size: var(--fs-body); line-height: 1.66; }

@media (max-width: 430px) {
  .cards--2 .card { padding: 1.6rem 1.35rem; }
  .cards--2 .card p { font-size: var(--fs-sm); }
}

/* --- Key features: media placeholder + highlight panel + support cards --- */
.feature-split { display: grid; gap: clamp(1.75rem, 1rem + 3vw, 3rem); }
@media (min-width: 900px) {
  .feature-split {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
  }
}

.feature-media { display: flex; flex-direction: column; gap: 1.25rem; }

/* The frame owns the ratio and the chrome. Swapping the placeholder for an
   <img> changes nothing about the layout — both fill the frame absolutely. */
.media-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(160deg, #0d1330 0%, #080c20 62%);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  box-shadow: 0 30px 68px -42px rgba(59, 130, 246, 0.55);
}
@supports not (aspect-ratio: 4 / 3) {
  .media-frame { height: 0; padding-top: 75%; }
}
.media-frame > img,
.media-frame > .media-frame__body {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.5rem;
  text-align: center;
  background-image:
    linear-gradient(rgba(80, 100, 180, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 100, 180, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
  background-position: center;
}
.media-frame__body svg { width: 34px; height: 34px; color: var(--c-line-3); }
.media-frame__label {
  font-family: var(--ff-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.media-frame__hint {
  max-width: 22rem;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--c-faint);
}

.feature-media .btn { align-self: stretch; }
@media (min-width: 900px) { .feature-media .btn { align-self: flex-start; } }
.feature-media__note { font-size: var(--fs-xs); color: var(--c-faint); line-height: 1.55; }

/* --- Highlight panel --- */
.feature-panel {
  padding: clamp(0.85rem, 0.6rem + 1vw, 1.35rem);
  background: var(--c-surface-3);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
}
.feature-row {
  display: flex;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  transition: background-color var(--tr), border-color var(--tr);
}
.feature-row + .feature-row { margin-top: 0.4rem; }
.feature-row:hover { background: rgba(255, 255, 255, 0.03); border-color: var(--c-line); }

.feature-row__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-line-2);
  border-radius: 13px;
  background: linear-gradient(150deg, rgba(59, 130, 246, 0.2), rgba(124, 58, 237, 0.08));
  color: var(--c-cyan);
}
.feature-row__icon svg { width: 21px; height: 21px; }

.feature-row__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.3rem;
}
.feature-row h3 { font-size: 1.02rem; }
.feature-row p { font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.56; }

.feature-row__badge {
  padding: 0.22rem 0.5rem;
  border-radius: var(--r-xs);
  background: rgba(244, 200, 74, 0.16);
  box-shadow: inset 0 0 0 1px rgba(244, 200, 74, 0.4);
  color: var(--c-gold);
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* One row carries the gold accent. Used once, deliberately. */
.feature-row--highlight {
  background: linear-gradient(140deg, rgba(244, 200, 74, 0.09), rgba(244, 200, 74, 0.02));
  border-color: rgba(244, 200, 74, 0.38);
  box-shadow: 0 14px 34px -24px rgba(244, 200, 74, 0.65);
}
.feature-row--highlight:hover {
  background: linear-gradient(140deg, rgba(244, 200, 74, 0.13), rgba(244, 200, 74, 0.04));
  border-color: rgba(244, 200, 74, 0.5);
}
.feature-row--highlight .feature-row__icon {
  background: linear-gradient(150deg, rgba(244, 200, 74, 0.24), rgba(244, 200, 74, 0.06));
  border-color: rgba(244, 200, 74, 0.42);
  color: var(--c-gold);
}

/* --- Three supporting cards, equal height --- */
.cards--3 { grid-template-columns: minmax(0, 1fr); margin-top: clamp(1.75rem, 1rem + 2.4vw, 2.75rem); }
@media (min-width: 700px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

@media (max-width: 430px) {
  .feature-panel { padding: 0.6rem; }
  .feature-row { padding: 0.95rem; gap: 0.85rem; }
  .feature-row__icon { width: 40px; height: 40px; border-radius: 12px; }
}

/* 13. EDITORIAL CONTENT --------------------------------------------------- */
.prose { max-width: 68ch; }
.prose h3 {
  margin-top: var(--sp-7);
  margin-bottom: var(--sp-3);
  font-size: 1.28rem;
}
.prose p + p { margin-top: var(--sp-4); }
.prose p { color: var(--c-muted); }

@media (min-width: 940px) {
  .prose--cols {
    max-width: none;
    columns: 2;
    column-gap: clamp(2.5rem, 1rem + 4vw, 4.5rem);
  }
  .prose--cols > * { break-inside: avoid; }
  .prose--cols h3 { margin-top: 0; }
  .prose--cols > section { break-inside: avoid-column; margin-bottom: var(--sp-7); }
}

/* 14. FAQ ----------------------------------------------------------------- */
.faq { max-width: 52rem; margin-inline: auto; }

.faq__item {
  border-bottom: 1px solid var(--c-line);
}
.faq__item:first-child { border-top: 1px solid var(--c-line); }

.faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }

.faq__q {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.45;
  color: var(--c-ink);
  transition: color var(--tr-fast);
}
.faq__item summary:hover .faq__q { color: var(--c-cyan); }

.faq__item summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 6px;
  background-image:
    linear-gradient(var(--c-muted), var(--c-muted)),
    linear-gradient(var(--c-muted), var(--c-muted));
  background-size: 14px 2px, 2px 14px;
  background-position: center, center;
  background-repeat: no-repeat;
  transition: background-size var(--tr), filter var(--tr);
}
.faq__item[open] summary::after { background-size: 14px 2px, 2px 0; }
.faq__item summary:hover::after { filter: brightness(2); }

.faq__answer { padding: 0 3rem 1.5rem 0; }
.faq__answer p { color: var(--c-muted); font-size: var(--fs-sm); line-height: 1.68; }
.faq__answer p + p { margin-top: var(--sp-3); }

.js .faq__item > .faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}
.js .faq__item[open] > .faq__panel { grid-template-rows: 1fr; }
.js .faq__item[open].is-closing > .faq__panel,
.js .faq__item[open].is-opening > .faq__panel { grid-template-rows: 0fr; }
.js .faq__panel > div { overflow: hidden; }

/* 15. FINAL CTA ----------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--c-surface);
  border-block: 1px solid var(--c-line);
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}
.cta-band .btn-row { justify-content: center; margin-top: var(--sp-6); }
.cta-band p { margin-top: var(--sp-4); font-size: var(--fs-lead); color: var(--c-muted); }

.cta-band__mark {
  position: absolute;
  top: 50%; left: 50%;
  width: min(760px, 105%);
  transform: translate(-50%, -50%);
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}

/* 16. FOOTER -------------------------------------------------------------- */
.footer {
  background: var(--c-bg);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem;
  font-size: var(--fs-sm);
}
.footer__top {
  display: grid;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid var(--c-line);
}
@media (min-width: 700px) { .footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer__top { grid-template-columns: 1.6fr repeat(3, 1fr); } }

.footer__brand img { width: auto; height: 32px; margin-bottom: 1.1rem; }
.footer__brand p { max-width: 30rem; color: var(--c-faint); font-size: var(--fs-xs); line-height: 1.7; }

.footer__col h2 {
  margin-bottom: 1rem;
  font-family: var(--ff-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-faint);
}
.footer__col li + li { margin-top: 0.6rem; }
.footer__col a {
  color: var(--c-muted);
  font-size: var(--fs-xs);
  transition: color var(--tr-fast);
}
.footer__col a:hover { color: var(--c-ink); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.75rem;
  font-size: var(--fs-xs);
  color: var(--c-faint);
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1.15rem; }

/* 17. MOTION & REVEAL ----------------------------------------------------- */
.js .reveal {
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translateY(20px);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .mobile-nav__list li { opacity: 1; transform: none; }
  .btn:hover, .card:hover, .device:hover { transform: none; }
}

/* 19. SMALL SCREENS (320 / 375 / 390 / 430 audit) ------------------------- */
@media (max-width: 430px) {
  .plan__price { font-size: 2.1rem; }
  .card { padding: 1.55rem 1.35rem; }
  .quality label { padding: 0.72rem 1rem; font-size: 0.72rem; letter-spacing: 0.09em; }
  .quality { gap: 4px; padding: 5px; }
  .plan__features { font-size: 0.9rem; }
  .strip__item { padding: 1.6rem 0; }
}

/* 18. PRINT --------------------------------------------------------------- */
@media print {
  .header, .mobile-nav, .bloom, .cta-band__mark, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  h1, h2, h3, h4 { color: #000; }
  .section { padding-block: 1.5rem; }
}
