/* FamiCircle Landing — warm, premium, calm */
:root {
  --cream-100: #FBF4E6;
  --cream-200: #F6E9D2;
  --cream-300: #EFDEC0;
  --cream-50: #FEFAF1;
  --gold-300: #F0C57A;
  --gold-400: #E8A04C;
  --gold-500: #D9844A;
  --orange-500: #E37A45;
  --terracotta: #C95A3D;
  --ink-900: #1F1A14;
  --ink-700: #3A332A;
  --ink-500: #6B6357;
  --ink-300: #A29A8C;
  --ink-200: #C9C2B4;
  --line: rgba(31, 26, 20, 0.08);
  --glass: rgba(255, 251, 242, 0.6);
  --shadow-sm: 0 1px 2px rgba(31,26,20,0.04), 0 2px 6px rgba(31,26,20,0.04);
  --shadow-md: 0 4px 12px rgba(31,26,20,0.06), 0 12px 32px rgba(31,26,20,0.08);
  --shadow-lg: 0 8px 24px rgba(31,26,20,0.08), 0 32px 80px rgba(31,26,20,0.12);
  --shadow-phone: 0 20px 60px rgba(60, 35, 10, 0.18), 0 60px 140px rgba(60, 35, 10, 0.18);
  --serif: "Instrument Serif", "PP Editorial New", "Fraunces", Georgia, serif;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink-900);
  background: var(--cream-100);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
  line-height: 1.5;
}

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

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }

/* ----------- Background ambient gradient ----------- */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, #FFE9C7 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 90% 30%, #FFD4A0 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 50% 100%, #F6BD7A 0%, transparent 50%),
    linear-gradient(180deg, #FBF4E6 0%, #F6E9D2 100%);
}
.ambient-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.4 0 0 0 0 0.3 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ----------- Nav ----------- */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  background: rgba(255, 251, 242, 0.65);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-md);
  font-size: 14px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.nav-logo-mark {
  width: 32px; height: 32px;
  background-image: url("assets/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 2px 6px rgba(227, 122, 69, 0.3));
}
.footer-brand .nav-logo-mark { width: 36px; height: 36px; }

.nav-links { display: flex; gap: 24px; color: var(--ink-700); }
.nav-links a { color: inherit; text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink-900); }
.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink-900);
  color: #FBF4E6;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform 0.2s, background 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); background: #2C2419; }

/* ----------- Buttons ----------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s, background 0.25s;
}
.btn-primary {
  background: var(--ink-900);
  color: #FBF4E6;
  box-shadow: 0 8px 24px rgba(31, 26, 20, 0.18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(31, 26, 20, 0.24); }
.btn-ghost {
  background: rgba(255,251,242,0.5);
  border: 1px solid rgba(31,26,20,0.1);
  color: var(--ink-900);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,251,242,0.8); transform: translateY(-2px); }

/* ----------- Layout ----------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange-500);
}

/* ----------- Hero ----------- */
.hero {
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 720px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(56px, 7.5vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 24px 0 24px;
  font-weight: 400;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold-500);
  position: relative;
  display: inline-block;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-500);
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero-trust {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-500);
}
.avatar-stack {
  display: flex;
}
.avatar-stack > * { margin-left: -10px; }
.avatar-stack > *:first-child { margin-left: 0; }
.avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--cream-100);
  background: var(--cream-300);
  background-size: cover;
  background-position: center;
}

/* ----------- Phone (hero) ----------- */
.phone-stage {
  position: relative;
  height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone {
  width: 280px;
  height: 580px;
  border-radius: 44px;
  background: #1A1410;
  padding: 8px;
  box-shadow: var(--shadow-phone);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--cream-100);
  position: relative;
}
.phone-screen img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: top center;
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #1A1410;
  border-radius: 999px;
  z-index: 5;
}

.phone-hero-wrap {
  position: relative;
  perspective: 1200px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-hero {
  width: 320px;
  height: 660px;
  transform: rotate(-4deg);
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 3;
}
@keyframes float {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-12px); }
}
.phone-hero .phone {
  width: 100%; height: 100%;
}

