/* ═══════════════════════════════════════════════════════════════
   File: /public/css/families.css
   Source: extracted verbatim from /public/families.html <style> (lines 33-1837), 2026-05-04
   Brace balance: 448 open / 448 close (interior of <style>...</style>)
   ═══════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   FOUNDATIONS
   ═══════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --f-serif: 'Fraunces', 'Georgia', serif;
  --f-sans: 'General Sans', system-ui, -apple-system, sans-serif;

  --ink: #0d0b0e;
  --ink-soft: #2a2433;
  --ink-muted: #6b6177;
  --surface: #faf8f5;
  --surface-warm: #f7f1eb;
  --surface-dark: #13111a;
  --surface-deep: #0d0b10;

  /* Brand consistency */
  --amber: #e8a33d;
  --amber-light: #f4c97b;
  --lavender: #9b8ec4;

  /* Families palette — tech-forward indigo + amber */
  --fam-primary: #6366f1;
  --fam-primary-soft: #818cf8;
  --fam-primary-pale: rgba(99,102,241,0.08);
  --fam-rose: #f0ecfa;
  --fam-warm: #f5f0e8;
  --fam-accent: #e8a33d;
  --fam-accent-soft: #f4c97b;

  /* Tile colors — Fitzgerald Key */
  --fk-verb: #f0862e;
  --fk-noun: #f2c624;
  --fk-adj: #3b82f6;
  --fk-social: #ec5fa0;
  --fk-question: #8b5cf6;
  --fk-negation: #ef4444;
  --fk-help: #22c55e;

  --teal: #3aada8;
  --teal-soft: #7ed4d0;
  --green: #22c55e;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --container: min(1120px, 88vw);
  --section-gap: clamp(5rem, 12vw, 8rem);
}

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

body {
  font-family: var(--f-sans);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--f-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }
.container { width: var(--container); margin: 0 auto; }

/* Subtle grain overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* Reveal system */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.rv.vis { opacity: 1; transform: translateY(0); }
.rv-d1 { transition-delay: 0.08s; }
.rv-d2 { transition-delay: 0.16s; }
.rv-d3 { transition-delay: 0.24s; }
.rv-d4 { transition-delay: 0.32s; }
.rv-d5 { transition-delay: 0.40s; }
.rv-d6 { transition-delay: 0.48s; }
.rv-d7 { transition-delay: 0.56s; }
.rv-d8 { transition-delay: 0.64s; }

/* ═══════════════════════════════════════════
   NAV — matches main site
   ═══════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.1rem 0;
  transition: all 0.5s var(--ease-out);
}
.nav.scrolled {
  background: rgba(13, 11, 14, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 0.65rem 0;
  box-shadow: 0 1px 40px rgba(0,0,0,0.25);
}
.nav-inner {
  width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--f-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-logo-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--amber); }
.nav-links a.active { color: #fff; font-weight: 700; }
.nav-cta-btn {
  background: #9b8ec4;
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.55rem 1.3rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease-spring);
}
.nav-cta-btn:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(155,142,196,0.4); }
.hamburger { display: none; background: none; border: none; padding: 0.5rem; cursor: pointer; }
.hamburger span {
  display: block; width: 22px; height: 2px; background: #fff;
  margin: 5px 0; border-radius: 2px;
}
.mob-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(13,11,14,0.96); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.mob-menu.open { display: flex; }
.mob-menu a {
  color: #fff; font-size: 1.3rem; font-family: var(--f-serif);
  opacity: 0.8; transition: opacity 0.3s;
}
.mob-menu a:hover { opacity: 1; }
.mob-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer;
}

/* ═══════════════════════════════════════════
   SHARED SECTION STYLES
   ═══════════════════════════════════════════ */
.section-label {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fam-primary);
  margin-bottom: 1.2rem;
}
.section-label::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--fam-primary);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  max-width: 700px;
}
.section-title em {
  font-style: italic;
  color: var(--fam-primary);
  font-weight: 600;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--ink-muted);
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 3rem;
}

