:root {
    --crsmd-blue: #005da4;
    --crsmd-deep-blue: #063b66;
    --crsmd-navy: #08283f;
    --crsmd-cyan: #00a7d1;
    --crsmd-yellow: #f8c630;
    --crsmd-ink: #142b3b;
    --crsmd-muted: #5e7180;
    --crsmd-line: #dce6ec;
    --crsmd-paper: #f5f8fa;
    --crsmd-white: #ffffff;
    --crsmd-shadow: 0 22px 60px rgba(8, 40, 63, .12);
}

.crsmd-home {
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
    color: var(--crsmd-ink);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    background: var(--crsmd-white);
}

.crsmd-home *, .crsmd-home *::before, .crsmd-home *::after { box-sizing: border-box; }
.crsmd-home img { display: block; max-width: 100%; }
.crsmd-container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.crsmd-eyebrow { margin: 0 0 12px; color: var(--crsmd-blue); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }

.crsmd-hero { position: relative; overflow: hidden; padding: 88px 0 94px; color: white; background: linear-gradient(125deg, var(--crsmd-navy), var(--crsmd-deep-blue) 62%, #075b89); }
.crsmd-hero::before { position: absolute; inset: 0; content: ''; opacity: .17; background-image: radial-gradient(circle at 15% 25%, var(--crsmd-cyan) 0 2px, transparent 3px), radial-gradient(circle at 85% 75%, var(--crsmd-yellow) 0 2px, transparent 3px); background-size: 90px 90px, 120px 120px; }
.crsmd-hero::after { position: absolute; right: -230px; bottom: -290px; width: 480px; height: 480px; content: ''; border: 90px solid rgba(0, 167, 209, .13); border-radius: 50%; }
.crsmd-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 68px; }
.crsmd-hero .crsmd-eyebrow { color: var(--crsmd-yellow); }
.crsmd-hero h1, .crsmd-heading h2, .crsmd-about-copy h2, .crsmd-resource-body h3 { margin-top: 0; font-family: Georgia, 'Times New Roman', serif; line-height: 1.13; }
.crsmd-hero h1 { margin-bottom: 23px; font-size: clamp(43px, 5vw, 70px); letter-spacing: -.04em; }
.crsmd-hero h1 span { display: block; color: #91dceb; }
.crsmd-hero-copy { max-width: 620px; margin: 0 0 31px; color: rgba(255,255,255,.79); font-size: 18px; }
.crsmd-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.crsmd-button { display: inline-flex; min-height: 51px; padding: 0 21px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.crsmd-button:hover { transform: translateY(-2px); }
.crsmd-button-primary { color: var(--crsmd-navy); background: var(--crsmd-yellow); }
.crsmd-button-primary:hover { color: var(--crsmd-navy); background: #ffdc62; }
.crsmd-button-primary span { margin-left: 12px; font-size: 18px; }
.crsmd-button-outline { color: white; border-color: rgba(255,255,255,.42); }
.crsmd-button-outline:hover { color: white; background: rgba(255,255,255,.1); }
.crsmd-stats { display: flex; gap: 32px; margin: 43px 0 0; }
.crsmd-stats div { padding-left: 14px; border-left: 2px solid rgba(145,220,235,.38); }
.crsmd-stats dt { color: white; font-size: 19px; font-weight: 800; }
.crsmd-stats dd { margin: 1px 0 0; color: rgba(255,255,255,.63); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.crsmd-hero-image { position: relative; }
.crsmd-image-frame { padding: 11px; transform: rotate(1.1deg); background: white; border-radius: 22px; box-shadow: 0 40px 85px rgba(0,0,0,.3); }
.crsmd-image-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: white; border-radius: 14px; }
.crsmd-image-label { position: absolute; right: -15px; bottom: -20px; display: flex; padding: 12px 16px; align-items: center; gap: 9px; color: var(--crsmd-ink); background: white; border-radius: 11px; box-shadow: var(--crsmd-shadow); font-size: 12px; font-weight: 700; }
.crsmd-image-label span { width: 8px; height: 8px; background: #65c800; border-radius: 50%; box-shadow: 0 0 0 4px rgba(101,200,0,.15); }

.crsmd-section { padding: 92px 0; }
.crsmd-section-soft { background: var(--crsmd-paper); }
.crsmd-heading { display: flex; margin-bottom: 38px; align-items: end; justify-content: space-between; gap: 48px; }
.crsmd-heading h2, .crsmd-about-copy h2 { margin-bottom: 0; color: var(--crsmd-navy); font-size: clamp(34px, 4vw, 48px); letter-spacing: -.025em; }
.crsmd-heading > p { max-width: 480px; margin: 0; color: var(--crsmd-muted); }
.crsmd-resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.crsmd-resource-card { overflow: hidden; background: white; border: 1px solid var(--crsmd-line); border-radius: 22px; box-shadow: 0 12px 42px rgba(8,40,63,.07); transition: transform .25s ease, box-shadow .25s ease; }
.crsmd-resource-card:hover { transform: translateY(-5px); box-shadow: var(--crsmd-shadow); }
.crsmd-resource-image { display: block; padding: 16px; background: var(--crsmd-paper); }
.crsmd-resource-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: white; border-radius: 13px; }
.crsmd-resource-body { padding: 25px 28px 29px; }
.crsmd-resource-body h3 { margin-bottom: 10px; color: var(--crsmd-navy); font-size: 26px; }
.crsmd-resource-body p { margin: 0 0 17px; color: var(--crsmd-muted); }
.crsmd-text-link { color: var(--crsmd-blue); font-size: 14px; font-weight: 800; text-decoration: none; }
.crsmd-text-link span { display: inline-block; margin-left: 6px; transition: transform .2s ease; }
.crsmd-text-link:hover { color: var(--crsmd-deep-blue); }
.crsmd-text-link:hover span { transform: translateX(4px); }

.crsmd-about-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: start; gap: 72px; }
.crsmd-about-copy h2 { margin-bottom: 25px; }
.crsmd-about-copy > p:not(.crsmd-eyebrow) { color: #4c606e; }
.crsmd-citation { margin-top: 28px; padding: 21px 23px; background: white; border-left: 4px solid var(--crsmd-yellow); border-radius: 0 13px 13px 0; }
.crsmd-citation strong { color: var(--crsmd-deep-blue); font-size: 13px; letter-spacing: .07em; text-transform: uppercase; }
.crsmd-citation p { margin: 7px 0 0; color: var(--crsmd-muted); font-size: 13px; line-height: 1.55; }
.crsmd-map-card { position: sticky; top: 30px; overflow: hidden; background: white; border-radius: 22px; box-shadow: var(--crsmd-shadow); }
.crsmd-map-card img { width: 100%; aspect-ratio: 4 / 3; padding: 16px; object-fit: contain; }
.crsmd-map-card div { display: flex; padding: 19px 23px; flex-direction: column; color: white; background: var(--crsmd-deep-blue); }
.crsmd-map-card span { color: #91dceb; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.crsmd-map-card strong { margin-top: 3px; }

.crsmd-table-wrap { overflow-x: auto; border: 1px solid var(--crsmd-line); border-radius: 18px; }
.crsmd-table { width: 100%; margin: 0; border-collapse: collapse; }
.crsmd-table th, .crsmd-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--crsmd-line); }
.crsmd-table thead th { color: var(--crsmd-deep-blue); background: #eaf2f6; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.crsmd-table tbody th { color: var(--crsmd-blue); font-size: 18px; }
.crsmd-table tbody tr:last-child th, .crsmd-table tbody tr:last-child td { border-bottom: 0; }
.crsmd-table tbody tr:hover { background: #f8fbfc; }
.crsmd-note { margin: 22px 0 0; padding: 18px 21px; color: var(--crsmd-muted); background: var(--crsmd-paper); border-radius: 12px; font-size: 14px; }
.crsmd-reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.crsmd-reveal.crsmd-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .crsmd-reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 960px) {
    .crsmd-hero { padding: 68px 0 78px; }
    .crsmd-hero-grid, .crsmd-about-grid { grid-template-columns: 1fr; gap: 52px; }
    .crsmd-hero-image { max-width: 680px; }
    .crsmd-map-card { position: static; }
    .crsmd-section { padding: 72px 0; }
}

@media (max-width: 680px) {
    .crsmd-container { width: min(100% - 28px, 1140px); }
    .crsmd-hero { padding: 53px 0 66px; }
    .crsmd-hero h1 { font-size: clamp(39px, 12vw, 54px); }
    .crsmd-hero-copy { font-size: 16px; }
    .crsmd-stats { gap: 16px; }
    .crsmd-resource-grid { grid-template-columns: 1fr; }
    .crsmd-heading { display: block; }
    .crsmd-heading > p { margin-top: 13px; }
    .crsmd-image-label { right: 7px; }
}

@media (max-width: 460px) {
    .crsmd-actions .crsmd-button { width: 100%; }
    .crsmd-stats { display: grid; grid-template-columns: repeat(2, 1fr); }
    .crsmd-table th, .crsmd-table td { padding: 14px 16px; white-space: nowrap; }
}