/* Floating cards around hero phone */
.float-card {
  position: absolute;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: var(--shadow-md);
  z-index: 4;
}
.float-card-chore {
  top: 12%; left: -8%;
  display: flex; align-items: center; gap: 12px;
  animation: floatCard 7s ease-in-out infinite;
}
.float-card-stars {
  bottom: 18%; right: -4%;
  animation: floatCard 8s ease-in-out infinite 1s;
}
.float-card-trip {
  top: 50%; right: -10%;
  animation: floatCard 9s ease-in-out infinite 0.5s;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.check-circle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7BC47F, #4F9A55);
  display: flex; align-items: center; justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(79, 154, 85, 0.4);
  flex-shrink: 0;
}
.float-card-chore .label { font-size: 13px; color: var(--ink-700); font-weight: 500; }
.float-card-chore .meta { font-size: 11px; color: var(--ink-500); margin-top: 2px; }

.float-stars-row { display: flex; align-items: center; gap: 6px; }
.float-stars-num {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gold-500);
  line-height: 1;
}
.float-stars-label { font-size: 11px; color: var(--ink-500); margin-top: 4px; letter-spacing: 0.04em; text-transform: uppercase; }

.float-card-trip .row { display: flex; align-items: center; gap: 10px; }
.float-card-trip .icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FFE2BE, #F0B25D);
  display:flex; align-items:center; justify-content:center;
}
.float-card-trip .label { font-size: 13px; font-weight: 500; }
.float-card-trip .meta { font-size: 11px; color: var(--ink-500); margin-top: 2px; }

/* Background blobs in hero */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  opacity: 0.6;
}
.hero-blob-1 {
  top: 10%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, #FFB872 0%, transparent 70%);
}
.hero-blob-2 {
  bottom: -20%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, #F4D08E 0%, transparent 70%);
}

/* ----------- Section header ----------- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 16px 0 16px;
  font-weight: 400;
}
.section-title em { font-style: italic; color: var(--gold-500); }
.section-sub {
  font-size: 18px;
  color: var(--ink-500);
  line-height: 1.5;
}

/* ----------- Stat strip ----------- */
.stats {
  padding: 60px 0;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 32px;
  border-radius: 32px;
  background: rgba(255, 251, 242, 0.5);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-sm);
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.stat-num em { color: var(--gold-500); font-style: italic; }
.stat-label {
  font-size: 13px;
  color: var(--ink-500);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

/* ----------- Sticky scroll story ----------- */
.story {
  padding: 120px 0;
  position: relative;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}
.story-phone-col {
  position: sticky;
  top: 100px;
  height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-phone {
  width: 320px;
  height: 660px;
  position: relative;
}
.story-phone .phone {
  width: 100%; height: 100%;
  position: absolute;
  inset: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
}
.story-phone .phone.active { opacity: 1; transform: translateY(0) scale(1); }
.story-glow {
  position: absolute;
  inset: -40px;
  border-radius: 60px;
  background: radial-gradient(circle, rgba(232, 160, 76, 0.3) 0%, transparent 60%);
  filter: blur(40px);
  z-index: -1;
  transition: background 0.6s ease;
}

.story-content { display: flex; flex-direction: column; gap: 60px; padding: 80px 0; }
.story-step {
  padding: 40px 0;
  opacity: 0.35;
  transition: opacity 0.4s ease;
}
.story-step.active { opacity: 1; }
.story-step-num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold-500);
  letter-spacing: 0.1em;
}
.story-step-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
  font-weight: 400;
}
.story-step-body {
  font-size: 17px;
  color: var(--ink-500);
  line-height: 1.5;
  max-width: 460px;
}
.story-step-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.story-step-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-700);
}
.story-step-list-item .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
}

