/* =============================================================
   NQR Landing — css/styles.css
   Mobile-first. Base targets phones.
   Desktop breakpoint: 768px.
   Brand assets sourced from nqr.starsonar.ru (client-owned).
   ============================================================= */

/* ─── FONTS — self-hosted, no CDN ────────────────────────── */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ─── DESIGN TOKENS ───────────────────────────────────────── */
:root {
  /* ── Color palette (sourced from nqr.starsonar.ru) ──────
     Contrast ratios verified against WCAG AA (4.5:1 body, 3:1 large):
     --color-text (#2C1810) on --color-bg (#FAF7F2)  ≈ 16.4:1  ✓
     --color-accent (#7B3F5E) on --color-bg           ≈  7.3:1  ✓
     white (#FFF) on --color-accent                   ≈  7.7:1  ✓
  ──────────────────────────────────────────────────────────── */
  --color-bg:          #FAF7F2;
  --color-surface:     #F0EBE3;
  --color-surface-alt: #FBF8EE;
  --color-accent:      #7B3F5E;
  --color-accent-hover:#9A5478;
  --color-gold:        #C8A84B;
  --color-whatsapp:    #25D366;   /* WhatsApp brand green */
  --color-text:        #2C1810;
  --color-text-mid:    #6B5040;
  --color-text-muted:  #8B6A50;
  --color-border:      #EDE0D4;
  --color-cta-bg:      #F0EBE3;

  /* ── Shadows — warm-tinted, low alpha ───────────────────── */
  --shadow-soft:     0 2px 8px rgba(44, 24, 16, 0.08), 0 1px 3px rgba(44, 24, 16, 0.05);
  --shadow-elevated: 0 8px 24px rgba(44, 24, 16, 0.12), 0 3px 8px rgba(44, 24, 16, 0.07);

  /* ── Typography scale (rem, 16px base) ─────────────────── */
  --font-family:   'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --text-xs:       0.75rem;
  --text-sm:       0.875rem;
  --text-base:     1rem;
  --text-lg:       1.125rem;
  --text-xl:       1.25rem;
  --text-2xl:      1.5rem;
  --text-3xl:      1.875rem;
  --text-4xl:      2.25rem;

  /* ── Spacing scale ──────────────────────────────────────── */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-24:  6rem;

  /* ── Layout ─────────────────────────────────────────────── */
  --container-max:   1100px;
  --container-pad:   var(--space-4);
  --section-gap:     var(--space-16);

  /* ── Shape ──────────────────────────────────────────────── */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-pill: 999px;

  /* ── Motion ─────────────────────────────────────────────── */
  --motion-reveal:  450ms ease-out;
  --motion-micro:   200ms ease-out;
}

/* ─── RESET / BASE ────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden; /* backstop after source overflow fixes */
}

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

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

ul {
  list-style: none;
}

/* ─── CONTAINER ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-pill);
  font-family: var(--font-family);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color var(--motion-micro),
              color var(--motion-micro),
              border-color var(--motion-micro),
              transform var(--motion-micro),
              box-shadow var(--motion-micro);
  text-align: center;
  line-height: 1.2;
  box-shadow: var(--shadow-soft);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

/* Primary: brand rose-mauve bg / white text  contrast 7.7:1 ✓ */
.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

/* Icon inside buttons */
.btn svg.btn-icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  vertical-align: middle;
  margin-right: var(--space-2);
}

/* Ghost: transparent bg / warm border / dark text */
.btn-ghost {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
  box-shadow: none;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: var(--shadow-soft);
}

/* WhatsApp glyph: green only on WhatsApp ghost buttons */
.btn-ghost[data-link='whatsapp'] svg.btn-icon {
  color: var(--color-whatsapp);
}

