/* The homepage ("landing" design). Self-contained: it doesn't use site.css.
   Fonts: Fraunces for headings, Figtree for text. Mobile-first; every row wraps. */

:root {
  --ink: #1b2160;
  --ink-deep: #0e1240;
  --navy: #2e3a8c;
  --text: #3a3f63;
  --muted: #4a4e70;
  --cream: #fff8ec;
  --paper: #fffdf7;
  --line: #f0e1c2;
  --sun: #ffd36e;
  --butter: #ffe9a8;
  --butter-soft: #fff1c7;
  --sky: #e3eafe;
  --sky-soft: #f6f8ff;
  --tomato: #c93e26;
  --tomato-deep: #8f2a18;
  --tomato-text: #a8341f;
  --dot: #e8553d;
  --mint: #bfe3d8;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --shadow-card: 0 18px 36px -14px rgb(27 33 96 / 0.35);
  color-scheme: only light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink);
}

svg.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

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

@media (max-width: 480px) {
  .wrap {
    padding: 0 18px;
  }
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
}

.skip-link:focus {
  top: 12px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.on-dark a:focus-visible,
.on-dark button:focus-visible {
  outline-color: var(--sun);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 30px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 700 18px/1.15 var(--font-body);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--tomato);
  color: #fff;
  box-shadow: 0 5px 0 var(--tomato-deep);
}

.btn-primary:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--tomato-deep);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

.btn-light {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 5px 0 var(--ink-deep);
}

.btn-light:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--ink-deep);
}

.btn-small {
  min-height: 48px;
  padding: 0 22px;
  font-size: 16px;
}

@media (max-width: 480px) {
  .hero-actions .btn,
  .cta-form .btn {
    width: 100%;
  }
}

/* ---------- Header ---------- */

.top-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgb(255 248 236 / 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.top-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.avatar {
  display: block;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sun);
}

.avatar.teddy {
  background: var(--mint);
}

.avatar svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand .avatar {
  width: 46px;
  height: 46px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 4px;
}

.nav-links a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Phones: the links fold into a small menu next to "Try free". */
.nav-menu {
  position: relative;
}

.nav-menu summary {
  list-style: none;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
}

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

.nav-menu-list {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  display: grid;
  min-width: 220px;
  padding: 10px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.nav-menu-list a {
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}

.nav-menu-list a:hover {
  background: var(--cream);
}

/* Seven links need a little more room than the old six, so they show from 1100px. */
@media (min-width: 1100px) {
  .nav-links {
    display: flex;
  }

  .nav-menu {
    display: none;
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 24px;
  }

  .nav-end {
    gap: 8px;
  }

  .nav-end .btn-small {
    padding: 0 16px;
    white-space: nowrap;
  }
}

/* The smallest phones (320px): a slightly smaller logo keeps "Try free" on one line. */
@media (max-width: 360px) {
  .brand {
    gap: 8px;
  }

  .brand .avatar {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 22px;
  }

  .nav-end .btn-small {
    padding: 0 14px;
  }

  .nav-menu summary {
    padding: 0 12px;
  }
}

/* ---------- Shared section bits ---------- */

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.band-white {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band-sky {
  background: var(--sky);
}

.band-butter {
  background: var(--butter);
}

.eyebrow {
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tomato);
}

.band-sky .eyebrow,
.band-butter .eyebrow {
  color: var(--tomato-text);
}

.section-title {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.08;
}

.lede {
  margin-top: 22px;
  font-size: clamp(19px, 2vw, 21px);
  color: var(--text);
}

.band-sky .lede,
.band-butter .lede {
  color: #33386a;
}

.center {
  text-align: center;
  max-width: 740px;
  margin: 0 auto;
}

/* Two columns that stack on phones. */
.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px 72px;
}

.split > * {
  flex: 1 1 440px;
  min-width: 0;
}

.split > .narrow-col {
  flex: 1 1 360px;
}

@media (max-width: 560px) {
  .split > * {
    flex-basis: 100%;
  }
}

.lift {
  transition: transform 0.2s, box-shadow 0.2s;
}

