/* eggiebaby.com - premium marketing landing. Warm-calm with a cinematic keepsake peak.
   Inherits the Eggie app identity (navy / cream / gold, Lora + Nunito). Document pages
   (support/privacy/terms) use the simpler style.css. */

:root {
  --cream: #FAF6EE;
  --cream-2: #F3ECDD;       /* soft band */
  --cream-3: #EFE7D4;
  --surface: #FFFFFF;
  --ink: #232F45;           /* deep navy - headings, primary fills */
  --ink-2: #1A2236;         /* darker, for the cinematic band base */
  --ink-3: #131A2B;
  --prose: #44506A;         /* body, >=4.5:1 on cream */
  --muted: #6B7488;
  --gold: #C9A227;
  --gold-soft: #E2B84A;
  --gold-ink: #8A6D14;      /* gold text on cream */
  --gold-on-dark: #E7C25C;  /* gold text on the dark band */
  --border: #E7DFCE;
  --hair: rgba(35,47,69,.10);
  --indigo: #5C6B9E;

  --bezel: #11151F;         /* device frame */
  --shadow-sm: 0 12px 28px -16px rgba(35,47,69,.30);
  --shadow-md: 0 26px 50px -22px rgba(35,47,69,.34);
  --shadow-lg: 0 40px 80px -28px rgba(35,47,69,.42);
  --shadow-dark: 0 40px 90px -30px rgba(0,0,0,.7);

  --maxw: 1180px;
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);
  --z-header: 60;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--prose);
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: "Lora", Georgia, serif; color: var(--ink); line-height: 1.1; letter-spacing: -0.014em; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: var(--gold-ink); }
img { max-width: 100%; display: block; }
.serif { font-family: "Lora", Georgia, serif; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: "Nunito", sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }

/* ---------------- Header ---------------- */
.site-header { position: sticky; top: 0; z-index: var(--z-header); border-bottom: 1px solid transparent; transition: background .35s var(--ease), border-color .35s var(--ease); }
.site-header.scrolled { background: rgba(250,246,238,.82); -webkit-backdrop-filter: saturate(150%) blur(12px); backdrop-filter: saturate(150%) blur(12px); border-bottom-color: var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 18px; }
.brand-link { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand-mark { font-family: "Lora", serif; font-weight: 700; font-size: 27px; color: var(--ink); letter-spacing: -.01em; }
.brand-sub { font-size: 13px; color: var(--muted); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px; opacity: .82; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }

/* App Store badge */
.appstore { display: inline-flex; align-items: center; gap: 11px; background: var(--ink); color: #fff; text-decoration: none; padding: 11px 18px 11px 16px; border-radius: 14px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; box-shadow: 0 12px 26px -12px rgba(35,47,69,.55); }
.appstore:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(35,47,69,.6); background: #1c2740; }
.appstore .apple { width: 22px; height: 26px; fill: #fff; flex: none; }
.appstore .as-txt { display: flex; flex-direction: column; line-height: 1.05; color: #fff; }
.appstore .as-txt small { font-size: 11px; font-weight: 600; letter-spacing: .02em; opacity: .92; }
.appstore .as-txt strong { font-size: 19px; font-weight: 700; font-family: "Lora", serif; letter-spacing: -.01em; color: #fff; }
.appstore.compact { padding: 9px 15px 9px 13px; }
.appstore.compact .as-txt small { font-size: 10px; }
.appstore.compact .as-txt strong { font-size: 16px; }
.appstore.on-dark { background: #fff; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.appstore.on-dark .apple { fill: var(--ink); }
.appstore.on-dark .as-txt, .appstore.on-dark .as-txt strong { color: var(--ink); }
.appstore.on-dark:hover { background: #f3eee2; }

.cta-note { font-size: 15px; color: var(--muted); font-weight: 600; line-height: 1.35; }
.cta-note b { color: var(--ink); display: block; }

/* ---------------- Device frame ---------------- */
.device { position: relative; width: 280px; aspect-ratio: 1206 / 2622; background: var(--bezel); border-radius: 13.5% / 6.2%; padding: 2.4%; box-shadow: var(--shadow-md); }
.device::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.12); pointer-events: none; }
.device > img { width: 100%; height: 100%; object-fit: cover; border-radius: 11% / 5%; display: block; background: var(--cream); }
.device.lg { width: 320px; }
.device.sm { width: 232px; }
.phone { filter: drop-shadow(var(--shadow-md)); height: auto; }   /* pre-bezeled cutout images */

/* ---------------- Section scaffolding ---------------- */
.section { padding: clamp(72px, 10vw, 132px) 0; position: relative; }
.band-sink { background: var(--cream-2); }
.band-dark { background: var(--ink-2); color: #DfE3EC; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.flip .split-fig { order: -1; }
.copy { max-width: 30em; }
.copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 600; }
.copy > p { margin-top: 18px; font-size: 1.12rem; color: var(--prose); text-wrap: pretty; }
.copy .eyebrow { display: block; margin-bottom: 16px; }
.split-fig { display: flex; justify-content: center; align-items: center; }
.flist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 13px; }
.flist li { position: relative; padding-left: 30px; color: var(--prose); font-size: 1.03rem; }
.flist li::before { content: ""; position: absolute; left: 0; top: .52em; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,.16); }

/* atmospheric wash behind a device */
.fig-glow { position: relative; }
.fig-glow::before { content: ""; position: absolute; inset: -14% -10%; z-index: 0; pointer-events: none;
  background: radial-gradient(46% 40% at 50% 38%, rgba(201,162,39,.20), transparent 70%),
              radial-gradient(50% 44% at 60% 72%, rgba(92,107,158,.18), transparent 74%); filter: blur(4px); }
.fig-glow > * { position: relative; z-index: 1; }

/* two-device composition */
.duo { position: relative; width: min(440px, 92%); aspect-ratio: 440/540; }
.duo .device { position: absolute; }
.duo .d-front { width: 64%; right: 2%; top: 0; z-index: 2; }
.duo .d-back { width: 56%; left: 0; bottom: 0; z-index: 1; transform: rotate(-6deg); opacity: .98; }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 32px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 40px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--gold-ink); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; background: rgba(201,162,39,.12); padding: 7px 14px; border-radius: 999px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.4rem); font-weight: 600; letter-spacing: -.02em; }
.hero h1 .soft { color: var(--gold-ink); }
.hero-lede { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--prose); margin-top: 24px; max-width: 33ch; text-wrap: pretty; }
.hero-cta { display: flex; align-items: center; gap: 18px; margin-top: 32px; flex-wrap: wrap; }
.hero-stage { position: relative; min-height: 560px; display: flex; align-items: center; justify-content: center; }
.hero-stage::before { content: ""; position: absolute; inset: -8% -20% -8% -8%; z-index: 0; pointer-events: none;
  background: radial-gradient(40% 36% at 62% 32%, rgba(201,162,39,.26), transparent 70%),
              radial-gradient(46% 42% at 34% 74%, rgba(92,107,158,.22), transparent 74%); filter: blur(8px); }
