:root {
  --burgundy: #66023c;
  --burgundy-dark: #430027;
  --burgundy-ink: #2f001c;
  --ivory: #fffcf5;
  --cream: #f4ecdf;
  --paper: #fffefa;
  --ink: #15171a;
  --muted: #68615e;
  --line: rgba(21, 23, 26, 0.16);
  --gold: #d9a441;
  --green: #287353;
  --red: #a0394c;
  --shadow: 0 24px 70px rgba(42, 13, 29, 0.12);
  --serif: "Cardo", Georgia, serif;
  --sans: "Roboto", Arial, sans-serif;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(102, 2, 60, 0.055) 0.65px, transparent 0.65px);
  background-size: 7px 7px;
  content: "";
  pointer-events: none;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

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

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

h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.08;
}

h1 {
  margin-bottom: 25px;
  font-size: clamp(3rem, 6.7vw, 6.75rem);
  font-weight: 400;
  letter-spacing: -0.055em;
}

h1 em {
  color: var(--burgundy);
  font-weight: 400;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4.2vw, 4.55rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.48rem;
}

.shell {
  width: min(1180px, calc(100% - 44px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(21, 23, 26, 0.1);
  background: rgba(255, 252, 245, 0.92);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
}

.brand img {
  border-radius: 7px;
}

.site-header nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 27px;
}

.site-header nav a,
.footer-links a {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
}

.site-header nav a:hover,
.footer-links a:hover {
  color: var(--burgundy);
}

.header-school-link {
  display: inline-flex;
  min-height: 43px;
  padding: 9px 16px;
  border: 1px solid rgba(102, 2, 60, 0.35);
  border-radius: 999px;
  align-items: center;
  color: var(--burgundy);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.header-school-link:hover {
  border-color: var(--burgundy);
  background: #f4e6ed;
  transform: translateY(-1px);
}

.legal-header .button-small {
  margin-left: auto;
}

.button {
  display: inline-flex;
  min-height: 53px;
  padding: 13px 23px;
  border: 1px solid var(--burgundy);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--burgundy);
  color: white;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  cursor: pointer;
}

.button:hover {
  background: var(--burgundy-dark);
  box-shadow: 0 12px 28px rgba(102, 2, 60, 0.22);
  transform: translateY(-2px);
}

.button:focus-visible,
.text-link:focus-visible,
input:focus-visible,
summary:focus-visible,
.icon-button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(217, 164, 65, 0.78);
  outline-offset: 3px;
}

.button-small {
  min-height: 43px;
  padding: 9px 18px;
  font-size: 0.83rem;
}

.button-full {
  width: 100%;
  margin-top: 8px;
  border-color: var(--ink);
  border-radius: 9px;
  background: var(--ink);
}

.button-full:hover {
  background: #000;
}

.button-light {
  border-color: white;
  background: white;
  color: var(--burgundy);
}

.button-light:hover {
  background: var(--cream);
}

.button-outline {
  background: transparent;
  color: var(--burgundy);
}

.button-outline:hover {
  background: #f2e3eb;
  color: var(--burgundy-dark);
}

