/* ─────────────────────────────────────────────────────
   Silver Lining — Marketing Site
   Editorial. Quiet. Confident.
   ─────────────────────────────────────────────────── */

:root {
  --paper: #FBF6EC;
  --paper-2: #F4ECD9;
  --paper-3: #EDE3CB;
  --linen: #E8DFC9;
  --linen-deep: #CFC2A6;
  --ink: #1A1814;
  --ink-soft: #3A352D;
  --ink-muted: #6B645A;
  --ink-faint: #9A9385;
  --ink-fainter: #C2BAA8;
  --sage: #5E7355;
  --sage-deep: #3F4D38;
  --sage-light: #8FA582;
  --sage-bg: rgba(94,115,85,0.08);
  --clay: #A4744E;
  --clay-deep: #7B5736;
  --clay-bg: rgba(164,116,78,0.08);
  --rose: #B04A4A;
  --gold: #B8923E;
  --white: #FFFFFF;
  --black: #0F0D0A;

  --shadow-sm: 0 1px 2px rgba(40,30,15,0.05);
  --shadow-md: 0 4px 16px rgba(40,30,15,0.06), 0 1px 3px rgba(40,30,15,0.03);
  --shadow-lg: 0 20px 60px rgba(40,30,15,0.10), 0 6px 16px rgba(40,30,15,0.05);
  --shadow-xl: 0 40px 120px rgba(40,30,15,0.18), 0 12px 30px rgba(40,30,15,0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
.serif { font-family: 'Lora', Georgia, serif; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: -0.02em; }

/* ─── Container ─── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 800px) { .container { padding: 0 2rem; } }

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.nav.scrolled {
  background: rgba(251,246,236,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(40,30,15,0.06);
  padding: 0.75rem 0;
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.nav-mark {
  width: 1.8rem; height: 1.8rem;
  border-radius: 50%;
  border: 1.5px solid var(--sage);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.nav-mark::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: var(--sage);
  opacity: 0.55;
}
.nav-links {
  display: none;
  gap: 2rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
@media (min-width: 800px) { .nav-links { display: flex; } }
.nav-links a { transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }

/* Mobile hamburger + slide-down menu */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink, #1A1A1A);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 800px) { .nav-toggle { display: none; } }

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease, visibility 0.35s;
  background: var(--paper, #F7F5F0);
  border-top: 1px solid transparent;
}
.mobile-menu.open {
  max-height: 420px;
  opacity: 1;
  visibility: visible;
  padding: 0.75rem 1.25rem 1.25rem;
  border-top: 1px solid var(--linen, #E5E3DD);
}
.mobile-menu a {
  padding: 0.85rem 0.25rem;
  font-size: 1.02rem;
  color: var(--ink-soft, #3A352D);
  border-bottom: 1px solid var(--linen, #E9E7E1);
  transition: color 0.15s;
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:active { color: var(--sage, #5E7355); }
.mobile-menu .mobile-menu-cta {
  margin-top: 0.85rem;
  justify-content: center;
  border-bottom: none;
  background: var(--ink, #1A1A1A);
  color: #FFFFFF;
  border-radius: 30px;
  padding: 0.85rem 1.5rem;
}
.mobile-menu .mobile-menu-cta:active {
  color: #FFFFFF;
}
@media (min-width: 800px) { .mobile-menu { display: none; } }
.nav-cta {
  display: flex; gap: 0.5rem; align-items: center;
}
.btn {
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.65rem 1.2rem;
  border-radius: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s;
  border: 1.5px solid transparent;
}
.btn-ink {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 4px 12px rgba(26,24,20,0.18);
}
.btn-ink:hover {
  background: var(--sage-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(63,77,56,0.25);
}
.btn-sage {
  background: var(--sage);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(94,115,85,0.25);
}
.btn-sage:hover {
  background: var(--sage-deep);
  transform: translateY(-1px);
}
.btn-ghost {
  color: var(--ink-soft);
}
.btn-ghost:hover { color: var(--ink); }
.btn-outline {
  border-color: var(--linen-deep);
  color: var(--ink-soft);
}
.btn-outline:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--paper-2);
}
.btn-lg {
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
}
.btn svg { width: 0.95rem; height: 0.95rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: 8rem 0 4rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%; left: -10%; right: -10%;
  height: 70%;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(164,116,78,0.10), transparent 60%),
    radial-gradient(ellipse 50% 70% at 85% 20%, rgba(94,115,85,0.10), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 980px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
  .hero { padding: 10rem 0 6rem; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.85rem;
  background: var(--sage-bg);
  border-radius: 2rem;
  border: 1px solid rgba(94,115,85,0.2);
}
.hero-eyebrow .dot { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--sage); animation: pulse 2s infinite; }

.hero-title {
  font-family: 'Lora', serif;
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: var(--ink);
}
.hero-title em {
  font-style: italic;
  color: var(--clay);
  font-weight: 500;
}
.hero-title .word-rotate {
  display: inline-block;
  min-width: 9ch;
  text-align: left;
  position: relative;
  transition: opacity 0.2s ease;
}
.final-cta-title .word-rotate,
#familyWordCta2 {
  display: inline-block;
  transition: opacity 0.2s ease;
}
.hero-title .underline-sketch {
  position: absolute;
  bottom: -0.05em;
  left: 0;
  width: 100%;
  height: 0.5em;
  pointer-events: none;
}
.hero-title .underline-sketch path {
  fill: none;
  stroke: var(--clay);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: drawIn 1.6s ease-out 0.5s forwards;
  opacity: 0.7;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 32em;
  margin-bottom: 2.25rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 2rem;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--ink-muted);
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-trust-item svg {
  width: 0.85rem; height: 0.85rem;
  color: var(--sage);
}
.avatars {
  display: flex;
}
.avatars span {
  width: 1.6rem; height: 1.6rem;
  border-radius: 50%;
  border: 2px solid var(--paper);
  margin-left: -0.5rem;
  display: inline-block;
  background: linear-gradient(135deg, var(--clay), var(--clay-deep));
}
.avatars span:first-child { margin-left: 0; background: linear-gradient(135deg, var(--sage), var(--sage-deep)); }
.avatars span:nth-child(2) { background: linear-gradient(135deg, #B57B7B, #7A4F4F); }
.avatars span:nth-child(3) { background: linear-gradient(135deg, #9A8DA8, #615678); }
.avatars span:nth-child(4) { background: linear-gradient(135deg, #C8B68F, #8B7B5C); }

/* ─── Hero visual (phone frame container) ─── */
.hero-stage {
  position: relative;
  height: clamp(520px, 60vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-phone {
  width: 290px;
  height: 590px;
  background: #0F0D0A;
  border-radius: 40px;
  padding: 10px;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 5;
  transform: rotate(-1.5deg);
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: rotate(-1.5deg) translateY(0); }
  50% { transform: rotate(-1.5deg) translateY(-10px); }
}

.hero-phone-notch {
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #0F0D0A;
  border-radius: 14px;
  z-index: 10;
}

/* ─── Custom App Web UI Interior (Fixed Collapsed Spacing) ─── */
.hero-phone-screen {
  width: 100%;
  height: 100%;
  background-color: #FAFAF8 !important;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1A1A1A;
  box-sizing: border-box;
}

.app-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 18px 10px 18px;
  background-color: #FAFAF8;
  flex-shrink: 0;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-logo-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #3D6B5E;
  position: relative;
  overflow: hidden;
  background: #FAFAF8;
  flex-shrink: 0;
}
.app-logo-circle::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 50%;
  background: #3D6B5E;
  opacity: 0.55;
}

.app-logo-text {
  font-size: 13.5px;
  font-weight: 600;
  color: #2C524A;
  letter-spacing: -0.2px;
}

.app-date {
  font-size: 10.5px;
  letter-spacing: 0.8px;
  color: #A8A6A0;
  font-weight: 500;
  text-transform: uppercase;
}

/* App Main Body Engine layout */
.app-body {
  padding: 0 18px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  overflow: hidden;
}

.app-greeting-section {
  margin: 4px 0 2px 0;
  flex-shrink: 0;
}

.app-greeting {
  font-family: 'Lora', Georgia, serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.4px;
  color: #1A1A1A;
}

.serif-italic {
  font-family: "Lora", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  color: #3D6B5E;
}

.app-sub-greeting {
  font-size: 14px;
  color: #71706B;
  margin: 4px 0 0 0;
  font-weight: 400;
}

/* Middle Content Blocks */
.app-history-card {
  background-color: #F3F2EE;
  border: 1px solid #E5E3DD;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 2px;
  flex-shrink: 0;
}

.app-history-icon {
  width: 18px;
  height: 18px;
  color: #71706B;
  flex-shrink: 0;
  margin-top: 2px;
}

.app-history-content {
  font-size: 12.5px;
  line-height: 1.45;
  color: #3B3B38;
}
.app-history-content em { font-style: italic; color: #1A1A1A; }

/* Question Block Elements */
.app-question-card {
  background-color: #FFFFFF;
  border: 1px solid #E5E3DD;
  border-left: 3px solid #3D6B5E;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  max-height: 235px;
}

.app-question-tag-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-question-avatar {
  width: 20px;
  height: 20px;
  background-color: #3D6B5E;
  color: #FFFFFF;
  border-radius: 50%;
  font-family: 'Lora', Georgia, serif;
  font-size: 10px;
  font-style: italic;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-question-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #3D6B5E;
}

.app-question-text {
  font-family: 'Lora', Georgia, serif;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 400;
  color: #1A1A1A;
  margin: 0 0 0.85rem;
  letter-spacing: -0.1px;
}

.app-question-instruction {
  font-size: 12px;
  line-height: 1.45;
  color: #71706B;
  margin: 0;
}

.app-skip-btn {
  align-self: flex-start;
  background-color: #FFFFFF;
  border: 1.5px solid #E5E3DD;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  color: #3D6B5E;
  cursor: pointer;
  margin-top: auto;
}

.app-skip-btn:hover {
  border-color: #3D6B5E;
}

/* Audio Control Trigger Row Layout */
.app-action-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding-top: 8px;
  flex-shrink: 0;
}

.app-mic-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #3D6B5E;
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 12px rgba(61, 107, 94, 0.3);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s ease;
}
.app-mic-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #3D6B5E;
  opacity: 0.3;
  animation: appReadyPulse 2s ease-in-out infinite;
}
@keyframes appReadyPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.08); opacity: 0.1; }
}

.app-mic-btn svg {
  width: 24px;
  height: 24px;
}

.app-mic-btn:hover {
  transform: scale(1.05);
  background-color: #2C524A;
}

/* ─── Floating cards around the phone ─── */
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--linen);
  font-size: 0.78rem;
  line-height: 1.5;
  z-index: 6;
  animation: cardFloat 5s ease-in-out infinite;
}
.float-card-1 {
  top: 8%;
  right: 4%;
  width: 200px;
  transform: rotate(3deg);
  animation-delay: 0.5s;
}
.float-card-2 {
  bottom: 12%;
  left: 2%;
  width: 220px;
  transform: rotate(-2deg);
  animation-delay: 1.5s;
}
.float-card-3 {
  top: 50%;
  right: -3%;
  width: 180px;
  transform: rotate(-4deg);
  animation-delay: 2.5s;
}
@media (max-width: 980px) {
  .float-card-1 { right: -2%; top: 4%; }
  .float-card-2 { left: -2%; bottom: 6%; }
  .float-card-3 { display: none; }
}
@keyframes cardFloat {
  0%, 100% { transform: var(--rot, rotate(3deg)) translateY(0); }
  50% { transform: var(--rot, rotate(3deg)) translateY(-6px); }
}
.float-card-1 { --rot: rotate(3deg); }
.float-card-2 { --rot: rotate(-2deg); }
.float-card-3 { --rot: rotate(-4deg); }

.float-card-tag {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0.35rem;
  display: flex; align-items: center; gap: 0.3rem;
}
.float-card-tag.sage { color: var(--sage); }
.float-card-tag.clay { color: var(--clay); }
.float-card-tag.rose { color: var(--rose); }
.float-card-tag::before {
  content: '';
  width: 0.35rem; height: 0.35rem;
  border-radius: 50%;
  background: currentColor;
}
.float-card-body {
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}
.float-card-meta {
  font-size: 0.65rem;
  color: var(--ink-faint);
  margin-top: 0.4rem;
}

/* ─── Scrolling logo bar ─── */
.logo-strip {
  padding: 3rem 0;
  border-top: 1px solid var(--linen);
  border-bottom: 1px solid var(--linen);
  background: var(--paper-2);
}
.logo-strip-eyebrow {
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.logos {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0.55;
}
.logos > span {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink-soft);
}
.logos > span.serif-cap { font-weight: 500; font-style: normal; letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.85rem; }

/* ─── Section ─── */
.section {
  padding: 6rem 0;
  position: relative;
}
@media (max-width: 700px) { .section { padding: 4rem 0; } }

.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 600;
  margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 0.5rem;
  justify-content: center;
}
.section-eyebrow.left { justify-content: flex-start; }
.section-eyebrow::before, .section-eyebrow::after {
  content: '';
  width: 1.8rem;
  height: 1px;
  background: var(--linen-deep);
}
.section-eyebrow.left::before { display: none; }
.section-eyebrow.left::after { display: none; }

.section-title {
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.018em;
  margin-bottom: 1.2rem;
  text-align: center;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.section-title em { font-style: italic; color: var(--clay); }
.section-title.left { text-align: left; margin-left: 0; }
.section-lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 56ch;
  margin: 0 auto;
  text-align: center;
}
.section-lead.left { text-align: left; margin-left: 0; }

/* ─── Big pull quote ─── */
.pullquote {
  padding: 7rem 0 6rem;
  background: var(--paper-2);
  border-top: 1px solid var(--linen);
  border-bottom: 1px solid var(--linen);
  position: relative;
  overflow: hidden;
}
.pullquote::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Lora', serif;
  font-size: 14rem;
  line-height: 1;
  color: var(--clay);
  opacity: 0.08;
  pointer-events: none;
  font-style: italic;
}
.pullquote-text {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-style: italic;
  line-height: 1.25;
  color: var(--ink);
  text-align: center;
  max-width: 20ch;
  margin: 0 auto 2rem;
  font-weight: 400;
  position: relative;
  z-index: 1;
  text-wrap: balance;
}
.pullquote-attr {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

/* ─── How it works ─── */
.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}
@media (min-width: 800px) { .how-grid { grid-template-columns: repeat(3, 1fr); } }

.how-card {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 1.5rem;
  padding: 2rem 1.75rem 1.85rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.how-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.how-num {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--clay);
  margin-bottom: 0.85rem;
  display: flex; align-items: center; gap: 0.45rem;
}
.how-num span {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 1.6rem; height: 1.6rem;
  border-radius: 50%;
  border: 1.5px solid var(--clay);
  font-style: normal;
  font-family: 'Lora', serif;
  font-size: 0.78rem;
  font-weight: 500;
}
.how-title {
  font-family: 'Lora', serif;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 0.65rem;
  line-height: 1.2;
}
.how-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}




.step-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step-card-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.step-card-tag .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clay);
}

