:root {
    --green-deep: #0f153d;
    --green-mid: #1b476b;
    --green-soft: #e8f2ed;
    --charcoal: #1f2933;
    --muted: #4b5563;
    --line: #d9e2dc;
    --cream: #f7f6f2;
    --white: #ffffff;
    --gold: #c4a35a;
    --danger: #b42318;
    --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
    --font-sans: "Source Sans 3", system-ui, -apple-system, sans-serif;
    --radius: 12px;
    --shadow: 0 12px 32px rgba(15, 61, 46, 0.08);
    --shadow-sm: 0 4px 14px rgba(31, 41, 51, 0.06);
    --max: 1140px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--charcoal);
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--green-mid);
    text-decoration: none;
}

a:hover {
    color: var(--green-deep);
}

h1,
h2,
h3,
h4,
.font-serif {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--green-deep);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1.25;
}

h3 {
    font-size: 1.25rem;
}

.btn-school {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: var(--green-deep);
    color: var(--white) !important;
    border: 1px solid var(--green-deep);
    border-radius: 999px;
    padding: 0.7rem 1.4rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-school:hover {
    background: var(--green-mid);
    border-color: var(--green-mid);
    color: var(--white) !important;
    transform: translateY(-1px);
}

.btn-school-outline {
    background: transparent;
    color: var(--green-deep) !important;
    border-color: var(--green-deep);
}

.btn-school-outline:hover {
    background: var(--green-deep);
    color: var(--white) !important;
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--charcoal) !important;
}

.btn-gold:hover {
    background: #b38d42;
    border-color: #b38d42;
    color: var(--charcoal) !important;
}

.section {
    padding: 4.5rem 0;
}

.section-cream {
    background: var(--cream);
}

.section-green {
    background: var(--green-deep);
    color: #e8efe9;
}

.section-kicker {
    display: inline-block;
    color: var(--green-mid);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.section-green .section-kicker {
    color: var(--gold);
}

.section-title {
    margin-bottom: 0.75rem;
}

.section-lead {
    color: var(--muted);
    max-width: 38rem;
}

.card-school {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.form-control,
.form-select {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    color: var(--charcoal);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--green-mid);
    box-shadow: 0 0 0 0.2rem rgba(27, 107, 74, 0.15);
}

.cms-content {
    color: var(--charcoal);
}

.cms-content h1,
.cms-content h2,
.cms-content h3,
.cms-content h4 {
    margin-top: 1.4rem;
    margin-bottom: 0.6rem;
}

.cms-content p,
.cms-content li {
    color: var(--muted);
}

.cms-content img {
    border-radius: 10px;
    margin: 0.75rem 0;
}

.cms-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.98rem;
}

.cms-content table th,
.cms-content table td {
    border: 1px solid var(--line);
    padding: 0.6rem 0.75rem;
    text-align: left;
}

.cms-content table th {
    background: var(--green-soft);
    color: var(--green-deep);
}

.cms-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cms-content ul,
.cms-content ol {
    padding-left: 1.2rem;
}