:root {
  --bg: #04130c;
  --bg-tint: #061a11;
  --ink: #eafff4;
  --muted: #8cae9d;
  --faint: #5f7d6e;
  --accent: #45f2a2;
  --accent-2: #24e88f;
  --accent-grad: linear-gradient(135deg, #24e88f, #7dffc4);
  --hairline: rgba(255, 255, 255, 0.09);
  --card: rgba(255, 255, 255, 0.028);
  --card-hover: rgba(255, 255, 255, 0.05);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Onest", system-ui, -apple-system, sans-serif;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Ambient emerald glows layered under everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 78% -5%, rgba(69, 242, 162, 0.16), transparent 60%),
    radial-gradient(50% 45% at 8% 12%, rgba(36, 232, 143, 0.1), transparent 55%),
    radial-gradient(70% 60% at 50% 108%, rgba(69, 242, 162, 0.09), transparent 60%);
  pointer-events: none;
}

#constellation {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px clamp(20px, 5vw, 56px);
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(4, 19, 12, 0.85), rgba(4, 19, 12, 0));
}

.wordmark {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: 0.4px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.wordmark.small { font-size: 26px; }

.navLinks {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.navLinks a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: color 0.2s;
}
.navLinks a:hover { color: var(--ink); }
.navCta { margin-left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btnPrimary {
  background: var(--accent-grad);
  color: #032015;
  box-shadow: 0 10px 30px -8px rgba(69, 242, 162, 0.5);
}
.btnPrimary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -8px rgba(69, 242, 162, 0.6);
}
.btnGhost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--hairline);
  color: var(--ink);
}
.btnGhost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }

/* ---------- Layout primitives ---------- */
main { position: relative; z-index: 1; }

.band {
  padding: clamp(80px, 12vh, 150px) clamp(20px, 5vw, 56px);
  max-width: var(--maxw);
  margin: 0 auto;
}
.band.tint {
  max-width: none;
  background: linear-gradient(to bottom, transparent, rgba(6, 26, 17, 0.6), transparent);
}
.band.tint > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.stack { display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center; }
.stack.narrow { max-width: 680px; margin: 0 auto; }
.stack.left { align-items: flex-start; text-align: left; }

/* ---------- Type ---------- */
.eyebrow, .kicker {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 8.5vw, 104px);
  line-height: 1.02;
  letter-spacing: -1px;
}
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.5px;
}
h2.big { font-size: clamp(40px, 6.5vw, 74px); }
h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.2px;
}
.serif-italic { font-style: italic; color: var(--accent); }

.lede {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--muted);
  max-width: 620px;
  line-height: 1.55;
}
.body {
  font-size: clamp(16px, 1.9vw, 19px);
  color: var(--muted);
  line-height: 1.65;
  max-width: 640px;
}
.body.center { margin-left: auto; margin-right: auto; text-align: center; }
.hl { color: var(--ink); font-style: italic; font-family: var(--serif); font-size: 1.1em; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 30px;
  max-width: 960px;
  margin: 0 auto;
  padding: 120px clamp(20px, 5vw, 56px) 90px;
}
.heroCtas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.heroNote { font-size: 14px; color: var(--faint); letter-spacing: 0.3px; }

/* ---------- Cards grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 58px;
}
.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  background: var(--card-hover);
  border-color: rgba(69, 242, 162, 0.35);
}
.cardNum {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--accent);
  line-height: 1;
  opacity: 0.85;
}
.cardIcon { font-size: 26px; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.grid.trust { margin-top: 46px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Proactive-recall mock bubble */
.reminderBubble {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 16px 16px 16px 4px;
  background: linear-gradient(135deg, rgba(14, 148, 85, 0.92), rgba(22, 180, 110, 0.86));
  border: 1px solid rgba(69, 242, 162, 0.28);
}
.reminderBubble p { color: #eafff4; font-size: 14.5px; line-height: 1.5; font-style: italic; }
.reminderAvatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #032015;
  font-family: var(--serif);
  font-size: 16px;
  display: grid;
  place-items: center;
  flex: none;
}

/* ---------- Before you meet (split) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.snapshot {
  background: linear-gradient(160deg, rgba(11, 40, 27, 0.9), rgba(6, 22, 15, 0.9));
  border: 1px solid rgba(69, 242, 162, 0.22);
  border-radius: 24px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7), 0 0 60px -30px rgba(69, 242, 162, 0.4);
}
.snapHead { display: flex; align-items: center; gap: 14px; }
.snapAvatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #032015;
  font-weight: 700;
  font-size: 18px;
  display: grid;
  place-items: center;
  flex: none;
}
.snapHead strong { display: block; font-size: 19px; font-weight: 600; }
.snapMeta { font-size: 13.5px; color: var(--muted); }
.snapSection { display: flex; flex-direction: column; gap: 3px; }
.snapLabel {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3px;
}
.snapSection p { font-size: 15px; color: #d6f5e5; line-height: 1.45; }
.snapChips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.chip {
  font-size: 13px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(69, 242, 162, 0.12);
  border: 1px solid rgba(69, 242, 162, 0.25);
  color: var(--accent);
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 58px;
}
.step { display: flex; flex-direction: column; gap: 12px; }
.stepNum {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(69, 242, 162, 0.35);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 22px;
  display: grid;
  place-items: center;
}
.step p { color: var(--muted); font-size: 16px; }

/* ---------- Closing / waitlist ---------- */
.closing { text-align: center; }
.waitlist {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 480px;
  margin: 8px auto 0;
  flex-wrap: wrap;
  justify-content: center;
}
.waitlist input {
  flex: 1;
  min-width: 220px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.waitlist input::placeholder { color: var(--faint); }
.waitlist input:focus { border-color: var(--accent); background: rgba(255, 255, 255, 0.06); }
.waitlistNote { font-size: 14px; color: var(--faint); margin-top: 4px; }
.waitlistNote.done { color: var(--accent); }

/* ---------- Footer ---------- */
.foot {
  border-top: 1px solid var(--hairline);
  padding: 48px clamp(20px, 5vw, 56px);
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}
.footFine { font-size: 13px; color: var(--faint); max-width: 560px; line-height: 1.5; }
.footCopy { font-size: 13px; color: var(--muted); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 780px) {
  .navLinks { display: none; }
  .split { grid-template-columns: 1fr; }
  .stack.left { align-items: center; text-align: center; }
  .snapshot { max-width: 420px; margin: 0 auto; width: 100%; }
}
@media (max-width: 480px) {
  .navCta { display: none; }
  .btn { padding: 12px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  #constellation { display: none; }
}
