:root {
    --bg: #050C18;
    --surface: #0B1729;
    --surface-2: #10213A;
    --text: #F2F4F8;
    --text-dim: #A9B5C6;
    --text-muted: #7F8DA3;
    --accent: #FFE6B0;
    --accent-ink: #1C1408;
    --live: #34C759;
    --divider: rgba(255, 255, 255, 0.09);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    color-scheme: dark;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background:
        radial-gradient(900px 520px at 88% -8%, rgba(255, 230, 176, 0.09), transparent 70%),
        linear-gradient(180deg, #081426 0%, var(--bg) 640px);
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* A quiet star field, like the app icon */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(1px 1px at 24px 40px, rgba(255, 255, 255, 0.55), transparent),
        radial-gradient(1px 1px at 190px 120px, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(1.5px 1.5px at 300px 260px, rgba(255, 230, 176, 0.5), transparent),
        radial-gradient(1px 1px at 90px 300px, rgba(255, 255, 255, 0.3), transparent);
    background-size: 360px 360px;
    opacity: 0.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.85; }
img { display: block; max-width: 100%; height: auto; }
code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 0.88em; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
h1 em, h2 em { font-style: normal; color: var(--accent); }

.kicker {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 18px;
}

/* Nav */
.site-nav { border-bottom: 1px solid var(--divider); }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-family: var(--font-heading); font-weight: 700; font-size: 20px; white-space: nowrap; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { color: var(--text-dim); font-size: 16px; padding: 10px 8px; }
.nav-links a:hover { color: var(--text); opacity: 1; }

/* Hero */
.hero { padding: 88px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 5.6vw, 68px); line-height: 1.04; margin-bottom: 24px; }
.lead { font-size: 20px; color: var(--text-dim); max-width: 34em; margin-bottom: 32px; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.store-badge { display: inline-block; border-radius: 10px; }
.store-badge img { width: 211px; height: 54px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 12px;
    border: 1px solid var(--divider);
    color: var(--text);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 17px;
}
.button:hover { border-color: rgba(255, 230, 176, 0.5); opacity: 1; }

.notes { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin-top: 28px; font-size: 15px; color: var(--text-dim); }
.notes li { display: inline-flex; align-items: center; gap: 8px; }
.notes li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.18); }

.frame {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--divider);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 230, 176, 0.04);
    background: var(--surface);
}

/* Stats */
.stats { border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 30px 0 30px 28px; border-left: 1px solid var(--divider); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat strong { display: block; font-family: var(--font-heading); font-size: 30px; font-weight: 700; color: var(--accent); line-height: 1.2; }
.stat span { font-size: 15px; color: var(--text-dim); }

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.1; margin-bottom: 16px; }
.section-head p { color: var(--text-dim); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--divider); border-radius: 20px; padding: 28px; }
.feature .num { display: block; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13px; color: var(--accent); margin-bottom: 18px; }
.feature h3 { font-size: 21px; margin-bottom: 10px; }
.feature p { font-size: 16px; color: var(--text-dim); }

/* Gallery */
.gallery-section { padding-top: 0; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.gallery .frame { box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--divider); padding-top: 24px; }
.steps li::before {
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-ink);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 18px;
}
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { font-size: 16px; color: var(--text-dim); }

/* Privacy */
.privacy-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 56px;
    border-radius: 28px;
    border: 1px solid var(--divider);
    background: linear-gradient(140deg, var(--surface-2) 0%, var(--surface) 70%);
}
.privacy-card h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; margin-bottom: 16px; }
.privacy-card p { color: var(--text-dim); margin-bottom: 20px; }
.privacy-card .links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 500; }
.privacy-card ul { list-style: none; display: grid; gap: 12px; }
.privacy-card ul li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: rgba(5, 12, 24, 0.55); border: 1px solid var(--divider); font-weight: 500; }
.privacy-card ul li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 820px; }
.faq-item { background: var(--surface); border: 1px solid var(--divider); border-radius: 16px; }
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 56px 20px 24px;
    position: relative;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 24px; font-weight: 400; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 24px 22px; color: var(--text-dim); font-size: 16px; }

/* CTA */
.cta { text-align: center; }
.cta .wrap { display: flex; flex-direction: column; align-items: center; }
.cta img.icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5); margin-bottom: 28px; }
.cta h2 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; margin-bottom: 16px; }
.cta p { color: var(--text-dim); max-width: 34em; margin-bottom: 32px; }
.cta .actions { justify-content: center; }

/* Footer */
footer { border-top: 1px solid var(--divider); padding: 28px 0 40px; font-size: 15px; color: var(--text-muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--text-dim); }

@media (max-width: 900px) {
    .hero { padding: 56px 0 72px; }
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    section { padding: 72px 0; }
    .features { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr; }
    .privacy-card { grid-template-columns: 1fr; gap: 28px; padding: 40px 28px; }
}

@media (max-width: 600px) {
    .wrap { padding: 0 16px; }
    .lead { font-size: 18px; }
    .stats .wrap { grid-template-columns: 1fr; }
    .stat, .stat:first-child { border-left: none; border-top: 1px solid var(--divider); padding: 20px 0; }
    .stat:first-child { border-top: none; }
    .features, .gallery { grid-template-columns: 1fr; }
    .gallery { gap: 16px; }
    .privacy-card { padding: 32px 20px; border-radius: 22px; }
    footer .wrap { flex-direction: column; }
}

@media (max-width: 480px) {
    .brand { font-size: 18px; gap: 10px; }
    .brand img { width: 32px; height: 32px; }
    .nav-links a { font-size: 15px; padding: 10px 6px; }
    .nav-links .hide-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
