/* ==========================================================================
   THE MOTHER'S HELPER — Premium Lifestyle Brand Stylesheet
   Aesthetic: Apple × Martha Stewart × Rifle Paper Co. × Modern Parenting
   ========================================================================== */

/* ---- Design Tokens ------------------------------------------------------- */
:root {
  /* Core palette — The Mother's Helper brand kit
     French Blue · Magenta · Sunshine · Sage · Blush · Cream */
  --ivory:        #FAF7F0;   /* cream — page background */
  --cream:        #F4EEDF;   /* alt section background */
  --ink:          #322E2B;   /* primary text — warm near-black */
  --ink-soft:     #5E574F;   /* secondary text */
  --ink-faint:    #8C857C;   /* muted captions */

  /* Brand accents */
  --blue:         #4A90E2;   /* French Blue */
  --blue-deep:    #2F6CB5;   /* readable blue for text */
  --blue-soft:    #E4F0FB;   /* blue surface */
  --magenta:      #E91E63;   /* Magenta — primary CTA */
  --magenta-deep: #C81553;   /* magenta hover / readable */
  --sunshine:     #FFC107;   /* Sunshine */
  --sage:         #6AA47F;   /* Sage */
  --sage-soft:    #E3EFE8;   /* sage surface */
  --sage-deep:    #4E8463;
  --blush:        #F7A6C1;   /* Blush */
  --blush-soft:   #FCE7EE;   /* blush surface */

  /* Aliases kept for component reuse */
  --rose:         var(--magenta);
  --terracotta:   var(--magenta);
  --terracotta-d: var(--magenta-deep);
  --gold:         var(--sunshine);   /* decorative hairlines / stars */
  --gold-soft:    #FFF1CC;
  --plum:         var(--blue);
  --sky:          var(--blue);
  --sky-soft:     var(--blue-soft);
  --navy:         #16314F;   /* footer / dark banner */

  /* Semantic */
  --bg:           var(--ivory);
  --surface:      #FFFFFF;
  --text:         var(--ink);
  --text-muted:   var(--ink-soft);
  --accent:       var(--magenta);
  --accent-hover: var(--magenta-deep);
  --border:       #ECE3D1;
  --border-soft:  #F0E9DA;

  /* Typography — brand kit
     Logo: Recoleta → Fraunces · Headlines: Sofia Pro Soft → Nunito · Body: Nunito Sans */
  --font-logo:    'Fraunces', Georgia, 'Times New Roman', serif;
  --font-display: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale (8pt) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  /* Radii */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  /* Shadows — soft luxury */
  --shadow-sm: 0 2px 10px rgba(43, 37, 33, 0.05);
  --shadow-md: 0 12px 30px -12px rgba(43, 37, 33, 0.14);
  --shadow-lg: 0 30px 70px -28px rgba(43, 37, 33, 0.22);
  --shadow-card: 0 18px 50px -24px rgba(122, 90, 60, 0.30);

  /* Layout */
  --container: 1180px;
  --container-wide: 1320px;
  --nav-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

::selection { background: var(--blush); color: var(--ink); }

/* ---- Typography ---------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 700; }

p { color: var(--text-muted); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--magenta-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--sunshine);
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--sunshine);
  display: inline-block;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 400;
}

.serif-accent { font-family: var(--font-logo); font-style: italic; }

/* ---- Layout helpers ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}
.container-wide { max-width: var(--container-wide); }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section-head { max-width: 660px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 1rem; }
.section-head .lead { margin-top: 1.1rem; }

.bg-cream { background: var(--cream); }
.bg-sage  { background: var(--sage-soft); }
.bg-blush { background: var(--blush-soft); }
.bg-ink   { background: var(--navy); }
.bg-ink * { color: #F3ECE2; }
.bg-ink h2, .bg-ink h3 { color: #FFFFFF; }
.bg-ink .eyebrow { color: var(--gold-soft); }
.bg-ink .eyebrow::before, .bg-ink .eyebrow.center::after { background: var(--gold-soft); }

.text-center { text-align: center; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  padding: 0.95em 1.8em;
  border-radius: var(--r-pill);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}
.btn svg { width: 1.15em; height: 1.15em; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(233, 30, 99, 0.6);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(233, 30, 99, 0.7);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(43, 37, 33, 0.03);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-lg { padding: 1.1em 2.2em; font-size: 1.02rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  color: var(--rose);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow svg { width: 1.05em; height: 1.05em; transition: transform 0.3s var(--ease); }
.link-arrow:hover { gap: 0.85em; color: var(--accent); }

/* App store badge button */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  background: var(--ink);
  color: #fff;
  padding: 0.7em 1.4em 0.7em 1.2em;
  border-radius: var(--r-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: var(--shadow-md);
}
.btn-store:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-store svg { width: 26px; height: 26px; }
.btn-store .store-label { line-height: 1.1; text-align: left; }
.btn-store .store-label small { display: block; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.btn-store .store-label span { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(251, 248, 242, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(43, 37, 33, 0.06);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: var(--ink);
}
/* Drop-in raster logo (assets/logo.png). Shown only once it loads successfully;
   otherwise the styled lockup below remains the fallback. */
.brand-logo { display: none; height: 56px; width: auto; max-width: 300px; }
.nav .brand.has-logo .brand-logo { display: block; }
.nav .brand.has-logo .brand-mark,
.nav .brand.has-logo .brand-text { display: none; }
.brand .brand-mark { width: 42px; height: 42px; flex-shrink: 0; display: block; }
.brand .brand-text { line-height: 1; display: flex; flex-direction: column; gap: 3px; }
.brand .wordmark {
  font-family: var(--font-logo);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand .wm-blue { color: var(--blue); }
.brand .wm-blue-light { color: #9CC2F0; }
.brand .wm-pink { color: var(--magenta); }
.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.nav-links a {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 99;
  padding: calc(var(--nav-h) + 2rem) clamp(1.5rem, 6vw, 3rem) 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu .btn { margin-top: 1.6rem; font-size: 1.05rem; }

body.menu-open { overflow: hidden; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(2rem, 6vw, 4.5rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy { max-width: 600px; position: relative; z-index: 2; }
.hero-copy h1 { margin: 1.4rem 0 1.5rem; }
.hero-copy .lead { max-width: 520px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
  align-items: center;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
}
.hero-meta .stars { display: flex; gap: 2px; color: var(--gold); }
.hero-meta .stars svg { width: 18px; height: 18px; }
.hero-meta small { color: var(--ink-faint); font-size: 0.85rem; }
.hero-meta .divider { width: 1px; height: 28px; background: var(--border); }

/* App mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual .blob {
  position: absolute;
  inset: -10% -5%;
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 2;
  width: min(330px, 78%);
  filter: drop-shadow(0 40px 70px rgba(122, 90, 60, 0.28));
  animation: float 7s ease-in-out infinite;
}
/* Real app screenshot framed as a device */
.phone-img {
  display: block;
  height: auto;
  border: 10px solid #1C1A18;
  border-radius: 48px;
  background: #1C1A18;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.06) inset;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.floral-deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   FEATURE / APP SECTION
   ========================================================================== */
.app-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.app-feature .phone { width: min(300px, 80%); animation: none; margin-inline: auto; }
.app-feature-visual { position: relative; display: flex; justify-content: center; }

.feature-list { margin-top: 2rem; display: grid; gap: 1.1rem; }
.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature-item .tick {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-deep);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.feature-item .tick svg { width: 16px; height: 16px; }
.feature-item p { color: var(--ink); font-weight: 500; margin: 0; }
.feature-item p span { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.92rem; }

/* ==========================================================================
   CARDS / GRIDS
   ========================================================================== */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 2.2rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--border); }
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.97rem; margin: 0; }

.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
}
.card-icon svg { width: 28px; height: 28px; }
.icon-blush { background: var(--blush-soft); color: var(--magenta); }
.icon-sage  { background: var(--sage-soft); color: var(--sage-deep); }
.icon-gold  { background: var(--gold-soft); color: #A6781E; }
.icon-sky   { background: var(--blue-soft); color: var(--blue-deep); }
.icon-plum  { background: var(--blue-soft); color: var(--blue-deep); }

/* Coming soon feature cards */
.soon-card {
  position: relative;
  border-radius: var(--r-lg);
  padding: 2.4rem;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.soon-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.soon-card .tag {
  position: absolute;
  top: 1.4rem; left: 1.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(6px);
  color: var(--ink-soft);
  padding: 0.45em 0.9em;
  border-radius: var(--r-pill);
}
.soon-card h3 { position: relative; z-index: 2; }
.soon-card p { position: relative; z-index: 2; margin-top: 0.4rem; font-size: 0.95rem; }
.soon-card .soon-art { position: absolute; inset: 0; z-index: 0; }

/* Future tools pill grid */
.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.65em 1.25em;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.pill:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--ink); }

/* ==========================================================================
   ECOSYSTEM / ORBIT
   ========================================================================== */
.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.orbit {
  position: relative;
  aspect-ratio: 1;
  width: min(440px, 100%);
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.orbit-ring {
  position: absolute;
  border: 1.5px dashed rgba(74, 144, 226, 0.4);
  border-radius: 50%;
}
.orbit-ring.r1 { inset: 24%; }
.orbit-ring.r2 { inset: 6%; }
.orbit-core {
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--blush-soft));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  z-index: 3;
}
.orbit-core span { font-family: var(--font-logo); font-size: 1.1rem; line-height: 1.2; color: var(--ink); }
.orbit-node {
  position: absolute;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  z-index: 2;
  animation: orbit-bob 6s ease-in-out infinite;
}
.orbit-node svg { width: 26px; height: 26px; }
@keyframes orbit-bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }

.eco-list { margin-top: 1.8rem; display: grid; gap: 0.9rem; }
.eco-list li {
  display: flex; align-items: center; gap: 0.85rem;
  font-weight: 500; color: var(--ink);
}
.eco-list li svg { width: 20px; height: 20px; color: var(--magenta); flex-shrink: 0; }

/* ==========================================================================
   FOUNDER
   ========================================================================== */
.founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.founder-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(150deg, var(--blush-soft) 0%, var(--blue-soft) 100%);
  box-shadow: var(--shadow-lg);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.founder-photo .ph-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ink-faint);
}
.founder-photo .ph-label svg { width: 54px; height: 54px; margin-inline: auto; opacity: 0.5; }
.founder-photo .ph-label small { display: block; margin-top: 0.8rem; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.founder-quote {
  font-family: var(--font-logo);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  margin: 1.6rem 0;
}
.founder-sign {
  font-family: var(--font-logo);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--magenta);
  margin-top: 1.5rem;
}
.founder-grid p + p { margin-top: 1.1rem; }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
  text-align: center;
  background: linear-gradient(140deg, #2B5A8F 0%, #1E4373 55%, #16314F 100%);
}
.cta-banner h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-banner p { color: rgba(243, 236, 226, 0.82); max-width: 50ch; margin: 1.2rem auto 2.2rem; }
.cta-banner .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-banner .cta-floral { position: absolute; pointer-events: none; opacity: 0.9; }

/* ==========================================================================
   PAGE HERO (interior pages)
   ========================================================================== */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin: 1.2rem auto 1.2rem; max-width: 16ch; }