/* ─── HEADER ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-3);
  transition: box-shadow var(--motion-micro);
}

/* Triggered by JS scroll listener */
.site-header.scrolled {
  box-shadow: var(--shadow-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.logo {
  flex: 0 0 auto; /* never shrink, never grow — natural width always */
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: none; /* override global img { max-width:100% } — logo must not distort */
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: auto; /* push actions to right edge */
}

/* Hide WA ghost in header below 600px — redundant with hero CTA on narrow screens */
@media (max-width: 599px) {
  #header-whatsapp { display: none; }
}

@media (min-width: 600px) {
  #header-whatsapp { display: inline-flex; }
}

/* ─── HERO ────────────────────────────────────────────────── */
#hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-24) var(--space-16);
  text-align: center;
}

/* Soft decorative aura behind content */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 60% 20%, rgba(255, 200, 160, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 55% 50% at 25% 60%, rgba(230, 160, 190, 0.16) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 80% 75%, rgba(200, 180, 240, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

#hero .container {
  position: relative;
  z-index: 1;
}

/* Overline pill */
.hero-overline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background-color: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.35rem var(--space-4);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 100%;
  text-align: center;
}

.hero-overline::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-gold);
  flex-shrink: 0;
}

/* H1 — dark + accent span, tight leading */
#hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  line-height: 1.08;
  font-weight: 700;
  color: var(--color-text);
  max-width: 680px;
  text-align: center;
}

.hero-accent {
  color: var(--color-accent);
}

/* Subheadline */
.hero-subheadline {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--color-text-mid);
  max-width: 620px;
  text-align: center;
}

/* Offer pill */
.hero-offer {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 var(--space-2);
  background-color: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.45rem var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-mid);
  line-height: 1.4;
  max-width: 100%;
}

.hero-offer-date {
  color: var(--color-accent);
  font-weight: 600;
}

/* Gold dot separator between offer items */
.hero-offer .sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-gold);
  vertical-align: middle;
  margin-inline: var(--space-1);
  flex-shrink: 0;
}

/* Hero CTA group */
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-3);
  width: 100%;
  max-width: 420px;
}

.hero-cta .btn {
  width: 100%;
  padding-block: 0.85rem;
  font-size: var(--text-lg);
}

/* Microtext */
.hero-micro {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ─── HERO BANNER ────────────────────────────────────────── */

/* Mobile: flex column — image on top, overlay text below */
.hero-banner {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-banner-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: right center;
  display: block;
}

/* Mobile overlay — static below the image, centered */
.hero-overlay {
  position: static;
  padding: var(--space-8) 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-5);
  background: none;
}

/* ─── SECTIONS ────────────────────────────────────────────── */
.section {
  padding-block: var(--section-gap);
}

.section--accent {
  background-color: var(--color-surface);
}

.section--cta {
  background-color: var(--color-cta-bg);
}

.section > .container > * + * {
  margin-top: var(--space-6);
}

/* ─── TYPOGRAPHY ──────────────────────────────────────────── */
h1 {
  font-size: var(--text-3xl);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-accent);
}

h2 {
  font-size: var(--text-2xl);
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-text);
}

h3 {
  font-size: var(--text-xl);
  line-height: 1.3;
  font-weight: 600;
  color: var(--color-text);
}

p {
  color: var(--color-text-mid);
}

/* ─── TRUST BAR ───────────────────────────────────────────── */
#trust-bar {
  padding-block: var(--space-8);
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: var(--space-3) var(--space-5, 1.25rem);
  box-shadow: var(--shadow-soft);
  transition: transform var(--motion-micro), box-shadow var(--motion-micro);
  max-width: 100%;
}

.trust-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.trust-pill-figure {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.trust-pill-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.trust-pill-icon {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
}

/* ─── CTA GROUP ───────────────────────────────────────────── */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
}

/* ─── SEGMENT CARDS ───────────────────────────────────────── */
.seg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.seg-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform var(--motion-micro), box-shadow var(--motion-micro);
}

.seg-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.seg-card--featured {
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-elevated);
}

.seg-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-gold);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.seg-label {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-3);
  align-self: flex-start;
}

