/* =========================================================
   CORE SYSTEM — FOUNDATION (LOCKED)
   ========================================================= */

/* ---------- TOKENS ---------- */
:root {
    --black: #0b0b0b;
    --white: #ffffff;

    --green: #098042;
    --green-dark: #066332;
    --gold: #c9a24d;

    --text-main: #e0e0e0;
    --text-muted: #9a9a9a;

    --container: 1200px;
    --radius: 14px;
    --transition: 0.25s ease;
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    background: var(--black);
    color: var(--text-main);
    font-family: Inter, system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}

/* ---------- ELEMENTS ---------- */
a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ---------- CONTAINER ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4 {
    color: var(--white);
    font-weight: 600;
}

h1 {
    font-size: 44px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 16px;
}

p {
    font-size: 15px;
    color: var(--text-muted);
}

/* ---------- SECTIONS ---------- */
.section {
    padding: 80px 0;
}

.section-dark {
    background: radial-gradient(circle at top, #111, #050505 70%);
}

.text-center {
    text-align: center;
}

/* ---------- GRID SYSTEM (FAIL-SAFE) ---------- */
.grid,
.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 32px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}