:root {
  --blue: #087cf0;
  --navy: #10213d;
  --muted: #667085;
  --line: #e5eaf0;
  --bg: #f5f8fb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--navy);
  background: white;
}

header {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fffc;
  backdrop-filter: blur(14px);
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  font-size: 24px;
}

.pin {
  width: 30px;
  height: 36px;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-45deg);
  font-size: 17px;
}

.pin::first-letter {
  transform: rotate(45deg);
}

.brand .pin {
  color: transparent;
  position: relative;
}

.brand .pin:after {
  content: 'P';
  color: #fff;
  position: absolute;
  transform: rotate(45deg);
  font-weight: 800;
}

nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

nav a {
  color: #42526b;
  text-decoration: none;
  font-size: 14px;
}

.btn,
button[data-plan] {
  border: 0;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  padding: 14px 22px;
  font-weight: 750;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.btn.small {
  padding: 10px 16px;
  font-size: 14px;
}

.hero {
  min-height: 540px;
  position: relative;
  overflow: hidden;
  background-color: #071425;
}

.hero-photo {
  position: absolute;
  z-index: 0;
  height: 112%;
  width: auto;
  max-width: none;
  right: 0;
  top: 68%;
  transform: translateY(-68%);
  pointer-events: none;
}

.shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #071426d8 0%, #07142699 34%, #07142633 52%, transparent 68%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: auto;
  padding: 94px 24px;
  color: white;
}

.eyebrow,
.kicker {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  color: #258cff;
}

.hero h1 {
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: -.04em;
  margin: 18px 0;
  max-width: 720px;
}

.lead {
  font-size: 21px;
  color: #d9e3ef;
}

.event {
  display: flex;
  gap: 26px;
  margin: 26px 0 30px;
  color: #eef4fa;
  font-size: 14px;
}

