:root {
  --cream: #FBF6EF;
  --cream-deep: #F4EADC;
  --peach: #F5C9A8;
  --peach-soft: #FCE9DC;
  --coral: #FF9E8F;
  --coral-soft: #FFE3DE;
  --mint: #8FD3C1;
  --mint-soft: #DDF3EC;
  --sky: #6F83B8;
  --sky-soft: #E3E8F5;
  --butter: #FFC857;
  --butter-soft: #FFF1CF;
  --otter: #9C6440;
  --ink: #2F2A3B;
  --ink-soft: #5E5868;
  --line: #E8DDCF;
  --white: #FFFFFF;

  --radius: 20px;
  --radius-small: 12px;
  --shadow: 0 1px 2px rgba(47, 42, 59, 0.04), 0 8px 24px rgba(47, 42, 59, 0.06);
  --max: 1080px;

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }

p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.section { padding: 88px 0; }
.section-tint { background: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--otter);
  margin-bottom: 12px;
}

.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 40em; }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 246, 239, 0.9);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.brand img { width: 32px; height: 32px; border-radius: 8px; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }

/* Buttons */

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: #443C55; }

.btn-soft { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn-soft:hover { background: var(--cream-deep); }

.btn-small { padding: 9px 18px; font-size: 0.9rem; }

.nav-links .btn-primary { color: var(--white); }

/* Hero */

.hero { padding: 72px 0 40px; text-align: center; }

.hero .lead { margin: 0 auto 32px; }

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hero-note { margin-top: 16px; font-size: 0.9rem; color: var(--ink-soft); }

.pill-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }

.pill {
  font-size: 0.85rem;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 500;
}

