/* ==========================================================================
   NIXATV — Premium IPTV landing page
   1. Tokens
   2. Reset & base
   3. Utilities (container, section, buttons, pills, icons)
   4. Header / navigation
   5. Hero + stats
   6. Poster carousel
   7. Channels
   8. Steps
   9. Pricing
   10. Features / devices
   11. Testimonials
   12. FAQ
   13. CTA + footer
   14. Animations
   15. Responsive
   ========================================================================== */

/* ============ 1. TOKENS ============ */
:root {
  --orange: #f5a623;
  --orange-dark: #e0940f;
  --orange-soft: #fdf2dd;
  --ink: #111214;
  --ink-2: #1c1e22;
  --body: #3d4450;
  --muted: #838b98;
  --line: #e8e9ec;
  --line-soft: #f0f1f3;
  --bg: #fafaf9;
  --bg-alt: #f4f4f1;
  --white: #ffffff;
  --red: #ef4136;
  --green: #22c55e;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(17, 18, 20, .04);
  --shadow-sm: 0 2px 10px rgba(17, 18, 20, .05);
  --shadow: 0 10px 30px rgba(17, 18, 20, .07);
  --shadow-lg: 0 24px 60px rgba(17, 18, 20, .12);
  --shadow-orange: 0 14px 30px rgba(245, 166, 35, .35);

  --container: 1200px;
  --header-h: 72px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ============ 2. RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0; }

::selection { background: var(--orange); color: #fff; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ============ 3. UTILITIES ============ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 860px; }

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }

.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section__title {
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -.015em;
}
.section__title--sm { font-size: clamp(26px, 3.2vw, 36px); }
.section__title em { color: var(--orange); font-style: italic; }
.section__sub { margin-top: 16px; font-size: 15.5px; color: var(--body); }
.section__sub--quote { font-style: italic; font-weight: 600; color: var(--ink); }
.section__foot { margin-top: 48px; text-align: center; }

.link-underline {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--orange);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--orange);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.link-underline:hover { color: var(--ink); border-color: var(--ink); }

/* --- buttons --- */
.btn {
  --btn-py: 13px; --btn-px: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--btn-py) var(--btn-px);
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sm { --btn-py: 11px; --btn-px: 22px; font-size: 12px; }
.btn--lg { --btn-py: 18px; --btn-px: 36px; font-size: 13.5px; }

.btn--primary { background: var(--orange); color: var(--ink); box-shadow: var(--shadow-orange); }
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 18px 36px rgba(245,166,35,.42); }

.btn--ghost { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.btn--ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #d9dbe0; }

.btn--outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--outline:hover { border-color: var(--orange); color: var(--orange); }

.btn--block { display: flex; width: 100%; }

/* --- pill / stars / icons --- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
  font-size: 11.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink);
}
.pill--outline { background: #fdf8ee; border-color: #f2ddb4; color: var(--ink); }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(239,65,54,.55); animation: ping 2s infinite; }

.stars { color: var(--orange); letter-spacing: 2px; font-size: 15px; line-height: 1; }
.stars--xs { font-size: 10px; letter-spacing: 1px; }

.icon-circle {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--orange);
  transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease);
}
.icon-circle svg { width: 24px; height: 24px; }

/* ============ 4. HEADER ============ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(250, 250, 249, .72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-scrolled { background: rgba(255,255,255,.9); border-color: var(--line); box-shadow: var(--shadow-sm); }

.header__inner { display: flex; align-items: center; gap: 24px; height: 100%; }

.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo__mark { display: grid; place-items: center; }
.logo__text {
  font-size: 24px; font-weight: 900; font-style: italic; letter-spacing: -.03em; color: var(--ink);
}
.logo__text span { color: var(--orange); }
.logo__text--light { color: #fff; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 6px; }
.nav__link {
  display: block;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink);
  transition: color .22s var(--ease), background-color .22s var(--ease);
}
.nav__link:hover { color: var(--orange); }
.nav__link.is-active { color: var(--orange); background: var(--orange-soft); }

.header__cta { margin-left: 8px; }
.nav__cta-mobile { display: none; }

.burger { display: none; width: 42px; height: 42px; border-radius: 12px; }
.burger span {
  display: block; width: 22px; height: 2px; margin: 5px auto; border-radius: 2px;
  background: var(--ink); transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(17,18,20,.42); backdrop-filter: blur(2px); }

/* ============ 5. HERO ============ */
.hero { position: relative; padding: calc(var(--header-h) + 110px) 0 0; overflow: hidden; }

.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(17,18,20,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17,18,20,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 32%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 32%, #000 35%, transparent 100%);
}
.hero__glow {
  position: absolute; left: 50%; top: -180px; transform: translateX(-50%);
  width: 900px; height: 620px;
  background: radial-gradient(circle, rgba(245,166,35,.16), transparent 62%);
  filter: blur(20px); pointer-events: none;
}

.hero__inner { position: relative; text-align: center; }

.hero__title {
  margin-top: 26px;
  font-size: clamp(42px, 8.6vw, 108px);
  font-weight: 900; font-style: italic; text-transform: uppercase;
  letter-spacing: -.035em; line-height: .96;
}
.hero__title em { color: var(--orange); font-style: italic; }

.hero__lead { max-width: 620px; margin: 26px auto 0; font-size: 17px; }

.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 38px; }