/* ----------- Bento grid ----------- */
.bento {
  padding: 120px 0;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.bento-card {
  background: rgba(255, 251, 242, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
  display: flex;
  flex-direction: column;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.bento-card .b-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 500;
}
.bento-card .b-title {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.bento-card .b-body {
  font-size: 14px;
  color: var(--ink-500);
  margin-top: 8px;
  line-height: 1.45;
}

.bento-1 { grid-column: span 4; grid-row: span 2; }
.bento-2 { grid-column: span 2; grid-row: span 2; }
.bento-3 { grid-column: span 2; grid-row: span 2; }
.bento-4 { grid-column: span 2; grid-row: span 2; }
.bento-5 { grid-column: span 2; grid-row: span 2; }

/* Calendar mini */
.cal-mini {
  margin-top: 16px;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: auto repeat(3, 1fr);
  gap: 6px;
  font-size: 11px;
}
.cal-day-name { color: var(--ink-300); text-align: center; padding: 4px 0; }
.cal-cell {
  background: rgba(255,255,255,0.5);
  border-radius: 8px;
  padding: 6px;
  position: relative;
  font-weight: 500;
  color: var(--ink-700);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.cal-cell.today {
  background: var(--ink-900);
  color: var(--cream-100);
}
.cal-cell.has-event::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 6px;
  right: 6px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold-500);
}
.cal-cell.has-event-2::after { background: linear-gradient(90deg, var(--gold-500) 50%, #6B92D6 50%); }

/* SOS card */
.sos-card .sos-orb {
  margin-top: 12px;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FF8C6B, var(--terracotta));
  box-shadow: 0 8px 24px rgba(201, 90, 61, 0.4);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 600; font-size: 14px;
  animation: pulseSOS 2.4s ease-in-out infinite;
  letter-spacing: 0.05em;
}
@keyframes pulseSOS {
  0%, 100% { box-shadow: 0 8px 24px rgba(201, 90, 61, 0.4), 0 0 0 0 rgba(201, 90, 61, 0.4); }
  50% { box-shadow: 0 8px 24px rgba(201, 90, 61, 0.4), 0 0 0 16px rgba(201, 90, 61, 0); }
}
.sos-meta {
  margin-top: 14px;
  font-size: 12px;
  color: var(--ink-500);
  display: flex; align-items: center; gap: 6px;
}
.live-dot {
  width: 8px; height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Budget mini */
.budget-bars { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.budget-row { display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.budget-row .top { display: flex; justify-content: space-between; }
.budget-row .top .name { color: var(--ink-700); font-weight: 500; }
.budget-row .top .val { color: var(--ink-500); }
.budget-bar {
  height: 6px; background: rgba(31,26,20,0.06); border-radius: 4px; overflow: hidden;
}
.budget-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500));
  border-radius: 4px;
}

/* Recipe pill */
.recipe-pills {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.recipe-pill {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31,26,20,0.06);
  color: var(--ink-700);
}
.recipe-pill.active { background: var(--ink-900); color: var(--cream-100); }

/* Bento images */
.bento-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.bento-image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(31,26,20,0.65) 100%);
}
.bento-card.dark { color: white; }
.bento-card.dark .b-eyebrow { color: rgba(255,255,255,0.7); }
.bento-card.dark .b-body { color: rgba(255,255,255,0.8); }

/* ----------- Live chores demo ----------- */
.demo {
  padding: 120px 0;
}
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.demo-copy h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 16px 0;
  font-weight: 400;
}
.demo-copy h2 em { font-style: italic; color: var(--gold-500); }
.demo-copy p {
  font-size: 18px;
  color: var(--ink-500);
  line-height: 1.5;
}

