/* hush-web.css — marketing site + landing pages layout system
   Brand: calm, private baby tracker. Warm cream + sage/peach/lavender. */

:root {
  --cream:    #FBF5EA;
  --cream2:   #F5EAD6;
  --card:     #FFFFFF;
  --card-tint:#FFFCF5;

  --sage:     #7CA989;
  --sage-deep:#5A8870;
  --sage-mist:#EBF1EA;
  --sage-soft:#D8E5DA;
  --peach:    #F0A87E;
  --peach-mist:#FDEADD;
  --lavender: #B8A8D4;
  --lav-mist: #F0EBF6;
  --butter:   #EBC066;
  --sky:      #88B5D5;
  --sky-soft: #D5E5F0;
  --coral:    #EA8F75;

  --ink:      #2B2620;
  --ink-soft: #5C5247;
  --ink-mute: #8B7F73;
  --ink-faint:#B5A89A;

  --night:    #16131F;
  --night2:   #242034;

  --shadow:   rgba(72,52,28,0.10);
  --maxw:     1160px;
  --gut:      28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--cream);
  color: var(--ink);
}
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.display { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; letter-spacing: -0.035em; }
.serif   { font-family: 'Fraunces', Georgia, serif; }
.mono    { font-family: 'JetBrains Mono', ui-monospace, monospace; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(43,38,32,0.18); border-radius: 5px; }
::-webkit-scrollbar-track { background: transparent; }

@keyframes twinkle { 0%,100% { opacity: .35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.18); } }
@keyframes floaty  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes riseIn  { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* ── Layout ─────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.sec  { position: relative; }

/* reveal-on-load helper (applied via JS) */
.reveal { opacity: 0; }
.reveal.in { animation: riseIn .7s cubic-bezier(.2,.7,.2,1) both; }

/* ── Nav ────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.2) blur(14px);
  background: rgba(251,245,234,0.72);
  border-bottom: 1px solid rgba(43,38,32,0.06);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link { font-weight: 600; font-size: 16px; color: var(--ink-soft); transition: color .18s; }
.nav-link:hover { color: var(--ink); }
.nav-cta-wrap { display: flex; align-items: center; gap: 18px; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 17px;
  border: none; cursor: pointer; border-radius: 999px;
  padding: 15px 28px; letter-spacing: -0.01em;
  transition: transform .16s cubic-bezier(.2,.7,.2,1), box-shadow .2s, background .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--sage); color: #fff; box-shadow: 0 10px 26px -8px rgba(124,169,137,.7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { background: var(--sage-deep); box-shadow: 0 16px 34px -10px rgba(124,169,137,.8); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(43,38,32,.16); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(43,38,32,.34); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 10px 26px -10px var(--shadow); }
.btn-light:hover { transform: translateY(-2px); }
.btn-sm { padding: 11px 20px; font-size: 15px; }
.btn-lg { padding: 18px 34px; font-size: 19px; }

/* Google Play style badge */
.play-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; border-radius: 16px;
  padding: 11px 22px 11px 18px; cursor: pointer;
  box-shadow: 0 12px 30px -12px rgba(43,38,32,.6);
  transition: transform .16s, box-shadow .2s;
}
.play-badge:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -14px rgba(43,38,32,.7); }
.play-badge small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; font-weight: 600; }
.play-badge strong { display: block; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-top: 1px; }

/* ── Eyebrow / chips ────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 14px; letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow .rule { width: 30px; height: 2px; border-radius: 2px; background: currentColor; opacity: .6; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: 15px;
  background: var(--card); color: var(--ink-soft); box-shadow: 0 6px 16px -10px var(--shadow);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; padding: 70px 0 30px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-weight: 800; letter-spacing: -0.045em; line-height: .98; font-size: clamp(46px, 6.6vw, 82px); margin: 18px 0 0; }
.hero-sub { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--ink-soft); max-width: 30ch; margin: 22px 0 0; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 20px; font-size: 14px; color: var(--ink-mute); font-weight: 600; }
.hero-stage { position: relative; display: flex; justify-content: center; align-items: center; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-stage { margin-top: 24px; }
  .hero-sub { max-width: none; }
}

/* ── Section headers ────────────────────────────────────── */
.sec-head { max-width: 720px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head h2 { font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; font-size: clamp(34px, 4.6vw, 54px); margin: 16px 0 0; }
.sec-head p { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-soft); margin: 16px 0 0; font-weight: 500; }
.sec-head.center p { margin-left: auto; margin-right: auto; }

