:root {
    --ink: #16161a;
    --muted: #666873;
    --line: #dedfe3;
    --paper: #ffffff;
    --surface: #f4f5f5;
    --pink: #f02991;
    --cyan: #0aaed1;
    --green: #178f67;
    --yellow: #d58a06;
    --violet: #7252c7;
    --blue: #1f6fb2;
    --orange: #c9611f;
    --red: #c73b3b;
    --shadow: 0 18px 55px rgba(20, 20, 26, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
svg { width: 20px; height: 20px; stroke-width: 1.8; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: 72px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 clamp(20px, 4vw, 64px);
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}
.brand { width: 90px; height: 64px; display: flex; align-items: center; overflow: hidden; }
.brand img { width: 72px; height: 66px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 650; color: #4f515a; }
.main-nav a:hover { color: var(--ink); }
.header-right { justify-self: end; display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; }
.store-badges { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.store-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    border-radius: 9px;
}
.store-icon svg { width: 18px; height: 18px; }
.store-icon--apple { background: linear-gradient(160deg, #5AC8FA, #5E5CE6); }
.store-icon--play { background: linear-gradient(135deg, #00D2FF 0%, #34D399 35%, #FFD43B 70%, #FF5C6C 100%); }
.store-icon:hover { opacity: .85; }
.header-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    color: white;
    background: var(--ink);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero {
    position: relative;
    min-height: min(760px, calc(100svh - 112px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(480px, 1.18fr);
    align-items: center;
    gap: clamp(30px, 5vw, 80px);
    padding: 40px clamp(20px, 5vw, 76px) 50px;
    overflow: hidden;
    background: #f2f2f0;
    border-bottom: 1px solid var(--line);
}
.hero-grid {
    position: absolute;
    right: -8%;
    top: 12%;
    width: 56%;
    height: 64%;
    pointer-events: none;
    border: 1px solid #d1d2d5;
    box-shadow:
        -36px 36px 0 -35px #d1d2d5,
        -72px 72px 0 -71px #d1d2d5,
        -108px 108px 0 -107px #d1d2d5;
}
.hero-copy { position: relative; z-index: 2; max-width: 650px; }
.eyebrow {
    display: block;
    margin-bottom: 16px;
    color: var(--pink);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.hero h1 {
    margin: 0;
    font-size: clamp(48px, 6vw, 96px);
    line-height: .86;
    font-weight: 900;
    text-transform: lowercase;
}
.hero h1 .h1-tag {
    display: block;
    margin-top: 10px;
    color: var(--pink);
    font-size: clamp(18px, 2.2vw, 28px);
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
}
.hero-lead {
    max-width: 610px;
    margin: 30px 0 0;
    color: #404149;
    font-size: clamp(20px, 2.2vw, 30px);
    line-height: 1.34;
    font-weight: 520;
}
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 36px; }
.primary-button, .text-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    font-weight: 760;
}
.primary-button { padding: 0 22px; color: #fff; background: var(--ink); border-radius: 7px; }
.text-button { color: #33343a; }
.trust-line { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; color: #5a5c65; font-size: 13px; font-weight: 650; }
.trust-line span { display: inline-flex; align-items: center; gap: 7px; }
.trust-line svg { width: 17px; height: 17px; }

.product-scene {
    position: relative;
    z-index: 2;
    height: min(470px, 56vw);
    min-height: 420px;
    display: grid;
    grid-template-columns: 38% 62%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #cfd0d5;
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.scene-sidebar { min-width: 0; padding: 24px 16px; border-right: 1px solid var(--line); background: #fafafa; }
.scene-title { display: flex; justify-content: space-between; align-items: center; padding: 0 6px 18px; font-size: 20px; font-weight: 820; }
.scene-search, .scene-composer { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 12px; color: #85868e; background: #ededee; border-radius: 6px; font-size: 13px; }
.scene-person { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 68px; padding: 10px 8px; margin-top: 7px; border-radius: 6px; }
.scene-person.active { background: #fff; box-shadow: 0 2px 12px rgba(22, 22, 26, .08); }
.scene-person span:nth-child(2), .scene-chat-head span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.scene-person b, .scene-chat-head b { font-size: 13px; }
.scene-person small, .scene-chat-head small { margin-top: 3px; color: #858690; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scene-person time { align-self: start; padding-top: 6px; color: #96979e; font-size: 10px; }
.avatar { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; color: white; border-radius: 50%; font-size: 13px; font-weight: 850; }
.avatar-pink { background: var(--pink); }
.avatar-cyan { background: var(--cyan); }
.avatar-green { background: var(--green); }
.scene-chat { min-width: 0; display: grid; grid-template-rows: 70px minmax(0, 1fr) 70px; background: #f7f7f6; }
.scene-chat-head { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; padding: 0 20px; background: #fff; border-bottom: 1px solid var(--line); }
.scene-messages { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 28px 24px; }
.scene-bubble { max-width: 76%; padding: 12px 14px; border-radius: 8px; font-size: 13px; line-height: 1.45; }
.scene-bubble.incoming { align-self: flex-start; background: #fff; border: 1px solid var(--line); }
.scene-bubble.outgoing { align-self: flex-end; color: white; background: var(--ink); }
.scene-location { align-self: flex-start; display: flex; align-items: center; gap: 12px; min-width: 215px; padding: 13px; background: #fff; border-left: 3px solid var(--green); box-shadow: 0 3px 12px rgba(22,22,26,.08); }
.scene-location svg { color: var(--green); }
.scene-location span { display: flex; flex-direction: column; font-size: 12px; }
.scene-location small { margin-top: 2px; color: var(--muted); }
.scene-composer { align-self: center; margin: 0 18px; background: #fff; border: 1px solid var(--line); }
.scene-composer span { flex: 1; }

.qr-dock {
    position: absolute;
    z-index: 5;
    right: clamp(22px, 4vw, 62px);
    bottom: 30px;
    width: min(390px, calc(100% - 40px));
    display: grid;
    grid-template-columns: 1fr 112px;
    gap: 14px 18px;
    padding: 18px;
    background: #fff;
    border: 1px solid #cacbd0;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(22,22,26,.16);
}
.qr-copy { min-width: 0; }
.qr-kicker { color: var(--green); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.qr-copy h2 { margin: 5px 0 5px; font-size: 17px; line-height: 1.2; }
.qr-copy p, .qr-status { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.qr-box { grid-row: 1 / span 2; grid-column: 2; width: 112px; height: 112px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); }
.qr-box svg { width: 50px; height: 50px; color: #777983; }
.qr-box img, .qr-box canvas { width: 100px !important; height: 100px !important; }
.qr-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 0 12px; color: #fff; background: var(--ink); border: 0; border-radius: 5px; font-size: 12px; font-weight: 750; }
.qr-button svg { width: 16px; height: 16px; }
.qr-status { grid-column: 1; }

.intro-section, .modules-section { padding: 100px clamp(20px, 7vw, 110px); }
.intro-section { background: #fff; }
.intro-section { padding-top: 32px; }
.modules-section { background: var(--surface); border-block: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading h2, .security-copy h2 { margin: 0; font-size: clamp(36px, 5vw, 66px); line-height: 1.02; }
.section-heading p, .security-copy p { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.principle-grid article { position: relative; min-height: 280px; padding: 36px 32px 20px 0; border-right: 1px solid var(--line); }
.principle-grid article:not(:first-child) { padding-left: 32px; }
.principle-grid article:last-child { border-right: 0; }
.principle-grid svg { width: 32px; height: 32px; margin-top: 30px; }
.principle-number { color: #9a9ba2; font-size: 12px; font-weight: 800; }
.principle-grid h3 { margin: 26px 0 10px; font-size: 23px; }
.principle-grid p { margin: 0; color: var(--muted); line-height: 1.65; }

.module-list { border-top: 1px solid #cfd0d4; }
.module-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 22px; min-height: 112px; padding: 18px 0; border-bottom: 1px solid #cfd0d4; }
.module-row.featured { background: #fff; margin-inline: -24px; padding-inline: 24px; }
.module-icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; color: #fff; border-radius: 7px; }
.module-icon.pink { background: var(--pink); }
.module-icon.cyan { background: var(--cyan); }
.module-icon.green { background: var(--green); }
.module-icon.yellow { background: var(--yellow); }
.module-icon.violet { background: var(--violet); }
.module-icon.blue { background: var(--blue); }
.module-icon.orange { background: var(--orange); }
.module-icon.red { background: var(--red); }
.module-row h3 { margin: 0 0 7px; font-size: 20px; }
.module-row p { margin: 0; color: var(--muted); line-height: 1.55; }
.module-row > a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--ink); border-radius: 50%; }
.mobile-badge { color: #73757e; font-size: 12px; font-weight: 750; text-transform: uppercase; }

.faq-section { padding: 100px clamp(20px, 7vw, 110px); background: #fff; }
.faq-list { max-width: 880px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.faq-list li { padding: 30px 0; border-bottom: 1px solid var(--line); }
.faq-list h3 { margin: 0 0 10px; font-size: 19px; }
.faq-list p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.security-section { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; padding: 110px clamp(20px, 7vw, 110px); background: #18191d; color: white; }
.security-copy p { color: #b9bbc2; }
.security-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid #3c3d43; }
.security-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: center; min-height: 112px; border-bottom: 1px solid #3c3d43; }
.security-steps li > span { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: #17181c; background: white; border-radius: 50%; font-weight: 850; }
.security-steps div { display: flex; flex-direction: column; gap: 7px; }
.security-steps b { font-size: 17px; }
.security-steps small { color: #aeb0b8; font-size: 14px; line-height: 1.5; }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: end; padding: 52px clamp(20px, 7vw, 110px); border-top: 1px solid var(--line); }
.site-footer img { width: 110px; height: 72px; object-fit: contain; }
.site-footer p { margin: 4px 0 0; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; color: #4d4f57; font-size: 13px; font-weight: 650; }
.site-footer small { grid-column: 1 / -1; color: #8b8c94; font-size: 12px; }

@media (max-width: 1080px) {
    .hero { grid-template-columns: 1fr; padding-bottom: 210px; }
    .hero-copy { padding-top: 18px; }
    .product-scene { height: 500px; }
    .qr-dock { bottom: 38px; }
}
@media (max-width: 760px) {
    .site-header { grid-template-columns: 1fr auto; height: 64px; padding: 0 16px; }
    .main-nav { display: none; }
    .header-right { gap: 8px; }
    .store-icon { width: 32px; height: 32px; border-radius: 8px; }
    .store-icon svg { width: 15px; height: 15px; }
    .header-action { min-height: 38px; padding: 0 12px; font-size: 12px; }
    .brand { width: 80px; height: 60px; }
    .brand img { width: 68px; height: 63px; }
    .hero { min-height: 743px; height: 743px; padding: 42px 18px 145px; gap: 24px; }
    .hero h1 { font-size: 72px; }
    .hero-lead { margin-top: 22px; font-size: 18px; }
    .hero-actions { margin-top: 24px; align-items: stretch; flex-direction: column; gap: 8px; }
    .text-button { justify-content: flex-start; }
    .trust-line { display: none; }
    .product-scene { height: 240px; min-height: 0; grid-template-columns: 1fr; }
    .scene-sidebar { display: none; }
    .scene-chat { grid-template-rows: 54px minmax(0, 1fr) 48px; }
    .scene-chat-head { padding: 0 14px; }
    .scene-messages { gap: 7px; padding: 10px 12px; }
    .scene-bubble { padding: 8px 10px; font-size: 11px; }
    .scene-bubble.incoming { display: none; }
    .scene-location { min-width: 190px; padding: 9px; }
    .scene-composer { height: 34px; margin: 0 10px; }
    .qr-dock { left: 18px; right: 18px; bottom: 16px; width: auto; grid-template-columns: 1fr 78px; gap: 8px 12px; padding: 12px; }
    .qr-copy h2 { font-size: 14px; }
    .qr-copy p { display: none; }
    .qr-box { width: 78px; height: 78px; }
    .qr-box img, .qr-box canvas { width: 70px !important; height: 70px !important; }
    .qr-button { min-height: 34px; }
    .qr-status { font-size: 10px; }
    .intro-section, .modules-section, .faq-section { padding: 72px 20px; }
    .intro-section { padding-top: 18px; }
    .principle-grid { grid-template-columns: 1fr; }
    .principle-grid article, .principle-grid article:not(:first-child) { min-height: auto; padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .module-row { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
    .module-row > a, .mobile-badge { grid-column: 2; justify-self: start; }
    .module-row > a { width: 38px; height: 38px; }
    .security-section { grid-template-columns: 1fr; padding: 78px 20px; }
    .site-footer { grid-template-columns: 1fr; }
    .site-footer nav { justify-content: flex-start; }
}