.demo-card {
  background: rgba(255, 251, 242, 0.7);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 32px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.demo-card .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.demo-card .header-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.demo-card .stars-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  background: linear-gradient(135deg, #FFE2BE, #F0B25D);
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--ink-900);
}
.demo-card-title {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.demo-list { display: flex; flex-direction: column; gap: 10px; }
.demo-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.7);
  border-radius: 18px;
  border: 1px solid var(--line);
  transition: all 0.3s ease;
  cursor: pointer;
}
.demo-item:hover { background: white; }
.demo-item.done {
  background: rgba(232, 160, 76, 0.08);
  border-color: rgba(232, 160, 76, 0.2);
}
.demo-item.done .demo-item-name { color: var(--ink-300); text-decoration: line-through; }
.demo-checkbox {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid var(--ink-200);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.demo-item.done .demo-checkbox {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--cream-100);
}
.demo-item-body { flex: 1; }
.demo-item-name { font-weight: 500; font-size: 15px; transition: color 0.3s; }
.demo-item-meta { font-size: 12px; color: var(--ink-500); margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.demo-item-meta-avatar {
  width: 16px; height: 16px;
  border-radius: 50%;
  background-size: cover;
  background-color: var(--cream-300);
}
.demo-avatar {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1px solid #fff;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 6px;
  letter-spacing: 0.02em;
}
.demo-item-stars {
  display: flex; align-items: center; gap: 4px;
  color: #2D6BD6;
  font-size: 13px;
  font-weight: 500;
}

.demo-progress {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-500);
}
.demo-progress-bar {
  margin-top: 8px;
  height: 6px;
  background: rgba(31,26,20,0.06);
  border-radius: 4px;
  overflow: hidden;
}
.demo-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500));
  transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Reward burst */
.reward-burst {
  position: absolute;
  pointer-events: none;
  animation: burst 1s ease-out forwards;
  font-family: var(--serif);
  font-size: 32px;
  color: var(--gold-500);
  font-style: italic;
  font-weight: 500;
  text-shadow: 0 4px 16px rgba(232, 160, 76, 0.5);
}
@keyframes burst {
  0% { opacity: 0; transform: translateY(0) scale(0.7); }
  20% { opacity: 1; transform: translateY(-10px) scale(1.1); }
  100% { opacity: 0; transform: translateY(-60px) scale(1); }
}

/* ----------- Family moment section ----------- */
.moment {
  padding: 120px 0 60px;
}
.moment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.moment-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--cream-200);
}
.moment-photo-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s ease;
}
.moment-photo-wrap:hover img { transform: scale(1.04); }
.moment-photo-tag {
  position: absolute;
  bottom: 20px; left: 20px;
  padding: 10px 18px;
  background: rgba(255, 251, 242, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 8px;
  color: var(--ink-700);
}
.moment-floating-card {
  position: absolute;
  top: 5%; right: -40px;
  background: rgba(255, 251, 242, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  animation: floatCard 7s ease-in-out infinite;
  z-index: 3;
}
.moment-copy h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 16px 0;
  font-weight: 400;
}
.moment-copy h2 em { font-style: italic; color: var(--gold-500); }
.moment-copy p {
  font-size: 18px; color: var(--ink-500); line-height: 1.55;
}
.moment-pull {
  margin-top: 32px;
  padding: 24px 28px;
  border-left: 3px solid var(--gold-500);
  background: rgba(255, 251, 242, 0.5);
  border-radius: 0 16px 16px 0;
}
.moment-pull-quote {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.4;
  color: var(--ink-700);
  margin-bottom: 8px;
}
.moment-pull-attr {
  font-size: 13px; color: var(--ink-500);
}

/* ----------- Poster coverflow gallery ----------- */
.gallery { padding: 120px 0; }
.coverflow {
  position: relative;
  margin-top: 24px;
}
.coverflow-stage {
  position: relative;
  height: 660px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1800px;
  transform-style: preserve-3d;
}
.coverflow-card {
  position: absolute;
  width: 400px;
  height: 600px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.7s cubic-bezier(0.22, 0.9, 0.24, 1), opacity 0.7s ease, filter 0.7s ease;
  cursor: pointer;
  background: var(--cream-200);
  border: 1px solid rgba(255,255,255,0.6);
  will-change: transform, opacity;
}
.coverflow-card.active { cursor: default; box-shadow: 0 30px 80px rgba(60, 35, 10, 0.22); }
.coverflow-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.coverflow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255, 251, 242, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-900);
  transition: transform 0.25s, background 0.25s;
}
.coverflow-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.coverflow-arrow.left { left: 4%; }
.coverflow-arrow.right { right: 4%; }