/* ═══════════════════════════════════════════
   HERO — Dark, immersive, tech-forward
   ═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--surface-dark);
  color: #fff;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5rem;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 40%, rgba(99,102,241,0.08), transparent),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(58,173,168,0.06), transparent);
  pointer-events: none;
}

/* Star field */
.hero-stars {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-stars canvas {
  width: 100%; height: 100%;
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fam-accent);
  margin-bottom: 2rem;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--fam-accent);
  box-shadow: 0 0 8px var(--fam-accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; box-shadow: 0 0 4px var(--fam-accent); }
  50% { opacity: 1; box-shadow: 0 0 12px var(--fam-accent-soft); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1.8rem;
  color: #fff;
}
.hero h1 em {
  font-style: italic;
  color: var(--fam-accent);
  font-weight: 600;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.5rem;
  max-width: 500px;
}
.hero-sub strong { color: var(--fam-accent-soft); font-weight: 600; }

.hero-ctas {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 3rem;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--fam-accent);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  transition: all 0.3s var(--ease-spring);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232,163,61,0.35);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  border: 2px solid rgba(255,255,255,0.15);
  transition: all 0.3s var(--ease-spring);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  transform: translateY(-2px);
}

.hero-stats {
  display: flex; gap: 2rem; flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat-val {
  font-family: var(--f-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fam-accent);
}
.hero-stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}

/* Hero visual — Animated device demo */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* ═══ POKEMON SNAP HERO DEMO ═══ */
.snap-demo {
  width: 420px;
  height: 420px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Viewfinder frame --- */
.snap-viewfinder {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 5;
}
/* Corner brackets */
.snap-viewfinder::before,
.snap-viewfinder::after,
.snap-corner-br::before,
.snap-corner-br::after {
  content: '';
  position: absolute;
  width: 40px; height: 40px;
  border-color: rgba(255,255,255,0.5);
  border-style: solid;
}
.snap-viewfinder::before { top: 30px; left: 30px; border-width: 3px 0 0 3px; border-radius: 4px 0 0 0; }
.snap-viewfinder::after  { top: 30px; right: 30px; border-width: 3px 3px 0 0; border-radius: 0 4px 0 0; }
.snap-corner-br::before  { bottom: 30px; left: 30px; border-width: 0 0 3px 3px; border-radius: 0 0 0 4px; }
.snap-corner-br::after   { bottom: 30px; right: 30px; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }
.snap-corner-br { position: absolute; inset: 0; pointer-events: none; z-index: 5; }

/* Crosshair */
.snap-crosshair {
  position: absolute;
  width: 80px; height: 80px;
  z-index: 6;
  animation: crosshairMove 10s cubic-bezier(0.4,0,0.2,1) infinite;
}
.snap-crosshair::before,
.snap-crosshair::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.6);
}
.snap-crosshair::before { /* horizontal line */
  top: 50%; left: 0; right: 0;
  height: 1.5px; transform: translateY(-50%);
}
.snap-crosshair::after { /* vertical line */
  left: 50%; top: 0; bottom: 0;
  width: 1.5px; transform: translateX(-50%);
}
.snap-crosshair-ring {
  position: absolute; inset: 10px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  animation: crosshairLock 10s ease infinite;
}
@keyframes crosshairMove {
  0%        { top: 25%; left: 55%; }
  8%        { top: 40%; left: 30%; }
  16%       { top: 30%; left: 60%; }
  24%, 35%  { top: calc(50% - 40px); left: calc(50% - 40px); } /* lock on center */
  38%       { top: calc(50% - 40px); left: calc(50% - 40px); opacity: 1; }
  42%, 100% { top: calc(50% - 40px); left: calc(50% - 40px); opacity: 0; }
}
@keyframes crosshairLock {
  0%, 16%   { border-color: rgba(255,255,255,0.4); transform: scale(1); }
  24%       { border-color: var(--fam-accent); transform: scale(0.85); border-width: 3px; }
  28%, 35%  { border-color: var(--green); transform: scale(0.9); border-width: 3px; }
  42%, 100% { border-color: var(--green); transform: scale(0.9); opacity: 0; }
}

/* The apple (real object) */
.snap-subject {
  font-size: 10rem;
  z-index: 2;
  animation: subjectSnap 10s ease infinite;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}
@keyframes subjectSnap {
  0%, 24%   { transform: scale(1); opacity: 1; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3)); }
  30%       { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3)); } /* slight zoom on lock */
  35%       { transform: scale(0.8); opacity: 1; filter: brightness(2) drop-shadow(0 0 40px #fff); } /* flash hit */
  40%       { transform: scale(0.6); opacity: 0; }
  100%      { transform: scale(0.6); opacity: 0; }
}

/* Scene label */
.snap-scene-label {
  position: absolute;
  bottom: 60px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  z-index: 3;
  animation: sceneLabelFade 10s ease infinite;
}
@keyframes sceneLabelFade {
  0%, 30% { opacity: 1; }
  38%, 100% { opacity: 0; }
}

/* REC dot */
.snap-rec {
  position: absolute; top: 40px; right: 45px;
  display: flex; align-items: center; gap: 6px;
  z-index: 6;
  animation: recFade 10s ease infinite;
}
.snap-rec::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: recBlink 1s ease infinite;
}
.snap-rec-text {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
}
@keyframes recBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.3; }
}
@keyframes recFade {
  0%, 35% { opacity: 1; }
  40%, 100% { opacity: 0; }
}

