/* Calm Capsule — дизайн-код «Небо и стекло». Layout: шейдерное небо в первом экране, дальше стеклянные панели на спокойном фоне,
   движение в ритме дыхания. Все цвета — токены; тёмная тема — ночное небо. */
:root {
  --sky-1: #2A5C9E; --sky-2: #3F78BE; --sky-3: #7FA9D6; --sky-4: #B9CFE5;
  --accent: #2D66AE; --accent-soft: #D5E3F3; --bg: #E8EDF3; --bg-2: #F3F5F8;
  --ink: #1A2B44; --ink-2: #445873; --ink-3: #6C7F99; --line: #CFDAE6; --on-sky: #FFFFFF;
  --glass: rgba(255, 255, 255, .62); --glass-strong: rgba(255, 255, 255, .82); --glass-edge: rgba(255, 255, 255, .9);
  --shadow: 0 30px 70px -38px rgba(26, 43, 68, .45); --ok: #2E8B6E;
  --display: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif; --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1); --gutter: max(20px, env(safe-area-inset-left, 0px)); --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --sky-1: #0F2244; --sky-2: #1B3962; --sky-3: #2C5286; --sky-4: #3D659B;
  --accent: #8DBBF0; --accent-soft: #1B3050; --bg: #0E1828; --bg-2: #132034;
  --ink: #EAF1F9; --ink-2: #B7C6DA; --ink-3: #8698B1; --line: #26384F; --on-sky: #FFFFFF;
  --glass: rgba(24, 40, 64, .56); --glass-strong: rgba(26, 44, 70, .82); --glass-edge: rgba(255, 255, 255, .13);
  --shadow: 0 30px 70px -38px rgba(0, 0, 0, .8); --ok: #6FD3A6; color-scheme: dark; } }
:root[data-theme="dark"] {
  --sky-1: #0F2244; --sky-2: #1B3962; --sky-3: #2C5286; --sky-4: #3D659B;
  --accent: #8DBBF0; --accent-soft: #1B3050; --bg: #0E1828; --bg-2: #132034;
  --ink: #EAF1F9; --ink-2: #B7C6DA; --ink-3: #8698B1; --line: #26384F; --on-sky: #FFFFFF;
  --glass: rgba(24, 40, 64, .56); --glass-strong: rgba(26, 44, 70, .82); --glass-edge: rgba(255, 255, 255, .13);
  --shadow: 0 30px 70px -38px rgba(0, 0, 0, .8); --ok: #6FD3A6; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.mono, .eyebrow { font: 500 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
h2 { font: 800 clamp(2.05rem, 4.7vw, 3.9rem)/1.02 var(--display); letter-spacing: -.035em; text-wrap: balance; }
h3 { font: 700 1.2rem/1.25 var(--display); letter-spacing: -.01em; }
.lead { font-size: clamp(1.02rem, 1.35vw, 1.2rem); color: var(--ink-2); max-width: 60ch; }
section { position: relative; padding-block: clamp(84px, 11vw, 168px); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 72px); max-width: 880px; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .18em; margin-bottom: -.18em; }
.w > span { display: inline-block; will-change: transform; }
.glass { background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 28px; box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px) saturate(1.25); backdrop-filter: blur(18px) saturate(1.25); }

/* Фон: медленные световые пятна */
.ambient { position: fixed; inset: 0 0 auto 0; height: 160vh; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient i { position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.ambient i:nth-child(1) { left: -22vmax; top: 8%; background: var(--sky-4); }
.ambient i:nth-child(2) { right: -26vmax; top: 30%; background: var(--accent-soft); opacity: .8; }
.ambient i:nth-child(3) { left: 24%; top: 62%; background: var(--sky-3); opacity: .28; }

/* Кнопки */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1px solid transparent;
  border-radius: 999px; font: 600 15.5px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); will-change: transform; }
.btn-primary { background: var(--accent); color: var(--bg); box-shadow: 0 14px 30px -14px var(--accent); }
.btn-primary:hover { box-shadow: 0 20px 40px -14px var(--accent); }
.btn-white { background: #fff; color: #1A2B44; box-shadow: 0 16px 40px -18px rgba(10, 30, 70, .55); }
.btn-glass { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .42); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255, 255, 255, .26); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn .arr { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* Навигация: стеклянная «таблетка» */
.nav { position: fixed; z-index: 50; left: 0; right: 0; top: calc(14px + env(safe-area-inset-top, 0px)); padding-left: var(--gutter); padding-right: var(--gutter-r); pointer-events: none; transition: transform .6s var(--ease); }
.nav.hide { transform: translateY(-140%); }
.nav-inner { pointer-events: auto; position: relative; overflow: hidden; max-width: 1040px; margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 20px; border-radius: 999px;
  background: var(--glass-strong); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3); box-shadow: 0 18px 50px -30px rgba(10, 30, 70, .6); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 13.5px/1 var(--display); letter-spacing: .12em; text-decoration: none; white-space: nowrap; }
