@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --sky: #16243a;
  --sky-deep: #0f1a2c;
  --cream: #f6eed8;
  --muted: #b2c3d6;
  --teal: #6fdcc8;
  --teal-ink: #0f2d33;
  --line: rgba(178, 195, 214, 0.22);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-color: var(--sky);
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(220, 230, 245, 0.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 12%, rgba(220, 230, 245, 0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 64%, rgba(220, 230, 245, 0.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 72%, rgba(220, 230, 245, 0.6) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 64% 86%, rgba(220, 230, 245, 0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 40% 8%, rgba(220, 230, 245, 0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 48%, rgba(220, 230, 245, 0.5) 50%, transparent 51%),
    radial-gradient(ellipse at 50% 120%, var(--sky-deep), transparent 70%);
  color: var(--cream);
  font-family: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

main {
  flex: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 16px 24px;
  text-align: center;
}

.planet {
  display: block;
  width: min(420px, 82vw, 62vh);
  height: auto;
  margin: 0 auto 8px;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--sky);
  /* the frames sit on the page's navy; fade their edge so no square shows */
  -webkit-mask-image: radial-gradient(circle closest-side, #000 93%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 93%, transparent 100%);
}

h1 {
  margin: 0;
  font-weight: 1000;
  font-size: clamp(44px, 11vw, 76px);
  line-height: 1;
  letter-spacing: -0.01em;
}

.hook, .blurb { text-wrap: balance; }

.hook {
  margin: 18px 0 0;
  font-weight: 800;
  font-size: clamp(22px, 5.4vw, 30px);
  line-height: 1.25;
}

.blurb {
  margin: 10px auto 0;
  max-width: 30em;
  color: var(--muted);
  font-weight: 600;
}

.soon {
  display: inline-block;
  margin: 26px 0 0;
  padding: 10px 20px;
  border: 2px solid var(--teal);
  border-radius: 999px;
  color: var(--teal);
  font-weight: 900;
  font-size: 17px;
}

.contact {
  margin: 22px 0 0;
  color: var(--muted);
  font-weight: 600;
}

a { color: var(--cream); }
a:hover { color: var(--teal); }
a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.links {
  list-style: none;
  margin: 28px auto 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 14px;
  font-weight: 700;
  font-size: 16px;
}

.links a {
  display: inline-block;
  min-width: 44px;
  padding: 11px 4px;
  text-decoration: none;
}
.links a:hover { text-decoration: underline; }

footer {
  padding: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  opacity: 0.8;
}

.signup {
  margin: 30px auto 0;
  padding: 22px 18px 18px;
  max-width: 32em;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 26, 44, 0.55);
}

.signup h2 {
  margin: 0;
  font-weight: 900;
  font-size: 24px;
  line-height: 1.2;
}

.signup .ask {
  margin: 6px 0 14px;
  color: var(--muted);
  font-weight: 600;
  font-size: 17px;
  text-wrap: balance;
}

.signup .row {
  display: flex;
  gap: 8px;
}

.signup input {
  flex: 1;
  min-width: 0;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sky-deep);
  color: var(--cream);
  font: inherit;
  font-size: 17px;
  font-weight: 600;
}

.signup input::placeholder { color: var(--muted); opacity: 0.7; }

.signup input:focus-visible,
.signup button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.signup button {
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: var(--teal-ink);
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.signup button:hover { filter: brightness(1.08); }

.signup .fine {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 460px) {
  .signup .row { flex-direction: column; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.prose {
  max-width: 34em;
  margin: 0 auto;
  text-align: left;
}

.prose h1 {
  font-size: clamp(34px, 8vw, 48px);
  text-align: center;
}

.prose h2 {
  margin: 26px 0 4px;
  font-weight: 900;
  font-size: 20px;
}

.prose p { margin: 0 0 10px; color: var(--muted); font-weight: 600; }

.prose .lead {
  margin: 14px 0 0;
  color: var(--cream);
  text-align: center;
}

.prose .back { margin: 30px 0 0; text-align: center; font-weight: 700; }

footer a { color: inherit; }