.seg-label--solid {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.seg-card h3 {
  color: var(--color-text);
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.seg-card p {
  color: var(--color-text-mid);
  font-size: var(--text-base);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  flex: 1;
}

.seg-card p strong {
  color: var(--color-text);
  font-weight: 700;
}

.seg-cta {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* ─── COUNTDOWN ───────────────────────────────────────────── */
.countdown {
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  min-height: 2rem;
}

/* ─── CONTACT NOTE ────────────────────────────────────────── */
.contact-inner {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.contact-sub {
  font-size: var(--text-base);
  color: var(--color-text-mid);
  line-height: 1.6;
}

.contact-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ─── MESSENGERS ──────────────────────────────────────────── */
.contact-messengers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
  width: 100%;
  max-width: 360px;
}

.contact-messengers .btn {
  flex: 1 1 auto;
  justify-content: center;
}

@media (max-width: 479px) {
  .contact-messengers {
    flex-direction: column;
    max-width: 100%;
  }

  .contact-messengers .btn {
    width: 100%;
  }
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  padding-block: var(--space-12);
  border-top: 1px solid var(--color-border);
  background-color: var(--color-surface);
}

.site-footer > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-5);
}

.site-footer nav a {
  font-size: var(--text-sm);
  color: var(--color-text-mid);
  transition: color var(--motion-micro);
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: var(--color-accent);
  text-decoration: underline;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.medical-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 720px;
  margin-inline: auto;
  padding: var(--space-4);
  background-color: var(--color-surface-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

/* ─── HONEYPOT ────────────────────────────────────────────── */
.hp-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ─── MOTION SYSTEM ───────────────────────────────────────── */

/* Reveal-on-scroll baseline */
.js-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--motion-reveal), transform var(--motion-reveal);
  will-change: opacity, transform;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay for direct .js-reveal children of [data-stagger] */
[data-stagger] > .js-reveal:nth-child(1)  { transition-delay:   0ms; }
[data-stagger] > .js-reveal:nth-child(2)  { transition-delay:  80ms; }
[data-stagger] > .js-reveal:nth-child(3)  { transition-delay: 160ms; }
[data-stagger] > .js-reveal:nth-child(4)  { transition-delay: 240ms; }
[data-stagger] > .js-reveal:nth-child(5)  { transition-delay: 320ms; }
[data-stagger] > .js-reveal:nth-child(6)  { transition-delay: 400ms; }
[data-stagger] > .js-reveal:nth-child(7)  { transition-delay: 480ms; }
[data-stagger] > .js-reveal:nth-child(8)  { transition-delay: 560ms; }

/* Trust pill stagger */
.trust-pills > .trust-pill:nth-child(1) { transition-delay:   0ms; }
.trust-pills > .trust-pill:nth-child(2) { transition-delay:  80ms; }
.trust-pills > .trust-pill:nth-child(3) { transition-delay: 160ms; }
.trust-pills > .trust-pill:nth-child(4) { transition-delay: 240ms; }

.trust-pill.js-reveal {
  opacity: 0;
  transform: translateY(12px);
}

.trust-pill.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero elements are revealed individually via JS entrance */
.hero-enter {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--motion-reveal), transform var(--motion-reveal);
  will-change: opacity, transform;
}

.hero-enter.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* prefers-reduced-motion: disable everything */
@media (prefers-reduced-motion: reduce) {
  .js-reveal,
  .hero-enter,
  .trust-pill,
  .btn,
  .rc-track {
    transition: none !important;
    animation: none !important;
  }

  .js-reveal,
  .hero-enter {
    opacity: 1 !important;
    transform: none !important;
  }

  .trust-pill.js-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  html { scroll-behavior: auto; }
}

/* ─── SECTION HEAD (reusable) ─────────────────────────────── */
.section-head {
  text-align: center;
  margin-bottom: var(--space-8);
}

.section-head h2 {
  margin-top: var(--space-3);
}

/* Inline overline: gold dot · LABEL · gold dot */
.section-overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-overline::before,
.section-overline::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-gold);
  flex-shrink: 0;
}

