:root {
  --bg: #fffcf4;
  --accent: #f26419;
  --text: #2f4858;
  --surface: #ffffff;
  --line: #2f4858;
  --shadow-heavy: 0 14px 0 #2f4858;
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Roboto, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  animation: fade-in 0.7s ease-out;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

a {
  color: inherit;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 4px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  text-decoration: none;
  font-weight: 900;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  letter-spacing: 0.4px;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  font-weight: 700;
  border: 3px solid transparent;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  border-color: var(--line);
  background: #fff;
  outline: none;
}

main {
  padding: 2rem 0 3rem;
}

.stack {
  display: grid;
  gap: 1.5rem;
}

.block {
  background: var(--surface);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: stretch;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 800;
}

.eyebrow {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  border: 3px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  border: 3px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-heavy);
  outline: none;
}

.pillars,
.courses,
.split,
.meta-grid {
  display: grid;
  gap: 1rem;
}

.pillars {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.courses {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-link {
  text-decoration: none;
  border: 3px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 1.15rem;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-link:hover,
.card-link:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-heavy);
  outline: none;
}

.tag {
  display: inline-block;
  margin-top: 0.6rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 800;
}

.meta-grid {
  grid-template-columns: 1fr 1fr;
}

.split {
  grid-template-columns: 1fr 1fr;
}

.alert-box {
  border: 3px solid var(--line);
  border-left: 10px solid var(--accent);
  border-radius: 14px;
  background: #fffaf0;
  padding: 1rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  border: 2px solid var(--line);
  padding: 0.8rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: #ffe7d8;
}

.fee {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  margin: 0.2rem 0 0;
}

.fineprint {
  font-size: 0.95rem;
}

.site-footer {
  background: var(--text);
  color: var(--bg);
  padding: 1.2rem 0 1.6rem;
  border-top: 4px solid #1f313c;
}

.site-footer a {
  color: #fff;
}

.site-footer p {
  margin: 0 0 0.6rem;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .hero,
  .pillars,
  .courses,
  .split,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  table {
    min-width: 100%;
  }
}

@media (max-width: 620px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav ul {
    justify-content: flex-start;
  }
}