.step-card-tag .dot.active {
  background: var(--rose);
  animation: pulse 1.5s infinite;
}

.step-card-tag .dot.done {
  background: var(--sage);
}

.step-card-time {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  color: var(--ink-faint);
  font-weight: 500;
}

/* Step Content Styles */
.step-card-quote {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.step-card-voice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
}

.mini-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 24px;
}

.mini-wave span {
  width: 3px;
  background: var(--linen-deep);
  border-radius: 2px;
  animation: wave-mock 1.2s ease-in-out infinite alternate;
}
.mini-wave span:nth-child(1) { height: 8px; animation-delay: 0.1s; }
.mini-wave span:nth-child(2) { height: 18px; animation-delay: 0.3s; }
.mini-wave span:nth-child(3) { height: 12px; animation-delay: 0.5s; }
.mini-wave span:nth-child(4) { height: 22px; animation-delay: 0.2s; }
.mini-wave span:nth-child(5) { height: 14px; animation-delay: 0.4s; }
.mini-wave span:nth-child(6) { height: 20px; animation-delay: 0.6s; }
.mini-wave span:nth-child(7) { height: 10px; animation-delay: 0.1s; }

.mini-mic {
  color: var(--rose);
  width: 1.5rem;
  height: 1.5rem;
}

.step-card-vault-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vault-icon-box {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.5rem;
  background: var(--clay-bg);
  color: var(--clay);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vault-icon-box svg {
  width: 1.1rem;
  height: 1.1rem;
}

.vault-item-meta {
  display: flex;
  flex-direction: column;
}

.vault-item-meta strong {
  font-size: 0.85rem;
  color: var(--ink);
}

.vault-item-meta span {
  font-size: 0.72rem;
  color: var(--ink-faint);
}

/* ─── Unified Editorial How-It-Works Layout ─── */
.how-illus {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
/* ─── Shared Container Layer Context ─── */
.text-center-panel {
  background: var(--paper-2);
  border: 1px solid var(--linen);
  border-radius: 0.85rem;
  padding: 1.25rem;
  height: 250px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

/* ─── BLOCK 1: Native App Shell Mockup ─── */
.app-mockup-container {
  width: 100%;
  max-width: 270px;
  background: #FAFAF8;
  border-radius: 18px;
  border: 1px solid #E5E3DD;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.app-mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #FAFAF8;
  border-bottom: 1px solid #E5E3DD;
}

.app-mockup-brand {
  display: flex;
  align-items: center;
  gap: 5px;
}

.app-mockup-brand .app-logo-circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #3D6B5E;
  position: relative;
  overflow: hidden;
  background: #FAFAF8;
}
.app-mockup-brand .app-logo-circle::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 50%;
  background: #3D6B5E;
  opacity: 0.55;
}

.app-mockup-brand .app-logo-text {
  font-size: 11px;
  font-weight: 600;
  color: #2C524A;
}

.app-mockup-header .app-date {
  font-size: 9px;
  color: #A8A6A0;
  font-weight: 500;
  letter-spacing: 0.6px;
}

.app-mockup-body {
  padding: 12px;
  background: #FAFAF8;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-mockup-body .app-question-card {
  background: #FFFFFF;
  border: 1px solid #E5E3DD;
  border-left: 3px solid #3D6B5E;
  border-radius: 12px;
  padding: 10px 12px;
  text-align: left;
}

.app-mockup-body .app-question-tag-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}

