/* Лендинг «AI без лишних слов», короткая версия. Основа — base.css.
   Пять экранов: оффер, что попробуете (с роликом запроса), как проходит, кто ведёт, запись. */

main { overflow-x: clip; }
.h-section { font-size: clamp(44px, 6vw, 104px); margin: 18px 0 28px; max-width: 14ch; }

/* ---------- верхняя полоса ---------- */
.bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 76px; color: var(--lime);
}
.bar__brand { display: inline-flex; align-items: center; gap: 14px; }
.bar__name { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 25px; line-height: 1; letter-spacing: 0.01em; }
.bar__tag { padding: 4px 7px 3px; border: 1px solid rgba(236, 231, 221, 0.5); color: #ddd6c9; }
.bar__cta { min-height: 36px; }

/* ---------- первый экран ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 120px 0 clamp(56px, 9vh, 96px); }
.hero__light { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; animation: light-in 2.4s var(--ease) 0.2s forwards; }
.hero__light::before, .hero__light::after { content: ""; position: absolute; inset: -10%; }
.hero__light::before { background: radial-gradient(ellipse 55% 60% at 72% 34%, rgba(201, 147, 74, 0.2), rgba(201, 147, 74, 0) 70%); }
.hero__light::after {
  background: repeating-linear-gradient(116deg, rgba(236, 210, 160, 0) 0 52px, rgba(236, 210, 160, 0.055) 52px 84px);
  -webkit-mask-image: radial-gradient(ellipse 48% 52% at 70% 36%, #000 0%, rgba(0, 0, 0, 0.6) 40%, transparent 75%);
  mask-image: radial-gradient(ellipse 48% 52% at 70% 36%, #000 0%, rgba(0, 0, 0, 0.6) 40%, transparent 75%);
  filter: blur(2px);
}
@keyframes light-in { to { opacity: 1; } }

.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: 40px var(--pad); align-items: end; min-height: calc(100svh - 240px); }
.hero__eyebrow { color: #ddd6c9; }
.hero__title { margin: 22px 0 26px; font-size: clamp(72px, min(12.5vw, 23vh), 220px); line-height: 0.8; margin-left: -0.03em; }
.hero__lead { max-width: 36ch; font-size: clamp(18px, 1.35vw, 21px); line-height: 1.45; }
.hero__host { margin-top: 22px; }

.card {
  display: grid; gap: 18px; padding: 18px 20px 20px;
  background: rgba(28, 26, 23, 0.6);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(236, 231, 221, 0.18);
  animation: card-in 0.8s var(--ease) 0.35s both;
}
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } }
.card__facts { display: grid; }
.card__facts > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid rgba(236, 231, 221, 0.14); }
.card__facts > div:first-child { border-top: 0; padding-top: 2px; }
.card__facts dt { color: #a8a194; padding-top: 3px; }
.card__facts dd { margin: 0; display: grid; gap: 3px; }
.card__facts b { font-weight: 500; font-size: 17px; }
.card__facts span { color: #c9c2b5; font-size: 15px; }
.card__map { justify-self: start; color: var(--ochre); margin-top: 4px; border-bottom: 1px solid currentColor; }
.card__map:hover { color: var(--lime); }
.card__facts .seatbar { margin: 6px 0 4px; }

/* места полосками: занятые охрой, заполняются по очереди при загрузке */
.seatbar { display: grid; grid-template-columns: repeat(var(--n, 10), 1fr); gap: 4px; }
.seatbar i { height: 3px; background: rgba(236, 231, 221, 0.22); }
.seatbar i.taken { background: var(--ochre); animation: seat-in 0.5s var(--ease) both; animation-delay: calc(var(--k, 0) * 60ms + 400ms); }
@keyframes seat-in { from { background: rgba(236, 231, 221, 0.22); transform: scaleY(0.4); } }
.seatbar--solid { grid-template-columns: 1fr; }
.seatbar--solid i { background: linear-gradient(90deg, var(--ochre) var(--fill, 0%), rgba(236, 231, 221, 0.22) var(--fill, 0%)); }
.seatbar--big { gap: 5px; margin: 28px 0 10px; max-width: 520px; }
.seatbar--big i { height: 4px; }

/* ---------- 01 что попробуете ---------- */
.try { padding-block: clamp(80px, 12vh, 140px); }
.try__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: calc(var(--pad) * 1.5); align-items: start; }
.outcomes { display: grid; border-top: 1px solid var(--line); }
.outcomes li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.outcomes span { font-weight: 700; font-size: 36px; line-height: 0.9; color: var(--ochre-ink); }
.outcomes p { color: var(--muted); font-size: 17px; }
.outcomes b { color: var(--fg); font-weight: 500; }

