/* =========================================================================
   diapr.ai: marketing site
   Warm, rounded, confidence-building. Palette led by the logo text colors:
   80% soft warm neutrals · 15% coral/orange energy · 5% sky-blue accent.
   ========================================================================= */

:root {
  /* brand: bright values are for FILLS / large display; *-ink for text on light */
  --coral: #ff6b57;
  --coral-ink: #c43a28; /* coral as text (5.2:1 on white) */
  --orange: #ff9a4d;
  --amber: #ffb15e;
  --amber-ink: #b4651a; /* amber/peach as text (4.6:1 on white) */
  --sky-400: #69d6ff;
  --sky-500: #3dbaf5;
  --sky-ink: #176a98; /* sky as text/link (5.9:1 on white) */

  /* surfaces */
  --bg-app: #fff8f4;
  --bg: #fff8f4;
  --surface: #ffffff;
  --surface-soft: #fff1e8;
  --surface-warm: #ffe7d6;
  --border-soft: #f6d8c8;
  --border-strong: #e9c2aa;

  /* text */
  --t-strong: #3a261e;
  --t-body: #6b4b3e;
  --t-muted: #7d5d50; /* AA-safe (5.7:1 on bg); was #9a7b6e (3.7:1) */
  --t-on-brand: #ffffff;

  --success: #5bcb8a;

  /* gradients */
  --grad-warm: linear-gradient(135deg, #ff6b57 0%, #ff9a4d 100%);
  --grad-warm-soft: linear-gradient(135deg, #ffb15e 0%, #ff6b57 100%);
  --grad-sky: linear-gradient(135deg, #69d6ff 0%, #3dbaf5 100%);
  /* deeper variants so white labels / gradient display text clear WCAG */
  --grad-btn: linear-gradient(135deg, #f0573f 0%, #d9772a 100%);
  --grad-text: linear-gradient(135deg, #ee5a44 0%, #d9772a 100%);

  /* shadows: warm-tinted, soft */
  --sh-sm: 0 2px 8px rgba(58, 38, 30, 0.06);
  --sh-md: 0 14px 34px -12px rgba(255, 107, 87, 0.22), 0 6px 14px -8px rgba(58, 38, 30, 0.12);
  --sh-lg: 0 40px 80px -30px rgba(255, 107, 87, 0.34), 0 18px 40px -22px rgba(58, 38, 30, 0.18);
  --sh-phone: 0 50px 90px -40px rgba(58, 38, 30, 0.45), 0 24px 50px -28px rgba(255, 107, 87, 0.28);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --r-pill: 999px;

  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, sans-serif;
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* keep in-page anchor targets clear of the sticky header (~66px) */
  scroll-padding-top: 84px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--t-body);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--t-strong);
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
a {
  color: var(--sky-ink);
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}

.wrap {
  width: min(100% - 40px, var(--maxw));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--surface);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  z-index: 999;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- ambient background ---------- */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}
.blob-1 {
  width: 540px;
  height: 540px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(255, 154, 77, 0.55), transparent 70%);
}
.blob-2 {
  width: 460px;
  height: 460px;
  top: 38%;
  left: -160px;
  background: radial-gradient(circle, rgba(105, 214, 255, 0.4), transparent 70%);
}
.blob-3 {
  width: 520px;
  height: 520px;
  bottom: -160px;
  right: 6%;
  background: radial-gradient(circle, rgba(255, 107, 87, 0.32), transparent 70%);
}
.grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(58, 38, 30, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.6;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  border-radius: var(--r-pill);
  padding: 14px 26px;
  font-size: 16px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
  text-align: center;
}
.btn-sm {
  padding: 10px 20px;
  font-size: 15px;
}
.btn-primary {
  background: var(--grad-btn);
  color: var(--t-on-brand);
  box-shadow: 0 10px 22px -8px rgba(255, 107, 87, 0.6);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -8px rgba(255, 107, 87, 0.72);
  filter: saturate(1.06);
}
.btn-light {
  background: #fff;
  color: var(--coral-ink);
  box-shadow: var(--sh-md);
}
.btn-light:hover {
  transform: translateY(-2px);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s;
  padding: 14px 0;
}
.site-header.scrolled {
  background: rgba(255, 248, 244, 0.82);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(233, 194, 170, 0.55), var(--sh-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand-logo {
  height: 38px;
  width: auto;
}
.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.site-nav a {
  color: var(--t-body);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding: 4px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-warm);
  transition: width 0.25s var(--ease);
}
.site-nav a:hover {
  color: var(--coral-ink);
}
.site-nav a:hover::after {
  width: 100%;
}
.header-cta {
  margin-left: 4px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--t-strong);
  transition: 0.25s var(--ease);
}

/* ---------- hero ---------- */
.hero {
  padding: 48px 0 36px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--surface-soft);
  color: var(--coral-ink);
  border: 1px solid var(--border-soft);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-warm);
  box-shadow: 0 0 0 4px rgba(255, 107, 87, 0.18);
}
.hero-title {
  font-size: clamp(38px, 5.6vw, 66px);
  font-weight: 800;
  margin-bottom: 20px;
}
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-positioning {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--t-muted);
  margin-bottom: 18px;
}
.hero-positioning strong {
  color: var(--coral-ink);
  font-weight: 700;
}
.hero-lede {
  font-size: clamp(17px, 1.4vw, 19px);
  max-width: 30em;
  color: var(--t-body);
  margin-bottom: 28px;
}
.hero-lede strong {
  color: var(--t-strong);
}

