/* ═══════════════════════════════════════════════════════════════════════
   Сторінка тарифу — /tariff/

   Окремим файлом і лише на цій сторінці. У style.css класти НЕ можна:
   він перезбирається з мокапу quiz.html, і дописане руками зникне
   (див. MAP.md).

   Структурні рішення — з колегіуму 25.08 (6 лінз + арбітр):
   · «три двері» замінені на вісь часу: тріал і Free не обираються, вони
     настають; подані колонками, вони читались як два тарифи-брати;
   · таблиця Free/Pivona знята — двоколонковість візуально означає «обери
     пакет» і ламала власний H1 «без пакетів»;
   · емодзі немає ніде, стадії росту несуть відмальовані півонії з assets/;
   · друга кнопка стоїть до 58% висоти — саме туди доскролює медіана
     (заміряно Clarity по живому трафіку).
   ═══════════════════════════════════════════════════════════════════════ */

.tf{ --tf-max: 940px; color:var(--ink); }
.tf-in{ max-width:var(--tf-max); margin:0 auto; padding:0 20px; }
.tf-sec{ padding:56px 0; }
.tf-sec--paper{ background:var(--surface-2); border-block:1px solid var(--line); }

/* ── Герой ─────────────────────────────────────────────────────────── */
.tf-hero{ padding:56px 0 40px; text-align:center; }
.tf-h1{
  font-family:var(--font-display); font-size:clamp(30px,5vw,46px);
  line-height:1.08; margin:0 0 18px; max-width:18ch; margin-inline:auto;
}
.tf-lead{ font-size:clamp(15px,2vw,17px); line-height:1.62; color:var(--ink);
  max-width:40ch; margin:0 auto 8px; }
/* ₴ у Days One немає гліфа — ціна веде Fira Sans, інакше символ випадає */
.tf-price{ font-family:var(--font-sans); font-weight:800; letter-spacing:-.4px; }
.tf-sub{ color:var(--muted); font-size:13px; margin:14px 0 0; }

.tf-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font:600 15px var(--font-sans); padding:15px 30px; border-radius:var(--r-round);
  border:1px solid transparent; text-decoration:none; cursor:pointer;
  background:var(--cta); color:var(--cta-fg); box-shadow:0 4px 16px rgba(174,18,3,.22);
  transition:transform .12s, box-shadow .18s;
}
.tf-btn:hover{ transform:translateY(-2px); box-shadow:0 8px 24px rgba(174,18,3,.28); }
.tf-btn-wrap{ margin-top:22px; }

/* Скріншот продукту — доказ, що він існує. Стоїть до першого аргументу про ціну. */
.tf-shot{
  margin:30px auto 0; max-width:100%; border-radius:var(--r-card);
  border:1px solid var(--line); box-shadow:var(--shadow-lift); display:block; height:auto;
}
.tf-shot-cap{ color:var(--muted); font-size:12.5px; margin:10px 0 0; }

/* ── Що отримуєш ───────────────────────────────────────────────────── */
.tf-h2{ font-family:var(--font-display); font-size:clamp(22px,3.4vw,30px);
  line-height:1.14; margin:0 0 28px; text-align:center; }
.tf-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.tf-card{ background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r-card); padding:22px 20px; box-shadow:var(--shadow-sm); }
.tf-card h3{ font-family:var(--font-display); font-size:17px; line-height:1.25; margin:0 0 8px; }
.tf-card p{ margin:0; color:var(--muted); font-size:14.5px; line-height:1.58; }