.brand svg rect { fill: var(--sky-4); } .brand svg circle { stroke: var(--accent); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 10px 14px; border-radius: 999px; font: 500 14.5px/1 var(--body); color: var(--ink-2); text-decoration: none; transition: color .3s, background .3s; }
.nav-links a:hover { color: var(--ink); background: var(--accent-soft); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.theme-toggle { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: var(--ink-2); transition: background .3s, transform .6s var(--ease); }
.theme-toggle:hover { background: var(--accent-soft); transform: rotate(-24deg); }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 14.5px; }
.nav-progress { position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); opacity: .7; }

/* Первый экран */
.hero { min-height: min(100svh, 940px); padding-block: clamp(120px, 15vh, 170px) clamp(70px, 9vh, 110px); display: flex; align-items: center; overflow: hidden; color: var(--on-sky); background: var(--sky-1); isolation: isolate; }
.hero-shader { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, color-mix(in srgb, var(--sky-1) 78%, transparent) 0%, color-mix(in srgb, var(--sky-1) 34%, transparent) 46%, transparent 72%), linear-gradient(to top, var(--bg) 0, transparent 20%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.hero .eyebrow { color: rgba(255, 255, 255, .82); }
.display { font: 800 clamp(3.5rem, 9.4vw, 8.6rem)/.9 var(--display); letter-spacing: -.05em; word-spacing: .06em; margin: 22px 0 28px; }
.display .line { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.2em; }
.display [data-word] { display: inline-block; will-change: transform, filter; }
.display em { font-style: normal; font-weight: 300; letter-spacing: -.055em; }
.hero .lead { color: rgba(255, 255, 255, .9); max-width: 48ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chips li { padding: 8px 14px; border-radius: 999px; font: 500 13px/1 var(--body); color: rgba(255, 255, 255, .92); background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .26); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-media { position: relative; justify-self: end; width: min(100%, 410px); }
.hero-photo { position: relative; z-index: 1; border-radius: 32px; overflow: hidden; aspect-ratio: 768 / 1100; border: 1px solid rgba(255, 255, 255, .55); box-shadow: 0 50px 110px -44px rgba(6, 24, 60, .85); will-change: transform; }
.hero-photo picture, .expand-frame picture { display: block; width: 100%; height: 100%; will-change: transform; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.halo { position: absolute; inset: -14%; z-index: 0; display: grid; place-items: center; pointer-events: none; }
.halo i { position: absolute; width: 100%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); animation: halo 10s cubic-bezier(.45, 0, .55, 1) infinite; }
.halo i:nth-child(2) { animation-delay: -.6s; width: 82%; opacity: .7; } .halo i:nth-child(3) { animation-delay: -1.2s; width: 64%; opacity: .5; }
@keyframes halo { 0% { transform: scale(.82); opacity: .15; } 40% { transform: scale(1.06); opacity: .75; } 100% { transform: scale(.82); opacity: .15; } }
.callout, .price-tag { position: absolute; z-index: 2; border-radius: 18px; color: #fff; background: rgba(42, 92, 158, .5); border: 1px solid rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 20px 40px -22px rgba(6, 24, 60, .8); }
.callout { left: -34px; bottom: 21%; display: flex; align-items: center; gap: 10px; padding: 12px 16px; font: 500 13.5px/1.2 var(--body); animation: bob 9s ease-in-out infinite; }
.price-tag { right: -22px; top: 9%; padding: 14px 18px; display: grid; gap: 2px; animation: bob 11s ease-in-out -3s infinite; }
.price-tag strong { font: 800 28px/1 var(--display); letter-spacing: -.03em; } .price-tag span { font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.pulse i { position: absolute; inset: -6px; border-radius: 50%; border: 1px solid #fff; animation: ping 2.6s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; display: grid; justify-items: center; gap: 8px; font: 500 10.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.scroll-cue span { width: 1px; height: 34px; background: linear-gradient(var(--ink-3), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Бегущая строка и заявление */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 18px; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 46s linear infinite; font: 500 13px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky-3); }
@keyframes marquee { to { transform: translateX(-50%); } }
.statement { padding-block: clamp(90px, 13vw, 190px); }
.statement-text { font: 700 clamp(1.7rem, 4.3vw, 3.7rem)/1.14 var(--display); letter-spacing: -.03em; max-width: 21ch; text-wrap: balance; }
.statement-text span { display: inline-block; }
.statement .mono { display: block; margin-bottom: 26px; }

/* Как это работает */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.how-visual { position: sticky; top: 96px; }
.how-panel { position: relative; aspect-ratio: 1 / .92; overflow: hidden; }
.how-panel canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.how-meta { position: absolute; left: 22px; right: 22px; top: 18px; display: flex; justify-content: space-between; }
.how-dots { position: absolute; left: 22px; bottom: 20px; display: flex; gap: 6px; }
.how-dots i { width: 22px; height: 3px; border-radius: 2px; background: var(--line); transition: background .5s, width .5s var(--ease); }
.how-dots i.on { width: 44px; background: var(--accent); }
.how-step { min-height: 62vh; display: grid; align-content: center; gap: 14px; padding-block: 28px; opacity: .32; transition: opacity .6s var(--ease); }
.how-step.active { opacity: 1; }
.how-step .num { color: var(--accent); }
.how-step h3 { font-size: clamp(1.5rem, 2.5vw, 2.15rem); font-weight: 800; letter-spacing: -.025em; }
.how-step p { color: var(--ink-2); max-width: 46ch; }
.note { display: flex; gap: 14px; align-items: flex-start; margin-top: 36px; padding: 20px 24px; border-radius: 20px; color: var(--ink-2); font-size: 15.5px; max-width: 760px; }
.note svg { flex: none; margin-top: 3px; color: var(--accent); }

/* Ритуалы */
.ritual-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.breathe { position: sticky; top: 96px; padding: 30px; display: grid; justify-items: center; gap: 18px; text-align: center; }
.orb { position: relative; width: min(100%, 250px); aspect-ratio: 1; display: grid; place-items: center; --b: 0; --tap: 0; }
.orb i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--accent); opacity: calc(.14 + var(--b) * .5); transform: scale(calc(.5 + var(--b) * .5)); }
.orb i:nth-child(2) { transform: scale(calc(.4 + var(--b) * .42)); opacity: calc(.2 + var(--b) * .4); } .orb i:nth-child(3) { transform: scale(calc(.3 + var(--b) * .34)); }
.orb .core { width: 36%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #fff, var(--sky-3) 45%, var(--sky-1)); transform: scale(calc(.72 + var(--b) * .62 + var(--tap) * .07)); box-shadow: 0 0 calc(20px + var(--b) * 60px) color-mix(in srgb, var(--sky-3) 70%, transparent); }
.breathe-label { font: 700 1.25rem/1.2 var(--display); min-height: 1.6em; }
.breathe-sub { font-size: 13.5px; color: var(--ink-3); max-width: 30ch; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--accent-soft); gap: 2px; flex-wrap: wrap; justify-content: center; }
.seg button { border: 0; background: transparent; padding: 9px 14px; border-radius: 999px; font: 600 13px/1 var(--body); color: var(--ink-2); cursor: pointer; transition: background .3s, color .3s; }
.seg button[aria-pressed="true"] { background: var(--glass-strong); color: var(--ink); box-shadow: 0 6px 16px -10px rgba(10, 30, 70, .6); }
.player { width: 100%; display: grid; gap: 6px; }
.track { height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; } .track i { display: block; height: 100%; width: 0; background: var(--accent); }
.times { display: flex; justify-content: space-between; font: 500 11.5px/1 var(--mono); color: var(--ink-3); }
.icon-btn { width: 62px; height: 62px; border-radius: 50%; border: 0; background: var(--accent); color: var(--bg); display: grid; place-items: center; cursor: pointer; box-shadow: 0 16px 30px -14px var(--accent); transition: transform .4s var(--ease); }
.icon-btn:hover { transform: scale(1.06); } .icon-btn .i-stop, .icon-btn[aria-pressed="true"] .i-play { display: none; } .icon-btn[aria-pressed="true"] .i-stop { display: block; }
.ritual { display: grid; grid-template-columns: minmax(0, 1fr) 132px auto; gap: 8px 22px; align-items: center; padding: 24px 6px; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease), background .5s; border-radius: 14px; }
.ritual:first-child { border-top: 1px solid var(--line); }
.ritual:hover { padding-inline: 18px; background: var(--glass); }
.ritual p { color: var(--ink-2); font-size: 15.5px; margin-top: 4px; }
.spark { width: 132px; height: 34px; color: var(--accent); overflow: visible; } .spark path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.len { color: var(--ink-3); white-space: nowrap; justify-self: end; }

/* Моменты: горизонтальная лента */
.moments-sec { overflow: hidden; }
.moments-viewport { padding-left: var(--gutter); padding-right: var(--gutter-r); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.moments-viewport::-webkit-scrollbar { display: none; }
.moments-track { display: flex; gap: 20px; width: max-content; padding-block: 8px 30px; }
.moment { scroll-snap-align: center; width: min(78vw, 400px); min-height: 400px; padding: 28px; display: grid; align-content: space-between; gap: 22px; position: relative; overflow: hidden; }
.moment::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9; background: radial-gradient(120% 80% at 80% 0%, var(--tone, var(--sky-4)), transparent 62%); }
.moment .top { display: flex; justify-content: space-between; align-items: flex-start; }
.moment .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--glass-strong); color: var(--accent); border: 1px solid var(--glass-edge); }
.moment h3 { font-size: 1.55rem; font-weight: 800; letter-spacing: -.025em; margin-bottom: 10px; }
.moment p { color: var(--ink-2); font-size: 15.5px; }
@media (max-height: 780px) and (min-width: 900px) { .moment { min-height: 320px; } }
.moments-hint { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.moments-bar { flex: 1; max-width: 220px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; } .moments-bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(.16); }

