@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cal Sans"; src: url("fonts/cal-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Chivo Mono"; src: url("fonts/chivo-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --ink: #000;
  --paper: #fafffc;
  --blue: #1451ff;
  --sky: #7ab7fa;
  --red: #ff0004;
  --pink: #ff3399;
  --lilac: #b98eb9;
  --marigold: #eaa700;
  --teal: #009384;
  --earth: #875928;
  --maroon-1: #491111;
  --maroon-2: #6c2e2e;
  --serif: "Instrument Serif", Georgia, serif;
  --display: "Cal Sans", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "Chivo Mono", ui-monospace, monospace;
  --shadow: 0 12px 36px rgba(0, 0, 0, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--maroon-2);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }

/* Full-bleed media */
.media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scrim { position: absolute; inset: 0; pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 959px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
}
.hero .media, .hero .scrim { z-index: 0; }
.hero > :not(.media):not(.scrim) { position: relative; z-index: 1; }
.hero .scrim { background: linear-gradient(to bottom, rgba(0,0,0,.10), rgba(0,0,0,.22) 50%, rgba(0,0,0,.10)); }
.hero video.mobile { display: none; }
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
  padding: 240px 24px 120px;
}
.hero-wordmark { width: 280px; height: auto; }
.hero h1 {
  font-family: var(--serif);
  font-size: 110px;
  line-height: .94;
  letter-spacing: 0;
  margin-top: 8px;
}
.hero .subhead { font-size: 22px; font-weight: 600; line-height: 1.5; max-width: 914px; }

/* ---------- Waitlist form ---------- */
.waitlist-form { width: 100%; max-width: 560px; }
.waitlist-form .row { display: flex; gap: 10px; }
.waitlist-form input {
  flex: 1;
  min-width: 0;
  height: 57px;
  padding: 16px 20px;
  border-radius: 999px;
  border: 2px solid var(--paper);
  background: rgba(122, 183, 250, .15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--paper);
  font: 400 17px/1 var(--sans);
  outline: none;
}
.waitlist-form input::placeholder { color: var(--paper); opacity: 1; }
.waitlist-form input:focus-visible { box-shadow: 0 0 0 3px rgba(250, 255, 252, .35); }
.button {
  flex: none;
  height: 57px;
  padding: 15px 24px;
  border: 0;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, var(--red), var(--pink));
  color: var(--paper);
  font: 400 16px/1 var(--display);
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.button:hover { filter: brightness(1.06); }
.button:active { transform: scale(.98); }
.button:disabled { opacity: .7; cursor: default; }
.waitlist-form .status { min-height: 21px; margin-top: 12px; font-size: 15px; line-height: 1.4; text-align: center; }
.waitlist-form.done .row { display: none; }
.waitlist-form.done .status { font-family: var(--serif); font-size: 28px; line-height: 1.2; }

/* ---------- Marquee ---------- */
.marquee {
  height: 60px;
  border-top: 1px solid rgba(250, 255, 252, .35);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.marquee-track { display: flex; flex: none; animation: marquee 60s linear infinite; }
.marquee-group { display: flex; flex: none; align-items: center; gap: 24px; padding-right: 24px; }
.marquee-group span { font-family: var(--serif); font-size: 22px; line-height: 1.3; white-space: nowrap; }
.marquee-group i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

.dot-healing { background: var(--lilac); }
.dot-celebrating { background: var(--marigold); }
.dot-new { background: var(--teal); }
.dot-caring { background: var(--earth); }

/* ---------- Steps ---------- */
.step {
  position: relative;
  min-height: 1018px;
  display: flex;
  align-items: center;
  gap: 120px;
  padding: 140px 120px;
  overflow: hidden;
  isolation: isolate;
}
.step .media, .step .scrim { z-index: 0; }
.step > :not(.media):not(.scrim) { position: relative; z-index: 1; }
.step .scrim { background: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,.12) 50%, rgba(0,0,0,.45)); }
.step.reverse { flex-direction: row-reverse; }
.step.reverse .scrim { background: linear-gradient(to left, rgba(0,0,0,0), rgba(0,0,0,.12) 50%, rgba(0,0,0,.45)); }
.step-visual {
  flex: none;
  width: 600px;
  height: 738px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
}
.step.reverse .step-visual { margin-left: 0; margin-right: 10px; }
.step-copy { flex: none; width: 460px; display: flex; flex-direction: column; gap: 24px; }
.step-dot { width: 80px; height: 80px; border-radius: 50%; }
.step h2 { font-family: var(--serif); font-size: 64px; line-height: 1.05; }
.step p { font-size: 20px; line-height: 1.5; }

