:root {
  --sky-blue: #4fa9e0;
  --leaf-green: #6fbf8b;
  --heart-red: #e85c6b;
  --ink: #1c2a38;
  --subtle-ink: #5b6b7a;
  --bg-top: #d9eef9;
  --bg-bottom: #e4f4e6;
  --card-bg: #ffffff;
  --button-top: #6ec1f0;
  --button-bottom: #3d8fc9;
  --radius-card: 20px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(to bottom, var(--bg-top), var(--bg-bottom));
  background-attachment: fixed;
  line-height: 1.5;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(12px);
  background: rgba(217, 238, 249, 0.7);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.6);
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Hero */

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 64px 24px 80px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sky-blue);
}

h1 {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  color: var(--ink);
}

.lede {
  margin: 0 0 32px;
  font-size: 18px;
  color: var(--subtle-ink);
  max-width: 46ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 16px rgba(28, 42, 56, 0.2);
}

.appstore-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(28, 42, 56, 0.25);
}

.appstore-badge svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.badge-text small {
  font-size: 11px;
  opacity: 0.85;
}

.badge-text strong {
  font-size: 18px;
}

.secondary-cta {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--heart-red);
  padding-bottom: 2px;
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.art-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 191, 139, 0.35), rgba(79, 169, 224, 0.15) 60%, transparent 70%);
  filter: blur(10px);
}

.art-globe {
  position: relative;
  width: 220px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(28, 42, 56, 0.2));
}

/* Stat strip */

.stat-strip {
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(28, 42, 56, 0.08);
  border-bottom: 1px solid rgba(28, 42, 56, 0.08);
}

.stat-strip-inner {
  padding: 20px 24px;
  text-align: center;
  font-size: 16px;
  color: var(--subtle-ink);
}

.stat-strip-inner strong {
  color: var(--heart-red);
}

/* Features */

.features {
  padding: 80px 24px;
}

.features h2 {
  margin: 0 0 40px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3.5vw, 36px);
  text-align: center;
  color: var(--ink);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(28, 42, 56, 0.06);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--ink);
}

.feature-card p {
  margin: 0;
  font-size: 15px;
  color: var(--subtle-ink);
}

/* Waitlist */

.waitlist {
  padding: 20px 24px 100px;
}

.waitlist-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 48px 40px;
  box-shadow: 0 20px 50px rgba(28, 42, 56, 0.08);
}

.waitlist h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 32px);
}

.waitlist p {
  margin: 0 0 28px;
  color: var(--subtle-ink);
}

.waitlist-form {
  width: 100%;
}

.field-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.field-row input[type="email"] {
  flex: 1 1 240px;
  padding: 14px 18px;
  font-size: 16px;
  border: 1px solid rgba(28, 42, 56, 0.15);
  border-radius: var(--radius-pill);
  outline: none;
  transition: border-color 0.15s ease;
}

.field-row input[type="email"]:focus {
  border-color: var(--sky-blue);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.field-row button {
  flex: 0 0 auto;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(to bottom, var(--button-top), var(--button-bottom));
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.field-row button:hover {
  transform: translateY(-1px);
}

.field-row button:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.form-status {
  min-height: 20px;
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.form-status[data-state="success"] {
  color: var(--leaf-green);
}

.form-status[data-state="error"] {
  color: var(--heart-red);
}

/* Footer */

.footer {
  padding: 32px 24px 48px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  color: var(--subtle-ink);
  font-size: 14px;
}

.footer .brand {
  font-size: 16px;
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
  }

  .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-row {
    justify-content: center;
  }

  .hero-art {
    order: -1;
  }

  .art-globe {
    width: 160px;
  }
}
