:root {
    --bg: #000;
    --surface: #111;
    --surface-2: #1c1c1e;
    --border: #2c2c2e;
    --text: #fff;
    --text-secondary: #8e8e93;
    --accent: #7BAE7E;
    --accent-pressed: #5E9462;
    --link: #7BAE7E;
}

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

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 24px 80px;
}

header.site-header {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
}

header.site-header .container {
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 18px;
}

.brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: var(--accent);
    display: grid;
    place-items: center;
    color: white;
    font-weight: 700;
}

nav.site-nav {
    display: flex;
    gap: 22px;
}

nav.site-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.15s ease;
}

nav.site-nav a:hover,
nav.site-nav a.active {
    color: var(--text);
}

main {
    padding-top: 8px;
}

h1 {
    font-size: 38px;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
    color: var(--text);
}

p {
    margin-bottom: 14px;
    color: #d1d5db;
}

ul, ol {
    margin: 6px 0 18px 22px;
    color: #d1d5db;
}

li {
    margin-bottom: 6px;
}

a {
    color: var(--link);
    text-decoration: none;
    transition: opacity 0.15s ease;
}

a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.meta {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 32px;
}

.callout {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 0;
    color: var(--text-secondary);
    font-size: 15px;
}

footer.site-footer {
    border-top: 1px solid var(--border);
    padding: 28px 0;
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
}

footer.site-footer .container {
    padding-bottom: 0;
}

footer.site-footer a {
    color: var(--text-secondary);
}

footer.site-footer .footer-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 8px;
}

/* Landing-specific */
.hero {
    text-align: center;
    padding: 60px 0 40px;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 14px;
}

.hero .tagline {
    color: var(--text-secondary);
    font-size: 20px;
    margin-bottom: 28px;
}

.hero .cta {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 17px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.hero .cta:hover {
    background: var(--accent-pressed);
    opacity: 1;
    text-decoration: none;
}

.features {
    margin: 50px 0 30px;
    display: grid;
    gap: 16px;
}

.feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 20px;
}

.feature h3 {
    margin-top: 0;
    color: var(--accent);
}

.feature p {
    margin-bottom: 0;
    font-size: 15px;
}

@media (max-width: 600px) {
    h1 { font-size: 30px; }
    .hero h1 { font-size: 42px; }
    .hero .tagline { font-size: 17px; }
    .container { padding: 18px 18px 60px; }
    nav.site-nav { gap: 14px; }
    nav.site-nav a { font-size: 14px; }
}
