:root {
    --bg: #ffffff;
    --fg: #1d1d1f;
    --fg-muted: #6e6e73;
    --accent: #12994a;
    --surface: #f4f6f4;
    --border: rgba(0, 0, 0, 0.1);
    --radius: 14px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0e1410;
        --fg: #f2f5f2;
        --fg-muted: #97a09a;
        --accent: #30d158;
        --surface: #18201a;
        --border: rgba(255, 255, 255, 0.08);
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

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

a:hover {
    text-decoration: underline;
}

header {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 100;
}

@media (prefers-color-scheme: dark) {
    header {
        background: rgba(14, 20, 16, 0.8);
    }
}

nav {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 600;
    font-size: 17px;
    color: var(--fg);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.logo:hover { text-decoration: none; }

.logo-icon {
    display: block;
    border-radius: 22%;
}

.hero-icon {
    display: block;
    margin: 0 auto 24px;
    border-radius: 22%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--fg-muted);
    font-size: 14px;
}

main {
    max-width: 980px;
    margin: 0 auto;
    padding: 64px 24px;
}

.hero {
    text-align: center;
    padding: 48px 0 72px;
}

.hero h1 {
    font-size: clamp(36px, 7vw, 64px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero .lead {
    font-size: clamp(17px, 2.5vw, 21px);
    color: var(--fg-muted);
    max-width: 660px;
    margin: 0 auto 32px;
}

.cta {
    margin-bottom: 16px;
}

.app-store-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    border-radius: 12px;
    font-family: inherit;
    line-height: 1.1;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.app-store-link:hover {
    text-decoration: none;
    opacity: 0.9;
    transform: translateY(-1px);
}

.app-store-glyph { flex-shrink: 0; }

.app-store-text {
    display: inline-flex;
    flex-direction: column;
    text-align: left;
}

.app-store-text small {
    font-size: 11px;
    letter-spacing: 0.02em;
    opacity: 0.85;
}

.app-store-text strong {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.hero .device-note {
    font-size: 13px;
    color: var(--fg-muted);
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 72px;
}

.feature {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius);
    flex: 1 1 260px;
    max-width: 320px;
}

.feature h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature p {
    color: var(--fg-muted);
    font-size: 16px;
}

.disclaimer {
    max-width: 660px;
    margin: 0 auto 32px;
    text-align: center;
    color: var(--fg-muted);
    font-size: 14px;
}

footer {
    border-top: 1px solid var(--border);
    padding: 24px;
    text-align: center;
    color: var(--fg-muted);
    font-size: 13px;
}

footer a { color: var(--fg-muted); }

/* Long-form pages (privacy, support) */
.prose {
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 0;
}

.prose h1 {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.prose .meta {
    color: var(--fg-muted);
    font-size: 15px;
    margin-bottom: 40px;
}

.prose h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.prose h3 {
    font-size: 19px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
}

.prose p {
    margin-bottom: 16px;
    font-size: 17px;
    color: var(--fg);
}

.prose ul,
.prose ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.prose li {
    margin-bottom: 8px;
    font-size: 17px;
}

.prose code {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    background: var(--surface);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.92em;
}