/* ─── ICON CHIP ────────────────────────────────────────────── */
.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--color-surface);
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}

/* ─── OFFER GRID ───────────────────────────────────────────── */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

/* ─── OFFER CARD ───────────────────────────────────────────── */
.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
  transition: transform var(--motion-micro), box-shadow var(--motion-micro);
}

.offer-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.offer-card-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.offer-card-body {
  font-size: var(--text-base);
  color: var(--color-text-mid);
  line-height: 1.6;
}

.offer-card-body strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Numbers highlighted in accent */
.offer-num {
  color: var(--color-accent);
  font-weight: 700;
}

/* ─── PRICE CARD ───────────────────────────────────────────── */
.offer-card--price {
  border: 2px solid var(--color-accent);
  background-color: #fff;
  box-shadow: var(--shadow-elevated);
}

/* Gold badge pinned top-right */
.offer-price-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background-color: var(--color-gold);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Price row: big current + struck-through anchor */
.offer-price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-1);
  flex-wrap: wrap;
}

.offer-price-main {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.offer-price-was {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.offer-price-caption {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.offer-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin-block: var(--space-4);
}

.offer-price-note {
  font-size: var(--text-sm);
  color: var(--color-text-mid);
  line-height: 1.5;
}

/* ─── SECTION INTRO ───────────────────────────────────────── */
.section-intro {
  text-align: center;
  font-size: var(--text-lg);
  color: var(--color-text-mid);
  max-width: 720px;
  margin-inline: auto;
  line-height: 1.6;
  margin-bottom: var(--space-8);
}

/* ─── SECTION DISCLAIMER ──────────────────────────────────── */
.section-disclaimer {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-8);
}

/* ─── METHOD GRID ──────────────────────────────────────────── */
.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

/* ─── METHOD CARD ──────────────────────────────────────────── */
.method-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
  transition: transform var(--motion-micro), box-shadow var(--motion-micro);
}

.method-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.method-card h3 {
  margin-top: var(--space-3);
  margin-bottom: var(--space-2);
  font-size: var(--text-lg);
  color: var(--color-text);
}

.method-card p {
  font-size: var(--text-base);
  color: var(--color-text-mid);
  line-height: 1.6;
}

/* ─── RESULTS GRID ────────────────────────────────────────── */
.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.result-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
  transition: transform var(--motion-micro), box-shadow var(--motion-micro);
}

.result-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.result-card h3 {
  margin-top: var(--space-3);
  margin-bottom: var(--space-2);
  font-size: var(--text-lg);
  color: var(--color-text);
}

.result-card p {
  font-size: var(--text-base);
  color: var(--color-text-mid);
  line-height: 1.6;
}

/* ─── REALITY LAW LAYOUT ──────────────────────────────────── */

/* Mobile: single column, text below illustration */
.reality-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

/* Illustration card */
.reality-illustration {
  background-color: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.reality-svg {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
}

.reality-illustration-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

.reality-svg-caption {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
}

/* Text column paragraphs */
.reality-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  justify-content: center;
}

.reality-para {
  font-size: var(--text-base);
  color: var(--color-text-mid);
  line-height: 1.7;
}

.reality-para strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Conclusion block — full width, centered */
.reality-conclusion {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-12);
  text-align: center;
}

/* Short gold horizontal rule */
.reality-rule {
  display: block;
  width: 48px;
  height: 2px;
  background-color: var(--color-gold);
  border-radius: 2px;
}

.reality-quote {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.3;
  max-width: 560px;
}

/* ─── DEEP PROGRAMS — root node ──────────────────────────── */
.deep-root {
  background-color: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-elevated);
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
}

.deep-root-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.deep-root-text {
  font-size: var(--text-xl);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

/* ─── DEEP PROGRAMS — consequence grid ───────────────────── */
.deep-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

/* ─── DEEP PROGRAMS — consequence card ───────────────────── */
.deep-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--motion-micro), box-shadow var(--motion-micro);
}

