/* Лендинг «Пророчицы». Те же токены, что в приложении; тема одна, тёмная. */
:root {
  --bg: #14121a; --bg-2: #1b1824; --bg-3: #241f30; --bg-4: #2c2639;
  --line: #2f2a3d; --line-2: #3f384f;
  --ink: #ece4d3; --ink-2: #bcb19c; --ink-3: #9c927f;
  --gold: #c9a45c; --gold-2: #e2c27a; --gold-dim: rgba(201,164,92,.16); --gold-ring: rgba(201,164,92,.28);
  --violet: #8b74c9; --violet-2: #c3b4ee; --violet-dim: rgba(139,116,201,.18);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 14px; --r-lg: 22px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 30px 80px rgba(4, 3, 8, .6);
  --wrap: 1180px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(42px, 5.6vw, 76px); }
h2 { font-size: clamp(32px, 3.6vw, 48px); max-width: 22ch; }
h3 { font-size: 24px; }
p { margin: 0; }
.muted { color: var(--ink-2); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 12px; background: var(--gold); color: #1c150a; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
svg.ic { width: 20px; height: 20px; flex: none; }

/* --- кнопки --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-3); color: var(--ink); font-weight: 700; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--bg-4); border-color: var(--ink-3); }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--gold); border-color: var(--gold); color: #1c150a; }
.btn.primary:hover { background: var(--gold-2); border-color: var(--gold-2); box-shadow: 0 10px 28px rgba(201,164,92,.28); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn.ghost:hover { background: var(--bg-3); color: var(--ink); }
.btn.sm { min-height: 44px; padding: 8px 16px; font-size: 15px; }

/* --- навигация --- */
.nav { position: sticky; top: 0; z-index: 20; height: 68px; background: rgba(20,18,26,.82); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.stuck { border-bottom-color: var(--line); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: url(/img/icon.svg) center/cover; box-shadow: 0 0 0 1px var(--line-2); }
.brand b { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 15px; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--ink); background: var(--bg-3); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }

/* --- герой --- */
.hero { min-height: calc(100dvh - 68px); display: grid; align-items: center; padding: 48px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, rgba(139,116,201,.16) 0, rgba(201,164,92,.06) 35%, transparent 65%); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: 48px; align-items: center; position: relative; }
.hero-copy > * { animation: rise .8s var(--ease-out) both; }
.hero-copy h1 { animation-delay: .05s; max-width: 12ch; }
.hero-copy .lead { animation-delay: .15s; font-size: 19px; color: var(--ink-2); max-width: 46ch; margin: 22px 0 32px; }
.hero-copy .cta { animation-delay: .25s; display: flex; gap: 12px; flex-wrap: wrap; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.stage { position: relative; aspect-ratio: 5 / 4; animation: rise 1s var(--ease-out) .2s both; }
.stage .desk { position: absolute; right: 0; top: 0; width: 92%; border-radius: var(--r); border: 1px solid var(--line-2); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-2); }
.stage .desk img { width: 100%; height: auto; }
.stage .phone { position: absolute; left: 0; bottom: 0; width: 34%; border-radius: 28px; border: 1px solid var(--line-2); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-2); padding: 8px; }
.stage .phone img { width: 100%; height: auto; border-radius: 20px; }
.stage .glow { position: absolute; inset: 10% -5% -10% 20%; background: radial-gradient(ellipse at 50% 60%, rgba(201,164,92,.18), transparent 60%); filter: blur(30px); z-index: -1; }

/* --- секции --- */
section { padding: 104px 0; }
.sec-head { max-width: 62ch; margin-bottom: 44px; }
.sec-head p { font-size: 18px; color: var(--ink-2); margin-top: 14px; max-width: 52ch; }

