:root {
  --bg: #eef4f7;
  --paper: #fffdf8;
  --ink: #0f2540;
  --muted: #56687a;
  --accent: #e05b2b;
  --accent-dark: #b53b13;
  --gold: #e2b94f;
  --sky: #1f5f8f;
  --teal: #2f8a78;
  --line: rgba(15, 37, 64, 0.12);
  --shadow: 0 18px 44px rgba(15, 37, 64, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(226, 185, 79, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(31, 95, 143, 0.14), transparent 26%),
    linear-gradient(180deg, #f6fbfd 0%, #edf3f6 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(1240px, calc(100% - 72px));
  margin: 0 auto;
  padding: 28px 0 48px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 180px;
  gap: 20px;
}

.main-column {
  min-width: 0;
}

.topbar,
.hero,
.section-grid,
.content-band,
.education-section,
.split-panel,
.contact-panel,
.footer,
.trust-strip {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  margin-bottom: 24px;
}

.brand {
  display: inline-block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 24px;
  padding: 30px;
}

.hero h1,
.section-heading h2,
.band-copy h2,
.split-panel h2,
.contact-panel h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.015em;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
}

.hero-text,
.split-panel p,
.contact-panel p,
.feature-card p,
.steps p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 24px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  font-weight: 700;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(224, 91, 43, 0.24);
}

.button--secondary,
.button--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.hero-points,
.mini-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.hero-badge {
  background: linear-gradient(135deg, #1f5f8f 0%, #0d2740 100%);
  color: #fff;
  border-radius: 22px;
  padding: 22px;
  min-height: 180px;
  position: relative;
  overflow: hidden;
}

.hero-badge::after {
  content: "";
  position: absolute;
  inset: auto -30px -40px auto;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255,255,255,0.22), transparent 70%);
}

.hero-badge span {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
}

.hero-badge strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.5rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stats-grid article,
.feature-card,
.steps article,
.education-card,
.list-card,
.ad-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.stats-grid article {
  padding: 18px;
}

.stats-grid strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.75rem;
  text-transform: uppercase;
}

.stats-grid span {
  color: var(--muted);
}

.trust-strip {
  padding: 18px 28px;
  margin: 24px 0;
  font-weight: 700;
}

.section-grid,
.content-band,
.education-section,
.split-panel,
.contact-panel {
  padding: 26px;
  margin-bottom: 24px;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2,
.band-copy h2,
.education-section h2,
.split-panel h2,
.contact-panel h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-intro {
  max-width: 860px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.card-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.steps article,
.education-card,
.list-card {
  padding: 20px;
}

.feature-card h3,
.steps h3,
.education-card h3 {
  margin-top: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.7rem;
  text-transform: uppercase;
}

.steps span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.education-section {
  position: relative;
  overflow: hidden;
}

.education-section::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(226, 185, 79, 0.18), transparent 68%);
  pointer-events: none;
}

.education-section--accent {
  background:
    linear-gradient(180deg, rgba(20, 58, 95, 0.98), rgba(13, 39, 64, 0.98));
  color: #fff;
}

.education-section--accent .eyebrow,
.education-section--accent .section-intro {
  color: rgba(255, 255, 255, 0.78);
}

.education-section--accent .education-card {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.12);
}

.education-section--accent .education-card p {
  color: rgba(255, 255, 255, 0.82);
}

.education-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--gold) 0%, #f2d687 100%);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.education-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 22px;
}

.split-panel__list {
  display: grid;
  gap: 14px;
}

.list-card strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  text-transform: uppercase;
}

.list-card span,
.form-note {
  color: var(--muted);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  background: #fff;
}

.footer {
  padding: 20px 24px;
  text-align: center;
  color: var(--muted);
}

.ad-rail {
  display: grid;
  align-content: start;
  gap: 18px;
  position: sticky;
  top: 20px;
  height: max-content;
}

.ad-card {
  padding: 16px;
}

.ad-card h2,
.ad-card h3 {
  margin: 0 0 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.ad-card p {
  color: var(--muted);
}

.ad-card--primary {
  background: linear-gradient(180deg, #205d8e 0%, #123150 100%);
  color: #fff;
}

.ad-card--primary p,
.ad-card--flag p,
.ad-card--primary .eyebrow,
.ad-card--flag .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.ad-card--flag {
  background:
    linear-gradient(180deg, rgba(224, 91, 43, 0.96), rgba(181, 59, 19, 0.96)),
    linear-gradient(90deg, rgba(255,255,255,0.22) 0 18%, transparent 18% 100%);
  color: #fff;
}

@media (max-width: 1180px) {
  .site-shell {
    width: min(100%, calc(100% - 32px));
    grid-template-columns: minmax(0, 1fr);
  }

  .ad-rail {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .left-rail {
    order: 2;
  }

  .right-rail {
    order: 3;
  }
}

@media (max-width: 860px) {
  .topbar,
  .hero,
  .education-grid,
  .contact-panel,
  .split-panel {
    grid-template-columns: 1fr;
  }

  .topbar {
    gap: 18px;
  }

  .card-grid,
  .steps,
  .education-grid,
  .stats-grid,
  .ad-rail {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 24px;
  }

  .brand {
    font-size: 2rem;
  }

  .nav {
    gap: 12px;
  }
}