.benefits {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefits > div {
  display: flex;
  gap: 14px;
}

.benefits b {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eaf4ff;
  color: var(--blue);
  display: grid;
  place-items: center;
}

.benefits span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.benefits small,
.section p,
.plan p,
.steps p,
.faq p {
  color: var(--muted);
}

.section {
  background: var(--bg);
  padding: 74px max(24px, calc((100vw - 1180px) / 2));
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.section h2,
.how h2,
.faq h2 {
  font-size: 34px;
  margin: 8px 0;
}

.datebox {
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px 20px;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.datebox strong {
  font-size: 22px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.plan {
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 25px;
  position: relative;
  box-shadow: 0 6px 20px #10213d0a;
  cursor: pointer;
}

.plan.selected {
  border: 2px solid var(--blue);
  transform: translateY(-7px);
}

.badge {
  position: absolute;
  right: 18px;
  top: -12px;
  background: var(--blue);
  color: white;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
}

.plan-top {
  display: flex;
  gap: 14px;
  align-items: center;
}

.plan-top > span {
  font-size: 27px;
}

.plan h3 {
  margin: 0;
  font-size: 21px;
}

.plan p {
  margin: 4px 0;
}

.choice-note {
  margin: 0;
  max-width: 460px;
  font-size: 16px;
}

.meter {
  display: flex;
  gap: 5px;
  margin-top: 22px;
}

.meter span {
  height: 8px;
  flex: 1;
  border-radius: 99px;
  background: #e6edf5;
}

.plan[data-near='1'] .meter span:nth-child(-n + 1),
.plan[data-near='2'] .meter span:nth-child(-n + 2),
.plan[data-near='4'] .meter span {
  background: var(--blue);
}

.price {
  font-size: 38px;
  font-weight: 850;
  margin: 16px 0 20px;
}

.price small {
  font-size: 14px;
}

.plan button {
  width: 100%;
  background: #eef2f6;
  color: var(--navy);
}

.plan.selected button {
  background: var(--blue);
  color: white;
}

@media (hover: hover) {
  .plan:hover {
    box-shadow: 0 10px 28px #10213d14;
  }
}

.how {
  padding: 78px max(24px, calc((100vw - 1180px) / 2));
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.steps i {
  font-style: normal;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  background: #eaf4ff;
  color: var(--blue);
  font-weight: 850;
}

.steps strong {
  font-size: 16px;
}

.faq {
  padding: 70px max(24px, calc((100vw - 900px) / 2));
  background: var(--bg);
}

details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 10px 0;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

.cta {
  padding: 58px max(24px, calc((100vw - 1180px) / 2));
  background: var(--blue);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta h2 {
  font-size: 38px;
  margin: 0;
}

.cta p {
  color: #e4f1ff;
}

.btn.light {
  background: white;
  color: var(--blue);
}

footer {
  background: #0d1c32;
  color: #a9b6c8;
  padding: 30px max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  gap: 30px;
}

.lightbrand {
  color: white;
  margin-right: auto;
}

body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  background: #06101fcc;
  display: none;
  z-index: 50;
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal.open {
  display: flex;
  justify-content: center;
}

.modal-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  width: min(520px, 100%);
  position: relative;
  margin: auto;
  flex-shrink: 0;
}

.modal-card h2 {
  padding-right: 36px;
}

.close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal label {
  display: block;
  font-weight: 700;
  margin: 15px 0;
}

.modal input {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px;
  border: 1px solid #ccd5df;
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
}

.modal form .btn {
  width: 100%;
  margin-top: 8px;
}

.success {
  padding: 15px 0;
}

.success h3 {
  color: #178348;
}

.modal-card:has(.discard:not([hidden])) > :not(.discard) {
  display: none;
}

.discard {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: white;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 28px;
}

.modal-card:has(.discard:not([hidden])) .discard {
  position: static;
}

.discard[hidden] {
  display: none;
}

.discard p {
  margin: 0;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -.02em;
}

.discard-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.discard-actions .btn {
  width: 100%;
  text-align: center;
  font-size: 16px;
}

.discard-actions .btn.quiet {
  background: var(--bg);
  color: var(--navy);
}

@media (max-width: 760px) {
  header {
    height: 64px;
    padding: 0 16px;
  }

  .brand {
    font-size: 21px;
  }

  nav {
    display: none;
  }

  header > .btn {
    margin-left: auto;
  }

  .hero {
    min-height: 570px;
  }

  .hero-photo {
    inset: 0;
    width: 100%;
    height: 100%;
    right: auto;
    top: 0;
    transform: none;
    object-fit: cover;
    object-position: 82% center;
  }

  .shade {
    background: linear-gradient(90deg, #071426ee 0%, #071426b8 42%, #0714264d 68%, transparent 86%);
  }

  .hero-inner {
    padding: 72px 20px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  .hero h1 br {
    display: none;
  }

  .lead {
    font-size: 18px;
  }

  .event {
    flex-direction: column;
    gap: 8px;
  }

  .benefits {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 20px;
  }

  .section {
    padding: 58px 20px;
  }

  .section-head {
    align-items: flex-start;
  }

  .section-head .kicker {
    font-size: 11px;
    letter-spacing: .06em;
    line-height: 1.5;
  }

  .datebox {
    display: none;
  }

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

  .plan.recommended {
    order: -1;
  }

  .plan.selected {
    transform: none;
  }

  .how {
    padding: 60px 20px;
  }

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

  .faq {
    padding: 58px 20px;
  }

  .cta {
    padding: 42px 20px;
    display: block;
  }

  .cta h2 {
    font-size: 32px;
  }

  .cta .btn {
    margin-top: 16px;
  }

  footer {
    padding: 26px 20px;
    flex-wrap: wrap;
  }

  .lightbrand {
    width: 100%;
  }

  .modal {
    padding: 12px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }

  .modal-card {
    padding: 22px 16px 16px;
  }

  .modal form .btn {
    font-size: 16px;
  }
}
