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

:root {
  --cream: #faf3e8;
  --cream-deep: #f3ead9;
  --card: #fffdfa;
  --border: #e8decc;
  --forest: #1f4d2e;
  --forest-deep: #16381f;
  --sage: #8fae8b;
  --sage-soft: #eaf1e7;
  --orange: #f0a431;
  --coral: #d85852;
  --ink: #2b2b26;
  --ink-muted: #6e6a5e;
  --ink-faint: #746f64;
  --cta: #5e7f58;
  --cta-press: #4f6c4a;
  --shadow: 0 14px 42px rgba(53, 42, 26, 0.12);
  --container: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(100%, var(--container)); margin-inline: auto; padding-inline: 28px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 14px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--forest);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

h1, h2, h3 {
  color: var(--forest);
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.06;
}
h1 { font-size: clamp(3.2rem, 6.2vw, 5.35rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.65rem, 2.8vw, 2.2rem); }
p { color: var(--ink-muted); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--cream) 97%, #fff);
  transition: border-color 180ms ease;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--forest);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.site-header .wordmark { min-height: 44px; }
.brand-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 11px;
  box-shadow: 0 4px 14px rgba(53, 42, 26, 0.12);
  object-fit: cover;
}
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  background: var(--cta);
  color: #fff;
  cursor: pointer;
  font: 800 1rem/1 "Nunito", sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, transform 120ms ease;
}
.btn:hover { background: var(--cta-press); }
.btn:active { transform: translateY(1px); }
.btn-small { min-height: 42px; padding: 10px 20px; font-size: 0.94rem; }
.btn-secondary { background: var(--sage-soft); color: var(--forest); }
.btn-secondary:hover { background: var(--cream-deep); }
.btn[disabled] { cursor: wait; opacity: 0.62; }

.hero { padding: clamp(58px, 8vw, 104px) 0 clamp(72px, 9vw, 122px); }
.hero-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(40px, 5.5vw, 82px);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 8.5ch; }
.lede {
  max-width: 25em;
  margin: 26px 0 32px;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.55;
}
.launch-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 800;
}
.launch-note span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #79bc61;
}

.waitlist-form .field-row {
  display: flex;
  width: min(100%, 520px);
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(53, 42, 26, 0.08);
}
.waitlist-form .field-row:focus-within { border-color: var(--sage); }
.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 650 1rem/1.2 "Nunito", sans-serif;
  padding: 10px 10px 10px 18px;
}
.waitlist-form input[type="email"]::placeholder { color: var(--ink-faint); }
.waitlist-form input[type="email"]:focus { outline: 0; }
.waitlist-form input[aria-invalid="true"] { color: #9f3936; }
.hp { position: absolute; left: -9999px; width: 0; height: 0; opacity: 0; }
.form-note { margin-top: 11px; color: var(--ink-faint); font-size: 0.86rem; }
.form-error { margin-top: 10px; color: #a43f3b; font-size: 0.92rem; font-weight: 800; }

.success-card {
  max-width: 520px;
  padding: 24px 26px;
  border: 1px solid #cfddcb;
  border-radius: 20px;
  background: var(--sage-soft);
}
.success-title { color: var(--forest); font-size: 1.25rem; font-weight: 850; }
.success-body { margin: 5px 0 16px; }
.success-position { color: var(--forest); }

.hero-devices {
  position: relative;
  min-height: 690px;
}
.device {
  position: absolute;
  overflow: hidden;
  border: 9px solid #1b1b1d;
  border-radius: 49px;
  background: #1b1b1d;
  box-shadow: var(--shadow);
}
.device img { width: 100%; height: auto; border-radius: 39px; }
.device-home {
  left: 8%;
  top: 0;
  width: min(305px, 48%);
  transform: rotate(-1.8deg);
}
.device-kids {
  right: 2%;
  top: 42px;
  width: min(300px, 47%);
  transform: rotate(2.2deg);
}

.story { border-top: 1px solid var(--border); }
.story-intro {
  max-width: 720px;
  padding-top: clamp(68px, 8vw, 104px);
  padding-bottom: 18px;
}
.story-intro > p:not(.kicker):not(.story-hint) { margin-top: 16px; font-size: 1.08rem; }
.story-nav {
  display: inline-flex;
  gap: 6px;
  margin-top: 26px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
}
.story-nav a {
  min-width: 96px;
  border-radius: 999px;
  padding: 9px 18px;
  color: var(--ink-muted);
  font-size: 0.92rem;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}
.story-nav a:hover { color: var(--forest); }
.story-nav a[aria-current="step"] { background: var(--forest); color: #fff; }
.story-hint { margin-top: 10px; color: var(--ink-faint); font-size: 0.84rem; }
.kicker {
  margin-bottom: 12px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.story-steps { padding-bottom: clamp(58px, 7vw, 88px); }
.story-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 86px;
  padding-block: clamp(52px, 6vw, 76px);
}
.story-step:last-child { border-bottom: 0; }
.story-step-reverse .story-media { order: 2; }
.story-step-reverse .story-copy { order: 1; }
.story-media { display: flex; justify-content: center; }
.story-copy { max-width: 430px; }
.story-copy .kicker { margin-top: 8px; color: var(--ink-faint); }
.story-copy h3 { margin-bottom: 18px; }
.story-copy > p:not(.kicker) { font-size: 1.04rem; }
.step-number {
  display: block;
  color: var(--sage);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.fine-print { margin-top: 16px; color: var(--ink-faint); font-size: 0.88rem !important; }

.product-screen {
  display: block;
  width: min(280px, 100%);
  overflow: hidden;
  border: 7px solid #1b1b1d;
  border-radius: 39px;
  padding: 0;
  background: #1b1b1d;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  transition: box-shadow 180ms ease, transform 180ms ease;
}
.product-screen:hover { box-shadow: 0 20px 54px rgba(53, 42, 26, 0.18); transform: translateY(-3px); }
.product-screen img { width: 100%; height: auto; }

.screen-dialog {
  inset: 0;
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  overflow: hidden;
  overscroll-behavior: contain;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 0;
  background: var(--card);
  box-shadow: 0 30px 90px rgba(24, 33, 24, 0.3);
}
.screen-dialog::backdrop { background: rgba(18, 32, 22, 0.72); }
.screen-dialog-bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--border);
  padding: 12px 14px 12px 20px;
  background: var(--card);
}
.screen-dialog-bar p { color: var(--forest); font-weight: 850; }
.screen-dialog-close {
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--cream);
  color: var(--forest);
  cursor: pointer;
  font: 800 0.9rem/1 "Nunito", sans-serif;
}
.screen-dialog > img {
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 98px);
  object-fit: contain;
  object-position: top;
}

