:root {
    color-scheme: light;
    --bg: #f5f5f5;
    --card: #ffffff;
    --text: #242424;
    --muted: #616161;
    --brand: #5b5fc7;
    --border: #e0e0e0;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
}

.shell {
    max-width: 960px;
    margin: 0 auto;
    padding: 48px 24px;
}

.shell__header h1 {
    margin: 0 0 8px;
    font-size: 2rem;
    font-weight: 600;
}

.shell__header p {
    margin: 0 0 32px;
    color: var(--muted);
}

.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.tile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: box-shadow 120ms ease, transform 120ms ease;
}

.tile:hover,
.tile:focus-visible {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.tile__icon {
    width: 48px;
    height: 48px;
}

.tile h2 {
    margin: 8px 0 0;
    font-size: 1.25rem;
}

.tile p {
    margin: 0;
    color: var(--muted);
    flex: 1;
}

.tile__version {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.75rem;
    color: var(--muted);
}

.shell__footer {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    font-size: 0.8rem;
    color: var(--muted);
}

.shell__footer a {
    color: var(--muted);
}
