:root {
  --paper: #fefefe;
  --midnight: #042a5f;
  --midnight-deep: #031f46;
  --ink: #03182f;
  --cerulean: #09a3c1;
  --cerulean-deep: #0789a3;
  --slate: #637392;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--midnight);
  color: var(--paper);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: 0.55; }

.nav {
  border-bottom: 1px solid rgba(254, 254, 254, 0.1);
}
.nav-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.coming { font-size: 0.875rem; color: rgba(254, 254, 254, 0.6); }

.wordmark {
  display: inline-flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.wordmark svg {
  height: 1.05em;
  width: 0.72em;
  margin: 0 1px;
}
.wordmark .pilot { font-weight: 300; }

.hero {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mark {
  width: 7rem;
  height: 7rem;
  margin-bottom: 2rem;
  color: var(--cerulean);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(254, 254, 254, 0.1);
  border-radius: 999px;
  padding: 0.375rem 1rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(254, 254, 254, 0.8);
}
.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--cerulean);
  animation: pulse 1.6s ease-in-out infinite;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 600;
}
h1 span { color: var(--cerulean); }

.lede {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: rgba(254, 254, 254, 0.7);
}

.cta-wrap { width: 100%; max-width: 28rem; margin-top: 2.5rem; }
.cta {
  width: 100%;
  height: 3.5rem;
  border: 0;
  border-radius: 1rem;
  background: var(--cerulean);
  color: var(--midnight);
  font-size: 1.25rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.cta:hover { background: var(--cerulean-deep); }
.cta-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(254, 254, 254, 0.5);
}

.points {
  border-top: 1px solid rgba(254, 254, 254, 0.1);
  padding: 2rem;
}
.points ul {
  max-width: 64rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
  list-style: none;
  font-size: 0.875rem;
  color: rgba(254, 254, 254, 0.4);
}
.points li { display: flex; align-items: center; gap: 0.5rem; }
.points svg { color: var(--cerulean); flex: none; }

.site-footer {
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(254, 254, 254, 0.4);
}
.site-footer a:hover { color: rgba(254, 254, 254, 0.7); }

.page {
  max-width: 36rem;
  margin: 0 auto;
  padding: 4rem 2rem;
  flex: 1;
}
.page h1 { font-size: 2rem; }
.page p { margin-top: 1rem; color: rgba(254, 254, 254, 0.7); }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(3, 24, 47, 0.8);
}
.overlay.open { display: flex; }

.modal {
  position: relative;
  width: 100%;
  max-width: 28rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(254, 254, 254, 0.1);
  background: var(--midnight-deep);
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(4, 42, 95, 0.35);
}
.close {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  border: 0;
  background: none;
  color: var(--slate);
  font-size: 1.5rem;
  line-height: 1;
}
.close:hover { color: var(--paper); }

.modal h2 {
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}
.modal .sub {
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: rgba(254, 254, 254, 0.6);
}

label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: rgba(254, 254, 254, 0.7);
}
input {
  height: 3rem;
  border-radius: 1rem;
  border: 1px solid rgba(254, 254, 254, 0.1);
  background: rgba(254, 254, 254, 0.05);
  color: var(--paper);
  padding: 0 1.25rem;
  font: inherit;
  outline: none;
}
input::placeholder { color: rgba(254, 254, 254, 0.4); }
input:focus { border-color: var(--cerulean); }

.error {
  display: none;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--cerulean);
}
.error.show { display: block; }

.submit {
  width: 100%;
  height: 3rem;
  border: 0;
  border-radius: 1rem;
  background: var(--cerulean);
  color: var(--midnight);
  font-weight: 600;
  font-size: 1rem;
}
.submit:hover { background: var(--cerulean-deep); }
.fine {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(254, 254, 254, 0.4);
}

.thanks { display: none; text-align: center; padding: 1.5rem 0; }
.thanks.show { display: block; }
.thanks p { margin-top: 0.75rem; font-size: 0.875rem; color: rgba(254, 254, 254, 0.7); }
.thanks button {
  margin-top: 2rem;
  height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(254, 254, 254, 0.3);
  background: transparent;
  color: var(--paper);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

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