/* ── Feature rows (alternating) ─────────────────────────── */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 0; }
.feat.flip .feat-media { order: 2; }
.feat-media { display: flex; justify-content: center; align-items: center; position: relative; }
.feat-body h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; font-size: clamp(28px, 3.4vw, 42px); margin: 16px 0 0; }
.feat-body p { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--ink-soft); margin: 16px 0 0; font-weight: 500; }
.feat-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.feat-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; color: var(--ink-soft); font-weight: 600; line-height: 1.4; }
@media (max-width: 880px) {
  .feat { grid-template-columns: 1fr; gap: 30px; }
  .feat.flip .feat-media { order: 0; }
}

/* ── Cards grid ─────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border-radius: 28px; padding: 30px;
  box-shadow: 0 2px 4px rgba(72,52,28,.04), 0 18px 40px -22px var(--shadow);
}
.card .ic { width: 56px; height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center; }
.card h4 { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin: 20px 0 0; }
.card p { font-size: 16px; line-height: 1.5; color: var(--ink-soft); margin: 10px 0 0; font-weight: 500; }
@media (max-width: 880px) { .cards { grid-template-columns: 1fr; } }

/* ── Pricing ────────────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 820px; margin: 0 auto; }
.price-card { background: var(--card); border-radius: 30px; padding: 34px; box-shadow: 0 18px 44px -24px var(--shadow); position: relative; }
.price-card.feature { background: linear-gradient(165deg, #6f9d83 0%, #557e68 100%); color: #fff; box-shadow: 0 26px 56px -22px rgba(90,136,112,.7); }
.price-amt { font-weight: 800; letter-spacing: -0.04em; font-size: 52px; line-height: 1; margin: 18px 0 0; }
.price-amt small { font-size: 18px; font-weight: 600; opacity: .7; letter-spacing: 0; }
.price-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 13px; }
.price-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 16px; font-weight: 600; line-height: 1.4; }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } }

/* ── Quotes ─────────────────────────────────────────────── */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--card-tint); border-radius: 26px; padding: 30px; box-shadow: 0 14px 36px -24px var(--shadow); }
.quote p { font-size: 19px; line-height: 1.5; margin: 0; font-weight: 500; letter-spacing: -0.01em; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.quote .who b { font-weight: 700; font-size: 15px; }
.quote .who span { font-size: 14px; color: var(--ink-mute); font-weight: 500; }
@media (max-width: 880px) { .quotes { grid-template-columns: 1fr; } }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--card); border-radius: 22px; box-shadow: 0 10px 30px -22px var(--shadow); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 24px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -0.015em; }
.faq-a { padding: 0 26px; max-height: 0; overflow: hidden; transition: max-height .32s ease, padding .32s ease; }
.faq-a p { margin: 0 0 24px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); font-weight: 500; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-plus { flex-shrink: 0; transition: transform .3s; color: var(--sage); }
.faq-item.open .faq-plus { transform: rotate(45deg); }

/* ── CTA band ───────────────────────────────────────────── */
.cta-band { border-radius: 40px; padding: 64px clamp(28px, 5vw, 76px); position: relative; overflow: hidden; }
.cta-band h2 { font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; font-size: clamp(36px, 5vw, 60px); margin: 0; }

