/* Тепло, дом, свои: светлые тёплые тона, много воздуха, мягкие скругления (раздел 4.8 ТЗ).
   Телефон в первую очередь; шрифт системный, чтобы первый экран не ждал загрузки. */
:root {
  --bg: #fbf6f0;
  --card: #ffffff;
  --ink: #3b2f2a;
  --soft: #7a6a61;
  --accent: #d9704f;
  --accent-ink: #ffffff;
  --line: #efe4d8;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding-bottom: 96px;
}
main, .top, .foot { max-width: 560px; margin: 0 auto; padding: 0 20px; }
.top { padding-top: 14px; }
.brand { color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: .2px; }
h1 { font-size: 30px; line-height: 1.2; margin: 18px 0 10px; }
h2 { font-size: 23px; line-height: 1.25; margin: 0 0 14px; }
h3 { font-size: 18px; margin: 22px 0 10px; color: var(--soft); }
section { padding: 26px 0; }
.lead { font-size: 18px; color: var(--soft); margin: 0 0 18px; }
.promise { font-size: 14px; color: var(--soft); margin: 12px 0 0; }
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  text-decoration: none; font-weight: 600; padding: 15px 26px; border-radius: 999px;
  border: 0; font-size: 17px;
}
.sample-placeholder, .card-media {
  display: block; background: linear-gradient(160deg, #f3e3d3, #f8ece2);
  border-radius: var(--radius);
}
.sample-placeholder { aspect-ratio: 9 / 16; max-height: 62vh; margin: 0 auto; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink);
  background: var(--card); border-radius: var(--radius); padding: 10px 10px 14px;
  box-shadow: 0 6px 20px rgba(120, 80, 50, .08);
}
.card-media { aspect-ratio: 9 / 16; border-radius: 16px; }
.card-title { font-weight: 600; font-size: 15px; line-height: 1.3; }
.card-price { font-size: 13px; color: var(--soft); }
.steps, .promises { padding-left: 22px; margin: 0; }
.steps li, .promises li { margin: 6px 0; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.role {
  display: flex; flex-direction: column; gap: 4px; background: var(--card);
  border-radius: var(--radius); padding: 12px; cursor: pointer;
  box-shadow: 0 6px 20px rgba(120, 80, 50, .08);
}
.role-slot { aspect-ratio: 1; border-radius: 16px; border: 2px dashed var(--line); background: #fffaf5; }
.role-label { font-weight: 600; }
.role-hint { font-size: 13px; color: var(--soft); }
.role.optional { opacity: .85; }
.privacy { font-size: 14px; color: var(--soft); }
.faq dt { font-weight: 600; margin-top: 14px; }
.faq dd { margin: 4px 0 0; color: var(--soft); }
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: rgba(251, 246, 240, .96); border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.approx { color: var(--soft); font-size: 15px; }
.foot { font-size: 14px; color: var(--soft); padding-top: 30px; padding-bottom: 30px; }
.foot a { color: var(--soft); }

/* Фото по ролям */
.role-slot { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.role-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.role-plus { font-size: 34px; color: var(--accent); }
.role.filled .role-slot { border-style: solid; border-color: transparent; }
.role.filled .role-plus { display: none; }
.role.busy { opacity: .55; pointer-events: none; }
.role-note { font-size: 13px; color: #a5512f; }
[hidden] { display: none !important; }
.small { font-size: 14px; color: var(--soft); }
.form-error { color: #a5512f; font-size: 15px; }

/* Почта */
.email-form { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.email-form label[for] { font-weight: 600; }
.email-form input[type=email] {
  font: inherit; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card);
}
.consent { font-size: 14px; color: var(--soft); display: flex; gap: 8px; align-items: flex-start; }
.consent input { margin-top: 3px; }

/* Плашка оплаты */
.paywall { margin-top: 26px; background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: 0 6px 20px rgba(120, 80, 50, .08); }
.pw-top { display: flex; align-items: center; gap: 10px; }
.pw-faces { display: flex; gap: 6px; }
.pw-faces img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.pw-arrow { color: var(--soft); }
.pw-sample { width: 46px; height: 80px; border-radius: 10px; background: linear-gradient(160deg, #f3e3d3, #f8ece2); }
.pw-title { font-weight: 600; font-size: 18px; }
.packs { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.pack { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 16px; cursor: pointer; }
.pack.on { border-color: var(--accent); background: #fff8f3; }
.pack input { display: none; }
.pack-benefit { grid-column: 1; font-size: 14px; color: var(--soft); }
.pack-price { grid-column: 2; grid-row: 1 / span 2; text-align: right; align-self: center; }
.pack-price s { color: var(--soft); font-size: 14px; }
.pack-scene { display: block; font-size: 12px; color: var(--soft); }
.pw-promo { color: #a5512f; font-size: 15px; }
.pw-why { font-size: 15px; margin: 6px 0 12px; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .6; }
.pw-promises { font-size: 14px; color: var(--soft); margin: 14px 0; }

/* Страница заказа */
.o-steps { padding-left: 22px; color: var(--soft); }
.o-steps li.done { color: var(--ink); }
.o-steps li.now { color: var(--accent); font-weight: 600; }
.o-video { width: 100%; max-height: 70vh; border-radius: var(--radius); background: #000; }
.o-actions { display: flex; gap: 10px; margin: 14px 0 6px; flex-wrap: wrap; }
.btn-soft { background: #f3e3d3; color: var(--ink); }
.link { background: none; border: 0; padding: 0; color: var(--soft); text-decoration: underline; font: inherit; cursor: pointer; }
.o-balance { font-weight: 600; }

/* Документы: Terms, Privacy, Refunds, Contact. */
.legal h1 { margin-top: 18px; }
.legal h2 { font-size: 19px; margin: 26px 0 6px; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }

/* Образец сцены и обложка карточки. */
.sample-video { display: block; width: 100%; aspect-ratio: 9 / 16; max-height: 62vh; margin: 0 auto; border-radius: var(--radius); object-fit: cover; background: #f3e3d3; }
.card-media { overflow: hidden; }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