/* store badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.store-badges.centered {
  justify-content: center;
}
.store-badge {
  display: inline-flex;
  border-radius: 12px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: var(--sh-sm);
}
.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
/* Official Apple/Google badge artwork (assets/*.svg); self-contained images. */
.store-badge-img {
  height: 50px;
  width: auto;
  display: block;
}
.store-ico {
  width: 26px;
  height: 26px;
}
.store-badge-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.store-badge-kicker {
  font-size: 11px;
  opacity: 0.82;
}
.store-badge-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  font-size: 14.5px;
  color: var(--t-muted);
}
.hero-proof strong {
  color: var(--t-body);
}
.stars {
  color: var(--amber);
  letter-spacing: 2px;
  font-size: 16px;
}

/* ---------- hero stage / phone ---------- */
.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}
.stage-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 154, 77, 0.45), transparent 65%);
  filter: blur(20px);
  border-radius: 50%;
  z-index: 0;
}

/* phone frame */
.phone {
  position: relative;
  width: 300px;
  background: #1d1410;
  border-radius: 44px;
  padding: 11px;
  box-shadow: var(--sh-phone);
  z-index: 2;
}
.phone-hero {
  animation: floaty 7s ease-in-out infinite;
}
.phone-notch {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 24px;
  background: #1d1410;
  border-radius: 0 0 16px 16px;
  z-index: 5;
}
.phone-screen {
  background: var(--bg-app);
  border-radius: 34px;
  overflow: hidden;
  height: 612px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.app-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 22px 4px;
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--t-strong);
}
.status-ico {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.status-ico i {
  display: inline-block;
  background: var(--t-strong);
  border-radius: 2px;
}
.dot-sig {
  width: 16px;
  height: 10px;
  clip-path: polygon(0 100%, 25% 100%, 25% 60%, 50% 60%, 50% 30%, 75% 30%, 75% 0, 100% 0, 100% 100%);
}
.dot-wifi {
  width: 14px;
  height: 10px;
  border-radius: 3px 3px 0 0;
}
.dot-bat {
  width: 20px;
  height: 10px;
  border-radius: 3px;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px 12px;
}
.app-top.compact {
  padding: 14px 16px 10px;
}
.child-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-pill);
  padding: 5px 12px 5px 5px;
  box-shadow: var(--sh-sm);
}
.child-ava {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--surface-warm);
  border-radius: 50%;
  font-size: 16px;
}
.child-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--t-strong);
}
.child-age {
  color: var(--t-muted);
  font-weight: 600;
}
.chev {
  color: var(--t-muted);
  font-size: 12px;
}
.sheet-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--t-strong);
}
.sheet-x {
  color: var(--t-muted);
  font-size: 15px;
}
.top-streak {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--coral-ink);
  background: var(--surface-soft);
  padding: 5px 11px;
  border-radius: var(--r-pill);
}
.flame {
  font-size: 14px;
}

.app-body {
  flex: 1;
  padding: 4px 16px 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.insight-card {
  display: flex;
  gap: 9px;
  align-items: center;
  background: #eaf8ff;
  border: 1px solid #cfeefc;
  border-radius: var(--r-md);
  padding: 10px 13px;
  font-size: 13px;
  color: var(--t-body);
}
.insight-card strong {
  color: var(--sky-ink);
}
.insight-ico {
  font-size: 15px;
}

.log-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--grad-btn);
  color: #fff;
  border: none;
  border-radius: var(--r-lg);
  padding: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 12px 22px -10px rgba(255, 107, 87, 0.7);
  position: relative;
}
.log-emoji {
  font-size: 20px;
}
.log-plus {
  position: absolute;
  right: 16px;
  font-size: 20px;
  opacity: 0.9;
}
.log-primary.save {
  margin-top: auto;
}

.quick-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.quick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 11px 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--t-body);
}
.quick span {
  font-size: 18px;
}

.tl-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--t-muted);
  margin-top: 2px;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tl-item {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 9px 12px;
  box-shadow: var(--sh-sm);
}
.tl-ico {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-size: 16px;
}
.ico-diaper {
  background: #fff1e8;
}
.ico-feed {
  background: #eaf8ff;
}
.ico-sleep {
  background: #efe9ff;
}
.ico-note {
  background: #eafaf0;
}
.tl-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  line-height: 1.25;
}
.tl-main strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--t-strong);
}
.tl-main em {
  font-style: normal;
  font-size: 12.5px;
  color: var(--t-muted);
}
.tl-time {
  font-size: 12px;
  font-weight: 700;
  color: var(--t-muted);
}

.app-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  padding: 8px 6px 10px;
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--t-muted);
}
.tab i {
  font-size: 17px;
  font-style: normal;
  filter: grayscale(0.5) opacity(0.7);
}
.tab.active {
  color: var(--coral-ink);
}
.tab.active i {
  filter: none;
}

