/* ============================================================
   Лендинг «Нужен продающий сайт» — Product Games practicum
   Brutal editorial minimalism · 25 апреля 2026
   ============================================================ */

:root {
  /* Палитра */
  --ink: #1a1a1a;          /* заголовки, фоны */
  --body-ink: #2d2d2d;     /* body-текст (осветлен) */
  --ink-deep: #0a0a0a;
  --paper: #fafaf7;
  --paper-soft: #f3f1ea;
  --paper-warm: #f4efe5;   /* тёплый бежевый для блока автора */
  --muted: #525252;
  --muted-soft: #6b6860;
  --line: #e6e6e0;
  --line-strong: #cfcdc5;

  /* Акценты — терракота + янтарь */
  --red: #c8472a;
  --terracotta: #c8472a;
  --amber: #ffb800;
  --yellow: #ffb800;       /* alias, legacy refs */
  --accent: var(--red);
  --accent-soft: var(--amber);

  /* Tweaks: шрифты H1 */
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-display-weight: 800;
  --font-display-tracking: -0.01em;
  --font-display-case: uppercase;

  /* Базовые семейства */
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-serif: 'Literata', 'PT Serif', Georgia, serif;
  --font-hand: var(--font-body);
  --font-mono: 'Manrope', system-ui, sans-serif;

  /* Метрики колонки */
  --col-width: 680px;
  --gutter: 32px;

  /* Темп */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ================= Tweak: цветовая схема ================ */
[data-accent="yellow"] { --accent: #1a1a1a; --accent-soft: var(--yellow); }
[data-accent="mono"]   { --accent: #1a1a1a; --accent-soft: #e6e6e0; }

/* ================= Tweak: тёмная тема =================== */
[data-theme="dark"] {
  --ink: #f5f2e9;
  --ink-deep: #f5f2e9;
  --paper: #0e0e0c;
  --paper-soft: #181816;
  --muted: #98948a;
  --muted-soft: #6a6760;
  --line: #2a2a26;
  --line-strong: #3a3a34;
}

/* ================= Tweak: шрифты H1 ===================== */
[data-h1font="sans"] {
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-display-weight: 800;
  --font-display-tracking: -0.01em;
  --font-display-case: uppercase;
}
[data-h1font="serif"] {
  --font-display: 'PT Serif', Georgia, serif;
  --font-display-weight: 700;
  --font-display-tracking: -0.01em;
  --font-display-case: none;
}

/* ============================================================
   Базовые стили
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body-ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: keep-all;
  hyphens: auto;
  -webkit-hyphens: auto;
}

a { color: inherit; }
::selection { background: var(--accent-soft); color: var(--ink); }

/* ============================================================
   Focus-visible — клавиатурная навигация
   ============================================================ */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
*:focus:not(:focus-visible) {
  outline: none;
}


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

/* (Прогресс чтения убран из прода) */

/* ================= Контейнер ============================ */
.wrap {
  max-width: var(--col-width);
  margin: 0 auto;
  padding: 48px var(--gutter) 0;
  position: relative;
}

.wrap > section {
  margin-top: 96px;
}
.wrap > section.hero { margin-top: 0; }

#tariffs { scroll-margin-top: 72px; }

/* ================= Лейбл блока (моно — контекст 1) ====== */
.block-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin: 120px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.block-label:first-of-type { margin-top: 24px; }
.block-label .num { color: var(--accent); }
.block-label .meta { color: var(--muted-soft); }

/* ================= Заголовки ============================ */
h1, h2, h3 {
  hyphens: none;
  -webkit-hyphens: none;
}

h1 {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  letter-spacing: var(--font-display-tracking);
  text-transform: var(--font-display-case);
  text-wrap: balance;
}

h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
}

h1 {
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.06;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  margin-bottom: 24px;
}

h3 {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  margin-top: 24px;
}

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: 8px; }

/* Логотип бренда (placeholder — заменить SVG-файлом, когда пришлёшь) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  margin-bottom: 48px;
  transition: opacity 0.15s;
}
.brand:hover { opacity: 0.7; }
.brand-mark {
  width: 40px;
  height: 40px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.04em;
  padding-bottom: 2px;
}
.brand-word {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.hero-tagline {
  font-size: 20px;
  line-height: 1.45;
  color: var(--body-ink);
  margin-bottom: 24px;
  max-width: 560px;
}
.hero-cta { margin-bottom: 32px; }

.h1-line { display: block; }

.h1-word {
  position: relative;
  display: inline-block;
  padding-bottom: 0.14em; /* место под подчёркивание ниже descender */
}
.h1-word .underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.13em;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0);
}

