/* ==========================================================
   Landing page — mobile first (390px), then tablet and desktop.
   Scoped to #home so it outranks the older shared rules.
   ========================================================== */

#home .section { padding: 44px 0; }
#home .h-head { max-width: 620px; margin: 0 auto 22px; text-align: center; }
#home .h-head h2 { margin: 10px 0 8px; font-size: 1.62rem; line-height: 1.15; }
#home .h-head p { margin: 0; font-size: 0.92rem; line-height: 1.6; color: var(--ink-soft); }
#home .eyebrow { font-size: 0.66rem; letter-spacing: 0.18em; gap: 8px; }
#home .eyebrow::before, #home .eyebrow::after { width: 16px; }
#home .btn { padding: 0 20px; height: 46px; font-size: 0.72rem; letter-spacing: 0.14em; gap: 8px; }

/* ---------- Hero (compact) ---------- */
#home .hero { height: auto; min-height: 92svh; align-items: flex-end; padding: 0 0 70px; }
#home .hero-veil { background: linear-gradient(0deg, rgba(25, 14, 26, 0.9) 0%, rgba(25, 14, 26, 0.55) 45%, rgba(25, 14, 26, 0.15) 100%); }
#home .hero-inner { padding-top: 0; }
#home .hero-eyebrow { margin: 0 0 10px; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: #f1dfbf; }
#home .hero-title { margin: 0 0 12px; font-size: 2.15rem; line-height: 1.05; }
#home .hero-sub { margin: 0 0 18px; max-width: 420px; font-size: 0.95rem; line-height: 1.55; }
#home .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 420px; }
#home .hero-cta .btn { width: 100%; }
#home .hero-proof { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; margin: 16px 0 0; padding: 0; font-size: 0.78rem; color: rgba(255, 255, 255, 0.92); }
#home .hero-proof li { display: inline-flex; align-items: center; gap: 6px; }
#home .hero-proof svg { width: 16px; height: 16px; fill: none; stroke: var(--gold-light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#home .scroll-cue { bottom: 14px; gap: 4px; font-size: 0.6rem; letter-spacing: 0.2em; }
#home .scroll-cue span { width: auto; height: auto; background: none; animation: none; }
#home .scroll-cue i { width: 10px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); animation: home-cue 1.4s ease-in-out infinite; }
@keyframes home-cue { 0%, 100% { transform: translateY(-2px) rotate(45deg); } 50% { transform: translateY(4px) rotate(45deg); } }

