:root {
    --bg: #ffffff;
    --bg-elevated: #f8f9fa;
    --fg: #1a1a2e;
    --fg-muted: #4a4a6a;
    --fg-subtle: #8b8ba6;
    --border: #e0e0eb;
    --border-strong: #cfcfe0;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-light: #eff6ff;
    --accent-purple: #7c3aed;
    --accent-purple-hover: #6d28d9;
    --accent-purple-light: #f5f3ff;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-hover: 0 4px 12px rgba(37,99,235,0.12), 0 2px 4px rgba(37,99,235,0.08);
    --radius: 8px;
    --radius-full: 9999px;
    --transition: 150ms ease;
    --max-width: 720px;
    --header-h: 56px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0f0f1a;
        --bg-elevated: #1a1a2e;
        --fg: #f0f0f5;
        --fg-muted: #a0a0b8;
        --fg-subtle: #6a6a8a;
        --border: #2a2a4a;
        --border-strong: #3a3a5a;
        --accent: #60a5fa;
        --accent-hover: #93c5fd;
        --accent-light: #1e3a5f;
        --accent-purple: #a78bfa;
        --accent-purple-hover: #c4b5fd;
        --accent-purple-light: #2e1a4a;
        --shadow: 0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
        --shadow-hover: 0 4px 12px rgba(96,165,250,0.15), 0 2px 4px rgba(96,165,250,0.1);
    }
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior: none;
}

.material-symbols-rounded {
    font-family: 'Material Symbols Rounded';
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.5;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overscroll-behavior: none;
}

a {
    color: var(--accent);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

button, input, select, textarea {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

button { cursor: pointer; -webkit-tap-highlight-color: transparent; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.topnav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    padding: 0 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
    background: rgba(var(--bg), 0.9);
}

@media (max-width: 640px) {
    .topnav {
        height: var(--header-h);
        padding: 0 24px;
    }
}

.wordmark {
    font-family: 'Sora', sans-serif;
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 600;
    letter-spacing: -0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0;
    flex: none;
}

.wordmark:hover { text-decoration: none; opacity: 0.8; }

.wordmark-ind, .wordmark-x { color: var(--accent); }
.wordmark-dash { color: var(--accent-purple); }

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 24px 24px;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}

@media (max-width: 640px) { .main { padding: 24px; } }

.about-main { align-items: flex-start; }
.about-content { width: 100%; max-width: 800px; }

.about-content h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--fg);
}

.about-content .lead {
    font-size: 17px;
    color: var(--fg-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.about-content h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 40px 0 16px;
    color: var(--fg);
}

.about-content p {
    color: var(--fg-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-content ul {
    color: var(--fg-muted);
    margin-left: 24px;
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-content li { margin-bottom: 8px; }

.about-content code {
    background: var(--bg-elevated);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.status-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-complete { background: #34a853; }
.status-progress { background: #fbbc04; }
.status-planned { background: var(--fg-subtle); }

@media (prefers-color-scheme: dark) {
    .status-complete { background: #34a853; }
    .status-progress { background: #fbbc04; }
}

@media (max-width: 640px) {
    .about-content h1 { font-size: 26px; }
    .about-content .lead { font-size: 16px; }
    .about-content h2 { font-size: 18px; }
    .about-content ul { margin-left: 16px; }
}

.footer {
    margin-top: auto;
    padding: 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-elevated);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--fg-subtle);
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a { color: var(--fg-subtle); }
.footer-links a:hover { color: var(--fg); }
.footer-copyright { white-space: nowrap; }