.family-band { background: var(--forest); padding: clamp(64px, 8vw, 100px) 0; }
.family-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
}
.family-copy .kicker { color: #f4bc61; }
.family-copy h2 { color: #fff; }
.family-copy > p:not(.kicker) { margin-top: 20px; color: #dce8d9; font-size: 1.08rem; }
.family-points { margin-top: 26px; list-style: none; }
.family-points li {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding: 12px 0;
  color: #f7f9f5;
  font-weight: 750;
}
.family-photo {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  background: var(--cream-deep);
}
.family-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.questions { padding: clamp(72px, 9vw, 120px) 0; }
.questions-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: start;
  gap: clamp(52px, 8vw, 112px);
}
.faq-column h2 { max-width: 12ch; margin-bottom: 32px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary {
  cursor: pointer;
  padding: 17px 4px;
  color: var(--ink);
  font-weight: 850;
}
.faq-list summary::marker { color: var(--sage); }
.faq-list details p { padding: 0 28px 18px 4px; font-size: 0.95rem; }
.faq-list a { color: var(--forest); font-weight: 800; }

.join-panel {
  position: sticky;
  top: 106px;
  border-left: 1px solid var(--border);
  padding: 6px 0 8px clamp(36px, 5vw, 70px);
}
.join-panel h2 { margin-bottom: 18px; }
.join-panel > p:not(.kicker) { margin-bottom: 26px; }
.join-panel .waitlist-form .field-row { flex-direction: column; border-radius: 22px; padding: 9px; }
.join-panel .waitlist-form input[type="email"] { padding: 13px 12px; text-align: center; }
.join-panel .waitlist-form .btn { width: 100%; }

.site-footer { border-top: 1px solid var(--border); padding: 38px 0 28px; }
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-tag { margin-top: 3px; color: var(--ink-faint); font-size: 0.9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer-links a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}
.footer-links a:hover { color: var(--forest); }
.footer-copy { margin-top: 24px; color: var(--ink-faint); font-size: 0.8rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 940px) {
  .hero-grid, .family-grid, .questions-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 660px; }
  .hero-copy h1 { max-width: 10ch; }
  .hero-devices { width: min(620px, 100%); min-height: 690px; margin-inline: auto; }
  .story-step { grid-template-columns: 1fr; min-height: 0; }
  .story-step-reverse .story-media, .story-step-reverse .story-copy { order: initial; }
  .story-copy { max-width: 620px; }
  .family-copy { max-width: 650px; }
  .join-panel { position: static; border-left: 0; border-top: 1px solid var(--border); padding: 42px 0 0; }
  .join-panel .waitlist-form .field-row { max-width: 520px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding-inline: 24px; }
  .header-inner { min-height: 60px; }
  .wordmark { font-size: 1.48rem; }
  .footer-links { column-gap: 14px; }
  .hero { padding-top: 42px; }
  .hero-copy h1 { font-size: clamp(3rem, 15vw, 4rem); }
  .waitlist-form .field-row { flex-direction: column; border-radius: 22px; padding: 9px; }
  .waitlist-form input[type="email"] { padding: 13px 12px; text-align: center; }
  .waitlist-form .btn { width: 100%; }
  .hero-devices { min-height: 475px; margin-top: 12px; }
  .device { border-width: 7px; border-radius: 37px; }
  .device img { border-radius: 29px; }
  .device-home { left: 0; width: 58%; }
  .device-kids { right: 0; top: 28px; width: 57%; }
  .story-intro { padding-top: 66px; }
  .story-nav { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .story-nav a { min-width: 0; padding-inline: 10px; }
  .story-step { gap: 36px; padding-block: 54px; }
  .story-media { justify-content: flex-start; }
  .product-screen { width: min(276px, 88%); border-width: 6px; border-radius: 36px; }
  .family-band { padding-block: 62px; }
  .family-grid { gap: 36px; }
  .family-photo { aspect-ratio: 4 / 3; }
  .family-photo img { object-position: 82% center; }
  .questions { padding-block: 68px; }
  .questions-grid { gap: 52px; }
  .faq-column h2 { max-width: 14ch; }
}