/* Camera flash */
.snap-flash {
  position: absolute; inset: 0;
  background: #fff;
  border-radius: 20px;
  opacity: 0;
  z-index: 10;
  pointer-events: none;
  animation: snapFlash 10s ease infinite;
}
@keyframes snapFlash {
  0%, 33%  { opacity: 0; }
  34%      { opacity: 0.95; }
  37%      { opacity: 0; }
  100%     { opacity: 0; }
}

/* --- Phase 2: Tile card appears --- */
.snap-tile-result {
  position: absolute;
  z-index: 8;
  display: flex; flex-direction: column;
  align-items: center;
  width: 180px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 2px rgba(255,255,255,0.08);
  animation: tileAppear 10s cubic-bezier(0.34,1.56,0.64,1) infinite;
}
.snap-tile-top {
  width: 100%;
  background: var(--fk-noun);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px 20px;
}
.snap-tile-emoji {
  font-size: 4.5rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}
.snap-tile-bottom {
  width: 100%;
  background: rgba(0,0,0,0.25);
  padding: 12px 20px;
  text-align: center;
}
.snap-tile-label {
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  font-family: var(--f-sans);
}
@keyframes tileAppear {
  0%, 39%  { transform: scale(0); opacity: 0; }
  44%      { transform: scale(1.1); opacity: 1; }
  48%, 60% { transform: scale(1); opacity: 1; }
  65%      { transform: scale(0.8) translateY(-20px); opacity: 0; }
  100%     { transform: scale(0.8) translateY(-20px); opacity: 0; }
}

/* --- Phase 3: Sentence bubble --- */
.snap-sentence {
  position: absolute;
  z-index: 9;
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  animation: sentenceAppear 10s ease infinite;
}
.snap-sentence-bubble {
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(232,163,61,0.2));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 28px 36px;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.snap-sentence-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
  animation: speakerPulse2 10s ease infinite;
}
@keyframes speakerPulse2 {
  0%, 68% { transform: scale(1); }
  72% { transform: scale(1.25); }
  75% { transform: scale(1); }
  78% { transform: scale(1.2); }
  81%, 100% { transform: scale(1); }
}
.snap-sentence-text {
  font-family: var(--f-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  font-style: italic;
  line-height: 1.4;
}
.snap-sentence-tiles {
  display: flex; gap: 8px;
}
.snap-mini-tile {
  border-radius: 8px;
  display: flex; flex-direction: column;
  align-items: center;
  overflow: hidden;
  opacity: 0.9;
  width: 72px;
}
.snap-mini-tile-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 4px 4px;
  font-size: 1.3rem;
}
.snap-mini-tile-bottom {
  width: 100%;
  background: rgba(0,0,0,0.25);
  padding: 4px 4px;
  text-align: center;
  font-size: 0.45rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--f-sans);
  color: #fff;
}
.snap-mini-tile.smt-noun .snap-mini-tile-top { background: var(--fk-noun); }
.snap-mini-tile.smt-verb .snap-mini-tile-top { background: var(--fk-verb); }
.snap-mini-tile.smt-social .snap-mini-tile-top { background: var(--fk-social); }
@keyframes sentenceAppear {
  0%, 62%  { transform: scale(0.8); opacity: 0; }
  68%      { transform: scale(1.02); opacity: 1; }
  72%, 92% { transform: scale(1); opacity: 1; }
  98%      { transform: scale(0.95); opacity: 0; }
  100%     { opacity: 0; }
}