.lift:hover {
  transform: translateY(-4px);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(36px, 6vw, 84px) 0 clamp(56px, 7vw, 104px);
}

.hero .split {
  gap: 56px;
}

.hero-copy {
  flex: 1 1 460px;
}

.hero-art-col {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 8px 18px 8px 14px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.pill .icon {
  color: var(--tomato);
}

.hero h1 {
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--navy);
  font-weight: 600;
}

.hero-intro {
  max-width: 540px;
  margin-top: 22px;
  font-size: clamp(19px, 1.9vw, 22px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* "Hear Dottie": her real hello, right where people decide. Bars move while she speaks. */
.hero-listen .bars {
  display: none;
  height: 20px;
}
.hero-listen.playing .play-icon {
  display: none;
}
.hero-listen.playing .bars {
  display: flex;
}
.hero-listen.playing .bars span {
  animation: bar 0.9s ease-in-out infinite;
}
.hero-listen.playing .bars span:nth-child(2) { animation-delay: 0.15s; }
.hero-listen.playing .bars span:nth-child(3) { animation-delay: 0.3s; }
.hero-listen.playing .bars span:nth-child(4) { animation-delay: 0.45s; }
.hero-listen.playing .bars span:nth-child(5) { animation-delay: 0.6s; }

.hero-note {
  margin-top: 18px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--muted);
}

/* The picture: the real companion screen on a tablet, so it's clear at a glance that
   this is one big face you talk to, not a chat app. */
.hero-art-col {
  margin: 0;
}

.device {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 14px;
  border-radius: 40px;
  background: var(--ink);
  box-shadow: 0 36px 60px -28px rgb(27 33 96 / 0.6);
}

.device-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 18px 18px 16px;
  border-radius: 28px;
  background: radial-gradient(120% 60% at 50% 0%, var(--butter-soft), transparent 70%), var(--cream);
  color: var(--ink);
  text-align: center;
}

.app-top {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: space-between;
}

.app-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.app-time-ring {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: conic-gradient(var(--navy) 0 70%, var(--line) 70% 100%);
  -webkit-mask: radial-gradient(circle, transparent 6px, #000 7px);
  mask: radial-gradient(circle, transparent 6px, #000 7px);
}

.app-menu {
  display: flex;
  gap: 4px;
  padding: 6px;
}

.app-menu i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}

.app-greet {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
}

.app-face {
  position: relative;
  width: 62%;
  aspect-ratio: 1;
  margin: 6px 0;
  border-radius: 50%;
  background: var(--sun);
}

.app-face svg {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* Sound rings: she's speaking out loud. */
.app-wave {
  position: absolute;
  inset: 0;
  border: 3px solid var(--sun);
  border-radius: 50%;
  animation: ring 2.4s ease-out infinite;
}

.app-wave-2 {
  animation-delay: 1.2s;
}

@keyframes ring {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.32); opacity: 0; }
}

.app-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 2vw, 22px);
  color: var(--navy);
}

.app-status .bars {
  height: 20px;
}

.app-status .bars span {
  height: 18px;
  background: var(--navy);
}

.app-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-self: stretch;
}

.app-action {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 10px 4px 8px;
  border: 2px solid color-mix(in srgb, var(--tile) 35%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--tile) 9%, #fff);
  box-shadow: 0 3px 0 color-mix(in srgb, var(--tile) 45%, transparent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.app-action-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tile);
}

.app-action-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.app-bottom {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}

.app-sos {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px 5px 10px;
  border: 2px solid #b8341c;
  border-radius: 999px;
  background: #fbeeea;
  color: #b8341c;
  font-size: 12px;
  font-weight: 700;
}

.app-sos svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.app-ai {
  font-size: 12px;
  color: var(--muted);
}

.device-caption {
  max-width: 440px;
  margin-top: 20px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  text-align: center;
}

/* Phones: headline, then the screen straight away, then the buttons. The header's
   "Try free" stays in reach the whole time, so the picture can come first. */
