/* «Без рутины» — общий стиль сайта. Две темы: тёмная (по умолчанию) и светлая.
   Тёмная: почти чёрный, тёплый кремовый текст, латунь. Светлая: белая бумага, графит, латунь темнее для контраста. */
@font-face { font-family: Prata; src: url(fonts/prata-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-display: swap; }
@font-face { font-family: Prata; src: url(fonts/prata-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; font-display: swap; }
@font-face { font-family: Manrope; font-weight: 400; src: url(fonts/manrope-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-display: swap; }
@font-face { font-family: Manrope; font-weight: 400; src: url(fonts/manrope-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122, U+2212; font-display: swap; }
@font-face { font-family: Manrope; font-weight: 600; src: url(fonts/manrope-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-display: swap; }
@font-face { font-family: Manrope; font-weight: 600; src: url(fonts/manrope-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122, U+2212; font-display: swap; }
@font-face { font-family: Manrope; font-weight: 700; src: url(fonts/manrope-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-display: swap; }
@font-face { font-family: Manrope; font-weight: 700; src: url(fonts/manrope-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122, U+2212; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(fonts/jetbrains-mono-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122, U+2212; font-display: swap; }

:root {
  --bg: #0C0C0F; --bg-2: #131317; --bg-3: #1A1A1F; --raise: #202026;
  --text: #EFE8DA; --muted: #A39C8F; --dim: #6F695F;
  --brass: #C9A05A; --brass-2: #E6CB92; --accent: #E6CB92; --on-brass: #1A140A;
  --teal: #4FE3D2; --ok: #55D69A; --bad: #F07A6A; --warn: #F2B75B; --info: #79B8F2; --prom: #B9A3FF;
  --line: rgba(239,232,218,.12); --line-2: rgba(239,232,218,.24);
  --glow: rgba(201,160,90,.14); --shadow: 0 30px 60px -30px rgba(0,0,0,.8);
  --serif: Prata, Georgia, "Times New Roman", serif; --sans: Manrope, "Segoe UI", Arial, sans-serif; --mono: "JetBrains Mono", Consolas, monospace;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #FAFAF7; --bg-2: #F1F0EB; --bg-3: #FFFFFF; --raise: #FFFFFF;
  --text: #18171A; --muted: #5C5850; --dim: #8C877D;
  --brass: #B48A3C; --brass-2: #D9B66E; --accent: #8A6422; --on-brass: #1A140A;
  --teal: #0F9C8C; --ok: #1E8A55; --bad: #C2402F; --warn: #A86A10; --info: #1D6493; --prom: #6E56CF;
  --line: rgba(24,23,26,.12); --line-2: rgba(24,23,26,.24);
  --glow: rgba(201,160,90,.18); --shadow: 0 30px 60px -34px rgba(40,30,10,.35);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; transition: background .3s ease, color .3s ease; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: max(22px, env(safe-area-inset-left, 0px)); }
.serif { font-family: var(--serif); }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; border: 0; font-family: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.btn-brass { background: linear-gradient(180deg, var(--brass-2), var(--brass) 55%, #A9823F); color: var(--on-brass); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 10px 30px -12px rgba(201,160,90,.7); }
.btn-brass:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 16px 36px -12px rgba(201,160,90,.85); }
.btn-line { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--text); }

/* Шапка */
.top { position: sticky; top: 0; z-index: 30; backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo .mark { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--brass); position: relative; flex: none; }
.logo .mark::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1.5px solid var(--brass); transform: rotate(60deg) scaleY(.4); }
.logo .mark::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.logo b { font-family: var(--serif); font-weight: 400; font-size: 23px; }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.tools { display: flex; align-items: center; gap: 10px; }
.top .btn { min-height: 42px; padding: 0 20px; font-size: 14px; }
.theme { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.theme:hover { border-color: var(--text); }
.theme svg { width: 18px; height: 18px; }
.theme .sun { display: none; } [data-theme="light"] .theme .sun { display: block; } [data-theme="light"] .theme .moon { display: none; }
.burger { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 14px; cursor: pointer; }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding-inline: 22px; }
  .nav a { padding: 16px 0; border-top: 1px solid var(--line); }
  .nav.open { display: flex; }
  .burger { display: inline-block; }
  .top .btn { display: none; }
}

/* ===== Главная: первый экран ===== */
.hero { position: relative; overflow: hidden; padding: 56px 0 40px; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 72% 45%, var(--glow), transparent 70%), radial-gradient(40% 40% at 60% 30%, rgba(79,227,210,.06), transparent 70%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 20px; align-items: center; }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr; } }
.kicker { font-family: var(--mono); font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--brass); flex: none; }
.hero h1 { font-family: var(--serif); font-size: clamp(50px, 7.2vw, 100px); line-height: .98; letter-spacing: -.02em; margin-top: 22px; }
.hero h1 em, .page-head h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-top: 26px; font-size: 19px; color: var(--muted); max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.hero .note { margin-top: 14px; font-size: 14px; color: var(--dim); }
#hero3d { position: relative; height: clamp(440px, 62vh, 640px); }
#hero3d canvas { display: block; }
#hero3d .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .8s ease; }
#hero3d.ready .poster { opacity: 0; pointer-events: none; }
#hero3d.no3d .poster { opacity: 1; }
.ctrl { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: -8px; padding-inline: 8px; }
.status { font-family: var(--mono); font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); flex: none; }
.replay { background: none; border: 1px solid var(--line); color: var(--text); font: inherit; font-size: 13px; border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.replay:hover { border-color: var(--line-2); }
@media (max-width: 980px) { #hero3d { height: 430px; } }

/* Секции */
.sec { padding: 110px 0; }
.sec.tight { padding-top: 0; }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 52px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; gap: 16px; } }
.sec-head h2 { font-family: var(--serif); font-size: clamp(40px, 5.4vw, 72px); line-height: 1; letter-spacing: -.015em; }
.sec-head p { color: var(--muted); font-size: 18px; max-width: 46ch; }
.sec-head .kicker { grid-column: 1 / -1; margin-bottom: -18px; }

/* Услуги с 3D-иконками */
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } }
.svc-card { position: relative; display: grid; align-content: end; min-height: 300px; padding: 34px; border-radius: 28px; overflow: hidden;
  background: radial-gradient(80% 90% at 90% 20%, var(--glow), transparent 60%), linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line); }