/* Дизайн */
.design-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.stage { position: relative; padding: 26px; aspect-ratio: 1 / .78; display: grid; place-items: center; perspective: 900px; }
.stage svg { width: 100%; height: auto; color: var(--ink); transform-style: preserve-3d; will-change: transform; }
.strap-fill { fill: var(--strap); transition: fill .7s var(--ease); } .capsule-fill { fill: var(--capsule); transition: fill .7s var(--ease); }
.stage .wave { stroke: var(--wave); transition: stroke .7s var(--ease); animation: weave 7s ease-in-out infinite; } .stage .wave:nth-of-type(2) { animation-delay: -2.3s; } .stage .wave:nth-of-type(3) { animation-delay: -4.6s; }
.stage .piping { stroke: var(--piping); transition: stroke .7s var(--ease); }
@keyframes weave { 0%, 100% { transform: translateX(0); opacity: .7; } 50% { transform: translateX(-12px); opacity: 1; } }
.stage-label { position: absolute; left: 26px; bottom: 22px; display: grid; gap: 4px; } .stage-label strong { font: 800 1.3rem/1 var(--display); } .stage-label span { font: 500 11.5px/1 var(--mono); color: var(--ink-3); letter-spacing: .06em; }
.swatch-group { margin-top: 26px; display: grid; gap: 12px; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 8px 18px -10px rgba(10, 30, 70, .6); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.swatch:hover { transform: translateY(-3px) scale(1.06); } .swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); }
.specs { margin-top: 28px; display: grid; gap: 12px; } .specs li { display: flex; gap: 12px; color: var(--ink-2); font-size: 15.5px; } .specs svg { flex: none; margin-top: 5px; color: var(--accent); }
.modules { margin-top: clamp(36px, 5vw, 64px); padding: 28px 32px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 30px; align-items: center; }
.modules .price { font: 800 clamp(2.6rem, 5vw, 3.6rem)/1 var(--display); letter-spacing: -.04em; color: var(--accent); } .modules .price small { display: block; font: 500 11.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.modules p { color: var(--ink-2); margin-top: 6px; font-size: 15.5px; }

/* Принципы и раскрывающееся фото */
.p-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.p-item { padding: 26px; display: grid; gap: 12px; align-content: start; } .p-item svg { color: var(--accent); } .p-item p { color: var(--ink-2); font-size: 15px; }
.expand { height: 210vh; padding: 0; }
.expand-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.expand-frame { position: absolute; inset: 0; clip-path: inset(15% 20% 15% 20% round 32px); will-change: clip-path; }
.expand-frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.expand-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 26, 54, .62), transparent 55%); }
.expand-caption { position: relative; z-index: 1; align-self: end; justify-self: start; padding: 0 var(--gutter-r) clamp(40px, 8vh, 90px) var(--gutter); color: #fff; max-width: 900px; }
.expand-caption p { font: 800 clamp(1.8rem, 4.6vw, 3.9rem)/1.04 var(--display); letter-spacing: -.035em; text-wrap: balance; } .expand-caption .mono { color: rgba(255, 255, 255, .8); margin-bottom: 16px; display: block; }

/* Таблицы */
.table-wrap { overflow-x: auto; border-radius: 24px; }
table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15.5px; }
th, td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 500 12px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
tbody th { font-weight: 600; color: var(--ink-2); width: 26%; } tbody tr:last-child > * { border-bottom: 0; }
.us { background: color-mix(in srgb, var(--accent-soft) 60%, transparent); color: var(--ink); font-weight: 500; } thead .us { color: var(--accent); }
.yes { color: var(--ok); font-weight: 600; } .dash { color: var(--ink-3); }
.footnote { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); }