@media (max-width: 560px) {
  .hero {
    padding-top: 24px;
  }
  .hero .split {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
  }
  .hero-copy {
    display: contents;
  }
  .pill {
    align-self: flex-start;
    margin-bottom: 20px;
  }
  .hero-art-col {
    flex: none;
    order: 1;
    margin-top: 28px;
  }
  .hero-actions {
    order: 2;
    margin-top: 28px;
  }
  .hero-note {
    order: 3;
  }
  .hero-actions .btn {
    flex: 1 1 auto;
  }
  .device {
    max-width: 340px;
    margin: 0 auto;
    padding: 10px;
    border-radius: 34px;
  }
  .device-screen {
    gap: 12px;
    padding: 14px 12px 12px;
    border-radius: 26px;
  }
  .device-caption {
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
  }
  .app-action {
    font-size: 12px;
  }
  .app-ai {
    font-size: 11px;
  }
}


/* Voice bars, for "listening" and the voice samples. */
.bars {
  display: flex;
  flex: none;
  align-items: center;
  gap: 3px;
  height: 24px;
}

.bars span {
  display: block;
  width: 5px;
  height: 22px;
  border-radius: 3px;
  background: var(--tomato);
  transform-origin: center;
  animation: bar 1.1s ease-in-out infinite;
}

.bars span:nth-child(2) { animation-delay: 0.15s; }
.bars span:nth-child(3) { animation-delay: 0.3s; }
.bars span:nth-child(4) { animation-delay: 0.45s; }
.bars span:nth-child(5) { animation-delay: 0.6s; }

@keyframes bar {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}


/* ---------- Why: three reasons ---------- */

.round-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--butter);
  color: var(--ink);
}

.round-icon.sky {
  background: var(--sky);
}

/* One column until all three fit side by side, so one never sits alone on a row. */
.reason-list {
  display: grid;
  gap: 22px;
  max-width: 640px;
  margin: 52px auto 0;
}

@media (min-width: 900px) {
  .reason-list {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
  }
}

.reason {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px 18px;
  padding: 28px 26px;
  border-radius: 28px;
  background: var(--cream);
}

.reason h3 {
  font-size: 24px;
  line-height: 1.2;
}

.reason p {
  grid-column: 1 / -1;
  font-size: 18px;
  line-height: 1.55;
}

.reason-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--butter);
  color: var(--ink);
}

.reason-icon.sky {
  background: var(--sky);
}

@media (max-width: 480px) {
  .reason-list {
    gap: 14px;
    margin-top: 36px;
  }
  .reason {
    padding: 22px 20px;
  }
  .reason h3 {
    font-size: 22px;
  }
}

/* ---------- A day with Dottie: one spoken line per time of day ---------- */

/* One, two or four across: never three and a straggler. */
.moments {
  display: grid;
  gap: 20px;
  margin-top: 52px;
}

@media (min-width: 560px) {
  .moments {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .moments {
    grid-template-columns: repeat(4, 1fr);
  }
}

.moment {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 24px 26px;
  border: 2px solid var(--line);
  border-radius: 28px;
  background: var(--cream);
}

.moment-time {
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

.moment h3 {
  font-size: 22px;
  line-height: 1.2;
}

.moment-says {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink);
}

.moment-says .icon {
  margin-top: 3px;
  color: var(--tomato);
}

@media (max-width: 480px) {
  .moments {
    gap: 14px;
    margin-top: 36px;
  }
  .moment {
    padding: 20px 20px 22px;
  }
}

/* ---------- Dottie or Teddy ---------- */

.voices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 28px;
  max-width: 960px;
  margin: 56px auto 0;
}

.voice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 440px;
  padding: 32px 28px 28px;
  border: 4px solid transparent;
  border-radius: 36px;
  background: var(--sky-soft);
  color: var(--ink);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.voice:hover {
  transform: translateY(-4px);
}

.voice[aria-pressed="true"] {
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 12px 0 -2px var(--ink);
  transform: none;
}

.voice .avatar {
  width: min(190px, 52vw);
  height: min(190px, 52vw);
}

.voice[aria-pressed="false"] .avatar {
  opacity: 0.9;
}

.voice-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
}

.voice-kind {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
}

.voice-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 12px 22px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
}

.voice-play svg {
  fill: currentColor;
}