/* ролик «слабый запрос → сильный → ответ»: проигрывается один раз при появлении */
.demo {
  --fg: var(--lime); --muted: #a8a194; --line: rgba(236, 231, 221, 0.14);
  margin: 0; display: grid; gap: 12px; padding: 18px 20px 20px;
  background: var(--char); color: var(--lime); position: relative; top: clamp(0px, 4vh, 48px);
}
.demo__head { display: flex; justify-content: space-between; align-items: center; color: #d6cfc2; min-height: 24px; }
.demo__replay { color: var(--ochre); border-bottom: 1px solid currentColor; }
.demo__weak { font-size: clamp(20px, 1.7vw, 26px); line-height: 1.3; letter-spacing: -0.01em; color: var(--lime); transition: opacity 0.4s ease, color 0.4s ease; }
.demo__parts { display: grid; }
.demo__parts li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); }
.demo__parts .label { color: var(--ochre); }
.demo__parts p { font-size: 16px; line-height: 1.4; }
.demo__answer { display: grid; gap: 6px; margin-top: 4px; padding: 14px 16px; background: var(--lime); color: var(--char); }
.demo__answer .label { color: var(--ochre-ink); margin-bottom: 2px; }
.demo__answer p { font-size: 15px; line-height: 1.45; }

.js .demo.armed .demo__parts li, .js .demo.armed .demo__answer { opacity: 0; transform: translateY(8px); }
.js .demo.armed .demo__answer p { opacity: 0; }
.js .demo .demo__parts li, .js .demo .demo__answer, .js .demo .demo__answer p { transition: opacity 0.45s ease, transform 0.45s var(--ease); }
.js .demo .demo__parts li.on, .js .demo .demo__answer.on, .js .demo .demo__answer p.on { opacity: 1; transform: none; }
.demo.weak-out .demo__weak { color: #6f6a60; text-decoration: line-through; text-decoration-color: rgba(201, 147, 74, 0.7); }

/* ---------- 02 как проходит ---------- */
.flow { padding-block: clamp(80px, 12vh, 140px); }
.steps { border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(240px, 420px); align-items: center; gap: var(--pad); padding-block: 20px; border-bottom: 1px solid var(--line); }
.steps h3 { font-weight: 700; font-size: clamp(32px, 3.6vw, 64px); line-height: 0.9; transition: color 0.3s ease; }
.steps li:hover h3 { color: var(--ochre); }
.bring { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: var(--pad); margin-top: 28px; max-width: 900px; font-size: 18px; color: #d6cfc2; }
.bring .label { padding-top: 5px; }

/* ---------- 03 кто ведёт ---------- */
.host { padding-block: clamp(80px, 12vh, 140px); }
.host__grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: calc(var(--pad) * 1.5); align-items: end; }
.host__photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--lime-2); box-shadow: 0 40px 60px -40px rgba(18, 17, 15, 0.45); }
.host__photo img { width: 100%; height: 100%; object-fit: cover; }
.host__text { display: grid; gap: 16px; max-width: 34em; font-size: 18px; }
.host__text .h-section { margin: 8px 0 6px; }
.host__quote { margin-top: 6px; padding-left: 18px; border-left: 2px solid var(--ochre-ink); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; letter-spacing: -0.01em; }