.hero-duo { position: relative; z-index: 1; width: min(460px, 96%); aspect-ratio: 460/580; }
.hero-duo .device { position: absolute; box-shadow: var(--shadow-lg); }
.hero-duo .d-front { width: 60%; left: 50%; transform: translateX(-46%); top: 0; z-index: 2; }
.hero-duo .d-back { width: 52%; right: 2%; bottom: 4%; transform: rotate(7deg); z-index: 1; }

/* ---------------- Free / value strip ---------------- */
.valuestrip { background: var(--ink); color: #fff; }
.valuestrip .wrap { display: flex; align-items: center; justify-content: center; gap: 12px 26px; padding: 18px 24px; text-align: center; flex-wrap: wrap; }
.valuestrip span { font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; gap: 9px; }
.valuestrip .lora { font-family: "Lora", serif; font-weight: 600; }
.valuestrip svg { width: 18px; height: 18px; color: var(--gold-soft); flex: none; }

/* ---------------- Trends showcase (centered) ---------------- */
.showcase { text-align: center; }
.showcase .copy { max-width: 30ch; margin: 0 auto; }
.showcase h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); font-weight: 600; }
.showcase > .wrap > .copy > p { margin: 18px auto 0; }
.showcase-stage { margin-top: 48px; display: flex; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap; }
.showcase-aside { max-width: 22ch; text-align: left; }
.showcase-aside .stat { font-family: "Lora", serif; font-weight: 600; color: var(--ink); }

/* ---------------- Cinematic keepsake band (dark) ---------------- */
.cinema { background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink-3) 100%); color: #E4E7EE; position: relative; overflow: hidden; padding: clamp(86px, 12vw, 160px) 0; }
.cinema::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(38% 30% at 78% 14%, rgba(231,194,92,.18), transparent 70%),
             radial-gradient(40% 34% at 14% 86%, rgba(92,107,158,.20), transparent 72%); }
