@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Unbounded";
  src: url("assets/fonts/Unbounded-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Unbounded";
  src: url("assets/fonts/Unbounded-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #071b3d;
  --ink-2: #0e2d61;
  --blue: #124dab;
  --accent: #b8ff5a;
  --accent-strong: #92e82e;
  --coral: #ff6b57;
  --focus: #e3384f;
  --paper: #f4f7f5;
  --white: #ffffff;
  --muted: #5c6879;
  --line: #cdd6d8;
  --line-dark: rgba(255, 255, 255, 0.24);
  --error: #b42318;
  --success: #176b3a;
  --shadow: 0 18px 50px rgba(3, 18, 47, 0.16);
  --shell: min(1180px, calc(100% - 48px));
  --shell-wide: min(1360px, calc(100% - 48px));
  --header-height: 88px;
  --radius: 6px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--blue) var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--paper);
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border: 2px solid var(--paper);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h2 {
  margin-bottom: 28px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2.25rem, 4.2vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  letter-spacing: 0;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.shell-wide {
  width: var(--shell-wide);
  margin-inline: auto;
}

.section {
  padding-block: clamp(96px, 12vw, 168px);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -100px;
  left: 12px;
  padding: 12px 16px;
  background: var(--accent);
  color: var(--ink);
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  height: var(--header-height);
  grid-template-columns: minmax(260px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 28px;
  padding-inline: 40px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition:
    background-color 240ms ease,
    color 240ms ease,
    box-shadow 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(244, 247, 245, 0.96);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(4, 26, 62, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: grid;
  width: fit-content;
  min-height: 44px;
  grid-template-columns: 40px auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  text-decoration: none;
}

.brand img {
  grid-row: 1 / span 2;
  object-fit: contain;
}

.is-scrolled .brand img {
  filter: invert(12%) sepia(22%) saturate(2710%) hue-rotate(178deg) brightness(82%);
}

.brand__name {
  font-family: "Unbounded", sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.1;
}

.brand__meta {
  font-size: 0.69rem;
  line-height: 1.3;
  opacity: 0.76;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-block: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease-out);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.header-cta:hover {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

.header-cta svg,
.button svg,
.text-link svg,
.track-tab svg,
.faq-list svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  z-index: 90;
  inset: 0;
  padding: calc(var(--header-height) + 40px) 24px 40px;
  background: var(--ink);
  color: var(--white);
}

.mobile-menu nav {
  display: grid;
  gap: 0;
}

.mobile-menu a {
  display: flex;
  min-height: 68px;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  font-family: "Unbounded", sans-serif;
  font-size: 1.18rem;
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  contain: paint;
  min-height: max(720px, 100svh);
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero__image,
.hero__shade {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero__image {
  background-image: url("assets/msu-campus.webp");
  background-position: center 42%;
  background-size: cover;
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(1, 15, 38, 0.92) 0%, rgba(3, 19, 47, 0.64) 44%, rgba(4, 24, 53, 0.12) 72%),
    linear-gradient(0deg, rgba(1, 13, 34, 0.74) 0%, rgba(1, 13, 34, 0) 55%);
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: end;
  gap: 72px;
  padding-bottom: 158px;
}

.hero__copy {
  max-width: 830px;
}

.hero h1 {
  max-width: 8ch;
  margin-bottom: 24px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(4.2rem, 9.2vw, 8.4rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__copy > p {
  max-width: 670px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 1.55vw, 1.34rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 0;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms var(--ease-out),
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button--accent {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.button--accent:hover {
  background: var(--accent-strong);
}

.button--dark {
  background: var(--ink);
  color: var(--white);
}

.button--dark:hover:not(:disabled) {
  background: var(--blue);
}

.button--full {
  width: 100%;
}

.button:disabled {
  background: #b8c0c6;
  color: #35404a;
  box-shadow: none;
  cursor: not-allowed;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--blue);
  text-decoration: none;
}

.text-link svg {
  transition: transform 180ms var(--ease-out);
}

.text-link:hover svg {
  transform: translateX(4px);
}

.text-link--light {
  color: var(--white);
}

.hero__campaign {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 18px;
  padding: 20px 0 20px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.48);
  text-decoration: none;
}

.hero__campaign span {
  grid-column: 1;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero__campaign strong {
  grid-column: 1;
  font-size: 1rem;
  line-height: 1.35;
}

.hero__campaign svg {
  width: 92px;
  height: 92px;
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
}

.fact-rail {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  min-height: 108px;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(244, 247, 245, 0.97);
  color: var(--ink);
}

.fact-rail__item {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.fact-rail__item:last-child {
  border-right: 0;
}

.fact-rail strong {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1;
}

.fact-rail span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.school-section {
  background: var(--paper);
}

.school-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(60px, 10vw, 150px);
}

.school-title-wrap h2 {
  max-width: 11ch;
  margin-bottom: 0;
}

.school-copy {
  align-self: end;
  max-width: 610px;
}

.school-copy .lead {
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.55;
}

.school-copy p:not(.lead) {
  max-width: 65ch;
  color: var(--muted);
}

.campus-strip {
  display: grid;
  min-height: 470px;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.7fr);
  margin-top: clamp(64px, 9vw, 120px);
}

.campus-strip__main {
  position: relative;
  min-height: 470px;
  margin: 0;
  overflow: hidden;
}

.campus-strip__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campus-strip__main figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 430px;
  padding: 18px 22px;
  background: rgba(7, 27, 61, 0.92);
  color: var(--white);
  font-size: 0.88rem;
}

.campus-strip__note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  background: var(--accent);
  color: var(--ink);
}

.campus-strip__note .formula {
  align-self: flex-end;
  font-family: "Unbounded", sans-serif;
  font-size: 1.1rem;
}

.campus-strip__note p {
  margin-bottom: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1.12;
}

.tracks-section {
  background: var(--ink);
  color: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.6fr);
  align-items: end;
  gap: clamp(40px, 9vw, 120px);
  margin-bottom: clamp(54px, 8vw, 96px);
}

.section-heading h2 {
  max-width: 13ch;
  margin-bottom: 0;
}

.section-heading p {
  max-width: 52ch;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading--inverse p {
  color: rgba(255, 255, 255, 0.68);
}

.tracks-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: clamp(46px, 8vw, 110px);
}

.track-list {
  border-top: 1px solid var(--line-dark);
}

.track-tab {
  display: grid;
  width: 100%;
  min-height: 92px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 0 6px 0 0;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  background: transparent;
  color: rgba(255, 255, 255, 0.64);
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease;
}

.track-tab:hover,
.track-tab.is-active {
  color: var(--white);
}

.track-tab__label {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.6rem);
  font-weight: 600;
}

.track-tab svg {
  transition: transform 220ms var(--ease-out);
}

.track-tab.is-active svg {
  transform: translateX(6px);
}

.track-panel {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px;
  overflow: hidden;
  background: var(--accent);
  color: var(--ink);
}

.track-panel::after {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(7, 27, 61, 0.22);
  border-radius: 50%;
  content: "";
}

.track-panel__mark {
  align-self: flex-end;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(4.5rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 0.8;
}

.track-panel h3 {
  position: relative;
  z-index: 1;
  max-width: 13ch;
  margin-bottom: 18px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.55rem, 2.7vw, 2.5rem);
  line-height: 1.12;
}

.track-panel p {
  position: relative;
  z-index: 1;
  max-width: 48ch;
  margin-bottom: 24px;
}

.track-panel__subjects {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.track-panel__subjects span {
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 800;
}

.route-section {
  background: var(--white);
}

.planner {
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr);
  box-shadow: var(--shadow);
}

.planner-form {
  padding: clamp(28px, 5vw, 56px);
  background: var(--paper);
}

.planner-form fieldset {
  margin: 0 0 38px;
  padding: 0;
  border: 0;
}

.planner-form legend {
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 800;
}

.choice-row,
.choice-grid {
  display: grid;
  gap: 10px;
}

.choice-row {
  grid-template-columns: repeat(2, 1fr);
}

.choice-grid {
  grid-template-columns: repeat(2, 1fr);
}

.choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice span {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.choice input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.choice input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.choice input:disabled + span {
  background: #e6e9e8;
  color: #778087;
  cursor: not-allowed;
}

.field-note {
  display: none;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.field-note.is-visible {
  display: block;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 700;
}

.planner-result {
  min-height: 660px;
  padding: clamp(30px, 5vw, 60px);
  background: var(--ink);
  color: var(--white);
}

.planner-result__idle {
  display: flex;
  height: 100%;
  min-height: 540px;
  flex-direction: column;
  justify-content: space-between;
}

.planner-result__glyph {
  align-self: flex-end;
  color: var(--accent);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: 0.8;
}

.planner-result__idle p {
  max-width: 18ch;
  margin-bottom: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.7rem);
  font-weight: 600;
  line-height: 1.3;
}

.planner-result__ready[hidden],
.planner-result__idle[hidden] {
  display: none;
}

.planner-result__ready {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.result-head > span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.result-head h3 {
  max-width: 16ch;
  margin-bottom: 34px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.6rem, 3.4vw, 2.9rem);
  line-height: 1.12;
}

.route-list {
  display: grid;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.route-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line-dark);
}

.route-list li > span {
  color: var(--accent);
  font-family: "Unbounded", sans-serif;
  font-size: 0.8rem;
}

.route-list strong {
  display: block;
  margin-bottom: 4px;
}

.route-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.87rem;
}

.result-source {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  text-align: center;
}

.community-section {
  display: grid;
  min-height: 700px;
  grid-template-columns: minmax(0, 1.18fr) minmax(380px, 0.82fr);
  background: var(--blue);
  color: var(--white);
}

.community-media {
  min-width: 0;
  min-height: 700px;
  overflow: hidden;
}

.community-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
}