/* floating cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 10px 14px;
  box-shadow: var(--sh-lg);
  z-index: 4;
}
.float-card strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--t-strong);
}
.float-card span {
  font-size: 12px;
  color: var(--t-muted);
}
.float-reward {
  top: 64px;
  right: -8px;
  animation: floaty 6s ease-in-out infinite;
}
.float-reward img {
  width: 40px;
  height: 40px;
}
.float-streak {
  bottom: 96px;
  left: -16px;
  animation: floaty 6.5s ease-in-out infinite reverse;
}
.float-streak .flame {
  font-size: 26px;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* trust strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--t-body);
  box-shadow: var(--sh-sm);
  max-width: 820px;
  margin-inline: auto;
}
.trust-strip i {
  font-style: normal;
  margin-right: 4px;
}
.trust-strip .dot {
  color: var(--border-strong);
}

/* ---------- generic section ---------- */
.section {
  padding: 84px 0;
}
.section-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}
.kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--coral-ink);
  margin-bottom: 12px;
}
.kicker.light {
  color: #ffffff;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
}
.section-head h2 em {
  font-style: normal;
  color: var(--coral-ink);
}
.section-sub {
  margin-top: 16px;
  font-size: 18px;
  color: var(--t-muted);
}

/* ---------- how it works (steps) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
  position: relative;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  box-shadow: var(--sh-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
}
.step-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--grad-btn);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  margin-bottom: 16px;
  box-shadow: 0 8px 16px -6px rgba(255, 107, 87, 0.6);
}
.step:nth-child(2) .step-num {
  background: var(--grad-sky);
  box-shadow: 0 8px 16px -6px rgba(61, 186, 245, 0.5);
}
.step:nth-child(3) .step-num {
  background: var(--grad-warm-soft);
}
.step h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.step p {
  font-size: 14.5px;
  color: var(--t-muted);
}

/* ---------- pillars ---------- */
.pillar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 96px;
}
.pillar:last-child {
  margin-bottom: 0;
}
.pillar.reverse .pillar-copy {
  order: 2;
}
.pillar-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.badge-coral {
  background: var(--surface-soft);
  color: var(--coral-ink);
}
.badge-sky {
  background: #eaf8ff;
  color: var(--sky-ink);
}
.badge-amber {
  background: #fff3e2;
  color: var(--amber-ink);
}
.pillar-copy h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  margin-bottom: 16px;
}
.pillar-copy > p {
  font-size: 17px;
  color: var(--t-body);
  margin-bottom: 22px;
}
.ticks {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.ticks li {
  position: relative;
  padding-left: 32px;
  font-weight: 600;
  color: var(--t-body);
}
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(91, 203, 138, 0.16);
  color: var(--success);
  font-weight: 800;
  font-size: 12px;
}
.pillar-art {
  display: flex;
  justify-content: center;
  position: relative;
}
.phone-tilt-l {
  transform: rotate(-4deg);
  transition: transform 0.5s var(--ease);
}
.phone-tilt-r {
  transform: rotate(4deg);
  transition: transform 0.5s var(--ease);
}
.pillar-art:hover .phone-tilt-l,
.pillar-art:hover .phone-tilt-r {
  transform: rotate(0);
}

/* sheet body (log feed) */
.sheet-body {
  gap: 16px;
}
.seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface-soft);
  border-radius: var(--r-pill);
  padding: 4px;
  gap: 2px;
}
.seg.sky {
  background: #eaf8ff;
}
.seg-opt {
  text-align: center;
  padding: 8px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--t-muted);
}
.seg-opt.active {
  background: #fff;
  color: var(--coral-ink);
  box-shadow: var(--sh-sm);
}
.seg.sky .seg-opt.active {
  color: var(--sky-ink);
}
.amount-dial {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--sh-sm);
}
.amount-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  color: var(--t-strong);
  line-height: 1;
}
.amount-unit {
  color: var(--t-muted);
  font-weight: 600;
  margin-top: 4px;
}
.chip-row {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.chip {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-weight: 600;
  font-size: 13px;
  color: var(--t-body);
}
.chip.active {
  background: var(--surface-soft);
  border-color: var(--amber);
  color: var(--coral-ink);
}
.time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--t-body);
  padding: 0 4px;
}
.edit-link {
  color: var(--sky-ink);
  font-weight: 700;
}

/* patterns: stats + charts */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 11px 6px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--t-strong);
}
.stat span {
  font-size: 10.5px;
  color: var(--t-muted);
  font-weight: 600;
}
.chart-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: var(--sh-sm);
}
.chart-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--t-strong);
  margin-bottom: 10px;
}
.bars {
  width: 100%;
  height: auto;
}
.bar-grid line {
  stroke: var(--border-soft);
  stroke-width: 1;
}
.bar-set rect {
  fill: var(--orange);
}
.bar-set rect:nth-child(even) {
  fill: var(--coral);
}
.bar-set rect:nth-child(4) {
  fill: var(--sky-500);
}
.bar-labels text {
  fill: var(--t-muted);
  font-size: 9px;
  font-weight: 700;
  text-anchor: middle;
  font-family: var(--font-body);
}
.donut-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}
.donut {
  width: 92px;
  height: 92px;
  transform: rotate(-90deg);
  flex-shrink: 0;
}
.donut-ring {
  fill: none;
  stroke: var(--surface-soft);
  stroke-width: 5;
}
.donut-seg {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
}
.s1 {
  stroke: var(--coral);
}
.s2 {
  stroke: var(--orange);
}
.s3 {
  stroke: var(--sky-400);
}
.legend {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--t-body);
}
.legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lg {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  display: inline-block;
}
.lg1 {
  background: var(--coral);
}
.lg2 {
  background: var(--orange);
}
.lg3 {
  background: var(--sky-400);
}