.cinema .wrap { position: relative; }
.cinema h2 { color: #FBF7EE; font-size: clamp(2.1rem, 4.4vw, 3.2rem); font-weight: 600; max-width: 16ch; }
.cinema .lede { color: #C7CDDA; margin-top: 20px; max-width: 46ch; font-size: 1.14rem; text-wrap: pretty; }
.cinema .eyebrow { color: var(--gold-on-dark); }
.cinema-grid { margin-top: clamp(44px, 6vw, 72px); display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(18px, 2.4vw, 30px); align-items: stretch; }
.keepcard { position: relative; border-radius: 24px; overflow: hidden; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; }
.keepcard h3 { color: #FBF7EE; font-size: 1.35rem; font-weight: 600; }
.keepcard p { color: #C0C7D6; margin-top: 8px; font-size: .98rem; }
.keepcard.photo { justify-content: flex-end; min-height: 380px; }
.keepcard.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,26,43,.05) 30%, rgba(19,26,43,.86) 100%); z-index: 1; }
.keepcard.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.keepcard.photo > * { position: relative; z-index: 2; }
.col-7 { grid-column: span 7; } .col-5 { grid-column: span 5; } .col-6 { grid-column: span 6; } .col-4 { grid-column: span 4; } .col-12 { grid-column: span 12; }
.keepcard .device, .keepcard .phone { margin: 14px auto 0; }
.cinema .cta-row { margin-top: clamp(40px, 5vw, 64px); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cinema .cta-note { color: #AEB6C6; }
.cinema .cta-note b { color: #fff; }

/* ---------------- Her Page section ---------------- */
.herpage-frame { position: relative; width: min(420px, 90%); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: #fff; }
.herpage-frame .bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #F1ECE0; border-bottom: 1px solid var(--border); }
.herpage-frame .bar i { width: 11px; height: 11px; border-radius: 50%; background: #d7cdb8; display: inline-block; }
.herpage-frame .bar .url { margin-left: 10px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.herpage-frame img { width: 100%; height: auto; display: block; }

/* ---------------- Breadth grid ---------------- */
.breadth-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.bcell { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px 22px 24px; }
.bcell .bico { width: 30px; height: 30px; color: var(--gold-ink); margin-bottom: 13px; }
.bcell h3 { font-size: 1.1rem; font-weight: 600; }
.bcell p { margin-top: 6px; font-size: .98rem; color: var(--prose); }

/* ---------------- Founder note ---------------- */
.founder { background: var(--cream-2); }
.founder .wrap { max-width: 760px; text-align: center; }
.founder .mark { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 22px; display: block; box-shadow: var(--shadow-sm); }
.founder blockquote { margin: 0; font-family: "Lora", serif; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.45; color: var(--ink); font-weight: 500; text-wrap: pretty; }
.founder .sig { margin-top: 22px; font-weight: 700; color: var(--ink); }
.founder .sig span { display: block; font-weight: 600; color: var(--muted); font-size: 15px; margin-top: 2px; }

/* ---------------- FAQ ---------------- */
.faq { max-width: 760px; margin: 44px auto 0; }
.faq details { border-bottom: 1px solid var(--border); padding: 6px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 2px; position: relative; font-family: "Lora", serif; font-size: 1.18rem; color: var(--ink); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: "Nunito", sans-serif; font-size: 24px; color: var(--gold-ink); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .ans { padding: 0 2px 20px; color: var(--prose); font-size: 1.04rem; max-width: 64ch; }

/* ---------------- Closing ---------------- */
.closing { text-align: center; }
.closing h2 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); font-weight: 600; max-width: 16ch; margin: 0 auto; }
.closing p { margin: 20px auto 0; max-width: 42ch; color: var(--prose); font-size: 1.14rem; }
.closing .cta-row { margin-top: 36px; display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: #CFD6E2; padding: 60px 0 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.footer-brand .brand-mark { color: #fff; }
.footer-brand p { color: #9BA6BC; font-size: 14.5px; margin-top: 8px; max-width: 30ch; }
.footer-nav { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-family: "Nunito", sans-serif; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 12px; opacity: .7; }
.footer-col a { display: block; color: #CFD6E2; text-decoration: none; font-size: 15px; margin-bottom: 9px; opacity: .85; }
.footer-col a:hover { opacity: 1; color: #fff; }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; color: #8C97AE; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------------- Motion ---------------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .08s; }
.js .reveal[data-d="2"] { transition-delay: .16s; }
.js .reveal[data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .reveal, .js .reveal.in { opacity: 1 !important; transform: none !important; transition: none !important; } .hero-duo .device { animation: none !important; } }
html.still .reveal { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: no-preference) {
  .hero-duo .d-front { animation: floatA 8s ease-in-out infinite; }
  .hero-duo .d-back { animation: floatB 9s ease-in-out infinite; }
  @keyframes floatA { 0%,100% { transform: translateX(-46%) translateY(0); } 50% { transform: translateX(-46%) translateY(-12px); } }
  @keyframes floatB { 0%,100% { transform: rotate(7deg) translateY(0); } 50% { transform: rotate(7deg) translateY(10px); } }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; text-align: center; }
  .hero-eyebrow, .hero-lede { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-stage { order: -1; min-height: 0; margin-bottom: 20px; }
  .hero-duo { width: min(360px, 84vw); aspect-ratio: 360/470; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.flip .split-fig, .split-fig { order: -1 !important; }
  .copy { max-width: none; text-align: center; margin-inline: auto; }
  .flist { text-align: left; max-width: 24em; margin-inline: auto; }
  .cinema-grid { grid-template-columns: repeat(2, 1fr); }
  .col-7, .col-5, .col-6, .col-4 { grid-column: span 2; }
  .showcase-aside { text-align: center; max-width: 30ch; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .nav-links { display: none; }
  .brand-sub { display: none; }
  .header-row { height: 64px; }
  .valuestrip .wrap { font-size: 15px; gap: 8px 18px; }
  .cinema-grid { grid-template-columns: 1fr; }
  .col-7, .col-5, .col-6, .col-4, .col-12 { grid-column: span 1; }
}
