/* AI-куратор — спільні стилі лендінгів (перенесено з макетів Віки, Claude Design, 06.10.2026) */
:root {
  --bg: #07080a;
  --card: #121418;
  --card-warm: #16140C;
  --line: #23262d;
  --line-strong: #2B2F37;
  --line-warm: #3E3518;
  --field: #0B0C0F;
  --field-line: #343941;
  --text: #F2F1EC;
  --muted: #B4B8BF;
  --dim: #8E939B;
  --accent: #FFC94D;
  --accent-soft: #1D1A10;
  --on-accent: #17120A;
  --danger: #FF8A7A;
  --head: 'Unbounded', 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:hover { color: #FFE09A; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
input::placeholder { color: #7d828b; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Колонка: на телефоні — на всю ширину, на десктопі — по центру, як у макеті 390 px */
.page {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
@media (min-width: 640px) {
  body { background: radial-gradient(1200px 600px at 50% -10%, #1a160b 0%, var(--bg) 60%) fixed, var(--bg); }
  .page { border-left: 1px solid #14161a; border-right: 1px solid #14161a; }
}

/* Секції */
.hero { padding: 40px 20px 36px; display: flex; flex-direction: column; gap: 18px; }
.hero--short { padding-bottom: 32px; }
.sec { padding: 0 20px 40px; display: flex; flex-direction: column; gap: 16px; }
.sec--tight { padding-bottom: 36px; gap: 12px; }

.pill {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
h1 .nw, h2 .nw { white-space: nowrap; }
h1, .h1 {
  margin: 0;
  font-family: var(--head);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h2, .h2 {
  margin: 0;
  font-family: var(--head);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
}
.lead { margin: 0; font-size: 17px; line-height: 1.5; color: var(--muted); }
.text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.note { margin: 0; font-size: 12px; color: var(--dim); }
.note--13 { font-size: 13px; line-height: 1.5; }
.center { text-align: center; }

/* Головна кнопка */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { color: var(--on-accent); filter: brightness(1.06); }
.btn:active { transform: scale(.985); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn svg { flex: 0 0 18px; }

.link-btn {
  align-self: flex-start;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--dim);
  font-size: 14px;
  text-decoration: underline;
}

/* Картки */
.card { border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.card--warm { background: var(--card-warm); border-color: var(--line-warm); }
.stack > * + * { border-top: 1px solid var(--line); }
.stack__item { padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.t-strong { font-weight: 700; font-size: 16px; }
.t-muted { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Список з галочками */
.checks { display: flex; flex-direction: column; gap: 16px; }
.check { display: flex; gap: 14px; align-items: flex-start; }
.check > svg { flex: 0 0 22px; margin-top: 1px; color: var(--accent); }
.check__body { display: flex; flex-direction: column; gap: 4px; }
.checks--compact { gap: 10px; }
.checks--compact .check { gap: 10px; font-size: 16px; line-height: 1.45; }
.checks--compact .check > svg { flex-basis: 20px; margin-top: 2px; }

/* Цифри */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { padding: 16px 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.stats--2 .stat { padding: 18px 14px; border-radius: 16px; }
.stat__num { font-family: var(--head); font-weight: 700; font-size: 21px; color: var(--accent); white-space: nowrap; }
.stats--2 .stat__num { font-size: 27px; }
.stat__label { font-size: 13px; line-height: 1.35; color: var(--muted); }
.stats--2 .stat__label { font-size: 14px; }

/* Скріни-докази */
.proofs { display: flex; flex-direction: column; gap: 10px; }
.proof { margin: 0; border-radius: 14px; overflow: hidden; background: #0F1114; border: 1px solid var(--line); }
.proof img { width: 100%; height: auto; }
.proof figcaption { padding: 10px 12px; font-size: 13px; line-height: 1.4; color: var(--muted); }

/* Порівняльна таблиця */
.compare { border-radius: 18px; border: 1px solid var(--line); overflow: hidden; font-size: 14px; line-height: 1.35; }
.compare__row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; }
.compare__row + .compare__row { border-top: 1px solid var(--line); }
.compare__row > div { padding: 12px; }
.compare__row > div:first-child { color: var(--muted); }
.compare__row > div:last-child { background: var(--card-warm); font-weight: 600; }
.compare__head { background: var(--card); font-weight: 700; font-size: 13px; }
.compare__head > div:first-child { color: transparent; }
.compare__head > div:nth-child(2) { color: var(--muted); }
.compare__head > div:last-child { color: var(--accent); }

/* Ціна */
.price-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.price-tile { padding: 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.price-tile--accent { background: var(--card-warm); border-color: var(--accent); }
.price-tile__label { font-size: 13px; color: var(--dim); }
.price-tile--accent .price-tile__label { color: var(--muted); }
.price-tile__num { font-family: var(--head); font-weight: 700; font-size: clamp(15px, 4.4vw, 20px); white-space: nowrap; }
.price-tile--accent .price-tile__num { color: var(--accent); }

.packages { display: flex; flex-direction: column; gap: 8px; }
.package { padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.package--best { background: var(--card-warm); border-color: var(--accent); }
.package__name { font-weight: 700; font-size: 16px; }
.package__desc { font-size: 13px; color: var(--muted); }
.package__price { font-family: var(--head); font-weight: 700; font-size: 17px; white-space: nowrap; }
.badge { margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; vertical-align: 2px; }

/* Етапи (вертикальна лінія) */
.steps { display: flex; flex-direction: column; border-left: 2px solid #2B2F37; margin-left: 6px; }
.step { position: relative; padding: 0 0 18px 22px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ''; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.step__title { font-weight: 700; font-size: 16px; }
.step__desc { font-size: 14px; color: var(--muted); }

/* Блок форми / квізу */
.box {
  margin: 0 20px;
  padding: 24px 20px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 18px;
  scroll-margin-top: 16px;
}
.box--warm { background: var(--card-warm); border-color: var(--line-warm); gap: 16px; }
.box__intro { display: flex; flex-direction: column; gap: 10px; }
.dashes { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.dashes div { display: flex; gap: 8px; }
.dashes span { color: var(--accent); }

.quiz { min-height: 520px; display: flex; flex-direction: column; gap: 14px; }
.quiz__top { display: flex; justify-content: space-between; align-items: center; min-height: 32px; }
.quiz__label { font-size: 13px; font-weight: 600; color: var(--muted); }
.quiz__back { height: 32px; padding: 0 10px; border: 0; background: transparent; color: var(--muted); font-size: 14px; }
.bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar > div { height: 6px; border-radius: 99px; background: var(--accent); transition: width .25s ease; }
.q { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.q__title { font-size: 19px; font-weight: 700; line-height: 1.3; }
.q__sub { font-size: 14px; color: var(--dim); }
.opts { display: flex; flex-direction: column; gap: 8px; }
.opt {
  min-height: 52px;
  padding: 12px 16px;
  text-align: left;
  border-radius: 12px;
  border: 1px solid var(--field-line);
  background: var(--field);
  font-size: 16px;
  font-weight: 600;
  transition: border-color .15s ease, background .15s ease;
}
.opt:hover { border-color: #5a5f69; }
.opt.is-on { border-color: var(--accent); background: var(--accent-soft); }

/* Поля */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field__label { font-size: 14px; font-weight: 600; }
.field label span { font-weight: 400; color: var(--dim); }
.field input {
  height: 52px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--field-line);
  background: var(--field);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.field input:focus { border-color: var(--accent); outline: none; }
.field.is-error input { border-color: var(--danger); }
.field__err { font-size: 13px; color: var(--danger); }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.chips--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chip {
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--field-line);
  background: var(--field);
  font-size: 15px;
  font-weight: 500;
}
.chip.is-on { border-color: var(--accent); background: var(--accent-soft); font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { margin: 0; padding: 12px 14px; border-radius: 12px; background: #2a1512; border: 1px solid #5a2a22; font-size: 14px; line-height: 1.45; }
.consent { margin: 0; font-size: 12px; line-height: 1.45; color: var(--dim); text-align: center; }
.consent a { color: var(--dim); }

/* Готово */
.done { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.done__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; }
.done__title { font-family: var(--head); font-weight: 500; font-size: 21px; line-height: 1.3; }
.summary { padding: 14px; border-radius: 12px; background: var(--field); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.summary span:first-child { color: var(--dim); }
.summary span:last-child { font-weight: 600; text-align: right; }
.done__link { font-size: 15px; font-weight: 600; }

/* Футер */
.foot {
  flex-grow: 1;
  margin-top: 40px;
  padding: 28px 20px 36px;
  border-top: 1px solid #14161a;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--dim);
}
.foot strong { color: var(--muted); font-weight: 600; }
.foot a { color: var(--muted); }

/* Сторінка політики */
.doc { padding: 32px 20px 0; display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--muted); }
.doc h1 { font-size: 24px; color: var(--text); }
.doc h2 { font-size: 17px; color: var(--text); margin-top: 8px; }
.doc p, .doc ul { margin: 0; }
.doc ul { padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