.coverflow-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}
.coverflow-dot {
  width: 28px; height: 8px;
  display: flex; align-items: center;
  padding: 0;
}
.coverflow-dot span {
  display: block;
  width: 100%; height: 6px;
  border-radius: 4px;
  background: rgba(31, 26, 20, 0.14);
  transition: background 0.3s, transform 0.3s;
}
.coverflow-dot.active span {
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500));
}
.coverflow-dot:hover span { background: rgba(31, 26, 20, 0.28); }

@media (max-width: 960px) {
  .coverflow-stage { height: 540px; }
  .coverflow-card { width: 280px; height: 420px; }
  .coverflow-arrow.left { left: 0; }
  .coverflow-arrow.right { right: 0; }
}

/* ----------- Family band (photo + promise) ----------- */
.famband { padding: 60px 0 120px; }
.famband-card {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-lg);
}
.famband-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.4s ease;
}
.famband-card:hover .famband-photo { transform: scale(1.04); }
.famband-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(31,26,20,0.05) 0%, rgba(31,26,20,0.4) 55%, rgba(31,26,20,0.78) 100%),
    linear-gradient(90deg, rgba(31,26,20,0.5) 0%, transparent 60%);
}
.famband-body {
  position: relative;
  z-index: 2;
  padding: 64px;
  max-width: 720px;
  color: var(--cream-100);
}
.famband-body h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 16px 0 18px;
  font-weight: 400;
}
.famband-body h2 em { font-style: italic; color: #FFEDC5; }
.famband-body p {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(251, 244, 230, 0.88);
  max-width: 540px;
}
@media (max-width: 960px) {
  .famband-body { padding: 40px 28px; }
}

/* ----------- Testimonials ----------- */
.tests {
  padding: 120px 0;
}
.tests-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.test-card {
  padding: 32px;
  background: rgba(255, 251, 242, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.test-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.test-quote {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin-bottom: 24px;
}
.test-quote::before {
  content: "“";
  font-family: var(--serif);
  font-size: 48px;
  color: var(--gold-500);
  line-height: 0;
  position: relative;
  top: 18px;
  margin-right: 4px;
}
.test-meta { display: flex; align-items: center; gap: 12px; }
.test-meta .avatars { display: flex; }
.test-meta .avatars > * { margin-left: -8px; }
.test-meta .avatars > *:first-child { margin-left: 0; }
.test-meta .avatar { width: 36px; height: 36px; }
.test-name { font-weight: 500; font-size: 14px; }
.test-loc { font-size: 12px; color: var(--ink-500); }

.test-card.featured {
  grid-column: span 1;
  background: var(--ink-900);
  color: var(--cream-100);
  border-color: transparent;
}
.test-card.featured .test-quote { color: var(--cream-100); }
.test-card.featured .test-quote::before { color: var(--gold-300); }
.test-card.featured .test-loc { color: rgba(251, 244, 230, 0.6); }

/* ----------- Pricing ----------- */
.pricing { padding: 120px 0 60px; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 940px;
  margin: 0 auto;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: rgba(255, 251, 242, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 32px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured {
  background: var(--ink-900);
  color: var(--cream-100);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.price-plan {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 500;
}
.price-card.featured .price-plan { color: var(--gold-300); }
.price-amount {
  font-family: var(--serif);
  font-size: 60px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 14px 0 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-amount .per {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-500);
}
.price-card.featured .price-amount .per { color: rgba(251, 244, 230, 0.65); }
.price-sub { font-size: 14px; color: var(--ink-500); min-height: 20px; }
.price-card.featured .price-sub { color: rgba(251, 244, 230, 0.72); }
.price-badge {
  position: absolute;
  top: 28px; right: 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--ink-900);
}
.price-divider { height: 1px; background: var(--line); margin: 28px 0; }
.price-card.featured .price-divider { background: rgba(255, 255, 255, 0.12); }
.price-feats { display: flex; flex-direction: column; gap: 13px; flex: 1; }
.price-feats-label {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-300);
  margin-bottom: 2px;
}
.price-card.featured .price-feats-label { color: rgba(251, 244, 230, 0.5); }
.price-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-700);
}
.price-card.featured .price-feat { color: rgba(251, 244, 230, 0.92); }
.price-feat svg { flex-shrink: 0; margin-top: 2px; color: var(--gold-500); }
.price-card.featured .price-feat svg { color: var(--gold-300); }
.price-cta {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.price-cta.dark {
  background: var(--ink-900);
  color: var(--cream-100);
  box-shadow: 0 8px 24px rgba(31, 26, 20, 0.16);
}
.price-cta.dark:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(31, 26, 20, 0.22); }
.price-cta.gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--ink-900);
  box-shadow: 0 8px 24px rgba(217, 132, 74, 0.3);
}
.price-cta.gold:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(217, 132, 74, 0.4); }
.price-foot {
  text-align: center;
  margin-top: 32px;
  font-size: 13px;
  color: var(--ink-500);
}
@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
}

