:root {
  color-scheme: light;
  --navy: #08224b;
  --blue: #d9f1ff;
  --mint: #50bfa0;
  --yellow: #ffbd13;
  --yellow-dark: #ee9700;
  --cream: #fff8e8;
  --panel: #ffffff;
  --shadow: 0 18px 44px rgba(8, 34, 75, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 189, 19, 0.18), transparent 32rem),
    linear-gradient(180deg, #e8f7ff 0%, #fff8e8 48%, #eaf8f0 100%);
  color: var(--navy);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  text-decoration: none;
}

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

.lp-shell {
  width: min(100%, 430px);
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(8, 34, 75, 0.06), var(--shadow);
}

.slice {
  position: relative;
  line-height: 0;
  background: #fff;
}

.slice img {
  display: block;
  width: 100%;
  height: auto;
}

.hotspot {
  position: absolute;
  z-index: 3;
  display: block;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(255, 189, 19, 0.28);
}

.hotspot:focus-visible {
  outline: 3px solid #0b77d8;
  outline-offset: 3px;
}

.hero-cta {
  left: 2.5%;
  bottom: 3.8%;
  width: 52%;
  height: 13.8%;
}

.apply-cta {
  left: 5.6%;
  bottom: 7.3%;
  width: 88.8%;
  height: 8.5%;
}

.submit-button:focus-visible,
.modal-close:focus-visible {
  outline: 3px solid #0b77d8;
  outline-offset: 3px;
}

.modal[hidden],
.toast[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 34, 75, 0.54);
  backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  max-height: min(88vh, 720px);
  overflow: auto;
  border-radius: 22px;
  background: var(--panel);
  padding: 24px;
  box-shadow: var(--shadow);
}

.modal-kicker {
  margin: 0 0 4px;
  color: var(--mint);
  font-size: 0.9rem;
  font-weight: 800;
}

.modal-panel h2 {
  margin: 0 36px 18px 0;
  font-size: 1.45rem;
  line-height: 1.3;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #edf8ff;
  color: var(--navy);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.entry-form {
  display: grid;
  gap: 14px;
}

.entry-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.entry-form input,
.entry-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #c8d8e8;
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  padding: 10px 12px;
}

.entry-form input:focus,
.entry-form select:focus {
  outline: 3px solid rgba(80, 191, 160, 0.28);
  border-color: var(--mint);
}

.submit-button {
  min-height: 52px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffc928 0%, var(--yellow) 55%, var(--yellow-dark) 100%);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.form-note {
  margin: 14px 0 0;
  color: #536a86;
  font-size: 0.82rem;
  line-height: 1.6;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  z-index: 40;
  width: min(calc(100% - 32px), 360px);
  transform: translateX(-50%);
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  padding: 13px 16px;
  text-align: center;
  box-shadow: var(--shadow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (min-width: 760px) {
  body {
    padding: 24px 0;
  }

  .lp-shell {
    border-radius: 24px;
    overflow: hidden;
  }
}
