:root {
    color-scheme: light dark;
    --bg: #f7f7f4;
    --text: #1d2528;
    --muted: #5c686c;
    --panel: #ffffff;
    --border: #d9ded9;
    --accent: #216869;
    --accent-text: #ffffff;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #111716;
        --text: #eef4f2;
        --muted: #a8b6b1;
        --panel: #19211f;
        --border: #33413d;
        --accent: #68b7a6;
        --accent-text: #101615;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem clamp(1rem, 4vw, 3rem);
    border-bottom: 1px solid var(--border);
}

.brand {
    font-weight: 700;
    text-decoration: none;
}

.surface,
.eyebrow {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.page {
    width: min(1080px, 100%);
    margin: 0 auto;
    padding: clamp(1.25rem, 5vw, 4rem) 1rem;
}

.hero,
.panel {
    max-width: 760px;
}

.hero h1,
.panel h1 {
    margin: 0.25rem 0 1rem;
    font-size: clamp(2rem, 8vw, 4.4rem);
    line-height: 1.05;
}

.panel {
    padding: clamp(1rem, 4vw, 2rem);
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.feature-grid article {
    padding: 1.25rem;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.actions {
    margin-top: 1.5rem;
}

.button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 1rem;
    background: var(--accent);
    color: var(--accent-text);
    border: 0;
    border-radius: 6px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
}

button:disabled,
input:disabled {
    opacity: 0.65;
}

.stack {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

label {
    display: grid;
    gap: 0.35rem;
    font-weight: 700;
}

input {
    min-height: 44px;
    width: 100%;
    padding: 0.7rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg);
    color: var(--text);
    font: inherit;
}