.app-mockup-body .app-question-avatar {
  width: 16px;
  height: 16px;
  background: #3D6B5E;
  color: #FFFFFF;
  border-radius: 50%;
  font-family: 'Lora', Georgia, serif;
  font-size: 8px;
  font-style: italic;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-mockup-body .app-question-tag {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #3D6B5E;
}

.app-mockup-body .app-question-text {
  font-family: 'Lora', Georgia, serif;
  font-size: 12.5px;
  font-weight: 400;
  color: #1A1A1A;
  line-height: 1.35;
  margin: 0 0 4px 0;
}

.app-mockup-body .app-question-instruction {
  font-size: 9px;
  color: #71706B;
  margin: 0;
}

.app-mockup-body .app-action-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  justify-content: center;
  padding-top: 2px;
}

.app-mockup-body .app-mic-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #3D6B5E;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(61, 107, 94, 0.3);
}

.app-mockup-body .app-mic-btn svg {
  width: 15px;
  height: 15px;
}

/* ─── Recording-in-progress state (How it works · step 2) ─── */
.app-mockup-body .app-recording-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 0 2px;
}
.app-recording-timer {
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #1A1A1A;
  letter-spacing: 0.02em;
}
.app-recording-limit {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #A8A6A0;
  font-weight: 500;
}
.app-recording-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  margin: 2px 0;
}
.app-recording-waveform span {
  width: 3px;
  border-radius: 2px;
  background: #C44B43;
  animation: appRecWave 1s ease-in-out infinite;
}
.app-recording-waveform span:nth-child(1){height:8px;animation-delay:0s}
.app-recording-waveform span:nth-child(2){height:16px;animation-delay:0.1s}
.app-recording-waveform span:nth-child(3){height:22px;animation-delay:0.2s}
.app-recording-waveform span:nth-child(4){height:12px;animation-delay:0.3s}
.app-recording-waveform span:nth-child(5){height:18px;animation-delay:0.4s}
.app-recording-waveform span:nth-child(6){height:10px;animation-delay:0.5s}
.app-recording-waveform span:nth-child(7){height:14px;animation-delay:0.6s}
@keyframes appRecWave {
  0%, 100% { transform: scaleY(0.5); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}
.app-stop-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #C44B43;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(196, 75, 67, 0.35);
  position: relative;
}
.app-stop-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #C44B43;
  opacity: 0.3;
  animation: appReadyPulse 1.6s ease-in-out infinite;
}
.app-stop-square {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: #FFFFFF;
}
.app-stop-instruction {
  font-size: 9px;
  color: #C44B43;
  font-weight: 500;
  margin: 0;
}

/* ─── Saved/playback state (How it works · step 3) — matches app portal player ─── */
.app-vault-player-wrapper {
  background: #F3F2EE;
  border: 1px solid #E5E3DD;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.app-vault-player-wrapper .vault-player-track-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-vault-player-wrapper .vault-player-trigger {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #1A1A1A;
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}
.app-vault-player-wrapper .vault-player-trigger svg {
  width: 13px;
  height: 13px;
  margin-left: 1.5px;
}
.app-vault-player-wrapper .vault-player-waveform {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 26px;
  flex: 1;
}
.app-vault-player-wrapper .vault-player-waveform span {
  width: 2.5px;
  border-radius: 2px;
  background: #D0CCC3;
}
.app-vault-player-wrapper .vault-player-waveform span.active {
  background: #3D6B5E;
}
.app-vault-player-wrapper .vault-player-speed {
  font-size: 10px;
  font-weight: 600;
  color: #71706B;
  background: #FFFFFF;
  border: 1px solid #E5E3DD;
  border-radius: 12px;
  padding: 2px 7px;
  flex-shrink: 0;
}
.app-vault-player-wrapper .vault-player-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.app-vault-player-wrapper .vault-player-time {
  font-size: 10px;
  color: #71706B;
  font-variant-numeric: tabular-nums;
}
.app-vault-player-wrapper .vault-player-tag {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: #3D6B5E;
  background: rgba(61, 107, 94, 0.08);
  border-radius: 10px;
  padding: 2px 7px;
}


/* ─── BLOCK 2: WhatsApp Speechnote Card Layout ─── */
.wa-chat-container {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  max-width: 270px;
}

.wa-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--linen-deep);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-bubble {
  background: #E2F4DD;
  border-radius: 0px 12px 12px 12px;
  padding: 10px 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wa-player-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wa-play-btn {
  width: 24px;
  height: 24px;
  color: #54656F;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-play-btn svg {
  width: 16px;
  height: 16px;
}

.wa-wave-timeline {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
  flex-grow: 1;
}

.wa-wave-timeline span {
  width: 2px;
  background: #8696A0;
  border-radius: 1px;
  height: 10px;
  animation: wa-wave-pulse 1.4s ease-in-out infinite alternate;
}
.wa-wave-timeline span:nth-child(even) { height: 16px; }
.wa-wave-timeline span:nth-child(37n+3) { height: 6px; }

.wa-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #667781;
}


