:root {
    --bg: #ffffff;
    --bg-soft: #f4f6fb;
    --surface: #ffffff;
    --text: #0d1117;
    --muted: #5a6474;
    --faint: #8b94a3;
    --border: #e3e8f0;
    --accent: #2978ff;
    --accent-dark: #1657d8;
    --radius: 16px;
    --max: 980px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0c0e13;
        --bg-soft: #12151c;
        --surface: #161a22;
        --text: #f2f4f8;
        --muted: #a5adbb;
        --faint: #767e8c;
        --border: #232833;
        --accent: #4d8dff;
        --accent-dark: #2978ff;
    }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 17px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

header.site {
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: saturate(180%) blur(14px);
    z-index: 10;
}

header.site .wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 62px;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--text); }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
header.site nav { margin-left: auto; display: flex; gap: 20px; font-size: 15px; }
header.site nav a { color: var(--muted); }

.hero { padding: 76px 0 54px; text-align: center; }
.hero img.app-icon { width: 128px; height: 128px; border-radius: 28px; box-shadow: 0 18px 46px rgba(20, 60, 140, 0.28); }
.hero h1 { font-size: clamp(38px, 6vw, 58px); line-height: 1.08; letter-spacing: -0.02em; margin: 26px 0 14px; }
.hero p.lead { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); max-width: 660px; margin: 0 auto 30px; }

.badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.badge {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 13px;
}

.cta { display: inline-flex; align-items: center; gap: 9px; background: var(--accent); color: #fff; font-weight: 620; padding: 13px 24px; border-radius: 12px; }
.cta:hover { background: var(--accent-dark); text-decoration: none; }
.cta-note { display: block; font-size: 14px; color: var(--faint); margin-top: 12px; }

section { padding: 54px 0; border-top: 1px solid var(--border); }
section h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.015em; margin: 0 0 10px; }
section p.section-lead { color: var(--muted); margin: 0 0 30px; max-width: 680px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .tagline { display: block; font-size: 13px; font-weight: 650; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }

ul.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
ul.checks li { padding-left: 28px; position: relative; color: var(--muted); }
ul.checks li strong { color: var(--text); font-weight: 620; }
ul.checks li::before {
    content: "";
    position: absolute;
    left: 0; top: 9px;
    width: 15px; height: 8px;
    border-left: 2.5px solid var(--accent);
    border-bottom: 2.5px solid var(--accent);
    transform: rotate(-45deg);
}

.note { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }

article.legal { padding: 44px 0 60px; }
article.legal h1 { font-size: clamp(30px, 4.6vw, 42px); letter-spacing: -0.02em; margin: 0 0 6px; }
article.legal .updated { color: var(--faint); font-size: 15px; margin-bottom: 30px; }
article.legal h2 { font-size: 21px; margin: 34px 0 8px; }
article.legal p, article.legal li { color: var(--muted); }
article.legal strong { color: var(--text); }

details { border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; background: var(--surface); margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 620; }
details p { color: var(--muted); margin: 10px 0 0; }

footer.site { border-top: 1px solid var(--border); padding: 34px 0 48px; color: var(--faint); font-size: 14.5px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
footer.site nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 18px; }
footer.site a { color: var(--muted); }

@media (max-width: 620px) {
    header.site nav { gap: 14px; font-size: 14px; }
    .hero { padding: 54px 0 40px; }
    footer.site nav { margin-left: 0; }
}
