/* Mama & Papa — marketing site. Plain CSS, no build step.
   Palette taken from the logo: rust, warm orange, forest green, soft blush,
   on cream. Orange is the action colour; green is the second accent. */

:root {
  /* logo colours */
  --rust: #8e3519;          /* left figure, wordmark */
  --rust-deep: #5a2210;     /* footer */
  --orange: #d9592e;        /* right figure — buttons, highlights */
  --orange-dark: #bf4a21;
  --green: #0f6e58;         /* middle figure — second accent */
  --green-dark: #0a5645;
  --blush: #fbece6;         /* logo background */
  --blush-deep: #f4d6c9;
  --peach: #efb7a3;         /* logo ring */

  /* neutrals */
  --cream: #fffaf6;
  --white: #ffffff;
  --ink: #2a1c16;
  --ink-soft: #5d4a41;
  --muted: #8a776d;
  --line: #efe1d8;

  /* tints for icon tiles */
  --orange-tint: #fbe3d8;
  --green-tint: #dcefe9;
  --rust-tint: #f3ddd4;

  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 18px 40px -22px rgba(90, 34, 16, .35);
  --shadow-sm: 0 8px 20px -14px rgba(90, 34, 16, .35);
  --max: 1160px;

  --font-head: "Outfit", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 700; letter-spacing: -.5px; }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.6rem); font-weight: 700; letter-spacing: -.3px; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 32px); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 8px; }

/* icons */
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tile {
  flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
}
.tile-lg { width: 68px; height: 68px; border-radius: 20px; margin: 4px auto 16px; }
.tile-lg .i { width: 30px; height: 30px; }
.tile-orange { background: var(--orange-tint); color: var(--orange-dark); }
.tile-green { background: var(--green-tint); color: var(--green); }
.tile-rust { background: var(--rust-tint); color: var(--rust); }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; text-decoration: none;
  cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s, border-color .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 22px -12px var(--orange); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 22px -12px var(--green); }