.community-copy {
  display: flex;
  min-width: 0;
  max-width: 650px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(60px, 8vw, 116px);
}

.community-copy h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  overflow-wrap: anywhere;
}

.community-copy p {
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.06rem;
}

.community-copy .text-link {
  margin-top: 20px;
}

.faq-section {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(60px, 10vw, 150px);
}

.faq-grid h2 {
  max-width: 8ch;
}

.faq-grid > div:first-child p {
  max-width: 30ch;
  color: rgba(255, 255, 255, 0.68);
}

.faq-mark {
  display: block;
  margin-top: clamp(28px, 6vw, 72px);
  color: var(--accent);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(7rem, 16vw, 13rem);
  font-weight: 700;
  line-height: 0.7;
}

.faq-list {
  border-top: 1px solid var(--line-dark);
}

.faq-list details {
  border-bottom: 1px solid var(--line-dark);
}

.faq-list summary {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1.08rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details[open] summary svg {
  transform: rotate(45deg);
}

.faq-list summary svg {
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.faq-list details p {
  max-width: 65ch;
  margin: -4px 44px 28px 0;
  color: rgba(255, 255, 255, 0.68);
}

.final-cta {
  padding-block: clamp(74px, 9vw, 112px);
  background: var(--accent);
  color: var(--ink);
}

.final-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.final-cta__signal {
  color: var(--blue);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1;
}

.final-cta h2 {
  max-width: 16ch;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
}

.final-cta p {
  max-width: 60ch;
  margin-bottom: 0;
}

.final-cta .button--accent {
  flex: 0 0 auto;
  background: var(--ink);
  color: var(--white);
  box-shadow: none;
}

.site-footer {
  padding-block: 56px;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.85fr) minmax(180px, 0.55fr) minmax(280px, 1.1fr);
  gap: 48px;
  align-items: start;
}

.footer-brand {
  display: grid;
  grid-template-columns: 36px auto;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  align-items: center;
}

.footer-brand img {
  grid-row: 1 / span 2;
}

.footer-brand strong {
  font-family: "Unbounded", sans-serif;
  font-size: 0.9rem;
}

.footer-brand span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
}