/* --- как проходит сессия: лента телефонов --- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step .phone { border-radius: 26px; border: 1px solid var(--line-2); background: var(--bg-2); padding: 8px; box-shadow: 0 18px 50px rgba(4,3,8,.5); transition: transform .35s var(--ease-out); }
.step:hover .phone { transform: translateY(-6px); }
.step .phone img { border-radius: 18px; width: 100%; height: auto; }
.step h3 { font-size: 22px; margin-top: 6px; }
.step p { color: var(--ink-2); font-size: 15px; }

/* --- бенто --- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(300px, auto); gap: 18px; }
.cell { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; min-height: 300px; transition: border-color .2s, transform .35s var(--ease-out); }
.cell:hover { border-color: var(--line-2); transform: translateY(-3px); }
.cell h3 { margin-bottom: 8px; position: relative; }
.cell p { color: var(--ink-2); font-size: 15px; max-width: 40ch; position: relative; }
.cell.wide { grid-column: span 2; }
.cell .media { position: absolute; inset: 0; z-index: 0; }
.cell .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,24,36,0) 0%, rgba(27,24,36,.35) 45%, rgba(27,24,36,.98) 78%); }
.cell .media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cell.deck { min-height: 400px; }
.cell.deck .media { display: flex; gap: 3.5%; padding: 5% 7% 0; align-items: flex-start; }
.cell.deck .media img { width: 15.5%; height: auto; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.5); transform: translateY(var(--dy, 0)); transition: transform .5s var(--ease-out); }
.cell.deck:hover .media img { transform: translateY(calc(var(--dy, 0) - 10px)); }
.cell.violet { background: linear-gradient(160deg, #262040, var(--bg-2)); }
.cell .phone-crop { position: absolute; right: 8%; top: -2%; width: 56%; height: 64%; overflow: hidden; border-radius: 22px 22px 0 0; border: 1px solid var(--line-2); border-bottom: 0; background: var(--bg); padding: 7px 7px 0; z-index: 0; }
.cell .phone-crop img { border-radius: 16px 16px 0 0; width: 100%; height: auto; }
.cell .phone-crop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34,29,48,0) 30%, rgba(34,29,48,.97) 100%); }
.cell.deck, .cell.shot, .cell.violet { padding-top: 200px; }
.cell.shot .media img { transform: scale(1.45); transform-origin: 60% 44%; }
.cell.shot .media::after { background: linear-gradient(180deg, rgba(27,24,36,0) 0%, rgba(27,24,36,.35) 45%, rgba(27,24,36,.97) 100%); }

/* --- заявление о данных --- */
.privacy { text-align: center; }
.privacy h2 { margin-inline: auto; }
.privacy .lead { font-size: 19px; color: var(--ink-2); max-width: 56ch; margin: 18px auto 40px; }
.facts { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; }
.facts div { padding: 8px 32px; font-family: var(--serif); font-size: 24px; font-weight: 600; }
.facts div + div { border-left: 1px solid var(--line-2); }

/* --- тарифы --- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 900px; }
.plan { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-2); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.plan.pro { border-color: var(--gold); background: linear-gradient(170deg, #24202e, var(--bg-2)); }
.plan .price { font-family: var(--serif); font-size: 44px; font-weight: 600; line-height: 1; }
.plan .price small { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink-2); margin-left: 8px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.plan li .ic { color: var(--gold); margin-top: 2px; }
.plan .note { font-size: 14px; color: var(--ink-3); }
.plan .btn { margin-top: auto; }

/* --- вопросы --- */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; font-family: var(--serif); font-size: 24px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--ink-3); transition: transform .25s var(--ease-out); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq .a { padding: 0 4px 24px; color: var(--ink-2); max-width: 62ch; }

/* --- финал и подвал --- */
.final { text-align: center; padding: 120px 0; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 500px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(201,164,92,.14), transparent 65%); pointer-events: none; }
.final h2 { margin-inline: auto; }
.final p { font-size: 18px; color: var(--ink-2); margin: 16px 0 32px; }
footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--ink-3); font-size: 14px; }
footer .wrap { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
footer .brand b { font-size: 20px; }
footer .credit { margin-left: auto; max-width: 48ch; }
footer a:hover { color: var(--ink); }

/* --- появление при прокрутке --- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; } .reveal[data-delay="2"] { transition-delay: .16s; } .reveal[data-delay="3"] { transition-delay: .24s; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .steps { grid-template-columns: repeat(4, 280px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(-1 * (100vw - min(var(--wrap), 100vw - 40px)) / 2); padding-inline: calc((100vw - min(var(--wrap), 100vw - 40px)) / 2); }
  .step { scroll-snap-align: start; }
  .bento { grid-template-columns: 1fr 1fr; }
  .cell.wide { grid-column: span 2; }
}
@media (max-width: 760px) {
  section { padding: 72px 0; }
  .hero { padding: 24px 0 56px; min-height: auto; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy .lead { font-size: 17px; }
  .stage { aspect-ratio: 4 / 3; }
  .nav .wrap { gap: 12px; }
  .nav-cta .ghost { display: none; }
  .bento { grid-template-columns: 1fr; }
  .cell.wide { grid-column: auto; }
  .cell.deck { min-height: 340px; }
  .cell.deck .media img { width: 17%; }
  .plans { grid-template-columns: 1fr; }
  .facts div { padding: 8px 18px; font-size: 20px; }
  .facts div + div { border-left: 0; }
  .facts { flex-direction: column; align-items: center; }
  .faq summary { font-size: 20px; }
  footer .credit { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy > *, .stage { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .step:hover .phone, .cell:hover, .cell.deck:hover .media img { transform: none; }
}
