/* ==== Shared design tokens (dark theme) ==== */
:root {
    --bg-body: #0b1120;
    --bg-card: #1e293b;
    --bg-card-hover: #263348;
    --bg-input: #0f172a;
    --bg-nav: #0f172a;
    --border-subtle: rgba(148,163,184,.1);
    --border-focus: rgba(99,102,241,.5);

    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-heading: #f8fafc;

    --accent: #6366f1;
    --accent-hover: #818cf8;
    --accent-bg: rgba(99,102,241,.1);

    --danger: #ef4444;
    --danger-hover: #dc2626;
    --success: #22c55e;

    --radius: 12px;
    --shadow-card: 0 1px 3px rgba(0,0,0,.3), 0 1px 2px rgba(0,0,0,.2);
    --shadow-lg: 0 10px 25px rgba(0,0,0,.35);
}

/* ==== Landing page (index.html) ==== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    min-height: 100vh;
    background: var(--bg-body);
    color: var(--text-primary);
}

.landing-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem;
}

.landing-logo {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: .5rem;
    background: linear-gradient(135deg, #c4b5fd, #818cf8, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -.02em;
}

.landing-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 480px;
}

.landing-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.landing-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 500;
    transition: transform .15s, box-shadow .2s;
}

.landing-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.landing-link-accent {
    background: var(--accent);
    color: #fff;
}
.landing-link-accent:hover { background: var(--accent-hover); }

.landing-link-subtle {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}
.landing-link-subtle:hover {
    background: var(--bg-card-hover);
    border-color: rgba(148,163,184,.2);
}

.landing-info {
    margin-top: 3rem;
    font-size: .85rem;
    color: var(--text-muted);
    padding: .5rem 1.25rem;
    background: rgba(255,255,255,.03);
    border-radius: 8px;
}

@media (max-width: 640px) {
    .landing-logo { font-size: 2.5rem; }
    .landing-subtitle { font-size: 1.05rem; }
    .landing-links { flex-direction: column; align-items: center; }
}
