:root {
    color-scheme: light dark;
    --bg: #ffffff;
    --bg-elevated: #f6f7fb;
    --fg: #15171c;
    --fg-muted: #5e636e;
    --accent: #4f46e5;
    --accent-fg: #ffffff;
    --border: #e3e5eb;
    --radius: 12px;
    --max-width: 880px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0e1014;
        --bg-elevated: #1a1c22;
        --fg: #f1f2f5;
        --fg-muted: #9ca0ad;
        --accent: #818cf8;
        --accent-fg: #0e1014;
        --border: #2a2d36;
    }
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    text-decoration: underline;
}

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 1.5rem 6rem;
}

header.site {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header.site .brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--fg);
}

header.site nav {
    display: flex;
    gap: 1.25rem;
    font-size: 0.95rem;
}

header.site nav a {
    color: var(--fg-muted);
}

header.site nav a:hover {
    color: var(--accent);
    text-decoration: none;
}

.hero {
    text-align: center;
    margin-bottom: 4rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.hero .tagline {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--fg-muted);
    max-width: 620px;
    margin: 0 auto 2rem;
}

.cta-row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid transparent;
    cursor: pointer;
}

.button.primary {
    background: var(--accent);
    color: var(--accent-fg);
}

.button.primary:hover {
    text-decoration: none;
    opacity: 0.92;
}

.button.secondary {
    background: transparent;
    color: var(--fg);
    border-color: var(--border);
}

.button.secondary:hover {
    text-decoration: none;
    border-color: var(--fg-muted);
}

section {
    margin-top: 4rem;
}

section h2 {
    font-size: 1.6rem;
    letter-spacing: -0.01em;
    margin: 0 0 1.5rem;
}

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

.feature {
    padding: 1.5rem;
    background: var(--bg-elevated);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.feature h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.feature p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--fg-muted);
}

.pricing {
    text-align: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    max-width: 460px;
    margin: 0 auto;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin: 0.5rem 0 0.25rem;
    letter-spacing: -0.02em;
}

.price small {
    font-size: 1rem;
    color: var(--fg-muted);
    font-weight: 400;
    margin-left: 0.25rem;
}

.pricing ul {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    color: var(--fg-muted);
}

.pricing ul li {
    padding: 0.35rem 0;
}

.pricing ul li::before {
    content: "✓  ";
    color: var(--accent);
    font-weight: 600;
}

.requirements {
    color: var(--fg-muted);
    font-size: 0.95rem;
}

footer.site {
    border-top: 1px solid var(--border);
    margin-top: 4rem;
    padding: 2rem 1.5rem;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--fg-muted);
}

footer.site nav {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

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

footer.site nav a:hover {
    color: var(--accent);
}

article.legal h1 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

article.legal .updated {
    color: var(--fg-muted);
    font-size: 0.95rem;
    margin: 0 0 2.5rem;
}

article.legal h2 {
    font-size: 1.25rem;
    margin: 2.5rem 0 0.75rem;
}

article.legal p,
article.legal li {
    color: var(--fg);
    font-size: 1rem;
}

article.legal ul {
    padding-left: 1.5rem;
}