.text-link {
  display: inline-flex;
  padding: 5px 0;
  border-bottom: 1px solid currentColor;
  align-items: center;
  gap: 9px;
  color: var(--burgundy);
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.text-link span {
  transition: transform 160ms ease;
}

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

.eyebrow,
.mini-label {
  margin-bottom: 15px;
  color: var(--burgundy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #f5d9e9;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 130px) 0 92px;
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: -280px;
  right: -240px;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(102, 2, 60, 0.11);
  border-radius: 50%;
  box-shadow: inset 0 0 0 70px rgba(102, 2, 60, 0.025), inset 0 0 0 140px rgba(102, 2, 60, 0.02);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(310px, 0.7fr);
  align-items: center;
  gap: clamp(55px, 8vw, 105px);
}

.hero-intro {
  max-width: 720px;
  margin-bottom: 30px;
  color: #454247;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.58rem);
}

.hero-actions {
  display: flex;
  margin-bottom: 13px;
  align-items: center;
  gap: 13px;
}

.hero-choice-note {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 0.79rem;
}

.hero-choice-note a {
  margin-left: 6px;
  color: var(--burgundy);
  font-weight: 700;
  text-decoration: none;
}

.hero-choice-note a:hover {
  text-decoration: underline;
}

.trust-list {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px 23px;
  color: var(--muted);
  font-size: 0.83rem;
  list-style: none;
}

.trust-list li::before {
  margin-right: 7px;
  color: var(--green);
  content: "✓";
  font-weight: 700;
}

.hero-side {
  display: grid;
  gap: 14px;
}

.prize-poster {
  position: relative;
  padding: 26px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--burgundy);
  box-shadow: var(--shadow);
  color: white;
  transform: rotate(1.35deg);
}

.hero-referral-card {
  display: flex;
  position: relative;
  padding: 22px 23px;
  border: 1px solid rgba(102, 2, 60, 0.28);
  border-radius: 14px;
  flex-direction: column;
  gap: 7px;
  background: #fff0c8;
  box-shadow: 0 16px 38px rgba(49, 13, 33, 0.1);
  color: var(--ink);
  text-decoration: none;
  transform: rotate(-0.45deg);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hero-referral-card:hover {
  box-shadow: 0 20px 46px rgba(49, 13, 33, 0.16);
  transform: rotate(0deg) translateY(-2px);
}

.hero-referral-card > span {
  color: var(--burgundy);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-referral-card > strong {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.12;
}

.hero-referral-card > small {
  color: #65574d;
  font-size: 0.71rem;
  line-height: 1.45;
}

.hero-referral-card > b {
  display: flex;
  margin-top: 5px;
  align-items: center;
  justify-content: space-between;
  color: var(--burgundy);
  font-size: 0.78rem;
}

.hero-referral-card i {
  font-family: var(--sans);
  font-size: 1rem;
  font-style: normal;
}

.prize-poster::before {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  content: "";
  pointer-events: none;
}

.poster-topline {
  display: flex;
  position: relative;
  padding-bottom: 20px;
  justify-content: space-between;
  color: #f6d8e9;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.poster-prize {
  display: flex;
  position: relative;
  min-height: 215px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.poster-label {
  font-family: var(--serif);
  font-style: italic;
}

.poster-prize strong {
  font-family: var(--serif);
  font-size: clamp(4rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 1;
}

.poster-runners {
  display: flex;
  position: relative;
  padding: 14px 0;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.countdown {
  position: relative;
  padding-top: 20px;
  text-align: center;
}

.countdown p {
  margin-bottom: 8px;
  color: #f5d9e9;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.countdown-grid {
  display: grid;
  margin-bottom: 7px;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.countdown-grid span {
  display: flex;
  flex-direction: column;
}

.countdown-grid b {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
}

.countdown-grid small,
.countdown > small {
  color: #f5d9e9;
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.quick-facts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.facts-grid article {
  position: relative;
  min-height: 205px;
  padding: 42px 45px 35px 0;
}

.facts-grid article + article {
  padding-left: 45px;
  border-left: 1px solid var(--line);
}

.facts-grid article:last-child {
  box-shadow: inset 0 3px 0 var(--burgundy);
  background: rgba(102, 2, 60, 0.035);
}

.fact-number {
  position: absolute;
  top: 25px;
  right: 24px;
  color: rgba(102, 2, 60, 0.15);
  font-family: var(--serif);
  font-size: 2rem;
}

.facts-grid h2 {
  margin-bottom: 9px;
  font-size: 1.65rem;
  letter-spacing: -0.025em;
}

.facts-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.section {
  padding: clamp(82px, 10vw, 135px) 0;
}

.section-heading {
  max-width: 690px;
}

.section-heading.narrow {
  max-width: 760px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

.steps-grid {
  display: grid;
  margin-top: 52px;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.46);
}

.step-card > span {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 43px;
  border: 1px solid var(--burgundy);
  border-radius: 50%;
  place-items: center;
  color: var(--burgundy);
  font-family: var(--serif);
}

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

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

.school-section::before {
  position: absolute;
  top: -230px;
  left: -170px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow: inset 0 0 0 65px rgba(255, 255, 255, 0.018), inset 0 0 0 130px rgba(255, 255, 255, 0.018);
  content: "";
}

.school-intro {
  display: grid;
  position: relative;
  grid-template-columns: minmax(0, 1.4fr) minmax(310px, 0.6fr);
  align-items: end;
  gap: 65px;
}

.school-intro .section-heading > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.school-intro .school-starter-note {
  margin: 26px 0 0;
  padding: 14px 17px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 0.86rem;
}

.school-benefits {
  margin: 0 0 14px;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  list-style: none;
}

.school-benefits li {
  display: flex;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  justify-content: space-between;
  gap: 16px;
  font-size: 0.87rem;
}

.school-benefits span {
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
}

.school-tools-grid {
  display: grid;
  position: relative;
  margin-top: 60px;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 22px;
}

.card-light {
  padding: clamp(25px, 4vw, 42px);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 25px 65px rgba(20, 0, 12, 0.22);
  color: var(--ink);
}

.card-light h3 {
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
}

.muted {
  color: var(--muted);
  font-size: 0.86rem;
}

label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.79rem;
  font-weight: 700;
}

label span {
  color: var(--muted);
  font-weight: 400;
}

input {
  width: 100%;
  min-height: 49px;
  padding: 11px 13px;
  border: 1px solid #b9b0ac;
  border-radius: 8px;
  background: white;
  color: var(--ink);
}

input::placeholder {
  color: #8e8580;
}

.field-row {
  display: grid;
  margin-top: 15px;
  grid-template-columns: 0.55fr 1fr;
  gap: 13px;
}

.generated-link {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.copy-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.copy-row input {
  min-width: 0;
  background: #f5f1ec;
  font-size: 0.81rem;
}

.icon-button {
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--burgundy);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.share-row {
  display: flex;
  margin-top: 12px;
  flex-wrap: wrap;
  gap: 9px 17px;
}

.share-row a {
  color: var(--burgundy);
  font-size: 0.81rem;
  font-weight: 700;
}

.leaderboard-head {
  display: flex;
  margin-bottom: 25px;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.leaderboard-head h3,
.leaderboard-head .mini-label {
  margin-bottom: 0;
}

.live-pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  align-items: center;
  gap: 7px;
  background: #e7f4ec;
  color: var(--green);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.live-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(40, 115, 83, 0.12);
}

.leaderboard-status {
  display: grid;
  min-height: 175px;
  padding: 25px;
  border: 1px dashed #c9bdb7;
  border-radius: 10px;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

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

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

td {
  font-size: 0.87rem;
}

td:first-child {
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 1.25rem;
}

td:nth-child(3),
td:nth-child(4),
th:nth-child(3),
th:nth-child(4) {
  text-align: right;
}

.school-cell strong,
.school-cell small {
  display: block;
}

.school-cell small {
  color: var(--muted);
  font-size: 0.68rem;
}

.leaderboard-note {
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.referral-banner {
  position: sticky;
  z-index: 80;
  top: 76px;
  padding: 10px 0;
  border-bottom: 1px solid #e1c57c;
  background: #fff0c2;
  color: #4e3610;
}

.referral-banner .shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
}

.referral-banner button {
  margin-left: 10px;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.eligibility-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 70px;
}

.eligibility-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.eligibility-card {
  min-height: 380px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.52);
}

.eligibility-card h3 {
  display: flex;
  align-items: center;
  gap: 9px;
}

.eligibility-card h3 span {
  display: grid;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  place-items: center;
  background: #e5f2e9;
  color: var(--green);
  font-family: var(--sans);
  font-size: 0.88rem;
}

.eligibility-card.ineligible h3 span {
  background: #f8e7e9;
  color: var(--red);
}

.eligibility-card ul {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.eligibility-card li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: #504b48;
  font-size: 0.87rem;
}

.prizes-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.prize-grid {
  display: grid;
  max-width: 940px;
  margin: 58px auto 0;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 16px;
}

.prize-card {
  display: flex;
  min-height: 270px;
  padding: 29px 20px;
  border: 1px solid rgba(102, 2, 60, 0.22);
  border-radius: 160px 160px 10px 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  color: var(--burgundy);
  text-align: center;
}

.prize-first {
  min-height: 340px;
  background: var(--burgundy);
  box-shadow: 0 20px 45px rgba(102, 2, 60, 0.22);
  color: white;
}

.prize-card span {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
}

.prize-card strong {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.1;
}

.prize-card small {
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.center-note {
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

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

.team-grid {
  display: grid;
  margin-top: 52px;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.team-card {
  min-height: 315px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--ivory);
}

.monogram {
  display: grid;
  width: 73px;
  height: 73px;
  margin-bottom: 52px;
  border: 1px solid rgba(102, 2, 60, 0.3);
  border-radius: 50%;
  place-items: center;
  background: #f1e5ec;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.team-card h3 {
  margin-bottom: 4px;
}

.team-card p {
  margin-bottom: 22px;
  color: var(--burgundy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-card small {
  color: var(--muted);
}

.advisor-education {
  display: block;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #554e4b;
  font-size: 0.72rem;
  line-height: 1.45;
}

.advisor-education b {
  display: block;
  margin-bottom: 2px;
  color: var(--burgundy);
  font-size: 0.61rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.rubric-section {
  background: var(--burgundy-dark);
  color: white;
}

.rubric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 90px;
}

.rubric-grid h2 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
}

.rubric-grid > div > p:not(.eyebrow) {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.68);
}

.rubric-list > div {
  display: flex;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  align-items: baseline;
  justify-content: space-between;
  gap: 25px;
}

.rubric-list span {
  font-family: var(--serif);
  font-size: 1.3rem;
}

.rubric-list b {
  color: #f3c9df;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

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

.submit-heading {
  display: flex;
  margin-bottom: 35px;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.submit-heading > div {
  max-width: 800px;
}

.submit-heading h2 {
  margin-bottom: 0;
}

.form-reminders {
  display: grid;
  margin-bottom: 18px;
  padding: 16px 20px;
  border: 1px solid #e0c780;
  border-radius: 10px;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: #fff5d8;
  color: #54401e;
  font-size: 0.78rem;
}

.form-reminders span + span {
  padding-left: 20px;
  border-left: 1px solid #e0c780;
}

.form-frame-wrap {
  min-height: 900px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
}

#jotform-frame {
  display: block;
  width: 100%;
  min-height: 1550px;
  border: 0;
}

.faq-section {
  background: var(--cream);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.63fr 1.37fr;
  gap: 80px;
}

.faq-list details {
  border-top: 1px solid rgba(21, 23, 26, 0.25);
}

.faq-list details:last-child {
  border-bottom: 1px solid rgba(21, 23, 26, 0.25);
}

.faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary::after {
  position: absolute;
  top: 19px;
  right: 2px;
  color: var(--burgundy);
  content: "+";
  font-family: var(--sans);
  font-size: 1.55rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 720px;
  padding-right: 30px;
  padding-bottom: 23px;
  color: var(--muted);
}

.closing-section {
  position: relative;
  overflow: hidden;
  padding: 105px 0;
  background: var(--burgundy);
  color: white;
  text-align: center;
}

.closing-section::before,
.closing-section::after {
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
}

.closing-section::before {
  top: -250px;
  left: -150px;
}

.closing-section::after {
  right: -170px;
  bottom: -280px;
}

.closing-inner {
  position: relative;
  z-index: 1;
}

.closing-inner img {
  margin: 0 auto 25px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

.closing-inner h2 {
  max-width: 760px;
  margin: 0 auto 18px;
}

.closing-inner p {
  margin-bottom: 27px;
  color: rgba(255, 255, 255, 0.73);
}

.closing-inner small {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer {
  padding: 55px 0;
  background: #16050f;
  color: white;
}

.footer-grid {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  color: white;
}

.footer-grid p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.53);
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 25px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

.mobile-cta {
  display: none;
}

.mobile-action-bar {
  display: none;
}

/* Rules and privacy pages */
.legal-main {
  padding: 85px 0 120px;
}

.legal-hero {
  max-width: 850px;
  margin-bottom: 65px;
}

.legal-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.legal-hero p {
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 720px);
  gap: 75px;
}

.legal-nav {
  position: sticky;
  top: 105px;
  align-self: start;
}

.legal-nav strong {
  display: block;
  margin-bottom: 13px;
  color: var(--burgundy);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-nav a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--burgundy);
}

.legal-content section {
  padding: 0 0 44px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
}

.legal-content h2 {
  margin-bottom: 17px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.legal-content h3 {
  margin-top: 30px;
  font-size: 1.2rem;
}

.legal-content p,
.legal-content li {
  color: #4e4947;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-callout {
  padding: 20px 22px;
  border-left: 4px solid var(--gold);
  background: #fff3cf;
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .site-header nav {
    display: none;
  }

  .header-school-link {
    margin-left: auto;
  }

  .site-header .button-small {
    margin-left: 0;
  }

  .hero-grid,
  .school-intro,
  .eligibility-grid,
  .rubric-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 790px;
  }

  .prize-poster {
    width: min(100%, 500px);
    margin-inline: auto;
    transform: rotate(0.5deg);
  }

  .hero-side {
    width: min(100%, 500px);
    margin-inline: auto;
  }

  .school-intro,
  .eligibility-grid,
  .rubric-grid,
  .faq-grid {
    gap: 45px;
  }

  .school-benefits {
    max-width: 550px;
  }

  .school-tools-grid {
    grid-template-columns: 1fr;
  }

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

  .submit-heading {
    display: block;
  }

  .submit-heading .text-link {
    margin-top: 20px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 72px;
  }

  body {
    padding-bottom: 62px;
  }

  .shell {
    width: min(100% - 30px, 1180px);
  }

  .nav-wrap {
    min-height: 66px;
  }

  .brand img {
    width: 43px;
    height: 43px;
  }

  .brand span,
  .site-header .button-small,
  .header-school-link {
    display: none;
  }

  .hero {
    padding: 62px 0 70px;
  }

  .hero-grid {
    gap: 45px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-choice-note a {
    display: block;
    margin-top: 5px;
    margin-left: 0;
  }

  .trust-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .facts-grid,
  .steps-grid,
  .eligibility-cards,
  .prize-grid,
  .team-grid,
  .form-reminders {
    grid-template-columns: 1fr;
  }

  .facts-grid article,
  .facts-grid article + article {
    min-height: auto;
    padding: 30px 45px 30px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .facts-grid article:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 78px 0;
  }

  .steps-grid {
    gap: 12px;
  }

  .step-card {
    min-height: auto;
  }

  .step-card > span {
    margin-bottom: 28px;
  }

  .school-tools-grid {
    margin-top: 42px;
  }

  .card-light {
    padding: 25px 20px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .copy-row {
    grid-template-columns: 1fr;
  }

  .icon-button {
    min-height: 44px;
  }

  .leaderboard table {
    min-width: 490px;
  }

  .referral-banner {
    top: 66px;
  }

  .referral-banner .shell {
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .referral-banner button {
    margin-left: 0;
  }

  .eligibility-card {
    min-height: auto;
  }

  .prize-grid {
    max-width: 355px;
  }

  .prize-card,
  .prize-first {
    min-height: 250px;
  }

  .prize-first {
    grid-row: 1;
  }

  .team-card {
    min-height: 260px;
  }

  .monogram {
    margin-bottom: 35px;
  }

  .form-reminders span + span {
    padding-top: 13px;
    padding-left: 0;
    border-top: 1px solid #e0c780;
    border-left: 0;
  }

  .form-frame-wrap {
    min-height: 850px;
    margin-inline: -8px;
  }

  #jotform-frame {
    min-height: 1700px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .mobile-cta {
    display: flex;
    position: fixed;
    z-index: 120;
    right: 10px;
    bottom: 9px;
    left: 10px;
    min-height: 48px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: var(--burgundy);
    box-shadow: 0 9px 30px rgba(34, 2, 20, 0.28);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-action-bar {
    display: grid;
    position: fixed;
    z-index: 120;
    right: 8px;
    bottom: 8px;
    left: 8px;
    min-height: 52px;
    padding: 4px;
    border: 1px solid rgba(102, 2, 60, 0.18);
    border-radius: 999px;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4px;
    background: rgba(255, 252, 245, 0.96);
    box-shadow: 0 9px 30px rgba(34, 2, 20, 0.28);
    backdrop-filter: blur(14px);
  }

  .mobile-action-bar a {
    display: flex;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    font-size: 0.79rem;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-school-cta {
    color: var(--burgundy);
  }

  .mobile-submit-cta {
    background: var(--burgundy);
    color: white;
  }

  .legal-main {
    padding: 60px 0 90px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .legal-nav {
    position: static;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    columns: 2;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
