:root {
  --navy: #002130;
  --navy-2: #063044;
  --cream: #f3f3e0;
  --white: #ffffff;
  --muted: #536067;
  --line: rgba(0, 33, 48, 0.16);
  --sand: #d9a066;
  --max: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--navy);
  background:
    linear-gradient(90deg, rgba(0, 33, 48, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 33, 48, 0.08) 1px, transparent 1px),
    var(--cream);
  background-size: 44px 44px;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  padding: 10px 12px;
  color: var(--cream);
  background: var(--navy);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  width: min(var(--max), calc(100% - 40px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
}

.top-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--cream);
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 800;
}

.page {
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(100vh - 166px);
  margin: 0 auto;
  padding: 70px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 78px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--navy-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Marck Script", "Brush Script MT", cursive;
  font-weight: 400;
  font-size: clamp(82px, 15vw, 188px);
  line-height: 0.78;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin: 34px 0 0;
  color: var(--navy-2);
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.25;
  font-weight: 600;
}

.actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid var(--navy);
  border-radius: 2px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.btn:hover,
.top-link:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--cream);
  background: var(--navy);
}

.btn.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.28);
}

.curriculum {
  padding: 26px 0 0;
  border-top: 2px solid var(--navy);
}

.curriculum h2 {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.2;
}

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

.curriculum dl {
  margin: 26px 0 0;
  display: grid;
  gap: 18px;
}

.curriculum div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.curriculum dt {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.curriculum dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer a {
  color: var(--navy);
  font-weight: 800;
}

@media (max-width: 860px) {
  .topbar {
    min-height: 74px;
  }

  .page {
    min-height: auto;
    padding: 54px 0 68px;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 58px;
  }

  .lead {
    margin-top: 26px;
  }
}

@media (max-width: 520px) {
  .topbar,
  .page,
  .footer {
    width: min(100% - 28px, var(--max));
  }

  .topbar {
    display: grid;
    align-content: center;
    justify-content: stretch;
    gap: 14px;
    padding: 18px 0;
  }

  .top-link,
  .btn {
    width: 100%;
  }

  .actions {
    display: grid;
  }
}
