:root {
    --bg-top: #000;
    --bg-bottom: #001a4d;
    --card-fill: rgba(255, 255, 255, 0.06);
    --card-border: rgba(255, 255, 255, 0.18);
    --text: #fff;
    --text-secondary: rgba(255, 255, 255, 0.72);
    --text-muted: rgba(255, 255, 255, 0.55);
    --brand: #ff9500;
    --accent-blue: rgba(0, 122, 255, 0.85);
}

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

html, body {
    background: linear-gradient(to bottom, var(--bg-top), var(--bg-bottom)) fixed;
    background-color: var(--bg-top);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Display", system-ui, sans-serif;
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Hero */
.hero {
    text-align: center;
    padding: 56px 0 72px;
}
.hero img.icon {
    width: 200px; height: 200px;
    border-radius: 45px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    margin-bottom: 32px;
}
.hero p.tagline {
    font-size: 22px;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 36px;
}
.hero a.cta {
    display: inline-block;
    background: var(--brand);
    color: #000;
    font-weight: 700;
    font-size: 17px;
    padding: 14px 36px;
    border-radius: 14px;
    margin-top: 8px;
}
.hero a.cta:hover { text-decoration: none; opacity: 0.92; }
.hero p.subnote {
    font-size: 13px; color: var(--text-muted); margin-top: 16px;
}

/* Section */
section.block {
    margin: 64px 0;
}
section.block h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

/* Bullet grid */
.bullets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 24px;
}
.bullet {
    background: var(--card-fill);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 22px;
}
.bullet h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--brand);
}
.bullet p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Screenshots */
.screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.screenshots figure {
    text-align: center;
}
.screenshots img {
    width: 100%;
    max-width: 280px;
    border-radius: 18px;
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.screenshots figcaption {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Race result callout */
.result {
    background: var(--card-fill);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 32px;
    text-align: center;
    margin-top: 24px;
}
.result .big {
    font-size: 38px; font-weight: 700;
    color: var(--brand);
    line-height: 1.1;
}
.result .sub {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: 12px;
}
.result em {
    font-style: italic;
    color: var(--text-muted);
}

/* Footer */
footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    padding: 48px 24px 64px;
    border-top: 1px solid var(--card-border);
    margin-top: 64px;
}
footer a { color: var(--text-secondary); }
footer .links { margin-bottom: 12px; }
footer .links a { margin: 0 12px; }

/* Privacy page */
.legal {
    max-width: 720px;
    margin: 0 auto;
    padding: 64px 24px;
}
.legal h1 {
    font-size: 32px;
    margin-bottom: 8px;
}
.legal p.updated {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 13px;
}
.legal h2 {
    font-size: 20px;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--brand);
}
.legal p, .legal li {
    color: var(--text-secondary);
    margin-bottom: 12px;
}
.legal ul {
    padding-left: 24px;
}
.legal a.back {
    display: inline-block;
    margin-top: 32px;
    color: var(--brand);
}
