:root {
  --bg: #0A0A0A;
  --card: #141414;
  --card-2: #1C1C1C;
  --line: #2B2B2B;
  --ink: #F5F5F0;
  --ink-2: #A8A8A0;
  --accent: #FFD400;
  --accent-hi: #FFE14D;
  --on-accent: #0A0A0A;
  --display: 'Unbounded', 'Onest', system-ui, sans-serif;
  --text: 'Onest', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r: clamp(18px, 2vw, 26px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: #B9AE98 var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.5 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ul, ol, dl, dd, fieldset { margin: 0; padding: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
svg { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
[hidden] { display: none !important; }
em { font-style: normal; color: var(--accent); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -80px; z-index: 60; padding: 12px 18px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-weight: 700; }
.skip:focus { top: 16px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 16px; font-weight: 700; font-size: .9375rem; line-height: 1.2; text-align: center; transition: translate .4s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .4s var(--ease); }
.btn svg { width: 18px; height: 18px; transition: translate .4s var(--ease); }
.btn:hover { translate: 0 -3px; }
.btn:hover svg { translate: 2px -2px; }
.btn:active { translate: 0; }
.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 16px 34px -16px rgba(201, 162, 90, .75); }
.btn--accent:hover { background: var(--accent-hi); }
.btn--ghost { border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--dark { background: var(--on-accent); color: #fff; }
.btn--s { min-height: 44px; padding: 0 18px; font-size: .875rem; border-radius: 14px; }
.btn--l { min-height: 60px; padding: 0 28px; font-size: 1rem; border-radius: 20px; }
.btn--full { width: 100%; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 30; background: rgba(244, 239, 230, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 800 1.125rem/1 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.brand__mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 42%, 62% 42%, 62% 100%, 38% 100%, 38% 42%, 0 42%); }
.top__nav { display: flex; gap: 4px; }
.top__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; font-weight: 500; font-size: .9375rem; color: var(--ink-2); transition: color .2s, background-color .2s; }
.top__nav a:hover { color: var(--ink); background: var(--card-2); }

/* Первый экран */
.hero { position: relative; padding-block: clamp(32px, 5vw, 72px) clamp(48px, 7vw, 96px); background: radial-gradient(820px 520px at 88% 8%, rgba(201, 162, 90, .16), transparent 70%) no-repeat; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(18px, 2.2vw, 28px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
h1 { font: 800 clamp(1.875rem, 4.6vw, 4rem)/1.04 var(--display); letter-spacing: -.035em; }
.lead { max-width: 54ch; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--ink-2); }

/* Телефон */
.device { position: relative; display: flex; justify-content: center; padding-block: 12px; }
.phone { position: relative; width: min(300px, 74vw); aspect-ratio: 9 / 18.5; padding: 12px; border-radius: 46px; background: #1A1A1A; border: 1px solid #B9AE98; box-shadow: 0 60px 100px -40px rgba(0, 0, 0, .9), 0 0 0 10px #0E0E0E, 0 0 90px -20px rgba(201, 162, 90, .35); rotate: 4deg; animation: bob 7s ease-in-out infinite alternate; }
@keyframes bob { from { translate: 0 -6px; } to { translate: 0 8px; } }
.phone__bar { position: absolute; z-index: 2; left: 50%; top: 20px; translate: -50% 0; width: 84px; height: 24px; border-radius: 20px; background: #000; }
.screen { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 52px 14px 14px; border-radius: 36px; background: #0A0A0A; overflow: hidden; }
.s-top { display: flex; align-items: baseline; justify-content: space-between; }
.s-top b { font: 700 1.125rem/1 var(--display); letter-spacing: -.02em; }
.s-top span { font-size: .6875rem; color: var(--ink-2); }
.s-ring { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 20px; background: var(--card); }
.s-ring svg { width: 74px; height: 74px; rotate: -90deg; stroke-width: 12; stroke: var(--card-2); }
.s-ring__v { stroke: var(--accent); stroke-dasharray: 314; stroke-dashoffset: 56; animation: fill 2.4s var(--ease) backwards .4s; }
@keyframes fill { from { stroke-dashoffset: 314; } }
.s-ring b { display: block; font: 700 1.5rem/1 var(--display); }
.s-ring small { font-size: .6875rem; color: var(--ink-2); }
.s-card { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 12px; border-radius: 16px; background: var(--card); font-size: .75rem; color: var(--ink-2); }
.s-card b { font: 700 .875rem/1 var(--display); color: var(--ink); }
.s-card i { grid-column: 1 / -1; height: 5px; border-radius: 5px; background: linear-gradient(90deg, var(--accent) var(--w), var(--card-2) var(--w)); }
.s-bars { flex: 1; display: flex; align-items: flex-end; gap: 6px; min-height: 40px; padding: 10px 12px; border-radius: 16px; background: var(--card); }
.s-bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: #B9AE98; animation: grow 1.4s var(--ease) backwards; }
.s-bars i:nth-child(6) { background: var(--accent); }
.s-bars i:nth-child(n+2) { animation-delay: .1s; } .s-bars i:nth-child(n+4) { animation-delay: .2s; } .s-bars i:nth-child(n+6) { animation-delay: .3s; }
@keyframes grow { from { height: 0; } }
.s-btn { padding: 12px; border-radius: 14px; background: var(--accent); color: var(--on-accent); text-align: center; font-weight: 700; font-size: .8125rem; }
.float { position: absolute; display: flex; flex-direction: column; gap: 3px; padding: 12px 16px; border-radius: 16px; background: rgba(28, 28, 28, .92); border: 1px solid #B9AE98; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 24px 40px -22px #000; animation: bob 6s ease-in-out infinite alternate-reverse; }
.float small { font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.float b { font-weight: 700; font-size: .875rem; }
.float--a { left: 0; top: 16%; }
.float--a span { position: absolute; right: 12px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.float--b { right: 0; top: 46%; background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.float--b small { color: rgba(10, 10, 10, .65); }
.float--c { left: 4%; bottom: 8%; animation-duration: 8s; }

.usp, .grid { display: grid; gap: 12px; }
.usp { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(36px, 5vw, 72px); }
.usp li { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.usp b { font: 700 clamp(1.0625rem, 1.6vw, 1.375rem)/1.1 var(--display); letter-spacing: -.02em; color: var(--accent); }
.usp span { font-size: .9375rem; color: var(--ink-2); }
.usp .is-accent { background: var(--accent); border-color: var(--accent); }
.usp .is-accent b, .usp .is-accent span { color: var(--on-accent); }

/* Секции */
.sec { padding-block: clamp(56px, 8vw, 112px); }
.sec--panel { background: #0E0E0E; border-block: 1px solid var(--line); }
section[id] { scroll-margin-top: calc(72px + 24px - clamp(56px, 8vw, 112px)); }
.head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: 16px clamp(24px, 5vw, 72px); margin-bottom: clamp(24px, 3.6vw, 48px); }
.head p { color: var(--ink-2); max-width: 52ch; }
h2 { font: 800 clamp(1.5rem, 3.2vw, 2.75rem)/1.08 var(--display); letter-spacing: -.03em; }
h3 { font: 700 1.125rem/1.2 var(--display); letter-spacing: -.02em; }

.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid li { display: flex; flex-direction: column; gap: 10px; min-height: 220px; padding: 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: translate .45s var(--ease), border-color .25s; }
.grid li:hover { translate: 0 -6px; border-color: var(--accent); }
.grid svg { width: 36px; height: 36px; margin-bottom: auto; color: var(--accent); stroke-width: 1.5; }
.grid p { font-size: .9375rem; color: var(--ink-2); }

/* Работы */
.work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.work a { display: flex; flex-direction: column; height: 100%; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: translate .45s var(--ease), border-color .25s, box-shadow .45s var(--ease); }
.work a:hover { translate: 0 -6px; border-color: var(--accent); box-shadow: 0 30px 60px -34px rgba(201, 162, 90, .5); }
.work img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); transition: scale .8s var(--ease); }
.work a:hover img { scale: 1.04; }
.work div { position: relative; display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px; background: var(--card); }
.work b { font: 700 1.0625rem/1.2 var(--display); letter-spacing: -.02em; }
.work span { flex: 1; font-size: .9375rem; color: var(--ink-2); }
.work small { font-size: .8125rem; font-weight: 600; color: var(--accent); }

/* Процесс */
.path { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: p; }
.path li { counter-increment: p; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r); border: 1px solid var(--line); }
.path li::before { content: counter(p, decimal-leading-zero); font: 800 2rem/1 var(--display); letter-spacing: -.03em; color: var(--accent); }
.path span { align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: var(--card-2); font-size: .75rem; font-weight: 600; color: var(--ink-2); }
.path p { font-size: .9375rem; color: var(--ink-2); }
.path li:last-child { background: var(--card); }

/* Калькулятор */
.calc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 14px; align-items: start; }
.calc__q { display: flex; flex-direction: column; gap: 26px; padding: clamp(18px, 2.6vw, 32px); border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
legend { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-weight: 700; font-size: 1.0625rem; }
legend > span { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--card-2); font: 700 .8125rem/1 var(--display); color: var(--accent); }
legend small { font-weight: 400; font-size: .8125rem; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: .9375rem; font-weight: 500; transition: background-color .2s, border-color .2s, color .2s, translate .3s var(--ease); }
.chips label:hover span { border-color: #B9AE98; translate: 0 -2px; }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 700; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.calc__res { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 2.8vw, 34px); border-radius: var(--r); background: var(--accent); color: var(--on-accent); box-shadow: 0 40px 80px -44px rgba(201, 162, 90, .8); }
.calc__label { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.calc__sum { font: 800 clamp(1.5rem, 2.6vw, 2.25rem)/1.1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc__facts { display: flex; flex-direction: column; border-top: 1px solid rgba(10, 10, 10, .2); }
.calc__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(10, 10, 10, .2); font-size: .9375rem; }
.calc__facts dt { opacity: .7; }
.calc__facts dd { font-weight: 700; text-align: right; }
.calc__note { font-size: .8125rem; line-height: 1.45; opacity: .8; }
.calc__res :focus-visible { outline-color: var(--on-accent); }

/* Форматы */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.plan { display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 2.6vw, 32px); border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.plan__for { color: var(--ink-2); }
.plan__num { display: flex; flex-direction: column; gap: 4px; padding-block: 16px; border-block: 1px solid var(--line); }
.plan__num b { font: 800 clamp(1.375rem, 2.2vw, 1.875rem)/1.1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan__num span { font-size: .875rem; color: var(--ink-2); }
.plan ul { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .9375rem; }
.plan li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); stroke-width: 2.6; }
.plan--accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.plan--accent .plan__for, .plan--accent .plan__num span { color: rgba(10, 10, 10, .72); }
.plan--accent .plan__num { border-color: rgba(10, 10, 10, .2); }
.plan--accent li svg { color: var(--on-accent); }
.plan--accent :focus-visible { outline-color: var(--on-accent); }

/* Бегущая строка технологий */
.stack { padding-block: 22px; border-block: 1px solid var(--line); overflow: hidden; }
.stack__line { display: flex; gap: 40px; width: max-content; animation: run 38s linear infinite; }
.stack__line span { font: 800 clamp(1.25rem, 3vw, 2.25rem)/1 var(--display); letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px #B9AE98; white-space: nowrap; }
.stack__line span:nth-child(3n) { color: var(--accent); -webkit-text-stroke: 0; }
@keyframes run { to { transform: translateX(-50%); } }

/* Вопросы */
.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(20px, 5vw, 72px); align-items: start; }
.faq .head { display: block; margin: 0; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
details { border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; }
summary::-webkit-details-marker { display: none; }
summary svg { width: 20px; height: 20px; color: var(--ink-2); transition: rotate .4s var(--ease), color .2s; }
details[open] summary svg { rotate: 45deg; color: var(--accent); }
details p { padding: 0 22px 22px; max-width: 66ch; color: var(--ink-2); }

/* Заявка */
.final { background: radial-gradient(760px 460px at 8% 100%, rgba(201, 162, 90, .14), transparent 70%) no-repeat; }
.final__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.final__copy { display: flex; flex-direction: column; gap: 18px; }
.final__copy > p { color: var(--ink-2); font-size: 1.125rem; }
.final__list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.final__list li { display: flex; gap: 12px; }
.final__list svg { width: 22px; height: 22px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--accent); color: var(--on-accent); stroke-width: 3; }
.form { position: relative; display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 3vw, 36px); border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.line { display: flex; flex-direction: column; gap: 8px; font-size: .875rem; font-weight: 600; }
.line input, .line select, .line textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); font-size: 1rem; font-weight: 400; caret-color: var(--accent); transition: border-color .2s; }
.line textarea { resize: vertical; }
.line ::placeholder { color: #7A7A72; }
.line :is(input, select, textarea):focus { outline: none; border-color: var(--accent); }
.line [aria-invalid="true"] { border-color: #FF6A5C; }
.line em { font-style: normal; font-weight: 500; color: #FF9C8E; }
.note { font-size: .8125rem; color: var(--ink-2); }
.form__done { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-block: 24px; }
.form__done svg { width: 48px; height: 48px; padding: 10px; border-radius: 50%; background: var(--accent); color: var(--on-accent); stroke-width: 3; }

.foot { border-top: 1px solid var(--line); }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 28px 36px; font-size: .875rem; color: var(--ink-2); }
.foot .brand { color: var(--ink); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot__nav a { display: inline-flex; align-items: center; min-height: 44px; }
.foot__nav a:hover { color: var(--accent); }

@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .9s var(--ease) backwards; }
  .hero__copy > :nth-child(2) { animation-delay: .08s; } .hero__copy > :nth-child(3) { animation-delay: .16s; } .hero__copy > :nth-child(4) { animation-delay: .24s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

@media (max-width: 1080px) {
  .usp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid, .work { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .top__nav { display: none; }
  .hero__grid, .head, .calc, .faq, .final__grid { grid-template-columns: 1fr; }
  .calc__res { position: static; }
  .device { margin-top: 12px; }
  .float--a { left: 2%; } .float--b { right: 2%; }
}
@media (max-width: 560px) {
  .usp, .grid, .work, .path { grid-template-columns: 1fr; }
  .grid li { min-height: 0; }
  .grid svg { margin-bottom: 8px; }
  .row .btn { flex: 1 1 100%; }
  .btn--s { padding: 0 14px; }
  .float { padding: 10px 12px; }
  .float--c { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}


/* ==========================================================================
   ШТИЛЬ — частная резиденция восстановления. Дополнения к базовым стилям.
   ========================================================================== */
.concept { padding: 10px var(--gutter); background: var(--card-2); border-bottom: 1px solid var(--line); text-align: center; font-size: .8125rem; color: var(--ink-2); }
.brand__mark--sun { clip-path: none; border-radius: 50% 50% 0 0; height: 16px; align-self: center; box-shadow: 0 6px 0 -3px var(--accent); }
.top .btn svg, .form .btn svg:first-child { width: 16px; height: 16px; }
.btn:hover svg:has(use[href="#i-lock"]) { translate: none; }

/* Первый экран: солнце над спокойной водой */
.hero--sea { background: none; padding-top: clamp(40px, 7vw, 104px); }
.sea { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.sea__sun { position: absolute; left: 50%; top: clamp(260px, 44vw, 520px); width: clamp(320px, 52vw, 760px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #FFE97A, #FFD400 45%, #C99A00); clip-path: inset(0 0 50% 0); opacity: .95; animation: dawn 3.2s var(--ease) backwards; }
@keyframes dawn { from { translate: -50% -30%; opacity: 0; } }
.sea__line { position: absolute; left: 0; right: 0; top: clamp(260px, 44vw, 520px); height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 162, 90, .7) 30%, rgba(201, 162, 90, .7) 70%, transparent); }
.sea__glow { position: absolute; left: 50%; top: clamp(260px, 44vw, 520px); width: clamp(260px, 44vw, 640px); height: clamp(180px, 26vw, 360px); translate: -50% 0; background: repeating-linear-gradient(180deg, rgba(201, 162, 90, .32) 0 2px, transparent 2px 14px); -webkit-mask-image: radial-gradient(60% 100% at 50% 0, #000, transparent 75%); mask-image: radial-gradient(60% 100% at 50% 0, #000, transparent 75%); animation: shimmer 6s ease-in-out infinite alternate; }
@keyframes shimmer { from { opacity: .55; transform: scaleX(.94); } to { opacity: 1; transform: scaleX(1.04); } }
.hero__solo { position: relative; display: flex; flex-direction: column; align-items: center; gap: clamp(18px, 2.2vw, 28px); max-width: 980px; text-align: center; }
.hero__solo h1 {  }
.hero__solo .lead { max-width: 62ch; color: #D8D8D0;  }
.hero__solo .row { justify-content: center; }
.hero__solo .btn--ghost { background: rgba(10, 10, 10, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero__note { display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--ink-2);  }
.hero__note svg { width: 18px; height: 18px; color: var(--accent); }
.hero--sea .usp { position: relative; }
.hero--sea .usp li { background: rgba(251, 248, 242, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero--sea .usp .is-accent { background: var(--accent); }

/* С чем работаем */
.grid li { min-height: 170px; justify-content: flex-end; }
.grid .is-cta { padding: 0; background: var(--accent); border-color: var(--accent); }
.grid .is-cta a { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; height: 100%; padding: 24px; color: var(--on-accent); font: 700 1.125rem/1.2 var(--display); letter-spacing: -.02em; }
.grid .is-cta svg { width: 28px; height: 28px; margin: 0; align-self: flex-end; color: var(--on-accent); stroke-width: 2.2; order: -1; }
.grid .is-cta:hover { border-color: var(--accent-hi); }

.path--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.path--3 li { background: var(--card); }
.path--3 li:last-child { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.path--3 li:last-child::before, .path--3 li:last-child p { color: var(--on-accent); }
.path--3 li:last-child span { background: rgba(10, 10, 10, .14); color: var(--on-accent); }

/* Резиденция */
.rooms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rooms li { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 180px; padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); transition: translate .45s var(--ease), border-color .25s; }
.rooms li:hover { translate: 0 -6px; border-color: var(--accent); }
.rooms b { font: 700 1.0625rem/1.2 var(--display); letter-spacing: -.02em; }
.rooms span { font-size: .9375rem; color: var(--ink-2); }
.rooms__big { grid-column: span 2; grid-row: span 2; background: radial-gradient(120% 90% at 100% 0, rgba(201, 162, 90, .28), transparent 60%), var(--card) !important; }
.rooms__big b { font-size: clamp(1.25rem, 2.2vw, 1.875rem); }
.rooms__big span { max-width: 44ch; font-size: 1.0625rem; }

/* Команда */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: t; }
.team li { counter-increment: t; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.team li::before { content: counter(t, decimal-leading-zero); grid-row: span 2; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--accent); font: 700 .875rem/1 var(--display); color: var(--accent); }
.team b { font-weight: 700; }
.team span { font-size: .9375rem; color: var(--ink-2); }

/* Штиль Live */
.shows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.shows li { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.shows__pic { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; margin-bottom: 8px; border-radius: calc(var(--r) - 8px); }
.shows__pic svg { width: 64px; height: 64px; padding: 18px; border-radius: 50%; background: var(--on-accent); color: var(--accent); fill: currentColor; stroke: none; }
.shows__pic--a { background: repeating-linear-gradient(135deg, #FFD400 0 18px, #FFE14D 18px 36px); }
.shows__pic--b { background: radial-gradient(circle at 50% 110%, #FFD400 0 34%, #1C1C1C 34.5%); border: 1px solid var(--line); }
.shows__pic--b svg, .shows__pic--c svg { background: var(--accent); color: var(--on-accent); }
.shows__pic--c { background: repeating-radial-gradient(circle at 50% 50%, #1C1C1C 0 16px, #262626 16px 17px); border: 1px solid var(--line); }
.shows small { padding-inline: 8px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.shows b { padding-inline: 8px; font: 700 1.25rem/1.15 var(--display); letter-spacing: -.02em; }
.shows span { flex: 1; padding-inline: 8px; font-size: .9375rem; color: var(--ink-2); }
.shows em { align-self: flex-start; margin: 6px 8px 0; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .75rem; font-weight: 600; color: var(--ink-2); }
.rules { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: 16px 40px; margin-top: 14px; padding: clamp(20px, 3vw, 36px); border-radius: var(--r); border: 1px solid var(--accent); background: rgba(201, 162, 90, .06); }
.rules ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.rules li { display: flex; gap: 12px; font-size: .9375rem; }
.rules svg { width: 20px; height: 20px; margin-top: 2px; color: var(--accent); stroke-width: 2.6; }

.plan__num b { font-size: clamp(1.5rem, 2.6vw, 2.25rem); }
.line small { font-weight: 400; color: var(--ink-2); }
.urgent { display: flex; gap: 12px; align-items: flex-start; margin-top: 8px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); font-size: .9375rem; color: var(--ink) !important; }
.urgent svg { width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.urgent b { color: var(--accent); }
.foot__legal { display: flex; flex-wrap: wrap; gap: 6px 32px; padding-bottom: 32px; font-size: .8125rem; color: var(--ink-2); }

@media (max-width: 1080px) {
  .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team, .shows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .rooms, .team, .shows, .path--3, .rules ul { grid-template-columns: 1fr; }
  .rooms__big { grid-column: auto; grid-row: auto; }
  .rooms li { min-height: 0; }
  .top .btn span { display: none; }
  .top .btn { padding: 0 14px; }
}

/* Первый экран: текст сверху, под ним восход над линией горизонта */
.hero--sea { display: flex; flex-direction: column; }
.hero--sea > .hero__solo { order: 1; }
.hero--sea > .sea { order: 2; position: relative; inset: auto; overflow: visible; height: clamp(120px, 17vw, 230px); margin-top: clamp(20px, 3vw, 40px); }
.hero--sea > .wrap:last-child { order: 3; width: 100%; }
.sea__sun { top: auto; bottom: 0; width: clamp(240px, 34vw, 460px); aspect-ratio: 2 / 1; translate: -50% 0; border-radius: 999px 999px 0 0; clip-path: none; opacity: 1; background: radial-gradient(circle at 50% 100%, #FFF0A0, #FFD400 55%, #E0B400); box-shadow: 0 0 120px 10px rgba(201, 162, 90, .35); }
@keyframes dawn { from { translate: -50% 60%; opacity: 0; } }
.sea { clip-path: inset(-200px 0 0 0); }
.sea__line { top: auto; bottom: 0; }
.sea__glow { top: 100%; height: clamp(120px, 16vw, 220px); }
.hero--sea .usp { margin-top: clamp(28px, 4vw, 48px); }
.rooms__big { grid-row: span 3; }
.rooms li:last-child { grid-column: span 2; }
@media (max-width: 1080px) { .rooms__big { grid-row: auto; } .rooms li:last-child { grid-column: auto; } }

@media (max-width: 1180px) { .top__nav { display: none; } }


/* ==========================================================================
   ШТИЛЬ — премиальная светлая тема: слоновая кость, глубокий зелёный, золото.
   ========================================================================== */
:root {
  --bg: #F4EFE6;
  --card: #FBF8F2;
  --card-2: #EAE3D6;
  --line: #D9D0BF;
  --ink: #1C2620;
  --ink-2: #5A655E;
  --accent: #1F4A3C;
  --accent-hi: #2A6150;
  --on-accent: #F6F1E7;
  --gold: #A9803B;
  --display: 'Cormorant Garamond', 'Times New Roman', serif;
  --r: clamp(14px, 1.4vw, 20px);
  color-scheme: light;
}
html { scrollbar-color: #B9AE98 var(--bg); }
body { background: var(--bg); color: var(--ink); }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline-color: var(--accent); }
h1 { font: 600 clamp(2.5rem, 6.2vw, 5.25rem)/1 var(--display); letter-spacing: -.015em; }
h2 { font: 600 clamp(2rem, 4.2vw, 3.5rem)/1.04 var(--display); letter-spacing: -.01em; }
h3, .rooms b, .shows b, .work b { font: 600 1.375rem/1.15 var(--display); letter-spacing: 0; }
em { font-style: italic; color: var(--accent); }
.brand { font: 600 1.625rem/1 var(--display); letter-spacing: .14em; }
.brand__mark--sun { background: var(--gold); box-shadow: 0 6px 0 -3px var(--gold); }
.top { background: rgba(244, 239, 230, .9); border-color: var(--line); }
.top__nav a:hover { background: var(--card-2); }
.concept { background: var(--accent); color: var(--on-accent); border: 0; }
.btn { border-radius: 999px; font-weight: 600; }
.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 18px 34px -20px rgba(31, 74, 60, .7); }
.btn--accent:hover { background: var(--accent-hi); }
.btn--ghost { border-color: #B9AE98; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--dark { background: var(--on-accent); color: var(--accent); }
.btn--l, .btn--s { border-radius: 999px; }
.eyebrow { background: transparent; border-color: #B9AE98; color: var(--ink-2); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
.eyebrow i { background: var(--gold); box-shadow: none; }
.lead { color: var(--ink-2); }

.hero--sea { background: linear-gradient(180deg, #F4EFE6 0%, #EFE7D8 100%); }
.hero__solo h1 { text-shadow: none; }
.hero__solo .lead { color: var(--ink-2); text-shadow: none; }
.hero__solo .btn--ghost { background: rgba(251, 248, 242, .8); }
.hero__note { color: var(--ink-2); text-shadow: none; }
.hero__note svg { color: var(--gold); }
.sea__sun { background: radial-gradient(circle at 50% 100%, #F6E3B4, #D9B36A 55%, #B98F45); box-shadow: 0 0 140px 20px rgba(201, 162, 90, .45); }
.sea__line { background: linear-gradient(90deg, transparent, rgba(169, 128, 59, .8) 25%, rgba(169, 128, 59, .8) 75%, transparent); }
.sea__glow { background: repeating-linear-gradient(180deg, rgba(169, 128, 59, .4) 0 2px, transparent 2px 14px); }
.hero--sea .usp li { background: rgba(251, 248, 242, .94); border-color: var(--line); }
.usp b { font: 600 1.5rem/1.1 var(--display); letter-spacing: 0; color: var(--accent); }
.usp .is-accent, .hero--sea .usp .is-accent { background: var(--accent); border-color: var(--accent); }
.usp .is-accent b, .usp .is-accent span { color: var(--on-accent); }

.sec--panel { background: #EDE6D9; border-color: var(--line); }
.grid li, .rooms li, .team li, .shows li, .plan, .form, details, .path li { box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset; }
.grid li:hover, .rooms li:hover { border-color: var(--accent); }
.grid .is-cta { background: var(--accent); border-color: var(--accent); }
.grid .is-cta a { font: 600 1.5rem/1.15 var(--display); letter-spacing: 0; }
.path li::before { font: 600 2.75rem/1 var(--display); letter-spacing: 0; color: var(--gold); }
.path span { background: var(--card-2); }
.path--3 li:last-child { background: var(--accent); border-color: var(--accent); }
.path--3 li:last-child::before { color: #E3C68C; }
.path--3 li:last-child span { background: rgba(246, 241, 231, .16); }
.rooms__big { background: radial-gradient(120% 90% at 100% 0, rgba(201, 162, 90, .4), transparent 60%), var(--card) !important; }
.rooms__big b { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.team li::before { border-color: var(--gold); color: var(--gold); font: 600 1.25rem/1 var(--display); }
.shows__pic svg { background: var(--accent); color: var(--on-accent); }
.shows__pic--a { background: repeating-linear-gradient(135deg, #D9B36A 0 18px, #E6C88A 18px 36px); }
.shows__pic--b { background: radial-gradient(circle at 50% 110%, #D9B36A 0 34%, #EAE3D6 34.5%); }
.shows__pic--c { background: repeating-radial-gradient(circle at 50% 50%, #EAE3D6 0 16px, #D9D0BF 16px 17px); }
.shows small { color: var(--gold); }
.rules { border-color: var(--gold); background: rgba(201, 162, 90, .1); }
.rules svg, .plan li svg { color: var(--gold); }
.plan__num b { font: 600 clamp(2rem, 3.4vw, 3rem)/1 var(--display); letter-spacing: 0; }
.plan--accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.plan--accent .plan__for, .plan--accent .plan__num span { color: rgba(246, 241, 231, .78); }
.plan--accent .plan__num { border-color: rgba(246, 241, 231, .25); }
.plan--accent li svg { color: #E3C68C; }
details[open] summary svg { color: var(--gold); }
.final { background: linear-gradient(180deg, var(--bg), #EFE7D8); }
.final__list svg { background: var(--accent); color: var(--on-accent); }
.line input, .line select, .line textarea { background: #fff; border-color: var(--line); }
.line ::placeholder { color: #9A9486; }
.line em { color: #A33A2B; }
.line [aria-invalid="true"] { border-color: #B5462F; }
.form__done svg { background: var(--accent); color: var(--on-accent); }
.urgent svg, .urgent b { color: var(--accent); }
.foot__nav a:hover { color: var(--accent); }
.chips span { background: #fff; }

/* Программа выздоровления */
.weeks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.weeks li { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.weeks small { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); }
.weeks ul { display: flex; flex-direction: column; gap: 8px; }
.weeks ul li { display: block; padding: 0 0 0 16px; border: 0; background: none; position: relative; font-size: .9375rem; color: var(--ink-2); box-shadow: none; }
.weeks ul li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.weeks p { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 600; color: var(--accent); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.box { padding: clamp(20px, 2.8vw, 34px); border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.box h3 { margin-bottom: 16px; font-size: 1.75rem; }
.day { display: flex; flex-direction: column; }
.day li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: .9375rem; }
.day li:first-child { border-top: 0; }
.day time { font: 600 1.125rem/1.3 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.methods { display: flex; flex-direction: column; gap: 14px; }
.methods li { display: flex; flex-direction: column; gap: 4px; }
.methods b { font-weight: 700; }
.methods span { font-size: .9375rem; color: var(--ink-2); }
.honest { margin-top: 14px; padding: 18px 22px; border-radius: var(--r); border-left: 3px solid var(--gold); background: var(--card); color: var(--ink-2); }
.honest b { color: var(--ink); }

/* Раздел «Запуск» */
.doc__hero { padding-bottom: clamp(32px, 4vw, 56px); }
.doc__hero .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.doc__hero h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
.warn { max-width: 900px; padding: 20px 24px; border-radius: var(--r); border: 1px solid var(--gold); background: rgba(201, 162, 90, .12); }
.warn b { display: block; margin-bottom: 6px; }
.warn p { font-size: .9375rem; color: var(--ink-2); }
.progress { display: flex; flex-direction: column; gap: 8px; }
.progress__bar { height: 10px; border-radius: 10px; background: var(--card-2); overflow: hidden; }
.progress__bar i { display: block; height: 100%; width: 0; border-radius: 10px; background: var(--accent); transition: width .5s var(--ease); }
.progress p { font-weight: 600; font-variant-numeric: tabular-nums; }
.cls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.cl { padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.cl h3 { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; font-size: 1.625rem; }
.cl h3 span { color: var(--gold); }
.cl h3 small { margin-left: auto; font: 600 .8125rem/1 var(--text); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cl li { border-top: 1px solid var(--line); }
.cl label { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 14px 0; cursor: pointer; position: relative; }
.cl input { position: absolute; opacity: 0; width: 28px; height: 28px; margin: 0; cursor: pointer; }
.cl i { width: 28px; height: 28px; margin-top: 2px; display: flex; align-items: center; justify-content: center; border-radius: 8px; border: 1.5px solid #B9AE98; background: #fff; color: transparent; transition: background-color .2s, border-color .2s, color .2s; }
.cl i svg { width: 16px; height: 16px; stroke-width: 3; }
.cl input:checked + i { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.cl input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 3px; }
.cl label span { display: flex; flex-direction: column; gap: 4px; }
.cl b { font-weight: 600; }
.cl em { font-style: normal; font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.cl .is-done b { text-decoration: line-through; color: var(--ink-2); }
.fin { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 14px; align-items: start; }
.fin__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.fin__in label { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; font-size: .875rem; font-weight: 600; }
.fin__in input { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 1rem; font-variant-numeric: tabular-nums; }
.fin__in input:focus { outline: none; border-color: var(--accent); }
.fin__wide { grid-column: 1 / -1; }
.fin__out { position: sticky; top: 92px; display: flex; flex-direction: column; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r); background: var(--accent); color: var(--on-accent); }
.fin__out div { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-top: 1px solid rgba(246, 241, 231, .22); }
.fin__out div:first-child { border-top: 0; padding-top: 0; }
.fin__out dt { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.fin__out dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.fin__main dd { font: 600 clamp(1.75rem, 3vw, 2.5rem)/1.1 var(--display); }
.fin__out .is-bad { color: #F2B8A6; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.cols > div { padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.cols h3 { margin-bottom: 14px; font-size: 1.625rem; }
.dots { display: flex; flex-direction: column; gap: 10px; }
.dots li { position: relative; padding-left: 18px; font-size: .9375rem; }
.dots li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.regs summary { justify-content: flex-start; font: 600 1.375rem/1.2 var(--display); }
.regs summary span { flex: none; width: 2.2em; color: var(--gold); font-variant-numeric: tabular-nums; }
.regs summary svg { margin-left: auto; }
.regs details > div { display: flex; flex-direction: column; gap: 12px; padding: 0 22px 24px; }
.regs details p { padding: 0; max-width: 78ch; color: var(--ink); }
.regs ol { display: flex; flex-direction: column; gap: 8px; max-width: 78ch; padding-left: 22px; list-style: decimal; color: var(--ink-2); }
.regs ol li::marker { color: var(--gold); font-weight: 700; }
.lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lines li { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r); border: 1px solid #C9907F; background: #F8ECE6; }
.lines b { font: 600 1.5rem/1.15 var(--display); color: #8A2E1C; }
.lines span { font-size: .9375rem; color: #5B3A32; }
.law { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.law li { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.law b { font-weight: 700; }
.law span { font-size: .9375rem; color: var(--ink-2); }
.doc__src { margin-top: 20px; max-width: 90ch; }
.doc__src a, .foot a.team-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1080px) {
  .weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lines, .cols--3 { grid-template-columns: 1fr; }
  .fin, .cls { grid-template-columns: 1fr; }
  .fin__out { position: static; }
}
@media (max-width: 760px) {
  .two, .cols, .law, .fin__in { grid-template-columns: 1fr; }
  .weeks { grid-template-columns: 1fr; }
}
@media print {
  .top, .foot, .skip, .concept, [data-print] { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .sec { padding-block: 16pt; }
  .sec--panel { background: none; border: 0; }
  .fin__out { position: static; background: none; color: #000; border: 1px solid #999; }
  .cl, .cols > div, details, .lines li { break-inside: avoid; }
  a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: 8pt; }
}


/* ==========================================================================
   ШТИЛЬ — тема по референсу: тёплый чёрный, крем, узкий гротеск заглавными,
   моноширинный текст, пунктирные линии, жёлтые рукописные акценты.
   ========================================================================== */
:root {
  --bg: #121110;
  --card: #1A1917;
  --card-2: #252320;
  --line: #3B382F;
  --ink: #F5ECD7;
  --ink-2: #A9A18D;
  --accent: #F5ECD7;
  --accent-hi: #FFFFFF;
  --on-accent: #121110;
  --gold: #F5C83C;
  --display: 'Sofia Sans Extra Condensed', 'Arial Narrow', sans-serif;
  --text: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;
  --script: 'Caveat', cursive;
  --r: 6px;
  color-scheme: dark;
}
html { scrollbar-color: #4A463B var(--bg); }
body { background: var(--bg); color: var(--ink); font: 400 .9375rem/1.6 var(--text); }
::selection { background: var(--gold); color: #121110; }
:focus-visible { outline-color: var(--gold); border-radius: 4px; }

/* Заголовки: узкий гротеск заглавными; курсивные слова превращаются в рукописную пометку */
h1, h2, h3, .rooms b, .shows b, .usp b, .lines b, .plan__num b, .fin__main dd, .grid .is-cta a, .regs summary, .cl h3, .cols h3, .box h3 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .005em; font-style: normal;
}
h1 { font-size: clamp(3.25rem, 10.5vw, 9.5rem); line-height: .88; }
h2 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: .9; }
h3, .rooms b, .shows b { font-size: 1.875rem; line-height: .95; }
h1 em, h2 em { display: inline-block; font: 600 .5em/1 var(--script); text-transform: none; letter-spacing: 0; color: var(--gold); rotate: -4deg; translate: 0 -.18em; margin-inline: .12em; white-space: nowrap; }
em { color: var(--gold); }
.lead { font-size: 1rem; color: var(--ink-2); }
.brand { font: 800 1.75rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.brand__mark--sun { background: var(--gold); box-shadow: 0 6px 0 -3px var(--gold); }

/* Шапка, кнопки, метки */
.concept { background: var(--card-2); color: var(--ink-2); border-bottom: 2px dotted var(--line); font-size: .75rem; }
.top { background: rgba(18, 17, 16, .9); border-bottom: 2px dotted var(--line); }
.top__nav { gap: 6px; }
.top__nav a { min-height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.top__nav a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn, .btn--l, .btn--s { border-radius: 5px; font: 700 .8125rem/1.2 var(--text); text-transform: uppercase; letter-spacing: .06em; }
.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.btn--accent:hover { background: var(--gold); color: #121110; }
.btn--ghost { border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--dark { background: var(--on-accent); color: var(--accent); }
.eyebrow { padding: 0; border: 0; background: none; min-height: 0; font-size: .75rem; letter-spacing: .14em; color: var(--ink-2); }
.eyebrow i { background: var(--gold); box-shadow: none; }

/* Первый экран */
.hero--sea { background: var(--bg); }
.hero__solo { max-width: 1200px; }
.hero__solo .lead { color: var(--ink-2); }
.hero__solo .btn--ghost { background: transparent; }
.hero__note { font-size: .8125rem; color: var(--ink-2); }
.hero__note svg { color: var(--gold); }
.sea__sun { background: var(--gold); box-shadow: none; }
.sea__line { height: 0; background: none; border-top: 2px dotted var(--ink-2); }
.sea__glow { background: repeating-linear-gradient(180deg, rgba(245, 200, 60, .5) 0 2px, transparent 2px 12px); }
.usp { gap: 0; border-top: 2px dotted var(--line); }
.usp li, .hero--sea .usp li { padding: 22px 20px 22px 0; border: 0; border-radius: 0; background: none; backdrop-filter: none; box-shadow: none; border-bottom: 2px dotted var(--line); }
.usp b { font-size: 2.25rem; line-height: .95; color: var(--ink); }
.usp span { font-size: .8125rem; color: var(--ink-2); }
.usp .is-accent, .hero--sea .usp .is-accent { background: none; }
.usp .is-accent b { color: var(--gold); }
.usp .is-accent span { color: var(--ink-2); }

/* Секции: шапка раздела с пунктирной линией, кремовые секции вперемежку с тёмными */
.sec { padding-block: clamp(56px, 8vw, 120px); }
.head { padding-top: 22px; border-top: 2px dotted var(--line); align-items: start; }
.head p { font-size: .875rem; }
.faq .head { border-top: 0; padding-top: 0; }
.sec--panel {
  --bg: #F5ECD7; --card: #F5ECD7; --card-2: #E8DDC3; --line: #B9AE93; --ink: #121110; --ink-2: #5C5648; --accent: #121110; --accent-hi: #000; --on-accent: #F5ECD7;
  background: #F5ECD7; color: var(--ink); border: 0;
}
.sec--panel h2 em { color: #121110; background: var(--gold); padding: .12em .3em .2em; border-radius: 4px; }
.grid li, .rooms li, .team li, .shows li, .plan, .form, details, .path li, .weeks li, .box, .cl, .cols > div, .fin__in, .lines li { border-radius: var(--r); border: 1px solid var(--line); background: var(--card); box-shadow: none; }
.grid li:hover, .rooms li:hover { border-color: var(--ink); translate: 0 -4px; }
.grid p, .rooms span, .team span, .shows span, .path p { font-size: .8125rem; }
.grid .is-cta { background: var(--gold); border-color: var(--gold); }
.grid .is-cta a { color: #121110; font-size: 1.875rem; line-height: .95; }
.grid .is-cta svg { color: #121110; }
.path li::before { font: 800 3.25rem/.9 var(--display); color: var(--ink); }
.path span, .shows em { border-radius: 4px; border: 1px solid var(--line); background: none; font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; }
.path--3 li:last-child { background: var(--gold); border-color: var(--gold); color: #121110; }
.path--3 li:last-child::before, .path--3 li:last-child p, .path--3 li:last-child h3 { color: #121110; }
.path--3 li:last-child span { background: none; border-color: #121110; color: #121110; }
.rooms__big { background: var(--card) !important; border-color: var(--gold) !important; }
.rooms__big b { font-size: clamp(2.25rem, 4vw, 3.5rem); }
.rooms__big span { font-size: .9375rem; }
.team li::before { border: 1px solid var(--ink-2); border-radius: 4px; color: var(--gold); font: 800 1.5rem/1 var(--display); }
.sec--panel .team li::before { color: #121110; background: var(--gold); border-color: var(--gold); }
.team b { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .875rem; }

/* Программа по неделям */
.weeks small { color: var(--gold); letter-spacing: .14em; }
.weeks ul li { font-size: .8125rem; }
.weeks ul li::before, .dots li::before { background: var(--gold); border-radius: 0; width: 5px; height: 5px; }
.weeks p { color: var(--ink); border-top: 2px dotted var(--line); text-transform: uppercase; letter-spacing: .04em; font-size: .75rem; }
.day li { border-top: 2px dotted var(--line); font-size: .8125rem; }
.day time { font: 800 1.5rem/1.1 var(--display); color: var(--gold); }
.methods b { text-transform: uppercase; letter-spacing: .04em; font-size: .8125rem; }
.methods span { font-size: .8125rem; }
.honest { border: 0; border-left: 3px solid var(--gold); border-radius: 0; background: none; font-size: .875rem; }

/* Штиль Live, форматы, вопросы, форма */
.shows__pic { border-radius: 4px; }
.shows__pic svg { background: #121110; color: var(--gold); }
.shows__pic--a { background: repeating-linear-gradient(135deg, #F5C83C 0 16px, #121110 16px 18px); }
.shows__pic--b { background: radial-gradient(circle at 50% 110%, #F5C83C 0 34%, var(--card-2) 34.5%); border-color: var(--line); }
.shows__pic--c { background: repeating-radial-gradient(circle at 50% 50%, var(--card-2) 0 14px, var(--line) 14px 15px); border-color: var(--line); }
.shows small, .weeks small { font-size: .6875rem; }
.shows small { color: var(--gold); }
.rules { border: 2px dotted var(--gold); border-radius: var(--r); background: none; }
.rules li { font-size: .8125rem; }
.rules svg, .plan li svg { color: var(--gold); }
.plan__for { font-size: .8125rem; }
.plan__num { border-block: 2px dotted var(--line); }
.plan__num b { font-size: clamp(2.5rem, 4.4vw, 4rem); line-height: .9; }
.plan li { font-size: .8125rem; }
.plan--accent { background: var(--gold); border-color: var(--gold); color: #121110; }
.plan--accent .plan__for, .plan--accent .plan__num span { color: rgba(18, 17, 16, .72); }
.plan--accent .plan__num { border-color: rgba(18, 17, 16, .4); }
.plan--accent li svg { color: #121110; }
.plan--accent .btn--dark { background: #121110; color: #F5ECD7; }
summary { font: 700 .9375rem/1.4 var(--text); text-transform: uppercase; letter-spacing: .04em; }
details[open] summary svg { color: var(--gold); }
details p { font-size: .875rem; }
.final { background: var(--bg); }
.final__copy > p { font-size: 1rem; }
.final__list li { font-size: .875rem; }
.final__list svg { background: var(--gold); color: #121110; border-radius: 3px; }
.line { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.line small { text-transform: none; letter-spacing: 0; }
.line input, .line select, .line textarea { background: transparent; border: 1px solid var(--line); border-radius: 5px; font-family: var(--text); font-size: .9375rem; text-transform: none; letter-spacing: 0; caret-color: var(--gold); }
.line :is(input, select, textarea):focus { border-color: var(--gold); }
.line select option { background: #1A1917; color: #F5ECD7; }
.line ::placeholder { color: #7D7667; }
.line em { color: #FF9C8E; }
.form__done svg { background: var(--gold); color: #121110; border-radius: 4px; }
.urgent { border: 2px dotted var(--line); background: none; }
.urgent svg, .urgent b { color: var(--gold); }
.note { font-size: .75rem; }
.foot { border-top: 2px dotted var(--line); }
.foot__row, .foot__legal { font-size: .75rem; }
.foot__nav a { text-transform: uppercase; letter-spacing: .06em; }
.foot__nav a:hover { color: var(--gold); }

/* Раздел «Запуск» */
.doc__hero h1 { font-size: clamp(2.75rem, 8vw, 7rem); }
.warn { border: 2px dotted var(--gold); border-radius: var(--r); background: none; }
.warn b { text-transform: uppercase; letter-spacing: .06em; font-size: .8125rem; color: var(--gold); }
.warn p { font-size: .8125rem; }
.progress__bar { height: 8px; border-radius: 0; background: var(--card-2); }
.progress__bar i { border-radius: 0; background: var(--gold); }
.sec--panel .progress__bar i { background: #121110; }
.progress p { font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; }
.cl h3 { font-size: 2rem; }
.cl h3 span { color: var(--gold); }
.sec--panel .cl h3 span { color: var(--ink-2); }
.cl h3 small { font-family: var(--text); text-transform: none; letter-spacing: 0; }
.cl li { border-top: 2px dotted var(--line); }
.cl i { border-radius: 4px; border: 1.5px solid var(--ink); background: transparent; }
.cl input:checked + i { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.cl b { font-weight: 700; font-size: .875rem; }
.cl em { font-size: .8125rem; color: var(--ink-2); }
.fin__in label { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.fin__in input { background: transparent; border-radius: 5px; font-family: var(--text); color: var(--ink); }
.fin__in input:focus { border-color: var(--gold); }
.fin__out { border-radius: var(--r); background: var(--gold); color: #121110; }
.fin__out div { border-top: 2px dotted rgba(18, 17, 16, .4); }
.fin__out .is-bad { color: #9C1F0F; }
.fin__main dd { font-size: clamp(2.5rem, 4.4vw, 4rem); line-height: .9; }
.cols h3, .box h3 { font-size: 2rem; }
.dots li { font-size: .8125rem; }
.regs summary { font-size: 1.75rem; line-height: 1; letter-spacing: .005em; }
.regs summary span { color: var(--gold); }
.regs details p, .regs ol { font-size: .875rem; }
.regs ol li::marker { color: var(--gold); }
.lines li { border: 1px solid #B5462F; background: none; }
.lines b { font-size: 2rem; line-height: .95; color: #9C1F0F; }
.lines span { font-size: .8125rem; color: var(--ink-2); }
.law li { border-top: 2px dotted var(--line); }
.law b { font-size: .875rem; }
.law span { font-size: .8125rem; }
.doc__src a { color: var(--gold); }

@media (max-width: 560px) {
  h1 { font-size: clamp(3rem, 17vw, 4.5rem); }
  h2 { font-size: clamp(2.25rem, 12vw, 3.25rem); }
}
@media print {
  :root { --bg: #fff; --card: #fff; --ink: #000; --ink-2: #333; --line: #999; --gold: #000; }
  body { font-size: 9.5pt; }
  .sec--panel { background: #fff; }
}

h2 em { white-space: normal; rotate: -2deg; }
@media (max-width: 760px) { h1 em { white-space: normal; } .top__nav a { font-size: .6875rem; } }

/* Первый экран: меньше воздуха над заголовком, блок ближе к шапке */
.hero--sea { padding-top: clamp(20px, 2.6vw, 44px); }
.hero__solo { gap: clamp(14px, 1.6vw, 22px); }
.hero__solo h1 { margin-top: -4px; }

/* Раздел «Инвесторам» */
.inv-nums { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.inv-nums div { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 130px; padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.inv-nums dt { font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.inv-nums dd { font-weight: 700; font-size: clamp(1.125rem, 1.7vw, 1.5rem); line-height: 1.15; font-variant-numeric: tabular-nums; }
.inv-nums .is-main { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.inv-nums .is-main dt { color: inherit; opacity: .8; }
.inv-nums .is-main dd { font-size: clamp(1.75rem, 3vw, 2.75rem); }
.inv-link { margin-top: 18px; }
.inv-src { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.inv-src li { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.inv-src span { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.inv-src p { color: var(--ink-2); font-size: .9375rem; }
.inv-src small { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: .8125rem; font-weight: 600; }
.inv-src .is-no { background: transparent; border-style: dashed; }
.inv-src .is-no span { background: transparent; border: 1px solid var(--line); color: var(--ink-2); }
.inv-src .is-no h3 { color: var(--ink-2); }
.inv-bar { height: 12px; margin-bottom: 18px; border-radius: 12px; background: var(--card-2); overflow: hidden; }
.inv-bar i { display: block; height: 100%; width: 0; border-radius: 12px; background: var(--accent); transition: width .8s var(--ease); }
.inv-edit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; padding: 14px 18px; border-radius: var(--r); border: 1px dashed var(--accent); font-size: .9375rem; }
.inv-stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.inv-stage { border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.inv-stage header { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; }
.inv-stage header span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.inv-stage header p { font-size: .875rem; color: var(--ink-2); }
.inv-stage header i { height: 6px; margin-top: 6px; border-radius: 6px; background: var(--card-2); overflow: hidden; }
.inv-stage header i b { display: block; height: 100%; border-radius: 6px; background: var(--accent); }
.inv-stage.is-done { border-color: var(--accent); }
.inv-stage li { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line); }
.inv-stage li[data-step] { cursor: pointer; }
.inv-stage li[data-step]:hover { background: var(--card-2); }
.inv-stage li em, .inv-next em { justify-self: start; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); font-style: normal; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); white-space: nowrap; }
.inv-stage li.is-2 em { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.inv-stage li.is-1 em, .inv-next li em { border-color: var(--accent); color: var(--accent); }
.inv-stage li div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.inv-stage li b { font-weight: 600; }
.inv-stage li.is-2 b { opacity: .75; }
.inv-stage li span { font-size: .875rem; color: var(--ink-2); }
.inv-stage li small { font-size: .75rem; color: var(--ink-2); white-space: nowrap; }
.inv-next { counter-reset: n; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.inv-next li { counter-increment: n; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 220px; padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.inv-next li::before { content: counter(n, decimal-leading-zero); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--accent); }
.inv-next b { font-weight: 700; line-height: 1.25; }
.inv-next span { font-size: .875rem; color: var(--ink-2); }
.inv-next small { margin-top: auto; font-size: .75rem; color: var(--ink-2); }
.inv-risks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.inv-risks li { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--r); border: 1px solid var(--line); }
.inv-risks span { font-size: .875rem; color: var(--ink-2); }
.inv-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.inv-contact > div { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 1100px) { .inv-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } .inv-nums .is-main { grid-column: 1 / -1; min-height: 0; } .inv-next, .inv-risks { grid-template-columns: repeat(2, minmax(0, 1fr)); } .inv-next li { min-height: 0; } .inv-src { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .inv-stages, .inv-src, .inv-next, .inv-risks, .inv-nums { grid-template-columns: 1fr; } .inv-stage li { grid-template-columns: 1fr; gap: 6px; } }