/* ─── BLOCK 3: Real Product Vault Audio Interface ─── */
/* ─── BLOCK 3: True Production Vault Component ─── */
.vault-player-card {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  text-align: left;
  width: 100%;
  max-width: 290px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Header Row System Layout */
.vault-player-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.vault-player-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.vault-player-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

.vault-player-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}

.vault-player-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--clay-bg);
  color: var(--clay-deep);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(164, 116, 78, 0.15);
}

/* Control Row Audio Timelines Block */
.vault-player-track-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  background: var(--paper);
  border-radius: 2rem;
  padding: 0.4rem 0.75rem 0.4rem 0.4rem;
  border: 1px solid var(--linen);
}

.vault-player-trigger {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--clay);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(164, 116, 78, 0.2);
}

.vault-player-trigger svg {
  width: 0.9rem;
  height: 0.9rem;
  margin-left: 1.5px;
}

.vault-player-waveform {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 32px;
  flex-grow: 1;
}

.vault-player-waveform span {
  width: 2px;
  background: var(--linen-deep);
  border-radius: 1px;
  transition: background 0.2s ease;
}

/* Replicates active progress track line color fill layout state */
.vault-player-waveform span.active {
  background: var(--clay);
}

.vault-player-speed {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-muted);
  background: var(--paper-3);
  padding: 0.2rem 0.45rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

/* Metadata Footnotes Layer Layout */
.vault-player-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--paper-2);
  padding-top: 0.65rem;
  margin-top: -0.25rem;
}

.vault-player-time {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.vault-player-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--sage);
  background: var(--sage-bg);
  padding: 0.15rem 0.45rem;
  border-radius: 0.25rem;
}

.vault-mockup-date {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}

.vault-mockup-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
}

.vault-mockup-player {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.vault-mockup-play-btn {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--clay);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vault-mockup-play-btn svg {
  width: 0.95rem;
  height: 0.95rem;
  margin-left: 2px;
}

.vault-mockup-progress-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.vault-mockup-track {
  height: 4px;
  background: var(--paper-2);
  border-radius: 2px;
  position: relative;
  width: 100%;
}

.vault-mockup-fill {
  height: 100%;
  background: var(--clay);
  border-radius: 2px;
  position: absolute;
  top: 0;
  left: 0;
}

.vault-mockup-time-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--ink-faint);
  font-weight: 500;
}

/* Wave animation drivers */
@keyframes wa-wave-pulse {
  0% { transform: scaleY(0.7); }
  100% { transform: scaleY(1.3); }
}

.step-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step-card-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.step-card-tag .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clay);
}

.step-card-tag .dot.active {
  background: var(--rose);
  animation: pulse 1.5s infinite;
}

.step-card-time {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  color: var(--ink-faint);
  font-weight: 500;
}

/* Step Content Styles */
.step-card-quote {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.step-card-voice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
}

.mini-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 24px;
}

.mini-wave span {
  width: 3px;
  background: var(--linen-deep);
  border-radius: 2px;
  animation: wave-mock 1.2s ease-in-out infinite alternate;
}
.mini-wave span:nth-child(1) { height: 8px; animation-delay: 0.1s; }
.mini-wave span:nth-child(2) { height: 18px; animation-delay: 0.3s; }
.mini-wave span:nth-child(3) { height: 12px; animation-delay: 0.5s; }
.mini-wave span:nth-child(4) { height: 22px; animation-delay: 0.2s; }
.mini-wave span:nth-child(5) { height: 14px; animation-delay: 0.4s; }

.mini-mic {
  color: var(--rose);
  width: 1.3rem;
  height: 1.3rem;
  display: flex;
  align-items: center;
}

/* Shared Action Footer Labels */
.step-card-action {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sage);
  border-top: 1px solid var(--paper-2);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

/* ─── Step 3: Native Vault Card UI Override Layout ─── */
.how-illus .vault-card {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  text-align: left;
  width: 100%;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-sizing: border-box;
  margin: 0 auto;
}

.how-illus .vault-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--ink-faint);
}

.how-illus .vault-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 0.25rem 0;
}

.how-illus .vault-player {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

.how-illus .vault-play-btn {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--clay);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.how-illus .vault-play-btn svg {
  width: 0.95rem;
  height: 0.95rem;
  margin-left: 2px;
}
/* Container sizing and clean centering */
.how-illus {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 2rem;
  background: transparent; /* No nested background panels */
}

/* Header row layout */
.app-mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 16px;
}
/* Stack mic icon and label vertically, centered */
.app-action-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  width: 100%;
}

/* Gray subtext style matching the app layout */
.app-question-instruction {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  color: #6a6a6a;
  margin: 0;
  text-align: center;
  font-weight: 400;
}

/* Green mic button base styling */
.app-mic-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #3D6B5E;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(61, 107, 94, 0.3);
}

.app-mic-btn svg {
  width: 24px;
  height: 24px;
}
/* Horizontal brand layout alignment */
.app-mockup-brand-horizontal {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

/* Half-filled circle icon — bottom shaded, matching the app logo */
.app-logo-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #3D6B5E;
  position: relative;
  overflow: hidden;
  background: #FAFAF8;
}
.app-logo-circle::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 50%;
  background: #3D6B5E;
  opacity: 0.55;
}

/* Brand title matching the app header */
.app-logo-text {
  font-size: 13.5px;
  font-weight: 600;
  color: #2C524A;
  letter-spacing: -0.2px;
}

.app-date {
  font-size: 10.5px;
  color: #A8A6A0;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.how-illus .vault-progress-container {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-grow: 1;
}

.how-illus .vault-progress-bar {
  height: 4px;
  background: var(--paper-2);
  border-radius: 2px;
  position: relative;
  width: 100%;
}

.how-illus .vault-progress {
  height: 100%;
  background: var(--clay);
  border-radius: 2px;
  position: absolute;
  top: 0;
  left: 0;
}

.how-illus .vault-time {
  display: flex;
  justify-content: space-between;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  color: var(--ink-faint);
  font-weight: 500;
}

/* Common Keyframe Engines */
@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

@keyframes wave-mock {
  0% { transform: scaleY(0.6); }
  100% { transform: scaleY(1.4); }
}
.player-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.player-avatar {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--paper-3);
  color: var(--ink-soft);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(40,30,15,0.06);
}

.player-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex-grow: 1;
}

.player-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.player-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  color: var(--ink-faint);
}

.player-play-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--clay);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-play-btn svg {
  width: 0.85rem;
  height: 0.85rem;
  margin-left: 2px; /* Shifts play icon center slightly */
}

/* Timeline Track */
.player-timeline-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.player-timeline {
  height: 4px;
  background: var(--paper-2);
  border-radius: 2px;
  position: relative;
  width: 100%;
}

.player-progress {
  height: 100%;
  background: var(--clay);
  border-radius: 2px;
  position: absolute;
  top: 0;
  left: 0;
}

.player-handle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clay-deep);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.player-time-labels {
  display: flex;
  justify-content: space-between;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  color: var(--ink-faint);
  font-weight: 500;
}
/* Shared Action Footer Labels */
.step-card-action {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sage);
  border-top: 1px solid var(--paper-2);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

.step-card-action.success {
  color: var(--sage-deep);
}

@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

@keyframes wave-mock {
  0% { transform: scaleY(0.7); }
  100% { transform: scaleY(1.3); }
}