/* milestones / celebrate */
.celebrate {
  background: linear-gradient(160deg, #fff1e8, #ffe7d6);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 18px;
  text-align: center;
  box-shadow: var(--sh-sm);
}
.celebrate img {
  width: 92px;
  height: 92px;
  margin: 0 auto 6px;
  filter: drop-shadow(0 10px 16px rgba(255, 107, 87, 0.35));
  animation: bob 4s ease-in-out infinite;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}
.celebrate-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--t-strong);
}
.celebrate-sub {
  font-size: 13px;
  color: var(--t-muted);
  margin-top: 2px;
}
.keepsake-btn {
  margin-top: 12px;
  background: var(--grad-btn);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  padding: 10px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
}
.ms-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.ms {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 10px 12px;
}
.ms-ico {
  font-size: 17px;
}
.ms span strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--t-strong);
}
.ms span em {
  font-style: normal;
  font-size: 12px;
  color: var(--t-muted);
}
.ms-bar {
  grid-column: 1 / -1;
  height: 7px;
  border-radius: 7px;
  background: var(--surface-soft);
  overflow: hidden;
}
.ms-bar i {
  display: block;
  height: 100%;
  background: var(--grad-warm);
  border-radius: 7px;
}

/* confetti layer */
.confetti-piece {
  position: absolute;
  top: 40px;
  width: 9px;
  height: 14px;
  border-radius: 2px;
  z-index: 6;
  pointer-events: none;
}

/* ---------- feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  box-shadow: var(--sh-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: var(--border-strong);
}
.feat-ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 17px;
  font-size: 26px;
  margin-bottom: 18px;
}
.g-coral {
  background: var(--surface-soft);
}
.g-sky {
  background: #eaf8ff;
}
.g-amber {
  background: #fff3e2;
}
.feat-card h3 {
  font-size: 20px;
  margin-bottom: 9px;
}
.feat-card p {
  font-size: 15px;
  color: var(--t-muted);
}

/* ---------- streak band ---------- */
.streak-band {
  /* Deepened so white heading + body text clear WCAG (the bright peach band
     left white body text at ~1.8:1). Stays warm coral→burnt-amber. */
  background: linear-gradient(135deg, #cf441d 0%, #c25f1a 55%, #b65d18 100%);
  margin: 0;
  position: relative;
  overflow: hidden;
}
.streak-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.25), transparent 50%);
  pointer-events: none;
}
.streak-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.streak-copy h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 40px);
  margin-bottom: 16px;
}
.streak-copy p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 17px;
  margin-bottom: 24px;
  max-width: 30em;
}
.streak-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.streak-mascot {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 24px 30px rgba(58, 38, 30, 0.35));
  animation: bob 5s ease-in-out infinite;
}
.streak-week {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.18);
  padding: 12px 16px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}
.streak-week .d {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.15);
}
.streak-week .d.on {
  background: #fff;
  color: var(--coral-ink);
}
.streak-week .d.today {
  background: var(--t-strong);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}
.streak-flame-big {
  position: absolute;
  top: -6px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  color: var(--coral-ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-md);
}
.streak-flame-big span {
  font-size: 22px;
}

/* ---------- track grid ---------- */
.track-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.track-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 26px 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--t-strong);
  box-shadow: var(--sh-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.track-grid li:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: var(--sh-md);
}
.track-grid li span {
  font-size: 30px;
}

/* ---------- quote ---------- */
.quote-sec {
  padding: 60px 0;
}
.quote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  padding: 48px 44px;
  box-shadow: var(--sh-md);
  position: relative;
}
.quote-mascot {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.4;
  color: var(--t-strong);
}
.quote blockquote em {
  font-style: normal;
  color: var(--coral-ink);
}
.quote figcaption {
  margin-top: 18px;
  color: var(--t-muted);
  font-weight: 600;
  font-size: 14px;
}

/* ---------- FAQ ---------- */
.faq-wrap {
  max-width: 760px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 4px 22px;
  box-shadow: var(--sh-sm);
  transition: box-shadow 0.25s, border-color 0.25s;
}
.faq-item[open] {
  border-color: var(--border-strong);
  box-shadow: var(--sh-md);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--t-strong);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-chev {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--coral-ink);
  font-size: 18px;
  font-weight: 800;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] .faq-chev {
  transform: rotate(45deg);
}
.faq-item p {
  padding: 0 0 20px;
  color: var(--t-body);
  font-size: 15.5px;
}

/* ---------- final CTA ---------- */
.final-cta {
  padding: 60px 0 90px;
}
.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(150deg, #2a1b14 0%, #5a2f22 60%, #8a4029 100%);
  border-radius: var(--r-xl);
  padding: 60px 32px 50px;
  box-shadow: var(--sh-lg);
}
.cta-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 154, 77, 0.5), transparent 60%);
  pointer-events: none;
}
.cta-mascot {
  width: 130px;
  height: auto;
  margin: 0 auto 14px;
  position: relative;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.35));
  animation: bob 5s ease-in-out infinite;
}
.cta-card h2 {
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  position: relative;
}
.cta-sub {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  margin: 14px auto 28px;
  max-width: 32em;
  position: relative;
}
/* The official black store badges carry their own light-gray keyline (Apple's
   #A6A6A6 border), which is invisible on the cream hero but reads as a broken
   ring on the dark final-CTA. Sit them on a clean white plate with breathing
   room so the black badges have the light surface they're designed for — the
   badge's own keyline then blends into the plate instead of the dark card. */
