:root {
    --bg: #ffffff;
    --bg-alt: #f6f7f9;
    --text: #1d1d1f;
    --text-muted: #6e6e73;
    --accent: #4F46E5;
    --accent-light: #EEF2FF;
    --border: #e6e7ea;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.04);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0b0b0d;
        --bg-alt: #16161a;
        --text: #f5f5f7;
        --text-muted: #9a9aa1;
        --accent: #818cf8;
        --accent-light: #1e1b4b;
        --border: #2a2a30;
        --card-shadow: none;
    }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
}

header.hero {
    text-align: center;
    padding: 4rem 1.25rem 3rem;
    background: linear-gradient(180deg, var(--accent-light) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
}

.hero h1 {
    margin: 0.5rem 0 0.25rem;
    font-size: 2.75rem;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.hero .tagline {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.hero .icon {
    font-size: 4rem;
    line-height: 1;
}

.hero .app-icon {
    width: 128px;
    height: 128px;
    border-radius: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
    margin-bottom: 0.75rem;
}

@media (prefers-color-scheme: dark) {
    .hero .app-icon {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    }
}

.cta {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.7rem 1.5rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    transition: transform 0.15s ease;
}

.cta:hover { transform: translateY(-1px); }

h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    letter-spacing: -0.01em;
}

h3 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.feature {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.1rem 1.2rem;
    box-shadow: var(--card-shadow);
}

.feature .emoji {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.feature .feature-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 0.5rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature .feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

p { color: var(--text); }

footer {
    border-top: 1px solid var(--border);
    padding: 2rem 1.25rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

footer a {
    color: var(--accent);
    text-decoration: none;
    margin: 0 0.5rem;
}

footer a:hover { text-decoration: underline; }

a { color: var(--accent); }

.tech {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
}

.tech ul {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}

.tech li {
    margin: 0.3rem 0;
    color: var(--text-muted);
}

.legal {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}

.legal h1 {
    font-size: 2rem;
    margin: 1rem 0 0.5rem;
}

.legal .updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal h2 {
    margin-top: 2rem;
    font-size: 1.2rem;
}

.back {
    display: inline-block;
    margin: 1rem 0;
    color: var(--accent);
    text-decoration: none;
}

.back:hover { text-decoration: underline; }
