:root {
  /* Baby-blue forward palette */
  --paper: #F4FAFE;          /* pale sky wash background */
  --stone: #E0EEF8;          /* quiet card backgrounds */
  --ink: #0F2A3E;            /* deep navy — primary text, not pure black */
  --ink-soft: #4A6277;       /* secondary text */
  --sky: #9BD1F0;            /* baby blue — hero accent */
  --sky-deep: #5FAFD6;       /* CTA / buttons */
  --sky-ink: #2D6889;        /* on-sky text + links */
  --cream: #FFF8EC;          /* warm contrast highlight */
  --coral: #F4A8A0;          /* playful accent for occasional use */

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-pill: 999px;

  --shadow-soft: 0 1px 2px rgba(15, 42, 62, 0.06),
                 0 8px 24px rgba(15, 42, 62, 0.06);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-image:
    radial-gradient(
      1200px 600px at 85% -10%,
      rgba(155, 209, 240, 0.45),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at -10% 110%,
      rgba(95, 175, 214, 0.18),
      transparent 60%
    );
  background-attachment: fixed;
}

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

a { color: var(--sky-ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--sky-deep); }

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 24px 72px;
}

/* ---- nav ---- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 40px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.wordmark img { display: block; height: 28px; width: auto; }

.nav-tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---- hero ---- */

.hero { text-align: center; }

.hero-mark {
  display: flex;
  justify-content: center;
  margin: 0 auto 28px;
}
.hero-mark img {
  width: 180px;
  height: 180px;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(45, 104, 137, 0.20));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.headline {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 6.8vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  color: var(--ink);
}

.sub {
  max-width: 30ch;
  margin: 0 auto 28px;
  font-size: 17px;
  color: var(--ink-soft);
}

.status {
  display: inline-block;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky-ink);
  background: rgba(155, 209, 240, 0.35);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 32px;
}

/* ---- signup ---- */

.signup {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.signup input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  font: inherit;
  padding: 14px 18px;
  border: 1.5px solid rgba(15, 42, 62, 0.15);
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-pill);
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.signup input[type="email"]:focus {
  border-color: var(--sky-deep);
  box-shadow: 0 0 0 4px rgba(95, 175, 214, 0.22);
}

.signup button {
  font: inherit;
  font-weight: 600;
  padding: 14px 22px;
  border: none;
  background: var(--sky-deep);
  color: #fff;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease;
  box-shadow: var(--shadow-soft);
}
.signup button:hover { background: var(--sky-ink); transform: translateY(-1px); }
.signup button:active { transform: translateY(0); }
.signup button[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

.signup-msg {
  flex-basis: 100%;
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--sky-ink);
  min-height: 1.2em;
}
.signup-msg.error { color: #b84a2e; }

.micro {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 14px;
}

.logo-switch {
  font-size: 13px;
  color: var(--ink-soft);
  margin: -18px 0 22px;
}
.logo-switch a {
  color: var(--sky-ink);
  font-weight: 500;
}

/* ---- story ---- */

.story {
  margin: 64px auto 0;
  max-width: 520px;
  text-align: left;
  background: rgba(224, 238, 248, 0.70);
  border-radius: var(--radius);
  padding: 28px 28px 22px;
}

.story h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.story p { margin: 0 0 12px; color: var(--ink-soft); }
.story p:last-child { margin-bottom: 0; }

.story-kicker {
  color: var(--sky-ink) !important;
  font-weight: 600;
  font-family: var(--serif);
  font-size: 18px;
  margin-top: 18px !important;
}

/* ---- bullets ---- */

.bullets { margin: 40px 0 0; }

.bullets ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.bullets li {
  background: #fff;
  border: 1.5px solid rgba(15, 42, 62, 0.08);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--ink-soft);
}
.bullets li strong { color: var(--ink); display: block; margin-bottom: 2px; }

/* ---- foot ---- */

.foot {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(15, 42, 62, 0.08);
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}
.foot p { margin: 4px 0; }
.foot a { color: var(--sky-ink); }

/* ---- mobile tweaks ---- */

@media (max-width: 480px) {
  .page { padding: 20px 18px 56px; }
  .nav { padding-bottom: 28px; }
  .hero-mark img { width: 140px; height: 140px; }
  .story { padding: 22px 20px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mark img { animation: none; }
  * { transition: none !important; }
}