.deep-card:hover .deep-card-body {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

/* CSS border-triangle pointing downward in gold */
.deep-arrow {
  display: block;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid var(--color-gold);
  margin-bottom: 0; /* flush with card top */
  flex-shrink: 0;
}

.deep-card-body {
  width: 100%;
  background-color: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
  transition: transform var(--motion-micro), box-shadow var(--motion-micro);
}

.deep-card-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-block: var(--space-3) var(--space-2);
}

.deep-card-body > p {
  font-size: var(--text-base);
  color: var(--color-text-mid);
  line-height: 1.6;
}

/* ─── DEEP PROGRAMS — conclusion ─────────────────────────── */
.deep-conclusion {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-12);
  text-align: center;
}

.deep-conclusion-text {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.3;
  max-width: 640px;
}

/* ─── WHY NQR — chain ────────────────────────────────────── */

/* Mobile: vertical stack, centered */
.chain {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
}

/* Root node — colour-only override; all sizing from .chain-node */
.chain-node.chain-node--root {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* Regular chain nodes */
.chain-node {
  background-color: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0.9rem var(--space-5);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
  white-space: nowrap;
  text-align: center;
  min-width: 13rem; /* mobile: equalise all nodes to widest label width */
  transition: transform var(--motion-micro), box-shadow var(--motion-micro);
}

.chain-node:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* End node — gold dot before text */
.chain-node--end::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--color-gold);
  border-radius: 50%;
  margin-right: var(--space-2);
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* Arrows — point downward on mobile (default) */
.chain-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chain-arrow svg {
  /* On mobile: rotate 90° so chevron-right becomes chevron-down */
  transform: rotate(90deg);
  display: block;
}

/* ─── WHY NQR — conclusion ───────────────────────────────── */
.chain-conclusion {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-12);
  text-align: center;
}

.chain-conclusion-text {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.3;
  max-width: 640px;
}

/* ─── INSTRUCTOR ─────────────────────────────────────────── */

/* Banner: mobile = flex-column (image on top, text below in normal flow) */
.instructor-banner {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.instructor-banner-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: 75% center;
  display: block;
}

/* On mobile the overlay is static — text stacks below the image */
.instructor-overlay {
  position: static;
  padding: var(--space-6) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: none;
}

.instructor-h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-top: var(--space-1);
}

.instructor-name {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
}

.instructor-role {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.instructor-bio {
  font-size: var(--text-base);
  color: var(--color-text-mid);
  line-height: 1.7;
}

.instructor-quote {
  margin-top: var(--space-2);
  padding: var(--space-4) var(--space-6);
  background-color: var(--color-surface-alt);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.instructor-quote p {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  margin: 0;
}

/* Credentials row — horizontal wrap below the banner */
.instructor-creds {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  list-style: none;
  padding: 0;
}

.instructor-creds li {
  position: relative;
  padding-left: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-mid);
  line-height: 1.5;
}

.instructor-creds li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-gold);
}

/* ─── INSTRUCTOR DOCS ────────────────────────────────────── */

.instructor-docs {
  margin-top: 24px;
}

.instructor-docs-title {
  font-weight: 600;
  color: var(--color-text-mid);
  margin-bottom: 12px;
}

.instructor-docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.instructor-doc {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: center;
  font: inherit;
}

.instructor-doc-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  padding: 8px;
}

.instructor-doc-frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform .2s ease;
}

.instructor-doc:hover .instructor-doc-frame img {
  transform: scale(1.03);
}

.instructor-doc-cap {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ─── LIGHTBOX ────────────────────────────────────────────── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 12, 8, .85);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  margin: 0;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .5);
  background: #fff;
}

