:root {
    color-scheme: light;
    --bg: #ffffff;
    --panel: #ffffff;
    --text: #333333;
    --muted: #666666;
    --accent: #ff8f3c;
    --accent-strong: #e68610;
    --accent-bg: rgba(255, 143, 60, 0.12);
    --border: rgba(0, 0, 0, 0.08);
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    --radius: 24px;
    --radius-sm: 4px;
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --bg: #111111;
        --panel: #181818;
        --text: #e5e5e5;
        --muted: #a0a0a0;
        --accent: #ffb26a;
        --accent-strong: #ffcc86;
        --accent-bg: rgba(255, 178, 106, 0.16);
        --border: rgba(255, 255, 255, 0.1);
        --shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    padding: 2rem;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.home-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

main {
    width: min(100%, 840px);
    margin: 0 auto;
    padding: 3rem 1.25rem 4rem;
}

.container {
    text-align: center;
    max-width: 600px;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    object-fit: cover;
}

h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.8;
}

p,
li {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    opacity: 0.9;
}

.lead {
    max-width: 720px;
    color: var(--muted);
}

.meta {
    color: var(--muted);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.links,
.actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.links {
    margin-top: 2.5rem;
}

.links a,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.links a {
    background: var(--accent-bg);
    color: var(--accent);
    border-radius: 8px;
}

.button.secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    box-shadow: none;
    border: 1px solid var(--border);
}

.links a:hover,
.button:hover {
    transform: translateY(-1px);
}

.links a:hover {
    background: rgba(255, 143, 60, 0.18);
}

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

a:hover {
    color: var(--accent-strong);
    text-decoration: underline;
}

.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.eyebrow {
    display: inline-block;
    background: rgba(255, 224, 179, 0.9);
    color: #9f6016;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.card-item {
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
}

.card-item h2 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.card-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

footer {
    margin-top: 1.5rem;
    color: var(--muted);
    font-size: 0.95rem;
}

@media (max-width: 700px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    p,
    .lead,
    .meta {
        font-size: 1rem;
    }
}