.footer-links {
  display: grid;
  gap: 12px;
  font-size: 0.83rem;
}

.footer-links a {
  display: flex;
  min-height: 44px;
  align-items: center;
}

.footer-note {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

@media (max-width: 1040px) {
  :root {
    --header-height: 76px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding-inline: 24px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero__campaign {
    max-width: 340px;
  }

  .school-grid,
  .section-heading,
  .tracks-layout,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .school-grid,
  .faq-grid {
    gap: 42px;
  }

  .school-title-wrap h2,
  .section-heading h2 {
    max-width: 14ch;
  }

  .section-heading {
    gap: 28px;
  }

  .tracks-layout {
    gap: 52px;
  }

  .planner {
    grid-template-columns: minmax(310px, 0.9fr) minmax(0, 1.1fr);
  }

  .community-section {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .community-copy {
    padding: 56px 40px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 32px, 680px);
    --shell-wide: 100%;
  }

  .section {
    padding-block: 88px;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3.5rem);
  }

  .site-header {
    padding-inline: 16px;
  }

  .brand__meta {
    display: none;
  }

  .brand {
    grid-template-rows: auto;
  }

  .brand img {
    grid-row: 1;
  }

  .hero {
    min-height: 780px;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(1, 15, 38, 0.88) 0%, rgba(3, 19, 47, 0.42) 74%),
      linear-gradient(0deg, rgba(1, 13, 34, 0.88) 0%, rgba(1, 13, 34, 0.1) 72%);
  }

  .hero__image {
    background-position: 57% center;
  }

  .hero__content {
    padding-bottom: 128px;
  }

  .hero h1 {
    max-width: 7ch;
    margin-bottom: 20px;
    font-size: clamp(3.5rem, 17vw, 5.7rem);
  }

  .hero__copy > p {
    max-width: 32ch;
    margin-bottom: 28px;
    font-size: 1rem;
  }

  .hero__campaign {
    display: none;
  }

  .fact-rail {
    min-height: 96px;
  }

  .fact-rail__item {
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 14px 8px;
    text-align: center;
  }

  .fact-rail strong {
    font-size: clamp(1.25rem, 6vw, 2rem);
  }

  .fact-rail span {
    font-size: 0.75rem;
    line-height: 1.25;
  }

  .school-grid {
    gap: 30px;
  }

  .campus-strip {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .campus-strip__main {
    min-height: 380px;
  }

  .campus-strip__main figcaption {
    right: 16px;
    left: 16px;
    max-width: none;
  }

  .campus-strip__note {
    min-height: 270px;
    padding: 28px 24px;
  }

  .track-panel {
    min-height: 390px;
    padding: 28px 24px;
  }

  .track-tab {
    grid-template-columns: 1fr auto;
    min-height: 78px;
    gap: 12px;
  }

  .planner {
    grid-template-columns: 1fr;
    box-shadow: 0 16px 40px rgba(3, 18, 47, 0.13);
  }

  .planner-result {
    min-height: 560px;
  }

  .planner-result__idle {
    min-height: 440px;
  }

  .community-section {
    grid-template-columns: 1fr;
  }

  .community-media {
    min-height: 480px;
  }

  .community-copy {
    max-width: none;
    padding: 76px 24px 84px;
  }

  .faq-grid {
    gap: 34px;
  }

  .final-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-cta__signal {
    transform: rotate(90deg);
  }

  .final-cta .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__actions .text-link {
    justify-content: center;
  }

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

  .planner-form,
  .planner-result {
    padding: 28px 20px;
  }

  .community-media {
    min-height: 400px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