/* Step indicators (reused) */
.hero-demo-steps {
  margin-top: 1.5rem; text-align: center;
}
.hd-step-indicator {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 0.8rem;
}
.hd-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.hd-dot-1 { animation: dotSnap1 10s ease infinite; }
.hd-dot-2 { animation: dotSnap2 10s ease infinite; }
.hd-dot-3 { animation: dotSnap3 10s ease infinite; }
@keyframes dotSnap1 {
  0%, 5% { background: var(--fam-accent); transform: scale(1.2); }
  35%, 100% { background: rgba(255,255,255,0.15); transform: scale(1); }
}
@keyframes dotSnap2 {
  0%, 38% { background: rgba(255,255,255,0.15); transform: scale(1); }
  44% { background: var(--fam-accent); transform: scale(1.2); }
  62%, 100% { background: rgba(255,255,255,0.15); transform: scale(1); }
}
@keyframes dotSnap3 {
  0%, 64% { background: rgba(255,255,255,0.15); transform: scale(1); }
  70% { background: var(--green); transform: scale(1.2); }
  94% { background: var(--green); transform: scale(1.2); }
  100% { background: rgba(255,255,255,0.15); transform: scale(1); }
}
.hd-step-labels {
  display: flex; justify-content: center; gap: 2rem;
  font-size: 0.75rem; font-weight: 600;
  color: rgba(255,255,255,0.4);
}
.hd-label-1 { animation: lblSnap1 10s ease infinite; }
.hd-label-2 { animation: lblSnap2 10s ease infinite; }
.hd-label-3 { animation: lblSnap3 10s ease infinite; }
@keyframes lblSnap1 {
  0%, 5% { color: #fff; }
  35%, 100% { color: rgba(255,255,255,0.4); }
}
@keyframes lblSnap2 {
  0%, 38% { color: rgba(255,255,255,0.4); }
  44%, 62% { color: #fff; }
  68%, 100% { color: rgba(255,255,255,0.4); }
}
@keyframes lblSnap3 {
  0%, 64% { color: rgba(255,255,255,0.4); }
  70%, 94% { color: #fff; }
  100% { color: rgba(255,255,255,0.4); }
}

/* ═══════════════════════════════════════════
   STORY SECTION
   ═══════════════════════════════════════════ */
.story {
  padding: var(--section-gap) 0;
  background: var(--surface);
}
.story-inner {
  max-width: 760px;
  margin: 0 auto;
}
.story .section-label { color: var(--fam-accent); }
.story .section-label::before { background: var(--fam-accent); }

.pull-quote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  line-height: 1.55;
  color: var(--ink-soft);
  border-left: 4px solid var(--fam-primary);
  padding: 1.5rem 0 1.5rem 2rem;
  margin: 2.5rem 0 3rem;
  background: var(--fam-rose);
  border-radius: 0 12px 12px 0;
  padding-right: 2rem;
}

.story-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.story-text strong { color: var(--ink); font-weight: 600; }
.story-text em { font-style: italic; }

.story-closing {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--fam-primary);
  margin-top: 2rem;
  line-height: 1.65;
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.story-stat {
  text-align: center;
}
.story-stat-val {
  font-family: var(--f-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--fam-primary);
}
.story-stat-label {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 0.3rem;
}

/* ═══════════════════════════════════════════
   EVERY FAMILY — Vignette cards
   ═══════════════════════════════════════════ */
.families {
  padding: var(--section-gap) 0;
  background: var(--surface-warm);
}
.families-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.families-header .section-desc { margin: 0 auto; }

.vignette-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.vignette-grid .vignette:last-child {
  grid-column: 1 / -1;
  max-width: 560px;
  margin: 0 auto;
}

.vignette {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 2.2rem;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 2px 20px rgba(0,0,0,0.03);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.vignette::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--fam-primary-soft);
  opacity: 0;
  transition: opacity 0.4s;
}
.vignette:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(99,102,241,0.08);
  border-color: rgba(99,102,241,0.1);
}
.vignette:hover::before { opacity: 1; }

.vignette-title {
  font-family: var(--f-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.8rem;
}
.vignette-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-muted);
}
.vignette-text strong {
  color: var(--ink-soft);
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   NO WAITING — Dark section
   ═══════════════════════════════════════════ */
.no-wait {
  padding: var(--section-gap) 0;
  background: var(--surface-dark);
  color: #fff;
  position: relative;
}
.no-wait::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 30% 50%, rgba(99,102,241,0.06), transparent),
    radial-gradient(ellipse 40% 40% at 70% 50%, rgba(58,173,168,0.04), transparent);
  pointer-events: none;
}
.no-wait .container { position: relative; z-index: 1; }