.social-proof {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px;
  margin-top: 46px; font-size: 13.5px; color: var(--ink);
}
.social-proof strong { font-weight: 600; }
.social-proof__sep { width: 1px; height: 18px; background: var(--line); }
.social-proof .dot { color: var(--muted); }

.avatars { display: flex; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; overflow: hidden;
  border: 2.5px solid var(--bg); margin-left: -10px;
  box-shadow: var(--shadow-xs);
}
.avatar:first-child { margin-left: 0; }
.avatar svg,
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- stats --- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 120px; padding: 34px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.stat { position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 12%; height: 76%; width: 1px; background: var(--line);
}
.stat__num { font-size: clamp(32px, 5vw, 52px); font-weight: 900; font-style: italic; color: var(--ink); line-height: 1; }
.stat__label { margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }

/* ============ 6. POSTER CAROUSEL ============ */
.posters { --poster-gap: 18px; position: relative; padding: 34px 0 40px; overflow: hidden; border-bottom: 1px solid var(--line); }
.posters__track { display: flex; gap: var(--poster-gap); width: max-content; align-items: center; animation: marquee 46s linear infinite; }
.posters:hover .posters__track { animation-play-state: paused; }

.poster {
  position: relative; flex: 0 0 auto;
  width: 172px; aspect-ratio: 2 / 3;
  border-radius: 12px; overflow: hidden;
  filter: grayscale(1) contrast(.9) brightness(1.06); opacity: .5;
  transform: scale(.92);
  transition: filter .45s var(--ease), opacity .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
  box-shadow: var(--shadow-xs);
}
.poster:hover, .poster.is-featured {
  filter: none; opacity: 1; transform: scale(1.1); box-shadow: var(--shadow-lg); z-index: 2;
}
/* Generated scene sits at the back; the text layer floats above it. */
.poster__scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.poster__art { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-rows: 1fr auto; padding: 14px; }
/* Licensed artwork, when present, covers the generated scene. */
.poster__img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.poster__badge { align-self: start; justify-self: start; font-size: 8.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.poster__name {
  font-size: 15px; font-weight: 900; font-style: italic; text-transform: uppercase;
  color: #fff; line-height: 1.05; text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.poster__meta { margin-top: 4px; font-size: 9.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); }

.posters__fade { position: absolute; top: 0; bottom: 0; width: 16%; pointer-events: none; z-index: 3; }
.posters__fade--left { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.posters__fade--right { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }

/* ============ 7. CHANNELS ============ */
.channels { background: var(--bg); }
.channel-grid { display: grid; gap: 26px; max-width: 880px; margin-inline: auto; }
/* Three centered rows (8 / 7 / 8), so the middle row insets like the reference. */
.channel-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 20px; }
.channel {
  flex: 0 1 82px;
  display: grid; place-items: center;
  height: 56px; padding: 6px;
  border-radius: var(--radius-sm);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  opacity: .82;
}
.channel__logo { max-height: 42px; width: auto; object-fit: contain; }
.channel:hover { transform: translateY(-4px) scale(1.06); opacity: 1; }
.channel__mark {
  display: grid; place-items: center;
  min-width: 62px; height: 34px; padding: 0 10px;
  font-size: 12px; font-weight: 800; letter-spacing: -.02em; text-align: center;
  color: var(--ink);
}
.channel--solid .channel__mark { background: var(--ink); color: #fff; border-radius: 4px; }
.channel--round .channel__mark { background: var(--ink); color: #fff; border-radius: var(--radius-pill); }
.channel--italic .channel__mark { font-style: italic; }
.channel--light .channel__mark { font-weight: 500; letter-spacing: .06em; }

/* ============ 8. STEPS ============ */
.steps { background: var(--bg); }
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.step-card {
  position: relative;
  padding: 34px 30px 32px;
  background: #f7f7f5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.step-card:hover { transform: translateY(-6px); background: var(--white); box-shadow: var(--shadow); }
.step-card:hover .icon-circle { background: var(--orange); color: #fff; transform: rotate(-6deg) scale(1.06); }
.step-card__num {
  position: absolute; left: 26px; top: 20px;
  font-size: 40px; font-weight: 900; font-style: italic; color: #d7d9dd; line-height: 1;
}
.step-card .icon-circle { margin: 0 auto 18px; }
.step-card h3 { font-size: 18px; font-weight: 800; font-style: italic; text-transform: uppercase; }
.step-card p { margin-top: 12px; font-size: 13.5px; line-height: 1.7; }

/* ============ 9. PRICING ============ */
.pricing { background: var(--bg); }

.switcher {
  position: relative;
  display: flex; align-items: center; gap: 2px;
  width: fit-content; margin: 0 auto 44px; padding: 6px;
  background: #eeeeec; border-radius: var(--radius-pill);
}
.switcher__pill {
  position: absolute; top: 6px; bottom: 6px; left: 6px;
  background: var(--orange); border-radius: var(--radius-pill);
  box-shadow: 0 6px 16px rgba(245,166,35,.35);
  transition: transform .38s var(--ease), width .38s var(--ease);
}
.switcher__btn {
  position: relative; z-index: 1;
  padding: 11px 24px; border-radius: var(--radius-pill);
  font-size: 13.5px; font-weight: 600; color: var(--body);
  transition: color .28s var(--ease);
  white-space: nowrap;
}
.switcher__btn.is-active { color: var(--ink); font-weight: 700; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: center; }

.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 40px 30px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan--featured {
  border: 2px solid var(--orange);
  padding-block: 54px 34px;
  box-shadow: var(--shadow);
  order: -1;
}
@media (min-width: 861px) { .plan--featured { order: 0; transform: scale(1.035); } .plan--featured:hover { transform: translateY(-6px) scale(1.035); } }

.plan__flag {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 18px; border-radius: var(--radius-pill);
  background: var(--orange); color: var(--ink);
  font-size: 10.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  white-space: nowrap;
}
.plan__save {
  position: absolute; right: 14px; top: 16px;
  padding: 5px 10px; border-radius: 6px;
  background: var(--red); color: #fff;
  font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.plan .icon-circle { margin: 0 auto 20px; background: var(--orange-soft); border-color: transparent; }
.plan:hover .icon-circle { background: var(--orange); color: #fff; }

.plan__name { text-align: center; font-size: 21px; font-weight: 800; font-style: italic; text-transform: uppercase; }

.plan__price { display: flex; align-items: flex-start; justify-content: center; gap: 2px; margin-top: 14px; }
.plan__cur { font-size: 26px; font-weight: 900; color: var(--orange); line-height: 1.1; }
.plan__int { font-size: 54px; font-weight: 900; color: var(--ink); line-height: .92; letter-spacing: -.04em; }
.plan__frac { display: flex; flex-direction: column; align-items: flex-start; padding-top: 4px; }
.plan__dec { font-size: 22px; font-weight: 900; color: var(--ink); line-height: 1; }
.plan__cycle { font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }

.plan__list { margin: 26px 0 0; display: grid; gap: 11px; }
.plan__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.plan__list svg { flex: 0 0 auto; margin-top: 3px; width: 15px; height: 15px; color: var(--orange); }

.plan__cta { margin-top: 28px; }
.plan .btn--outline { border-color: var(--orange); color: var(--ink); }
.plan .btn--outline:hover { background: var(--orange); color: var(--ink); border-color: var(--orange); }

.plan__pay { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); text-align: center; }
.plan__pay-title { font-size: 9px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--muted); }
.plan__pay-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; }
.paymark { font-size: 10.5px; font-weight: 800; color: var(--ink); opacity: .78; letter-spacing: -.01em; }
.paymark--italic { font-style: italic; }

/* ============ 10. FEATURES / DEVICES ============ */
.features { background: var(--bg); }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.feature-card {
  padding: 36px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card:hover .icon-circle { background: var(--orange); color: #fff; transform: scale(1.08); }
.feature-card .icon-circle { margin: 0 auto 20px; background: #fffaf0; border-color: #f6e4c2; }
.feature-card h3 { font-size: 17px; font-weight: 800; font-style: italic; text-transform: uppercase; }
.feature-card p { margin-top: 12px; font-size: 13.5px; line-height: 1.7; }

.devices-panel {
  margin-top: 34px; padding: 54px 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
}
.devices-panel .section__sub { margin-bottom: 44px; }

.devices { display: grid; grid-template-columns: repeat(7, 1fr); gap: 40px 20px; }
.device { display: grid; justify-items: center; gap: 8px; transition: transform .3s var(--ease); }
.device:hover { transform: translateY(-5px); }
.device__icon { display: grid; place-items: center; height: 46px; color: var(--ink); }
.device__icon svg { width: 40px; height: 40px; }
.device__name { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.device__note { font-size: 11px; color: var(--muted); }

/* ============ 11. TESTIMONIALS ============ */
.testimonials { background: var(--bg); }
.testimonials .pill { margin-bottom: 22px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.tcard {
  position: relative;
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tcard__quote { position: absolute; right: 20px; top: 20px; font-size: 40px; line-height: 1; color: #e6e7ea; font-family: Georgia, serif; }
.tcard__text { margin-top: 16px; font-size: 13px; font-style: italic; line-height: 1.75; color: var(--body); }
.tcard__foot { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.tcard__avatar { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; }
.tcard__avatar svg,
.tcard__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcard__name { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.tcard__verified { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.tcard__meta { font-size: 11px; color: var(--muted); }
.tcard__meta b { color: var(--body); font-weight: 600; text-transform: uppercase; font-size: 9.5px; letter-spacing: .08em; }

/* ============ 12. FAQ ============ */
.faq { background: var(--bg-alt); }
.accordion { display: grid; gap: 14px; }

.acc {
  background: var(--white);
  border: 1px solid transparent;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.acc.is-open { box-shadow: var(--shadow); border-color: var(--line); }

.acc__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; padding: 22px 26px; text-align: left;
  font-size: 15px; font-weight: 700; color: var(--ink);
}
.acc__icon {
  position: relative; flex: 0 0 auto;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--line-soft);
  transition: background-color .3s var(--ease);
}
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 11px; height: 2px; border-radius: 2px; background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc.is-open .acc__icon { background: var(--orange-soft); }
.acc.is-open .acc__icon::before, .acc.is-open .acc__icon::after { background: var(--orange); }
.acc.is-open .acc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s var(--ease); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 26px 24px; font-size: 14px; line-height: 1.75; }

/* ============ 12b. TUTORIALS PAGE ============ */
.page-hero { padding: calc(var(--header-h) + 84px) 0 8px; text-align: center; position: relative; overflow: hidden; }
.page-hero .section__sub { max-width: 620px; margin-inline: auto; font-size: 16px; }
.page-hero__title { font-size: clamp(38px, 6.6vw, 68px); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.03em; }
.page-hero__title em { color: var(--orange); font-style: italic; }

.guides { padding: 56px 0 96px; }
.guides__layout { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: start; }

.guides__label {
  margin-bottom: 16px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.guide-tabs { display: grid; gap: 14px; }
.guide-tab {
  display: flex; align-items: center; gap: 16px; width: 100%;
  padding: 16px 18px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  text-align: left;
  transition: border-color .28s var(--ease), box-shadow .28s var(--ease), transform .28s var(--ease);
}
.guide-tab:hover { transform: translateX(3px); border-color: #d9dbe0; box-shadow: var(--shadow-sm); }
.guide-tab.is-active { border-color: var(--orange); box-shadow: var(--shadow-sm); }

.guide-tile {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--line-soft); color: var(--ink);
  transition: background-color .28s var(--ease), color .28s var(--ease);
}
.guide-tile svg { width: 21px; height: 21px; }
.guide-tab.is-active .guide-tile { background: var(--orange); color: var(--ink); }

.guide-tab__name { font-size: 14px; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }

.guide-panel {
  padding: 34px 36px 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}
.guide-panel__head { display: flex; align-items: center; gap: 18px; padding-bottom: 26px; border-bottom: 1px solid var(--line-soft); }
.guide-panel__head .guide-tile { width: 54px; height: 54px; border-radius: 14px; background: var(--orange); }
.guide-panel__head .guide-tile svg { width: 27px; height: 27px; }
.guide-panel__title { font-size: clamp(22px, 2.8vw, 30px); font-weight: 800; font-style: italic; text-transform: uppercase; }
.guide-panel__kicker { margin-top: 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--orange); }

.guide-steps { margin-top: 28px; display: grid; gap: 4px; counter-reset: step; }
.guide-steps li { display: flex; align-items: flex-start; gap: 22px; padding: 11px 0; }
.guide-steps__num {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--orange-soft); color: var(--orange);
  font-size: 12px; font-weight: 800;
}
.guide-steps__text {
  flex: 1; padding-left: 22px; border-left: 1px solid var(--line-soft);
  font-size: 14.5px; line-height: 1.6; color: var(--ink-2);
}

.guide-help {
  display: flex; align-items: flex-start; gap: 14px;
  margin-top: 30px; padding: 20px 22px;
  background: #eef0f4; border-radius: var(--radius);
}
.guide-help svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; color: var(--orange); }
.guide-help h4 { font-size: 14.5px; font-weight: 700; }
.guide-help p { margin-top: 4px; font-size: 13px; line-height: 1.6; }
.guide-help .link-underline { margin-top: 10px; font-size: 12px; letter-spacing: .06em; text-transform: none; }

/* ============ 12c. WHATSAPP MODAL ============ */
.wa-backdrop {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  padding: 24px;
  background: rgba(17, 18, 20, .5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .28s var(--ease);
}
.wa-backdrop.is-open { opacity: 1; }

.wa-modal {
  position: relative;
  width: min(408px, 100%);
  padding: 44px 38px 34px;
  background: var(--white);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transform: translateY(16px) scale(.97);
  transition: transform .32s var(--ease);
}
.wa-backdrop.is-open .wa-modal { transform: none; }

.wa-close {
  position: absolute; right: 16px; top: 16px;
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--body);
  transition: background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.wa-close:hover { background: var(--line-soft); color: var(--ink); border-color: #d9dbe0; }
.wa-close svg { width: 13px; height: 13px; }

.wa-badge {
  display: grid; place-items: center;
  width: 62px; height: 62px; margin: 0 auto 26px;
  border-radius: 50%;
  background: #d6f5e0; color: #128c4a;
}
.wa-badge svg { width: 28px; height: 28px; }

.wa-title {
  font-size: 21px; font-weight: 800; font-style: italic; text-transform: uppercase;
  line-height: 1.25; letter-spacing: -.01em;
}
.wa-text { margin-top: 16px; font-size: 14px; line-height: 1.7; color: var(--body); }

.wa-action {
  display: flex; align-items: center; justify-content: center; gap: 11px;
  width: 100%; margin-top: 28px; padding: 17px 24px;
  background: #25d366; color: #fff;
  border-radius: 12px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(37, 211, 102, .34);
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-action:hover { background: #1fbb59; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(37, 211, 102, .4); }
.wa-action:active { transform: translateY(0); }
.wa-action svg { width: 18px; height: 18px; }

.wa-note {
  margin-top: 22px;
  font-size: 10px; font-weight: 700; line-height: 1.7;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.wa-number { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .04em; color: var(--ink); }

@media (max-width: 420px) {
  .wa-modal { padding: 40px 24px 28px; border-radius: 22px; }
  .wa-title { font-size: 19px; }
}

/* ============ 13. CTA + FOOTER ============ */
.cta { padding: 0 0 96px; background: var(--bg-alt); }
.cta__box {
  padding: 60px 40px;
  background: var(--ink);
  border-radius: 28px;
  text-align: center;
  color: #fff;
  background-image: radial-gradient(circle at 50% 0%, rgba(245,166,35,.22), transparent 60%);
}
.cta__box .section__title { color: #fff; }
.cta__box .section__sub { color: rgba(255,255,255,.7); max-width: 560px; margin-inline: auto; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 32px; }
.cta__box .btn--ghost { background: rgba(255,255,255,.07); color: #fff; border-color: rgba(255,255,255,.16); box-shadow: none; }
.cta__box .btn--ghost:hover { background: rgba(255,255,255,.14); }

.footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 68px 0 0; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin-top: 18px; max-width: 340px; font-size: 13.5px; line-height: 1.75; }
.footer__col h4 { color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 18px; }
.footer__col li + li { margin-top: 11px; }
.footer__col a { font-size: 13.5px; transition: color .22s var(--ease); }
.footer__col a:hover { color: var(--orange); }

.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 56px; padding-block: 24px;
  border-top: 1px solid rgba(255,255,255,.09);
  font-size: 12.5px;
}
.footer__pay { color: rgba(255,255,255,.45); }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--orange); color: var(--ink);
  box-shadow: var(--shadow-orange);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--orange-dark); }

/* ============ 13b. BLOG ============ */
.blog { padding: 48px 0 96px; }
.cta--spaced { padding-top: 96px; }

/* --- cover art: supplied image, or a generated gradient as the fallback --- */
.post-cover {
  position: relative; display: block; overflow: hidden;
  background: linear-gradient(150deg, var(--from) 0%, var(--to) 100%);
  border-radius: var(--radius);
}
.post-cover::after {
  /* A soft light sweep keeps the flat gradient from looking like a bug. */
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 78% 8%, rgba(255,255,255,.34), transparent 62%);
}
.post-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-cover__mark {
  position: absolute; left: 20px; bottom: 18px; z-index: 1;
  font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.9);
}
.post-cover--card { aspect-ratio: 16 / 10; }
.post-cover--wide { aspect-ratio: 4 / 3; height: 100%; border-radius: 0; }
.post-cover--hero { aspect-ratio: 21 / 8; margin-top: 34px; border-radius: var(--radius-lg); }

/* --- shared meta line --- */
.post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.post-meta__cat { color: var(--orange); }
.post-meta > span + span { position: relative; padding-left: 18px; }
.post-meta > span + span::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--line);
}

/* --- featured card --- */
.lead-card {
  display: grid; grid-template-columns: 46% 1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.lead-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #dcdee3; }
.lead-card__body { display: flex; flex-direction: column; align-items: flex-start; padding: 44px 44px 40px; }
.post-flag {
  padding: 6px 14px; margin-bottom: 20px;
  background: var(--orange-soft); color: var(--orange-dark);
  border-radius: var(--radius-pill);
  font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.lead-card__title {
  font-size: clamp(23px, 2.6vw, 33px); font-weight: 800; font-style: italic; text-transform: uppercase;
  transition: color .25s var(--ease);
}
.lead-card:hover .lead-card__title { color: var(--orange); }
.lead-card__excerpt { margin-top: 16px; font-size: 15px; line-height: 1.7; color: var(--body); }
.lead-card .post-meta { margin-top: 22px; }
.lead-card .link-underline { margin-top: 26px; }

/* --- filter bar --- */
.blog__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin: 64px 0 28px; padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.blog__bar-title {
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--body);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.chip:hover { border-color: var(--orange); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.blog__empty { padding: 60px 0; text-align: center; color: var(--muted); }

/* --- post grid --- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  display: flex; flex-direction: column;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #dcdee3; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 12px 12px; }
.post-card__title {
  font-size: 18.5px; font-weight: 700; line-height: 1.32;
  transition: color .25s var(--ease);
}
.post-card:hover .post-card__title { color: var(--orange); }
.post-card__excerpt {
  margin-top: 12px; flex: 1;
  font-size: 14px; line-height: 1.65; color: var(--body);
}
.post-card .post-meta { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-soft); }

/* ============ 13c. ARTICLE ============ */
.article { padding: calc(var(--header-h) + 56px) 0 96px; }

.article-back {
  display: inline-block; margin-bottom: 30px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  transition: color .25s var(--ease);
}
.article-back:hover { color: var(--orange); }

.article-head { max-width: 800px; }
.article-title {
  margin-top: 18px;
  font-size: clamp(32px, 5vw, 54px); font-weight: 900; font-style: italic;
  text-transform: uppercase; letter-spacing: -.028em;
}
.article-lead { margin-top: 20px; font-size: 17.5px; line-height: 1.66; color: var(--body); }
.article-by {
  margin-top: 22px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}

.article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px;
  align-items: start; margin-top: 54px;
}

/* Grid items default to min-width:auto, so a wide table would push the whole
   column past the viewport instead of scrolling inside .table-wrap. */
.article-layout > * { min-width: 0; }

/* --- prose --- */
.article-body { max-width: 720px; font-size: 16.5px; line-height: 1.78; color: var(--body); }
.article-body > * + * { margin-top: 22px; }
.article-body h2 {
  margin-top: 46px;
  font-size: clamp(21px, 2.4vw, 27px); font-weight: 800; font-style: italic; text-transform: uppercase;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body a { color: var(--orange); border-bottom: 1px solid currentColor; }
.article-body ul, .article-body ol { padding-left: 4px; display: grid; gap: 12px; }
.article-body li { display: flex; gap: 14px; }
.article-body ul li::before {
  content: ''; flex: 0 0 auto;
  width: 7px; height: 7px; margin-top: 12px; border-radius: 50%; background: var(--orange);
}
.article-body ol { counter-reset: art; }
.article-body ol li { counter-increment: art; }
.article-body ol li::before {
  content: counter(art); flex: 0 0 auto;
  display: grid; place-items: center;
  width: 25px; height: 25px; margin-top: 3px; border-radius: 50%;
  background: var(--orange-soft); color: var(--orange-dark);
  font-size: 12px; font-weight: 800; line-height: 1;
}
.article-body blockquote {
  margin-top: 34px; padding: 26px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  font-size: 17px; font-style: italic; line-height: 1.7; color: var(--ink-2);
}
.article-body blockquote cite {
  display: block; margin-top: 14px;
  font-size: 11.5px; font-style: normal; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.article-body h3 { margin-top: 34px; font-size: 18px; font-weight: 700; color: var(--ink); }

/* The featured-snippet target. Visually distinct so a skimmer stops on it. */
.answer-box {
  margin-top: 30px; padding: 24px 28px;
  background: var(--orange-soft);
  border: 1px solid #f2ddb4;
  border-radius: var(--radius);
}
.answer-box__label {
  margin-bottom: 10px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange-dark);
}
.answer-box p:last-child { font-size: 16px; line-height: 1.7; color: var(--ink-2); font-weight: 500; }

.table-wrap { margin-top: 30px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.article-body table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 14.5px; }
.article-body th, .article-body td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.article-body th {
  background: var(--bg-alt); color: var(--ink); white-space: nowrap;
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.article-body tbody tr:last-child td { border-bottom: 0; }

.faq-block { margin-top: 30px; display: grid; gap: 4px; }
.faq-item { padding: 22px 0; border-top: 1px solid var(--line); }
.faq-item h3 { margin-top: 0; font-size: 16.5px; font-weight: 700; }
.faq-item p { margin-top: 10px; font-size: 15px; }

.article-body figure { margin: 34px 0 0; }
.article-body figure img { width: 100%; border-radius: var(--radius); }
.article-body figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }

/* --- sidebar --- */
.article-aside { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 20px; }

.toc { padding: 24px 24px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.toc__label {
  margin-bottom: 14px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--ink);
}
.toc ul { display: grid; gap: 2px; }
.toc a {
  display: block; padding: 7px 0 7px 14px;
  border-left: 2px solid var(--line-soft);
  font-size: 13.5px; line-height: 1.5; color: var(--muted);
  transition: color .22s var(--ease), border-color .22s var(--ease);
}
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-color: var(--orange); font-weight: 600; }

.aside-cta {
  padding: 26px 24px;
  background: var(--ink); color: rgba(255,255,255,.72);
  border-radius: var(--radius);
  background-image: radial-gradient(circle at 50% 0%, rgba(245,166,35,.24), transparent 65%);
  text-align: center;
}
.aside-cta h4 { color: #fff; font-size: 16px; font-weight: 800; font-style: italic; text-transform: uppercase; }
.aside-cta p { margin-top: 12px; font-size: 13.5px; line-height: 1.65; }
.aside-cta .btn { margin-top: 20px; }
.aside-cta .link-underline { margin-top: 18px; font-size: 11px; }

.article-related { margin-top: 96px; padding-top: 56px; border-top: 1px solid var(--line); }
.article-related .section__title { margin-bottom: 34px; text-align: center; }

.article-missing { padding: 60px 0; text-align: center; }
.article-missing .btn { margin-top: 28px; }

/* --- blog responsive --- */
@media (max-width: 1000px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; gap: 44px; }
  .article-aside { position: static; max-width: 720px; }
}

@media (max-width: 820px) {
  .lead-card { grid-template-columns: 1fr; }
  .post-cover--wide { aspect-ratio: 16 / 9; }
  .lead-card__body { padding: 30px 26px 32px; }
}

@media (max-width: 640px) {
  .blog { padding: 34px 0 68px; }
  .cta--spaced { padding-top: 68px; }
  .post-grid { grid-template-columns: 1fr; }
  .blog__bar { margin: 44px 0 24px; }
  .article { padding: calc(var(--header-h) + 34px) 0 68px; }
  .post-cover--hero { aspect-ratio: 16 / 10; }
  .article-body { font-size: 15.5px; }
  .article-related { margin-top: 68px; padding-top: 42px; }
}

/* ============ 14. ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* The track holds the poster list twice. One full set is 50% of the track minus
   half of the seam gap, so shifting by exactly that makes the loop seamless. */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - var(--poster-gap) / 2)); }
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(239,65,54,.55); }
  70% { box-shadow: 0 0 0 8px rgba(239,65,54,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,65,54,0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ 15. RESPONSIVE ============ */
@media (max-width: 1100px) {
  .channel-grid { grid-template-columns: repeat(6, 1fr); max-width: 640px; }
  .devices { grid-template-columns: repeat(5, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; z-index: 95;
    display: flex; flex-direction: column; gap: 8px;
    width: min(320px, 84vw); padding: calc(var(--header-h) + 24px) 24px 32px;
    background: var(--white); box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .38s var(--ease);
    margin-left: 0;
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__link { padding: 14px 16px; border-radius: 12px; font-size: 13px; }
  .nav__cta-mobile { display: inline-flex; margin-top: 16px; }
  .header__cta { display: none; }
  .burger { display: block; margin-left: auto; }

  .steps__grid, .features__grid, .plans { grid-template-columns: 1fr; }
  .plans { max-width: 460px; margin-inline: auto; }
  .devices-panel { padding: 44px 24px; }

  .guides__layout { grid-template-columns: 1fr; }
  .guide-tabs { grid-template-columns: repeat(2, 1fr); }
  .guide-tab:hover { transform: none; }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .section--tight { padding: 56px 0; }
  .hero { padding-top: calc(var(--header-h) + 70px); }
  .hero__lead { font-size: 15.5px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .stats { margin-top: 70px; }
  .stat__label { font-size: 10px; letter-spacing: .1em; }
  .poster { width: 130px; }
  .channel-grid { grid-template-columns: repeat(4, 1fr); max-width: 420px; gap: 20px 14px; }
  .devices { grid-template-columns: repeat(3, 1fr); gap: 30px 12px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .switcher { width: 100%; overflow-x: auto; justify-content: flex-start; }
  .switcher__btn { padding: 11px 18px; font-size: 12.5px; }
  .cta { padding-bottom: 68px; }
  .cta__box { padding: 44px 24px; }
  .acc__btn { padding: 18px 20px; font-size: 14px; }
  .acc__panel p { padding: 0 20px 20px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }

  .guides { padding: 40px 0 68px; }
  .guide-tabs { grid-template-columns: 1fr; }
  .guide-panel { padding: 26px 20px 28px; }
  .guide-panel__head { gap: 14px; padding-bottom: 20px; }
  .guide-panel__head .guide-tile { width: 46px; height: 46px; }
  .guide-steps li { gap: 14px; }
  .guide-steps__text { padding-left: 14px; font-size: 13.5px; }
  .channel { flex-basis: 70px; }
}

@media (max-width: 420px) {
  .container { padding-inline: 18px; }
  .social-proof { gap: 8px; font-size: 12.5px; }
  .social-proof__sep { display: none; }
}