/* Illustration: recording */
.illus-rec {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  position: relative;
}
.illus-rec-btn {
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: var(--sage);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: 0 6px 16px rgba(94,115,85,0.3);
  flex-shrink: 0;
}
.illus-rec-btn::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--sage-light);
  opacity: 0.4;
  animation: pulseRing 2.5s ease-in-out infinite;
}
.illus-rec-btn::after {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1.5px solid var(--sage-light);
  opacity: 0.2;
  animation: pulseRing 2.5s ease-in-out infinite;
  animation-delay: 0.6s;
}
@keyframes pulseRing {
  0% { transform: scale(0.85); opacity: 0.45; }
  100% { transform: scale(1.15); opacity: 0; }
}
.illus-rec-btn svg { width: 1.5rem; height: 1.5rem; color: white; fill: currentColor; }
.illus-rec-wave {
  display: flex; align-items: center; gap: 2px;
  height: 36px;
}
.illus-rec-wave span {
  width: 3px;
  background: var(--sage);
  border-radius: 2px;
  animation: bounce 1.6s ease-in-out infinite;
}
.illus-rec-wave span:nth-child(1) { animation-delay: 0s; }
.illus-rec-wave span:nth-child(2) { animation-delay: 0.15s; }
.illus-rec-wave span:nth-child(3) { animation-delay: 0.3s; }
.illus-rec-wave span:nth-child(4) { animation-delay: 0.45s; }
.illus-rec-wave span:nth-child(5) { animation-delay: 0.6s; }
.illus-rec-wave span:nth-child(6) { animation-delay: 0.75s; }
.illus-rec-wave span:nth-child(7) { animation-delay: 0.9s; }

/* Illustration: family vault */
.illus-vault {
  position: relative;
  width: 100%; height: 100%;
}
.illus-card-mini {
  position: absolute;
  background: white;
  border: 1px solid var(--linen);
  border-radius: 0.55rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.7rem;
  box-shadow: var(--shadow-md);
  line-height: 1.3;
}
.illus-card-mini-1 {
  top: 16%; left: 8%;
  width: 130px;
  transform: rotate(-4deg);
}
.illus-card-mini-2 {
  top: 38%; left: 38%;
  width: 140px;
  transform: rotate(2deg);
  z-index: 2;
}
.illus-card-mini-3 {
  bottom: 12%; right: 6%;
  width: 120px;
  transform: rotate(-2deg);
}
.illus-mini-tag {
  font-size: 0.55rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--clay);
  margin-bottom: 0.2rem;
}
.illus-mini-tag.sage { color: var(--sage); }
.illus-mini-tag.lilac { color: #6C619A; }
.illus-mini-body {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.7rem;
  color: var(--ink-soft);
  line-height: 1.3;
}

/* ─── Product preview section ─── */
.product-stage {
  margin-top: 4rem;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .product-stage { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.product-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  background: var(--paper-2);
  padding: 0.3rem;
  border-radius: 2rem;
  border: 1px solid var(--linen);
  width: fit-content;
}
.product-tab {
  padding: 0.4rem 0.95rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: all 0.15s;
}
.product-tab.on {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.product-feature {
  margin-bottom: 1.2rem;
  padding: 0.85rem 1rem;
  border-left: 2px solid var(--linen);
  cursor: pointer;
  transition: border-color 0.2s, padding 0.2s;
}
.product-feature:hover { border-left-color: var(--clay); }
.product-feature.on {
  border-left-color: var(--sage);
  padding-left: 1.1rem;
}
.product-feature h4 {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  letter-spacing: -0.005em;
}
.product-feature p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.product-preview {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--linen);
  background: var(--white);
  position: relative;
}
.product-preview-frame {
  width: 100%;
  height: 540px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.product-preview iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: var(--paper);
}

/* ─── Topics constellation ─── */
.topics-section {
  position: relative;
  padding: 7rem 0;
  background: var(--paper-2);
  overflow: hidden;
  border-top: 1px solid var(--linen);
  border-bottom: 1px solid var(--linen);
}
.topics-cloud {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.topic-chip {
  font-family: 'Lora', serif;
  font-style: italic;
  background: var(--white);
  border: 1px solid var(--linen);
  padding: 0.55rem 1.1rem;
  border-radius: 2rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  transition: all 0.2s;
  cursor: default;
}
.topic-chip:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: translateY(-2px) rotate(-1deg);
}
.topic-chip.large { font-size: 1.25rem; font-weight: 500; padding: 0.7rem 1.4rem; }
.topic-chip.medium { font-size: 1.05rem; }
.topic-chip.accent { background: var(--clay-bg); border-color: rgba(164,116,78,0.3); color: var(--clay-deep); }
.topic-chip.sage { background: var(--sage-bg); border-color: rgba(94,115,85,0.25); color: var(--sage-deep); }

/* ─── Custom Questions section ─── */
.custom-q-section {
  background: var(--paper);
  overflow: hidden;
}
.cq-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 4rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 900px) {
  .cq-flow { grid-template-columns: 1fr auto 1fr; gap: 1rem; }
}
.cq-side { display: flex; flex-direction: column; gap: 1rem; }
.cq-step-label {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.78rem; font-weight: 600; color: var(--ink-muted);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.cq-step-num {
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--clay); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; flex-shrink: 0;
  font-family: 'Lora', serif; font-style: italic;
}

/* Family compose card (site-brand styling) */
.cq-compose {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 1.25rem;
  padding: 1.3rem;
  box-shadow: var(--shadow-lg);
}
.cq-compose-head {
  display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem;
}
.cq-compose-avatar {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--clay), var(--clay-deep));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-family: 'Lora', serif; font-weight: 600; font-size: 1rem; flex-shrink: 0;
}
.cq-compose-name { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.cq-compose-rel { font-size: 0.78rem; color: var(--ink-muted); }
.cq-compose-field {
  background: var(--paper-2);
  border: 1px solid var(--linen);
  border-radius: 0.85rem;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  min-height: 4.5rem;
  display: flex; align-items: flex-start;
}
.cq-compose-typed {
  font-family: 'Lora', serif;
  font-size: 1.05rem; line-height: 1.5; color: var(--ink); margin: 0;
}
.cq-cursor {
  display: inline-block; width: 2px; height: 1.1rem; background: var(--clay);
  margin-left: 1px; align-self: center;
  animation: cqBlink 1.1s step-end infinite;
}
@keyframes cqBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.cq-compose-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
}
.cq-voice-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: inherit; font-size: 0.8rem; font-weight: 500;
  color: var(--sage-deep); background: var(--sage-bg);
  border: 1px solid rgba(94,115,85,0.2); border-radius: 2rem;
  padding: 0.45rem 0.9rem; cursor: pointer; transition: all 0.2s;
}
.cq-voice-pill svg { width: 0.9rem; height: 0.9rem; }
.cq-voice-pill:hover { border-color: var(--sage); }
.cq-send {
  font-family: inherit; font-size: 0.85rem; font-weight: 600;
  color: var(--white); background: var(--ink);
  border: none; border-radius: 2rem; padding: 0.5rem 1.4rem; cursor: pointer;
  transition: all 0.2s; flex-shrink: 0;
}
.cq-send:hover { background: var(--clay); }

