:root {
  --cd-cream: #f7f1e8;
  --cd-cream-strong: #efe6d9;
  --cd-surface: #ffffff;
  --cd-surface-alt: #f3f7fb;
  --cd-surface-red: #fff2f1;
  --cd-ink: #172235;
  --cd-ink-soft: #56667f;
  --cd-ink-muted: #7a889d;
  --cd-primary: #005aa0;
  --cd-primary-strong: #00467b;
  --cd-accent: #ff040f;
  --cd-dark: #101b2d;
  --cd-dark-soft: #16243b;
  --cd-line: rgba(23, 34, 53, 0.1);
  --cd-radius-xs: 16px;
  --cd-radius-sm: 22px;
  --cd-radius-md: 28px;
  --cd-radius-lg: 36px;
  --cd-shadow-soft: 0 24px 60px rgba(12, 28, 57, 0.08);
  --cd-shadow-card: 0 18px 40px rgba(14, 41, 79, 0.09);
  --cd-container: min(1180px, calc(100% - 40px));
}

html {
  scroll-behavior: smooth;
}

body.cd-template-design {
  background: var(--cd-cream);
  color: var(--cd-ink);
  font-family: "Plus Jakarta Sans", sans-serif;
}

.cd-template-design .content-area,
.cd-template-design .content-container.site-container,
.cd-template-design .site-main {
  margin: 0;
  max-width: 100%;
  padding: 0;
}

.cd-template-design .entry-content-wrap,
.cd-template-design .entry-content,
.cd-template-design article,
.cd-template-design .content-bg,
.cd-template-design .site-content {
  background: transparent;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

.cd-template-design .entry-hero,
.cd-template-design .entry-header {
  display: none;
}

.cd-template-design .entry-content > :first-child {
  margin-top: 0;
}

.cd-template-design :where(img) {
  display: block;
  height: auto;
  max-width: 100%;
}

.cd-container {
  margin: 0 auto;
  width: var(--cd-container);
}

.cd-section {
  position: relative;
}

.cd-section-label {
  align-items: center;
  color: var(--cd-accent);
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 12px;
  letter-spacing: 0.34em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.cd-section-label::before {
  background: var(--cd-accent);
  border-radius: 999px;
  content: "";
  height: 3px;
  width: 58px;
}

.cd-serif {
  font-family: "Source Serif 4", serif;
}

.cd-heading-xl,
.cd-heading-lg,
.cd-heading-md,
.cd-route-card h2,
.cd-route-card h3,
.cd-programs h2,
.cd-authority-copy h2,
.cd-cta-copy h2 {
  color: var(--cd-ink);
  font-family: "Source Serif 4", serif;
  font-weight: 600;
  line-height: 0.95;
  margin: 0;
}

.cd-heading-xl {
  font-size: clamp(3rem, 6vw, 5.35rem);
}

.cd-heading-lg {
  font-size: clamp(2.2rem, 4.2vw, 3.75rem);
}

.cd-heading-md {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
}

.cd-copy {
  color: var(--cd-ink-soft);
  font-size: 17px;
  line-height: 1.8;
  margin: 0;
}

.cd-copy-sm {
  color: var(--cd-ink-muted);
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

.cd-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cd-btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  letter-spacing: 0.01em;
  min-height: 52px;
  padding: 0 22px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.cd-btn:hover {
  box-shadow: 0 18px 32px rgba(0, 90, 160, 0.14);
  transform: translateY(-2px);
}

.cd-btn-primary {
  background: var(--cd-primary);
  color: #fff;
}

.cd-btn-secondary {
  background: rgba(0, 90, 160, 0.08);
  border-color: rgba(0, 90, 160, 0.18);
  color: var(--cd-primary);
}

.cd-btn-accent {
  background: var(--cd-accent);
  color: #fff;
}

.cd-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cd-pill {
  align-items: center;
  background: rgba(0, 90, 160, 0.06);
  border: 1px solid rgba(0, 90, 160, 0.08);
  border-radius: 999px;
  color: var(--cd-ink);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  letter-spacing: 0.02em;
  padding: 10px 14px;
}

.cd-pill::before {
  background: var(--cd-accent);
  border-radius: 999px;
  content: "";
  display: block;
  height: 6px;
  width: 6px;
}

.cd-sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
