:root {
    --bg: #020202;
    --card: #0b0b0f;
    --card-border: rgba(255, 255, 255, 0.1);
    --text: #f6f6f6;
    --muted: rgba(230, 230, 230, 0.7);
    --accent: rgba(255, 255, 255, 0.6);
    --accent-strong: #ffffff;
    --accent-soft: rgba(255, 255, 255, 0.2);
    --shadow: 0 50px 120px rgba(0, 0, 0, 0.6);
    --radius: 22px;
    font-family: 'Space Grotesk', 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(180deg, #050505 0%, #0b0b0b 50%, #101010 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 96px;
}

.glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.glow::before,
.glow::after {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    filter: blur(200px);
    opacity: 0.45;
}

.glow::before {
    top: -40px;
    left: -120px;
    background: var(--accent-soft);
}

.glow::after {
    bottom: 10%;
    right: -60px;
    background: rgba(255, 255, 255, 0.13);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 56px;
    position: relative;
    z-index: 1;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 28px;
    font-size: 0.95rem;
    color: var(--muted);
}

.nav-links a:hover {
    color: var(--accent-strong);
}

.cta-button {
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button.primary {
    background: linear-gradient(90deg, #ffffff, #f4f4f4);
    border: none;
    color: #040404;
    box-shadow: var(--shadow);
}

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

.hero {
    position: relative;
    z-index: 1;
    margin-bottom: 72px;
}

.hero-copy {
    max-width: 720px;
}

.hero-centered {
    margin: 0 auto;
    text-align: center;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 5vw, 4.6rem);
    line-height: 1.05;
    margin: 0 0 18px;
}

.hero-copy p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 520px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-strong);
    margin-bottom: 16px;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0 0 10px;
}

.scroll-story {
    display: flex;
    gap: 32px;
    margin: 60px 0;
}

.story-sticky {
    flex: 0 0 240px;
    position: sticky;
    top: 120px;
}

.story-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.story-card {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px;
    background: rgba(255, 255, 255, 0.02);
}

.story-card h3 {
    margin-top: 0;
}

.story-card p {
    color: var(--muted);
    margin: 0;
}

.app-showcase {
    margin: 60px 0;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.icon-card {
    border-radius: 24px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    transition: transform 0.3s ease, border 0.3s ease;
}

.icon-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.3);
}

.icon-image {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.icon-card strong {
    font-size: 1.1rem;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 32px;
}

.section-head p {
    color: var(--muted);
    margin: 0;
}

.timeline {
    margin-bottom: 80px;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

.timeline-grid article {
    padding: 24px;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 140px;
}

.timeline-grid h4 {
    margin: 0 0 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.timeline-grid p {
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

.cta-band {
    border-radius: var(--radius);
    padding: 48px;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

.cta-band h2 {
    margin: 8px 0 16px;
    font-size: 2.4rem;
}

.cta-band p {
    color: var(--muted);
    margin: 0;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
    display: flex;
    gap: 18px;
    color: var(--muted);
    font-size: 0.9rem;
}

.legal-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 24px 90px;
}

.legal-page h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.legal-page .meta {
    color: var(--muted);
    margin-bottom: 32px;
}

.legal-section {
    margin-bottom: 32px;
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-section h2 {
    margin-top: 0;
}

.legal-section p,
.legal-section ul {
    color: var(--muted);
    line-height: 1.6;
}

.legal-section ul {
    padding-left: 20px;
}

@media (max-width: 720px) {
    .site-header {
        flex-direction: column;
        gap: 16px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-ribbon {
        flex-direction: column;
        border-radius: 24px;
    }

    .scroll-story {
        flex-direction: column;
    }

    .story-sticky {
        position: static;
    }

    .section-head {
        flex-direction: column;
    }

    .icon-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .cta-band {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px;
    }
}