/* Анимация подчёркиваний — быстрые (суммарно ~0.7s) */
[data-animations="on"] .h1-word.is-animated .underline {
  animation: underline-draw 0.32s var(--ease) forwards;
}
[data-animations="on"] .h1-word.is-animated:nth-child(1) .underline { animation-delay: 0.12s; }
[data-animations="on"] .h1-word.is-animated:nth-child(2) .underline { animation-delay: 0.30s; }
[data-animations="on"] .h1-word.is-animated:nth-child(3) .underline { animation-delay: 0.48s; }

[data-animations="off"] .h1-word .underline { transform: scaleX(1); }

@keyframes underline-draw {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* Квалификация — карточка с янтарной полосой */
.qualifier {
  font-size: 20px;
  line-height: 1.55;
  background: var(--paper-soft);
  border-left: 4px solid var(--accent-soft);
  padding: 24px 24px;
  margin-bottom: 0;
}

.sub {
  font-size: 20px;
  line-height: 1.55;
  margin-bottom: 36px;
  max-width: 640px;
}

/* CTA-кнопки */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 18px 32px;
  border-radius: 2px;
  text-decoration: none;
  transition: transform 0.15s var(--ease), background 0.2s;
  border: 2px solid var(--ink);
  cursor: pointer;
}
.cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
[data-accent="yellow"] .cta:hover,
[data-accent="mono"] .cta:hover {
  background: var(--accent-soft);
  border-color: var(--ink);
  color: var(--ink);
}
.cta .arrow { font-size: 20px; line-height: 1; transition: transform 0.2s; }
.cta:hover .arrow { transform: translateX(4px); }

.cta-note {
  font-size: 14px;
  color: var(--muted);
  margin: 16px 0 0;
  font-style: italic;
}


/* ============================================================
   БЛОК 1.5. Витрина сайтов — full-bleed
   ============================================================ */
.showcase-section {
  background: var(--ink-deep);
  padding: 56px var(--gutter) 64px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  margin-top: 64px;
}
.showcase-section-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.showcase-label {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(245,242,233,0.5);
  margin-bottom: 24px;
  text-align: center;
}
.showcase-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 0 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(245,242,233,0.2) transparent;
}
.showcase-scroll::-webkit-scrollbar { height: 4px; }
.showcase-scroll::-webkit-scrollbar-track { background: transparent; }
.showcase-scroll::-webkit-scrollbar-thumb { background: rgba(245,242,233,0.2); border-radius: 2px; }
.showcase-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(245,242,233,0.08);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.showcase-card img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 700px) {
  .showcase-section { padding: 40px 16px 48px; margin-top: 48px; }
  .showcase-card { flex: 0 0 280px; }
  .showcase-label { font-size: 14px; text-align: left; }
}