.no-wait .section-label { color: var(--fam-primary-soft); }
.no-wait .section-label::before { background: var(--fam-primary-soft); }
.no-wait .section-title { color: #fff; }
.no-wait .section-title em { color: var(--fam-primary-soft); }
.no-wait .section-desc { color: rgba(255,255,255,0.6); }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.compare-card {
  border-radius: 16px;
  padding: 2.5rem;
}
.compare-traditional {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.compare-tinky {
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.15);
}
.compare-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.compare-traditional .compare-label { color: rgba(255,255,255,0.4); }
.compare-tinky .compare-label { color: var(--fam-primary-soft); }

.compare-steps {
  list-style: none;
}
.compare-steps li {
  font-size: 0.95rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; gap: 0.75rem;
}
.compare-steps li:last-child { border-bottom: none; }
.compare-traditional .compare-steps li { color: rgba(255,255,255,0.5); }
.compare-tinky .compare-steps li { color: rgba(255,255,255,0.85); }

.compare-step-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}
.compare-traditional .compare-step-num {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.3);
}
.compare-tinky .compare-step-num {
  background: rgba(99,102,241,0.2);
  color: var(--fam-primary-soft);
}

.compare-total {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--f-serif);
  font-weight: 700;
}
.compare-traditional .compare-total {
  color: rgba(255,255,255,0.4);
  font-size: 1.1rem;
}
.compare-tinky .compare-total {
  color: var(--fam-primary-soft);
  font-size: 1.3rem;
}

.no-wait-closing {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 640px;
  line-height: 1.8;
}
.no-wait-closing strong { color: rgba(255,255,255,0.85); font-weight: 600; }

/* ═══════════════════════════════════════════
   WHAT'S IN THE BOX
   ═══════════════════════════════════════════ */
.inbox {
  padding: var(--section-gap) 0;
  background: var(--surface);
}
.inbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.inbox-item {
  background: #fff;
  border-radius: 14px;
  padding: 1.8rem;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s var(--ease-out);
}
.inbox-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.05);
}
.inbox-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  background: var(--fam-primary-pale);
  color: var(--fam-primary);
}
.inbox-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.inbox-item p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.7;
}
.inbox-note {
  text-align: center;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-muted);
}

/* ═══════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════ */
.fam-pricing {
  padding: var(--section-gap) 0;
  background: linear-gradient(165deg, var(--surface-dark) 0%, #1a1830 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.fam-pricing::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 30% 30%, rgba(99,102,241,0.06), transparent),
    radial-gradient(ellipse 40% 40% at 70% 70%, rgba(232,163,61,0.04), transparent);
  pointer-events: none;
}
.fam-pricing-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.fam-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 880px;
  margin: 0 auto;
}
.fam-price-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}
.fam-price-card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.fam-price-card.fpc-featured {
  border-color: var(--fam-primary);
  background: rgba(99,102,241,0.06);
}
.fam-price-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}
.fpc-featured .fam-price-badge {
  color: var(--fam-primary-soft);
  background: rgba(99,102,241,0.15);
}
.fpc-free .fam-price-badge {
  color: var(--amber-light);
  background: rgba(232,163,61,0.15);
}
.fam-price-amount {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
.fam-price-unit {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.8rem;
}
.fam-price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: left;
}
.fam-price-features li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}
.fam-price-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  font-weight: 700;
}
.fpc-featured .fam-price-features li::before { color: var(--fam-primary-soft); }
.fpc-free .fam-price-features li::before { color: var(--amber-light); }
.fam-price-cta {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--f-sans);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.25s;
}
.fpc-featured .fam-price-cta {
  background: var(--fam-primary);
  color: #fff;
}
.fpc-featured .fam-price-cta:hover {
  background: #5558e6;
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(99,102,241,0.3);
}
.fpc-free .fam-price-cta {
  background: transparent;
  color: var(--amber-light);
  border: 2px solid rgba(232,163,61,0.3);
}
.fpc-free .fam-price-cta:hover {
  background: rgba(232,163,61,0.08);
  border-color: var(--amber-light);
}
.fam-pricing-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}
.fam-pricing-note strong {
  color: var(--amber-light);
}
@media (max-width: 700px) {
  .fam-pricing-grid { grid-template-columns: 1fr; }
  .fam-price-card { padding: 2rem 1.5rem; }
  .fam-price-amount { font-size: 2.5rem; }
}

/* ═══════════════════════════════════════════
   $25 PROMISE — Rose background
   ═══════════════════════════════════════════ */