/* ── Footer ─────────────────────────────────────────────── */
.foot { padding: 60px 0 44px; border-top: 1px solid rgba(43,38,32,.08); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.foot h5 { font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 16px; }
.foot a { display: block; font-size: 15px; color: var(--ink-soft); font-weight: 500; padding: 6px 0; transition: color .16s; }
.foot a:hover { color: var(--ink); }
.foot-base { display: flex; align-items: center; justify-content: space-between; margin-top: 46px; padding-top: 26px; border-top: 1px solid rgba(43,38,32,.08); font-size: 14px; color: var(--ink-mute); font-weight: 500; }
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-base { flex-direction: column; gap: 14px; text-align: center; }
}

/* Decorative dot grid + glow */
.glow { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0; }
.star-deco { position: absolute; animation: twinkle 4s ease-in-out infinite; pointer-events: none; }

/* ── Store badges row + "coming soon" App Store badge ───── */
.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.store-soon {
  display: inline-flex; align-items: center; gap: 11px;
  border-radius: 16px; padding: 10px 18px; cursor: default;
  background: transparent; color: var(--ink-mute);
  box-shadow: inset 0 0 0 1.5px rgba(43,38,32,.20);
}
.store-soon small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; font-weight: 600; }
.store-soon strong { display: block; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-top: 1px; }
.store-soon-pill { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .05em; padding: 3px 8px; border-radius: 999px; background: rgba(43,38,32,.10); color: var(--ink-mute); margin-left: 2px; }
.store-soon.on-dark { color: rgba(255,255,255,.9); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.34); }
.store-soon.on-dark .store-soon-pill { background: rgba(255,255,255,.22); color: #fff; }

/* ── Legal documents (privacy / terms) ──────────────────── */
.legal-hero { padding: 64px 0 28px; }
.legal-hero h1 { font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; font-size: clamp(38px, 5.2vw, 60px); margin: 16px 0 0; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--ink-mute); }
.legal-meta .mono { font-size: 13px; }
.legal-wrap { max-width: 820px; margin: 0 auto; padding-bottom: 90px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 44px; }
.legal-toc a { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); background: var(--card); padding: 8px 14px; border-radius: 999px; box-shadow: 0 6px 16px -12px var(--shadow); transition: color .16s, transform .16s; }
.legal-toc a:hover { color: var(--ink); transform: translateY(-1px); }
.legal-body { font-size: 17px; line-height: 1.66; color: var(--ink-soft); }
.legal-body h2 { font-family: 'Plus Jakarta Sans'; font-weight: 800; letter-spacing: -0.02em; font-size: 26px; color: var(--ink); margin: 52px 0 4px; scroll-margin-top: 96px; }
.legal-body h2 .num { color: var(--sage); margin-right: 12px; font-variant-numeric: tabular-nums; }
.legal-body h3 { font-weight: 700; font-size: 19px; color: var(--ink); margin: 30px 0 2px; }
.legal-body p { margin: 14px 0; }
.legal-body ul { margin: 14px 0; padding-left: 0; list-style: none; display: grid; gap: 11px; }
.legal-body ul li { position: relative; padding-left: 30px; }
.legal-body ul li::before { content: ''; position: absolute; left: 6px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.legal-body a { color: var(--sage-deep); font-weight: 600; border-bottom: 1px solid rgba(90,136,112,.3); }
.legal-body a:hover { border-bottom-color: var(--sage-deep); }
.legal-body strong { color: var(--ink); font-weight: 700; }
.legal-callout { background: var(--card); border-radius: 22px; padding: 26px 30px; margin: 26px 0; box-shadow: 0 14px 38px -26px var(--shadow); }
.legal-callout.tl { background: linear-gradient(150deg, #2F4A40 0%, #1E322A 70%); color: #CFE0D6; }
.legal-callout.tl strong { color: #EAF2EC; }
.legal-callout.tl ul li::before { background: #8FB3A4; }
.legal-callout h3 { margin-top: 0; }
.legal-note { font-size: 13.5px; color: var(--ink-mute); font-style: italic; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(43,38,32,.1); }
.legal-body .legal-note a { color: var(--ink-mute); border: none; text-decoration: underline; }