/* ---------- 04 запись ---------- */
.join { padding-block: clamp(80px, 12vh, 140px); }
.join__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: calc(var(--pad) * 2); align-items: start; }
.join__lead { font-size: 19px; }
.join__where { margin-top: 10px; color: #d6cfc2; font-size: 16px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.join__where a { color: var(--ochre); border-bottom: 1px solid currentColor; }
.form, .task { display: grid; gap: 28px; }
.task { gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { color: var(--error); font-size: 15px; }
.form__error:empty { display: none; }
.form__note { font-size: 13px; color: var(--muted); }
.btn.is-busy { opacity: 0.75; cursor: progress; }
.btn.is-busy .arrow { animation: nudge 0.9s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

.done { display: grid; gap: 14px; align-content: start; }
.check { width: 52px; height: 52px; color: var(--ochre); }
.check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 0.6s var(--ease) forwards; }
.check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.35s var(--ease) 0.45s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done__title { font-size: clamp(40px, 4.4vw, 76px); line-height: 0.9; animation: card-in 0.5s var(--ease) 0.2s both; }
.done__text { font-size: 18px; max-width: 30em; }
.done__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: 8px 0 6px; }
.confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 18px 20px; border: 1px solid var(--line); }
.confirm p { width: 100%; }
[data-again], [data-cancel] { justify-self: start; }
.join--closed .form { display: none; }
.join--done .join__lead, .join--done .join__head .seatbar, .join--done [data-join-seats] { display: none; }

/* ---------- подвал ---------- */
.foot { border-top: 1px solid var(--line); }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 24px; padding-block: 18px 28px; }
.foot summary { cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: 4px; min-height: 28px; }
.foot summary::-webkit-details-marker { display: none; }
.foot details p { margin-top: 10px; max-width: 560px; font-family: var(--text); font-size: 14px; line-height: 1.55; letter-spacing: 0; text-transform: none; }

/* ---------- плавающая кнопка на телефоне ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none;
  align-items: center; justify-content: space-between; min-height: 60px;
  padding: 0 20px max(0px, env(safe-area-inset-bottom));
  background: var(--lime); color: var(--char);
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  transform: translateY(110%); transition: transform 0.2s var(--ease);
}
.dock.show { transform: none; }

.demo-note { position: fixed; left: 50%; top: 84px; transform: translateX(-50%); z-index: 60; padding: 6px 12px; background: var(--ochre); color: var(--char); white-space: nowrap; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .steps li { grid-template-columns: 90px minmax(0, 1fr); }
  .steps li p { grid-column: 2; }
  .bring { grid-template-columns: 90px minmax(0, 1fr); }
}
@media (max-width: 899px) {
  .bar { height: 64px; }
  .bar__tag { display: none; }
  .bar__name { font-size: 22px; }
  .hero { padding-top: 84px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 28px; }
  .hero__title { font-size: clamp(60px, 18vw, 120px); margin: 16px 0 18px; }
  .hero__host { margin-top: 14px; }
  .h-section { font-size: clamp(40px, 11vw, 64px); margin: 14px 0 22px; }
  .try__grid, .join__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .demo { top: 0; }
  .demo__parts li { grid-template-columns: 76px minmax(0, 1fr); gap: 10px; }
  .steps li { grid-template-columns: 56px minmax(0, 1fr); gap: 4px 14px; padding-block: 16px; }
  .steps h3 { font-size: clamp(28px, 8vw, 40px); }
  .steps li p { font-size: 15px; }
  .bring { grid-template-columns: minmax(0, 1fr); gap: 6px; font-size: 16px; }
  .host__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .host__photo { max-width: 340px; }
  .join--done .join__head { display: none; }
  .foot__bottom { flex-direction: column; padding-bottom: 88px; }
  .dock { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  .js .demo.armed .demo__parts li, .js .demo.armed .demo__answer, .js .demo.armed .demo__answer p { opacity: 1; transform: none; }
}
.task .btn { justify-self: start; }
