:root {
    --ink: #07111f;
    --muted: #627087;
    --line: #dce6f3;
    --navy: #07124d;
    --navy-2: #0b1d68;
    --blue: #6374f6;
    --blue-2: #3047ec;
    --cyan: #1da6e9;
    --green: #10b981;
    --page: #f4f7ff;
    --white: #fff;
    --shadow: 0 24px 70px rgba(7, 18, 77, .12);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 30%, rgba(99, 116, 246, .13), transparent 31rem),
        radial-gradient(circle at 94% 46%, rgba(29, 166, 233, .12), transparent 32rem),
        linear-gradient(180deg, #f7faff 0%, #eef5ff 55%, #fbfdff 100%);
    font-family: Manrope, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
svg { display: block; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.skip-link {
    position: fixed;
    z-index: 200;
    top: 8px;
    left: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    color: #fff;
    background: var(--blue-2);
    transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
    position: absolute;
    z-index: 20;
    top: 16px;
    left: 50%;
    width: min(1180px, calc(100% - 32px));
    min-height: 64px;
    padding: 10px 12px 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid rgba(118, 220, 255, .22);
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg, rgba(7, 18, 77, .88), rgba(11, 29, 104, .72));
    box-shadow: 0 18px 44px rgba(4, 10, 44, .22), 0 0 42px rgba(118, 220, 255, .16);
    backdrop-filter: blur(18px);
    transform: translateX(-50%);
}

.brand {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.brand__logo { width: 38px; height: 38px; object-fit: contain; }
.header-actions { display: flex; align-items: center; gap: 8px; }

.header-link {
    min-height: 44px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    font-weight: 700;
}

.header-link:hover { color: #fff; background: rgba(255,255,255,.08); }

.button {
    min-height: 50px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-1px); }
.button svg { width: 20px; height: 20px; flex: 0 0 auto; }
.button--small { min-height: 44px; padding-inline: 17px; }

.button--light {
    color: var(--ink);
    background: rgba(255,255,255,.94);
    box-shadow: 0 10px 26px rgba(4, 10, 44, .16);
}

.hero {
    position: relative;
    min-height: 600px;
    padding: 144px 24px 104px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(125deg, rgba(7, 18, 77, .98), rgba(10, 30, 111, .96) 55%, rgba(25, 83, 193, .93)),
        var(--navy);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .24;
    background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 72%, transparent);
}

.hero__glow { position: absolute; border-radius: 50%; filter: blur(4px); pointer-events: none; }
.hero__glow--left { width: 34rem; height: 34rem; left: -17rem; top: -13rem; background: rgba(118, 220, 255, .20); }
.hero__glow--right { width: 40rem; height: 40rem; right: -18rem; bottom: -22rem; background: rgba(124, 92, 255, .26); }

.hero__content {
    position: relative;
    z-index: 1;
    width: min(970px, 100%);
    text-align: center;
}

.eyebrow {
    margin: 0 0 20px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    border: 1px solid rgba(118, 220, 255, .25);
    border-radius: 999px;
    color: rgba(255,255,255,.86);
    background: rgba(255,255,255,.07);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: #28d6ad; box-shadow: 0 0 0 6px rgba(40,214,173,.12); }
.hero h1 { margin: 0; font-size: clamp(42px, 6vw, 74px); line-height: .98; letter-spacing: -.045em; }
.hero__lead { max-width: 720px; margin: 24px auto 36px; color: rgba(255,255,255,.76); font-size: clamp(17px, 2vw, 22px); line-height: 1.55; font-weight: 600; }

.role-choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    text-align: left;
}

.role-choice__item {
    min-height: 92px;
    padding: 18px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 22px;
    background: rgba(255,255,255,.09);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.role-choice__item:hover { transform: translateY(-2px); border-color: rgba(118,220,255,.52); background: rgba(255,255,255,.14); }
.role-choice__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: rgba(99,116,246,.28); }
.role-choice__item--services .role-choice__icon { background: rgba(29,166,233,.22); }
.role-choice__icon svg { width: 26px; height: 26px; }
.role-choice__item strong, .role-choice__item small { display: block; }
.role-choice__item strong { font-size: 16px; line-height: 1.3; }
.role-choice__item small { margin-top: 5px; color: rgba(255,255,255,.64); font-size: 13px; font-weight: 600; }
.role-choice__arrow { font-size: 25px; color: rgba(255,255,255,.72); }

.apps-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 96px 0 44px; }
.section-heading { max-width: 710px; margin: 0 auto 38px; text-align: center; }
.section-kicker { margin: 0 0 10px; color: var(--blue-2); font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.section-heading h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.035em; }
.section-heading > p:last-child { margin: 16px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: stretch; }

.app-card {
    position: relative;
    padding: 28px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(216, 228, 243, .9);
    border-radius: 28px;
    background: rgba(255,255,255,.91);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.app-card--flyer-business { --card-accent: #6374f6; }
.app-card--flyer-services { --card-accent: #10b981; }

.app-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--card-accent, var(--blue)), var(--cyan));
}

.app-card::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 15rem;
    height: 15rem;
    top: -9rem;
    right: -7rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--card-accent, var(--blue)) 13%, transparent);
    pointer-events: none;
}

