:root {
    --bg: #0b0b0b;
    --card-bg: rgba(20, 20, 20, 0.85);
    --gold: #e6c98a;
    --gold-soft: rgba(230, 201, 138, 0.35);
    --text: #eaeaea;
    --muted: #b5b5b5;
    --border: rgba(230, 201, 138, 0.25);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
    color: var(--text);
    background:
            radial-gradient(ellipse at top, rgba(230, 201, 138, 0.08), transparent 55%),
            radial-gradient(ellipse at bottom, rgba(230, 201, 138, 0.05), transparent 60%),
            var(--bg);
    display: flex;
    justify-content: center;
    padding: 3rem 1rem 4rem;
}

.container {
    max-width: 1100px;
    width: 100%;
    text-align: center;
}

/* ---------- Heading ---------- */
h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.subtitle {
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--muted);
}

/* ---------- Cards Grid ---------- */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 700px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 2rem;
    border: 1px solid var(--border);
    text-align: left;
    box-shadow:
            inset 0 0 0 1px rgba(255,255,255,0.02),
            0 0 40px rgba(230, 201, 138, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow:
            inset 0 0 0 1px rgba(255,255,255,0.04),
            0 10px 60px rgba(230, 201, 138, 0.12);
}

.card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--muted);
    line-height: 1.65;
    font-size: 0.95rem;
}

/* ---------- Bottom Callout ---------- */
.footer-card {
    margin-top: 2rem;
    padding: 2.5rem 2rem;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: linear-gradient(
            180deg,
            rgba(230, 201, 138, 0.08),
            rgba(0, 0, 0, 0.2)
    );
}

.footer-card h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.footer-card p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* ==========================================================
   Light Mode Override
   ========================================================== */
@media (prefers-color-scheme: light) {
    :root {
        --bg: #fafafa;
        --card-bg: rgba(255, 255, 255, 0.9);
        --gold: #8b6a2f;
        --gold-soft: rgba(139, 106, 47, 0.25);
        --text: #1a1a1a;
        --muted: #555555;
        --border: rgba(0, 0, 0, 0.08);
    }

    body {
        background:
                radial-gradient(ellipse at top, rgba(139, 106, 47, 0.06), transparent 55%),
                radial-gradient(ellipse at bottom, rgba(139, 106, 47, 0.04), transparent 60%),
                var(--bg);
    }

    .card {
        box-shadow:
                inset 0 0 0 1px rgba(0, 0, 0, 0.03),
                0 6px 30px rgba(0, 0, 0, 0.08);
    }

    .card:hover {
        box-shadow:
                inset 0 0 0 1px rgba(0, 0, 0, 0.05),
                0 12px 40px rgba(0, 0, 0, 0.15);
    }

    .footer-card {
        background: linear-gradient(
                180deg,
                rgba(139, 106, 47, 0.08),
                rgba(255, 255, 255, 0.85)
        );
    }
}
