/* ShiftMom marketing site — matches the app's Coastal Blue theme. */
:root {
  --bg: #eff4fa;
  --surface: #ffffff;
  --muted: #dcedfb;
  --hero-from: #eaf3fc;
  --hero-to: #cfe6fa;
  --brand: #1e5fbe;
  --brand-mid: #3b82c4;
  --sky: #9bc9ec;
  --text: #1e2a38;
  --text-secondary: #566273;
  --text-muted: #93a1b2;
  --border: #cfe2f2;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 18px 40px rgba(30, 58, 95, 0.12);
  --shadow-sm: 0 8px 20px rgba(30, 58, 95, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  color: var(--text);
  line-height: 1.1;
  margin: 0 0 0.4em;
}

a { color: var(--brand); }
.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  color: var(--brand); font-weight: 700; font-size: 13px;
  letter-spacing: 1.6px; text-transform: uppercase;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(140%) blur(8px);
  background: rgba(239, 244, 250, 0.82);
  border-bottom: 1px solid rgba(207, 226, 242, 0.6);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1040px; margin: 0 auto; padding: 14px 24px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 50px; width: auto; display: block; }
.nav a { color: var(--text-secondary); text-decoration: none; margin-left: 22px; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--brand); }
.nav .btn-sm {
  background: var(--brand-mid); color: #fff; padding: 9px 16px; border-radius: 12px;
}
.nav .btn-sm:hover { background: var(--brand); color: #fff; }

/* Hero */
.hero { padding: 56px 0 28px; position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  right: -3%;
  top: 50%;
  transform: translateY(-50%);
  width: min(640px, 64%);
  aspect-ratio: 3 / 2;
  background: url('hero-bg.png') center / contain no-repeat;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 50%, transparent 76%);
  mask-image: radial-gradient(ellipse at center, #000 50%, transparent 76%);
}
.hero .grid { display: grid; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(36px, 5.4vw, 56px); margin-top: 12px; }
.hero .lede { color: var(--text-secondary); font-size: 19px; max-width: 520px; margin: 18px 0 0; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-mid); color: #fff; text-decoration: none;
  font-weight: 700; padding: 15px 28px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform 0.12s ease, background 0.15s ease;
}
.btn:hover { background: var(--brand); transform: translateY(-2px); }
.btn.secondary { background: var(--surface); color: var(--brand); border: 1px solid var(--border); box-shadow: none; }
.badge-note { color: var(--text-muted); font-size: 13.5px; margin-top: 16px; }

@media (min-width: 880px) {
  .hero .grid { grid-template-columns: 1.05fr 0.95fr; }
}

/* Phone mock */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 290px; background: #fff; border-radius: 38px; padding: 14px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.phone .screen { background: var(--bg); border-radius: 26px; padding: 16px; overflow: hidden; }
.phone .notch { width: 110px; height: 6px; background: var(--border); border-radius: 99px; margin: 2px auto 12px; }
.mini-label { font-family: 'Fraunces', serif; font-weight: 700; font-size: 15px; }
.mini-hero {
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to));
  border-radius: 16px; padding: 14px; margin: 8px 0 14px; box-shadow: var(--shadow-sm);
}
.mini-hero .k { color: var(--brand); font-weight: 700; font-size: 9px; letter-spacing: 0.8px; text-transform: uppercase; }
.mini-hero h4 { font-family: 'Fraunces', serif; margin: 4px 0 2px; font-size: 18px; }
.mini-hero p { margin: 0; font-size: 11px; color: var(--text-secondary); }
.mini-hero .pill { margin-top: 10px; background: var(--brand-mid); color: #fff; text-align: center; font-size: 11px; font-weight: 700; padding: 8px; border-radius: 11px; }
.mini-row {
  display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 9px 11px; margin-bottom: 8px; box-shadow: var(--shadow-sm);
}
.mini-row .box { width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--sky); flex: none; }
.mini-row .box.done { background: var(--brand-mid); border-color: var(--brand-mid); color: #fff; font-size: 11px; text-align: center; line-height: 16px; }
.mini-row .ic { font-size: 15px; }
.mini-row .t { font-size: 12px; font-weight: 700; }
.mini-row .t.s { color: var(--text-muted); text-decoration: line-through; font-weight: 600; }
.mini-row small { display: block; color: var(--text-muted); font-weight: 600; font-size: 9.5px; }

/* Section scaffolding */
section.block { padding: 44px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.section-head p { color: var(--text-secondary); font-size: 17px; margin: 10px 0 0; }

/* Why-support panel */
.why {
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to));
  border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 44px;
}
.why h2 { font-size: clamp(26px, 3.4vw, 34px); }
.why p { color: var(--text-secondary); font-size: 17px; max-width: 760px; }
.why p + p { margin-top: 16px; }
.why .heart { font-size: 30px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.step .num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--muted); color: var(--brand);
  font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.step h3 { font-size: 19px; margin: 14px 0 6px; }
.step p { color: var(--text-secondary); font-size: 15px; margin: 0; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .ico { font-size: 28px; }
.feature h3 { font-size: 19px; margin: 12px 0 6px; }
.feature p { color: var(--text-secondary); font-size: 15px; margin: 0; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--brand-mid), var(--brand));
  border-radius: var(--radius-lg); padding: 48px; text-align: center; box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 34px); }
.cta-band p { color: rgba(255, 255, 255, 0.9); font-size: 17px; margin: 10px 0 26px; }
.cta-band .btn { background: #fff; color: var(--brand); }
.cta-band .btn:hover { background: #f1f6fc; }

/* Disclaimer */
.note { background: var(--muted); border-radius: var(--radius); padding: 16px 22px; color: var(--text-secondary); font-size: 14px; text-align: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 30px 24px; text-align: center; color: var(--text-muted); font-size: 14px; }
.site-footer a { color: var(--text-secondary); text-decoration: none; margin: 0 10px; font-weight: 600; }
.site-footer a:hover { color: var(--brand); }

/* Legal pages */
.legal { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 40px; margin: 24px 0 48px; }
.legal h1 { font-size: 34px; }
.legal h2 { font-size: 22px; margin-top: 32px; }
.legal p, .legal li { color: var(--text-secondary); }
.legal .updated { color: var(--text-muted); font-size: 14px; }
.legal .template-flag { background: #fff5e8; border: 1px solid #f0d9b5; color: #8a5a1a; border-radius: 12px; padding: 12px 16px; font-size: 14px; margin-bottom: 24px; }

/* Gentle reveal animation */
.reveal { opacity: 0; transform: translateY(16px); animation: reveal 0.7s ease forwards; }
.reveal.d1 { animation-delay: 0.08s; }
.reveal.d2 { animation-delay: 0.16s; }
.reveal.d3 { animation-delay: 0.24s; }
@keyframes reveal { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; transform: none; } }

@media (max-width: 720px) {
  .steps, .features { grid-template-columns: 1fr; }
  .nav a:not(.btn-sm) { display: none; }
  .why, .cta-band { padding: 32px 24px; }
}