.voice-line {
  display: none;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: auto;
  padding: 14px 20px;
  border-radius: 22px;
  background: var(--butter-soft);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
  text-align: left;
}

.voice[aria-pressed="true"] .voice-line {
  display: flex;
}

.voice[aria-pressed="true"] .voice-play {
  display: none;
}

/* The bars only move while the sample is actually playing. */
.voice .bars span {
  animation-play-state: paused;
}

.voice.playing .bars span {
  animation-play-state: running;
}

@media (max-width: 560px) {
  .voice {
    min-height: 0;
    padding: 26px 20px 22px;
  }
}

/* ---------- How it works ---------- */

.how {
  background: var(--ink);
  color: #fff;
}

.how .eyebrow {
  color: var(--sun);
}

.how .section-title {
  color: #fff;
}

.how .split {
  align-items: flex-start;
}

.facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 22px;
  margin: 34px 0 0;
  font-size: 18px;
}

.facts dt {
  color: #b9c1f5;
  font-weight: 600;
}

.facts dd {
  margin: 0;
  color: #fff;
}

.needs {
  margin-top: 34px;
  padding: 24px 26px;
  border-radius: 24px;
  background: rgb(255 255 255 / 0.08);
}

.needs-title {
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sun);
}

.needs ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 18px;
}

.needs li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.needs .icon {
  color: var(--sun);
  stroke-width: 2.4;
}

.how .btn-light {
  margin-top: 36px;
}

.steps {
  display: flex;
  flex: 1.3 1 460px;
  flex-direction: column;
  gap: 20px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 30px;
  border-radius: 28px;
  background: #fff;
  color: var(--text);
}

.step-number {
  flex: none;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 56px;
  line-height: 0.9;
  color: var(--tomato);
}

.step h3 {
  font-size: 24px;
  line-height: 1.2;
}

.step p {
  margin-top: 8px;
  font-size: 18px;
}

.step-last {
  background: var(--sun);
  color: var(--ink);
}

.step-last .step-number {
  color: var(--ink);
}

@media (max-width: 480px) {
  .step {
    gap: 16px;
    padding: 22px 20px;
  }

  .step-number {
    font-size: 44px;
  }
}

/* ---------- Features ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 24px;
  margin-top: 56px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 34px 30px;
  border: 2px solid var(--line);
  border-radius: 32px;
  background: #fff;
}

.card h3 {
  font-size: 26px;
  line-height: 1.15;
}

.card p {
  font-size: 18px;
}

.card a {
  font-weight: 700;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: var(--butter);
  color: var(--ink);
}

.card-icon.sky {
  background: var(--sky);
}

/* Phones: icon beside the title, so six cards don't take six screens. */
@media (max-width: 560px) {
  .cards {
    gap: 14px;
    margin-top: 36px;
  }
  .card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px 16px;
    padding: 22px 20px;
    border-radius: 26px;
  }
  .card h3 {
    font-size: 22px;
  }
  .card p {
    grid-column: 1 / -1;
  }
  .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }
}

/* ---------- Family and story book (phone mock-ups) ---------- */

.points {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 32px;
}

.points li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.points h3 {
  font-size: 22px;
  line-height: 1.2;
}

.points p {
  margin-top: 4px;
  font-size: 17px;
}

.points .round-icon {
  width: 44px;
  height: 44px;
}

.points .tick {
  margin-top: 2px;
  color: var(--ink);
  stroke-width: 2.6;
}

.band-butter .points p {
  color: #33386a;
}

.phone-col {
  display: flex;
  justify-content: center;
}

.phone-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
}

/* Says whose screen it is: the family's phone, not the companion they talk to. */
.mock-label {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
}

.phone-backdrop {
  position: absolute;
  inset: 6% -8% -6% 8%;
  border-radius: 48px;
  background: var(--butter);
}

.phone {
  position: relative;
  padding: 14px;
  border-radius: 44px;
  background: var(--ink);
  box-shadow: 0 36px 60px -28px rgb(27 33 96 / 0.6);
  transform: rotate(2deg);
}

.phone.tilt-left {
  transform: rotate(-2.5deg);
}

