:root {
    --bg: #0b0f19;
    --panel: rgba(255, 255, 255, 0.06);
    --panel-2: rgba(255, 255, 255, 0.09);
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.68);
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background:
            radial-gradient(1200px 700px at 15% 10%, rgba(92, 124, 250, 0.18), transparent 55%),
            radial-gradient(900px 600px at 85% 30%, rgba(34, 211, 238, 0.14), transparent 55%),
            radial-gradient(900px 700px at 50% 95%, rgba(167, 139, 250, 0.12), transparent 55%),
            var(--bg);
}

.container {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
}

.header {
    padding: 48px 0 22px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.04), transparent);
}

.kicker {
    margin: 0 0 8px;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
}

.title {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.1;
}

.subtitle {
    margin: 10px 0 0;
    color: var(--muted);
    max-width: 62ch;
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    padding: 26px 0 24px;
}

.card {
    grid-column: span 12;
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 18px 16px;
    box-shadow: var(--shadow);
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.card:hover {
    transform: translateY(-2px);
    background: var(--panel-2);
    border-color: rgba(255, 255, 255, 0.18);
}

.card__top {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
}

.tag {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
}

.tag--soft {
    background: rgba(255, 255, 255, 0.02);
}

.card__title {
    margin: 0 0 8px;
    font-size: 18px;
    letter-spacing: 0.01em;
}

.card__text {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.5;
}

.card__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
}

.card__hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
}

.arrow {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.78);
}

.footer {
    padding: 8px 0 28px;
    color: var(--muted);
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 720px) {
    .card {
        grid-column: span 6;
    }
}