/* Baseline 2 — saved 2025-09-28
   Purpose: Base variables, layout, grid, header/footer styles.
   Note: All card-related styles moved to cards.css */
:root {
    --bg: #0f1226;
    --fg: #10121a;
    --text: #0b1020;
    --muted: #5a6075;
    --card: rgba(255,255,255,0.10);
    --card-border: rgba(255,255,255,0.22);
    --accent: #7c5cff;
    --accent-2: #22c1c3;
    --ok: #12b886;
    --warn: #ffb020;
    --past: #e8590c;
    --shadow: 0 10px 30px rgba(0,0,0,0.22);
}

@media(prefers-color-scheme:light) {
    :root {
        --bg: #f6f7fb;
        --fg: #ffffff;
        --text: #101319;
        --muted: #6b7280;
        --card: rgba(255,255,255,0.9);
        --card-border: rgba(16,19,25,0.06);
        --shadow: 0 12px 28px rgba(16,19,25,0.07);
    }
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: radial-gradient(1200px 600px at 80% -10%, rgba(124,92,255,.20), transparent 60%), radial-gradient(1000px 500px at -10% 10%, rgba(34,193,195,.18), transparent 60%), linear-gradient(180deg, var(--bg), var(--bg));
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.wrap {
    width: min(1100px,94vw);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 14px;
}

.title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: conic-gradient(from 200deg,var(--accent),var(--accent-2));
    box-shadow: var(--shadow);
}

h1 {
    margin: 0;
    font-size: clamp(22px,2.2vw+10px,34px);
}

.subtitle {
    margin: 0;
    color: var(--muted);
}

.meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
}

.chip {
    padding: 8px 12px;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 999px;
}

/* Grid layout for cards */
.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}

@media (max-width: 980px) {
    .grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 640px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.kbd {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    background: var(--fg);
    border: 1px solid var(--card-border);
    padding: .2rem .4rem;
    border-radius: 6px;
}