.phone-screen {
  min-height: 500px;
  padding: 26px 22px 24px;
  border-radius: 32px;
  background: var(--paper);
}

.phone-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.phone-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--ink);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ddf3e6;
  color: #14573a;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1e8a5a;
}

.mini-card {
  margin-top: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.mini-card:first-of-type {
  margin-top: 20px;
}

.mini-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5b5f80;
}

.mini-label.warm {
  color: var(--tomato-text);
}

.mini-big {
  margin-top: 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
}

.mini-card p {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
}

.mini-card .quote {
  margin-top: 6px;
  font-style: italic;
  font-size: 15px;
  color: var(--text);
}

.meter {
  height: 10px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.meter span {
  display: block;
  width: 46%;
  height: 100%;
  border-radius: 999px;
  background: var(--navy);
}

.story-split {
  flex-wrap: wrap-reverse;
}

.story-split .btn {
  margin-top: 36px;
}

@media (max-width: 480px) {
  .phone,
  .phone.tilt-left {
    transform: none;
  }

  .phone-backdrop {
    display: none;
  }

  .phone-screen {
    min-height: 0;
  }
}

/* ---------- Promises (notepaper) ---------- */

.promises-col {
  display: flex;
  justify-content: center;
}

.notepaper {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 56px 36px 40px 76px;
  border-radius: 10px;
  background: var(--paper);
  /* Ruled lines every 42px, lined up with the text (also 42px per line). */
  background-image: repeating-linear-gradient(transparent 0, transparent 41px, #cfd9f5 41px, #cfd9f5 42px);
  background-position: 0 44px;
  box-shadow: 0 28px 50px -26px rgb(27 33 96 / 0.45);
  transform: rotate(-1.5deg);
}

.notepaper::before {
  /* The red margin line. */
  content: "";
  position: absolute;
  left: 52px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #f0a79b;
}

.notepaper::after {
  /* A bit of tape. */
  content: "";
  position: absolute;
  left: 50%;
  top: -16px;
  width: 110px;
  height: 32px;
  background: var(--sun);
  opacity: 0.9;
  transform: translateX(-50%) rotate(-3deg);
}

.notepaper h3 {
  font-size: 30px;
  line-height: 42px;
}

.notepaper ul {
  margin-top: 0;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 42px;
  font-weight: 500;
  color: var(--ink);
}

.notepaper .signature {
  font-style: italic;
  font-size: 24px;
  color: var(--navy);
}

.safety-copy .btn {
  margin-top: 32px;
}

@media (max-width: 560px) {
  .notepaper {
    padding: 48px 20px 32px 56px;
    background-position: 0 36px;
    transform: none;
  }

  .notepaper::before {
    left: 38px;
  }

  .notepaper h3 {
    font-size: 25px;
  }

  .notepaper ul {
    font-size: 18px;
    line-height: 42px;
  }
}

/* ---------- Pricing ---------- */

.highlight {
  background: linear-gradient(transparent 62%, var(--sun) 62%);
}

/* Stacked, or all three in a row: a lone card on its own row looked like an afterthought. */
.prices {
  display: grid;
  gap: 24px;
  align-items: stretch;
  max-width: 560px;
  margin: 56px auto 0;
}

@media (min-width: 900px) {
  .prices {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: none;
  }
}

.price {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 32px;
  border: 2px solid var(--line);
  border-radius: 32px;
  background: #fff;
}

.price h3 {
  font-size: 28px;
}

.amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.amount strong {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.amount span,
.price-note {
  font-size: 17px;
  color: var(--muted);
}

.price ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 12px;
  font-size: 18px;
}

.price li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.price li .icon {
  margin-top: 4px;
  color: var(--tomato);
  stroke-width: 2.6;
}

.price .btn {
  margin-top: auto;
}

.price-featured {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 0 -2px var(--ink-deep);
}

.price-featured h3,
.price-featured .amount strong {
  color: #fff;
}

.price-featured .amount span,
.price-featured .price-note {
  color: #d6dbff;
}

.price-featured li .icon {
  color: var(--sun);
}

.price-tag {
  position: absolute;
  top: -16px;
  left: 32px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prices-footnote {
  margin-top: 28px;
  font-size: 16px;
  color: var(--muted);
  text-align: center;
}

/* ---------- FAQ ---------- */

.faq .split {
  align-items: flex-start;
  gap: 48px 72px;
}

.faq-intro {
  flex: 1 1 320px;
}

.faq-intro .section-title {
  font-size: clamp(34px, 4.2vw, 52px);
}

.faq-intro p {
  margin-top: 20px;
}

.faq-list {
  display: flex;
  flex: 2 1 520px;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 24px;
  background: var(--cream);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 22px 26px;
  list-style: none;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
}

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

.faq-toggle {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
}

/* A plus that becomes a minus. */
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2.6px;
  border-radius: 2px;
  background: #fff;
  transform: translate(-50%, -50%);
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-toggle::after {
  display: none;
}

.faq-item p {
  max-width: 680px;
  padding: 0 26px 24px;
  font-size: 18px;
  line-height: 1.6;
}

.faq-more {
  margin-top: 8px;
  font-weight: 700;
}

@media (max-width: 480px) {
  .faq-item summary {
    padding: 18px 18px;
    font-size: 18px;
  }

  .faq-item p {
    padding: 0 18px 20px;
  }
}

/* ---------- Final call to action ---------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 112px) 0;
  background: var(--sun);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--dot) 2.4px, transparent 2.8px);
  background-size: 22px 22px;
  opacity: 0.25;
}

.cta .wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-faces {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 10px;
}

.cta-faces .avatar {
  width: clamp(104px, 16vw, 150px);
  height: clamp(104px, 16vw, 150px);
  border: 5px solid var(--sun);
  background: var(--cream);
}

.cta-faces .avatar.teddy {
  margin-left: -22px;
  background: var(--mint);
}

.cta h2 {
  max-width: 820px;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.cta-lede {
  max-width: 620px;
  margin-top: 20px;
  font-size: clamp(19px, 2vw, 23px);
  color: var(--ink);
}

.cta-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 600px;
  margin-top: 36px;
}

.cta-field {
  flex: 1 1 280px;
  min-width: 0;
  text-align: left;
}

.cta-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.cta-field input {
  width: 100%;
  min-height: 60px;
  padding: 0 26px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  font: 600 18px var(--font-body);
  color: var(--ink);
}

.cta-form .btn {
  align-self: flex-end;
  min-height: 60px;
}

.cta-note {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Footer ---------- */

.foot {
  padding: 64px 0 40px;
  background: var(--cream);
}

.foot-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px 48px;
}

.foot-brand {
  flex: 1 1 220px;
  max-width: 260px;
}

.foot-brand p {
  margin-top: 14px;
  font-size: 16px;
}

.foot-links {
  display: grid;
  flex: 3 1 560px;
  grid-template-columns: repeat(auto-fit, minmax(min(136px, 100%), 1fr));
  gap: 32px 20px;
  min-width: 0;
}

.foot-links h2 {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.foot-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-links a {
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
}

.foot-links a:hover {
  text-decoration: underline;
}

.foot-legal {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 2px dotted var(--dot);
}

.foot-legal p {
  max-width: 820px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.foot-legal p + p {
  margin-top: 12px;
}

.foot-legal a {
  color: inherit;
}

@media (max-width: 560px) {
  .foot-links {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Less motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .bars span,
  .app-wave {
    animation: none;
  }

  .app-wave {
    opacity: 0;
  }

  .lift,
  .btn,
  .voice {
    transition: none;
  }
}

/* "Giving Dottie this Christmas?", under the prices. */
.gift-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  max-width: 980px;
  margin: 36px auto 0;
  padding: 24px 28px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}
.gift-strip-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--butter);
  color: var(--tomato);
}
.gift-strip-text {
  flex: 1 1 320px;
}
.gift-strip-text h3 {
  margin: 0 0 4px;
  font-size: 24px;
  color: var(--ink);
}
.gift-strip-text p {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}
@media (max-width: 560px) {
  .gift-strip {
    padding: 22px 20px;
  }
  .gift-strip .btn {
    width: 100%;
  }
}