/* App UI floating on photos: sized in em so it scales per breakpoint */
.ui { font-size: 24px; width: 21.55em; color: var(--ink); }
.claims { display: flex; flex-direction: column; gap: .62em; padding: 0 .25em; }
.claim {
  display: flex;
  align-items: center;
  gap: .75em;
  padding: .87em;
  border-radius: .5em;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.avatar {
  flex: none;
  width: 2.25em;
  height: 2.25em;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 400 1em/1 var(--display);
}
.ui-title { font: 400 1em/1.2 var(--display); }
.ui-sub { font-size: .81em; line-height: 1.4; margin-top: .12em; }

.draft {
  display: flex;
  flex-direction: column;
  gap: .76em;
  padding: 1.02em;
  border-radius: .51em;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.item { display: flex; align-items: center; gap: .76em; }
.item img { width: 2.8em; height: 2.8em; border-radius: .42em; flex: none; }
.item .text { flex: 1; min-width: 0; }
.item .ui-title { font-size: 1.02em; }
.item .ui-sub { font-size: .83em; margin-top: .1em; }
.check {
  flex: none;
  width: 1.54em;
  height: 1.54em;
  border: 0;
  padding: 0;
  border-radius: .385em;
  background: rgba(0, 0, 0, .1);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.check svg { width: 62%; height: auto; opacity: 0; }
.check[aria-checked="true"] { background: var(--blue); }
.check[aria-checked="true"] svg { opacity: 1; }
.looks-good {
  margin-top: .1em;
  height: 2.62em;
  border-radius: 999px;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font: 400 .89em/1 var(--display);
}

.chat { display: flex; flex-direction: column; gap: .67em; padding: 0 .25em; }
.bubble {
  align-self: flex-end;
  width: 17.3em;
  padding: .87em;
  border-radius: 1em 1em .25em 1em;
  background: var(--blue);
  color: var(--paper);
  font-size: 1em;
  line-height: 1.5;
  box-shadow: var(--shadow);
}
.composer {
  display: flex;
  align-items: center;
  gap: .62em;
  padding: .37em .37em .37em 1.12em;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.composer span { flex: 1; line-height: 1.5; }
.mic { flex: none; width: 2.75em; height: 2.75em; border-radius: 50%; background: var(--blue); display: grid; place-items: center; }
.mic svg { width: 1.5em; height: 1.5em; }

/* ---------- Founder ---------- */
.founder {
  position: relative;
  padding: 200px 120px;
  background-color: var(--paper);
  color: var(--ink);
  isolation: isolate;
}
.founder::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 245, 236, .3);
}
.founder::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .16;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAUUlEQVR42u3UMQqAMAwF0N96g95/ELyndcnQVREcfA9CQwIdEkgCAMCftZf/6pWfSabx3phcSzKS7BVjqX9uq/eotc7K195j3YqdGWcGAIAPXTx/Ch+nug2NAAAAAElFTkSuQmCC");
  background-size: 20px 20px;
}
.founder-inner { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.founder-mark { width: 191px; height: auto; }
.founder-story p { font-family: var(--serif); font-size: 28px; line-height: 1.28; }
.founder-story p + p { margin-top: 22px; }
.founder .byline { font-family: var(--mono); font-size: 13px; }

/* ---------- Closing waitlist + footer ---------- */
.closing { background: radial-gradient(ellipse 120% 100% at 50% 0%, var(--maroon-1), var(--maroon-2)); }
.waitlist {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  padding: 200px 120px;
  text-align: center;
}
.waitlist .headline-group { max-width: 900px; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.waitlist h2 { font-family: var(--serif); font-size: 88px; line-height: 1; }
.waitlist .subhead { font-size: 22px; line-height: 1.5; }

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px 120px;
}
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; font-weight: 500; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copyright { font-family: var(--mono); font-size: 12px; }

/* ---------- Tablet ---------- */
@media (max-width: 1280px) {
  .step { gap: 64px; padding: 120px 64px; justify-content: center; }
  .step-visual { width: auto; height: auto; margin: 0 !important; }
  .ui { font-size: clamp(16px, 1.75vw, 24px); }
  .step-copy { width: 420px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .hero { min-height: 802px; }
  .hero video.desktop { display: none; }
  .hero video.mobile { display: block; }
  .hero-content { padding: 160px 20px 100px; }
  .hero-wordmark { width: 180px; }
  .hero h1 { font-size: 64px; }
  .hero h1 br { display: none; }
  .hero .subhead { font-size: 16px; }
  .eyebrow { font-size: 12px; }

  .waitlist-form .row { flex-direction: column; }
  .button { width: 100%; }

  .marquee { height: 48px; }
  .marquee-group span { font-size: 18px; }

  .step, .step.reverse {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    gap: 24px;
    padding: 72px 20px;
  }
  .step .scrim, .step.reverse .scrim { background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.12) 40%, rgba(0,0,0,.45)); }
  .step-visual { height: 405px; }
  .ui { font-size: 13.4px; }
  .step-copy { width: auto; gap: 16px; }
  .step-dot { width: 56px; height: 56px; }
  .step h2 { font-size: 40px; }
  .step p { font-size: 16px; }

  .founder { padding: 120px 20px; }
  .founder-inner { gap: 24px; }
  .founder-mark { width: 120px; }
  .founder .eyebrow { font-size: 12px; }
  .founder-story p { font-size: 20px; }
  .founder-story p + p { margin-top: 16px; }

  .waitlist { padding: 120px 20px; gap: 32px; }
  .waitlist h2 { font-size: 48px; }
  .waitlist .subhead { font-size: 16px; }

  .footer-content { padding: 64px 20px 48px; gap: 28px; align-items: center; }
  .footer-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- Legal pages ---------- */
body.legal { background: var(--paper); color: var(--ink); }
.legal-page { max-width: 680px; margin: 0 auto; padding: 80px 20px 120px; }
.legal-home { display: inline-block; margin-bottom: 48px; }
.legal-page h1 { font-family: var(--serif); font-size: 64px; line-height: 1.05; margin: 12px 0 32px; }
.legal-page h2 { font: 400 20px/1.2 var(--display); margin: 36px 0 8px; }
.legal-page p { font-size: 17px; line-height: 1.6; }
.legal-page p + p { margin-top: 12px; }

/* ---------- Confirmed page ---------- */
.hero.confirmed { min-height: 100vh; min-height: 100svh; }
.hero.confirmed .hero-content { padding-bottom: 96px; }
.confirmed-share { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 16px; }
.confirmed-share > p:first-child { font-size: 17px; line-height: 1.5; }
.confirmed-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }
.button-outline {
  display: inline-flex;
  align-items: center;
  height: 57px;
  padding: 15px 24px;
  border: 2px solid var(--paper);
  border-radius: 999px;
  background: rgba(122, 183, 250, .15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--paper);
  font: 400 16px/1 var(--display);
  text-decoration: none;
}
.button-outline:hover { background: rgba(122, 183, 250, .25); }
#share-status { min-height: 21px; font-size: 15px; }
@media (max-width: 860px) {
  .hero.confirmed .hero-content { padding: 112px 20px 64px; }
  .confirmed-actions { flex-direction: column; width: 100%; }
  .confirmed-actions .button, .button-outline { width: 100%; justify-content: center; }
}

.legal-page .sms-number { font: 400 32px/1.2 var(--serif); margin-top: 24px; }
.legal-page .sms-number a { color: inherit; }