.lightbox-cap {
  color: #fff;
  font-size: 14px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 40px;
  line-height: 1;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 768px) {
  .instructor-docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .instructor-docs-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── REVIEWS / TESTIMONIALS ─────────────────────────────── */
.reviews-subhead {
  text-align: center;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

/* Carousel shell */
.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.rc-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.rc-track {
  display: flex;
  gap: 0;
  transition: transform var(--motion-reveal);
  will-change: transform;
}

.rc-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
}

/* Arrows — hidden on mobile, shown at 768px */
.rc-arrow {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-accent);
  transition: box-shadow var(--motion-micro);
  padding: 0;
}

.rc-arrow:hover {
  box-shadow: var(--shadow-elevated);
}

/* Dots */
.rc-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.rc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background-color: var(--color-border);
  cursor: pointer;
  padding: 0;
  transition: background-color var(--motion-micro), transform var(--motion-micro);
}

.rc-dot[aria-current="true"] {
  background-color: var(--color-gold);
  transform: scale(1.25);
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
  transition: transform var(--motion-micro), box-shadow var(--motion-micro);
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.review-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.review-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
}

.review-avatar--accent {
  background-color: var(--color-accent);
}

.review-avatar--gold {
  background-color: var(--color-gold);
}

.review-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  margin-right: auto;
}

.review-name {
  font-weight: 700;
  color: var(--color-text);
  font-size: var(--text-base);
}

.review-step {
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 600;
}

.review-stars {
  color: var(--color-gold);
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  align-self: flex-start;
}

.review-text {
  font-size: var(--text-base);
  color: var(--color-text-mid);
  line-height: 1.65;
  margin: 0;
}


/* ─── VIDEO REVIEWS ──────────────────────────────────────── */

.video-reviews {
  margin-top: 32px;
}

.video-reviews-title {
  font-weight: 600;
  color: var(--color-text-mid);
  margin-bottom: 16px;
  text-align: center;
}

.video-reviews-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.video-review {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 360px;
  width: 100%;
  text-decoration: none;
}

.video-review-thumb {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--color-surface);
}

.video-review-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}

.video-review:hover .video-review-thumb img {
  transform: scale(1.04);
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: .92;
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}

.video-review:hover .video-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.08);
}

.video-review-cap {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .video-review {
    max-width: 100%;
  }
}

/* ─── FORMAT / PROCESS ───────────────────────────────────── */
.format-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.format-fact {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-soft);
}

.format-fact .icon-chip {
  margin-bottom: 0;
  flex-shrink: 0;
}

.format-fact-text {
  display: flex;
  flex-direction: column;
}

.format-fact-title {
  font-weight: 700;
  color: var(--color-text);
  font-size: var(--text-base);
  line-height: 1.25;
}

.format-fact-sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* 3-step path */
.format-path {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-12);
}

.path-step {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-soft);
  max-width: 100%;
  width: 100%; /* mobile: uniform full-width column */
}

.path-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-base);
}

.path-step-label {
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}

/* Arrows — point down on mobile */
.path-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.path-arrow svg {
  transform: rotate(90deg);
  display: block;
}

/* Conclusion */
.format-conclusion {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-12);
  text-align: center;
}

.format-conclusion-text {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.3;
  max-width: 640px;
}

/* =============================================================
   DESKTOP — min-width: 768px
   ============================================================= */
