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

:root {
    --bg: #1b1b1f;
    --surface: #232329;
    --surface-hover: #2c2c34;
    --border: #3c3c44;
    --text: rgba(255, 255, 255, 0.87);
    --text-muted: rgba(255, 255, 255, 0.55);
    --accent: #facc15;
    --accent-dim: rgba(250, 204, 21, 0.15);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

html {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

main {
    width: 100%;
    max-width: 960px;
    padding: 0 24px;
}

/* ── Hero ── */

.hero {
    text-align: center;
    padding: 80px 0 48px;
}

.logo {
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.tagline {
    font-size: 1.25rem;
    color: var(--accent);
    font-weight: 500;
    margin-top: 8px;
}

.subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ── Cards ── */

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-bottom: 64px;
}

.card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    text-decoration: none;
    color: var(--text);
    transition: background 0.2s, border-color 0.2s;
}

.card:hover {
    background: var(--surface-hover);
    border-color: var(--accent);
}

.card-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 12px;
}

.card h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.card code {
    font-family: var(--mono);
    font-size: 0.82rem;
    background: var(--accent-dim);
    color: var(--accent);
    padding: 2px 6px;
    border-radius: 4px;
}

.card-link {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
}

/* ── Footer ── */

footer {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid var(--border);
}

.footer-links {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.sep {
    color: var(--text-muted);
    margin: 0 8px;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── Mobile ── */

@media (max-width: 640px) {
    .hero {
        padding: 56px 0 36px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .cards {
        grid-template-columns: 1fr;
    }
}

.deathbook {  
    text-align: center;  
    padding: 2rem 1rem;  
    border-top: 1px solid #e2e2e3;  
    margin-top: 2rem;  
}  
  
.deathbook h2 {  
    font-size: 1.4rem;  
    margin-bottom: 0.5rem;  
}  
  
.deathbook p {  
    color: #666;  
    margin-bottom: 1rem;  
}  
  
.deathbook-link {  
    color: #3451b2;  
    font-weight: 500;  
    text-decoration: none;  
}  
  
.deathbook-link:hover {  
    text-decoration: underline;  
}