:root {
    --bg: #f7f9fd;
    --bg-soft: #eef4fb;
    --card: #ffffff;
    --card-strong: #f3f7fc;
    --text: #11213d;
    --muted: #5f6f87;
    --line: #d8e2ef;
    --accent: #4e79d7;
    --accent-strong: #2c56b3;
    --accent-soft: rgba(78, 121, 215, 0.12);
    --success: #3e7ad6;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
    radial-gradient(circle at top left, rgba(78, 121, 215, 0.14), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(95, 111, 135, 0.12), transparent 22%),
    linear-gradient(180deg, #fbfcff 0%, #eef3fa 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(78, 121, 215, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(78, 121, 215, 0.08) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 92%);
    opacity: 0.45;
}

a {
    color: inherit;
    text-decoration: none;
}

.page {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 36px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ffffff, #eef4fb);
    border: 1px solid var(--line);
    box-shadow: 0 16px 34px rgba(17, 33, 61, 0.08);
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand small {
    display: block;
    color: var(--muted);
    font-weight: 400;
    margin-top: 2px;
    font-size: 0.95rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.92rem;
    backdrop-filter: blur(10px);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 32px;
    align-items: center;
    padding: 18px 0 26px;
}

.hero-copy {
    padding: 24px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(78, 121, 215, 0.1);
    color: var(--accent-strong);
    border: 1px solid rgba(78, 121, 215, 0.18);
    font-size: 0.88rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

h1 {
    margin: 18px 0 16px;
    font-size: clamp(3rem, 6vw, 5.4rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
    max-width: 11ch;
}

.lead {
    max-width: 58ch;
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--muted);
    margin: 0;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 20px;
    border-radius: 18px;
    border: 1px solid var(--line);
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
    border-color: rgba(78, 121, 215, 0.32);
}

.button-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 18px 40px rgba(78, 121, 215, 0.18);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
}

.hero-panel {
    position: relative;
    padding: 6px;
}

.hero-logo-card {
    display: grid;
    gap: 18px;
    align-items: center;
    justify-items: center;
    padding: 30px 28px 26px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), #eef4fb);
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(17, 33, 61, 0.08);
}

.hero-logo-card img {
    width: min(100%, 340px);
    height: auto;
    display: block;
}

.hero-logo-text {
    text-align: center;
}

.hero-logo-text strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.hero-logo-text span {
    color: var(--muted);
    line-height: 1.55;
}

.hero-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.hero-tag {
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(78, 121, 215, 0.08);
    border: 1px solid rgba(78, 121, 215, 0.14);
    color: var(--accent-strong);
    font-size: 0.88rem;
    font-weight: 600;
}

.section {
    padding: 22px 0 10px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    max-width: 60ch;
    line-height: 1.6;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card {
    padding: 24px;
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff, #f7faff);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(17, 33, 61, 0.07);
}

.card .icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #eef4fb;
    border: 1px solid var(--line);
    margin-bottom: 16px;
    overflow: hidden;
}

.card .icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.card h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.download {
    margin-top: 24px;
    padding: 26px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(78, 121, 215, 0.08), rgba(95, 111, 135, 0.05));
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.download-copy h2 {
    margin: 0 0 8px;
    font-size: 1.55rem;
}

.download-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.stores {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: flex-end;
}

.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.store-buttons span {
    font-size: 0.9rem;
    color: var(--muted);
}

.store-buttons a img {
    width: 184px;
    display: block;
}

.footer {
    padding: 26px 0 14px;
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
}

.links a {
    color: var(--muted);
}

.links a:hover {
    color: var(--text);
    text-decoration: underline;
}

@media (max-width: 920px) {
    .hero,
    .cards {
        grid-template-columns: 1fr;
    }

    .topbar,
    .section-head,
    .download {
        align-items: flex-start;
        flex-direction: column;
    }

    .stores {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .page {
        width: min(100% - 20px, 1120px);
        padding-top: 18px;
    }

    h1 {
        max-width: none;
        font-size: clamp(2.4rem, 12vw, 3.5rem);
    }

    .hero-logo-card {
        padding: 22px 18px;
    }

    .store-buttons a img {
        width: 170px;
    }

    .links {
        justify-content: flex-start;
    }
}