/* ---------- Canada · UK · Europe ---------- */
#home .h-local { background: linear-gradient(180deg, var(--paper), var(--cream)); }
#home .h-local .h-head p { max-width: 640px; margin: 10px auto 0; }
#home .h-cities { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 18px 0 0; padding: 0; }
#home .h-cities li { padding: 5px 12px; border-radius: 20px; border: 1px solid var(--line); background: #fff; font-size: 0.78rem; color: var(--ink-soft); }
#home .h-local-grid { display: grid; gap: 10px; margin-top: 20px; }
#home .h-local-grid div { padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
#home .h-local-grid strong { font: 500 1.15rem/1.2 var(--serif); color: var(--ink); }
#home .h-local-grid p { margin: 4px 0 0; font-size: 0.86rem; line-height: 1.5; color: var(--ink-soft); }
@media (min-width: 768px) { #home .h-local-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 980px; margin-left: auto; margin-right: auto; } }

/* ---------- Unlimited guests offer ---------- */
#home .offer { position: relative; z-index: 2; background: linear-gradient(110deg, #3f2a44, #2a1b2c 55%, #4b3456); color: #f6ecdf; }
#home .offer-inner { display: grid; grid-template-columns: 40px 1fr; gap: 10px 12px; align-items: center; padding: 16px 0; }
#home .offer-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(216, 185, 127, 0.18); }
#home .offer-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-light); stroke-width: 1.8; stroke-linecap: round; }
#home .offer-text { margin: 0; font-size: 0.86rem; line-height: 1.5; }
#home .offer-text strong { color: #fff; }
#home .offer-ref { display: inline; color: #f1dcff; }
#home .offer-ref b { color: #ffe3a6; letter-spacing: 0.1em; }
#home .plans-ref { margin: 8px auto 0; max-width: 560px; font-size: 0.82rem; color: #6b3fa0; }
#home .plans-ref b { letter-spacing: 0.08em; }
#home .offer-cta { grid-column: 1 / -1; justify-self: start; display: inline-flex; gap: 8px; font-size: 0.8rem; font-weight: 500; color: var(--gold-light); }

/* ---------- Templates: category groups, 2 phones per row ---------- */
#home .h-templates { background: var(--paper); }
#home .h-cat { margin-bottom: 28px; }
#home .h-cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
#home .h-cat-head h3 { font-size: 1.25rem; }
#home .h-cat-head sup { font: 600 0.62rem var(--sans); color: var(--gold); }
#home .h-cat-head a { font-size: 0.78rem; color: var(--lavender); white-space: nowrap; }
#home .h-soon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px; border-radius: 16px; background: var(--cream); }
#home .h-soon p { margin: 0 6px 0 0; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }
#home .h-soon ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
#home .h-soon li { padding: 5px 11px; border-radius: 999px; border: 1px dashed var(--line); font-size: 0.78rem; color: var(--ink-soft); }

/* ---------- Premium features: 2-column tiles ---------- */
#home .h-features { background: linear-gradient(var(--cream), var(--paper)); }
#home .feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none; margin: 0; padding: 0; }
#home .feat { display: grid; align-content: start; gap: 4px; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
#home .feat-ic { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 4px; border-radius: 50%; background: var(--lavender-soft); }
#home .feat-ic svg { width: 18px; height: 18px; fill: none; stroke: var(--lavender); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#home .feat strong { font: 600 0.86rem/1.25 var(--sans); color: var(--ink); }
#home .feat-text { font-size: 0.76rem; line-height: 1.45; color: var(--ink-soft); }
#home .feat--hero { grid-column: 1 / -1; grid-template-columns: 34px 1fr; column-gap: 10px; background: var(--plum); border-color: var(--plum); }
#home .feat--hero .feat-ic { grid-row: span 2; margin: 0; background: rgba(216, 185, 127, 0.2); }
#home .feat--hero .feat-ic svg { stroke: var(--gold-light); }
#home .feat--hero strong { color: #fff; font-size: 0.95rem; }
#home .feat--hero .feat-text { color: rgba(246, 236, 223, 0.8); }
@media (max-width: 639px) { #home .feat:last-child:nth-child(even) { grid-column: 1 / -1; } }
#home .feat-privacy { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px dashed var(--line); font-size: 0.8rem; line-height: 1.5; color: var(--ink-soft); }
#home .feat-privacy svg { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: var(--ok); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Paper vs digital ---------- */
#home .h-compare { background: var(--paper); }
#home .cmp { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
#home .cmp-row { display: grid; grid-template-columns: 1.25fr 1fr 1fr; align-items: center; min-height: 42px; border-top: 1px solid var(--line); font-size: 0.8rem; }
#home .cmp-row > span { padding: 8px 10px; }
#home .cmp-row > span:first-child { color: var(--ink); font-weight: 500; }
#home .cmp-row > span:nth-child(2) { color: var(--ink-soft); text-align: center; }
#home .cmp-us { height: 100%; display: grid; place-items: center; text-align: center; background: var(--lavender-soft); color: var(--plum); font-weight: 600; }
#home .cmp-row--head { border-top: 0; min-height: 40px; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); background: var(--cream); }
#home .cmp-row--head .cmp-us { background: var(--plum); color: #fff; }
#home .cmp i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
#home .cmp svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
#home .cmp-yes { background: var(--ok); }
#home .cmp-no { background: #d9b2b2; }

/* ---------- Baby showers ---------- */
#home .babies-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
#home .baby-card { display: block; padding: 0; border: 0; border-radius: 18px; background: none; box-shadow: none; }
#home .baby-media { position: relative; aspect-ratio: 9 / 13; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
#home .baby-media video { width: 100%; height: 100%; object-fit: cover; }
#home .baby-thumb { position: absolute; right: 6px; bottom: 6px; width: 44%; transform: rotate(5deg); filter: drop-shadow(0 10px 14px rgba(42, 27, 44, 0.4)); }
#home .baby-copy { padding: 10px 2px 0; }
#home .baby-style { margin: 0 0 2px; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }
#home .baby-copy h3 { margin: 0 0 4px; font-size: 1.05rem; }
#home .baby-tag { margin: 0 0 8px; font: italic 400 0.86rem/1.35 var(--serif); color: var(--lavender); }
#home .baby-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }

/* ---------- Plans: swipeable on phones ---------- */
#home .plan-grid { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin: 0 -16px; padding: 16px 16px 8px; scrollbar-width: none; }
#home .plan-grid::-webkit-scrollbar { display: none; }
#home .plan { flex: 0 0 84%; scroll-snap-align: center; padding: 26px 18px 18px; border-radius: 18px; }
#home .plan:hover { transform: none; }
#home .plan-badge { top: -10px; left: 18px; padding: 4px 10px; font-size: 0.56rem; letter-spacing: 0.14em; }
#home .plan h3 { font-size: 1.35rem; }
#home .plan-blurb { margin: 6px 0 12px; font-size: 0.84rem; line-height: 1.5; }
#home .plan-price strong { font-size: 2.3rem; }
#home .plan-delivery { margin: 10px 0; padding: 8px 0; font-size: 0.76rem; }
#home .plan-features { gap: 4px; margin: 0 0 16px; font-size: 0.84rem; }
#home .plan-features b { color: var(--gold); }
#home .plan--featured .plan-features b { color: var(--gold-light); }
#home .plans-swipe { margin: 6px 0 0; text-align: center; font-size: 0.76rem; color: var(--ink-soft); }

/* ---------- Steps: timeline rows ---------- */
#home .steps { position: relative; display: grid; gap: 10px; list-style: none; margin: 0; padding: 0 0 0 4px; }
#home .steps::before { content: ''; position: absolute; left: 21px; top: 20px; bottom: 20px; width: 1px; background: var(--line); }
#home .step { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding: 0; text-align: left; }
#home .step-num { position: relative; width: 36px; height: 36px; margin: 0; border-radius: 50%; background: var(--plum); border: 0; box-shadow: none; display: grid; place-items: center; font: 600 0.9rem var(--sans); color: var(--gold-light); }
#home .step > div { padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
#home .step h3 { margin: 0 0 2px; font-size: 1.05rem; }
#home .step p { margin: 0; font-size: 0.84rem; line-height: 1.5; color: var(--ink-soft); }

/* ---------- FAQ + contact ---------- */
#home .fc-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
#home .faq h2 { margin: 10px 0 10px; font-size: 1.62rem; }
#home .faq-list summary { padding: 14px 0; font-size: 1.02rem; gap: 12px; }
#home .faq-list details p { margin: -2px 0 14px; font-size: 0.86rem; line-height: 1.6; }
#home .contact-card { padding: 18px 16px; border-radius: 18px; }
#home .contact-card h3 { font-size: 1.35rem; }
#home .contact-card > p { margin: 4px 0 14px; font-size: 0.86rem; }
#home .vs-form { gap: 12px; }
#home .field-row { grid-template-columns: 1fr 1fr; gap: 10px; }
#home .field > span { font-size: 0.62rem; letter-spacing: 0.14em; }
#home .field input, #home .field select, #home .field textarea { padding: 11px 12px; font-size: 16px; }
#home .field textarea { min-height: 84px; }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  #home .hero-title { font-size: 3rem; }
  #home .feat-grid { grid-template-columns: repeat(3, 1fr); }
  #home .feat--hero { grid-column: span 3; }
  #home .cmp-row { font-size: 0.9rem; }
  #home .plan { flex-basis: 62%; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  #home .section { padding: 96px 0; }
  #home .h-head { margin-bottom: 44px; }
  #home .h-head h2 { font-size: 3rem; }
  #home .h-head p { font-size: 1.02rem; }
  #home .btn { height: 52px; padding: 0 28px; font-size: 0.74rem; letter-spacing: 0.2em; }
  #home .hero { min-height: 100svh; align-items: center; padding: 0; }
  #home .hero-veil { background: linear-gradient(90deg, rgba(25, 14, 26, 0.75) 0%, rgba(25, 14, 26, 0.35) 45%, rgba(25, 14, 26, 0) 70%); }
  #home .hero-inner { padding-top: var(--nav-h); }
  #home .hero-title { font-size: 5rem; margin-bottom: 22px; }
  #home .hero-sub { font-size: 1.08rem; margin-bottom: 30px; }
  #home .hero-cta { display: flex; }
  #home .hero-cta .btn { width: auto; }
  #home .hero-proof { font-size: 0.86rem; gap: 10px 22px; margin-top: 26px; }
  #home .offer-inner { grid-template-columns: 44px 1fr auto; padding: 18px 0; }
  #home .offer-text { font-size: 0.98rem; }
  #home .offer-cta { grid-column: auto; }
  #home .h-cat { margin-bottom: 48px; }
  #home .h-cat-head h3 { font-size: 1.7rem; }
  #home .feat-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin: 0 auto; }
  #home .feat--hero { grid-column: span 3; padding: 20px; }
  #home .feat-privacy { max-width: 980px; margin: 16px auto 0; }
  #home .feat { padding: 18px; }
  #home .feat strong { font-size: 1rem; }
  #home .feat-text { font-size: 0.86rem; }
  #home .cmp { max-width: 820px; margin: 0 auto; }
  #home .cmp-row { min-height: 52px; font-size: 0.98rem; }
  #home .babies-grid { gap: 28px; max-width: 900px; margin: 0 auto; }
  #home .baby-copy h3 { font-size: 1.6rem; }
  #home .plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 14px 0 0; gap: 24px; }
  #home .plan { padding: 40px 30px 30px; }
  #home .plan h3 { font-size: 1.8rem; }
  #home .plan-price strong { font-size: 3.2rem; }
  #home .plans-swipe { display: none; }
  #home .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; }
  #home .steps::before { display: none; }
  #home .step { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  #home .step > div { width: 100%; padding: 18px; }
  #home .step-num { width: 48px; height: 48px; font-size: 1.1rem; }
  #home .fc-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
  #home .faq h2 { font-size: 3rem; }
  #home .contact-card { padding: 34px; }
}