.promise {
  padding: var(--section-gap) 0;
  background: var(--fam-rose);
  position: relative;
}
.promise::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(99,102,241,0.04), transparent);
  pointer-events: none;
}
.promise .container { position: relative; z-index: 1; }
.promise-inner {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}

.promise-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--ink);
}
.promise-sub {
  font-size: 1.1rem;
  color: var(--ink-muted);
  margin-bottom: 3rem;
  line-height: 1.75;
}

.promise-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.promise-step {
  text-align: center;
}
.promise-step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--fam-primary);
  color: #fff;
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.promise-step h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.promise-step p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.promise-highlight {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--fam-primary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.promise-compare {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.promise-compare strong { color: var(--ink-soft); font-weight: 600; }

.promise-eco {
  font-size: 0.82rem;
  color: var(--ink-muted);
  opacity: 0.7;
  font-style: italic;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════ */
.testimonials {
  padding: var(--section-gap) 0;
  background: var(--surface);
}
.testimonials-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.testimonials-header .section-desc { margin: 0 auto; }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testi-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 2px 16px rgba(0,0,0,0.03);
  position: relative;
}
.testi-card::before {
  content: '\201C';
  font-family: var(--f-serif);
  font-size: 4rem;
  color: var(--fam-primary-soft);
  opacity: 0.3;
  position: absolute;
  top: 1rem; left: 1.5rem;
  line-height: 1;
}
.testi-text {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.testi-author {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fam-primary);
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════ */
.faq {
  padding: var(--section-gap) 0;
  background: var(--surface-warm);
}
.faq-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.3rem 0;
  font-family: var(--f-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.3s;
}
.faq-question:hover { color: var(--fam-primary); }
.faq-arrow {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
  color: var(--ink-muted);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--fam-primary); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.3rem;
}
.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-muted);
}
.faq-answer a {
  color: var(--fam-primary);
  text-decoration: underline;
  text-decoration-color: rgba(99,102,241,0.3);
  transition: text-decoration-color 0.3s;
}
.faq-answer a:hover { text-decoration-color: var(--fam-primary); }

/* ═══════════════════════════════════════════
   BOARD BUILDER — Free Resource CTA
   ═══════════════════════════════════════════ */
