:root {
    /* Colors */
    --coral: #F47C6C;
    --gold: #f4c078;
    --ink: #333333;
    --body: #555555;
    --muted: #666666;
    --bg: #ffffff;
    --soft: #fff8f7;

    /* Typography scale */
    --font-base: 16px;
    --font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --h1: 2.4rem;
    --h2: 2.0rem;
    --h3: 1.8rem;
    --h4: 1.2rem;

    /* Spacing */
    --container-x: 10%;
    --section-y: 5rem;
    --radius: 10px;
    --shadow-soft: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Base reset */
* {
    box-sizing: border-box;
}

html {
    font-size: var(--font-base);
    height: 100%;
}

body {
    margin: 0;
    font-family: var(--font-family);
    background: var(--bg);
    color: var(--body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Sticky footer: component loader mounts footer into .footer */
.footer {
    margin-top: auto;
}

/* Headings */
h1 {
    font-size: var(--h1);
    color: var(--ink);
    margin: 0 0 .75rem;
}

h2 {
    font-size: var(--h2);
    color: var(--ink);
    margin: 0 0 .75rem;
}

h3 {
    font-size: var(--h3);
    color: var(--ink);
    margin: 0 0 .75rem;
}

h4 {
    font-size: var(--h4);
    color: var(--ink);
    margin: .2rem 0 .5rem;
}

/* Section base */
.section {
    padding: var(--section-y) var(--container-x);
}

.section h3 {
    text-align: center;
    position: relative;
}

.section h3::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--gold);
    display: block;
    margin: .5rem auto 0;
    border-radius: 2px;
}

/* Footer base */
footer {
    background: var(--coral);
    color: #fff;
    text-align: center;
    padding: 3rem var(--container-x);
}

footer a {
    color: #fff;
    text-decoration: underline;
}

footer p {
    margin: .3rem 0;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    :root {
        --section-y: 3.5rem;
    }

    h1 {
        font-size: 2.1rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.6rem;
    }
}