:root {
    --ink: #17171c;
    --muted: #5e616b;
    --line: #e7e7ec;
    --bg: #f8f4f5;
    --white: #fff;
    --orange: #7a1c34;
    --coral: #af364e;
    --grad: linear-gradient(115deg, #6d1730 0%, #af364e 100%);
    --dark: #3a1220;
    --shadow: 0 18px 50px rgba(23, 23, 28, 0.08);
    --header: 76px;
    --radius: 22px;
    font-family: Manrope, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--white);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
}

main {
    flex: 1 0 auto;
}

img { max-width: 100%; }

a { color: inherit; }

h1, h2, h3, h4, p { margin: 0; }

h1, h2, h3, h4 {
    letter-spacing: -0.03em;
    line-height: 1.12;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.grad {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.kicker {
    margin-bottom: 10px;
    color: var(--coral);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.kicker a {
    text-decoration: none;
}

.kicker a:hover {
    text-decoration: underline;
}

.kicker-light { color: #f0c6cf; }

.section { padding: 88px 0; }

section[id] { scroll-margin-top: 84px; }

.section-head {
    max-width: 680px;
    margin-bottom: 36px;
}

.section-head h1,
.section-head h2,
.contacts h1,
.contacts h2,
.price-panel h1,
.price-panel h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
}

.section-head p,
.contacts-lead,
.price-panel > div > p {
    margin-top: 14px;
    color: var(--muted);
    font-size: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn:focus-visible,
.site-nav a:focus-visible,
.logo:focus-visible,
.contact-list a:focus-visible,
.footer a:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}

.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 10px 24px rgba(122, 28, 52, 0.28);
}

.btn-ghost {
    background: #fff;
    border-color: var(--line);
    color: var(--ink);
}

.btn-lg { min-height: 52px; padding: 0 22px; }

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: var(--header);
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(23, 23, 28, 0.06);
    backdrop-filter: blur(16px);
}

.header-bar,
.footer-bar {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 100%;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.logo img {
    width: auto;
    height: 28px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.site-nav > a {
    color: #3c3f48;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.site-nav > a:hover,
.site-nav > a.is-current { color: var(--coral); }

.nav-actions,
.nav-toggle { display: none; }

.header-actions {
    display: flex;
    gap: 10px;
}

.hero {
    padding: 64px 0 0;
    background:
        radial-gradient(680px 260px at 82% 0%, rgba(175, 54, 78, 0.12), transparent 72%),
        radial-gradient(480px 220px at 6% 0%, rgba(109, 23, 48, 0.06), transparent 70%),
        #fff;
}

.eyebrow {
    margin-bottom: 18px;
    color: var(--coral);
    font-weight: 700;
}

.hero h1 {
    max-width: 920px;
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 800;
}

.lead {
    max-width: 680px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-banner {
    margin: 0;
}

.hero-banner img {
    display: block;
    width: min(1080px, 100%);
    margin: -20px auto -64px;
    -webkit-mask-image:
        linear-gradient(to bottom, transparent 0%, #000 22%, #000 74%, transparent 96%),
        linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to bottom, transparent 0%, #000 22%, #000 74%, transparent 96%),
        linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
    mask-composite: intersect;
}

.ecosystem {
    background: linear-gradient(180deg, #fff 0, #fff 48px, var(--bg) 200px);
}

.ecosystem:has(+ .eco-scheme) {
    padding-bottom: 0;
}

.eco-scheme {
    padding: 28px 0 88px;
    background: linear-gradient(180deg, var(--bg) 0, #fff 220px);
}

.eco-flow {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 12px 0 0;
    list-style: none;
}

.eco-flow::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 36px;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--coral) 48px, var(--coral) calc(100% - 48px), transparent);
    transform: translateX(-50%);
}

.eco-node,
.eco-split {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
}

.eco-node article:not(:has(.eco-shot, .eco-states)) {
    grid-template-columns: 1fr;
}

.eco-node article,
.eco-split article {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px 22px;
    align-items: start;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.eco-node h2,
.eco-split h2 {
    margin-bottom: 6px;
    font-size: 22px;
}

.eco-node h2 a,
.eco-split h2 a {
    color: inherit;
    text-decoration: none;
}

.eco-node h2 a:hover,
.eco-split h2 a:hover { color: var(--coral); }

.eco-node p,
.eco-split p {
    color: var(--muted);
}

.eco-index {
    display: block;
    margin-bottom: 8px;
    color: var(--coral);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eco-shot {
    width: 118px;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 16px 32px rgba(58, 18, 32, 0.18);
}

.eco-app-icon {
    display: block;
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.eco-join {
    position: relative;
    z-index: 1;
    padding: 16px 0;
}

.eco-join span {
    display: inline-block;
    padding: 5px 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--coral);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eco-node-core article {
    display: block;
    background: var(--dark);
    border-color: transparent;
    color: #fff;
}

.eco-core-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.eco-core-head img { width: 72px; height: auto; }

.eco-node-core p { color: #c9b4bc; }

.eco-modules {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.eco-modules li {
    padding: 14px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    font-weight: 700;
    text-align: center;
}

.eco-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: min(980px, 100%);
}

.eco-states {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.eco-states li {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--bg);
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.pillar {
    min-height: 220px;
    padding: 22px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.pillar-index {
    display: block;
    margin-bottom: 28px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.pillar h2,
.pillar h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.pillar p,
.product-copy > p,
.ticks,
.feature-grid p {
    color: var(--muted);
}

.product {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: start;
    padding: 56px 0;
}

.product-label {
    margin-bottom: 8px;
    color: var(--orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-copy h2,
.product-copy h3 {
    margin-bottom: 12px;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 800;
}

.product-copy h2 a,
.product-copy h3 a {
    color: inherit;
    text-decoration: none;
}

.product-copy h2 a:hover,
.product-copy h3 a:hover {
    color: var(--coral);
}

.app-identity {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 8px 0 4px;
}

.app-identity img {
    flex: 0 0 auto;
    width: 88px;
    height: 88px;
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.app-landing .section-head {
    max-width: 760px;
}

.scene {
    display: grid;
    grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1.26fr);
    gap: 24px 28px;
    align-items: center;
    margin-top: 28px;
    padding: 40px 36px 28px;
    background:
        radial-gradient(ellipse 55% 70% at 78% 50%, rgba(175, 54, 78, 0.16), transparent 70%),
        var(--bg);
    border-radius: 36px;
    overflow: hidden;
}

.scene.is-flip {
    grid-template-columns: minmax(0, 1.26fr) minmax(260px, 0.74fr);
    background:
        radial-gradient(ellipse 55% 70% at 22% 50%, rgba(175, 54, 78, 0.14), transparent 70%),
        #fff;
}

.scene.is-flip .scene-copy { order: 2; }

.scene-copy h2 {
    max-width: 12ch;
    margin-bottom: 14px;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 800;
}

.scene-copy > p {
    max-width: 38ch;
    color: var(--muted);
    font-size: 18px;
}

.scene-stage {
    position: relative;
    height: 880px;
}

.scene-stage:has(.is-solo) {
    height: 960px;
}

.shot-device {
    position: absolute;
    margin: 0;
    filter: drop-shadow(0 28px 36px rgba(58, 18, 32, 0.22));
}

.shot-device img {
    display: block;
    width: 100%;
    height: auto;
}

.shot-device.is-front {
    z-index: 2;
    width: 400px;
    left: 0;
    bottom: 12px;
    transform: rotate(-4deg);
}

.shot-device.is-back {
    z-index: 1;
    width: 320px;
    right: 8px;
    top: 12px;
    transform: rotate(5deg);
}

.shot-device.is-solo {
    z-index: 1;
    width: 440px;
    left: 50%;
    top: 0;
    transform: translateX(-50%) rotate(-4deg);
}

.shot-device.is-tilt-right {
    transform: translateX(-50%) rotate(5deg);
}

.shot-device.is-imac {
    z-index: 1;
    width: min(100%, 680px);
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
}

.scene-stage:has(.is-imac) {
    height: 820px;
}

.ticks {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.ticks li {
    position: relative;
    padding-left: 18px;
    margin-top: 8px;
}

.ticks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--grad);
}

.store-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
}

.store-links a {
    display: inline-flex;
    line-height: 0;
}

.store-links img {
    display: block;
    height: 40px;
    width: auto;
}

.store-links .store-google {
    height: 53px;
}

.module-board {
    padding: 22px;
    background: var(--dark);
    border-radius: 28px;
    box-shadow: var(--shadow);
    color: #fff;
}

.module-board-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    color: #b7bac4;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3ddc97;
    box-shadow: 0 0 0 6px rgba(61, 220, 151, 0.15);
}

.module-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.module-list span {
    padding: 16px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    font-weight: 700;
}

.module-list .is-on {
    background: var(--grad);
    border-color: transparent;
}

.phones {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.phone,
.phone-front {
    flex: 0 0 340px;
    width: 340px;
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
}

.phone img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 28px;
    background: #f4f4f6;
    box-shadow: var(--shadow);
}

.product:has(.phones),
.product-messenger {
    grid-template-columns: 1fr;
    gap: 28px;
}

.messenger-stage { position: relative; }

.browser {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    background: #fff;
}

.browser img {
    display: block;
    width: 100%;
    height: auto;
}

.phones-overlay {
    justify-content: flex-start;
    margin-top: 20px;
}

.phones-overlay .phone {
    flex-basis: 300px;
    width: 300px;
}

.features { background: var(--bg); }

.feature-group + .feature-group { margin-top: 42px; }

.feature-group > h2,
.feature-group > h3 {
    margin-bottom: 16px;
    font-size: 24px;
}

.feature-group-unique > h2,
.feature-group-unique > h3 { color: var(--coral); }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.feature-grid article {
    padding: 20px 18px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.feature-grid h3,
.feature-grid h4 {
    margin-bottom: 6px;
    font-size: 16px;
}

.feature-grid h3 a {
    text-decoration: none;
}

.feature-grid h3 a:hover {
    text-decoration: underline;
}

.feature-grid p { font-size: 14px; }

.feature-body {
    max-width: 760px;
    font-size: 17px;
}

.feature-body > * + * {
    margin-top: 14px;
}

.feature-body a {
    color: var(--coral);
}

.wiki-grid img {
    display: block;
    width: 100%;
    height: 160px;
    margin-bottom: 14px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--bg);
}

.wiki-more {
    display: inline-block;
    margin-top: 12px;
    color: var(--coral);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.wiki-more:hover {
    text-decoration: underline;
}

.wiki-empty {
    color: var(--muted);
    font-size: 16px;
}

.wiki-cover {
    display: block;
    width: min(100%, 760px);
    height: auto;
    margin-bottom: 28px;
    border-radius: 18px;
}

.landing-page {
    padding: 56px 0 88px;
}

.landing-body {
    max-width: 760px;
}

.landing-page .landing-body {
    max-width: none;
}

.landing-body h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
}

.landing-body h2 {
    margin-top: 32px;
    font-size: 22px;
    font-weight: 800;
}

.landing-body h3 {
    margin-top: 24px;
    font-size: 18px;
    font-weight: 800;
}

.landing-body p,
.landing-body li {
    margin-top: 12px;
    font-size: 16px;
}

.landing-body ul,
.landing-body ol {
    margin: 0;
    padding-left: 22px;
}

.landing-body a {
    color: var(--coral);
    font-weight: 700;
}

.landing-body img {
    width: 100%;
    height: auto;
    margin-top: 16px;
    border-radius: 18px;
}

.pricing { padding-top: 72px; }

.price-panel {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding: 48px;
    background:
        radial-gradient(520px 240px at 100% 0%, rgba(240, 198, 207, 0.2), transparent 62%),
        linear-gradient(145deg, #9a3048 0%, #6d1730 46%, #3a1220 100%);
    border-radius: 32px;
    color: #fff;
}

.price-panel > div > p { color: #c6c8d0; }

.price-panel .btn { margin-top: 26px; }

.price-panel .btn-primary {
    background: #fff;
    color: #6d1730;
    box-shadow: none;
}

.price-options {
    display: grid;
    gap: 8px;
}

.price-option {
    padding: 22px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
}

.price-value {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: #fff;
}

.price-option p:last-child {
    margin-top: 6px;
    color: #d5d7de;
}

.price-or {
    color: #9aa0ad;
    font-weight: 700;
    text-align: center;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: start;
}

.contacts-map {
    margin-top: 48px;
    overflow: hidden;
    height: 22rem;
    border-radius: 28px;
}

.contacts-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-list {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.contact-list li {
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.contact-list span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contact-list a,
.contact-list p {
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}

.question-form {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 28px;
    background: var(--bg);
    border-radius: 28px;
}

.hp-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-note {
    min-height: 1.25em;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.form-note.is-error { color: var(--coral); }

.form-note.is-ok { color: #1d7a46; }

.question-form label { display: grid; gap: 6px; }

.question-form span {
    font-size: 13px;
    font-weight: 700;
}

.question-form .req {
    color: var(--coral);
    text-decoration: none;
    font-weight: 700;
}

.question-form input,
.question-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    font: inherit;
    color: var(--ink);
    outline: none;
    box-shadow: none;
}

.question-form input:focus,
.question-form textarea:focus,
.question-form input:focus-visible,
.question-form textarea:focus-visible,
.question-form input:invalid,
.question-form textarea:invalid,
.question-form input:user-invalid,
.question-form textarea:user-invalid {
    outline: none;
    box-shadow: none;
}

.question-form textarea { resize: vertical; }

.question-form .consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}

.question-form .consent input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    padding: 0;
    flex: 0 0 auto;
    accent-color: var(--coral);
}

.question-form .consent span {
    font-size: 14px;
    font-weight: 500;
}

.question-form .consent a {
    color: var(--coral);
    font-weight: 700;
}

.registration-modal:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 24px 16px;
}

.registration-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(23, 23, 28, 0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.registration-dialog {
    position: relative;
    z-index: 1;
    width: min(460px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 32px 28px 28px;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 24px 80px rgba(23, 23, 28, 0.2);
}

.registration-dialog h2 {
    padding-right: 36px;
    font-size: 32px;
    font-weight: 800;
}

.registration-lead {
    margin: 10px 0 18px;
    color: var(--muted);
}

.registration-dialog .question-form {
    padding: 0;
    background: transparent;
}

.registration-success { display: none; }

.registration-dialog.is-sent h2,
.registration-dialog.is-sent .registration-lead,
.registration-dialog.is-sent .registration-form { display: none; }

.registration-dialog.is-sent .registration-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 36px 12px 28px;
    text-align: center;
}

.registration-check {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #e7f6ee;
    color: #1d7a46;
    animation: registration-check-pop 0.45s cubic-bezier(0.2, 0.85, 0.2, 1);
}

.registration-check svg {
    width: 42px;
    height: 42px;
}

.registration-check path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 24;
    stroke-dashoffset: 24;
    animation: registration-check-draw 0.35s ease 0.18s forwards;
}

.registration-success-text {
    max-width: 280px;
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.3;
}

@keyframes registration-check-pop {
    0% { transform: scale(0.55); opacity: 0; }
    70% { transform: scale(1.06); opacity: 1; }
    100% { transform: scale(1); }
}

@keyframes registration-check-draw {
    to { stroke-dashoffset: 0; }
}

.registration-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.registration-close:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}

body.registration-open { overflow: hidden; }

.footer {
    padding: 28px 0 36px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.footer-bar { height: auto; }

.footer p { margin-right: auto; }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.legal {
    padding: 56px 0 88px;
}

.legal-doc {
    max-width: 760px;
}

.legal-doc h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
}

.legal-doc .legal-date {
    margin-top: 14px;
    color: var(--muted);
    font-size: 15px;
}

.legal-doc h2 {
    margin-top: 32px;
    font-size: 22px;
    font-weight: 800;
}

.legal-doc p,
.legal-doc li {
    margin-top: 12px;
    font-size: 16px;
}

.legal-doc ul,
.legal-doc ol {
    margin: 0;
    padding-left: 22px;
}

.legal-doc a {
    color: var(--coral);
    font-weight: 700;
}

.legal-doc table {
    width: 100%;
    margin-top: 16px;
    border-collapse: collapse;
    font-size: 16px;
}

.legal-doc th,
.legal-doc td {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    font-weight: 500;
}

.legal-doc th {
    width: 38%;
    padding-right: 16px;
    font-weight: 700;
}

.footer a { text-decoration: none; font-weight: 600; }

.footer a:hover { color: var(--ink); }

body:has(.lost) main {
    display: flex;
    flex-direction: column;
}

.lost {
    display: flex;
    flex: 1;
    align-items: center;
    padding: 40px 0 56px;
    background:
        radial-gradient(680px 260px at 82% 0%, rgba(175, 54, 78, 0.12), transparent 72%),
        radial-gradient(480px 220px at 6% 0%, rgba(109, 23, 48, 0.06), transparent 70%),
        #fff;
}

.lost-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 540px);
    gap: 48px;
    align-items: center;
}

.lost h1 {
    max-width: 640px;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
}

.lost-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.lost-scene {
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.lost-scene svg {
    display: block;
    width: 100%;
    height: auto;
}

.lost-taxi {
    transform-box: fill-box;
    transform-origin: center;
    animation: lost-arrive 1.5s cubic-bezier(0.16, 0.84, 0.32, 1) both;
}

.lost-speed {
    animation: lost-fade 0.7s ease 0.45s both;
}

.lost-sign {
    transform-box: fill-box;
    transform-origin: center bottom;
    animation: lost-wobble 1.8s ease 0.2s both;
}

.lost-brake {
    animation: lost-blink 0.45s steps(2, end) 1.05s 4;
}

@keyframes lost-arrive {
    0% { transform: translateX(-120px); }
    68% { transform: translateX(14px); }
    82% { transform: translateX(-8px) rotate(-1.5deg); }
    100% { transform: translateX(0) rotate(0); }
}

@keyframes lost-fade {
    to { opacity: 0; }
}

@keyframes lost-wobble {
    0%, 62%, 100% { transform: rotate(0); }
    74% { transform: rotate(-2.4deg); }
    86% { transform: rotate(1.8deg); }
}

@keyframes lost-blink {
    50% { opacity: 0.2; }
}

@media (prefers-reduced-motion: reduce) {
    .lost-taxi,
    .lost-speed,
    .lost-sign,
    .lost-brake,
    .registration-check,
    .registration-check path {
        animation: none;
    }

    .registration-check path { stroke-dashoffset: 0; }
}

@media (max-width: 1100px) {
    .pillar-grid { grid-template-columns: repeat(3, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .product,
    .product-messenger,
    .price-panel,
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .phones-overlay { margin-top: 16px; }
}

@media (max-width: 860px) {
    .header-actions { display: none; }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-left: auto;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #fff;
        cursor: pointer;
    }

    .nav-toggle-lines,
    .nav-toggle-lines::before,
    .nav-toggle-lines::after {
        display: block;
        width: 18px;
        height: 2px;
        background: var(--ink);
        border-radius: 2px;
        content: "";
    }

    .nav-toggle-lines { position: relative; }

    .nav-toggle-lines::before,
    .nav-toggle-lines::after {
        position: absolute;
        left: 0;
    }

    .nav-toggle-lines::before { top: -6px; }
    .nav-toggle-lines::after { top: 6px; }

    .site-nav {
        display: none;
        position: absolute;
        top: var(--header);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        margin: 0;
        padding: 12px 20px 20px;
        background: #fff;
        border-bottom: 1px solid var(--line);
    }

    .site-nav.is-open { display: flex; }

    .site-nav > a { padding: 12px 4px; }

    .nav-actions {
        display: grid;
        gap: 8px;
        margin-top: 8px;
    }

    .pillar-grid,
    .feature-grid { grid-template-columns: 1fr; }

    .eco-split { grid-template-columns: 1fr; }
    .eco-modules { grid-template-columns: 1fr 1fr; }

    .eco-node article,
    .eco-split article { grid-template-columns: 1fr; }

    .eco-shot,
    .eco-states {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .eco-shot { width: 148px; }

    .section { padding: 64px 0; }

    .hero { padding-top: 36px; }

    .lost { padding: 32px 0 56px; }

    .lost-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .lost-scene { order: -1; }

    .price-panel { padding: 28px 22px; }

    .price-value { font-size: 44px; }

    .app-identity img {
        width: 72px;
        height: 72px;
        border-radius: 18px;
    }

    .scene,
    .scene.is-flip {
        grid-template-columns: 1fr;
        padding: 32px 22px 20px;
        border-radius: 24px;
    }

    .scene.is-flip .scene-copy { order: 0; }

    .scene-copy h2,
    .scene-copy > p { max-width: none; }

    .scene-stage,
    .scene-stage:has(.is-solo) { height: 700px; }

    .scene-stage:has(.is-imac) { height: 420px; }

    .shot-device.is-front { width: 232px; left: 8px; bottom: 16px; }
    .shot-device.is-back { width: 186px; right: 8px; top: 8px; }
    .shot-device.is-solo { width: 268px; top: 12px; }
    .shot-device.is-imac { width: 100%; top: 0; }

    .phones {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
    }

    .phone,
    .phone-front,
    .phones-overlay .phone {
        flex: 0 0 min(78vw, 340px);
        width: min(78vw, 340px);
        scroll-snap-align: center;
    }

    .footer-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer p { margin-right: 0; }
}