@media (min-width: 768px) {

  :root {
    --container-pad: var(--space-8);
    --section-gap:   var(--space-24);
  }

  h2 { font-size: var(--text-3xl); }

  /* Hero desktop */
  #hero {
    padding-block: var(--space-12);
  }

  /* Hero banner — overlay becomes absolute over the photo */
  /* Grid overlay: image fills the cell; overlay's height drives the banner height */
  .hero-banner {
    display: grid;
    min-height: clamp(480px, 60vh, 640px);
  }

  .hero-banner-img {
    grid-area: 1 / 1;
    position: static;
    inset: auto;
    width: 100%;
    height: 100%;
    object-position: right center;
  }

  .hero-overlay {
    grid-area: 1 / 1;
    position: relative;
    inset: auto;
    z-index: 1;
    align-self: center;
    max-width: 460px;
    padding: var(--space-16) var(--space-12);
    align-items: flex-start;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    background: linear-gradient(
      90deg,
      rgba(250, 247, 242, 0.97) 0%,
      rgba(250, 247, 242, 0.95) 42%,
      rgba(250, 247, 242, 0.85) 62%,
      rgba(250, 247, 242, 0) 100%
    );
  }

  /* Left-align hero text elements inside overlay */
  #hero h1 {
    text-align: left;
    font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  }

  .hero-subheadline {
    text-align: left;
  }

  .hero-overline,
  .hero-offer {
    align-self: flex-start;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
  }

  .hero-cta .btn {
    width: 100%;
    padding-block: 0.85rem;
  }

  /* Trust bar — single row on desktop, pills don't wrap text */
  .trust-pills {
    flex-wrap: nowrap;
    justify-content: center;
  }

  .trust-pill {
    white-space: nowrap;
  }

  .cta-group {
    flex-direction: row;
    align-items: center;
  }

  /* Segment cards: 3-column grid on desktop */
  .seg-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  /* Equalize CTA button heights — "Расширить инструментарий" wraps to 2 lines */
  .seg-cta {
    min-height: 4.5rem;
  }

  /* Instructor: banner becomes position:relative container; overlay goes absolute */
  .instructor-banner {
    display: block;
    min-height: clamp(440px, 56vh, 600px);
  }

  .instructor-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: right top;
  }

  /* Overlay floats over the left (cream) half of the photo */
  .instructor-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    max-width: 540px;
    padding: var(--space-12) var(--space-8);
    justify-content: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    background: linear-gradient(
      90deg,
      rgba(250, 247, 242, 0.92) 0%,
      rgba(250, 247, 242, 0.75) 45%,
      rgba(250, 247, 242, 0) 100%
    );
  }

  .instructor-h2 {
    font-size: var(--text-3xl);
  }

  .instructor-name {
    font-size: var(--text-3xl);
  }

  /* Reviews carousel: show arrows on desktop */
  .rc-arrow {
    display: inline-flex;
  }

  /* Results: 2 columns at tablet */
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  /* Offer grid: 2 columns at tablet, 4 at full desktop */
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  /* Deep programs: 3-column grid on desktop */
  .deep-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .deep-conclusion-text {
    font-size: var(--text-3xl);
  }

  /* Why NQR: horizontal chain on desktop */
  .chain {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  /* Arrows point right on desktop (no rotation) */
  .chain-arrow svg {
    transform: rotate(0deg);
  }

  .chain-conclusion-text {
    font-size: var(--text-3xl);
  }

  /* Reset mobile min-width so desktop row uses natural per-node widths */
  .chain-node {
    min-width: 0;
  }

  /* Format facts: 2 columns at tablet */
  .format-facts {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  /* Path: horizontal row on desktop */
  .format-path {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Reset mobile full-width so desktop row uses natural per-step widths */
  .path-step {
    width: auto;
  }

  .path-arrow svg {
    transform: rotate(0deg);
  }

  .format-conclusion-text {
    font-size: var(--text-3xl);
  }
}

/* Reality law: 2-column layout at 900px+ */
@media (min-width: 900px) {
  .reality-layout {
    grid-template-columns: 5fr 6fr;
    gap: var(--space-12);
    align-items: start;
  }

  .reality-quote {
    font-size: var(--text-3xl);
  }
}

/* 4 columns only at wider desktop */
@media (min-width: 1024px) {
  .offer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .method-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }

  /* Results: 4 columns at wide desktop */
  .results-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Format facts: 4 columns at wide desktop */
  .format-facts {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ─── PROGRAM ACCORDION ───────────────────────────────────── */
.program-subhead {
  text-align: center;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

.program-acc {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
  max-width: 760px;
  margin-inline: auto;
}

.acc-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.acc-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-family);
}

.acc-head-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-right: auto;
  min-width: 0;
}

.acc-title {
  font-weight: 700;
  color: var(--color-text);
  font-size: var(--text-lg);
  line-height: 1.3;
}

.acc-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.badge-weeks {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  background: var(--color-surface);
  border-radius: var(--radius-pill);
  padding: 0.15rem 0.6rem;
}

.acc-price {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-accent);
}

