:root {
    --bg: #fafafa;
    --surface: #ffffff;
    --text: #1a1a1f;
    --muted: #666;
    --border: #e8e8ec;
    --accent-pink: #ff5a91;
    --accent-blue: #5282ff;
    --accent-orange: #ff8a32;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #15151c;
        --surface: #1f1f28;
        --text: #f0f0f5;
        --muted: #999;
        --border: #2a2a32;
    }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 32px 20px 96px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

main {
    max-width: 720px;
    margin: 0 auto;
}

header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 48px;
}

.logo {
    width: 56px;
    height: 56px;
    background: #15151c;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-bars {
    display: flex;
    gap: 4px;
    align-items: center;
}

.logo-bars span {
    display: block;
    width: 5px;
    border-radius: 3px;
}

.logo-bars span:nth-child(1) { height: 14px; background: var(--accent-pink); }
.logo-bars span:nth-child(2) { height: 24px; background: var(--accent-pink); }
.logo-bars span:nth-child(3) { height: 32px; background: var(--accent-blue); }
.logo-bars span:nth-child(4) { height: 24px; background: var(--accent-orange); }
.logo-bars span:nth-child(5) { height: 14px; background: var(--accent-orange); }

.brand {
    display: flex;
    flex-direction: column;
}

.brand .name {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.brand .tag {
    font-size: 13px;
    color: var(--muted);
}

h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
}

.updated {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 32px;
}

h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 36px 0 12px;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 24px 0 8px;
    color: var(--muted);
}

p, li { font-size: 16px; }

ul {
    padding-left: 22px;
}

li {
    margin-bottom: 6px;
}

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

a:hover {
    text-decoration: underline;
}

.callout {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 22px;
    margin: 20px 0;
}

.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

footer {
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

footer a {
    color: var(--muted);
}

.home-hero {
    text-align: center;
    padding: 64px 0 32px;
}

.home-hero .logo {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    margin: 0 auto 24px;
}

.home-hero .logo-bars span {
    width: 8px;
    border-radius: 4px;
}

.home-hero .logo-bars span:nth-child(1) { height: 22px; }
.home-hero .logo-bars span:nth-child(2) { height: 40px; }
.home-hero .logo-bars span:nth-child(3) { height: 56px; }
.home-hero .logo-bars span:nth-child(4) { height: 40px; }
.home-hero .logo-bars span:nth-child(5) { height: 22px; }

.home-hero h1 {
    font-size: 40px;
    margin-bottom: 12px;
}

.home-hero .lead {
    font-size: 18px;
    color: var(--muted);
    max-width: 480px;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.nav-links a {
    padding: 12px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    font-weight: 500;
}

.nav-links a:hover {
    text-decoration: none;
    background: var(--border);
}