.svc-card img { position: absolute; right: -6px; top: 10px; width: 230px; height: 230px; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.svc-card:hover img { transform: translateY(-6px) rotate(-2deg); }
.svc-card .txt { position: relative; max-width: 64%; display: grid; gap: 10px; }
.svc-card h3 { font-family: var(--serif); font-size: 34px; line-height: 1.05; }
.svc-card p { color: var(--muted); font-size: 16px; }
.svc-card ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-card li { font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.svc-card.wide { grid-column: 1 / -1; min-height: 340px; }
.svc-card.wide img { width: 320px; height: 320px; right: 30px; top: 10px; }
.svc-card.wide .txt { max-width: 56%; }
.svc-card .new { justify-self: start; font-family: var(--mono); font-size: 12px; color: var(--on-brass); background: var(--brass-2); padding: 2px 10px; border-radius: 999px; }
@media (max-width: 640px) { .svc-card, .svc-card.wide { padding: 26px; min-height: 0; } .svc-card img, .svc-card.wide img { position: relative; right: auto; top: auto; width: 170px; height: 170px; justify-self: end; margin: -10px -10px -14px 0; order: -1; } .svc-card .txt, .svc-card.wide .txt { max-width: none; } }

/* Плитки кейсов */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; } }
.case { display: grid; grid-template-rows: 300px auto; border-radius: 28px; overflow: hidden; text-decoration: none; border: 1px solid var(--line); background: var(--bg-2); transition: transform .3s ease, border-color .3s; }
.case:hover { transform: translateY(-4px); border-color: var(--line-2); }
.case .vis { position: relative; overflow: hidden; display: grid; place-items: center; }
.case .meta { padding: 24px 28px 28px; display: grid; gap: 8px; }
.case .meta small { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.case .meta small i { font-style: normal; color: var(--teal); }
.case h3 { font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.case p { color: var(--muted); font-size: 15px; }
.case .go { margin-top: 6px; font-weight: 600; font-size: 15px; color: var(--accent); }

/* Визуальные «миры» кейсов — одинаковы в обеих темах */
.v-pmu { background: linear-gradient(150deg, #F6E6E2, #E9CFCB); color: #3E1F35; }
.v-pmu .appt { width: 260px; background: #FFFAF8; border-radius: 18px; padding: 18px; box-shadow: 0 24px 40px -20px rgba(122,58,94,.55); transform: rotate(-3deg); }
.v-pmu .appt small { font-size: 12px; color: #9A6E86; }
.v-pmu .appt b { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 4px 0 8px; }
.v-pmu .appt div { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; border-top: 1px solid #F0DCDD; padding-top: 7px; margin-top: 7px; }
.v-pmu .bub { position: absolute; right: 9%; top: 18%; background: #7A3A5E; color: #fff; padding: 10px 14px; border-radius: 16px 16px 4px 16px; font-size: 13px; transform: rotate(3deg); box-shadow: 0 16px 30px -16px rgba(122,58,94,.8); }
.v-rent { background: repeating-linear-gradient(92deg, rgba(0,0,0,.06) 0 2px, transparent 2px 9px), linear-gradient(180deg, #8E6040, #6A4529); }
.v-rent .keys { display: flex; gap: 16px; }
.kt { display: grid; justify-items: center; transform-origin: 50% -8px; animation: sway 5s ease-in-out infinite; }
.kt:nth-child(2) { animation-delay: -1.5s; } .kt:nth-child(3) { animation-delay: -3s; } .kt:nth-child(4) { animation-delay: -4s; }
@keyframes sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
.kt::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #eee, #888 60%, #555); margin-bottom: 4px; }
.kt span { background: #F4ECD8; color: #2B2418; border-radius: 12px 12px 4px 4px; padding: 16px 12px 10px; text-align: center; font-size: 13px; line-height: 1.3; box-shadow: 0 10px 18px -8px rgba(0,0,0,.7); position: relative; }
.kt span::before { content: ""; position: absolute; top: 5px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #6A4529; }
.kt em { display: block; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; border-radius: 999px; padding: 2px 8px; margin-top: 6px; }
.kt .d { background: #C0392B; } .kt .a { background: #1D6493; } .kt .o { background: #2E9E60; } .kt .p { background: #6E56CF; }
.v-shop { background: radial-gradient(70% 80% at 50% 0%, #2A2A30, #121215); }
.receipt { width: 240px; background: #FDFDF8; color: #1E1E1E; font-family: var(--mono); font-size: 12px; padding: 16px 16px 22px; transform: rotate(2deg) translateY(22px);
  box-shadow: 0 30px 40px -20px rgba(0,0,0,.9); -webkit-mask: radial-gradient(circle at 6px 100%, transparent 5px, #000 5.5px) 0 100% / 12px 100% repeat-x; mask: radial-gradient(circle at 6px 100%, transparent 5px, #000 5.5px) 0 100% / 12px 100% repeat-x; }
.receipt div { display: flex; justify-content: space-between; gap: 8px; }
.receipt .c { justify-content: center; font-weight: 700; }
.receipt hr { border: 0; border-top: 1px dashed #999; margin: 6px 0; }
.receipt .w { color: #B3261E; }
.v-site { background: linear-gradient(160deg, #1D3542, #0E1C25); }
.v-site .browser { width: 300px; background: #fff; color: #2A1F27; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 50px -20px rgba(0,0,0,.9); transform: perspective(900px) rotateY(-10deg) rotateX(4deg); }
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #ECEFF1; font-family: var(--mono); font-size: 11px; color: #4B5A63; }
.browser .bar i { width: 8px; height: 8px; border-radius: 50%; background: #C9D1D6; }
.browser .bar span { margin-left: 6px; background: #fff; border-radius: 4px; padding: 1px 8px; }
.browser .pg { padding: 16px 18px 18px; display: grid; gap: 8px; font-size: 13px; }
.browser .pg b { font-family: var(--serif); font-weight: 400; font-size: 22px; color: #7A3A5E; }
.browser .pg div { display: flex; justify-content: space-between; border-bottom: 1px solid #EEE; padding-bottom: 4px; }
.browser .pg span.go { justify-self: start; background: #2AABEE; color: #fff; border-radius: 6px; padding: 6px 12px; font-weight: 700; font-size: 12px; }

/* Шаги — последовательность */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: linear-gradient(90deg, var(--brass), transparent); }
.steps li { counter-increment: s; position: relative; display: grid; gap: 10px; align-content: start; }
.steps li::before { content: counter(s); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 20px; color: var(--on-brass); background: linear-gradient(180deg, var(--brass-2), var(--brass)); box-shadow: 0 0 0 6px var(--bg); }
.band .steps li::before { box-shadow: 0 0 0 6px var(--bg-2); }
.steps h3 { font-family: var(--serif); font-size: 26px; margin-top: 8px; }
.steps p { color: var(--muted); font-size: 15px; }
.steps span { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.steps.s5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 860px) { .steps, .steps.s5 { grid-template-columns: 1fr; } .steps::before { left: 23px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--brass), transparent); }
  .steps li { grid-template-columns: 46px 1fr; column-gap: 18px; } .steps li::before { grid-row: span 3; } .steps h3 { margin-top: 6px; } }

/* Карточки преимуществ */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .tiles, .tiles.two { grid-template-columns: 1fr; } }
.tile { padding: 30px; border-radius: 24px; border: 1px solid var(--line); background: var(--bg-2); display: grid; gap: 10px; align-content: start; }
.band .tile { background: var(--bg); }
.tile h3 { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.tile p { color: var(--muted); font-size: 15px; }
.tile .lbl { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.tile.hl { border-color: color-mix(in srgb, var(--teal) 50%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--teal) 10%, transparent), transparent 60%), var(--bg-2); }
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.checks li::before { content: "✓  "; color: var(--teal); font-weight: 700; }

/* Призыв */
.final { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(40px, 7vw, 96px); text-align: center; display: grid; justify-items: center; gap: 22px;
  background: radial-gradient(60% 80% at 50% 0%, rgba(201,160,90,.22), transparent 70%), var(--bg-2); border: 1px solid color-mix(in srgb, var(--brass) 35%, transparent); }
.final h2 { font-family: var(--serif); font-size: clamp(40px, 5.6vw, 76px); line-height: 1; max-width: 16ch; }
.final p { color: var(--muted); font-size: 18px; max-width: 52ch; }
.final .cta-row { margin-top: 6px; justify-content: center; }

.foot { margin-top: 100px; border-top: 1px solid var(--line); padding: 34px 0; font-size: 14px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--text); }

/* ===== Внутренние страницы ===== */
.page-head { position: relative; overflow: hidden; padding: 48px 0 90px; }
.page-head::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 60% at 78% 40%, var(--glow), transparent 70%); }
.page-head .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 980px) { .page-head .wrap { grid-template-columns: 1fr; } }
.back { display: inline-flex; gap: 8px; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 26px; }
.back:hover { color: var(--text); }
.page-head h1 { font-family: var(--serif); font-size: clamp(42px, 5.6vw, 78px); line-height: 1; letter-spacing: -.015em; margin-top: 20px; }
.page-head .lead { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 48ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 34px 0 0; }
.facts div { border-top: 1px solid var(--line-2); padding-top: 10px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 600; }
.facts .live { display: inline-flex; align-items: center; gap: 8px; }
.facts .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.showcase { position: relative; border-radius: 32px; overflow: hidden; min-height: 480px; display: grid; place-items: center; box-shadow: var(--shadow); }
.note { font-size: 14px; color: var(--dim); }

/* Было → Сделали → Стало */
.bss { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .bss { grid-template-columns: 1fr; } }
.bss > div { border-radius: 24px; padding: 30px; border: 1px solid var(--line); background: var(--bg-2); display: grid; gap: 14px; align-content: start; }
.bss h3 { font-family: var(--serif); font-size: 30px; }
.bss .lbl { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.bss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.bss .was li { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--bad) 70%, transparent); }
.bss .did li::before { content: "→  "; color: var(--accent); }
.bss .now { border-color: color-mix(in srgb, var(--teal) 45%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--teal) 10%, transparent), transparent 60%), var(--bg-2); }
.bss .now li::before { content: "✓  "; color: var(--teal); font-weight: 700; }

/* Двухколоночный блок: текст + демо */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }
.split h2 { font-family: var(--serif); font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; }
.split .lead { margin-top: 16px; color: var(--muted); font-size: 18px; }
.flow { list-style: none; margin: 26px 0 0; padding: 0; display: grid; counter-reset: f; }
.flow li { counter-increment: f; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding-block: 14px; border-top: 1px solid var(--line); }
.flow li::before { content: counter(f); grid-row: span 2; font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--accent); }
.flow b { font-weight: 600; }
.flow span { color: var(--muted); font-size: 15px; }

/* Чат-демо: экран устройства, тёмный в обеих темах */
.demo { position: relative; min-width: 0; display: grid; gap: 14px; }
.demo-tag { position: absolute; top: -28px; right: 4px; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.chat { background: #14161C; color: #EEF0F4; border: 1px solid rgba(255,255,255,.08); border-radius: 26px; padding: 16px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.chat-head b { display: block; } .chat-head small { color: #5FE0A6; font-size: 12px; }
.ava { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #E6CB92, #C9A05A); display: grid; place-items: center; color: #1A140A; font-family: var(--serif); font-size: 15px; flex: none; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; }
.msg.in { justify-self: end; background: #2B5BD7; color: #fff; border-bottom-right-radius: 5px; }
.msg.out { justify-self: start; background: #222632; color: #EEF0F4; border-bottom-left-radius: 5px; }
.msg.recog { justify-self: end; font-family: var(--mono); font-size: 12px; color: #9AD3F2; background: rgba(154,211,242,.08); border: 1px dashed rgba(154,211,242,.4); }
.msg .list { display: grid; gap: 2px; margin-top: 6px; font-size: 13.5px; }
.msg .list span { display: flex; justify-content: space-between; gap: 12px; }
.msg .list em { font-style: normal; opacity: .6; font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chips span { font-family: var(--mono); font-size: 12px; padding: 4px 9px; border-radius: 8px; border: 1px solid rgba(255,255,255,.22); }
.chips span.pick { background: #E6CB92; border-color: #E6CB92; color: #1A140A; }
.voice-msg { display: inline-flex; align-items: center; gap: 10px; }
.voice-msg .play { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; background: rgba(255,255,255,.9); color: #2B5BD7; flex: none; }
.wave { display: inline-flex; align-items: center; gap: 3px; height: 22px; }
.wave i { width: 3px; border-radius: 2px; background: currentColor; opacity: .8; height: 30%; animation: wv 1.1s ease-in-out infinite; }
.wave i:nth-child(3n) { height: 70%; animation-delay: .15s; } .wave i:nth-child(4n) { height: 95%; animation-delay: .3s; } .wave i:nth-child(5n) { height: 50%; animation-delay: .45s; }
@keyframes wv { 50% { transform: scaleY(.45); } }
.toast { justify-self: end; display: flex; gap: 10px; align-items: center; background: var(--bg-3); color: var(--text); border: 1px solid var(--line); padding: 10px 14px; border-radius: 14px; font-size: 13px; max-width: 340px; box-shadow: var(--shadow); }
.toast b { color: var(--accent); }
.typing { justify-self: start; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 16px; background: #222632; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #EEF0F4; opacity: .5; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-3px); opacity: 1; } }
.demo .step { transition: opacity .35s ease, transform .35s ease; }
.demo.playing .step.hide { opacity: 0; transform: translateY(8px); }

/* Мини-приложение: телефон */
.phone { width: 300px; height: 620px; border-radius: 46px; padding: 11px; background: linear-gradient(145deg, #3A3F4A, #121418 45%, #2A2E36); box-shadow: inset 0 0 0 2px rgba(255,255,255,.12), var(--shadow); }
.phone .scr { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #FFF8F6; color: #3E1F35; }
.phone .scr::before { content: ""; position: absolute; top: 10px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 14px; background: #000; z-index: 2; }
.phone iframe { width: 390px; height: 840px; border: 0; transform: scale(.71); transform-origin: 0 0; }

/* Интерактивная CRM-книга (аренда, магазин) */
.book { position: relative; background: var(--bg-3); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.book-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.book-top h3 { font-family: var(--serif); font-size: 24px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { font: inherit; font-size: 14px; color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--on-brass); background: var(--brass-2); border-color: var(--brass-2); font-weight: 600; }
.tabs button .cnt { display: inline-block; min-width: 18px; margin-left: 4px; padding: 0 5px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; }
.totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.totals div { padding: 14px 22px; border-right: 1px solid var(--line); }
.totals div:last-child { border-right: 0; }
.totals b { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; }
.totals span { font-size: 13px; color: var(--muted); }
.totals .bad b { color: var(--bad); } .totals .good b { color: var(--ok); }
@media (max-width: 700px) { .totals { grid-template-columns: repeat(2, minmax(0, 1fr)); } .totals div:nth-child(2) { border-right: 0; } .totals div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.book-body { display: grid; grid-template-columns: 1.6fr 1fr; }
@media (max-width: 900px) { .book-body { grid-template-columns: 1fr; } }
.tbl-wrap { overflow-x: auto; border-right: 1px solid var(--line); }
@media (max-width: 900px) { .tbl-wrap { border-right: 0; border-bottom: 1px solid var(--line); } }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.t th { text-align: left; font-weight: 500; font-size: 12px; color: var(--muted); padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.t td { padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.t tr:last-child td { border-bottom: 0; }
.t td.num, .t th.num { text-align: right; font-family: var(--mono); font-size: 13px; }
.t tbody tr.click { cursor: pointer; }
.t tbody tr.click:hover, .t tbody tr.sel { background: color-mix(in srgb, var(--brass) 10%, transparent); }
.t small { display: block; color: var(--muted); font-size: 12px; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 9px; border-radius: 999px; border: 1px solid currentColor; }
.b-paid, .b-ok { color: var(--ok); } .b-over, .b-out { color: var(--bad); } .b-part, .b-low { color: var(--warn); } .b-prom { color: var(--prom); } .b-new { color: var(--muted); } .b-adv, .b-ch { color: var(--info); }
.bar { display: inline-block; width: 56px; height: 6px; border-radius: 3px; background: var(--line); vertical-align: middle; margin-left: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ok); } .bar.low i { background: var(--bad); }
.flash { animation: flash 1.4s ease; }
@keyframes flash { from { background: color-mix(in srgb, var(--ok) 25%, transparent); } to { background: transparent; } }
.side { padding: 22px; display: grid; gap: 22px; align-content: start; }
.side h3 { font-family: var(--serif); font-size: 22px; }
.side .muted { color: var(--muted); font-size: 14px; }
.act { display: grid; font-size: 14px; font-variant-numeric: tabular-nums; }
.act div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.act div span:last-child { font-family: var(--mono); font-size: 13px; }
.act div.tot { border-bottom: 3px double var(--brass); font-weight: 600; padding-top: 10px; }
.act .plus { color: var(--ok); }
.form { display: grid; gap: 10px; padding: 18px; border-radius: 18px; border: 1px dashed var(--line-2); background: var(--bg); }
.form label { font-size: 13px; color: var(--muted); display: grid; gap: 6px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.form select, .form input { font: inherit; font-size: 15px; color: var(--text); background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; width: 100%; }
.form .row { display: flex; gap: 8px; flex-wrap: wrap; }
.form .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
.msgline { font-size: 14px; color: var(--ok); min-height: 1.4em; }
.msgline.err { color: var(--bad); }
.book-note { font-size: 13px; color: var(--dim); padding: 12px 22px; border-top: 1px solid var(--line); }

/* Ключница (аренда) */
.keyboard { position: relative; width: 100%; height: 100%; padding: 64px 26px 34px; display: grid; align-content: center;
  background: repeating-linear-gradient(92deg, rgba(0,0,0,.05) 0 2px, transparent 2px 9px), repeating-linear-gradient(88deg, rgba(255,255,255,.04) 0 1px, transparent 1px 23px), linear-gradient(180deg, #9A6A44, #8B5E3C 45%, #6F4A2E); }
.keyboard .plate { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); background: linear-gradient(#E3C770, #C9A24A); color: #3A2A10; font-size: 12px; font-weight: 700; padding: 3px 14px; border-radius: 3px; white-space: nowrap; }
.hooks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 14px; }
@media (max-width: 520px) { .hooks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hook { position: relative; display: grid; justify-items: center; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; padding: 0; }
.hook .kt span { min-width: 0; width: 100%; max-width: 116px; }
.hook .kt span b { display: block; font-family: var(--serif); font-weight: 400; font-size: 16px; }
.hook .kt span small { display: block; font-size: 11px; color: #6B5E47; min-height: 2.4em; }
.hook[aria-pressed="true"] .kt span { box-shadow: 0 0 0 3px #fff, 0 10px 18px -8px rgba(0,0,0,.7); }
.kt.kick { animation: kick 1.4s cubic-bezier(.2,.6,.3,1); }
@keyframes kick { 15% { transform: rotate(14deg); } 35% { transform: rotate(-9deg); } 55% { transform: rotate(5deg); } 75% { transform: rotate(-2deg); } 100% { transform: rotate(0); } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
.typing[hidden], [hidden] { display: none !important; }

/* Шрифты приложений PMU by Vi (для живых экранов в телефоне) */
@font-face { font-family: Montserrat; font-weight: 400; src: url(fonts/montserrat-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0400-045F, U+2116; font-display: swap; }
@font-face { font-family: Montserrat; font-weight: 500; src: url(fonts/montserrat-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0400-045F, U+2116; font-display: swap; }
@font-face { font-family: Montserrat; font-weight: 600; src: url(fonts/montserrat-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0400-045F, U+2116; font-display: swap; }
@font-face { font-family: Montserrat; font-weight: 700; src: url(fonts/montserrat-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0400-045F, U+2116; font-display: swap; }
@font-face { font-family: Montserrat; font-weight: 400; src: url(fonts/montserrat-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; font-display: swap; }
@font-face { font-family: Montserrat; font-weight: 500; src: url(fonts/montserrat-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; font-display: swap; }
@font-face { font-family: Montserrat; font-weight: 600; src: url(fonts/montserrat-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; font-display: swap; }
@font-face { font-family: Montserrat; font-weight: 700; src: url(fonts/montserrat-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; font-display: swap; }
@font-face { font-family: "Playfair Display"; font-weight: 400; src: url(fonts/playfair-display-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0400-045F; font-display: swap; }
@font-face { font-family: "Playfair Display"; font-weight: 500; src: url(fonts/playfair-display-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0400-045F; font-display: swap; }
@font-face { font-family: "Playfair Display"; font-weight: 400; src: url(fonts/playfair-display-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF; font-display: swap; }
@font-face { font-family: "Playfair Display"; font-weight: 500; src: url(fonts/playfair-display-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF; font-display: swap; }
@font-face { font-family: "Playfair Display"; font-style: italic; src: url(fonts/playfair-display-cyrillic-400-italic.woff2) format("woff2"); unicode-range: U+0400-045F; font-display: swap; }

/* Живое приложение в телефоне */
.app-wrap { display: grid; justify-items: center; gap: 16px; }
.app-wrap .phone { width: 300px; height: 658px; border-radius: 48px; padding: 11px; }
.app-wrap .phone .scr { background: #2E211B; padding-top: 34px; }
.app-wrap .phone .scr::before { z-index: 3; }
.app-screen { position: relative; width: 100%; height: 100%; overflow: hidden; }
.app-fallback { display: none; width: 100%; height: 100%; object-fit: cover; }
.app-fail .app-screen { display: none; } .app-fail .app-fallback { display: block; }
.app-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.app-nav button { font: inherit; font-size: 14px; color: var(--text); background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.app-nav button:hover { border-color: var(--text); }
.app-nav button[aria-pressed="true"] { background: var(--brass-2); border-color: var(--brass-2); color: var(--on-brass); font-weight: 600; }
.real { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--teal); }
.real::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.split.rev > :first-child { order: 2; }
@media (max-width: 920px) { .split.rev > :first-child { order: 0; } }

/* Аренда: коммуналка и разбивка по видам */
.act .by-kind-h { margin: 14px 0 4px; font-size: 13px; color: var(--muted); }
.act table.by-kind { font-size: 13px; }
.act table.by-kind th, .act table.by-kind td { padding: 6px 6px; }
.side .tabs { margin-bottom: -10px; }
.ucheck { border: 1px solid color-mix(in srgb, var(--brass) 50%, transparent); background: color-mix(in srgb, var(--brass) 8%, transparent); border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.55; font-variant-numeric: tabular-nums; }
.ucheck b:first-child { display: block; font-family: var(--serif); font-weight: 400; font-size: 18px; margin-bottom: 4px; }
.ucheck .warn { display: block; margin-top: 6px; color: var(--warn); font-weight: 600; }
.form [hidden] { display: none !important; }
.checks.no li::before { content: "—  "; color: var(--bad); }