/* ── Вісь часу ─────────────────────────────────────────────────────── */
.tf-line{ position:relative; margin:0; padding:0; list-style:none; }
.tf-line::before{
  content:""; position:absolute; left:27px; top:14px; bottom:14px; width:2px;
  background:linear-gradient(var(--line), var(--accent-soft), var(--line));
}
.tf-step{ position:relative; padding:0 0 30px 76px; }
.tf-step:last-child{ padding-bottom:0; }
.tf-step img{ position:absolute; left:0; top:-2px; width:56px; height:56px; }
.tf-when{ font-family:var(--font-display); font-size:17px; margin:0 0 6px; }
.tf-step p{ margin:0 0 6px; font-size:14.5px; line-height:1.6; color:var(--ink); }
.tf-step p.q{ color:var(--muted); }
.tf-fork{ list-style:none; margin:10px 0 0; padding:0; }
.tf-fork li{ position:relative; padding-left:18px; margin:0 0 6px; font-size:14.5px; line-height:1.55; }
.tf-fork li::before{ content:""; position:absolute; left:0; top:9px; width:8px; height:2px; background:var(--accent); }

/* Пояснення про оплату — не картка-акцент, а спокійна довідка */
.tf-note{
  margin:26px 0 0; padding:18px 20px; background:var(--accent-soft);
  border-radius:var(--r-card); font-size:14.5px; line-height:1.6;
  color:var(--ink); /* на *-soft текст завжди --ink: accent-fg тут дає 1.09:1 */
}

/* ── Що вимкнеться ─────────────────────────────────────────────────── */
.tf-keep{ font-size:15px; line-height:1.62; margin:0 0 18px; }
.tf-off{ list-style:none; margin:0; padding:0; display:grid; gap:9px; }
.tf-off li{ position:relative; padding-left:26px; font-size:14.5px; line-height:1.55; color:var(--ink); }
.tf-off li::before{
  content:""; position:absolute; left:4px; top:8px; width:11px; height:2px;
  background:var(--muted); border-radius:2px;
}
.tf-small{ color:var(--muted); font-size:13px; line-height:1.55; margin:16px 0 0; }

/* ── Питання ───────────────────────────────────────────────────────── */
.tf-faq{ display:grid; gap:10px; }
.tf-q{ background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r-card); padding:0 18px; }
.tf-q > summary{
  cursor:pointer; list-style:none; padding:15px 0; font-weight:600; font-size:15px;
  display:flex; justify-content:space-between; align-items:center; gap:14px;
}
.tf-q > summary::-webkit-details-marker{ display:none; }
.tf-q > summary::after{ content:"+"; color:var(--muted); font-size:19px; line-height:1; flex:0 0 auto; }
.tf-q[open] > summary::after{ content:"–"; }
.tf-q[open] > summary{ border-bottom:1px solid var(--line); }
.tf-q .a{ padding:13px 0 17px; font-size:14.5px; line-height:1.62; color:var(--ink); }
.tf-q .a p{ margin:0 0 10px; }
.tf-q .a p:last-child{ margin-bottom:0; }
.tf-q .a a{ color:var(--rose-ink); }

/* ── Фінал ─────────────────────────────────────────────────────────── */
.tf-final{ text-align:center; }
.tf-final .tf-h2{ max-width:22ch; margin-inline:auto; }
/* 04.09: проміжок 14px при line-height 1.62 давав менше одного рядка між
   абзацами — три центровані блоки зливались в одну масу. 20px відділяє їх,
   не розриваючи. Центрування лишається: тут абзаци по 2–3 рядки, і на цій
   довжині воно ще читається (на семи рядках уже ні — див. `.final-what`). */
.tf-final p{ font-size:15px; line-height:1.62; max-width:46ch; margin:0 auto 20px; }
.tf-final .pivi{ width:96px; height:96px; margin:0 auto 18px; display:block; }

@media (max-width:720px){
  .tf-sec{ padding:40px 0; }
  .tf-hero{ padding:36px 0 30px; }
  .tf-grid{ grid-template-columns:1fr; gap:14px; }
  .tf-step{ padding-left:62px; padding-bottom:26px; }
  .tf-step img{ width:46px; height:46px; }
  .tf-line::before{ left:22px; }
  .tf-btn{ width:100%; max-width:320px; }
}