/* Gradient peek-mask for horizontal scroll containers */
.showcase-scroll,
.kruzhki-scroll {
  -webkit-mask-image: linear-gradient(to right, black calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(to right, black calc(100% - 40px), transparent 100%);
}
@media (max-width: 700px) {
  .kruzhki-scroll {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ============================================================
   БЛОК 2. Доказательство
   ============================================================ */
.proof {
  font-size: 20px;
  line-height: 1.45;
  max-width: 680px;
  padding: 8px 0 4px;
}
.proof a {
  background: var(--accent-soft);
  padding: 1px 8px;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s;
}
.proof a:hover { background: var(--accent); color: #fff; }

/* Буквица — ровно по краям блока */
.dropcap::first-letter {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 3.5em;
  line-height: 0.85;
  margin-top: 0.05em;
  margin-right: 8px;
  float: left;
  color: var(--accent);
  letter-spacing: -0.04em;
}


/* Rhythm breaks — alternate section backgrounds */
[data-screen-label="03 5 кругов ада"] {
  background: var(--paper-soft);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  padding: 96px var(--gutter);
}
[data-screen-label="03 5 кругов ада"] > * {
  max-width: var(--col-width);
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   БЛОК 3. 5 кругов ада
   ============================================================ */
.circles { margin-top: 8px; }
.circle {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.circle:last-child { border-bottom: 1px solid var(--line); }

.circle .n {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 64px;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--ink);
  padding-top: 0;
}
.circle .n::after {
  content: '';
  display: block;
  width: 32px;
  height: 8px;
  background: var(--accent);
  margin-top: 16px;
}
[data-accent="yellow"] .circle .n::after { background: var(--accent-soft); }
[data-accent="mono"] .circle .n::after { background: var(--ink); }

.circle .title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  text-transform: none;
}
.circle .text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body-ink);
  max-width: 520px;
}

/* Альтернативный layout: карточки */
[data-cycles="cards"] .circle {
  grid-template-columns: 1fr;
  gap: 8px;
  background: var(--paper-soft);
  border: none;
  border-left: 4px solid var(--accent);
  padding: 24px 26px;
  margin-bottom: 16px;
}
[data-cycles="cards"] .circle:last-child { border-bottom: none; }
[data-cycles="cards"] .circle .n {
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
}
[data-cycles="cards"] .circle .n::after { display: none; }
[data-cycles="cards"] .circle .title { font-size: 24px; text-transform: none; }

/* ============================================================
   БЛОК 4. Что унесёшь
   ============================================================ */
.haul-list {
  list-style: none;
  margin: 8px 0 32px;
}
.haul-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 20px;
  line-height: 1.4;
}
.haul-list li:last-child { border-bottom: 1px solid var(--line); }
.haul-list li .marker {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 1.5px;
  padding-top: 8px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.haul-list li strong {
  font-weight: 700;
  box-shadow: inset 0 -0.25em 0 var(--accent-soft);
}
[data-accent="mono"] .haul-list li strong { box-shadow: inset 0 -0.25em 0 var(--line); }

.panch {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-transform: none;
  border-left: 4px solid var(--accent);
  padding: 8px 0 8px 24px;
  margin: 32px 0 0;
}

/* ============================================================
   БЛОК 5. Конкурс
   ============================================================ */
.contest {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 40px 32px;
  margin: 8px 0 16px;
  position: relative;
}
[data-theme="dark"] .contest { background: var(--paper-soft); border-color: var(--ink); }

/* Бейдж ₽ — отдельным span чтобы шрифт был контролируемым */
/* Бейдж «01 / из 30 участников» */
.contest .contest-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  text-align: right;
  line-height: 1;
  max-width: 100px;
}
.contest .contest-badge-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 56px;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.contest .contest-badge-cap {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

.contest h2 {
  margin-bottom: 16px;
  font-size: clamp(24px, 4vw, 32px);
  padding-right: 144px;
}
.contest p { font-size: 17px; line-height: 1.55; padding-right: 120px; }
.contest .cta { margin-top: 16px; }

/* ============================================================
   БЛОК 6. Панч про Claude — full-bleed тёмная врезка
   ============================================================ */
.claude-section {
  background: #0a0a0a;
  color: var(--paper);
  padding: 96px var(--gutter);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}
.claude-section-inner {
  max-width: var(--col-width);
  margin: 0 auto;
}
.claude-panch {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--paper);
  margin: 0 0 24px;
}
.claude-panch em {
  font-style: normal;
  background: var(--amber);
  color: var(--ink);
  padding: 2px 5px;
  margin: 0;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: inherit;
}
.claude-section .sub-tail {
  font-size: 16px;
  color: rgba(245,242,233,0.6);
  margin-top: 16px;
}

/* ============================================================
   БЛОК 7. Видео-кружки
   ============================================================ */
.kruzhki-intro {
  color: var(--muted);
  font-size: 16px;
  font-style: italic;
  margin-bottom: 28px;
}

.kruzhki-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 0 24px;
  margin: 0 calc(-1 * var(--gutter));
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  scrollbar-width: thin;
}
.kruzhki-scroll::-webkit-scrollbar { height: 6px; }
.kruzhki-scroll::-webkit-scrollbar-track { background: var(--paper-soft); }
.kruzhki-scroll::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }

.kruzhok {
  flex: 0 0 200px;
  scroll-snap-align: start;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.kruzhok:hover { transform: translateY(-4px); }

.kruzhok .disk {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--paper-soft);
  border: 1px solid var(--line-strong);
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}
.kruzhok-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.kruzhok .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(26,26,26,0.72);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 3;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s, background 0.2s, opacity 0.2s;
}
.kruzhok:hover .play { transform: scale(1.08); background: var(--accent); }
.kruzhok .play svg { width: 22px; height: 22px; margin-left: 3px; pointer-events: none; }
.kruzhok.unmuted .play { opacity: 0; pointer-events: none; }
.kruzhok.unmuted:hover .play { opacity: 1; pointer-events: auto; }
.kruzhok.unmuted .play svg { display: none; }
.kruzhok.unmuted .play::before {
  content: '';
  width: 4px;
  height: 16px;
  background: currentColor;
  box-shadow: 8px 0 0 currentColor;
  border-radius: 1px;
}

/* ============================================================
   БЛОК 8. Тайминг — уплотнённо, time + h3 в одну строку
   ============================================================ */
.timeline { margin-top: 8px; }

.step {
  display: flex;
  align-items: baseline;
  gap: 24px;
  position: relative;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step.is-break { background: var(--paper-soft); }

.step .time {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--ink);
  position: relative;
  flex: 0 0 96px;
  font-variant-numeric: tabular-nums;
}
.step .time::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.step .body { flex: 1; }
.step .body h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--body-ink);
}
.step .body p { display: none; }

/* Timeline vertical connector line */
.timeline.has-line {
  position: relative;
  padding-left: 16px;
}
.timeline.has-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line-strong);
}
.step .time::before {
  left: -20px;
  z-index: 1;
}



/* ============================================================
   БЛОК 9. Кто ведёт — full-bleed тёплый бежевый
   ============================================================ */
.author-section {
  background: var(--paper-warm);
  padding: 144px var(--gutter);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}
.author-section-inner {
  max-width: var(--col-width);
  margin: 0 auto;
}

