:root {
  --ink: #18202f;
  --muted: #667085;
  --line: #d9dee8;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --brand: #1c3b7f;
  --brand-dark: #142c61;
  --brand-deep: #0b1835;
  --link: #105389;
  --gold: #b88a3d;
  --teal: #2f758a;
  --shadow: 0 16px 38px rgba(24, 32, 47, .1);
}

.hero {
  color: #fff;
  background: radial-gradient(120% 140% at 85% 0%, rgba(56, 96, 178, .55), rgba(56, 96, 178, 0) 60%), linear-gradient(120deg, var(--brand-deep), var(--brand) 72%, var(--brand-dark));
}

.hero-inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 360px;
  margin: 0 auto;
  padding: 58px 0 76px;
  display: grid;
  align-content: center;
}

.crumb {
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  margin-bottom: 22px;
}

h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: 19px;
}

.btn {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .48);
  text-decoration: none;
  font-weight: 900;
  background: #fff;
  color: var(--brand);
}

.btn.secondary {
  background: transparent;
  color: #fff;
}

main {
  width: min(1160px, calc(100% - 40px));
  margin: -38px auto 76px;
}

.section, .level-card, .subnav {
  background: var(--paper);
  border: 1px solid var(--line);
}

.subnav {
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  box-shadow: var(--shadow);
}

.subnav a {
  min-height: 38px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #dfe6ef;
  color: var(--brand-dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.subnav a:not([aria-current="page"]):hover, .subnav a:not([aria-current="page"]):focus-visible {
  transform: translateY(-2px);
  border-color: rgba(28, 59, 127, .45);
  box-shadow: 0 14px 30px rgba(24, 32, 47, .08);
  outline: none;
}

.subnav a[aria-current="page"] {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.notice {
  margin-top: 16px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: #fbf4e8;
  border: 1px solid #ead8b9;
}

.notice h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: 0;
}

.notice p {
  margin: 6px 0 0;
  color: #765018;
}

.notice .btn {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  white-space: nowrap;
}

.section {
  margin-top: 28px;
  padding: 26px;
}

.section-head h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.level-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.level-card {
  padding: 22px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.level-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--brand);
}

.level-card.graduate::before {
  background: var(--teal);
}

.level-card.doctoral::before {
  background: #7a4f9a;
}

.level-card.transfer::before {
  background: var(--gold);
}

.level-card .label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.level-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0;
}

.level-card.transfer h3 {
  font-size: 20px;
}

.level-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.compact-links {
  margin-top: auto;
  padding-top: 16px;
  display: grid;
  gap: 8px;
}

.compact-links a {
  min-height: 42px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #e6ebf3;
  background: #fbfcfe;
  color: var(--brand-dark);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.compact-links a::after {
  content: ">";
  color: var(--gold);
  font-weight: 900;
}

.compact-links a:hover, .compact-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(28, 59, 127, .45);
  box-shadow: 0 14px 30px rgba(24, 32, 47, .08);
  outline: none;
}

@media (max-width: 1040px) {
  .level-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 920px) {
  .notice {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 620px) {
  .topbar-inner, .hero-inner, main {
    width: min(100% - 28px, 1160px);
  }

  .hero-inner {
    min-height: 320px;
    padding: 42px 0 64px;
  }

  .hero p {
    font-size: 16px;
  }

  .level-layout {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 18px;
  }

  .section-head p {
    margin-top: 6px;
  }

}