.acc-chevron {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform var(--motion-micro);
}

.acc-item.is-open .acc-chevron {
  transform: rotate(180deg);
}

.acc-body {
  display: none;
  padding: 0 var(--space-6) var(--space-6);
}

.acc-item.is-open .acc-body {
  display: block;
}

.acc-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-mid);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.acc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.acc-list li {
  position: relative;
  padding-left: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-mid);
  line-height: 1.5;
}

.acc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
}

.acc-result {
  background: var(--color-surface-alt);
  border-left: 3px solid var(--color-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-mid);
  line-height: 1.55;
}

.acc-result-label {
  font-weight: 700;
  color: var(--color-text);
}

.acc-cta {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-5);
}

#program-toggle {
  display: flex;
  margin: var(--space-2) auto 0;
}

.program-advanced[hidden] {
  display: none;
}

.program-advanced {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

/* ─── PRICING ─────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
  max-width: 840px;
  margin-inline: auto;
  align-items: start;
}

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: var(--space-8) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.price-card--featured {
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-elevated);
}

.price-badge {
  position: absolute;
  top: 0;
  right: var(--space-6);
  transform: translateY(-50%);
  background: var(--color-gold);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
}

.price-name {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
}

.price-caption {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: calc(-1 * var(--space-2));
}

.price-amount-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin: var(--space-2) 0;
}

.price-amount {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-accent);
}

.price-old {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.price-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.price-includes li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-mid);
  line-height: 1.5;
}

.price-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-gold);
  font-weight: 700;
}

.price-cta {
  margin-top: auto;
  width: 100%;
}

.price-extras {
  max-width: 840px;
  margin: var(--space-8) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  text-align: center;
}

.price-extra {
  font-size: var(--text-base);
  color: var(--color-text-mid);
}

.price-extra strong {
  color: var(--color-text);
}

.price-deadline {
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 600;
  margin-top: var(--space-2);
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .price-extras {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3) var(--space-8);
  }

  .price-deadline {
    flex-basis: 100%;
  }
}

/* ─── START CTA / TIMER ───────────────────────────────────── */
.start-cta-inner {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.countdown {
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.start-scarcity {
  font-size: var(--text-base);
  color: var(--color-text-mid);
}

.start-cta-btn {
  margin-top: var(--space-2);
}

/* ─── SAFETY ──────────────────────────────────────────────── */
.safety-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.safety-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.safety-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
}

.safety-card p {
  font-size: var(--text-sm);
  color: var(--color-text-mid);
  line-height: 1.6;
}

.nfy-panel {
  max-width: 680px;
  margin: var(--space-8) auto 0;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
}

.nfy-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.nfy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.nfy-list li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--text-base);
  color: var(--color-text-mid);
  line-height: 1.5;
}

.nfy-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-text-muted);
  font-weight: 700;
}

@media (min-width: 768px) {
  .safety-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq-list {
  max-width: 760px;
  margin: var(--space-8) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-q {
  list-style: none;
  cursor: pointer;
  padding: var(--space-5) var(--space-6);
  font-weight: 600;
  color: var(--color-text);
  font-size: var(--text-base);
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

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

.faq-q::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: rotate(45deg);
  margin-left: auto;
  flex-shrink: 0;
  transition: transform var(--motion-micro);
}

.faq-item[open] .faq-q::after {
  transform: rotate(-135deg);
}

.faq-a {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--color-text-mid);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.faq-a p {
  margin: 0 0 var(--space-3);
}

.faq-a p:last-child {
  margin-bottom: 0;
}
