:root {
  --navy: #07192f;
  --ocean: #156780;
  --accent: #0d84ff;
  --on-primary: #ffffff;
  --on-accent: #07192f;
  --on-ocean: #ffffff;
  --muted: #526675;
  --line: #dce6e9;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font:
    16px/1.65 "DM Sans",
    Arial,
    sans-serif;
}
button,
input,
textarea {
  font: inherit;
}
a {
  color: inherit;
}
button,
a,
input,
textarea {
  outline-offset: 5px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ocean);
}
[hidden] {
  display: none !important;
}
.review-banner {
  text-align: center;
  background: #e8f7fa;
  padding: 9px 16px;
  font-size: 14px;
}
.join-header {
  max-width: 1240px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  gap: 20px;
}
.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
}
.burgee {
  width: 64px;
  height: 55px;
}
.wordmark {
  width: 190px;
}
.tenant-logo {
  max-width: 180px;
  max-height: 60px;
}
.pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 14px 25px;
  min-height: 54px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: var(--on-primary);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.4;
}
.pill:hover {
  background: var(--ocean);
  color: var(--on-ocean);
}
.pill:disabled {
  opacity: 0.6;
  cursor: wait;
}
.eyebrow,
.track-number {
  font-size: 13px;
  letter-spacing: 0.16em;
  font-weight: 700;
}
.eyebrow {
  color: var(--ocean);
}
h1,
h2,
h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
  margin: 15px 0 24px;
}
h1 {
  font-size: clamp(44px, 5.5vw, 76px);
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  letter-spacing: -0.025em;
}
h3 {
  font-size: 32px;
}
em {
  color: var(--ocean);
  font-weight: 400;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  max-width: 1240px;
  margin: 20px auto 60px;
  gap: 50px;
  padding: 0 40px;
  align-items: center;
}
.hero-copy {
  padding: 32px 0;
}
.hero-copy > p {
  max-width: 470px;
}
.intro {
  font-size: 20px;
  line-height: 1.5;
}
.hero .pill {
  margin-top: 16px;
}
.hero-photo {
  height: 540px;
  position: relative;
  overflow: hidden;
  border-radius: 160px 160px 12px 12px;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 45px 10px 20px;
  background: linear-gradient(transparent, #0a2235cc);
  color: white;
  font:
    italic 25px Georgia,
    serif;
}
.tracks-section {
  max-width: 1160px;
  margin: 80px auto;
  padding: 0 40px;
  scroll-margin-top: 25px;
}
.tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}
.track-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.track-card p {
  margin-top: 0;
}
.track-card .pill {
  margin-top: auto;
}
.track-number {
  color: var(--ocean);
  margin-bottom: 20px;
}
.featured {
  background: var(--navy);
  color: var(--on-primary);
  border-color: var(--navy);
}
.featured .track-number {
  color: var(--on-primary);
}
.featured .pill {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}
.track-help {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  padding-top: 20px;
}
.track-help p {
  max-width: 610px;
}
.text-button {
  border: 0;
  border-bottom: 1px solid var(--ocean);
  background: transparent;
  color: var(--ocean);
  padding: 8px 0;
  cursor: pointer;
  white-space: nowrap;
}
.support {
  background: #edf7f8;
  text-align: center;
  padding: 52px 25px;
}
.support h2 {
  margin-top: 0;
}
.support p:last-child {
  font-size: 14px;
  color: var(--muted);
}
.application-section {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 40px;
  scroll-margin-top: 24px;
}
.application-section > div:first-child {
  text-align: center;
  margin-bottom: 34px;
}
form {
  max-width: 760px;
  margin: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
}
fieldset {
  padding: 0;
  border: 0;
  margin: 0 0 25px;
}
legend {
  margin-bottom: 12px;
  font-weight: 600;
}
.track-choice {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.track-choice label {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.track-choice label:has(input:checked) {
  border-color: var(--ocean);
  background: #edf7f8;
}
.track-choice input,
.backgrounds input,
.consent input {
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--ocean);
}
#selected-track {
  font-size: 14px;
  color: var(--ocean);
  margin-top: -10px;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.full {
  grid-column: 1/-1;
}
form label {
  display: block;
  font-weight: 500;
  margin-bottom: 18px;
}
small {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}
input:not([type="radio"]):not([type="checkbox"]),
textarea {
  display: block;
  width: 100%;
  border: 1px solid #bacbd2;
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  margin-top: 6px;
  color: var(--navy);
  min-height: 48px;
}
textarea {
  resize: vertical;
}
.backgrounds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.backgrounds label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 8px 12px;
  margin: 0;
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
}
.fine-print {
  font-size: 14px;
  color: var(--muted);
}
#form-error {
  color: #a12830;
}
#confirmation {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
  max-width: 760px;
  margin: auto;
}
.honeypot {
  position: absolute;
  left: -10000px;
}
footer {
  text-align: center;
  padding: 48px 20px;
  border-top: 1px solid var(--line);
}
footer img {
  display: block;
  width: 230px;
  max-width: 80%;
  margin: 0 auto;
}
footer p {
  font-family: Georgia, serif;
  font-size: 20px;
  margin: 14px 0;
}
footer small {
  display: block;
}
@media (max-width: 700px) {
  .join-header {
    padding: 18px;
    gap: 15px;
  }
  .burgee {
    width: 40px;
    height: 40px;
  }
  .wordmark {
    width: 126px;
  }
  .brand {
    gap: 6px;
  }
  .join-header .pill {
    font-size: 14px;
    min-height: 46px;
    padding: 10px 14px;
    gap: 8px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 20px;
    margin-bottom: 35px;
  }
  .hero-copy {
    padding: 15px 0;
  }
  .hero-photo {
    height: 310px;
    border-radius: 100px 100px 12px 12px;
  }
  .tracks-section {
    margin: 48px auto;
    padding: 0 24px;
  }
  .tracks {
    grid-template-columns: 1fr;
  }
  .track-card {
    padding: 26px;
  }
  .track-help {
    display: block;
  }
  .track-help .text-button {
    white-space: normal;
  }
  .application-section {
    margin: 50px auto;
    padding: 0 20px;
  }
  form {
    padding: 22px 18px;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  form > .pill {
    width: 100%;
  }
  .track-card .pill {
    width: 100%;
    gap: 10px;
  }
  .support {
    padding: 38px 24px;
  }
  .consent {
    line-height: 1.5;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