/* ----------- CTA download ----------- */
.cta {
  padding: 100px 0 140px;
}
.cta-card {
  position: relative;
  padding: 80px;
  border-radius: 40px;
  background:
    radial-gradient(ellipse 60% 80% at 80% 100%, #E37A45 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 0%, #F0B25D 0%, transparent 60%),
    linear-gradient(135deg, #F4B96A 0%, #C95A3D 100%);
  color: var(--cream-100);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.3 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.4;
  mix-blend-mode: overlay;
}
.cta-card-inner { position: relative; z-index: 2; }
.cta-card h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 400;
}
.cta-card h2 em { font-style: italic; color: #FFEDC5; }
.cta-card p {
  font-size: 18px;
  color: rgba(251, 244, 230, 0.85);
  margin-bottom: 32px;
  line-height: 1.5;
  max-width: 460px;
}
.store-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 16px;
  background: var(--ink-900);
  color: var(--cream-100);
  border-radius: 16px;
  text-decoration: none;
  transition: transform 0.25s;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn .glyph { font-size: 24px; }
.store-btn .top { font-size: 11px; opacity: 0.75; line-height: 1; margin-bottom: 3px; letter-spacing: 0.04em; }
.store-btn .name { font-size: 16px; font-weight: 500; line-height: 1; }

.cta-phones {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.cta-phones .phone {
  width: 220px; height: 460px;
  position: absolute;
}
.cta-phones .phone-1 { transform: rotate(-8deg) translateX(-50px); z-index: 1; }
.cta-phones .phone-2 { transform: rotate(6deg) translateX(50px); z-index: 2; box-shadow: 0 30px 80px rgba(0,0,0,0.3); }

/* ----------- Footer ----------- */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 500;
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--ink-700); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--ink-900); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-family: var(--serif); font-size: 24px; }
.footer-tag { font-size: 14px; color: var(--ink-500); max-width: 280px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-500);
}

/* ----------- Reveal animations ----------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Marquee */
.press {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.press-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 28px;
}
.press-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 40px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-300);
  flex-wrap: wrap;
}
.press-row span { white-space: nowrap; }

/* ----------- Responsive ----------- */
/* Featured family story testimonial w/ photo */
.test-photo-card {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: rgba(255, 251, 242, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  min-height: 420px;
}
.test-photo-img {
  background-size: cover;
  background-position: center;
  position: relative;
}
.test-photo-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(251, 244, 230, 0.4) 100%);
}
.test-photo-body {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.test-photo-body .eyebrow { margin-bottom: 16px; }
.test-photo-body .test-quote { font-size: 28px; line-height: 1.25; }
@media (max-width: 960px) {
  .test-photo-card { grid-template-columns: 1fr; }
  .test-photo-img { min-height: 280px; }
  .test-photo-body { padding: 32px; }
}

@media (max-width: 960px) {
  .moment-grid { grid-template-columns: 1fr; gap: 40px; }
  .moment-floating-card { right: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 80px; }
  .phone-stage { height: 600px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-phone-col { position: relative; top: 0; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-1, .bento-2, .bento-3, .bento-4, .bento-5 { grid-column: span 2; grid-row: span 2; }
  .demo-grid { grid-template-columns: 1fr; gap: 40px; }
  .tests-grid { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; padding: 48px 32px; }
  .cta-phones { height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
}
