:root {
    --bg: #fafafa;
    --fg: #1a1a1a;
    --muted: #666;
    --accent: #4075c5;
    --accent-light: #e4edf7;
    --border: #d0d0d0;
    --card-bg: #fff;
    --max-w: 960px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #111;
        --fg: #e0e0e0;
        --muted: #999;
        --accent: #6a9ee3;
        --accent-light: #1a2a3f;
        --border: #333;
        --card-bg: #1a1a1a;
    }
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.6;
}

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

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

header {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header h1 {
    font-size: 1.3rem;
    font-weight: 700;
}
header nav {
    display: flex;
    gap: 24px;
}
header nav a {
    font-size: 0.95rem;
    color: var(--fg);
    font-weight: 500;
}

.hero {
    text-align: center;
    padding: 80px 24px 60px;
}
 h2 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.hero p {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 32px;
}

.hero .links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero .links a {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
}
.hero .links .primary {
    background: var(--accent);
    color: #fff;
}
.hero .links .secondary {
    border: 1px solid var(--border);
    color: var(--fg);
}

.features {
    padding: 60px 24px;
}
.features h3 {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 40px;
}

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

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px 20px;
}
.card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.card p {
    font-size: 0.9rem;
    color: var(--muted);
}

.doc-section {
    padding: 40px 24px 60px;
    text-align: center;
}
.doc-section p {
    color: var(--muted);
    margin-bottom: 16px;
}
.doc-section .primary {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    background: var(--accent);
    color: #fff;
}

footer {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
}
footer a {
    color: var(--muted);
    text-decoration: underline;
}