/* Arrow connector */
.cq-arrow {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: var(--linen-deep);
}
.cq-arrow svg {
  width: 100px; height: 20px; fill: none;
  stroke: var(--clay); stroke-width: 1.5; opacity: 0.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.cq-arrow-label {
  font-family: 'Caveat', cursive; font-size: 1.05rem; color: var(--clay); opacity: 0.8;
}
@media (max-width: 899px) {
  .cq-arrow svg { transform: rotate(90deg); width: 60px; }
  .cq-arrow { margin: -0.5rem 0; }
}

/* The custom-question card inside the app mockup (warm tag, app accent) */
.cq-phone { margin: 0 auto; }
.cq-from-card { border-left-color: var(--warm, #C49A6C) !important; }
.cq-from-avatar { background: #C49A6C !important; }
.cq-from-tag { color: #A47E52 !important; }
.cq-listen {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 0.5rem; padding-top: 0.5rem;
  border-top: 1px solid #E5E3DD;
}
.cq-listen-btn {
  width: 26px; height: 26px; border-radius: 50%;
  background: #C49A6C; color: #FFFFFF; border: none;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  cursor: pointer;
}
.cq-listen-btn svg { width: 11px; height: 11px; margin-left: 1px; }
.cq-listen-text { font-size: 10px; color: #71706B; }

/* Three supporting points */
.cq-points {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  margin-top: 4rem; max-width: 900px; margin-left: auto; margin-right: auto;
}
@media (min-width: 600px) { .cq-points { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cq-points { grid-template-columns: repeat(4, 1fr); } }
.cq-point {
  background: var(--white); border: 1px solid var(--linen);
  border-radius: 1.25rem; padding: 1.6rem 1.4rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.cq-point:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cq-point-icon {
  width: 2.6rem; height: 2.6rem; border-radius: 0.8rem;
  background: var(--sage-bg); color: var(--sage-deep);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.cq-point-icon svg { width: 1.3rem; height: 1.3rem; }
.cq-point-title {
  font-family: 'Lora', serif; font-size: 1.2rem; font-weight: 500;
  color: var(--ink); margin-bottom: 0.5rem;
}
.cq-point-desc { font-size: 0.95rem; line-height: 1.6; color: var(--ink-muted); }
.cq-point-desc em { font-style: italic; color: var(--ink-soft); }


/* ─── Sample memories ─── */
.memories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 700px) { .memories-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .memories-grid { grid-template-columns: repeat(3, 1fr); } }

.memory-card {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 1.25rem;
  padding: 1.5rem 1.4rem 1.35rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}
.memory-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.memory-card-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.85rem;
}
.memory-elder {
  display: flex; align-items: center; gap: 0.55rem;
}
.memory-avatar {
  width: 1.8rem; height: 1.8rem;
  border-radius: 50%;
  background: var(--clay);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 600;
}
.memory-avatar.sage { background: var(--sage); }
.memory-avatar.lilac { background: #6C619A; }
.memory-elder-name { font-size: 0.78rem; font-weight: 500; }
.memory-elder-relation { font-size: 0.62rem; color: var(--ink-faint); }
.memory-tag {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 0.18rem 0.5rem;
  border-radius: 0.3rem;
  background: var(--clay-bg);
  color: var(--clay);
}
.memory-tag.sage { background: var(--sage-bg); color: var(--sage); }
.memory-tag.rose { background: rgba(176,74,74,0.08); color: var(--rose); }
.memory-prompt {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.memory-quote {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 1.1rem;
  flex: 1;
}
.memory-player {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  background: var(--paper-2);
  border-radius: 2rem;
}
.memory-play {
  width: 1.9rem; height: 1.9rem;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.memory-play:hover { background: var(--sage); }
.memory-play.playing { background: var(--sage); }
.memory-play svg { width: 0.7rem; height: 0.7rem; fill: currentColor; }
.memory-wave {
  flex: 1;
  height: 22px;
  display: flex;
  align-items: center;
  gap: 1.5px;
  cursor: pointer;
}
.memory-wave span {
  flex: 1;
  background: var(--linen-deep);
  border-radius: 1px;
  min-width: 2px;
  transition: background 0.15s;
}
.memory-wave span.played { background: var(--sage); }
.memory-time {
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
  font-family: 'JetBrains Mono', monospace;
}

/* ─── Stats banner ─── */
.stats {
  background: var(--ink);
  color: var(--paper);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(164,116,78,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(94,115,85,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1rem;
  text-align: center;
  position: relative;
}
@media (min-width: 700px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-num {
  font-family: 'Lora', serif;
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--clay);
}
.stat-num em { font-style: normal; color: var(--paper); }
.stat-label {
  font-size: 0.82rem;
  color: var(--ink-fainter);
  letter-spacing: 0.03em;
  line-height: 1.45;
  max-width: 22ch;
  margin: 0 auto;
}

/* ─── Testimonials ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (min-width: 800px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: dense;
  }
}
@media (min-width: 1100px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 1.25rem;
  padding: 1.6rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.testimonial.feature {
  background: var(--paper-2);
  border-color: var(--linen-deep);
  grid-row: span 2;
}
.testimonial-quote-mark {
  font-family: 'Lora', serif;
  font-size: 2.5rem;
  color: var(--clay);
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.4;
}
.testimonial-text {
  font-family: 'Lora', serif;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-soft);
  flex: 1;
  margin-bottom: 1.5rem;
  text-wrap: pretty;
}
.testimonial.feature .testimonial-text { font-size: 1.18rem; }
.testimonial-text em { font-style: italic; }
.testimonial-author {
  display: flex; align-items: center; gap: 0.75rem;
}
.testimonial-avatar {
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clay), var(--clay-deep));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.testimonial-avatar.sage { background: linear-gradient(135deg, var(--sage), var(--sage-deep)); }
.testimonial-avatar.rose { background: linear-gradient(135deg, #B57B7B, #7A4F4F); }
.testimonial-avatar.lilac { background: linear-gradient(135deg, #9A8DA8, #615678); }
.testimonial-avatar.sky { background: linear-gradient(135deg, #7E96B2, #4B6781); }
.testimonial-name { font-size: 0.88rem; font-weight: 500; }
.testimonial-meta { font-size: 0.72rem; color: var(--ink-faint); }

/* ─── Pricing ─── */
.pricing {
  display: flex;
  justify-content: center;
  width: 100%;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 1.5rem;
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
  max-width: 420px;
  grid-column: unset;
}
.price-card.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
  z-index: 2;
  padding-top: 2.75rem;
}




.prompt-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prompt-card-badge {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--clay);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.prompt-card-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clay);
}

.prompt-card-time {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  color: var(--ink-faint);
  font-weight: 500;
}

.prompt-card-quote {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 400;
  padding: 0.2rem 0;
  /* Removed border-left to give it an airy, un-cluttered editorial format */
}

.prompt-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--paper-2);
  padding-top: 1rem;
  margin-top: 0.25rem;
}

.prompt-card-action {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sage);
}

.prompt-card-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--sage-bg);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prompt-card-icon svg {
  width: 1rem;
  height: 1rem;
}

.price-tier {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--clay);
  margin-bottom: 0.85rem;
}
.price-card.featured .price-tier { color: #D4A77A; }
.price-name {
  font-family: 'Lora', serif;
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}
.price-currency {
  font-size: 1rem;
  color: var(--ink-muted);
  font-weight: 500;
}
/* An orphan `font-weight: 500;` sat here, outside any rule. CSS error recovery
   consumes tokens until the next {} block, so it swallowed the selector below
   and dropped the rule entirely — the R rendered at 3.04:1 on the dark card
   instead of 9.19:1. Measured in chromium, not inferred. */
.price-card.featured .price-currency { color: var(--ink-fainter); }
.price-num {
  font-family: 'Lora', serif;
  font-size: 3.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-period {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 1.4rem;
}
.price-card.featured .price-period { color: var(--ink-fainter); }
.price-features {
  list-style: none;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.price-card.featured .price-features li { color: var(--paper-3); }
.price-features svg {
  width: 1rem; height: 1rem;
  flex-shrink: 0;
  color: var(--sage);
  margin-top: 0.15rem;
}
.price-card.featured .price-features svg { color: var(--sage-light); }
.price-cta {
  width: 100%;
  justify-content: center;
}

/* ─── Privacy callout ─── */
.privacy-callout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  border-radius: 2rem;
  padding: 3rem 2.5rem;
  margin: 5rem 0;
  overflow: hidden;
  position: relative;
}
@media (min-width: 800px) {
  .privacy-callout { grid-template-columns: 1fr 1fr; padding: 4rem; }
}
/* The radial glow that used to sit here read as a rendering fault rather than
   a flourish: a lighter patch about a third of the way in from the right, with
   no edge to explain it. One flat colour, like the pricing card. */
.privacy-title {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-wrap: balance;
}
.privacy-title em { font-style: italic; color: var(--clay); }
.privacy-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-fainter);
  max-width: 38ch;
}
.privacy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.privacy-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.privacy-icon {
  width: 2.2rem; height: 2.2rem;
  border-radius: 0.65rem;
  background: rgba(143,165,130,0.15);
  color: var(--sage-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.privacy-icon svg { width: 1.05rem; height: 1.05rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.privacy-name { font-weight: 500; font-size: 0.92rem; margin-bottom: 0.15rem; color: var(--paper); }
.privacy-desc { font-size: 0.82rem; line-height: 1.5; color: var(--ink-fainter); }

/* ─── Founder letter ─── */
.letter-section {
  padding: 6rem 0;
}
.letter-wrap {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 2rem;
  padding: 3rem 2.5rem;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  box-shadow: var(--shadow-md);
}
@media (min-width: 800px) {
  .letter-wrap { padding: 4rem 4rem 3.5rem; }
}
.letter-wrap::before {
  content: '';
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  width: 4.5rem; height: 4.5rem;

  opacity: 0.92;
  border-radius: 50%;
  transform: rotate(-12deg);
  filter: blur(0.3px);
}
.letter-wrap::after {
  white-space: pre;
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 4rem; height: 4rem;
  display: flex;
  align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.45rem;
  color: white;
  letter-spacing: 0.1em;
  white-space: pre;
  text-align: center;
  transform: rotate(-12deg);
  pointer-events: none;
  line-height: 1.3;
}
.letter-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--clay);
  margin-bottom: 1.5rem;
}
.letter-body {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.letter-body p { margin-bottom: 1.1rem; }
.letter-body p:last-of-type { margin-bottom: 1.8rem; }
.letter-body strong { color: var(--ink); font-weight: 500; }


/* ─── FAQ ─── */
.faq-list {
  max-width: 760px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 1rem;
  padding: 1.2rem 1.4rem;
  transition: all 0.2s;
}
.faq-item.open {
  border-color: var(--linen-deep);
  box-shadow: var(--shadow-md);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.faq-toggle {
  width: 1.6rem; height: 1.6rem;
  border-radius: 50%;
  border: 1px solid var(--linen-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s, background 0.2s;
}
.faq-toggle svg { width: 0.75rem; height: 0.75rem; stroke: currentColor; fill: none; stroke-width: 2.5; }
.faq-item.open .faq-toggle {
  background: var(--sage);
  color: white;
  border-color: var(--sage);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-muted);
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding-top: 1rem;
}

/* ─── Final CTA ─── */
.final-cta {
  padding: 7rem 0 9rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(164,116,78,0.12), transparent 70%);
  pointer-events: none;
}
.final-cta-title {
  font-family: 'Lora', serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
  position: relative;
}
.final-cta-title em { font-style: italic; color: var(--clay); }
.final-cta-text {
  font-size: 1.1rem;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 50ch;
  margin: 0 auto 2.5rem;
  position: relative;
}
.final-cta-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ─── Footer ─── */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-brand .nav-mark {
  border-color: var(--clay);
}
.footer-brand .nav-mark::after { background: var(--clay); }
.footer-tagline {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-fainter);
  margin-top: 1rem;
  max-width: 30ch;
  line-height: 1.5;
}
.footer h4 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-fainter);
  margin-bottom: 1.1rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-links a {
  color: var(--paper);
  font-size: 0.88rem;
  opacity: 0.85;
  transition: opacity 0.15s, color 0.15s;
}
.footer-links a:hover { opacity: 1; color: var(--clay); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--ink-fainter);
}
.footer-meta {
  font-size: 0.72rem;
  color: var(--ink-fainter);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}

/* ─── Reveal animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(.2,.6,.2,1), transform 0.8s cubic-bezier(.2,.6,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── More than questions section ── */
.more-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 2.5rem 0 1.5rem;
}
@media (min-width: 640px) {
  .more-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .more-grid { grid-template-columns: repeat(4, 1fr); }
}
.more-card {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 1rem;
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.more-card-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.65rem;
  border-radius: 2rem;
  align-self: flex-start;
  margin-bottom: 0.15rem;
}
.more-card-title {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}
.more-card-desc {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.6;
  flex: 1;
}
.more-card-quote {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.5;
  border-left: 2px solid var(--linen);
  padding-left: 0.65rem;
  margin-top: 0.25rem;
}
.more-card-meta {
  font-size: 0.68rem;
  color: var(--ink-fainter);
  margin-top: 0.1rem;
}
.more-note {
  max-width: 600px;
  margin: 0 auto;
}
.more-note-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.6;
}
.more-note-inner strong { color: var(--ink); }

/* ── Accurate storyCard replica for "How it works" evening mockup ── */
.site-story-card {
  background: #F3F2EE;
  border: 1px solid #E5E3DD;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
}
.site-story-summary {
  font-size: 10.5px;
  line-height: 1.5;
  color: #3A3A35;
}
.site-player {
  display: flex;
  align-items: center;
  gap: 7px;
}
.site-play-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #1A1A1A;
  color: #fff;
  border: none;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; cursor: pointer;
}
.site-play-btn svg { width: 11px; height: 11px; margin-left: 1.5px; }
.site-p-track {
  flex: 1; height: 4px;
  background: #D0CCC3;
  border-radius: 2px;
  position: relative;
}
.site-p-fill {
  width: 28%;
  height: 100%;
  background: #3D6B5E;
  border-radius: 2px;
  position: relative;
}
.site-p-dot {
  position: absolute;
  right: -5px; top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #3D6B5E;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.site-p-time {
  font-size: 9.5px;
  color: #71706B;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.site-p-restart {
  font-size: 8.5px;
  font-weight: 600;
  color: #9A9892;
  background: #E8E6E0;
  border-radius: 20px;
  padding: 2px 6px;
  flex-shrink: 0;
}
.site-transcript-toggle {
  font-size: 9.5px;
  font-weight: 500;
  color: #3D6B5E;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-rx-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-top: 6px;
  border-top: 1px solid #E5E3DD;
  flex-wrap: wrap;
}
.site-rx-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  font-weight: 600;
  color: #5A5A55;
  background: none;
  border: 1px solid #E5E3DD;
  border-radius: 20px;
  padding: 3px 8px;
  cursor: pointer;
}
.site-rx-btn svg { width: 10px; height: 10px; }
.site-rx-love { color: #C0392B; border-color: rgba(192,57,43,0.2); background: rgba(192,57,43,0.04); }
.site-rx-share { margin-left: auto; }
.site-rx-count {
  font-size: 9px;
  color: #9A9892;
  margin-left: auto;
}

/* ── cq-points: 2x2 at desktop, 1 col mobile ── */
@media (min-width: 960px) { .cq-points { grid-template-columns: repeat(2, 1fr); max-width: 720px; } }

/* ── Pricing mobile fixes ── */
@media (max-width: 600px) {
  .pricing { padding: 0; }
  .price-card { max-width: 100%; width: 100%; padding: 2.5rem 1.4rem 1.5rem; border-radius: 1.25rem; }
  .price-card.featured { transform: none; }
  .price-name { font-size: 1.5rem; white-space: nowrap; }
  .price-num { font-size: 2.8rem; }
  .price-period { font-size: 0.82rem; white-space: normal; }
  .price-features { gap: 0.5rem; }
  .price-features li { font-size: 0.83rem; }
}

/* ═══════════════════════════════════════════════════════════
   Gentle motion — tuned slow and soft to match the warm tone.
   All motion is disabled under prefers-reduced-motion.
   ═══════════════════════════════════════════════════════════ */

/* Living phone mockup — the mic gently invites a tap, and a soft
   waveform breathes below it as if her voice is being captured. */
.app-mic-live {
  position: relative;
}
.app-mic-live::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px solid #3D6B5E;
  opacity: 0;
  animation: micPulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes micPulse {
  0%   { transform: scale(1);    opacity: 0.6; }
  70%  { transform: scale(1.8);  opacity: 0; }
  100% { transform: scale(1.8);  opacity: 0; }
}

.app-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 26px;
  margin-top: 0.9rem;
}
.app-waveform span {
  width: 3px;
  height: 30%;
  border-radius: 3px;
  background: #3D6B5E;
  opacity: 0.7;
  animation: waveBar 1.3s ease-in-out infinite;
}
.app-waveform span:nth-child(1) { animation-delay: 0s;    }
.app-waveform span:nth-child(2) { animation-delay: 0.12s; }
.app-waveform span:nth-child(3) { animation-delay: 0.24s; }
.app-waveform span:nth-child(4) { animation-delay: 0.36s; }
.app-waveform span:nth-child(5) { animation-delay: 0.48s; }
.app-waveform span:nth-child(6) { animation-delay: 0.36s; }
.app-waveform span:nth-child(7) { animation-delay: 0.24s; }
.app-waveform span:nth-child(8) { animation-delay: 0.12s; }
.app-waveform span:nth-child(9) { animation-delay: 0s;    }
@keyframes waveBar {
  0%, 100% { height: 25%; opacity: 0.5; }
  50%      { height: 100%; opacity: 0.85; }
}

