:root {
    --bg-top: #0A1530;
    --bg-bottom: #1c2f5a;
    --text: rgba(255, 255, 255, 0.95);
    --text-dim: rgba(255, 255, 255, 0.65);
    --text-faint: rgba(255, 255, 255, 0.45);
    --accent: #6FB3FF;
    --card-bg: rgba(255, 255, 255, 0.06);
    --card-border: rgba(255, 255, 255, 0.12);
}

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

html,
body {
    background:
        radial-gradient(circle at 50% 100%, #2a4690 0%, transparent 55%),
        linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

main {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 24px 96px;
}

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

header.brand img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

header.brand .title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

header.brand .sub {
    font-size: 13px;
    color: var(--text-dim);
}

nav.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

nav.tabs a {
    color: var(--text);
    text-decoration: none;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--card-border);
    border-radius: 999px;
    font-size: 14px;
    transition: background 0.15s ease;
}

nav.tabs a:hover {
    background: rgba(255, 255, 255, 0.12);
}

nav.tabs a.active {
    background: white;
    color: black;
    border-color: transparent;
}

h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

h2 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

p {
    color: var(--text);
    font-size: 16px;
    margin-bottom: 16px;
}

ul {
    margin-bottom: 16px;
    padding-left: 22px;
}

li {
    margin-bottom: 6px;
}

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

a:hover {
    text-decoration: underline;
}

.lead {
    font-size: 18px;
    color: var(--text-dim);
    margin-bottom: 28px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.card h2 {
    margin-top: 0;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: black;
    padding: 12px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.button:hover {
    text-decoration: none;
    opacity: 0.9;
}

.button.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid var(--card-border);
}

.meta {
    color: var(--text-faint);
    font-size: 13px;
    margin-top: 56px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.meta a {
    color: var(--text-dim);
}

code,
.kbd {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--card-border);
    padding: 2px 6px;
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.92em;
}