.builder-promo {
  padding: var(--section-gap) 0;
  background: linear-gradient(170deg, #eef0fc 0%, #ece8f8 50%, #f5f0e8 100%);
  position: relative;
  overflow: hidden;
}
.builder-promo::before {
  content: '';
  position: absolute;
  top: -60%; right: -15%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.06), transparent 70%);
  pointer-events: none;
}
.builder-promo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.builder-promo-content { position: relative; z-index: 1; }
.builder-promo .section-label { color: var(--fam-primary); }
.builder-promo .section-label::before { background: var(--fam-primary); }
.builder-promo-content h2 {
  font-family: var(--f-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1rem;
}
.builder-promo-content h2 em {
  font-style: italic;
  color: var(--fam-primary);
}
.builder-promo-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  max-width: 480px;
}
.builder-promo-mission {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.1rem !important;
  color: var(--ink-soft) !important;
  border-left: 3px solid var(--fam-primary);
  padding-left: 1.2rem;
  margin: 2rem 0 !important;
}
.builder-promo-usecases {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem;
}
.builder-promo-usecase {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.builder-promo-usecase::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--fam-primary);
  flex-shrink: 0;
  margin-top: 0.45rem;
}
.builder-promo-ctas {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.builder-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: var(--fam-primary);
  color: #fff;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}
.builder-promo-btn:hover {
  background: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99,102,241,0.35);
}
.builder-promo-free {
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Board Builder — Visual Demo */
.builder-promo-visual {
  position: relative;
  z-index: 1;
}
.builder-demo {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.05);
}
.builder-demo-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.builder-demo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.builder-demo-dot:nth-child(1) { background: #ef4444; }
.builder-demo-dot:nth-child(2) { background: #f59e0b; }
.builder-demo-dot:nth-child(3) { background: #22c55e; }
.builder-demo-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: auto;
}
.builder-demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.builder-demo-tile {
  aspect-ratio: 1;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  transition: transform 0.3s var(--ease-out);
  cursor: default;
}
.builder-demo-tile:hover { transform: scale(1.06); }
.builder-demo-tile span { font-size: 1.4rem; }
.builder-demo-tile.t-noun { background: var(--fk-noun); color: #1a1a1a; }
.builder-demo-tile.t-verb { background: var(--fk-verb); }
.builder-demo-tile.t-adj { background: var(--fk-adj); }
.builder-demo-tile.t-social { background: var(--fk-social); }
.builder-demo-tile.t-question { background: var(--fk-question); }
.builder-demo-tile.t-help { background: var(--fk-help); }
.builder-demo-footer {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.builder-demo-footer span {
  font-size: 0.72rem;
  color: var(--ink-muted);
}
.builder-demo-print {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--fam-primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ═══════════════════════════════════════════
   CTA / ORDER SECTION
   ═══════════════════════════════════════════ */
.cta {
  padding: var(--section-gap) 0;
  background: var(--surface-dark);
  color: #fff;
  position: relative;
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 50% 30%, rgba(99,102,241,0.06), transparent);
  pointer-events: none;
}
.cta .container { position: relative; z-index: 1; }

.cta-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.cta .section-label { color: var(--fam-primary-soft); }
.cta .section-label::before { background: var(--fam-primary-soft); }
.cta .section-title { color: #fff; margin: 0 auto 1rem; }
.cta .section-desc {
  color: rgba(255,255,255,0.6);
  margin: 0 auto 2rem;
}

.cta-note {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  margin-top: 2rem;
}

/* ═══════════════════════════════════════════
   CONTACT FORM — Dark variant, coral accent
   ═══════════════════════════════════════════ */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.cf-group {
  margin-bottom: 1rem;
}
.cf-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}
.cf-req { color: var(--fam-primary-soft); }
.cf-input, .cf-select, .cf-textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-family: var(--f-sans);
  font-size: 0.9rem;
  color: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.cf-input::placeholder, .cf-textarea::placeholder {
  color: rgba(255,255,255,0.25);
}
.cf-input:focus, .cf-select:focus, .cf-textarea:focus {
  outline: none;
  border-color: var(--fam-primary-soft);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}
.cf-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.cf-select option { background: #1a1a2e; color: #fff; }
.cf-textarea {
  min-height: 120px;
  resize: vertical;
}
.cf-submit-btn {
  width: 100%;
  padding: 0.85rem;
  background: var(--fam-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.cf-submit-btn:hover { background: #4f46e5; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(99,102,241,0.3); }
.cf-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.cf-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.cf-success, .cf-error {
  display: none;
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 0.9rem;
}
.cf-success {
  background: rgba(34,197,94,0.1);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.2);
}
.cf-success-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(34,197,94,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.cf-error {
  background: rgba(239,68,68,0.1);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.2);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  padding: 3rem 0 2rem;
  background: var(--surface-deep, #0d0b10);
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
}
.footer-logo {
  font-family: var(--f-serif);
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
}
.footer-columns {
  display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap;
}
.footer-col { min-width: 140px; }
.footer-col-title {
  font-weight: 600; color: rgba(255,255,255,0.6);
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 0.75rem;
}
.footer-links {
  list-style: none; display: flex; flex-direction: column; gap: 0.45rem;
}
.footer-links a {
  color: rgba(255,255,255,0.4); transition: color 0.3s; font-size: 0.82rem;
}
.footer-links a:hover { color: var(--amber, #e8a33d); }
.footer-bottom {
  text-align: center; font-size: 0.72rem; opacity: 0.5;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05);
  width: 100%;
}
@media (max-width: 600px) {
  .footer-columns { flex-direction: column; align-items: center; text-align: center; gap: 2rem; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; max-width: 340px; margin: 0 auto; }
  .snap-demo { width: 320px; height: 320px; }
  .hero-content { max-width: 100%; }
  .compare-grid { grid-template-columns: 1fr; }
  .inbox-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .builder-promo-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .builder-promo-visual { max-width: 380px; margin: 0 auto; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .promise-steps { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 768px) {
  .vignette-grid { grid-template-columns: 1fr; }
  .vignette-grid .vignette:last-child { max-width: 100%; }
  .story-stats { grid-template-columns: repeat(2, 1fr); }
  .inbox-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .cf-row { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 0.8rem; align-items: flex-start; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary, .hero-ctas .btn-outline { text-align: center; justify-content: center; }
}
/* ── Auth Nav ── */
.nav-login-btn { padding:0.5rem 1.2rem; border-radius:100px; font-size:0.82rem; font-weight:700; color:#22c55e; border:2px solid #22c55e; text-decoration:none; transition:all 0.3s ease; letter-spacing:0.02em; }
.nav-login-btn:hover { background:#22c55e; color:#fff; transform:scale(1.05); }
.nav-user-wrap { position:relative; }
.nav-user-btn { display:flex; align-items:center; gap:0.5rem; padding:0.4rem 1rem 0.4rem 0.4rem; border-radius:100px; font-size:0.82rem; font-weight:600; color:#22c55e; border:2px solid rgba(34,197,94,0.3); cursor:pointer; transition:all 0.3s ease; background:transparent; white-space:nowrap; }
.nav-user-btn:hover { border-color:#22c55e; }
.nav-user-avatar { width:26px; height:26px; border-radius:50%; background:#22c55e; color:#000; display:flex; align-items:center; justify-content:center; font-size:0.72rem; font-weight:800; flex-shrink:0; }
.nav-user-drop { display:none; position:absolute; top:calc(100% + 0.5rem); right:0; background:#1a1a2e; border:1px solid rgba(255,255,255,0.1); border-radius:12px; padding:0.5rem; min-width:200px; z-index:1000; box-shadow:0 8px 32px rgba(0,0,0,0.4); }
.nav-user-drop.open { display:block; }
.nav-user-drop a { display:block; padding:0.6rem 1rem; color:rgba(255,255,255,0.8); font-size:0.82rem; border-radius:8px; text-decoration:none; transition:background 0.2s; cursor:pointer; }
.nav-user-drop a:hover { background:rgba(255,255,255,0.05); color:#fff; }
.nav-user-drop .drop-divider { height:1px; background:rgba(255,255,255,0.08); margin:0.3rem 0; }
.nav-user-drop .drop-signout { color:#ef4444; }
.nav-user-drop .drop-signout:hover { background:rgba(239,68,68,0.1); }
/* ── Related Resources ── */
.related-resources{padding:5rem 0;background:var(--surface-warm, #f5f0e8)}
.related-resources .container{max-width:min(1120px,88vw);margin:0 auto;padding:0 1rem}
.related-title{font-family:var(--f-serif, 'Fraunces', serif);font-size:clamp(1.6rem,3vw,2.2rem);color:var(--ink, #1a1a2e);text-align:center;margin-bottom:0.5rem}
.related-subtitle{text-align:center;color:rgba(26,26,46,0.6);font-size:1rem;margin-bottom:2.5rem}
.related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}
.related-card{background:#fff;border-radius:16px;padding:2rem;text-decoration:none;color:var(--ink, #1a1a2e);transition:transform 0.3s,box-shadow 0.3s;border:1px solid rgba(26,26,46,0.06)}
.related-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(26,26,46,0.1)}
.related-card-emoji{font-size:2rem;margin-bottom:0.75rem}
.related-card-title{font-family:var(--f-serif, 'Fraunces', serif);font-size:1.15rem;font-weight:700;margin-bottom:0.5rem}
.related-card-desc{font-size:0.9rem;color:rgba(26,26,46,0.65);line-height:1.6;margin-bottom:1rem}
.related-card-link{font-size:0.85rem;font-weight:600;color:var(--amber, #e8a33d)}
/* Language Picker */
.lang-picker { position: relative; margin-left: 0.5rem; }
.lang-picker-btn { background: none; border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 0.35rem 0.7rem; border-radius: 8px; font-size: 0.75rem; cursor: pointer; font-family: var(--f-sans); display: flex; align-items: center; gap: 0.35rem; transition: all 0.3s; white-space: nowrap; }
.lang-picker-btn:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }
.lang-picker-dropdown { position: absolute; top: calc(100% + 0.5rem); right: 0; background: var(--surface-dark, #13111a); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 0.6rem; display: none; grid-template-columns: repeat(3, 1fr); gap: 0.25rem; box-shadow: 0 16px 48px rgba(0,0,0,0.6); z-index: 1001; min-width: 320px; max-height: 70vh; overflow-y: auto; }
.lang-picker-dropdown.open { display: grid; }
.lang-option { padding: 0.45rem 0.55rem; border-radius: 8px; font-size: 0.73rem; color: rgba(255,255,255,0.65); cursor: pointer; text-align: center; transition: all 0.2s; white-space: nowrap; }
.lang-option:hover { background: rgba(255,255,255,0.08); color: #fff; }
.lang-option.active { background: var(--amber, #e8a33d); color: var(--ink, #0d0b0e); font-weight: 700; }
@media (max-width: 768px) {
  .lang-picker { position: fixed; top: 0.8rem; right: 3.5rem; z-index: 1001; }
  .lang-picker-dropdown { min-width: 280px; right: -1rem; }
}