.author {
  display: grid;
  grid-template-columns: 224px 1fr;
  gap: 40px;
  align-items: start;
}
.author-photo {
  width: 224px;
  height: 224px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  filter: grayscale(1) contrast(1.05);
}
.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.author-body {
  font-family: var(--font-serif);
}
.author-body p {
  font-size: 20px;
  line-height: 1.55;
  margin-bottom: 16px;
  color: var(--body-ink);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.author-body strong {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.author-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  font-weight: 600;
  transition: opacity 0.15s;
}
.author-body a:hover { opacity: 0.75; }

/* Подпись — рукописный Caveat */
.author-sign {
  margin-top: 32px;
  padding-top: 0;
  border-top: none;
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  transform: rotate(-1.5deg);
  transform-origin: left center;
  line-height: 1.2;
  max-width: 480px;
}

/* Цифры верстовыми столбами — tabular-nums, ровный baseline */
.milestones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0 8px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.milestone .big {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: clamp(40px, 5vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
[data-accent="yellow"] .milestone .big,
[data-accent="mono"] .milestone .big { color: var(--ink); }
.milestone .label {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

/* ============================================================
   БЛОК 10. Тарифы
   ============================================================ */
.tariffs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}
.tariff {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
[data-theme="dark"] .tariff { background: var(--paper-soft); }

.tariff.premium {
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.tariff.premium .price-note,
.tariff.premium .tariff-for { color: rgba(245,242,233,0.6); }
.tariff.premium .tariff-for { border-top-color: rgba(245,242,233,0.2); }

/* Лента «Рекомендуем» — моно (контекст 2) */
.tariff .ribbon {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 12px;
}
[data-accent="yellow"] .tariff .ribbon { background: var(--accent-soft); color: var(--ink); }
[data-accent="mono"] .tariff .ribbon { background: var(--ink); color: var(--paper); }

.tariff-name {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  text-transform: none;
}
.tariff-price {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 40px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 8px;
  font-variant-numeric: tabular-nums;
}
.tariff-price .currency { font-size: 0.6em; opacity: 0.6; }
.tariff .price-note {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.tariff ul.bullets {
  list-style: none;
  margin-bottom: 24px;
}
.tariff ul.bullets li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 16px;
  line-height: 1.5;
  border-bottom: 1px solid var(--line);
}
.tariff.premium ul.bullets li { border-bottom-color: rgba(245,242,233,0.12); }
.tariff ul.bullets li:last-child { border-bottom: none; }
.tariff ul.bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 500;
}
.tariff.premium ul.bullets li::before { color: var(--accent-soft); }
[data-accent="mono"] .tariff ul.bullets li::before { color: var(--ink); }
[data-accent="mono"] .tariff.premium ul.bullets li::before { color: var(--paper); }

.tariff ul.bullets li strong { font-weight: 700; }
.tariff-for {
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.tariff .cta-pick {
  display: block;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  font-size: 16px;
  padding: 16px;
  text-decoration: none;
  margin-top: auto;
  margin-bottom: 16px;
  border: 2px solid var(--ink);
  transition: all 0.15s var(--ease);
}
.tariff.premium .cta-pick { background: var(--accent-soft); color: var(--ink); border-color: var(--accent-soft); }
.tariff .cta-pick:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
[data-accent="yellow"] .tariff .cta-pick:hover,
[data-accent="mono"] .tariff .cta-pick:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }


/* Premium tariff — visually dominant */
.tariff.premium.featured {
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  z-index: 2;
}
@media (max-width: 900px) {
  .tariff.premium.featured {
    transform: none;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    order: -1;
  }
}

/* ============================================================
   БЛОК 11. FAQ
   ============================================================ */
.faq { margin-top: 8px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--accent); }
[data-accent="mono"] .faq-q:hover { color: var(--ink); opacity: 0.6; }

.faq-q .toggle {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  position: relative;
  margin-top: 4px;
}
.faq-q .toggle::before,
.faq-q .toggle::after {
  content: '';
  position: absolute;
  background: var(--ink);
  transition: transform 0.2s var(--ease);
}
.faq-q .toggle::before {
  top: 11px; left: 2px;
  width: 20px; height: 2px;
}
.faq-q .toggle::after {
  left: 11px; top: 2px;
  width: 2px; height: 20px;
}
.faq-item.open .faq-q .toggle::after { transform: scaleY(0); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-a-inner {
  padding: 0 32px 24px 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--body-ink);
}
.faq-item.open .faq-a { max-height: 600px; }

/* ============================================================
   БЛОК 12. Финал
   ============================================================ */
.final {
  background: var(--ink-deep);
  color: var(--paper);
  padding: 96px var(--gutter);
  margin: 96px calc(50% - 50vw) 0;
}
[data-theme="dark"] .final { background: #050505; }
.final-inner {
  max-width: var(--col-width);
  margin: 0 auto;
}
.final h2 {
  color: var(--paper);
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.05;
  margin-bottom: 24px;
}
.final h2 .day {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--ink);
  padding: 0 12px;
}
[data-accent="mono"] .final h2 .day { background: var(--paper); }
.final .meta {
  color: rgba(245,242,233,0.6);
  font-size: 14px;
  margin-bottom: 32px;
}
.final .cta {
  background: var(--accent-soft);
  color: var(--ink);
  border-color: var(--accent-soft);
  font-size: 20px;
  padding: 24px 32px;
}
.final .cta:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
[data-accent="mono"] .final .cta { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ============================================================
   ФУТЕР — моно (контекст 3: реквизиты)
   ============================================================ */
.footer {
  background: #050505;
  color: rgba(245,242,233,0.85);
  padding: 64px 0 64px;
  margin: 0 calc(50% - 50vw);
  border-top: 1px solid rgba(245,242,233,0.08);
}
.footer-inner {
  max-width: var(--col-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr;
  gap: 48px;
}
.footer-col-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245,242,233,0.4);
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245,242,233,0.85);
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-links a,
.footer-contact a {
  color: rgba(245,242,233,0.85);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.15s;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--accent-soft); }

/* ============================================================
   Sticky mobile CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: rgba(26,26,26,0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--paper);
  padding: 14px 16px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 50;
  transform: translateY(100%);
  transition: transform 0.3s var(--ease);
  border-top: 2px solid var(--accent);
}
.sticky-cta.shown { transform: translateY(0); }
.sticky-cta .label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.6;
}
.sticky-cta .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
}
.sticky-cta a {
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  padding: 14px 20px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 14px;
}

@media (max-width: 700px) {
  .sticky-cta { display: flex; }
}

/* ============================================================
   Fade-in
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  .h1-word .underline { transform: scaleX(1) !important; animation: none !important; }
}

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 900px) {
  .tariffs { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .wrap { padding: 32px 16px 0; --gutter: 16px; }
  .wrap > section { margin-top: 80px; }
  h1 { font-size: 40px; }
  .qualifier { font-size: 17px; padding: 16px 16px; }
  .hero-tagline { font-size: 17px; margin-bottom: 16px; }
  .hero-cta { margin-bottom: 24px; }
  .circle { grid-template-columns: 64px 1fr; gap: 16px; padding: 24px 0; }
  .circle .n { font-size: 40px; }
  .circle .title { font-size: 20px; }
  .step { gap: 16px; }
  .timeline.has-line { padding-left: 12px; }
  .step .time::before { left: -16px; }
  .step .time { flex: 0 0 64px; font-size: 18px; }
  .step .body h3 { font-size: 16px; }
  .author { grid-template-columns: 1fr; gap: 24px; }
  .author-photo { width: 160px; height: 160px; }
  .author-body p { font-size: 18px; }
  .milestones { grid-template-columns: 1fr; gap: 16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 0 16px; }
  .final { padding: 64px 16px; margin-top: 64px; }
  .contest { padding: 32px 24px; }
  .contest .contest-badge { top: 16px; right: 16px; }
  .contest .contest-badge-num { font-size: 32px; }
  .contest h2 { padding-right: 80px; }
  .contest p { padding-right: 0; }

  /* Кружки на мобильном — сетка 2×3 */
  .kruzhki-scroll {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    overflow: visible;
    padding: 8px 0 0;
    margin: 0;
  }
  .kruzhok { flex: none; width: 100%; }
  .kruzhok .disk { width: 100%; aspect-ratio: 1 / 1; height: auto; }
  .kruzhok .disk .play { width: 40px; height: 40px; }
  .kruzhok .disk .play svg { width: 16px; height: 16px; }

  body { padding-bottom: 72px; }
  [data-screen-label="03 5 кругов ада"] { padding: 64px 16px; }
  h3 { font-size: 20px; }
  .haul-list li { font-size: 18px; }
  .tariffs { gap: 16px; }
  .tariff { padding: 24px; }
}

/* Очень узкие экраны */
@media (max-width: 380px) {
  h1 { font-size: 32px; }
  .hero-tagline { font-size: 16px; }
}

/* ============================================================
   Sticky mini-nav (desktop) — появляется после первого скролла
   ============================================================ */
.mini-nav {
  position: fixed;
  top: 0;
  left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  z-index: 60;
  transform: translateY(-100%);
  transition: transform 0.3s var(--ease);
}
.mini-nav.shown { transform: translateY(0); }
.mini-nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.mini-nav-title {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mini-nav-date { color: var(--muted); font-weight: 500; }
.mini-nav-mark {
  width: 28px;
  height: 28px;
  background: var(--ink);
  color: var(--paper);
  display: inline-grid;
  place-items: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.04em;
}
.mini-nav-brand {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.mini-nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.mini-nav-link {
  font-size: 14px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  transition: color 0.15s;
}
.mini-nav-link:hover { color: var(--ink); }
.mini-nav-cta {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 2px;
  transition: all 0.15s var(--ease);
}
.mini-nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
}
@media (max-width: 700px) {
  .mini-nav { display: none; }
}

/* ============================================================
   Staggered animations — Block 3 (circles), Block 4 (haul)
   ============================================================ */

/* \u041d\u043e\u043c\u0435\u0440\u0430 \u0432 \u00ab5 \u043a\u0440\u0443\u0433\u0430\u0445 \u0430\u0434\u0430\u00bb \u2014 100\u043c\u0441 \u0441\u0442\u0430\u0433\u0433\u0435\u0440 */
.circles .n {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.circles.in-view .n { opacity: 1; transform: translateY(0); }
.circles.in-view .circle:nth-child(1) .n { transition-delay: 0.00s; }
.circles.in-view .circle:nth-child(2) .n { transition-delay: 0.10s; }
.circles.in-view .circle:nth-child(3) .n { transition-delay: 0.20s; }
.circles.in-view .circle:nth-child(4) .n { transition-delay: 0.30s; }
.circles.in-view .circle:nth-child(5) .n { transition-delay: 0.40s; }

/* \u041f\u0443\u043d\u043a\u0442\u044b \u0432 \u00ab\u0427\u0442\u043e \u0443\u043d\u0435\u0441\u0451\u0448\u044c\u00bb \u2014 slow-fade 600\u043c\u0441 \u0441 200\u043c\u0441 \u043c\u0435\u0436\u0434\u0443 */
.haul-list .haul-item {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.haul-list.in-view .haul-item { opacity: 1; transform: translateY(0); }
.haul-list.in-view .haul-item:nth-child(1) { transition-delay: 0.00s; }
.haul-list.in-view .haul-item:nth-child(2) { transition-delay: 0.20s; }
.haul-list.in-view .haul-item:nth-child(3) { transition-delay: 0.40s; }

/* ============================================================
   Final headline underlines (Суббота, Воскресенье)
   ============================================================ */
.final h2 .day { background: none; color: var(--paper); padding: 0; }

.final-word {
  position: relative;
  display: inline-block;
  padding-bottom: 0.14em;
}
.final-word .final-underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.13em;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.45s var(--ease);
}
.final.in-view .final-word:nth-child(1) .final-underline { transform: scaleX(1); transition-delay: 0.2s; }
.final.in-view .final-word:nth-child(2) .final-underline { transform: scaleX(1); transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .circles .n,
  .haul-list .haul-item { opacity: 1; transform: none; transition: none; }
  .final-word .final-underline { transform: scaleX(1); transition: none; }
}

/* ============================================================
   \u041c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0435 \u043e\u0432\u0435\u0440\u0440\u0430\u0439\u0434\u044b \u0434\u043b\u044f \u0431\u043b\u043e\u043a\u0430 9 + 6 \u0432 full-bleed
   ============================================================ */
@media (max-width: 700px) {
  .author-section { padding: 96px 20px; }
  .claude-section { padding: 72px 20px; }
  .author-sign { font-size: 20px; }
}
.tweaks-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 280px;
  background: #fff;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
  z-index: 200;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 14px;
  box-shadow: 8px 8px 0 rgba(0,0,0,0.12);
  display: none;
}
.tweaks-panel.shown { display: block; }
.tweaks-panel .tp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #1a1a1a;
  color: #fafaf7;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}
.tweaks-panel .tp-close {
  background: none;
  border: none;
  color: inherit;
  font-size: 20px;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  line-height: 1;
}
.tweaks-panel .tp-close:hover { color: #c8ff00; }
.tweaks-panel .tp-body { padding: 16px; max-height: 70vh; overflow-y: auto; }
.tp-row { margin-bottom: 18px; }
.tp-row:last-child { margin-bottom: 0; }
.tp-row .tp-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 8px;
  font-weight: 700;
}
.tp-segments {
  display: flex;
  gap: 4px;
  background: #f3f1ea;
  padding: 3px;
}
.tp-segments button {
  flex: 1;
  background: none;
  border: none;
  padding: 8px 6px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: #6b6b6b;
  transition: all 0.15s;
}
.tp-segments button.active {
  background: #1a1a1a;
  color: #fafaf7;
}
.tp-swatches { display: flex; gap: 8px; }
.tp-swatches button {
  width: 36px;
  height: 36px;
  border: 2px solid #e6e6e0;
  cursor: pointer;
  background: var(--swatch);
  position: relative;
}
.tp-swatches button.active { border-color: #1a1a1a; }
.tp-swatches button.active::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--swatch-fg, #fff);
  font-weight: 700;
  font-size: 14px;
}
.tp-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.tp-toggle .track {
  width: 36px;
  height: 20px;
  background: #e6e6e0;
  border-radius: 999px;
  position: relative;
  transition: background 0.2s;
}
.tp-toggle .track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform 0.2s var(--ease);
}
.tp-toggle.on .track { background: #1a1a1a; }
.tp-toggle.on .track::after { transform: translateX(16px); }

/* ============================================================
   Попап оплаты
   ============================================================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.popup-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.popup {
  background: var(--paper);
  color: var(--ink);
  width: 100%;
  max-width: 440px;
  padding: 40px 36px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s var(--ease);
}
.popup-overlay.open .popup {
  transform: translateY(0);
}
.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  transition: color 0.15s;
}
.popup-close:hover { color: var(--ink); }

.popup-title {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 28px;
  margin-top: 0;
  text-transform: none;
}
.popup-title span {
  color: var(--accent);
}
.popup-form { display: flex; flex-direction: column; gap: 20px; }

.popup-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}
.popup-field input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.15s;
}
.popup-field input:focus {
  outline: none;
  border-color: var(--accent);
}
.popup-field input::placeholder {
  color: var(--muted-soft);
}

.popup-sum {
  font-size: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.popup-sum strong {
  font-weight: 800;
  color: var(--ink);
}

.popup-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--body-ink);
  cursor: pointer;
  line-height: 1.4;
}
.popup-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.popup-consent a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.popup-submit {
  width: 100%;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 18px;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}
.popup-submit:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.popup-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
/* Состояние «идёт оплата»: крутится спиннер — видно, что переход
   на Робокассу идёт, а не завис. Кнопку не гасим (перебиваем opacity
   от :disabled), чтобы анимация была хорошо заметна. */
.popup-submit.is-loading {
  opacity: 1;
  cursor: progress;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-spinner {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--paper);
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}
.popup-redirect-note {
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  color: var(--muted-soft);
}

.popup-field-hint {
  font-weight: 400;
  color: var(--muted-soft);
}

.popup-errors {
  font-size: 14px;
  line-height: 1.4;
  color: #b3261e;
  background: #fdeceb;
  border: 1px solid #f3c2bd;
  padding: 12px 14px;
}

@media (max-width: 700px) {
  .popup { padding: 32px 24px; }
  .popup-title { font-size: 20px; }
}

