:root {
    --bg: #1a1d2b;
    --bg-alt: #24293c;
    --fg: #f2f0ec;
    --muted: #b1afad;
    --silver: #c5ccd4;
    --accent: #ff7a59;
    --accent-strong: #e85d3a;
    --card-bg: rgba(255, 255, 255, 0.04);
    --border: rgba(242, 240, 236, 0.10);
    --max-width: 1080px;
    --radius: 12px;
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); text-decoration: underline; }

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    color: var(--fg);
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 88px; height: 88px; }
.brand-name em { font-style: normal; color: var(--muted); font-weight: 500; }

.primary-nav a {
    margin-left: 20px;
    color: var(--muted);
    font-weight: 500;
}
.primary-nav a:hover { color: var(--fg); text-decoration: none; }

.hero {
    background: radial-gradient(1200px 600px at 20% -10%, rgba(255, 122, 89, 0.20), transparent 60%),
                radial-gradient(1000px 500px at 90% 10%, rgba(197, 204, 212, 0.08), transparent 60%);
    padding: 80px 24px 120px;
    border-bottom: 1px solid var(--border);
}
.hero-inner { max-width: var(--max-width); margin: 0 auto; }
.hero-centered { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-centered .lead { margin-left: auto; margin-right: auto; }
.hero-centered .cta-row { justify-content: center; }
.hero-logo {
    width: clamp(200px, 32vw, 360px);
    height: auto;
    margin: 0 0 28px;
    filter: drop-shadow(0 14px 40px rgba(0, 0, 0, 0.45));
}
.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}
.hero .lead {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 640px;
}

.cta-row { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover { background: var(--accent-strong); color: #fff; }
.btn-ghost {
    background: transparent;
    color: var(--fg);
    border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--fg); }

.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 64px 24px;
}
.section-alt {
    background: var(--bg-alt);
    max-width: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}
.section-alt > * { max-width: var(--max-width); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }

.section h2 { font-size: 1.8rem; letter-spacing: -0.01em; margin: 0 0 28px; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }

.product {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}
.product h3 { margin: 0 0 10px; }
.product p { color: var(--muted); margin: 0 0 18px; max-width: 640px; }

/* App card with icon + store badges */
.app-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: start;
}
.app-icon {
    width: 128px;
    height: 128px;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}
.app-text h3 { margin: 0 0 8px; font-size: 1.5rem; }
.app-text p { color: var(--muted); margin: 0 0 18px; max-width: 640px; }
.apps-soon { margin-top: 24px; }

.store-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(26, 29, 43, 0.6);
    color: var(--fg);
    font-weight: 600;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.08s ease;
}
.store-badge:hover {
    border-color: var(--accent);
    background: rgba(255, 122, 89, 0.10);
    text-decoration: none;
    color: var(--fg);
    transform: translateY(-1px);
}
.store-glyph {
    width: 26px;
    height: 26px;
    color: var(--silver);
    flex-shrink: 0;
}
.store-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.15;
}
.store-text small {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 500;
}
.store-text strong { font-size: 0.95rem; }

@media (max-width: 640px) {
    .app-card { grid-template-columns: 1fr; text-align: center; }
    .app-icon { margin: 0 auto; width: 96px; height: 96px; }
    .app-text p { margin-left: auto; margin-right: auto; }
    .store-row { justify-content: center; }
}

.prose { max-width: 720px; color: var(--muted); }
.disclaimer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--muted);
    opacity: 0.85;
}
.footer-disclaimer {
    max-width: 720px;
    margin: 14px auto 0;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--muted);
    opacity: 0.7;
}

.site-footer {
    border-top: 1px solid var(--border);
    margin-top: 40px;
    padding: 28px 24px;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
}
.site-footer p { margin: 4px 0; }

@media (max-width: 640px) {
    .primary-nav a { margin-left: 14px; font-size: 0.95rem; }
    .hero { padding: 56px 20px 80px; }
    .brand { font-size: 1.4rem; gap: 12px; }
    .brand img { width: 56px; height: 56px; }
}