.pill-mint { background: var(--mint-soft); color: #2C6E5E; }
.pill-peach { background: var(--peach-soft); color: #8A4E2C; }
.pill-sky { background: var(--sky-soft); color: #3E4F80; }
.pill-butter { background: var(--butter-soft); color: #8A6414; }

/* Early access form */

.signup {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.signup input[type="email"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 16px;
  font: inherit;
  color: var(--ink);
  outline: none;
}

.signup:focus-within { border-color: var(--mint); }

.signup button { cursor: pointer; font-family: inherit; }

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

@media (max-width: 480px) {
  .signup { flex-direction: column; border-radius: var(--radius); }
  .signup input[type="email"] { padding: 12px 16px; }
}

/* Screenshot frames: the label shows until the real image is dropped in. */

.shot {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--peach-soft), var(--sky-soft));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.shot::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.shot img,
.shot video {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(47, 42, 59, 0.08), 0 16px 40px rgba(47, 42, 59, 0.14);
}

/* With an image the frame takes the image's own shape (the ratios below only
   size the empty placeholder) and becomes a backdrop around it. The image
   radius also hides the desktop pixels left in the screenshot corners. */
.shot:has(img, video) { aspect-ratio: auto; padding: clamp(16px, 5%, 48px); }
.shot:has(img, video)::before { content: none; }
.shot video { display: block; }

.sound-toggle {
  position: absolute;
  right: clamp(28px, 7%, 64px);
  bottom: clamp(28px, 7%, 64px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(47, 42, 59, 0.78);
  color: var(--white);
  font: 600 0.9rem var(--font-body);
  cursor: pointer;
}
.sound-toggle:hover { background: var(--ink); }
.sound-toggle:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.sound-toggle[aria-pressed="false"] .wave { opacity: 0.35; }

/* Window cropped mid-height: let it run off the bottom of the frame. */
.shot-bleed:has(img) { padding-bottom: 0; }
.shot-bleed img { border-radius: 14px 14px 0 0; }

.shot-hero { max-width: 960px; margin: 56px auto 0; }
.shot-tall { aspect-ratio: 4 / 3; }

.feature.feature-wide { grid-template-columns: 1fr; gap: 40px; }
.feature-wide .shot { max-width: 960px; width: 100%; margin: 0 auto; }

/* Pain cards */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.card p { color: var(--ink-soft); margin: 0; }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 16px;
}

.tint-coral { background: var(--coral-soft); color: #A64B3E; }
.tint-mint { background: var(--mint-soft); color: #2C6E5E; }
.tint-sky { background: var(--sky-soft); color: #3E4F80; }
.tint-butter { background: var(--butter-soft); color: #8A6414; }
.tint-peach { background: var(--peach-soft); color: #8A4E2C; }

/* Card illustrations carry their own tile, so they read on any background. */
.card-art { width: 64px; height: 64px; margin-bottom: 16px; }
.grid-3 .card-art { margin-left: auto; margin-right: auto; }

/* Steps */

.steps { counter-reset: step; }

.step-num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

/* Feature rows */

.feature {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.feature + .feature { margin-top: 96px; }

.feature-flip .feature-text { order: 2; }

.feature ul { list-style: none; padding: 0; margin: 20px 0 0; }

.feature li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--ink-soft);
}

.feature li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mint);
}

/* Ladder */

.ladder { list-style: none; padding: 0; margin: 24px 0 0; }

.ladder li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 16px;
  border-radius: var(--radius-small);
  margin-bottom: 8px;
  color: var(--ink);
}

.ladder li::before { display: none; }

.ladder .rung {
  flex: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  min-width: 56px;
}

.ladder span:last-child { color: var(--ink-soft); }

.rung-0 { background: var(--mint-soft); }
.rung-1 { background: #E7F1E4; }
.rung-2 { background: var(--butter-soft); }
.rung-3 { background: var(--peach-soft); }
.rung-4 { background: var(--coral-soft); }

/* Otter band */

.otter-band {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: center;
  background: var(--mint-soft);
  border-radius: 28px;
  padding: 48px;
}

.otter-band img { width: 240px; }

.otter-band p { color: var(--ink-soft); font-size: 1.1rem; margin: 0; }

/* Privacy */

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.privacy-grid .card h3 { margin-bottom: 6px; }

/* FAQ */

.faq { max-width: 760px; margin: 40px auto 0; }

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  padding: 18px 22px;
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after { content: "+"; color: var(--otter); font-weight: 700; }

.faq details[open] summary::after { content: "-"; }

.faq details p { margin: 12px 0 0; color: var(--ink-soft); }

/* Final CTA */

.cta-box {
  text-align: center;
  background: linear-gradient(135deg, var(--peach-soft), var(--coral-soft) 50%, var(--sky-soft));
  border-radius: 28px;
  padding: 64px 32px;
}

.cta-box .lead { margin: 0 auto 28px; }

.share-link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ink-soft);
  font: 500 0.95rem var(--font-body);
  cursor: pointer;
}
.share-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.share-link:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* Footer */

.footer { padding: 40px 0 56px; color: var(--ink-soft); font-size: 0.9rem; }

.footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer a { text-decoration: none; }
.footer-links a { margin-left: 20px; }
.footer a:hover { color: var(--ink); }

/* Legal pages */

.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.45rem; margin: 2.2em 0 0.6em; }
.legal h3 { margin: 1.6em 0 0.5em; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 0.4em; }
.legal a { color: var(--sky); }
.legal code { font-size: 0.88em; background: var(--cream-deep); padding: 1px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.legal-date { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 32px; }
.legal-summary {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px 12px;
  margin: 32px 0;
}
.legal-summary h2 { margin-top: 0; font-size: 1.2rem; }
.legal-table { overflow-x: auto; margin: 0 0 1.2em; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: var(--white); border-radius: var(--radius-small); overflow: hidden; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--cream-deep); font-weight: 650; }
.legal tr:last-child td { border-bottom: none; }
.privacy-more { margin-top: 32px; }
.privacy-more a { color: var(--sky); }

@media (max-width: 600px) {
  .legal table, .legal tbody, .legal tr, .legal td { display: block; width: 100%; }
  .legal thead { display: none; }
  .legal tr { border-bottom: 1px solid var(--line); padding: 6px 0; }
  .legal td { border-bottom: none; padding: 4px 14px; }
  .legal td:first-child { font-weight: 650; padding-top: 10px; }
}

/* Responsive */

@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .grid-3, .privacy-grid { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature-flip .feature-text { order: 0; }
  .feature + .feature { margin-top: 64px; }
  .otter-band { grid-template-columns: 1fr; text-align: center; padding: 36px 24px; }
  .otter-band img { margin: 0 auto; width: 180px; }
  .nav-links a:not(.btn) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