.cta-card .store-badge {
  background: #fff;
  padding: 8px 12px;
  border-radius: 14px;
}
.cta-fine {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
  position: relative;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 14px;
}
.footer-brand p {
  color: var(--t-muted);
  font-size: 14.5px;
  max-width: 26em;
  margin-bottom: 8px;
}
.footer-fine {
  font-size: 13px !important;
}
.footer-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--t-strong);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: var(--t-muted);
  font-size: 14.5px;
  font-weight: 600;
  padding: 5px 0;
}
.footer-col a:hover {
  color: var(--coral-ink);
}
.footer-col span {
  display: block;
  color: var(--t-muted);
  font-size: 14.5px;
  font-weight: 600;
  padding: 5px 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
  font-size: 13.5px;
  color: var(--t-muted);
}
.footer-legal a {
  color: var(--t-muted);
}
.footer-legal a:hover {
  color: var(--coral-ink);
}

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .phone-hero,
  .celebrate img,
  .streak-mascot,
  .cta-mascot,
  .float-card {
    animation: none !important;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy {
    order: 2;
  }
  .hero-stage {
    order: 1;
    min-height: 520px;
  }
  .eyebrow {
    margin-inline: auto;
  }
  .hero-lede {
    margin-inline: auto;
  }
  .store-badges,
  .hero-proof {
    justify-content: center;
  }
  .pillar,
  .pillar.reverse .pillar-copy {
    grid-template-columns: 1fr;
    order: unset;
  }
  .pillar-copy {
    text-align: center;
  }
  .ticks {
    align-items: center;
  }
  .streak-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .streak-copy {
    order: 2;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* the pill radius reads as a giant oval once the strip wraps, so round the corners */
  .trust-strip {
    border-radius: var(--r-lg);
  }
  /* 10 tiles in a 3-col grid orphans the last one; center a flex row instead */
  .track-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .track-grid > li {
    flex: 0 1 calc((100% - 32px) / 3);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .site-nav {
    display: none;
  }
  /* class-driven mobile dropdown (JS toggles .open; no inline styles) */
  .site-nav.open {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: absolute;
    top: 62px;
    right: 20px;
    background: var(--surface);
    padding: 16px 22px;
    border: 1px solid var(--border-soft);
    border-radius: var(--r-md);
    box-shadow: var(--sh-md);
    z-index: 120;
  }
  .header-cta {
    display: inline-flex;
    margin-left: auto;
    padding: 9px 15px;
    font-size: 14px;
    white-space: nowrap;
  }
  .nav-toggle {
    display: flex;
    margin-left: 12px;
  }
  .section {
    padding: 60px 0;
  }
  .steps,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .track-grid > li {
    flex-basis: calc((100% - 16px) / 2);
  }
  /* stack into a clean rounded card instead of a tall oval; drop the • separators */
  .trust-strip {
    flex-direction: column;
    gap: 10px;
    padding: 18px 24px;
  }
  .trust-strip .dot {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .float-reward {
    right: -4px;
    transform: scale(0.9);
  }
  .float-streak {
    left: -6px;
    transform: scale(0.9);
  }
  .quote {
    padding: 36px 24px;
  }
}

/* very small phones (≤380px): scale the hero phone so the floating cards
   don't clip past the viewport edge */
@media (max-width: 380px) {
  .phone {
    transform: scale(0.86);
  }
  .hero-stage {
    min-height: 470px;
  }
  .float-reward {
    right: 0;
  }
  .float-streak {
    left: 0;
  }
}

/* =========================================================================
   Beta-access modal: store CTAs open a popup embedding the signup form.
   ========================================================================= */
.beta-modal[hidden] {
  display: none;
}
.beta-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.beta-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(58, 38, 30, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.beta-modal.is-open .beta-modal__overlay {
  opacity: 1;
}
.beta-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 440px;
  max-height: 92vh;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  transform: translateY(14px) scale(0.98);
  opacity: 0;
  transition: transform 0.26s cubic-bezier(0.2, 0.7, 0.3, 1), opacity 0.22s ease;
}
.beta-modal.is-open .beta-modal__dialog {
  transform: none;
  opacity: 1;
}
.beta-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.85);
  color: var(--t-strong);
  box-shadow: var(--sh-sm);
  cursor: pointer;
}
.beta-modal__close:hover {
  background: #fff;
}
.beta-modal__close svg {
  width: 20px;
  height: 20px;
}
.beta-modal__head {
  padding: 20px 24px 14px;
  text-align: center;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border-soft);
}
.beta-modal__mascot {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 auto 6px;
}
.beta-modal__kicker {
  margin: 0 0 2px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral-ink);
}
.beta-modal__head h2 {
  margin: 0 0 5px;
  font-size: 1.3rem;
  color: var(--t-strong);
}
.beta-modal__sub {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--t-body);
}
.beta-modal__body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--surface);
}
.beta-modal__iframe {
  display: block;
  width: 100%;
  height: min(600px, 66vh);
  border: 0;
}
body.beta-modal-open {
  overflow: hidden;
}
@media (max-width: 520px) {
  .beta-modal {
    padding: 0;
  }
  .beta-modal__dialog {
    max-width: none;
    max-height: none;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
  }
  .beta-modal__body {
    flex: 1;
  }
  .beta-modal__iframe {
    height: 100%;
    flex: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .beta-modal__overlay,
  .beta-modal__dialog {
    transition: none;
  }
}

/* =========================================================================
   Pricing
   ========================================================================= */
.pricing .price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 44px;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 30px 24px 26px;
  box-shadow: var(--sh-sm);
}
.price-card--featured {
  border: 2px solid var(--coral);
  box-shadow: var(--sh-md);
}
.price-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-btn);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-sm);
  white-space: nowrap;
}
.price-head h3 {
  margin: 0 0 4px;
  font-size: 1.35rem;
  color: var(--t-strong);
}
.price-tag {
  margin: 0;
  color: var(--t-muted);
  font-size: 0.92rem;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 18px 0 2px;
}
.price-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--t-strong);
}
.price-unit {
  color: var(--t-muted);
  font-weight: 600;
}
.price-annual {
  margin: 0;
  color: var(--coral-ink);
  font-weight: 700;
  font-size: 0.86rem;
}
.price-feats {
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.price-feats li {
  position: relative;
  padding-left: 28px;
  color: var(--t-body);
  font-size: 0.95rem;
  line-height: 1.4;
}
.price-feats li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--coral-ink);
  font-weight: 800;
}
.price-soon {
  display: inline-block;
  margin-left: 2px;
  padding: 2px 7px;
  background: var(--surface-warm);
  color: var(--amber-ink);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--r-pill);
  vertical-align: 2px;
}
/* Free card: the "add a free account" ladder (unregistered → registered) */
.price-acct {
  margin-top: 18px;
  background: var(--surface-soft);
  border: 1px dashed var(--border-strong);
  border-radius: 14px;
  padding: 14px 15px;
}
.price-acct-h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--t-strong);
}
.price-acct-plus {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--grad-btn);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  line-height: 1;
}
.price-acct-tag {
  margin-left: auto;
  padding: 2px 8px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-pill);
  color: var(--coral-ink);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.price-acct p {
  margin: 0;
  color: var(--t-body);
  font-size: 0.9rem;
}
.price-acct .price-acct-fine {
  margin-top: 6px;
  color: var(--t-muted);
  font-size: 0.78rem;
}
.price-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 16px 0 0;
  color: var(--t-muted);
  font-size: 0.82rem;
}
.price-cta {
  width: 100%;
  text-align: center;
}
.price-fine {
  margin: 24px auto 0;
  max-width: 640px;
  text-align: center;
  color: var(--t-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}
@media (max-width: 820px) {
  .pricing .price-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }
  .price-card--featured {
    order: -1;
  }
}

