@font-face {
  font-family: 'Kelly Slab';
  src: url('/assets/fonts/kelly-slab-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --navy: #041c49;
  --blue: #0878f9;
  --light-blue: #eaf5ff;
  --muted: #42618e;
  --white: #fff;
  --shadow: 0 20px 60px rgba(4, 28, 73, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #fff; }
body { margin: 0; overflow-x: hidden; color: var(--navy); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; background: #fff; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed; z-index: 1000; left: 16px; top: -80px; padding: 12px 18px;
  border-radius: 12px; background: var(--navy); color: #fff; transition: top .2s;
}
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.mobile-header, .mobile-content, .mobile-footer { display: none; }
.desktop-footer {
  display: grid; grid-template-columns: minmax(240px, .95fr) minmax(420px, 1.7fr) minmax(260px, 1fr);
  gap: 34px 56px; padding: 44px clamp(28px, 5vw, 86px) 24px; color: #fff;
  background: linear-gradient(135deg, #02183d, #063a78); border-top: 1px solid rgba(255,255,255,.12);
}
.desktop-footer__intro { grid-column: 1 / -1; max-width: 1050px; }
.desktop-footer__intro h2 { margin: 0; color: #fff; font: 400 clamp(28px, 2.45vw, 42px)/1.08 'Kelly Slab', Georgia, serif; }
.desktop-footer__intro p { max-width: 900px; margin: 12px 0 0; color: #c7ddf8; font-size: 15px; line-height: 1.55; }
.desktop-footer__brand img { display: block; width: auto; height: 32px; padding: 4px 7px; border-radius: 8px; background: #fff; }
.desktop-footer__brand p { margin: 14px 0 0; color: #b9d4f7; font-size: 14px; line-height: 1.45; }
.desktop-footer__links { display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr)); gap: 12px 24px; align-content: start; }
.desktop-footer__links a { color: #fff; font-size: 14px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.desktop-footer__links a:hover, .desktop-footer__links a:focus-visible { color: #72c7ff; text-decoration: underline; text-underline-offset: 4px; }
.desktop-footer__seller { display: grid; gap: 8px; align-content: start; }
.desktop-footer__seller b { font-size: 16px; line-height: 1.3; }
.desktop-footer__seller span { color: #b9d4f7; font-size: 13px; line-height: 1.4; }
.desktop-footer__seller a { color: #fff; font-size: 14px; text-decoration: none; }
.desktop-footer__vk { width: fit-content; margin-top: 6px; padding: 10px 14px; border-radius: 12px; background: #0878f9; font-weight: 800; }
.desktop-footer__notice { grid-column: 1 / -1; display: flex; gap: 18px; align-items: center; padding: 18px 22px; border: 1px solid rgba(114,199,255,.35); border-radius: 16px; background: rgba(8,120,249,.16); }
.desktop-footer__notice b { flex: 0 0 auto; color: #fff; font-size: 15px; }
.desktop-footer__notice span { color: #d7e9ff; font-size: 14px; line-height: 1.5; }
.desktop-footer__copyright { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); color: #9bbce5; font-size: 12px; }

body:not(.page-home) .site-header {
  position: sticky; z-index: 40; top: 0; min-height: 82px; display: flex; align-items: center;
  justify-content: space-between; gap: 36px; padding: 14px clamp(28px, 5vw, 78px);
  background: rgba(255,255,255,.96); border-bottom: 1px solid #dceaff;
  box-shadow: 0 10px 34px rgba(4,28,73,.08); backdrop-filter: blur(18px);
}
body:not(.page-home) .site-header .mobile-logo { display: inline-flex; flex: 0 0 auto; align-items: center; }
body:not(.page-home) .site-header .mobile-logo img { display: block; width: auto; height: 36px; }
body:not(.page-home) .site-header .menu-button { display: none; }
body:not(.page-home) .site-header .mobile-menu {
  display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-left: auto;
}
body:not(.page-home) .site-header .mobile-menu a {
  padding: 10px 12px; border-radius: 10px; color: #173966; font-size: 13px;
  font-weight: 700; line-height: 1.25; text-decoration: none; white-space: nowrap;
}
body:not(.page-home) .site-header .mobile-menu a:hover,
body:not(.page-home) .site-header .mobile-menu a:focus-visible { color: #006dea; background: #edf6ff; }
body:not(.page-home) .site-header .mobile-menu a.active { color: #fff; background: #0878f9; }

.legal-page {
  position: relative; overflow: hidden; padding: 54px clamp(24px, 5vw, 78px) 78px;
  background:
    radial-gradient(circle at 82% 3%, rgba(97,190,255,.2), transparent 31%),
    linear-gradient(180deg, #f5fbff 0, #fff 280px);
}
.legal-page::before {
  content: ''; position: absolute; z-index: 0; right: -90px; top: -170px; width: 540px; height: 540px;
  border-radius: 50%; background: radial-gradient(circle, rgba(8,120,249,.13), rgba(8,120,249,0) 68%);
}
.legal-page__flag {
  position: absolute; z-index: 0; right: -5%; top: 210px; width: 48%; height: 72px; opacity: .16;
  background: linear-gradient(#fff 0 33.33%, #0878f9 33.33% 66.66%, #ef2a36 66.66%);
  transform: rotate(-7deg); filter: blur(.2px); border-radius: 50%;
}
.legal-layout { position: relative; z-index: 1; width: min(100%, 1380px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 42px; align-items: start; }
.legal-content { min-width: 0; }
.legal-content .mobile-document {
  max-width: none; padding: clamp(28px, 4vw, 58px); border: 1px solid #dbeaff; border-radius: 30px;
  background: rgba(255,255,255,.97); box-shadow: 0 24px 70px rgba(4,41,91,.1);
}
.legal-content .breadcrumbs { display: flex; gap: 9px; align-items: center; margin: 0 0 24px; color: #6682a8; font-size: 14px; }
.legal-content .breadcrumbs a { color: #0878f9; text-decoration: none; }
.legal-content .mobile-document h1 { margin: 0 0 22px; color: #061d49; font: 400 clamp(46px, 5vw, 76px)/.98 'Kelly Slab', Georgia, serif; letter-spacing: -.025em; }
.legal-content .mobile-document h2 { margin: 38px 0 12px; color: #092657; font: 400 30px/1.15 'Kelly Slab', Georgia, serif; }
.legal-content .mobile-document p,
.legal-content .mobile-document li { color: #294d7d; font-size: 17px; line-height: 1.68; }
.legal-content .mobile-document .lead { margin: 0 0 26px; color: #102f61; font-size: 23px; line-height: 1.5; }
.legal-content .mobile-document ul,
.legal-content .mobile-document ol { padding-left: 26px; }
.legal-content .document-links,
.legal-content .contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.legal-content .document-links a,
.legal-content .contact-list a {
  display: grid; gap: 5px; padding: 20px; border: 1px solid #d7e8fb; border-radius: 18px;
  background: linear-gradient(135deg, #fff, #edf6ff); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.legal-content .document-links a:hover,
.legal-content .contact-list a:hover { transform: translateY(-2px); border-color: #7cbcff; box-shadow: 0 14px 28px rgba(5,78,164,.12); }
.legal-content .document-links b,
.legal-content .contact-list b { color: #092657; font-size: 18px; }
.legal-content .document-links span,
.legal-content .contact-list span { color: #45668f; font-size: 14px; line-height: 1.45; }
.legal-content .doc-date { margin-top: 28px; color: #6682a8; font-size: 13px !important; }
.legal-content .steps { list-style: none; counter-reset: steps; padding: 0 !important; }
.legal-content .steps li { position: relative; counter-increment: steps; margin-bottom: 12px; padding: 18px 18px 18px 66px; border-radius: 18px; background: #eff7ff; }
.legal-content .steps li::before { content: counter(steps); position: absolute; left: 16px; top: 15px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #0878f9; color: #fff; font-weight: 800; }
.legal-content .notice { margin: 24px 0 0; padding: 20px; border-radius: 18px; background: #eef7ff; color: #244d82; line-height: 1.55; }
.legal-content .requisites { margin: 0; }
.legal-content .requisites dt { margin-top: 20px; color: #6580a3; font-size: 13px; }
.legal-content .requisites dd { margin: 5px 0 0; padding: 0 0 16px; border-bottom: 1px solid #dce9f8; color: #092657; font-size: 17px; font-weight: 700; line-height: 1.5; }
.legal-content .plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.legal-content .plan { padding: 22px; border: 1px solid rgba(0,94,214,.1); border-radius: 22px; }
.legal-content .plan b,
.legal-content .plan strong { display: block; font-size: 22px; }
.legal-content .plan strong { margin-top: 4px; }
.legal-content .plan p { margin: 12px 0 0; font-size: 15px; line-height: 1.5; }
.legal-content .plan--blue { background: linear-gradient(135deg, #eff8ff, #dfefff); } .legal-content .plan--blue strong { color: #0673ef; }
.legal-content .plan--violet { background: linear-gradient(135deg, #f5f0ff, #e9dcff); } .legal-content .plan--violet strong { color: #6815d6; }
.legal-content .plan--red { background: linear-gradient(135deg, #fff1f2, #ffe3e6); } .legal-content .plan--red strong { color: #ee1f2e; }
.legal-content .plan--orange { background: linear-gradient(135deg, #fff8ed, #fff0d8); } .legal-content .plan--orange strong { color: #f27400; }

.legal-sidebar { position: sticky; top: 108px; display: grid; gap: 18px; }
.legal-sidebar__card { padding: 22px; border: 1px solid #d8e9fb; border-radius: 24px; background: rgba(255,255,255,.96); box-shadow: 0 18px 44px rgba(4,41,91,.09); }
.legal-sidebar__card h2 { margin: 0 0 15px; color: #071f4f; font: 400 27px/1.08 'Kelly Slab', Georgia, serif; }
.offer-menu { display: grid; gap: 7px; }
.offer-menu a { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; min-height: 48px; padding: 7px 10px; border-radius: 13px; color: #193c6c; text-decoration: none; }
.offer-menu a > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #0878f9; background: #eaf5ff; font-weight: 800; }
.offer-menu a b { font-size: 14px; line-height: 1.25; }
.offer-menu a:hover,
.offer-menu a:focus-visible { color: #006dea; background: #f0f7ff; }
.offer-menu a.active { color: #fff; background: linear-gradient(135deg, #159cff, #0056e8); }
.offer-menu a.active > span { color: #006dea; background: #fff; }
.legal-sidebar__card--docs nav { display: grid; gap: 3px; }
.legal-sidebar__card--docs a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 9px; border-radius: 10px; color: #315681; font-size: 13px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.legal-sidebar__card--docs a:hover,
.legal-sidebar__card--docs a:focus-visible { color: #006dea; background: #eff7ff; }
.legal-sidebar__card--docs a.active { color: #006dea; background: #e4f2ff; }
.legal-sidebar__card--docs a span { flex: 0 0 auto; }
.design-canvas { position: relative; width: min(100%, 1680px); margin: 0 auto; line-height: 0; overflow: hidden; background: #fff; }
.design-canvas__image { display: block; width: 100%; height: auto; user-select: none; }
.page-home .design-canvas { width: 100%; max-width: none; min-height: 100svh; }
.page-home .design-canvas__image { width: 100%; min-height: 100svh; object-fit: cover; object-position: center; }
.hotspots { position: absolute; inset: 0; pointer-events: none; }
.hotspot { position: absolute; z-index: 3; display: block; border: 0; background: transparent; cursor: pointer; pointer-events: auto; border-radius: 18px; }
.hotspot:focus-visible, .hotspot:hover { outline: 3px solid rgba(0, 119, 255, .8); outline-offset: -3px; background: rgba(0, 128, 255, .06); }
.logo-hotspot { left: 2.2%; top: 1.1%; width: 23%; height: 6.2%; }
.page-home .logo-hotspot { left: 4%; top: 12%; width: 30%; height: 27%; }
.download-hotspot { left: 6.4%; top: 49.9%; width: 34%; height: 12.2%; overflow: hidden; border-radius: 999px; animation: download-pulse 2.5s ease-in-out infinite; }
.download-hotspot::after, .download-button::after {
  content: ''; position: absolute; top: -40%; bottom: -40%; left: -30%; width: 18%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
  transform: rotate(18deg); animation: download-shine 3.1s ease-in-out infinite;
}
.download-hotspot:hover { transform: translateY(-3px) scale(1.012); box-shadow: 0 16px 38px rgba(0,93,255,.42); }
.tariffs-hotspot { right: 1.8%; bottom: 1%; width: 11%; height: 8%; }
.android-version {
  position: absolute; z-index: 4; left: 6.4%; top: 63.2%; width: 34%; display: flex; align-items: center;
  justify-content: center; gap: 10px; color: #061c43; font-size: clamp(13px, 1.18vw, 20px); line-height: 1;
}
.android-version svg { width: 25px; height: 25px; fill: currentColor; }
.android-version strong { font-weight: 800; }
.plan-hotspot { left: 71%; width: 26%; }
.plan-hotspot--blue { top: 26.2%; height: 12.8%; }
.plan-hotspot--agent { top: 39.5%; height: 12.8%; }
.plan-hotspot--red { top: 52.8%; height: 17.7%; }
.plan-hotspot--orange { top: 71.3%; height: 10.8%; }
.vk-hotspot { left: 79%; top: 89%; width: 17%; height: 7%; }

.nav-hotspot { top: 1%; height: 6%; border-radius: 10px; }
.nav-hotspot--offer { left: 26.5%; width: 11%; }
.nav-hotspot--subscriptions { left: 38.5%; width: 10.5%; }
.nav-hotspot--cancel { left: 49.2%; width: 13.5%; }
.nav-hotspot--privacy { left: 62.9%; width: 17.7%; }
.nav-hotspot--requisites { left: 81%; width: 8%; }
.nav-hotspot--contacts { left: 89.4%; width: 8%; }
.page-vk-hotspot--top { left: 81%; top: 1%; width: 17%; height: 6%; }
.page-vk-hotspot--footer { left: 80%; top: 92.5%; width: 18%; height: 6%; }
.offer-row { left: 4.3%; width: 56.6%; height: 7.2%; }
.offer-row--0 { top: 31.2%; } .offer-row--1 { top: 39.2%; }
.offer-row--2 { top: 47.2%; } .offer-row--3 { top: 55.2%; }
.offer-row--4 { top: 63.2%; } .offer-row--5 { top: 71.2%; }
.offer-row--6 { top: 79.2%; } .offer-row--7 { top: 87.2%; }
.subscription-card { width: 47%; height: 15.4%; }
.subscription-card--blue { left: 2.7%; top: 43.8%; }
.subscription-card--agent { left: 50.8%; top: 43.8%; }
.subscription-card--red { left: 2.7%; top: 60.6%; }
.subscription-card--orange { left: 50.8%; top: 60.6%; }

.agent-button {
  position: absolute; z-index: 8; top: 3.3%; right: 3.5%; width: clamp(112px, 15.5vw, 255px);
  aspect-ratio: 1.55; padding: 0; border: 0; background: transparent; cursor: pointer; line-height: 1;
}
.agent-button img { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%; object-fit: contain; animation: agent-float 4s ease-in-out infinite; filter: drop-shadow(0 12px 20px rgba(2,52,118,.2)); }
.agent-button .agent-frame--blink { z-index: 3; opacity: 0; animation: agent-float 4s ease-in-out infinite, agent-blink-frame 5s steps(1,end) infinite; }
.agent-button.speaking img { animation: agent-talk .56s ease-in-out infinite; filter: drop-shadow(0 0 22px rgba(55,225,255,.78)); }
.agent-button:focus-visible { outline: 4px solid #fff; outline-offset: 5px; border-radius: 48%; }
.agent-ring { position: absolute; z-index: 1; inset: 10% 2%; border: 3px solid rgba(74, 221, 255, .78); border-left-color: transparent; border-radius: 50%; animation: agent-orbit 3.2s linear infinite; filter: drop-shadow(0 0 8px rgba(69,219,255,.9)); }
@keyframes agent-float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(10px) rotate(2deg); } }
@keyframes agent-talk { 0%,100% { transform: translateY(0) rotate(-2deg) scale(1); } 50% { transform: translateY(-4px) rotate(2deg) scale(1.035); } }
@keyframes agent-orbit { 0% { transform: rotate(0deg) scale(.92); opacity: .48; } 50% { opacity: .95; } 100% { transform: rotate(360deg) scale(1.04); opacity: .48; } }
@keyframes agent-spark { 0%,100% { transform: scale(.7); opacity: .5; } 50% { transform: scale(1.25); opacity: 1; } }
@keyframes agent-blink-frame { 0%, 45%, 49%, 100% { opacity: 0; } 46%, 48% { opacity: 1; } }
@keyframes download-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(17,143,255,0); } 50% { box-shadow: 0 0 0 10px rgba(17,143,255,.16), 0 18px 42px rgba(0,89,237,.28); } }
@keyframes download-shine { 0%,38% { left: -30%; opacity: 0; } 46% { opacity: 1; } 66%,100% { left: 118%; opacity: 0; } }

.agent-tariffs {
  position: absolute; z-index: 7; top: 20.2%; right: 2.8%; width: min(31.2%, 510px); padding: 20px;
  border: 2px solid rgba(66,145,238,.42); border-radius: 28px; background: rgba(255,255,255,.96);
  box-shadow: 0 24px 65px rgba(2,30,75,.28); line-height: 1.2; backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transform: translateY(-18px) scale(.96); transform-origin: 82% 0;
  transition: opacity .28s ease, transform .34s cubic-bezier(.2,.8,.2,1), visibility .28s;
}
.agent-tariffs.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.agent-tariffs__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 0 0 10px; }
.agent-tariffs__heading strong { display: block; font: 400 clamp(28px, 2.5vw, 42px)/.95 'Kelly Slab', Georgia, serif; }
.agent-tariffs__heading span { display: block; margin-top: 5px; color: #345982; font-size: clamp(10px, 1vw, 16px); }
.agent-tariffs__close { width: 36px; height: 36px; flex: 0 0 auto; border: 0; border-radius: 50%; background: #edf5ff; color: var(--navy); font-size: 26px; cursor: pointer; }
.agent-plan { width: 100%; display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; margin-top: 8px; padding: 11px 13px; border: 0; border-radius: 17px; color: var(--navy); text-align: left; cursor: pointer; }
.agent-plan i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #0785f8; font-size: 25px; font-style: normal; font-weight: 900; }
.agent-plan b { display: block; color: #076fdf; font-size: clamp(12px, 1.05vw, 17px); }
.agent-plan small { display: block; margin-top: 3px; color: #34547f; font-size: clamp(9px, .87vw, 14px); line-height: 1.25; }
.agent-plan--blue { background: #edf6ff; }
.agent-plan--violet { background: #f3efff; } .agent-plan--violet i { background: #7017df; } .agent-plan--violet b { color: #6417cc; }
.agent-plan--red { background: #fff0f2; } .agent-plan--red i { background: #f12636; } .agent-plan--red b { color: #e51d2b; }
.agent-plan--orange { background: #fff6e9; } .agent-plan--orange i { background: #ff8508; } .agent-plan--orange b { color: #e86f00; }
.agent-plan:hover, .agent-plan:focus-visible { outline: 3px solid rgba(0,111,235,.32); transform: translateX(-3px); }
.agent-tariffs > p { margin: 12px 4px 9px; color: #173b70; font-size: clamp(9px, .85vw, 13px); }
.agent-tariffs > a { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 14px; background: #eef6ff; color: #075fbf; font-size: clamp(10px, .88vw, 14px); font-weight: 800; text-decoration: none; }

.requisites-overlay {
  position: absolute; z-index: 2; left: 5.5%; top: 51.2%; width: 56.1%; height: 32.4%;
  padding: 1.1% 1.2%; border-radius: 1.8vw; background: rgba(247, 251, 255, .985); line-height: 1.2;
  display: grid; grid-template-rows: repeat(6, 1fr); gap: .45%; color: #0b2b66;
}
.requisites-overlay div { display: grid; grid-template-columns: 34% 1fr; align-items: center; padding: 0 3%; background: linear-gradient(90deg, #edf6ff, #f9fcff); border-radius: .9vw; font-size: clamp(9px, 1.3vw, 19px); }
.requisites-overlay span { font-weight: 500; }
.requisites-overlay b { font-weight: 600; }

.plan-dialog {
  width: min(520px, calc(100% - 32px)); padding: 32px; border: 0; border-radius: 28px;
  color: var(--navy); box-shadow: 0 28px 90px rgba(0, 20, 64, .35); overflow: visible;
}
.plan-dialog::backdrop { background: rgba(2, 19, 51, .64); backdrop-filter: blur(8px); }
.dialog-close { position: absolute; right: 18px; top: 14px; border: 0; background: #eef6ff; color: var(--navy); width: 40px; height: 40px; border-radius: 50%; font-size: 28px; cursor: pointer; }
.dialog-icon { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: 40px; font-weight: 800; }
.plan-dialog h2 { margin: 18px 0 4px; font: 400 34px/1.05 'Kelly Slab', Georgia, serif; }
.dialog-price { margin: 0 0 16px; color: var(--blue); font-size: 22px; font-weight: 800; }
.dialog-copy { color: #244a80; font-size: 17px; line-height: 1.55; }
.dialog-notice { margin: 22px 0; padding: 16px; border-radius: 16px; background: #eef6ff; color: #234d86; font-size: 14px; line-height: 1.45; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; border-radius: 999px; background: linear-gradient(135deg, #159cff, #0056e8); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 12px 24px rgba(0, 97, 255, .25); }
.download-button { position: relative; gap: 10px; overflow: hidden; animation: download-pulse 2.5s ease-in-out infinite; }
.download-button > span { font-size: 30px; line-height: 1; animation: download-arrow 1.35s ease-in-out infinite; }
@keyframes download-arrow { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }

.message-page { min-height: 100svh; display: grid; place-content: center; justify-items: center; padding: 32px; text-align: center; background: radial-gradient(circle at 50% 20%, #e9f7ff, #fff 55%); }
.message-page img { width: min(320px, 75vw); height: auto; animation: agent-float 4s ease-in-out infinite; }
.message-page h1 { margin: 8px 0; font: 400 clamp(34px, 6vw, 64px)/1 'Kelly Slab', Georgia, serif; }
.message-page p { max-width: 620px; color: var(--muted); font-size: 18px; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 1000px) {
  .desktop-footer { display: none; }
  .design-canvas { display: none; }
  .mobile-header, .mobile-content, .mobile-footer { display: block; }
  .mobile-header { position: sticky; z-index: 70; top: 0; height: calc(68px + env(safe-area-inset-top)); display: flex; align-items: center; justify-content: space-between; padding: env(safe-area-inset-top) max(18px, env(safe-area-inset-right)) 0 max(18px, env(safe-area-inset-left)); background: rgba(255,255,255,.94); box-shadow: 0 6px 24px rgba(2,32,75,.1); backdrop-filter: blur(16px); }
  .mobile-logo { display: inline-flex; align-items: center; text-decoration: none; }
  .mobile-logo img { display: block; width: auto; height: 32px; }
  .menu-button { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 0; border-radius: 13px; background: #edf6ff; cursor: pointer; }
  .menu-button > span:not(.visually-hidden) { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu { position: absolute; top: calc(68px + env(safe-area-inset-top)); left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); display: none; max-height: calc(100dvh - 86px); overflow-y: auto; padding: 10px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
  .mobile-menu.open { display: grid; }
  .mobile-menu a { padding: 13px 14px; border-radius: 12px; color: var(--navy); font-weight: 700; text-decoration: none; }
  .mobile-menu a.active { color: #fff; background: var(--blue); }
  .mobile-content { min-height: calc(100svh - 68px); }
  .mobile-hero { position: relative; min-height: clamp(640px, 92svh, 820px); display: grid; align-items: end; overflow: hidden; isolation: isolate; background: url('/assets/images/home-mobile.png?v=3') 50% 25%/cover no-repeat; }
  .mobile-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 28%, rgba(255,255,255,.1) 48%, rgba(255,255,255,.97) 78%); }
  .mobile-hero__content { position: relative; z-index: 3; width: min(100%, 520px); margin-inline: auto; padding: 48px max(22px, env(safe-area-inset-right)) max(38px, calc(26px + env(safe-area-inset-bottom))) max(22px, env(safe-area-inset-left)); text-align: center; }
  .mobile-agent-button { position: absolute; z-index: 6; top: clamp(62px, 8.5svh, 92px); right: max(14px, env(safe-area-inset-right)); width: clamp(118px, 30vw, 168px); aspect-ratio: 1.5; padding: 0; border: 0; background: transparent; cursor: pointer; }
  .mobile-agent-button img { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%; object-fit: contain; animation: agent-float 3.6s ease-in-out infinite; filter: drop-shadow(0 10px 18px rgba(4,45,104,.3)); }
  .mobile-agent-button .agent-frame--blink { z-index: 3; opacity: 0; animation: agent-float 3.6s ease-in-out infinite, agent-blink-frame 5s steps(1,end) infinite; }
  .mobile-agent-button.speaking img { animation: agent-talk .56s ease-in-out infinite; filter: drop-shadow(0 0 22px rgba(55,225,255,.9)); }
  .mobile-agent-button .agent-ring { inset: 6% -2%; border-width: 2px; }
  .mobile-agent-button:focus-visible { outline: 4px solid #fff; outline-offset: 4px; border-radius: 48%; }
  .mobile-agent-scrim { position: fixed; z-index: 78; inset: 0; background: rgba(2,19,51,.58); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s, visibility .25s; backdrop-filter: blur(5px); }
  .mobile-agent-scrim.open { opacity: 1; visibility: visible; pointer-events: auto; }
  .mobile-agent-tariffs { position: fixed; z-index: 80; top: auto; right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); left: max(10px, env(safe-area-inset-left)); width: auto; max-height: min(82dvh, 690px); overflow-y: auto; padding: 18px; border-radius: 26px; transform: translateY(28px) scale(.98); transform-origin: 50% 100%; overscroll-behavior: contain; }
  .mobile-agent-tariffs.open { transform: translateY(0) scale(1); }
  .mobile-agent-tariffs .agent-tariffs__heading strong { font-size: clamp(30px, 8vw, 42px); }
  .mobile-agent-tariffs .agent-tariffs__heading span { font-size: 13px; }
  .mobile-agent-tariffs .agent-plan { grid-template-columns: 44px 1fr; padding: 10px 11px; }
  .mobile-agent-tariffs .agent-plan i { width: 38px; height: 38px; font-size: 21px; }
  .mobile-agent-tariffs .agent-plan b { font-size: 14px; }
  .mobile-agent-tariffs .agent-plan small { font-size: 12px; }
  body.agent-panel-open { overflow: hidden; }
  .brand-mark { width: 82px; height: 70px; position: relative; margin: 0 auto 4px; }
  .brand-mark i { position: absolute; width: 34px; height: 34px; border-radius: 50% 50% 16px 50%; transform: rotate(45deg); }
  .brand-mark i:nth-child(1) { left: 24px; top: 0; background: #f2291e; }
  .brand-mark i:nth-child(2) { left: 3px; top: 32px; background: #6f13d9; }
  .brand-mark i:nth-child(3) { right: 3px; top: 32px; background: #087af3; }
  .mobile-hero h1 { margin: 0; font: 400 46px/1 'Kelly Slab', Georgia, serif; }
  .mobile-hero p { margin: 10px auto 22px; max-width: 310px; color: var(--muted); line-height: 1.45; }
  .mobile-hero .primary-button { width: 100%; }
  .mobile-hero small { display: block; margin-top: 13px; font-weight: 800; }
  .mobile-section { padding: 36px 18px 50px; }
  .mobile-section h2 { margin: 0 0 18px; font: 400 34px/1 'Kelly Slab', Georgia, serif; }
  .plan-grid { display: grid; gap: 14px; }
  .plan { padding: 21px; border-radius: 22px; border: 1px solid rgba(0,94,214,.1); }
  .plan b, .plan strong { display: block; font-size: 22px; }
  .plan strong { margin-top: 4px; }
  .plan p { margin: 12px 0 0; color: #31537f; line-height: 1.45; }
  .plan--blue { background: linear-gradient(135deg, #eff8ff, #dfefff); } .plan--blue strong { color: #0673ef; }
  .plan--violet { background: linear-gradient(135deg, #f5f0ff, #e9dcff); } .plan--violet strong { color: #6815d6; }
  .plan--red { background: linear-gradient(135deg, #fff1f2, #ffe3e6); } .plan--red strong { color: #ee1f2e; }
  .plan--orange { background: linear-gradient(135deg, #fff8ed, #fff0d8); } .plan--orange strong { color: #f27400; }
  .notice { margin: 20px 0 0; padding: 18px; border-radius: 18px; background: #eef7ff; color: #244d82; line-height: 1.5; }
  .mobile-document { max-width: 100%; overflow: hidden; padding: 26px 18px 52px; }
  .breadcrumbs { display: flex; gap: 8px; align-items: center; margin: 0 0 22px; color: #52739e; font-size: 13px; }
  .breadcrumbs a { color: var(--blue); text-decoration: none; }
  .mobile-document h1 { margin: 0 0 18px; overflow-wrap: anywhere; hyphens: auto; font: 400 clamp(36px, 11vw, 58px)/.98 'Kelly Slab', Georgia, serif; letter-spacing: -.025em; }
  .mobile-document h2 { margin: 32px 0 10px; font: 400 24px/1.15 'Kelly Slab', Georgia, serif; }
  .mobile-document p, .mobile-document li { color: #294c7a; font-size: 16px; line-height: 1.62; }
  .mobile-document .lead { color: var(--navy); font-size: 20px; line-height: 1.42; }
  .mobile-document ul, .mobile-document ol { padding-left: 24px; }
  .document-links, .contact-list { display: grid; gap: 12px; }
  .document-links a, .contact-list a { display: grid; gap: 4px; padding: 18px; border: 1px solid #dcecff; border-radius: 18px; background: linear-gradient(135deg, #fff, #f1f7ff); text-decoration: none; }
  .document-links b, .contact-list b { font-size: 18px; }
  .document-links span, .contact-list span { color: #41638d; line-height: 1.4; }
  .doc-date { padding-top: 20px; font-size: 13px !important; }
  .steps { list-style: none; counter-reset: steps; padding: 0 !important; }
  .steps li { position: relative; counter-increment: steps; margin-bottom: 12px; padding: 17px 16px 17px 60px; border-radius: 18px; background: #eff7ff; }
  .steps li::before { content: counter(steps); position: absolute; left: 14px; top: 14px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; }
  .requisites { margin: 0; }
  .requisites dt { margin-top: 18px; color: #6680a3; font-size: 13px; }
  .requisites dd { margin: 4px 0 0; padding-bottom: 15px; border-bottom: 1px solid #dce9f8; color: var(--navy); font-weight: 700; line-height: 1.45; }
  .mobile-footer { padding: 32px 18px; color: #fff; background: linear-gradient(135deg, #031c48, #052f68); }
  .mobile-footer h2 { margin: 0 0 8px; color: #fff; font: 400 27px/1.08 'Kelly Slab', Georgia, serif; }
  .mobile-footer > p { margin: 0 0 28px; color: #b9d3f5; font-size: 13px; line-height: 1.5; }
  .mobile-footer > b { display: block; font-size: 22px; line-height: 1; font-weight: 800; }
  .mobile-footer > span { display: block; margin-top: 7px; color: #b9d3f5; font-size: 13px; }
  .mobile-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 24px 0; }
  .mobile-footer a { color: #fff; font-size: 13px; line-height: 1.35; text-decoration: none; }
  .mobile-footer address { display: grid; gap: 7px; margin: 0 0 22px; padding: 18px; border-radius: 16px; background: rgba(12,91,180,.32); font-style: normal; }
  .mobile-footer address b { font-size: 14px; line-height: 1.35; }
  .mobile-footer address span { color: #b9d3f5; font-size: 12px; line-height: 1.4; }
  .mobile-footer small { color: #91b3df; }
  .plan-dialog { padding: 26px 22px 22px; border-radius: 24px; }

  body:not(.page-home) .site-header { min-height: 68px; padding: 0 18px; }
  body:not(.page-home) .site-header .mobile-logo img { height: 32px; }
  body:not(.page-home) .site-header .menu-button { display: grid; }
  body:not(.page-home) .site-header .mobile-menu {
    position: absolute; top: calc(68px + env(safe-area-inset-top)); left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); display: none; padding: 10px;
    border-radius: 20px; background: #fff; box-shadow: var(--shadow);
  }
  body:not(.page-home) .site-header .mobile-menu.open { display: grid; }
  body:not(.page-home) .site-header .mobile-menu a { padding: 13px 14px; }
  .legal-page { padding: 28px 18px 52px; }
  .legal-page__flag { display: none; }
  .legal-layout { grid-template-columns: 1fr; gap: 22px; }
  .legal-content .mobile-document { padding: 26px 20px 38px; border-radius: 22px; }
  .legal-content .mobile-document h1 { font-size: clamp(38px, 10vw, 58px); }
  .legal-content .document-links,
  .legal-content .contact-list,
  .legal-content .plan-grid { grid-template-columns: 1fr; }
  .legal-sidebar { position: static; }
  .offer-menu { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 359px) {
  .mobile-header { height: calc(60px + env(safe-area-inset-top)); padding-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right)); }
  .mobile-logo img, body:not(.page-home) .site-header .mobile-logo img { height: 27px; }
  .menu-button { width: 40px; height: 40px; }
  .mobile-menu, body:not(.page-home) .site-header .mobile-menu { top: calc(60px + env(safe-area-inset-top)); }
  .mobile-hero { min-height: 610px; background-position: 50% 24%; }
  .mobile-agent-button { top: 42px; right: 4px; width: 96px; }
  .mobile-hero__content { padding: 38px 12px max(26px, calc(18px + env(safe-area-inset-bottom))); }
  .brand-mark { transform: scale(.82); margin-bottom: -4px; }
  .mobile-hero h1 { font-size: 38px; }
  .mobile-hero p { margin-block: 8px 16px; font-size: 14px; }
  .mobile-hero .primary-button { min-height: 50px; padding-inline: 15px; font-size: 14px; }
  .mobile-section { padding: 28px 12px 40px; }
  .mobile-section h2 { font-size: 30px; }
  .plan { padding: 17px; }
  .plan b, .plan strong { font-size: 19px; }
  .legal-page { padding-inline: 10px; }
  .legal-content .mobile-document { padding-inline: 16px; }
  .legal-content .mobile-document h1 { font-size: clamp(33px, 12vw, 44px); }
  .mobile-footer { padding-inline: 14px; }
  .mobile-footer nav { grid-template-columns: 1fr; }
}

@media (min-width: 480px) and (max-width: 699px) {
  .mobile-hero { min-height: clamp(720px, 94svh, 860px); background-position: 50% 24%; }
  .mobile-agent-button { right: max(18px, env(safe-area-inset-right)); width: clamp(130px, 27vw, 170px); }
  .mobile-hero__content { padding-inline: 36px; }
  .mobile-section { padding-inline: clamp(24px, 7vw, 44px); }
}

@media (min-width: 700px) and (max-width: 1000px) {
  .mobile-header { height: calc(76px + env(safe-area-inset-top)); padding-inline: max(28px, env(safe-area-inset-left)) max(28px, env(safe-area-inset-right)); }
  .mobile-logo img, body:not(.page-home) .site-header .mobile-logo img { height: 36px; }
  .mobile-menu, body:not(.page-home) .site-header .mobile-menu { top: calc(76px + env(safe-area-inset-top)); left: max(24px, env(safe-area-inset-left)); right: max(24px, env(safe-area-inset-right)); grid-template-columns: 1fr 1fr; }
  .mobile-hero { min-height: clamp(700px, 82svh, 880px); background-position: 50% 28%; }
  .mobile-agent-button { top: 70px; right: max(6vw, env(safe-area-inset-right)); width: clamp(150px, 21vw, 205px); }
  .mobile-hero__content { width: min(560px, 72%); padding-bottom: max(46px, calc(32px + env(safe-area-inset-bottom))); }
  .mobile-hero h1 { font-size: 56px; }
  .mobile-hero .primary-button { max-width: 460px; }
  .mobile-section { width: min(100%, 960px); margin-inline: auto; padding: 52px 34px 64px; }
  .mobile-section h2 { font-size: 42px; }
  .mobile-section .plan-grid { grid-template-columns: 1fr 1fr; }
  .mobile-footer { padding-inline: max(32px, env(safe-area-inset-left)) max(32px, env(safe-area-inset-right)); }
  .mobile-footer nav { grid-template-columns: repeat(3, 1fr); }
  .legal-page { padding: 42px 34px 64px; }
  .legal-content .mobile-document { padding: 38px 40px 50px; }
  .offer-menu { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1000px) and (orientation: landscape) and (max-height: 620px) {
  .mobile-hero { min-height: 560px; background-position: 50% 32%; }
  .mobile-agent-button { top: 28px; width: clamp(104px, 18vw, 145px); }
  .mobile-hero__content { width: min(440px, 58%); margin-left: 0; padding: 32px max(18px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); text-align: left; }
  .mobile-hero__content .brand-mark { margin-left: 0; transform-origin: left bottom; transform: scale(.78); }
  .mobile-hero h1 { font-size: 42px; }
  .mobile-hero p { margin-block: 6px 14px; }
  .mobile-agent-tariffs { max-height: calc(100dvh - 20px); }
}

@media (horizontal-viewport-segments: 2) and (max-width: 1000px) {
  .mobile-hero__content { width: calc(50% - 24px); margin-inline: max(18px, env(viewport-segment-left 0 0)) auto; }
  .mobile-agent-button { right: max(18px, env(viewport-segment-left 1 0)); }
  .mobile-section .plan-grid { grid-template-columns: 1fr 1fr; }
}

@media (horizontal-viewport-segments: 3) and (max-width: 1000px) {
  .mobile-hero__content { width: calc(33.333% - 18px); margin-inline: max(14px, env(viewport-segment-left 0 0)) auto; }
  .mobile-agent-button { right: max(14px, env(viewport-segment-left 2 0)); }
  .mobile-section .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1001px) and (max-width: 1180px) {
  body:not(.page-home) .site-header { gap: 18px; padding-inline: 26px; }
  body:not(.page-home) .site-header .mobile-menu a { padding-inline: 8px; font-size: 12px; }
  .legal-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; }
  .legal-page { padding-inline: 28px; }
  .desktop-footer { grid-template-columns: minmax(190px, .8fr) minmax(390px, 1.7fr) minmax(230px, 1fr); gap: 28px 30px; padding-inline: 32px; }
  .desktop-footer__links { gap: 10px 14px; }
}

@media (max-width: 620px) {
  .offer-menu { grid-template-columns: 1fr; }
}

@media (min-width: 1001px) and (max-aspect-ratio: 4/3) {
  .page-home .design-canvas__image { min-height: 100svh; object-fit: cover; }
}

.installation-hotspot { right:0; bottom:0; width:28%; height:8%; display:flex; align-items:center; justify-content:center; border-radius:20px 0 0 0; background:#fff; color:#087dca; font:600 clamp(12px,1.4vw,21px)/1.2 Arial,sans-serif; text-decoration:underline; text-align:center; padding:5px 12px; }
.installation-mobile-button,.installation-done { min-height:48px; padding:12px 20px; border:0; border-radius:14px; background:#087dca; color:white; font:600 16px/1.4 Arial,sans-serif; cursor:pointer; }
.installation-mobile-button { width:100%; margin-bottom:24px; }
.installation-dialog { box-sizing:border-box; width:min(680px,calc(100% - 24px)); max-height:calc(100dvh - 32px); padding:30px; border:0; border-radius:22px; background:#fffdf8; color:#192f45; overflow:auto; box-shadow:0 18px 90px #0005; }
.installation-dialog::backdrop { background:#102439a6; }
.installation-dialog h2 { margin:0 32px 18px 0; font-size:25px; line-height:1.25; }
.installation-steps { padding-left:24px; margin:0; font:16px/1.55 Arial,sans-serif; }
.installation-steps li { padding-left:5px; margin:0 0 15px; }
.installation-dialog a { color:#0871b8; text-decoration:underline; }
.installation-security { font:13px/1.5 Arial,sans-serif; background:#f0eee6; border-radius:12px; padding:12px; margin:20px 0; }
.installation-dialog .dialog-close { top:12px; right:12px; width:44px; height:44px; }
.installation-done { width:100%; }
@media(max-width:600px) { .installation-dialog { padding:22px 18px; } .installation-dialog h2 { font-size:22px; } .installation-steps { font-size:15px; } }