/* Тарифы */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.card { position: relative; overflow: hidden; padding: 30px; display: flex; flex-direction: column; gap: 16px; --mx: 50%; --my: 0%; will-change: transform; }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--sky-3) 38%, transparent), transparent 62%); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card.main { background: linear-gradient(160deg, var(--sky-2), var(--sky-1)); color: #fff; border-color: rgba(255, 255, 255, .35); }
.card .tag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; background: var(--accent-soft); color: var(--accent); }
.card.main .tag { background: rgba(255, 255, 255, .2); color: #fff; }
.card h3 { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; }
.amount { font: 800 clamp(2.8rem, 4.6vw, 3.8rem)/1 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; } .amount small { font: 500 14px/1 var(--body); letter-spacing: 0; opacity: .7; }
.card ul { display: grid; gap: 11px; margin-block: 6px 12px; flex: 1; align-content: start; } .card li { display: flex; gap: 11px; font-size: 15px; color: var(--ink-2); } .card.main li { color: rgba(255, 255, 255, .92); }
.card li svg { flex: none; margin-top: 5px; color: var(--accent); } .card.main li svg { color: #fff; }
.card.main .btn-primary { background: #fff; color: #1A2B44; box-shadow: none; }
.loyalty { margin-top: 20px; padding: 28px 30px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: center; }
.loyalty p { color: var(--ink-2); font-size: 15.5px; } .loyalty strong { display: block; font: 800 1.45rem/1.15 var(--display); letter-spacing: -.02em; color: var(--ink); margin-bottom: 8px; }
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; height: 150px; }
.rung { display: grid; grid-template-rows: 1fr auto; gap: 8px; height: 100%; text-align: center; }
.rung i { align-self: end; display: block; border-radius: 12px 12px 4px 4px; background: linear-gradient(var(--sky-3), var(--accent)); height: var(--h); transform-origin: 50% 100%; }
.rung b { position: relative; top: -6px; font: 800 1.05rem/1 var(--display); color: var(--accent); align-self: end; } .rung span { font: 500 10.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.rung .col { display: grid; align-content: end; height: 100%; }
.fp { margin-top: 26px; }

/* Вопросы */
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq-grid .sec-head { position: sticky; top: 110px; margin: 0; }
details { border-bottom: 1px solid var(--line); } details:first-child { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font: 700 1.08rem/1.3 var(--display); letter-spacing: -.01em; transition: color .3s; }
summary::-webkit-details-marker { display: none; } summary:hover { color: var(--accent); }
summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; transition: transform .5s var(--ease), border-color .3s; }
details[open] > summary::after { transform: rotate(135deg); border-color: var(--accent); }
details p { padding: 0 60px 24px 4px; color: var(--ink-2); font-size: 16px; }

/* Лист ожидания */
.waitlist { padding-bottom: clamp(60px, 8vw, 110px); }
.wl { position: relative; overflow: hidden; isolation: isolate; border-radius: 40px; padding: clamp(28px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; color: #fff; background: var(--sky-1); }
.wl canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; } .wl::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, color-mix(in srgb, var(--sky-1) 72%, transparent), color-mix(in srgb, var(--sky-1) 20%, transparent)); }
.wl .eyebrow { color: rgba(255, 255, 255, .8); } .wl h2 { margin: 16px 0 16px; } .wl-copy p:last-child { color: rgba(255, 255, 255, .9); max-width: 44ch; }
form { display: grid; gap: 14px; padding: 26px; border-radius: 28px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .4); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; min-width: 0; } .field label { font: 500 12.5px/1.2 var(--body); color: rgba(255, 255, 255, .88); } .field label span { opacity: .7; }
.field input, .field select { width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .92); color: #1A2B44; font: 500 16px/1 var(--body); transition: box-shadow .3s, border-color .3s; }
.field input:focus, .field select:focus { outline: 0; border-color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .3); } .field [aria-invalid="true"] { border-color: #FFB4A8; box-shadow: 0 0 0 4px rgba(255, 140, 120, .35); }
form .btn { background: #fff; color: #1A2B44; margin-top: 4px; } .form-msg { min-height: 1.2em; font-size: 14px; } .form-msg.err { color: #FFD9D2; }
.consent { font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .92); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #fff; }
.check input[aria-invalid="true"] { outline: 3px solid rgba(255, 140, 120, .7); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form .btn[disabled] { opacity: .6; cursor: wait; }
.success { display: none; grid-column: 1 / -1; justify-items: center; text-align: center; gap: 14px; padding: 40px 10px; } .success h3 { font-size: 2rem; font-weight: 800; }
.wl.done form, .wl.done .wl-copy { display: none; } .wl.done .success { display: grid; }

footer { padding-block: 36px 60px; color: var(--ink-3); font-size: 13.5px; }
footer .wrap { display: grid; gap: 10px; } .disclaimer { color: var(--ink-2); font-weight: 600; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; margin-top: 10px; border-top: 1px solid var(--line); }

/* До запуска анимации первый экран скрыт; класс pre снимается скриптом или по таймеру, так что без JS всё видно */
html.pre .hero [data-intro], html.pre .hero [data-word], html.pre .hero-media, html.pre .nav-inner { opacity: 0; }
/* Запасное появление блоков, если GSAP не загрузился */
html.io [data-reveal], html.io [data-stagger] > * { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.io [data-reveal].in, html.io [data-stagger] > .in { opacity: 1; transform: none; }

/* Без прокруточной анимации фото показывается сразу целиком; flat — страница без собственной прокрутки (окно растянуто по содержимому) */
html.static .expand { height: auto; } html.static .expand-sticky { position: relative; height: min(100svh, 760px); } html.static .expand-frame { clip-path: none; }
html.flat .how-step { min-height: 0; opacity: 1; } html.flat .how-visual, html.flat .breathe, html.flat .faq-grid .sec-head { position: static; }

/* Курсор-линза (только мышь) */
.lens { position: fixed; left: 0; top: 0; z-index: 90; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; pointer-events: none; opacity: 0; border: 1px solid rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(1.5px) saturate(1.5) brightness(1.08); backdrop-filter: blur(1.5px) saturate(1.5) brightness(1.08); box-shadow: 0 10px 26px -12px rgba(10, 30, 70, .7), inset 1.5px 1.5px 0 rgba(255, 255, 255, .55); will-change: transform; }

@media (max-width: 980px) {
  .nav-links { display: none; } .nav-actions { margin-left: auto; }
  .hero-grid, .how-grid, .ritual-grid, .design-grid, .faq-grid, .wl, .loyalty { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; } .hero-media { justify-self: center; width: min(78%, 340px); margin-top: 14px; } .callout { left: -8%; } .price-tag { right: -8%; }
  .how-visual { top: 76px; z-index: 2; } .how-panel { aspect-ratio: 1 / .62; } .how-step { min-height: 38vh; align-content: start; padding-block: 22px; }
  .breathe, .faq-grid .sec-head { position: static; }
  .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .price-grid { grid-template-columns: minmax(0, 1fr); }
  .scroll-cue { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; } .p-grid, .row2 { grid-template-columns: minmax(0, 1fr); } .modules { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ritual { grid-template-columns: minmax(0, 1fr) auto; } .spark { grid-column: 1 / -1; grid-row: 2; justify-self: start; margin-top: 6px; } .len { grid-row: 1; grid-column: 2; align-self: start; padding-top: 5px; }
  .breathe { padding: 26px 20px; } .seg button { padding: 9px 11px; font-size: 12.5px; }
  details p { padding-right: 8px; } .expand-frame { clip-path: inset(22% 9% 22% 9% round 28px); } .expand-caption { padding-bottom: calc(10svh + 26px); } .wl { border-radius: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } .halo i, .callout, .price-tag, .pulse i, .scroll-cue span, .marquee-track, .stage .wave { animation: none; }
  .expand { height: auto; } .expand-sticky { position: relative; height: 70vh; } .expand-frame { clip-path: none; } .how-step { opacity: 1; min-height: 0; }
}
