:root {
  --primary: #1a6fd4;
  --primary-dark: #1355a8;
  --primary-light: #e8f1fd;
  --white: #ffffff;
  --background: #f7faff;
  --navy: #0d2b55;
  --text: #0d2b55;
  --muted: #5a7090;
  --border: #d8e6f5;
  --green: #2ecc71;
  --shadow: 0 18px 44px rgba(13, 43, 85, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.hero {
  min-height: 680px;
  padding: 24px 24px 64px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
}

.nav,
.hero-grid,
.sections,
.waitlist {
  width: min(100%, 1180px);
  margin-inline: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 64px;
}

.brand,
.nav-link,
.button {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
}

.nav-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 14px;
  font-weight: 700;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  gap: 64px;
  align-items: center;
}

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

.eyebrow,
.card-kicker {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin: 0 0 16px;
  border-radius: 999px;
  padding: 0 13px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 12px;
  font-size: 72px;
  line-height: 0.95;
}

h2 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.12;
}

.hero-subtitle {
  margin-bottom: 14px;
  font-size: 26px;
  font-weight: 800;
}

.hero-text {
  max-width: 570px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid transparent;
  border-radius: 20px;
  padding: 0 24px;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.button.primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 10px 18px rgba(13, 43, 85, 0.18);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.hero-card,
.info-card,
.waitlist-form {
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 24px;
  color: var(--text);
}

.route-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.route-row strong {
  color: var(--primary);
}

.route-line {
  display: grid;
  grid-template-columns: 18px 1fr 18px;
  align-items: center;
  gap: 8px;
  margin: 36px 0;
}

.route-line span {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 7px #eafaf1;
}

.route-line i {
  height: 4px;
  border-radius: 999px;
  background: repeating-linear-gradient(
    90deg,
    var(--primary),
    var(--primary) 18px,
    transparent 18px,
    transparent 28px
  );
}

.match-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 16px;
  padding: 16px;
  background: var(--primary-light);
}

.match-card p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.match-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  background: var(--primary);
  color: var(--white);
  font-weight: 900;
}

.sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 72px 24px 0;
}

.info-card {
  padding: 28px;
}

.info-card p,
.waitlist p {
  color: var(--muted);
  line-height: 1.6;
}

.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: start;
  padding: 72px 24px;
}

.waitlist-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

small {
  color: var(--muted);
  font: inherit;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 0 16px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 15px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  outline: 3px solid rgba(26, 111, 212, 0.14);
}

.full-span,
.form-button {
  grid-column: 1 / -1;
}

textarea {
  min-height: 112px;
  padding-block: 14px;
  resize: vertical;
}

.form-button {
  width: 100%;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    padding: 20px 20px 44px;
  }

  .nav {
    margin-bottom: 44px;
  }

  .hero-grid,
  .waitlist {
    grid-template-columns: 1fr;
  }

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

  .sections,
  .waitlist {
    padding-inline: 20px;
  }

  h1 {
    font-size: 56px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 18px 16px 36px;
  }

  .nav-link {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 21px;
  }

  .button {
    width: 100%;
    min-height: 54px;
  }

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

  input,
  select,
  textarea {
    min-height: 54px;
    font-size: 16px;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}