/* Drifting topic constellation — each chip floats on its own slow,
   gentle loop so the cloud feels alive rather than pinned. */
.topics-cloud .topic-chip {
  animation: chipDrift var(--drift-dur, 7s) ease-in-out infinite;
  animation-delay: var(--drift-delay, 0s);
  will-change: transform;
}
@keyframes chipDrift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(var(--drift-x, 0px), var(--drift-y, -6px)); }
}

/* Staggered scroll reveals are handled by the existing .reveal / .visible
   rules and the IntersectionObserver; we add per-item stagger delays in JS. */

@media (prefers-reduced-motion: reduce) {
  .app-mic-live::after,
  .app-waveform span,
  .topics-cloud .topic-chip { animation: none; }
  .app-waveform span { height: 45%; }
}


/* ── Payment trust line (pricing) ──
   Prominent without shouting: it must be read, but it is reassurance, not the
   headline. Sized so the bolded phrases carry at a glance — someone scanning
   picks up "never see your card details", "straight to them", "last four
   digits" without reading the sentence. */
.pay-trust {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  max-width: 38rem;
  margin: 1.5rem auto 0;
  padding: 0.75rem 1.05rem;
  border: 1px solid rgba(94,115,85,0.35);
  border-radius: 0.9rem;
  background: rgba(94,115,85,0.06);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink);
  text-align: left;
}
.pay-trust svg {
  flex: 0 0 auto;
  width: 1.15rem; height: 1.15rem;
  margin-top: 0.15rem;
  stroke: var(--sage);
  fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.pay-trust strong { font-weight: 700; color: var(--clay); }
/* The one thing someone must not miss. Given its own line and its own weight,
   because "you do not have to enter a card today" answers a bigger hesitation
   than anything about encryption does — and buried mid-paragraph it was being
   skimmed past. */
.pay-trust-lead {
  display: block;
  font-weight: 700;
  font-size: 1.02em;
  color: var(--clay);
  margin-bottom: 0.3rem;
}
@media (max-width: 560px) {
  .pay-trust { font-size: 0.78rem; padding: 0.7rem 0.9rem; gap: 0.55rem; }
}

/* ─────────────────────────────────────────────────────
   20 Aug — tester feedback: per-family price, "archive"
   explainer, back to top.
   ─────────────────────────────────────────────────── */

/* ─── "R99 for the whole family" ───
   The confusion this answers arrives at the number, so it sits directly under
   it and is the brightest thing in the block. .price-period is dimmed to
   --ink-fainter on the featured card, so this needs equal specificity to win. */
.price-perfamily {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 0.3rem;
  color: var(--ink);
}
.price-card.featured .price-perfamily { color: var(--paper); }

/* ─── Inline term explainer ───
   Tap, not hover: most traffic is phones, where :hover either never fires or
   fires stuck on the first tap. */
.hero-lead { position: relative; }
/* Both .hero-text and .hero-stage carry a transform from .reveal, and a
   transform creates a stacking context. Both are z-index:auto, so they sit at
   the same level and the LATER one in the DOM — the stage — paints on top of
   everything inside the text column, including a child at z-index 60. The
   popover's own z-index could never win that: it only orders things WITHIN
   .hero-text. Measured in chromium at 320/360/412/430/455px, where hit-testing
   the popover returned .float-card and .app-header-bar.
   Lifting the whole text column is the fix, and only while the popover is open
   so the float cards keep their intended layering the rest of the time. */
.hero-text { position: relative; }
.hero-text.term-open { z-index: 70; }
.term {
  display: inline;
  padding: 0;
  font: inherit;
  color: var(--sage-deep);
  border-bottom: 1px dashed var(--sage-light);
  cursor: pointer;
}
.term:hover { border-bottom-color: var(--sage-deep); }
.term:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; border-radius: 2px; }
.term-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.95em;
  height: 0.95em;
  margin-left: 0.28em;
  vertical-align: 0.12em;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-size: 0.68em;
  font-weight: 700;
  line-height: 1;
}
.term-pop {
  display: block;
  position: absolute;
  z-index: 60;
  left: 0;
  margin-top: 0.6rem;
  max-width: 23rem;
  padding: 1rem 1.1rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--linen-deep);
  border-radius: 0.85rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.term-pop[hidden] { display: none; }