.app-card > * { position: relative; z-index: 1; }
.app-card__topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.audience-badge { padding: 7px 10px; border-radius: 999px; color: var(--card-accent, var(--blue-2)); background: color-mix(in srgb, var(--card-accent, var(--blue)) 11%, white); font-size: 12px; font-weight: 800; }
.version { color: #7a879a; font-size: 12px; font-weight: 700; text-align: right; }

.app-card__identity { margin-top: 25px; display: flex; align-items: center; gap: 16px; }
.app-icon { width: 66px; height: 66px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 20px; color: #fff; background: linear-gradient(135deg, var(--card-accent, var(--blue)), var(--blue-2)); box-shadow: 0 15px 32px color-mix(in srgb, var(--card-accent, var(--blue)) 25%, transparent); }
.app-icon svg { width: 33px; height: 33px; }
.app-card__role { margin: 0 0 4px; color: var(--card-accent, var(--blue-2)); font-size: 13px; font-weight: 800; }
.app-card h3 { margin: 0; font-size: clamp(25px, 3vw, 34px); line-height: 1.1; letter-spacing: -.035em; }
.app-card__summary { margin: 22px 0 0; color: #44536a; font-size: 16px; line-height: 1.6; font-weight: 600; }

.feature-list { margin: 20px 0 24px; padding: 0; display: grid; gap: 10px; list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; color: #334258; font-size: 14px; line-height: 1.45; font-weight: 650; }
.feature-list span { width: 21px; height: 21px; display: inline-grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--card-accent, var(--blue-2)); background: color-mix(in srgb, var(--card-accent, var(--blue)) 10%, white); font-size: 12px; }

.download-meta {
    margin-top: auto;
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    border: 1px solid #e6edf7;
    border-radius: 17px;
    background: #f7faff;
}

.download-meta span { min-width: 0; }
.download-meta span + span { padding-left: 12px; border-left: 1px solid #dfe8f4; }
.download-meta strong, .download-meta small { display: block; }
.download-meta strong { font-size: 13px; line-height: 1.35; }
.download-meta small { margin-top: 3px; color: #7a879a; font-size: 11px; line-height: 1.35; }

.store-actions { margin-top: 16px; display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 9px; }
.button--apk { color: #fff; background: linear-gradient(135deg, var(--card-accent, var(--blue)), var(--blue-2) 63%, var(--cyan)); box-shadow: 0 14px 28px color-mix(in srgb, var(--card-accent, var(--blue)) 24%, transparent); }
.button--store { color: #25334a; border-color: #dce6f3; background: #fff; }
.button--store:hover { border-color: #b7c8dd; box-shadow: 0 10px 24px rgba(7,18,77,.08); }

.empty-state { grid-column: 1 / -1; padding: 28px; border: 1px solid var(--line); border-radius: 22px; color: var(--muted); background: #fff; text-align: center; }

.safety {
    width: min(900px, calc(100% - 40px));
    margin: 26px auto 96px;
    padding: 24px 26px;
    display: flex;
    align-items: center;
    gap: 18px;
    border: 1px solid rgba(16,185,129,.22);
    border-radius: 22px;
    background: rgba(236,253,245,.82);
}

.safety__icon { width: 52px; height: 52px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 16px; color: #078762; background: rgba(16,185,129,.12); }
.safety__icon svg { width: 28px; height: 28px; }
.safety h2 { margin: 0; font-size: 17px; }
.safety p { margin: 5px 0 0; color: #416354; font-size: 13px; line-height: 1.55; }

.site-footer {
    min-height: 148px;
    padding: 32px max(24px, calc((100% - 1180px) / 2));
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    color: rgba(255,255,255,.75);
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.brand--footer { color: #fff; }
.site-footer p { margin: 0; font-size: 13px; }
.footer-links { display: flex; align-items: center; gap: 22px; font-size: 13px; font-weight: 700; }
.footer-links a:hover { color: #fff; }

a:focus-visible {
    outline: 3px solid #76dcff;
    outline-offset: 3px;
}

@media (max-width: 960px) {
    .site-header { padding-left: 14px; }
    .header-link--back { display: none; }
    .store-actions { grid-template-columns: 1fr 1fr; }
    .button--apk { grid-column: 1 / -1; }
    .site-footer { grid-template-columns: auto 1fr; }
    .footer-links { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
    .hero { min-height: auto; padding-top: 132px; padding-bottom: 78px; }
    .role-choice, .app-grid { grid-template-columns: 1fr; }
    .apps-section { padding-top: 72px; }
    .app-card { padding: 24px; }
}

@media (max-width: 620px) {
    .site-header { width: calc(100% - 20px); top: 10px; min-height: 58px; border-radius: 18px; }
    .brand span { display: none; }
    .brand__logo { width: 34px; height: 34px; }
    .header-link { padding-inline: 9px; }
    .button--small { padding-inline: 13px; }
    .hero { padding-inline: 16px; }
    .hero__lead { margin-top: 18px; }
    .apps-section { width: min(100% - 24px, 1180px); }
    .app-card__topline { align-items: flex-start; flex-direction: column; }
    .version { text-align: left; }
    .site-footer { grid-template-columns: 1fr; gap: 15px; }
    .footer-links { grid-column: auto; flex-wrap: wrap; }
}

@media (max-width: 520px) {
    .header-link:not(.header-link--back) { display: none; }
    .role-choice__item { min-height: 86px; padding: 15px; }
    .role-choice__icon { width: 44px; height: 44px; }
    .app-card { padding: 21px 18px; border-radius: 24px; }
    .app-icon { width: 58px; height: 58px; border-radius: 18px; }
    .download-meta { grid-template-columns: 1fr; }
    .download-meta span + span { padding: 10px 0 0; border-top: 1px solid #dfe8f4; border-left: 0; }
    .store-actions { grid-template-columns: 1fr; }
    .button--apk { grid-column: auto; }
    .safety { margin-bottom: 64px; padding: 20px; align-items: flex-start; }
}

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