/* =========================================================================
   Compare (vs Huckleberry)
   ========================================================================= */
.compare-table-wrap {
  margin-top: 44px;
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--sh-sm);
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 0.95rem;
}
.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
}
.compare-table thead th {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--t-strong);
  text-align: center;
  background: var(--surface-soft);
  border-bottom: 2px solid var(--border-strong);
}
.compare-table thead th:first-child {
  text-align: left;
}
.compare-table tbody th {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--t-body);
  line-height: 1.35;
}
.compare-table td {
  text-align: center;
  width: 132px;
}
.compare-table thead th.ct-us,
.compare-table td.ct-us {
  background: rgba(255, 107, 87, 0.07);
}
.compare-table thead th.ct-us {
  color: var(--coral-ink);
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.ct-yes {
  color: var(--coral-ink);
  font-weight: 800;
  font-size: 1.02rem;
}
.ct-no,
.ct-dash {
  color: var(--t-muted);
  font-size: 0.84rem;
}
.ct-soon {
  display: inline-block;
  background: var(--surface-warm);
  color: var(--amber-ink);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 9px;
  border-radius: var(--r-pill);
}
.compare-cta {
  text-align: center;
  margin-top: 28px;
}
.compare-fine {
  margin: 20px auto 0;
  max-width: 760px;
  text-align: center;
  color: var(--t-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

@media (max-width: 600px) {
  /* fit the comparison on-screen instead of horizontal-scrolling it */
  .compare-table { min-width: 0; font-size: 0.8rem; }
  .compare-table th,
  .compare-table td { padding: 10px 8px; }
  .compare-table thead th { font-size: 0.8rem; }
  .compare-table td { width: 66px; }
  .ct-yes { font-size: 0.92rem; }
  .ct-no,
  .ct-dash { font-size: 0.68rem; line-height: 1.25; }
  .ct-soon { font-size: 0.56rem; padding: 2px 5px; letter-spacing: 0; }
}

/* ── Gift a subscription: pricing-section CTA ──────────────────────── */
.gift-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 28px auto 0;
  padding: 26px 30px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff1e8 0%, #ffe7d6 100%);
  border: 1px solid var(--border-soft);
  box-shadow: var(--sh-md);
}
.gift-cta-text { flex: 1 1 340px; }
.gift-cta-text .kicker { margin: 0 0 4px; }
.gift-cta-text h3 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  color: var(--t-strong);
  font-size: 1.4rem;
  margin: 0 0 6px;
}
.gift-cta-text p { margin: 0; color: var(--t-body); font-size: 0.98rem; line-height: 1.5; }
.gift-cta .btn-primary { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 560px) {
  .gift-cta { padding: 22px; }
  .gift-cta .btn-primary { width: 100%; text-align: center; }
}

/* ───────────────────────── From the journal (blog carousel) ─────────────────────────
   A scroll-snap strip of the latest blog.diapr.ai posts. Native horizontal scroll
   (swipe on touch, arrows on desktop) — no carousel library. The section itself is
   [hidden] until app.js renders real posts. */
.journal-carousel {
  position: relative;
}
.journal-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 14px;
  scrollbar-width: none;
}
.journal-track::-webkit-scrollbar {
  display: none;
}
.journal-track:focus-visible {
  outline: 3px solid var(--sky-500);
  outline-offset: 4px;
  border-radius: var(--r-sm);
}
.journal-card {
  flex: 0 0 82%;
  max-width: 82%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media (min-width: 640px) {
  .journal-card {
    flex-basis: 46%;
    max-width: 46%;
  }
}
@media (min-width: 1024px) {
  .journal-card {
    flex-basis: 31%;
    max-width: 31%;
  }
}
.journal-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.journal-card:focus-visible {
  outline: 3px solid var(--sky-500);
  outline-offset: 2px;
}
.journal-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: var(--surface-soft);
}
.journal-img-empty {
  background: var(--grad-warm-soft);
}
.journal-body {
  display: grid;
  gap: 6px;
  padding: 14px 16px 16px;
}
.journal-title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--t-strong);
}
.journal-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--t-muted);
}
.journal-excerpt {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--t-body);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.journal-nav {
  position: absolute;
  top: 34%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--t-strong);
  border: 1px solid var(--border-strong);
  box-shadow: var(--sh-sm);
  cursor: pointer;
}
.journal-nav:hover {
  background: var(--surface-soft);
}
.journal-nav svg {
  width: 18px;
  height: 18px;
}
.journal-prev {
  left: -8px;
}
.journal-next {
  right: -8px;
}
.journal-more {
  margin: 16px 0 0;
  text-align: center;
}
/* Touch: swipe the strip instead of reaching for arrows. */
@media (max-width: 560px) {
  .journal-nav {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .journal-card {
    transition: none;
  }
}

/* ───────────────────────── Community & socials ───────────────────────── */
.community {
  text-align: center;
}
.community-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  padding: 48px 32px 44px;
  box-shadow: var(--sh-md);
}
.community-card h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 34px);
  color: var(--t-strong);
  margin: 0 0 12px;
}
.community-sub {
  color: var(--t-body);
  font-size: 17px;
  line-height: 1.55;
  max-width: 460px;
  margin: 0 auto 28px;
}
.community-cta {
  gap: 10px;
}
.community-cta-ico {
  width: 20px;
  height: 20px;
}
.community-follow {
  color: var(--t-muted);
  font-size: 14px;
  font-weight: 600;
  margin: 28px 0 14px;
}
.social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.social-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.social-ico svg {
  width: 24px;
  height: 24px;
}
.social-ico:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
}
.social-fb { background: #1877f2; }
.social-ig { background: linear-gradient(135deg, #feda75 0%, #d62976 45%, #962fbf 75%, #4f5bd5 100%); }
.social-tt { background: #010101; }

@media (max-width: 640px) {
  .community-card { padding: 36px 22px 32px; }
}

/* ───────── #download scroll target + iOS beta modal ───────── */
/* The download badges sit mid-hero; a generous scroll-margin lands them clearly
   below the sticky header instead of jammed against it (was "loads too high"). */
#download {
  scroll-margin-top: 108px;
}

.beta-modal__dialog--compact {
  max-width: 440px;
}
.ios-steps {
  padding: 18px 22px 20px;
}
.ios-step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ios-step-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  text-align: left;
}
/* the content column fills the remaining width so its full-width button spans it */
.ios-step-list li > div {
  min-width: 0;
}
.ios-step-num {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: var(--r-pill);
  background: var(--grad-btn);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.ios-step-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15.5px;
  color: var(--t-strong);
  margin: 3px 0 1px;
  line-height: 1.15;
}
.ios-step-sub {
  color: var(--t-body);
  font-size: 13px;
  line-height: 1.35;
  margin: 0 0 9px;
}
/* Both step buttons span the content column and share one height, so the two
   CTAs read as an even pair instead of a thin link vs. a big block. */
.ios-step-btn {
  display: flex;
  width: 100%;
  justify-content: center;
}
.ios-step-note {
  text-align: center;
  color: var(--t-muted);
  font-size: 12.5px;
  line-height: 1.4;
  margin: 14px 2px 0;
}

/* ---- Voice (hands-free) band ------------------------------------------------ */
.voice-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-top: 34px;
}
.voice-lead {
  font-size: clamp(16px, 1.6vw, 18.5px);
  line-height: 1.55;
  color: var(--t-body);
  max-width: 34em;
}
.voice-lead strong { color: var(--t-strong); font-weight: 800; }
.voice-caps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}
.voice-cap {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 18px;
  box-shadow: var(--sh-sm);
}
.voice-cap-ic {
  width: 36px; height: 36px;
  border-radius: 11px;
  display: inline-grid; place-items: center;
  font-size: 19px;
}
.voice-cap-ic.ic-warm { background: var(--surface-warm); }
.voice-cap-ic.ic-sky { background: #eaf8ff; }
.voice-cap h3 { font-family: var(--font-display); color: var(--t-strong); font-size: 17px; margin: 12px 0 5px; }
.voice-cap p { font-size: 13.5px; line-height: 1.45; color: var(--t-body); margin: 0; }
.voice-cap .voice-say { margin-top: 11px; font-size: 12.5px; font-style: italic; color: var(--t-muted); }
.voice-platforms { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.voice-plat {
  display: flex; align-items: center; gap: 11px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 11px 15px;
  box-shadow: var(--sh-sm);
}
.voice-assist { display: inline-flex; align-items: center; gap: 6px; }
.voice-aico { width: 26px; height: 26px; }
.voice-plat-t { line-height: 1.2; }
.voice-plat-t b { display: block; font-family: var(--font-display); color: var(--t-strong); font-size: 14.5px; }
.voice-on { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--t-muted); margin-top: 2px; }
.voice-pico { height: 14px; width: auto; }
.voice-fine { margin-top: 22px; font-size: 13px; color: var(--t-muted); }
.voice-fine strong { color: var(--coral-ink); }

/* Tier chip on a capability card (Plus / Premium) + Live/Coming-soon status on a platform row */
.voice-cap { position: relative; }
.voice-tier {
  position: absolute; top: 14px; right: 14px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .02em;
  padding: 3px 9px; border-radius: 999px;
}
.voice-tier.tier-plus { background: var(--surface-warm); color: var(--coral-ink); }
.voice-tier.tier-premium { background: #eaf8ff; color: #13608e; }
.voice-status {
  margin-left: auto;
  font-size: 11px; font-weight: 800; letter-spacing: .02em;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.voice-status.is-live { background: #e3f5ea; color: #1e7a4d; }
.voice-status.is-soon { background: #efe7e0; color: var(--t-muted); }
.voice-status.is-premium { background: #eaf8ff; color: #13608e; }
.voice-connect-lead { margin-top: 26px; font-size: 14px; line-height: 1.5; color: var(--t-body); }
.voice-connect-lead strong { color: var(--t-strong); font-family: var(--font-display); }
.privacy-honest { max-width: 780px; margin: 26px auto 0; text-align: center; font-size: 14px; line-height: 1.65; color: var(--t-muted); }
.privacy-honest strong { color: var(--t-strong); }
.privacy-honest a { color: var(--coral-ink); font-weight: 700; }
.privacy-matrix { max-width: 760px; margin: 26px auto 0; border: 1px solid var(--border-soft); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--sh-sm); overflow: hidden; }
.pm-title { font-family: var(--font-display); font-size: 14px; color: var(--t-strong); margin: 0; padding: 13px 18px; background: var(--surface-warm); border-bottom: 1px solid var(--border-soft); }
.pm-row { display: flex; gap: 16px; padding: 13px 18px; border-top: 1px solid var(--border-soft); font-size: 13.5px; line-height: 1.5; color: var(--t-body); }
.pm-row:first-of-type { border-top: 0; }
.pm-state { flex: 0 0 32%; font-weight: 700; color: var(--t-strong); }
.pm-state em { font-style: normal; font-weight: 600; color: var(--t-muted); }
@media (max-width: 560px) { .pm-row { flex-direction: column; gap: 3px; } .pm-state { flex-basis: auto; } }

/* Siri listening orb (no official static Siri mark exists) */
.siri-orb {
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-block; position: relative;
  background: radial-gradient(circle at 32% 28%, #ffd0c6, #b14cff 52%, #4a00e0);
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.35);
}
.siri-orb::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 72% 78%, rgba(61, 186, 245, 0.85), transparent 55%);
}
.siri-orb.big { width: 44px; height: 44px; }

.voice-demo {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  box-shadow: var(--sh-md);
}
.voice-listening { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.voice-listening-lbl { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--t-muted); }
.voice-said {
  max-width: 88%; margin-left: auto;
  background: var(--grad-btn); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.3;
  padding: 11px 15px; border-radius: 18px 18px 5px 18px;
}
.voice-reply {
  max-width: 90%; margin-top: 11px;
  background: var(--surface-soft); color: var(--t-strong);
  border: 1px solid var(--border-soft);
  font-size: 14px; line-height: 1.4;
  padding: 11px 15px; border-radius: 18px 18px 18px 5px;
}
.voice-saved {
  margin-top: 13px; display: flex; align-items: center; gap: 10px;
  background: var(--surface-warm); border: 1px solid var(--border-strong);
  border-radius: 13px; padding: 11px 13px; font-size: 13px; color: var(--t-strong);
}
.voice-saved b { font-family: var(--font-display); }
.voice-check { width: 22px; height: 22px; border-radius: 50%; background: var(--coral-ink); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 900; flex: none; }
.voice-dim { color: var(--t-muted); }
.voice-demo-div { height: 1px; background: var(--border-soft); margin: 16px 0; }

@media (max-width: 860px) { .voice-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) { .voice-caps { grid-template-columns: 1fr; } }