.term-pop-title {
  display: block;
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.term-pop-close {
  display: block;
  margin-top: 0.7rem;
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  background: var(--sage);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
}
@media (max-width: 560px) {
  .term-pop { max-width: none; right: 0; }
}

/* ─── Back to top ───
   z-index 90 keeps it UNDER the nav (100), so the open mobile menu covers it
   rather than the button floating over the menu. */
.to-top {
  position: fixed;
  right: 1.1rem;
  bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 2.9rem;
  height: 2.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(0.5rem);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}
.to-top[hidden] { display: none; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--sage-deep); }
.to-top:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
.to-top svg { width: 1.15rem; height: 1.15rem; }
@media (min-width: 800px) {
  .to-top { right: 1.75rem; bottom: 1.75rem; width: 3.1rem; height: 3.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: none; }
}

/* ─── As a gift ───
   Sits between the price and the founder letter: the reader has just seen R99
   and is deciding, and "what do I give her" is an easier question than "do I
   commit to a subscription". Centred and narrow so it reads as a single
   thought rather than another feature block. */
.gift-section {
  background: var(--paper-2);
  border-top: 1px solid var(--linen);
  border-bottom: 1px solid var(--linen);
}
.gift-body {
  max-width: 34em;
  margin: 1.6rem auto 0;
  text-align: center;
}
.gift-body p {
  /* The section-lead above ends a sentence; without breathing room here the
     first body line reads as a run-on with it. */
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}
.gift-body p strong { color: var(--ink); font-weight: 600; }
.gift-body .btn { margin-top: 1.2rem; }

/* ─── Printable guides ───
   Sits before the gift section: someone still deciding gets to see exactly
   what their mother would be handed, which is more convincing than any
   paragraph about how simple it is. */
.guides-section { background: var(--paper-2); border-top: 1px solid var(--linen);
  border-bottom: 1px solid var(--linen); }
.guides-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem; max-width: 56em; margin: 2rem auto 0; }
.guide-card { display: block; background: var(--white); border: 1px solid var(--linen);
  border-radius: 0.9rem; padding: 1.4rem 1.5rem; text-align: left;
  transition: transform 0.15s, box-shadow 0.15s; }
.guide-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.guide-kicker { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--clay); font-weight: 600; }
.guide-name { font-family: 'Lora', Georgia, serif; font-size: 1.12rem; font-weight: 500;
  color: var(--ink); margin: 0.4rem 0 0.6rem; line-height: 1.3; }
.guide-card p { font-size: 0.9rem; line-height: 1.6; color: var(--ink-soft);
  margin-bottom: 0.9rem; }
.guide-cta { font-size: 0.87rem; font-weight: 600; color: var(--sage-deep); }
