/* roditeli.online: the landing and the legal pages (/privacy, /terms are rendered by the server with this stylesheet).
   The app's look: dark background, the icon gradient, Comfortaa for headings, Nunito for text. Nothing external.
   The Comfortaa subset is named «Roditeli Display»: "Comfortaa" is a Reserved Font Name of its OFL, a modified copy may not carry it. */

@font-face { font-family: "Roditeli Display"; src: url("/fonts/roditeli-display.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

@view-transition { navigation: auto; }

:root {
  --bg: #0F1A20;
  --bg-2: #132129;
  --card: #1A262D;
  --card-2: #213039;
  --line: rgba(255, 255, 255, .08);
  --text: #EAF1F4;
  --muted: #A3B3BB;
  --sky: #6CC1E6;
  --green: #5BD39A;
  --blue: #2B4FB0;
  --purple: #8B45C0;
  --pink: #F0386E;
  --grad: linear-gradient(135deg, var(--blue), var(--purple) 50%, var(--pink));
  --radius: 24px;
  --wrap: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
/* Sections slide in from the side (.reveal.wait.left/right): main cuts that overflow itself, because phone browsers do not honour
   overflow-x on body, and the sticky header lives outside main so nothing it sits in ever scrolls. */
main, .foot { overflow-x: hidden; }
@supports (overflow-x: clip) { main, .foot { overflow-x: clip; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: "Roditeli Display", "Nunito", system-ui, sans-serif; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--sky); color: #08131A; padding: 10px 16px; border-radius: 12px; font-weight: 800; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 800 16px/1.2 "Nunito", system-ui, sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--sky); color: #08131A; box-shadow: 0 10px 30px -10px rgba(108, 193, 230, .7); }
.btn-primary:hover { box-shadow: 0 16px 40px -12px rgba(108, 193, 230, .9); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 12px 34px -12px rgba(240, 56, 110, .65); }
.btn-ghost { border-color: rgba(255, 255, 255, .22); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .45); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 60px; padding: 0 32px; font-size: 17px; }

/* Store state: <html data-store="soon|live">. The RuStore link is /rustore (Caddy redirects it), docs/server-setup.md «Сайт». */
[data-store="soon"] .when-live, [data-store="live"] .when-soon { display: none !important; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.top.solid, .legal .top { background: rgba(15, 26, 32, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 21px/1 "Roditeli Display", system-ui, sans-serif; }
.brand .logo { width: 36px; height: 36px; border-radius: 11px; }
.nav { display: none; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--text); }
@media (min-width: 960px) { .nav { display: flex; } }

/* Hero */
.hero { position: relative; padding: 28px 0 72px; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(rgba(15, 26, 32, 0), var(--bg)); pointer-events: none; z-index: 0; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; z-index: 0; }
.glow-1 { width: 520px; height: 520px; background: var(--blue); top: -160px; left: -180px; animation: drift 18s ease-in-out infinite alternate; }
.glow-2 { width: 460px; height: 460px; background: var(--purple); top: 120px; right: -200px; animation: drift 22s ease-in-out infinite alternate-reverse; }
.glow-3 { width: 380px; height: 380px; background: var(--pink); bottom: -220px; left: 30%; opacity: .35; animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }
.hero-in { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-in { grid-template-columns: 1.08fr .92fr; gap: 48px; } .hero { padding: 48px 0 110px; } }
.eyebrow { display: inline-block; font: 800 13px/1.3 "Nunito", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); margin: 0 0 14px; }
.hero h1 { font-size: clamp(36px, 7.4vw, 64px); margin-bottom: 20px; }
.hero h1 > span { display: block; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(18px, 2.2vw, 21px); color: #C9D6DC; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.cta-note { color: var(--muted); font-size: 15px; display: flex; align-items: flex-start; gap: 10px; margin: 0; }
@media (max-width: 520px) { .cta-row .btn { width: 100%; } .hero .cta-row .btn-ghost { display: none; } }
.dot { margin-top: 7px; width: 9px; height: 9px; border-radius: 50%; background: #F5B83D; box-shadow: 0 0 0 0 rgba(245, 184, 61, .6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(245, 184, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 184, 61, 0); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: #D3DEE3; }
.chips svg { width: 16px; height: 16px; color: var(--green); }

/* Phone mockups */
.stage { position: relative; display: flex; justify-content: center; padding: 10px 0 20px; }
.phone {
  position: relative; width: min(300px, 74vw); border-radius: 40px; padding: 8px; background: #0A1217;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .14), 0 40px 80px -30px rgba(0, 0, 0, .8), 0 30px 80px -40px rgba(139, 69, 192, .7);
}
.phone img { border-radius: 32px; width: 100%; aspect-ratio: 540 / 1137; object-fit: cover; background: var(--bg); }
.hero .phone { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.bubble {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px;
  background: rgba(26, 38, 45, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7);
  font-weight: 800; font-size: 15px; line-height: 1.25; white-space: nowrap;
}
.bubble small { display: block; font-weight: 600; color: var(--muted); font-size: 12.5px; }
.bubble .ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--grad); flex: none; }
.bubble .ico svg { width: 18px; height: 18px; color: #fff; }
.b1 { top: 16%; left: max(0px, calc(50% - 250px)); animation: float 6s ease-in-out infinite .4s; }
.b2 { bottom: 20%; right: max(0px, calc(50% - 250px)); animation: float 6.5s ease-in-out infinite 1.2s; }
.bar { display: block; width: 120px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 27%; background: var(--sky); border-radius: 6px; transition: width 1.6s var(--ease) .6s; }
.js .bar:not(.full) i { width: 0; }
@media (max-width: 420px) { .bubble { font-size: 13.5px; padding: 10px 12px; } .b1 { left: 0; } .b2 { right: 0; } }

/* Sections */
section { position: relative; }
.sec { padding: 84px 0; }
@media (min-width: 960px) { .sec { padding: 120px 0; } }
.sec-alt { background: linear-gradient(180deg, var(--bg) 0, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }
.sec-head { max-width: 760px; margin: 0 0 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec h2 { font-size: clamp(30px, 4.6vw, 46px); }
.sec-head p { color: var(--muted); font-size: 18px; }
.sec-head p.eyebrow, .vk p.eyebrow { color: var(--sky); font-size: 13px; }

/* Story */
.story { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .story { grid-template-columns: 1.2fr .8fr; gap: 56px; } }
.quote { position: relative; overflow: hidden; margin: 0; padding: 32px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); font-size: clamp(18px, 2.2vw, 21px); line-height: 1.6; }
.quote::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; border-radius: 4px; background: var(--grad); }
.quote p:last-of-type { margin-bottom: 0; }
.quote footer { margin-top: 18px; color: var(--muted); font-size: 15px; font-weight: 700; }
.problems { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.problems li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: #D3DEE3; }
.problems li::before { content: "?"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(240, 56, 110, .16); color: #FF7CA3; font-weight: 900; font-size: 15px; }

/* Feature rows */
.feature { display: grid; gap: 36px; align-items: center; margin-bottom: 96px; }
.feature:last-child { margin-bottom: 0; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; gap: 72px; } .feature.flip .feature-media { order: -1; } }
.feature h3 { font-size: clamp(26px, 3.4vw, 34px); }
.feature-media { display: flex; justify-content: center; position: relative; }
.feature-media::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--grad); filter: blur(80px); opacity: .28; top: 15%; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 36px; color: #D3DEE3; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 8px; background: rgba(91, 211, 154, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235BD39A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.tags li { border-radius: 12px; background: var(--card-2); font-weight: 700; font-size: 15px; }
.tags li a { display: block; padding: 8px 14px; border-radius: 12px; color: inherit; text-decoration: none; }
.tags li a:hover, .tags li a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* Timeline of things before the birth */
.timeline { list-style: none; margin: 26px 0 0; padding: 0 0 0 30px; position: relative; display: grid; gap: 14px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); }
.timeline::after { content: ""; position: absolute; left: 9px; top: 8px; width: 3px; border-radius: 3px; background: var(--grad); height: calc(100% - 16px); transition: height 1.8s var(--ease); }
.js .timeline:not(.in)::after { height: 0; }
.timeline li { position: relative; display: flex; gap: 14px; align-items: baseline; }
.timeline li::before { content: ""; position: absolute; left: -27px; top: 7px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg-2); border: 3px solid var(--purple); }
.timeline b { flex: none; min-width: 116px; font-family: "Roditeli Display", sans-serif; color: var(--sky); font-size: 15px; }

/* The «Малыш родился!» band */
.born { position: relative; overflow: hidden; border-radius: 36px; padding: 48px 24px; background: var(--grad); color: #fff; text-align: center; }
@media (min-width: 720px) { .born { padding: 72px 56px; } }
.born::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 0, rgba(255, 255, 255, .25), transparent 60%); pointer-events: none; }
.born h2 { color: #fff; }
.born > p { max-width: 640px; margin: 0 auto 28px; font-size: 18px; color: rgba(255, 255, 255, .92); }
.born-btn { display: inline-flex; align-items: center; min-height: 60px; padding: 0 34px; border-radius: 999px; background: var(--sky); color: #08131A; font-weight: 800; font-size: 19px; box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); }
.born.in .born-btn { animation: ring 2.4s var(--ease) .4s 2; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); transform: scale(1); } 15% { transform: scale(1.06); } 30% { transform: scale(1); } 100% { box-shadow: 0 0 0 26px rgba(255, 255, 255, 0); } }
.born-grid { position: relative; z-index: 1; display: grid; gap: 14px; margin-top: 40px; text-align: left; }
@media (min-width: 820px) { .born-grid { grid-template-columns: repeat(3, 1fr); } }
.born-card { padding: 22px; border-radius: 20px; background: rgba(15, 26, 32, .28); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.born-card h3 { font-size: 19px; color: #fff; margin-bottom: 8px; }
.born-card p { margin: 0; color: rgba(255, 255, 255, .9); font-size: 16px; }

/* Cards grid */
.grid-3 { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .16); }
.card h3 { font-size: 20px; margin: 16px 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--card-2); color: var(--sky); }
.icon svg { width: 24px; height: 24px; }

/* Screens gallery */
.shots { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 16px 30px; margin: 0 -16px; scrollbar-width: thin; scrollbar-color: var(--card-2) transparent; }
@media (min-width: 720px) { .shots { padding: 10px 32px 30px; margin: 0 -32px; } }
.shots figure { flex: none; width: 230px; margin: 0; scroll-snap-align: center; }
.shots .phone { width: 100%; border-radius: 32px; padding: 6px; }
.shots .phone img { border-radius: 26px; }
.shots figcaption { text-align: center; margin-top: 14px; font-weight: 700; color: var(--muted); font-size: 15px; }

/* VK block */
.vk { display: grid; gap: 32px; align-items: center; padding: 40px 24px; border-radius: 36px; background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; }
@media (min-width: 900px) { .vk { grid-template-columns: 1.1fr .9fr; padding: 64px; } }
.vk::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: var(--blue); filter: blur(90px); opacity: .45; }
.vk > * { position: relative; }
.vk h2 { font-size: clamp(28px, 4vw, 40px); }
.vk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vk-list li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-weight: 700; }
.vk-list .icon { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.vk-list .icon svg { width: 20px; height: 20px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: var(--card); border: 1px solid var(--line); transition: border-color .25s; }
.faq details[open] { border-color: rgba(108, 193, 230, .35); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font-weight: 800; font-size: 17.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2.5px solid var(--sky); border-bottom: 2.5px solid var(--sky); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq .a { padding: 0 22px 20px; color: #C9D6DC; }
.faq .a p:last-child { margin: 0; }

/* Final call */
.final { text-align: center; }
.final h2 { font-size: clamp(32px, 5vw, 52px); }
.final p { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 auto 28px; }
.final .cta-row { justify-content: center; }
.final .figures { width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 28px; box-shadow: 0 20px 60px -20px rgba(240, 56, 110, .8); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 44px 0 120px; color: var(--muted); font-size: 15px; background: var(--bg); }
@media (min-width: 720px) { .foot { padding-bottom: 48px; } }
.foot-in { display: grid; gap: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot-links a { color: var(--text); font-weight: 700; text-decoration: none; }
.foot-links a:hover { color: var(--sky); text-decoration: underline; }
.foot-op, .foot-note { margin: 0; max-width: 820px; }
.foot .brand { font-size: 18px; }
.foot .brand .logo { width: 30px; height: 30px; border-radius: 9px; }

/* Sticky call on phones */
.sticky {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; gap: 8px; padding: 8px;
  border-radius: 22px; background: rgba(19, 33, 41, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9);
  transform: translateY(140%); transition: transform .45s var(--ease);
}
.sticky.show { transform: none; }
.sticky .btn { flex: 1; min-height: 48px; padding: 0 14px; font-size: 15px; }
@media (min-width: 900px) { .sticky { display: none; } }

/* Scroll reveal: content is visible by default; site.js hides only what is below the screen and shows it on the way. */
.reveal.wait { opacity: 0; transform: translateY(34px); }
.reveal.wait.zoom { transform: scale(.94); }
.reveal.wait.left { transform: translateX(-40px); }
.reveal.wait.right { transform: translateX(40px); }
.reveal.go { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }

/* Legal pages */
.doc { max-width: 820px; padding-top: 40px; padding-bottom: 64px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); }
.doc .lead { color: var(--muted); }
.doc section { margin-top: 36px; padding: 26px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.doc h2 { font-size: 21px; margin-bottom: 14px; }
.doc section p, .doc li { color: #D3DEE3; }
.doc section p:last-child { margin-bottom: 0; }
.doc ul { margin: 0 0 1em; padding-left: 1.2em; }
.doc ul:last-child { margin-bottom: 0; }
.doc li { margin: .45em 0; }
.doc li::marker { color: var(--sky); }
.doc-back { margin-top: 40px; }
.legal .foot { padding-bottom: 48px; }

/* List pages (/spiski/, generated by scripts/site_lists.py): a checklist that works without scripts and prints on white */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--sky); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.doc .checklist li { margin: 0; }
.checklist input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checklist label { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; padding: 12px 10px; border-radius: 14px; cursor: pointer; }
.checklist label:hover { background: rgba(255, 255, 255, .03); }
.checklist label::before { content: ""; grid-row: 1 / span 2; width: 24px; height: 24px; margin-top: 2px; border-radius: 8px; border: 2px solid rgba(255, 255, 255, .3); }
.checklist input:checked + label::before { border-color: var(--green); background: rgba(91, 211, 154, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235BD39A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }
.checklist input:checked + label .item b { text-decoration: line-through; color: var(--muted); }
.checklist input:focus-visible + label { outline: 2px solid var(--sky); outline-offset: 2px; }
.checklist .item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.checklist .item b { color: var(--text); font-size: 17px; }
.checklist .qty { color: var(--sky); font-weight: 800; font-size: 15px; white-space: nowrap; }
.checklist .note { color: var(--muted); font-size: 15px; margin-top: 2px; }
.clarify { color: var(--muted); font-size: 15px; margin-top: 28px; }
.doc .list-cta { background: var(--grad); border: 0; }
.doc .list-cta h2, .doc .list-cta p { color: #fff; }
.list-cta .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; }
.list-cta .btn-primary { background: #fff; box-shadow: none; }
.list-cta .btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.related a, .hub a { color: var(--sky); }
.doc .hub { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.doc .hub li { margin: 0; }
.hub a { display: block; padding: 18px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.hub a:hover { border-color: rgba(108, 193, 230, .4); }
.hub b { display: block; color: var(--text); font-family: "Roditeli Display", "Nunito", sans-serif; font-size: 19px; margin-bottom: 4px; }
.hub span { color: var(--muted); font-size: 15px; }
.updated { color: var(--muted); font-size: 14px; margin-top: 28px; }
@media (max-width: 520px) {
  .lists .doc section { padding: 20px 14px; }
  .checklist label { padding: 10px 4px; column-gap: 12px; }
}

@media print {
  .lists { background: #fff; color: #000; }
  .lists .top, .lists .foot, .lists .list-cta, .lists .related, .lists .crumbs, .lists .skip { display: none !important; }
  .lists .doc { padding: 0; max-width: none; }
  .lists .doc section { background: none; border: 1px solid #bbb; padding: 12px 16px; margin-top: 16px; break-inside: avoid; }
  .lists h1, .lists h2, .lists .checklist .item b, .lists .doc section p, .lists .doc li { color: #000; }
  .lists .lead, .lists .checklist .note, .lists .clarify, .lists .updated { color: #444; }
  .lists .checklist .qty { color: #000; }
  .lists .checklist label { padding: 6px 0; }
  .lists .checklist label::before { border-color: #000; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.wait { opacity: 1; transform: none; }
  .js .bar:not(.full) i { width: 27%; }
  .js .timeline:not(.in)::after { height: calc(100% - 16px); }
  @view-transition { navigation: none; }
}

/* Yandex Metrica consent banner (site.js): shown once, until the visitor chooses. */
.metrika-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 32px rgba(0, 0, 0, .35); color: var(--text); font-size: 15px; line-height: 1.5; }
.metrika-consent p { margin: 0 0 12px; color: var(--muted); }
.metrika-consent a { color: var(--sky); }
.metrika-consent-btns { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
