/* Главная. Брендбук: лёгкие крупные заголовки, белые страницы чередуются с цветом,
   объёмный знак на тёмной глубине, чтобы его градиент не сливался с фоном. */
body { background: var(--black); }
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; color: var(--frost); }
.hero-in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; padding: 26px var(--gutter) clamp(28px, 6vh, 64px); }
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.hero-top img { height: 28px; width: auto; }
.hero-top a { color: var(--frost); font-size: 16px; text-decoration: none; border-bottom: 1px solid rgba(254,254,254,.5); padding-bottom: 2px; }
.hero-copy { margin-top: auto; }
.hero h1 { font-size: clamp(42px, 5.4vw, 92px); line-height: .98; letter-spacing: -.04em; font-weight: 400; margin: 0; }
.hero .lead { font-size: clamp(17px, 1.5vw, 21px); font-weight: 300; color: #efe3ff; max-width: 32em; margin: 22px 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Основа варианта 3: тёмная глубина за знаком, чтобы его градиент не сливался с фоном */
.hero.objhero { background: linear-gradient(112deg, #3B2EA4 0%, #231a78 34%, #0d0830 66%, #020202 100%); }
.spot { position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 40%), rgba(229,46,248,.2), transparent 70%); pointer-events: none; }
.stage { position: absolute; right: 5vw; top: 50%; width: min(38vw, 66vh); aspect-ratio: 1; transform: translateY(-50%); perspective: 1300px; z-index: 1; cursor: pointer; }
.halo { position: absolute; inset: -16%; border-radius: 50%; background: radial-gradient(closest-side, rgba(226,193,255,.42), rgba(226,193,255,.1) 58%, transparent); }
.obj { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(-24deg) rotateX(7deg); }
.obj img { position: absolute; inset: 0; width: 100%; height: 100%; }
.shadow { position: absolute; left: 14%; right: 14%; bottom: -10%; height: 9%; background: radial-gradient(closest-side, rgba(229,46,248,.5), transparent); }
.objhero .hero-copy { max-width: min(44vw, 660px); }
.btn-main, .btn-line, .go { border-radius: 999px; }
.mag { will-change: transform; }
.block { border-radius: 44px 44px 0 0; margin-top: -44px; position: relative; z-index: 2; }
.block.plans { color: var(--frost); background: linear-gradient(112deg, #231a78, #3B2EA4 45%, #8f2bd8); padding-bottom: 170px; }
.plans table { border-radius: 22px; overflow: hidden; }
.plans tbody tr { transition: background .2s; }
.plans tbody tr:hover { background: rgba(254,254,254,.08); }
.tool { border-radius: 16px; overflow: hidden; }
#faq { display: flex; flex-direction: column; align-items: center; text-align: center; }
#faq h2 { max-width: none; }
.faq { width: 100%; text-align: left; }
.faq details[open] { background: #f7f5fc; }
.faq summary, .faq details p { padding-left: 18px; padding-right: 18px; }
.foot { position: relative; z-index: 3; }

/* Общая рамка сцены */
.sc { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; background: linear-gradient(180deg, #020202, #0d0830); color: #fefefe; padding: clamp(28px, 5vh, 56px) var(--gutter); z-index: 1; }
.sc h2 { font-size: clamp(30px, 4vw, 60px); line-height: 1.03; letter-spacing: -.035em; font-weight: 400; margin: 0; max-width: 18ch; }
.sc .sub { color: #d9cdf0; font-weight: 300; max-width: 42ch; margin: 10px 0 0; }
.demo-note { font-size: 13px; color: #a79fc2; font-weight: 300; margin: 0; }
.fin { position: relative; z-index: 3; }
.fin h2 { font-size: clamp(38px, 6vw, 92px); line-height: 1; letter-spacing: -.04em; font-weight: 400; margin: 0 0 16px; }
.btn-grad { display: inline-block; padding: 16px 30px; border-radius: 999px; background: linear-gradient(115deg, #3B2EA4, #A72CD8); color: #fefefe; font: 500 17px var(--font); text-decoration: none; }

/* Белые страницы как в брендбуке: воздух, лёгкий крупный заголовок */
.block { padding: clamp(64px, 10vw, 136px) var(--gutter); background: var(--frost); color: var(--black); }
.block h2 { font-size: clamp(34px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -.035em; font-weight: 400; margin: 0 0 14px; max-width: 16ch; text-wrap: balance; }
.block p.intro { color: var(--ink-2); font-weight: 300; font-size: 19px; max-width: 46ch; margin: 0 0 44px; }

.tools { border-top: 1px solid var(--black); }
.tool { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 130px; gap: 24px; padding: 26px 12px; border-bottom: 1px solid var(--line); align-items: baseline; isolation: isolate; transition: color .25s; }
.tool::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2,2,2,.82), rgba(2,2,2,.62)), url('/img/hero/fallback.webp') center/cover; clip-path: inset(0 100% 0 0); transition: clip-path .5s cubic-bezier(.2,.8,.2,1); }
.tool h3 { font-size: clamp(22px, 2.3vw, 32px); font-weight: 400; letter-spacing: -.02em; margin: 0; }
.tool p { margin: 0; color: var(--ink-2); font-weight: 300; max-width: 52ch; transition: color .25s; }
.tool .state { font-size: 14px; color: var(--blue); text-align: right; transition: color .25s; }
.tool .state.soon { color: var(--ink-2); }
@media (hover: hover) {
  .tool:hover { color: var(--frost); }
  .tool:hover p, .tool:hover .state { color: var(--frost); }
  .tool:hover::before { clip-path: inset(0 0 0 0); }
}

/* Тарифы */
.plans h2 { color: var(--frost); }
.plans p.intro { color: #f3e6ff; }
.plans table { width: 100%; border-collapse: collapse; font-size: 16px; background: rgba(2,2,2,.42); backdrop-filter: blur(14px); }
.plans th, .plans td { padding: 15px 18px; text-align: left; border-bottom: 1px solid rgba(226,193,255,.2); vertical-align: top; font-weight: 300; }
.plans thead th { font-size: 22px; font-weight: 400; letter-spacing: -.01em; }
.plans tbody th { color: #e6d8f7; width: 30%; }
.plans .pro { background: rgba(229,46,248,.2); }
.plans .note { color: #f3e6ff; font-size: 15px; margin: 18px 0 0; max-width: 62ch; font-weight: 300; }
.table-wrap { overflow-x: auto; }

/* Путь: линия со стрелкой знака, рисуется прокруткой */
.route { position: relative; }
.route-line { position: absolute; top: 15px; left: 0; right: 0; height: 2px; background: var(--line); }
.route-line i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; }
.steps { position: relative; list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.steps li { counter-increment: s; padding-top: 0; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--frost); border: 2px solid var(--blue); color: var(--blue); font-size: 15px; }
.steps h3 { font-size: 22px; margin: 18px 0 6px; font-weight: 400; letter-spacing: -.01em; }
.steps p { margin: 0; font-size: 15px; color: var(--ink-2); font-weight: 300; }
.services { margin: 44px 0 0; color: var(--ink-2); max-width: 62ch; font-weight: 300; }

.faq { max-width: 880px; border-top: 1px solid var(--black); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 20px 0; font-weight: 400; font-size: 21px; letter-spacing: -.01em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 62ch; font-weight: 300; }
.faq-date { color: var(--ink-2); font-size: 14px; margin-top: 18px; font-weight: 300; }

.s4 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding-top: 80px; padding-bottom: 90px; }
.s4 label { display: block; margin-top: 22px; font-size: 17px; }
.s4 output { float: right; font-size: 20px; color: #E2C1FF; font-variant-numeric: tabular-nums; }
.s4 input[type=range] { width: 100%; margin-top: 12px; accent-color: #E52EF8; height: 26px; cursor: grab; }
.s4 .demo-note { margin-top: 22px; }
.verdict4 { display: inline-block; padding: 7px 16px; border-radius: 99px; font-size: 16px; }
.verdict4.good { background: #143f2c; color: #7dedb3; } .verdict4.mid { background: #4a3a10; color: #f6d27a; } .verdict4.bad { background: #4e1a22; color: #ff9a94; }
.s4-num { font-size: clamp(66px, 10vw, 156px); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; margin-top: 8px; }
.s4-sub { color: #d9cdf0; font-weight: 300; margin-bottom: 22px; }
.pile { display: flex; gap: 3px; height: clamp(90px, 18vh, 160px); }
.pile div { min-width: 0; border-radius: 3px; background: repeating-linear-gradient(90deg, rgba(254,254,254,.16) 0 3px, rgba(2,2,2,.18) 3px 7px, transparent 7px 13px), var(--c); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 14px; color: #d9cdf0; }
.legend span::before { content: ""; display: inline-block; width: 11px; height: 11px; border-radius: 2px; background: var(--c); margin-right: 6px; }
.fin5 { min-height: 100vh; background: linear-gradient(112deg, #020202, #0d0830 60%, #231a78); display: grid; place-items: center; padding: 60px var(--gutter); perspective: 1400px; }
.ticket { width: min(980px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) 240px; background: #fefefe; color: #020202; border-radius: 26px; box-shadow: 0 40px 100px rgba(59,46,164,.6); }
.t-main { padding: clamp(24px, 4vw, 46px); }
.t-main > img { height: 24px; width: auto; }
.t-route { display: flex; align-items: center; gap: 20px; margin: 26px 0 14px; }
.t-route span { display: block; font-size: 14px; color: #55526b; }
.t-route b { font-size: clamp(26px, 3.4vw, 42px); font-weight: 400; letter-spacing: -.02em; }
.t-route i { flex: 1; height: 2px; background: linear-gradient(90deg, #3B2EA4, #E52EF8); }
.ticket h2 { font-size: clamp(30px, 4.4vw, 60px); margin-bottom: 22px; }
.t-stub { border-left: 3px dashed #d9d3ea; padding: 26px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 14px; color: #55526b; font-size: 15px; }
.t-stub img { width: 130px; height: auto; } .t-stub p { margin: 0; }
.t-stub a { display: block; line-height: 0; } .t-stub img.t-qr { width: 188px; }

.fin5 { position: relative; overflow: hidden; }
.fin5 .spot { z-index: 0; }
.ticket { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .stage { right: 50%; top: 28%; width: 58vw; transform: translate(50%, -50%); }
  .objhero .hero-copy { max-width: none; }
  .objhero .hero-in { background: linear-gradient(180deg, transparent 46%, rgba(13,8,48,.88) 64%); }
  .block { border-radius: 28px 28px 0 0; margin-top: -28px; }
  .tool { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .tool .state { text-align: left; }
  .route-line { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .s4 { grid-template-columns: minmax(0, 1fr); }
  .ticket { grid-template-columns: minmax(0, 1fr); }
  .t-stub { border-left: 0; border-top: 3px dashed #d9d3ea; flex-direction: row; }
  .t-stub img { width: 70px; }
  .t-stub img.t-qr { width: 112px; }
}