.btn-green:hover { background: var(--green-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--rust); color: var(--rust); }
.btn-outline { background: transparent; color: var(--rust); border-color: var(--rust); }
.btn-outline:hover { background: var(--rust); color: #fff; }
.btn-light { background: #fff; color: var(--rust); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-link { background: none; color: var(--rust); padding-inline: 6px; text-decoration: underline; text-underline-offset: 4px; }

/* ------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 246, .9);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -18px rgba(90,34,16,.6); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.brand-text { font-family: var(--font-head); font-size: 1.45rem; font-weight: 600; color: var(--rust); }
.brand-text .amp { color: var(--orange); }

.nav-menu { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; color: var(--ink-soft); position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; border-radius: 2px;
  background: var(--orange); transition: width .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--rust); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; gap: 10px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2.5px; border-radius: 3px; background: var(--rust); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; padding: 64px 0 96px;
  background: radial-gradient(900px 480px at 88% 0%, var(--blush) 0%, transparent 65%), var(--cream);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px;
  background: var(--blush); color: var(--rust); font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: 2px;
}
.hl { position: relative; white-space: nowrap; color: var(--orange); }
.hl-green { color: var(--green); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.hero-badges li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--ink-soft);
}
.hero-badges .i { width: 18px; height: 18px; color: var(--green); }

.hero-art { position: relative; min-height: 440px; display: grid; place-items: center; }
.art-circle {
  width: min(380px, 80vw); aspect-ratio: 1; border-radius: 50%;
  background: var(--blush); border: 2px solid var(--peach); padding: 10px; box-shadow: var(--shadow);
}
.art-circle img { width: 100%; height: 100%; border-radius: 50%; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.float-card .tile { width: 40px; height: 40px; border-radius: 12px; }
.float-card .i { width: 20px; height: 20px; }
.float-card strong { display: block; font-size: .95rem; }
.float-card small { color: var(--muted); font-weight: 500; }
.fc-1 { top: 6%; left: -2%; }
.fc-2 { bottom: 12%; left: -6%; animation-delay: -2s; }
.fc-3 { top: 42%; right: -4%; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ------------------------------------------------------------- sections */
.section { padding: 96px 0; position: relative; }
.section-head { max-width: 740px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.sub { font-size: 1.08rem; color: var(--ink-soft); }
.kicker {
  display: inline-block; margin-bottom: 12px; font-weight: 700; font-size: .8rem;
  letter-spacing: 2px; text-transform: uppercase; color: var(--orange-dark);
}
.kicker::before { content: ""; display: inline-block; width: 22px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 10px; }
.section-head.center .kicker::after { content: ""; display: inline-block; width: 22px; height: 2px; background: currentColor; vertical-align: middle; margin-left: 10px; }
.kicker-green { color: var(--green); }
.kicker-light { color: #fff; opacity: .9; }

/* about */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.about-card {
  padding: 30px 28px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.about-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.about-card .tile { margin-bottom: 18px; }
.about-card p { color: var(--ink-soft); margin: 0; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 48px 0 0;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--blush); overflow: hidden;
}
.stats li { padding: 26px 20px; text-align: center; }
.stats li + li { border-left: 1px solid var(--blush-deep); }
.stats strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--rust); line-height: 1.15; }
.stats span { font-weight: 600; color: var(--ink-soft); font-size: .95rem; }

/* split sections */
.companions { background: linear-gradient(180deg, var(--cream), #f4faf8); }
.seniors { background: var(--blush); }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.split-reverse { grid-template-columns: .85fr 1.15fr; }
.split-reverse .split-copy { order: 2; }

.feature-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list strong { font-size: 1.05rem; }
.feature-list p { margin: 2px 0 0; color: var(--ink-soft); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.journey { padding: 32px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 4px; }
.steps li { display: flex; gap: 16px; padding: 12px 0; position: relative; }
.steps li:not(:last-child)::before {
  content: ""; position: absolute; left: 19px; top: 52px; bottom: -8px; width: 2px; background: var(--green-tint);
}
.steps p { margin: 2px 0 0; color: var(--ink-soft); font-size: .97rem; }
.num {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; color: #fff; background: var(--green);
}

.helpdesk {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; margin-bottom: 26px;
  border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--blush-deep);
}
.helpdesk p { margin: 0; color: var(--ink-soft); }

.senior-art { position: relative; min-height: 420px; display: grid; place-items: center; }
.senior-circle {
  width: min(300px, 70vw); aspect-ratio: 1; border-radius: 50%; padding: 10px;
  background: #fff; border: 2px solid var(--peach); box-shadow: var(--shadow);
}
.senior-circle img { width: 100%; height: 100%; border-radius: 50%; }
.bubble {
  position: absolute; display: flex; align-items: center; gap: 8px; max-width: 250px; padding: 11px 16px;
  border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-weight: 600; font-size: .93rem; color: var(--ink-soft); animation: bob 7s ease-in-out infinite;
}
.bubble .i { width: 18px; height: 18px; color: var(--orange-dark); }
.bb-1 { top: 0; left: 0; }
.bb-2 { top: 10%; right: 0; animation-delay: -2.5s; }
.bb-3 { bottom: 0; left: 50%; translate: -50% 0; white-space: nowrap; animation-delay: -5s; }

/* how it works */
.how { background: var(--white); }
.how-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.how-card {
  position: relative; padding: 34px 24px 28px; border-radius: var(--radius); background: var(--cream);
  border: 1px solid var(--line); text-align: center; transition: transform .2s, box-shadow .2s;
}
.how-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.how-card p { color: var(--ink-soft); margin: 0; }
.how-num {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  font-family: var(--font-head); font-weight: 700; background: var(--rust);
}

/* safety — one strong block in the logo's green */
.safety { color: #fff; background: var(--green); }
.safety h2, .safety h3 { color: #fff; }
.section-head.light .sub { color: rgba(255,255,255,.85); }
.safety-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.safe-card {
  padding: 28px 24px; border-radius: var(--radius); background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18); transition: background .2s;
}
.safe-card:hover { background: rgba(255,255,255,.12); }
.safe-card .i { width: 30px; height: 30px; color: var(--peach); margin-bottom: 12px; }
.safe-card p { margin: 0; color: rgba(255,255,255,.85); }

/* faq */
.faq { background: var(--cream); }
.faq-list { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); padding: 4px 22px; }
.faq details[open] { border-color: var(--peach); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 34px 16px 0; font-weight: 700; font-size: 1.04rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blush); color: var(--orange-dark); font-size: 1.25rem; font-weight: 600;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); padding-bottom: 8px; }

/* contact */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list small { display: block; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: .74rem; }
.contact-list a, .contact-list span { font-weight: 700; text-decoration: none; word-break: break-word; }
.contact-form { padding: 32px 30px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-weight: 700; font-size: .94rem; }
.opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  font: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(217, 89, 46, .15);
}
.field .invalid { border-color: #c0392b; }
.form-error { color: #b03021; font-weight: 600; margin: 0 0 12px; }
.form-note { margin: 10px 0 0; font-size: .87rem; color: var(--muted); text-align: center; }

/* cta band */
.cta-band { padding: 60px 0; color: #fff; background: var(--rust); }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; font-size: 1.08rem; opacity: .9; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* footer */
.site-footer { background: var(--rust-deep); color: #e9d3c9; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer .brand-text { color: #fff; }
.site-footer .brand-text .amp { color: var(--peach); }
.footer-brand p { margin-top: 12px; max-width: 340px; }
.site-footer h4 { color: #fff; font-size: 1.02rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--peach); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem;
}
.footer-bottom p { margin: 0; }

/* reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1040px) {
  .nav-links { gap: 16px; }
  .how-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--blush-deep); }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 18px;
    padding: 20px 16px 28px; background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -24px rgba(90,34,16,.6);
    transform: translateY(-120%); visibility: hidden; transition: transform .25s ease, visibility .25s;
  }
  .nav-menu.open { transform: none; visibility: visible; }
  .nav-links { flex-direction: column; gap: 4px; }
  .nav-links a { display: block; padding: 10px 4px; font-size: 1.06rem; }
  .nav-actions .btn { flex: 1; }

  .hero { padding: 40px 0 80px; }
  .hero-grid, .split, .split-reverse, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split-reverse .split-copy { order: 0; }
  .hero-art { min-height: 380px; }
  .about-grid, .safety-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .about-grid, .safety-grid, .how-grid, .field-row { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; white-space: normal; }
  .hero-art { min-height: 340px; }
  .float-card { padding: 9px 12px; }
  .float-card strong { font-size: .85rem; }
  .fc-1, .fc-2 { left: 0; } .fc-3 { right: 0; }
  .bubble { max-width: 170px; font-size: .85rem; }
  .bb-2 { top: 14%; }
  .bb-3 { max-width: none; }
  .journey, .contact-form { padding: 26px 20px; }
  .cta-band-actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
