@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url("/fonts/Montserrat-Regular.ttf") format("truetype"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url("/fonts/Montserrat-Medium.ttf") format("truetype"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("/fonts/Montserrat-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-display: swap; src: url("/fonts/Montserrat-ExtraBold.ttf") format("truetype"); }

/* ---------- Токены (как в приложении) ---------- */
:root {
  --bg: #f2f3f5;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --text: #0b0b0c;
  --muted: #62646b;
  --line: rgba(0, 0, 0, .07);
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.07);
  --bar: rgba(242, 243, 245, .72);

  --az1: #50A7EA;          /* лазурь — акцент приложения */
  --az2: #2481CC;
  --glass: #17212B;        /* стекло тёмной темы */
  --revenue: #2E8BD8;      /* цвета данных */
  --costs: #D9472A;
  --profit: #1F9E5F;
  --fee: #E08A00;
  --staff: #6D5BD0;

  --r-xl: 32px;
  --r-lg: 26px;
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #0d1218;
    --surface-2: #121a23;
    --text: #f3f4f6;
    --muted: #9aa1ab;
    --line: rgba(255, 255, 255, .08);
    --shadow: none;
    --bar: rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 "Montserrat", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
a { color: inherit; text-underline-offset: 3px; }
[id] { scroll-margin-top: 88px; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 520px) { .wrap { padding: 0 16px; } }

/* ---------- Верхняя панель ---------- */
.bar {
  position: sticky; top: 0; z-index: 50;
  background: var(--bar);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: .5px solid var(--line);
}
.bar.on-dark { background: rgba(0,0,0,.55); border-color: rgba(255,255,255,.08); color: #fff; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 0 0 .5px rgba(255,255,255,.14); }
.nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; opacity: .66; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.nav .btn {
  opacity: 1;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s cubic-bezier(.2,.8,.2,1), background-color .3s;
}
.nav .btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(255,255,255,.35); }
.bar:not(.on-dark) .nav .btn:hover { box-shadow: 0 8px 20px -8px rgba(0,0,0,.25); }
.nav .btn:active { transform: scale(.97); transition-duration: .15s; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 22px; border-radius: 16px;
  font: 600 15px/1 "Montserrat", sans-serif; text-decoration: none;
  background: var(--text); color: var(--bg);
  transition: transform .25s var(--ease-back), box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn small { display: block; font-size: 10px; font-weight: 500; opacity: .7; letter-spacing: .02em; margin-bottom: 3px; }
.btn .lbl { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.btn.sm { height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14px; }
.btn.white { background: #fff; color: #000; }
.btn.glass { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 .5px rgba(255,255,255,.22); }

/* ---------- Главный экран ---------- */
.hero {
  position: relative; overflow: hidden; overflow: clip; isolation: isolate;
  background: #000; color: #fff;
  margin-top: -64px; padding: 136px 0 96px;
}
.hero::before {               /* лазурное свечение из нижнего левого угла */
  content: ""; position: absolute; z-index: -1;
  left: -18%; bottom: -55%; width: 90%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(80,167,234,.42), rgba(36,129,204,.12) 55%, transparent 72%);
  filter: blur(10px);
}
.hero::after {                /* мягкий блик справа сверху */
  content: ""; position: absolute; z-index: -1;
  right: -10%; top: -30%; width: 55%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255,255,255,.10), transparent 70%);
}
.watermark {
  position: absolute; z-index: -1; right: -6%; bottom: -14%;
  width: min(62vw, 760px); aspect-ratio: 512 / 430;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.015));
  -webkit-mask: url("/mark.png") center / contain no-repeat;
  mask: url("/mark.png") center / contain no-repeat;
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 56px; } .hero { padding-bottom: 72px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.16);
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.82);
}
.eyebrow i {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--az1), var(--az2));
  display: grid; place-items: center;
}
.eyebrow i svg { width: 12px; height: 12px; }
.hero h1 {
  margin: 22px 0 20px;
  font-weight: 800; font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -.035em;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #fff 10%, #9fd2f7 55%, var(--az1));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { margin: 0 0 34px; max-width: 34em; font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.66); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 13px; color: rgba(255,255,255,.5); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--az1); }

/* ---------- Телефон ---------- */
.stage { position: relative; display: grid; place-items: center; perspective: 1400px; }
.phone {
  position: relative; width: 320px; height: 667px; border-radius: 52px; padding: 11px;
  background: linear-gradient(145deg, #2a2d31, #0b0c0e 40%, #1c1e21);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 50px 100px -20px rgba(0,0,0,.9), 0 0 120px -30px rgba(80,167,234,.45);
  transform: rotateY(var(--ry, -10deg)) rotateX(var(--rx, 4deg));
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; overflow: clip; background: #000; }
.island { position: absolute; z-index: 3; top: 10px; left: 50%; translate: -50% 0; width: 92px; height: 27px; border-radius: 20px; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.04); }

/* Экран «Готово!» приложения: макет 390×844 pt, ужатый под экран телефона */
.canvas {
  position: absolute; top: 0; left: 0; width: 390px; height: 873px;
  transform: scale(.7641); transform-origin: 0 0;
  color: #fff; overflow: hidden; overflow: clip;
  background: linear-gradient(to top right, rgba(80,167,234,.28), rgba(80,167,234,.08) 40%, transparent), #000;
}
.canvas .wm {                       /* иконка-watermark, как BookingSuccessBackdrop */
  position: absolute; right: -80px; bottom: -40px; width: 320px; height: 320px;
  transform: rotate(-11.5deg); color: rgba(255,255,255,.04);
}
.sbar { position: absolute; top: 15px; left: 34px; right: 30px; display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.sbar span { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; }
.sbar .batt { width: 27px; height: 13px; }
.share {
  position: absolute; top: 57px; right: 17px; height: 37px; padding: 0 16px 0 12px; border-radius: 99px;
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 .6px rgba(255,255,255,.14);
}
.share svg { width: 18px; height: 18px; }
.done-med {
  position: absolute; top: 128px; left: 50%; translate: -50% 0; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--az1), var(--az2));
  box-shadow: 0 0 34px rgba(80,167,234,.55), 0 8px 20px rgba(0,0,0,.5);
  animation: breathe 3.2s ease-in-out infinite;
}
.done-med svg { width: 27px; height: 27px; }
@keyframes breathe { 50% { box-shadow: 0 0 48px rgba(80,167,234,.8), 0 8px 20px rgba(0,0,0,.5); } }
.done-title { position: absolute; top: 198px; width: 100%; text-align: center; font-size: 27px; font-weight: 800; letter-spacing: -.02em; }

/* Талон: две части с просечками, стекло 17212B с лазурным бликом */
.tk {
  position: absolute; left: 19px; right: 17px; top: 252px; height: 364px;
  filter: drop-shadow(0 14px 18px rgba(0,0,0,.55));
}
.tk-body {
  position: absolute; inset: 0; border-radius: 28px; overflow: hidden; overflow: clip;
  background: linear-gradient(135deg, #1f3447, #17212B 70%);
  box-shadow: inset 0 0 0 .8px rgba(80,167,234,.24);
  -webkit-mask: radial-gradient(circle 11px at 0 253px, transparent 10.5px, #000 11px) left / 51% 100% no-repeat,
                radial-gradient(circle 11px at 100% 253px, transparent 10.5px, #000 11px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 11px at 0 253px, transparent 10.5px, #000 11px) left / 51% 100% no-repeat,
                radial-gradient(circle 11px at 100% 253px, transparent 10.5px, #000 11px) right / 51% 100% no-repeat;
}
.tk-body::after {                    /* блик: полоса лазури ходит за курсором */
  content: ""; position: absolute; inset: -30% -60%;
  background: linear-gradient(105deg, transparent 38%, rgba(80,167,234,.14) 45%, rgba(159,212,255,.2) 50%, rgba(36,129,204,.12) 56%, transparent 63%);
  transform: translateX(var(--holo, -10%)); mix-blend-mode: plus-lighter; pointer-events: none;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.tk-top { display: flex; justify-content: space-between; align-items: baseline; padding: 26px 24px 0 25px; }
.tk-kick { font-size: 11px; font-weight: 800; letter-spacing: 1.4px; color: var(--az1); }
.tk-no { font-size: 12px; color: rgba(255,255,255,.4); letter-spacing: .02em; }
.tk-when { display: flex; align-items: center; gap: 14px; padding: 16px 25px 0; }
.dtile {
  width: 62px; height: 68px; border-radius: 18px; flex: none; text-align: center;
  display: grid; place-content: center; gap: 2px;
  background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 .6px rgba(255,255,255,.1), 0 6px 14px rgba(0,0,0,.2);
}
.dtile small { font-size: 10px; font-weight: 800; letter-spacing: .9px; color: var(--az1); }
.dtile b { font-size: 25px; font-weight: 800; line-height: 1; }
.vline { width: 1px; height: 42px; background: linear-gradient(transparent, rgba(255,255,255,.12), transparent); }
.tk-day { font-size: 13px; color: rgba(255,255,255,.5); letter-spacing: .02em; }
.tk-time { font-size: 25px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; margin-top: 1px; }
.tk-row { display: flex; align-items: center; gap: 12px; padding: 0 25px; }
.tk-row + .tk-row { margin-top: 12px; }
.tk-rows { margin-top: 18px; }
.ava { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden; overflow: clip; }
.ava.wash { background: #d9d9d9; }
.ava.wash img { width: 100%; height: 100%; object-fit: cover; }
.ava.car { background: rgba(255,255,255,.92); color: #1b1f24; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.ava.car svg { width: 21px; height: 21px; }
.tk-row b { display: block; font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.tk-row small { display: block; font-size: 12.5px; color: rgba(255,255,255,.5); letter-spacing: .02em; }
.kzplate {
  margin-left: auto; padding: 4px 11px; border-radius: 8px; background: #fff; color: #000;
  font-size: 16px; font-weight: 800; letter-spacing: .02em;
  box-shadow: inset 0 0 0 1.4px #1b1f24, 0 2px 6px rgba(0,0,0,.25);
}
.tk-cut { position: absolute; left: 13px; right: 13px; top: 253px; border-top: 1.2px dashed rgba(255,255,255,.16); }
.tk-stub { position: absolute; left: 25px; right: 24px; top: 270px; }
.tk-lbl { font-size: 12px; color: rgba(255,255,255,.4); }
.tk-svc { font-size: 14px; font-weight: 600; line-height: 1.25; margin-top: 2px; letter-spacing: .01em; }
.tk-sum { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; }
.tk-sum b { font-size: 19px; font-weight: 800; letter-spacing: -.4px; color: var(--az1); }
.go {
  position: absolute; left: 25px; right: 25px; top: 717px; height: 58px; border-radius: 29px;
  background: #fff; color: #000; display: grid; place-items: center; font-size: 16px; font-weight: 600; letter-spacing: .01em;
}
.home-ind { position: absolute; bottom: 8px; left: 50%; translate: -50% 0; width: 140px; height: 5px; border-radius: 3px; background: #fff; }

/* Номер в плитках бенто */
.plate {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px 3px 4px;
  border-radius: 7px; background: #fff; color: #000; font-weight: 800; font-size: 13px; letter-spacing: .04em;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
}
/* Цифры и буквы вытянуты вверх, как шрифт настоящего номера */
.plate b { display: inline-block; font-weight: 700; font-size: 14px; letter-spacing: .07em; transform: scale(.88, 1.2); transform-origin: center; margin: 0 -2px; line-height: 1; }
.plate:has(b) { padding: 5px 9px 5px 5px; }
.plate i { font-style: normal; font-size: 7px; line-height: 1.05; padding: 2px 3px; border-radius: 3px; background: #2fb1e5; color: #fff; text-align: center; font-weight: 800; }

/* Плавающие плашки вокруг телефона */
.float {                         /* push-уведомление iOS: стекло, иконка, заголовок, текст */
  position: absolute; z-index: 2; width: 268px; display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 13px 12px 11px; border-radius: 22px; font-size: 13px; line-height: 1.3; color: #fff;
  background: linear-gradient(160deg, rgba(80,167,234,.16), rgba(23,33,43,.62) 55%);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 0 0 .5px rgba(255,255,255,.18), 0 24px 48px -16px rgba(0,0,0,.7);
  animation: bob 6s ease-in-out infinite;
}
.float .ico { width: 38px; height: 38px; border-radius: 10px; flex: none; margin-top: 1px; box-shadow: 0 0 0 .5px rgba(255,255,255,.18); }
.float .txt { min-width: 0; flex: 1; }
.float .txt > b { display: block; font-weight: 600; }
.float .txt > span:last-child { display: block; color: rgba(255,255,255,.78); }
.float .top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1px; }
.float .top b { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.float .top time { font-size: 11px; color: rgba(255,255,255,.5); }
.float.f1 { left: -14%; top: 7%; }
.float.f2 { right: -14%; bottom: -3%; animation-delay: -3s; }
@media (max-width: 1040px) { .float.f1 { left: -16px; } .float.f2 { right: -16px; } }
@media (max-width: 420px) { .float { display: none; } }
@keyframes bob { 50% { translate: 0 -10px; } }

/* ---------- Секции ---------- */
section.block { padding: 110px 0 0; }
@media (max-width: 720px) { section.block { padding-top: 80px; } }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--az2); }
@media (prefers-color-scheme: dark) { .kicker { color: var(--az1); } }
.h2 { margin: 12px 0 14px; font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; max-width: 16em; }
.sub { margin: 0 0 40px; color: var(--muted); font-size: 17px; max-width: 36em; }

/* Шаги клиента */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; overflow: hidden; overflow: clip; padding: 28px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 .5px var(--line);
  min-height: 230px;
}
.step::after {                 /* крупная цифра-watermark */
  counter-increment: s; content: counter(s);
  position: absolute; right: 14px; bottom: -36px;
  font-size: 160px; font-weight: 800; line-height: 1; letter-spacing: -.06em;
  color: var(--text); opacity: .045;
}
.med-lg {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--az1), var(--az2)); color: #fff; margin-bottom: 22px;
}
.med-lg svg { width: 24px; height: 24px; }
.step h3 { margin: 0 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Бенто для автомоек */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative; overflow: hidden; overflow: clip; border-radius: var(--r-lg); padding: 26px;
  background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 .5px var(--line);
  grid-column: span 2;
}
.tile.w3 { grid-column: span 3; }
.tile.w4 { grid-column: span 4; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .tile, .tile.w3, .tile.w4 { grid-column: span 2; } .tile.half { grid-column: span 1; } }
@media (max-width: 560px) { .tile.half { grid-column: span 2; } }
.tile h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.tile p { margin: 0; color: var(--muted); font-size: 14.5px; }
.tile .viz { margin-top: 22px; }
.tile .tint { position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; opacity: .14; filter: blur(30px); pointer-events: none; }
@media (prefers-color-scheme: light) { .tile .tint { display: none; } }

/* Таблица записей */
.sched { display: grid; grid-template-columns: 44px repeat(4, 1fr); gap: 6px; font-size: 11px; }
.sched .h { font-weight: 800; letter-spacing: .08em; color: var(--muted); text-align: center; font-size: 10px; }
.sched .t { color: var(--muted); font-weight: 600; padding-top: 4px; }
.sched .c { height: 34px; border-radius: 10px; background: var(--surface-2); box-shadow: inset 0 0 0 .5px var(--line); }
.sched .bk {
  height: 34px; border-radius: 10px; padding: 5px 8px; color: #fff; font-weight: 700; font-size: 10.5px; line-height: 1.2;
  background: linear-gradient(135deg, var(--az1), var(--az2)); overflow: hidden; overflow: clip; white-space: nowrap; text-overflow: ellipsis;
}
.sched .bk.x2 { grid-row: span 2; height: 74px; }
.sched .bk.done { background: linear-gradient(135deg, #34c07e, var(--profit)); }
.sched .bk.work { background: linear-gradient(135deg, #8c7cf0, var(--staff)); }
.sched .bk span { display: block; font-weight: 500; opacity: .8; }

/* Финансы */
.money { display: grid; gap: 12px; }
.mrow { display: grid; grid-template-columns: 82px 1fr auto; align-items: center; gap: 12px; font-size: 13px; }
.mrow em { font-style: normal; color: var(--muted); font-weight: 500; }
.mrow b { font-weight: 800; font-variant-numeric: tabular-nums; }
.track { height: 10px; border-radius: 99px; background: var(--surface-2); box-shadow: inset 0 0 0 .5px var(--line); overflow: hidden; overflow: clip; }
.track i { display: block; height: 100%; border-radius: inherit; width: 0; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.in .track i { width: var(--w); }

/* Мини-список */
.mini { display: grid; gap: 8px; }
.mini div {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px;
  background: var(--surface-2); box-shadow: inset 0 0 0 .5px var(--line); font-size: 13.5px; font-weight: 600;
}
.mini small { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 800; flex: none; }

/* Неделя */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.week div { padding: 10px 0 8px; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 .5px var(--line); }
.week small { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; color: var(--muted); }
.week b { display: block; font-size: 17px; font-weight: 800; margin: 2px 0 4px; }
.week i { display: block; width: 6px; height: 6px; margin: 0 auto; border-radius: 50%; background: var(--profit); }
.week .off i { background: var(--costs); }
.week .night { background: linear-gradient(160deg, #1b2a3a, #0b1118); color: #fff; box-shadow: none; }
.week .night small { color: #9fd2f7; }
.week .night i { background: var(--az1); }

/* CTA-полоса */
.cta {
  position: relative; overflow: hidden; overflow: clip; isolation: isolate;
  margin-top: 110px; border-radius: 40px; padding: 64px 48px;
  background: #000; color: #fff;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
@media (prefers-color-scheme: dark) { .cta { box-shadow: inset 0 0 0 .5px rgba(255,255,255,.12); } }
.cta::before {
  content: ""; position: absolute; z-index: -1; left: -10%; bottom: -120%; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(80,167,234,.45), transparent 70%);
}
.cta .watermark { right: -4%; bottom: -40%; width: 420px; }
.cta h2 { margin: 0 0 10px; font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.cta p { margin: 0; color: rgba(255,255,255,.62); max-width: 30em; }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; padding: 44px 26px; border-radius: 30px; } }

/* Реквизиты */
.legal {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px;
}
@media (max-width: 820px) { .legal { grid-template-columns: 1fr; } }
.card {
  position: relative; overflow: hidden; overflow: clip; border-radius: var(--r-lg); padding: 28px;
  background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 .5px var(--line);
}
.card h3 { margin: 0 0 18px; font-size: 19px; font-weight: 800; }
.req { display: grid; grid-template-columns: max-content 1fr; gap: 12px 24px; margin: 0; }
.req dt { color: var(--muted); font-size: 13px; padding-top: 2px; }
.req dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 520px) { .req { grid-template-columns: 1fr; gap: 2px; } .req dd { margin-bottom: 12px; } }
.contact { display: flex; align-items: center; gap: 14px; padding: 14px 0; text-decoration: none; border-top: .5px solid var(--line); }
.contact:first-of-type { border-top: 0; padding-top: 0; }
.contact .med-lg { width: 44px; height: 44px; margin: 0; }
.contact .med-lg svg { width: 20px; height: 20px; }
.contact small { display: block; color: var(--muted); font-size: 12.5px; }
.contact b { font-weight: 700; }
.docs-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px;
  background: var(--surface-2); box-shadow: inset 0 0 0 .5px var(--line);
  font-size: 13px; font-weight: 600; text-decoration: none; transition: transform .25s var(--ease-back);
}
.chip:hover { transform: translateY(-2px); }

/* ---------- Документы ---------- */
.doc-hero {
  position: relative; overflow: hidden; overflow: clip; isolation: isolate;
  background: #000; color: #fff; margin-top: -64px; padding: 120px 0 56px;
}
.doc-hero::before {
  content: ""; position: absolute; z-index: -1; left: -15%; bottom: -140%; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(80,167,234,.38), transparent 70%);
}
.doc-hero .watermark { width: 380px; bottom: -40%; right: -2%; }
.doc-hero h1 { margin: 14px 0 8px; font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.doc-hero .date { margin: 0; color: rgba(255,255,255,.55); font-size: 14px; }
.seg {
  position: relative; display: inline-flex; gap: 4px; padding: 4px; margin-top: 28px; border-radius: 999px;
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.14);
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.seg a {
  position: relative; z-index: 1; white-space: nowrap;
  padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; text-decoration: none;
  color: rgba(255,255,255,.7);
}
.seg a[aria-current="page"] { color: #fff; background: linear-gradient(135deg, var(--az1), var(--az2)); }
.doc {
  position: relative; margin: -24px auto 0; max-width: 860px;
  background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow), inset 0 0 0 .5px var(--line);
  padding: 48px 56px;
}
@media (max-width: 640px) { .doc { padding: 28px 20px; border-radius: 26px; } }
.doc h2 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; margin: 36px 0 10px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 16px; font-weight: 700; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--text); opacity: .86; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 5px 0; }
.doc li::marker { color: var(--az2); font-weight: 700; }
.doc .note { color: var(--muted); font-style: italic; }
.doc a { color: var(--az2); }
@media (prefers-color-scheme: dark) { .doc a { color: var(--az1); } .doc li::marker { color: var(--az1); } }
.doc .print { display: flex; justify-content: flex-end; margin-top: 36px; padding-top: 20px; border-top: .5px solid var(--line); }
.doc .print a { font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; }

/* ---------- Подвал ---------- */
.foot { margin-top: 110px; border-top: .5px solid var(--line); }
.foot .wrap { padding-top: 32px; padding-bottom: 44px; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13.5px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .brand { color: var(--text); font-size: 17px; }
.foot .brand img { width: 28px; height: 28px; border-radius: 8px; }

/* ---------- Появление ---------- */
.reveal { opacity: 0; transform: translateY(45px); transition: opacity .7s ease, transform .9s var(--ease-back); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
/* Первый экран появляется сам при загрузке, не дожидаясь прокрутки */
.hero .reveal { opacity: 1; transform: none; transition: none; animation: rise .9s var(--ease-back) both; animation-delay: calc(var(--d, 0s) + .1s); }
@keyframes rise { from { opacity: 0; transform: translateY(45px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero .reveal { opacity: 1; transform: none; transition: none; animation: none; }
  .float { animation: none; }
  .phone, .tk-body::after, .track i { transition: none; }
  .done-med { animation: none; }
}

/* ---------- Печать документов ---------- */
@media print {
  .bar, .seg, .foot, .watermark, .doc .print, .eyebrow { display: none !important; }
  body, .doc-hero { background: #fff !important; color: #000 !important; }
  .doc-hero { margin: 0; padding: 0 0 12px; }
  .doc-hero .date { color: #555 !important; }
  .doc { box-shadow: none; padding: 0; margin: 0; max-width: none; }
}

/* «Скачать» в шапке: кнопки магазинов коротко подсвечиваются */
.stores.ping .btn { animation: ping .9s cubic-bezier(.45,0,.25,1); }
.stores.ping .btn + .btn { animation-delay: .18s; }
@keyframes ping { 45% { transform: scale(1.07); } }

[hidden] { display: none !important; }
.contact[hidden] + .contact { border-top: 0; padding-top: 0; }
