@font-face {
    font-family: 'Freesentation';
    src: url('fonts/Freesentation-4Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Freesentation';
    src: url('fonts/Freesentation-5Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Freesentation';
    src: url('fonts/Freesentation-6SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Freesentation';
    src: url('fonts/Freesentation-7Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Freesentation';
    src: url('fonts/Freesentation-8ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #f4f7fb;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: rgba(255, 255, 255, 0.96);
    --line: rgba(17, 24, 39, 0.08);
    --text: #111827;
    --muted: #667085;
    --accent: #0f172a;
    --accent-soft: #eef2ff;
    --blue: #2f6bff;
    --mint: #dff7f1;
    --shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --max-width: 460px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: 'Freesentation', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0.02em;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(47, 107, 255, 0.12), transparent 32%),
        radial-gradient(circle at top right, rgba(58, 199, 171, 0.14), transparent 28%),
        linear-gradient(180deg, #f9fbff 0%, var(--bg) 100%);
}

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

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

.page-shell {
    position: relative;
    min-height: 100vh;
    padding: 20px 16px 40px;
    overflow: hidden;
}

.page-glow {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 999px;
    filter: blur(16px);
    opacity: 0.75;
    pointer-events: none;
}

.page-glow-left {
    top: 72px;
    left: -100px;
    background: rgba(47, 107, 255, 0.18);
}

.page-glow-right {
    right: -110px;
    bottom: 140px;
    background: rgba(58, 199, 171, 0.18);
}

.landing-card {
    position: relative;
    width: min(100%, var(--max-width));
    margin: 0 auto;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-xl);
    background: var(--surface);
    backdrop-filter: blur(28px);
    box-shadow: var(--shadow);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.topbar-badge,
.topbar-link {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.topbar-link {
    color: var(--muted);
}

.brand-block {
    display: grid;
    gap: 20px;
}

.brand-block-centered {
    justify-items: center;
    text-align: center;
    gap: 18px;
    margin-bottom: 24px;
}

.logo-frame {
    width: 132px;
    height: 132px;
    padding: 12px;
    border-radius: 38px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 242, 255, 0.86));
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 40px rgba(47, 107, 255, 0.12);
}

.app-logo {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    object-fit: cover;
}

.brand-copy {
    display: grid;
    gap: 8px;
    max-width: 320px;
}

.eyebrow {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1 {
    font-size: 30px;
    line-height: 1.18;
    letter-spacing: 0.01em;
}

.lead {
    font-size: 15px;
    line-height: 1.6;
    font-weight: 600;
    color: #344054;
}

.description {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.store-links {
    display: grid;
    gap: 12px;
}

.store-button {
    display: grid;
    grid-template-columns: 28px 1fr 18px;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-strong);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.store-button:hover {
    transform: translateY(-2px);
    border-color: rgba(47, 107, 255, 0.18);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.store-button-primary {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #ffffff;
}

.store-icon {
    font-size: 24px;
    text-align: center;
}

.store-text {
    display: grid;
    gap: 4px;
}

.store-text strong {
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: 0.04em;
}

.store-text small {
    font-size: 12px;
    color: inherit;
    opacity: 0.76;
    letter-spacing: 0.06em;
}

.store-arrow {
    justify-self: end;
    font-size: 15px;
    opacity: 0.72;
}

.link-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
    transition: transform 0.25s ease, background 0.25s ease;
}

.link-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.92);
}

.link-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    letter-spacing: 0.04em;
}

.link-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.bottom-note {
    margin-top: 22px;
    padding: 18px 4px 4px;
}

.bottom-note p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.bottom-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    font-size: 12px;
    color: #475467;
    letter-spacing: 0.06em;
}

.dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #98a2b3;
}

.policy-shell {
    display: block;
    padding: 40px 24px 56px;
}

.policy-page {
    width: min(1120px, 100%);
    max-width: 1120px;
    padding: 28px;
}

.policy-intro {
    max-width: 680px;
}

.policy-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.policy-main {
    display: grid;
    gap: 14px;
}

.policy-block,
.policy-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.policy-block h2,
.policy-card h3 {
    margin-bottom: 14px;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0.03em;
}

.policy-block p,
.policy-block li,
.policy-card p,
.policy-card li {
    color: #475467;
    font-size: 15px;
    line-height: 1.85;
}

.policy-block p + p,
.policy-block ul,
.policy-card ul {
    margin-top: 10px;
}

.policy-block ul,
.policy-card ul {
    padding-left: 18px;
}

.policy-link {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 767px) {
    .page-shell {
        padding: 20px 16px 40px;
    }

    .landing-card {
        padding: 18px;
    }

    .brand-block {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 34px;
    }

    .policy-shell {
        padding: 20px 16px 40px;
    }

    .policy-page {
        width: 100%;
        padding: 18px;
    }

    .policy-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .policy-block,
    .policy-card {
        padding: 20px;
    }

}

@media (min-width: 768px) {
    .page-shell {
        display: grid;
        place-items: center;
        padding: 48px 24px;
    }

    .landing-card {
        padding: 26px;
    }

    .brand-block {
        grid-template-columns: 120px 1fr;
        align-items: center;
    }

    .brand-block-centered {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    h1 {
        font-size: 34px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .landing-card {
        animation: card-enter 0.8s ease both;
    }

    .store-button,
    .link-card {
        animation: rise-in 0.8s ease both;
    }

    .store-button:nth-child(2) {
        animation-delay: 0.08s;
    }

    .link-card:nth-child(1) {
        animation-delay: 0.12s;
    }

    .link-card:nth-child(2) {
        animation-delay: 0.18s;
    }

    .link-card:nth-child(3) {
        animation-delay: 0.24s;
    }
}

@keyframes card-enter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
