:root {
    --bg: #000000;
    --surface: #111114;
    --text: #e4e4e7;
    --text-muted: #9d9da5;
    --text-faint: #55555e;
    --accent: #7c5bf5;
    --accent-hover: #6a4be0;
    --orange: #f5a623;
    --border: #222228;
    --max-width: 800px;
    --wide-width: 1000px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

/* Header */
header {
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 28px;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.9rem;
}

nav a:hover {
    color: var(--text);
}

/* Content pages (terms, privacy) */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 2rem;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

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

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

li {
    margin-bottom: 0.4rem;
}

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

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

/* Hero */
.hero {
    text-align: center;
    padding: 5rem 2rem 3rem;
    max-width: var(--wide-width);
    margin: 0 auto;
}

.hero-wordmark {
    height: 120px;
    margin-bottom: 0.5rem;
}

.hero-ftmos {
    color: var(--text-faint);
    font-size: 0.8rem;
    font-style: italic;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.hero-tagline {
    font-size: 1.35rem;
    color: var(--text);
    max-width: 650px;
    margin: 0 auto 1rem;
    font-weight: 400;
    line-height: 1.5;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto 2.5rem;
}

/* Download buttons */
.downloads {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: #fff;
    padding: 0.8rem 1.6rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: background 0.2s, transform 0.15s;
}

.btn:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-1px);
}

.btn-icon {
    font-size: 1.2rem;
}

.btn-disabled {
    background: var(--surface);
    color: var(--text-muted);
    border: 1px solid var(--border);
    cursor: default;
}

.btn-disabled:hover {
    background: var(--surface);
    color: var(--text-muted);
    transform: none;
}

.coming-soon {
    font-size: 0.75rem;
    color: var(--text-faint);
    font-style: italic;
}

/* Divider */
.divider {
    width: 60px;
    height: 1px;
    background: var(--border);
    margin: 4rem auto;
}

/* Features */
.features {
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.features-heading {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.features-sub {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--text);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Pitch section */
.pitch {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem 4rem;
    text-align: center;
}

.pitch p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.pitch a {
    color: var(--orange);
}

.pitch a:hover {
    color: #e09510;
}

/* Floating reviews */
.reviews-track {
    overflow: hidden;
    padding: 1.5rem 0;
    position: relative;
}

.reviews-track::before,
.reviews-track::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 1;
    pointer-events: none;
}

.reviews-track::before {
    left: 0;
    background: linear-gradient(to right, var(--bg), transparent);
}

.reviews-track::after {
    right: 0;
    background: linear-gradient(to left, var(--bg), transparent);
}

.reviews-scroll {
    display: flex;
    gap: 4rem;
    white-space: nowrap;
    animation: scroll-reviews 90s linear infinite;
    will-change: transform;
}

.review-item {
    color: var(--text-faint);
    font-size: 0.85rem;
    font-style: italic;
    flex-shrink: 0;
    letter-spacing: 0.01em;
}

.review-item em {
    opacity: 0.7;
}

@keyframes scroll-reviews {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

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

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

footer a:hover {
    color: var(--text);
}

/* Responsive */
@media (max-width: 600px) {
    .hero {
        padding: 3rem 1.5rem 2rem;
    }

    .hero-wordmark {
        height: 80px;
    }

    .hero-tagline {
        font-size: 1.15rem;
    }

    .downloads {
        flex-direction: column;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}
