:root {
    color-scheme: light;
    --bg: linear-gradient(135deg, #0f172a 0%, #0b2239 100%);
    --card: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.15);
    --text: #e2e8f0;
    --muted: #cbd5e1;
    --accent: #10b981;
    --accent-strong: #0ea371;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: var(--bg);
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text);
}

.shell {
    width: min(100%, 960px);
    padding: 48px 24px;
}

.card {
    border: 1px solid var(--border);
    background: var(--card);
    border-radius: 18px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

.page-title {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.nav a {
    padding: 9px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.nav a:hover {
    transform: translateY(-1px);
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.12);
}

.wordmark {
    font-size: clamp(36px, 6vw, 54px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f8fafc;
    text-transform: none;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

h1 {
    margin: 16px 0 12px;
    font-size: clamp(32px, 4vw, 46px);
    letter-spacing: -0.02em;
}

p {
    margin: 0 0 32px;
    color: var(--muted);
    max-width: 640px;
    line-height: 1.6;
}

.actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 10px;
}

a.tile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

a.tile:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.15);
}

.label {
    display: grid;
    gap: 4px;
}

.label span:first-child {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.label span:last-child {
    color: var(--muted);
    font-size: 14px;
}

.pill {
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 0.04em;
}

@media (max-width: 540px) {
    .card {
        padding: 32px 24px;
    }
}

/* Language toggle button */
.lang-toggle {
    position: fixed;
    top: 12px;
    right: 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    z-index: 1000;
}
.lang-toggle:hover {
    background: rgba(255,255,255,0.1);
}