.page-hero .lead { max-width: 56ch; margin-inline: auto; }
.page-hero .floral-deco { opacity: 0.85; }

/* Story sections */
.story-block { max-width: 760px; margin-inline: auto; }
.story-block + .story-block { margin-top: clamp(3rem, 6vw, 4.5rem); }
.story-block h2 { margin-bottom: 1.1rem; }
.story-block p + p { margin-top: 1.1rem; }
.story-block .lead { margin-bottom: 1.4rem; }

.pull-quote {
  border-left: 3px solid var(--magenta);
  padding: 0.4rem 0 0.4rem 1.8rem;
  font-family: var(--font-logo);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.45;
  color: var(--ink);
  margin: 2rem 0;
}

/* Roadmap timeline */
.timeline { position: relative; max-width: 760px; margin: 2.5rem auto 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: 19px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--gold), var(--border));
}
.tl-item { position: relative; padding-left: 60px; padding-bottom: 2.2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  left: 8px; top: 2px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
}
.tl-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.tl-item.done .tl-dot { background: var(--gold); }
.tl-item.done .tl-dot::after { background: #fff; }
.tl-item h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.tl-item .when { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--magenta-deep); font-weight: 700; }
.tl-item p { margin-top: 0.3rem; font-size: 0.95rem; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-aside .info-item { display: flex; gap: 1rem; align-items: flex-start; margin-top: 1.6rem; }
.contact-aside .info-item .ic {
  width: 46px; height: 46px; border-radius: var(--r-md);
  background: var(--blush-soft); color: var(--rose);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-aside .info-item .ic svg { width: 22px; height: 22px; }
.contact-aside .info-item h4 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; }
.contact-aside .info-item p { font-size: 0.93rem; margin: 0.15rem 0 0; }

.contact-email {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2rem;
  padding: 1.4rem 1.5rem;
  background: var(--blush-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
}
.contact-email .ic {
  width: 46px; height: 46px; border-radius: var(--r-md);
  background: #fff; color: var(--magenta);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-email .ic svg { width: 22px; height: 22px; }
.contact-email h4 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; }
.contact-email p { font-size: 0.9rem; margin: 0.25rem 0 0.5rem; }
.contact-email .email-link {
  display: inline-block;
  font-weight: 700;
  color: var(--magenta);
  word-break: break-all;
  transition: color 0.25s var(--ease);
}
.contact-email .email-link:hover { color: var(--magenta-deep); text-decoration: underline; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: clamp(1rem, 2vw, 1.6rem);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.form-card iframe { border-radius: var(--r-md); width: 100%; display: block; }

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-wrap { padding-bottom: clamp(3rem, 7vw, 6rem); }
.legal-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.6rem, 4vw, 3.5rem);
  max-width: 900px;
  margin-inline: auto;
}
.legal-card [name="termly-embed"] { min-height: 300px; }

.legal-nav {
  max-width: 900px;
  margin: 0 auto 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.legal-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5em 1em;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  transition: all 0.25s var(--ease);
}
.legal-nav a:hover { border-color: var(--gold); color: var(--ink); }
.legal-nav a.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--navy);
  color: #BFD2E6;
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
}
.footer .brand { color: #fff; }
.brand--footer { background: var(--ivory); padding: 14px 20px; border-radius: 18px; box-shadow: var(--shadow-sm); }
.brand--footer:hover { transform: none; }
.footer-logo { display: block; width: 210px; max-width: 60vw; height: auto; }
.footer .brand .brand-text { color: #fff; }
.footer-blurb { margin-top: 1.2rem; max-width: 32ch; color: #93AAC4; font-size: 0.95rem; }
.footer .footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1.1rem;
  color: var(--sunshine);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.25s var(--ease);
}
.footer .footer-email svg { width: 17px; height: 17px; }
.footer .footer-email:hover { color: #fff; padding-left: 0; }
.footer-blurb + .footer-store { margin-top: 1.6rem; }
.footer h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sunshine);
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.footer-col ul { display: grid; gap: 0.8rem; }
.footer-col a {
  color: #BFD2E6;
  font-size: 0.94rem;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.8rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { color: #7E97B2; font-size: 0.85rem; margin: 0; }
.footer-bottom .tagline { font-family: var(--font-logo); font-style: italic; color: #BFD2E6; }

/* ==========================================================================
   ANIMATIONS — scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: 600px; margin-inline: auto; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: 1rem; }
  .eyebrow { justify-content: center; }

  .app-feature, .ecosystem-grid, .founder-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .app-feature-visual, .ecosystem-grid .orbit { order: -1; }
  .founder-photo { max-width: 380px; margin-inline: auto; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-meta .divider { display: none; }
  .card, .soon-card { padding: 1.8rem; }
}

/* ---- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .phone, .orbit-node { animation: none; }
}

/* ---- Focus visibility ---------------------------------------------------- */
:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 50%; top: -60px;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 0.7em 1.4em;
  border-radius: 0 0 var(--r-md) var(--r-md);
  z-index: 200;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 0; }
