/* ==========================================================================
   My Family Dinners — marketing site
   ========================================================================== */

:root {
  /* Brand */
  --terracotta: #C87456;
  --terracotta-dark: #9E4E32;
  --peach: #F0B592;
  --honey: #E8A855;
  --sage: #8B9D7D;
  --olive: #4A5940;
  --oat: #F7F1E8;
  --alabaster: #FBF7F0;
  --sand: #E5DDD1;
  --stone: #6E6055;
  --cocoa: #3A2E24;
  --success: #6B8E5A;
  --error: #B85450;

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Space */
  --max: 1200px;
  --gutter: 24px;
  --section-y: 112px;

  /* Effects */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(58, 46, 36, .05), 0 4px 12px rgba(58, 46, 36, .04);
  --shadow: 0 2px 6px rgba(58, 46, 36, .05), 0 14px 34px rgba(58, 46, 36, .07);
  --shadow-lg: 0 4px 10px rgba(58, 46, 36, .06), 0 32px 70px rgba(58, 46, 36, .12);
  --ease: cubic-bezier(.2, .7, .3, 1);
  --t: 380ms var(--ease);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--oat);
  color: var(--cocoa);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-variation-settings: "SOFT" 0, "WONK" 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--peach); color: var(--cocoa); }

/* ---------- Type scale ---------- */
.display-xl { font-family: var(--display); font-size: clamp(40px, 7vw, 64px); line-height: 1.05; font-weight: 600; letter-spacing: -.02em; }
.display-l  { font-family: var(--display); font-size: clamp(34px, 5.2vw, 48px); line-height: 1.1; font-weight: 600; letter-spacing: -.015em; }
.display-m  { font-family: var(--display); font-size: clamp(28px, 4vw, 36px); line-height: 1.15; font-weight: 500; letter-spacing: -.01em; }
.h1 { font-family: var(--display); font-size: clamp(26px, 3.4vw, 32px); line-height: 1.2; font-weight: 600; }
.h2 { font-family: var(--display); font-size: 24px; line-height: 1.3; font-weight: 500; }
.h3 { font-family: var(--body); font-size: 20px; line-height: 1.4; font-weight: 600; letter-spacing: -.01em; }
.body-l { font-size: 18px; line-height: 1.6; }
.muted { color: var(--stone); }

.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--terracotta);
  opacity: .5;
}
.eyebrow.no-rule::before { display: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section-sm { padding: 72px 0; }
.section-head { max-width: 640px; }
.section-head .display-l, .section-head .display-m { margin-top: 16px; }
.section-head p { margin-top: 18px; color: var(--stone); font-size: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.rule { height: 1px; background: var(--sand); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:focus-visible { outline: 2px solid var(--terracotta-dark); outline-offset: 3px; }

.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 2px 6px rgba(158, 78, 50, .18); }
.btn-primary:hover { background: var(--terracotta-dark); box-shadow: 0 10px 26px rgba(158, 78, 50, .22); }

.btn-honey { background: var(--honey); color: var(--cocoa); }
.btn-honey:hover { background: #dc9a44; }

.btn-ghost { background: transparent; color: var(--cocoa); border-color: var(--sand); }
.btn-ghost:hover { border-color: var(--terracotta); color: var(--terracotta-dark); background: rgba(240, 181, 146, .14); }

.btn-cream { background: var(--alabaster); color: var(--cocoa); }
.btn-cream:hover { background: #fff; }

.btn-sm { padding: 11px 20px; font-size: 14px; }

/* App Store button */
.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--cocoa); color: #fff;
  padding: 12px 22px 12px 20px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform var(--t), background var(--t), box-shadow var(--t);
  box-shadow: 0 2px 8px rgba(58, 46, 36, .14);
}
.appstore:hover { transform: translateY(-2px); background: #241c15; box-shadow: 0 12px 30px rgba(58, 46, 36, .2); }
.appstore svg { width: 26px; height: 26px; flex: none; }
.appstore span { display: block; line-height: 1.15; }
.appstore .small { font-size: 11px; letter-spacing: .04em; opacity: .78; }
.appstore .big { font-size: 17px; font-weight: 600; font-family: var(--body); letter-spacing: -.01em; }
.appstore.on-dark { background: var(--alabaster); color: var(--cocoa); }
.appstore.on-dark:hover { background: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 241, 232, .92);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
  backdrop-filter: saturate(1.1) blur(8px);
}
.site-header.scrolled { border-bottom-color: var(--sand); box-shadow: 0 6px 20px rgba(58, 46, 36, .04); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 96px; }
.nav-logo img { height: 72px; width: auto; display: block; }
@media (max-width: 640px) { .nav-logo img { height: 52px; } .nav { height: 76px; } }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  text-decoration: none; font-size: 15px; font-weight: 500; color: var(--cocoa);
  position: relative; padding: 4px 0;
  transition: color var(--t);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px;
  background: var(--terracotta); transition: right var(--t);
}
.nav-links a:hover { color: var(--terracotta-dark); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-right { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--sand); border-radius: 10px;
  width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--cocoa); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--cocoa);
  transition: transform var(--t);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--sand);
  background: var(--oat);
  padding: 18px var(--gutter) 28px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 14px 0; text-decoration: none; font-size: 18px; font-weight: 500;
  border-bottom: 1px solid var(--sand);
}
.mobile-menu .btn { margin-top: 20px; width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 460px at 72% -10%, rgba(240, 181, 146, .38), transparent 65%),
    radial-gradient(700px 420px at 8% 0%, rgba(232, 168, 85, .16), transparent 60%),
    var(--oat);
  padding: 88px 0 var(--section-y);
}
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 64px; align-items: center; }
.hero h1 { margin-top: 22px; }
.hero .sub { margin-top: 22px; font-size: 19px; line-height: 1.6; color: var(--stone); max-width: 30em; }
.hero .btn-row { margin-top: 34px; }
.hero-meta { margin-top: 28px; display: flex; align-items: center; gap: 14px; color: var(--stone); font-size: 14px; }
.stars { display: inline-flex; gap: 3px; color: var(--honey); }
.stars svg { width: 15px; height: 15px; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 620px; }
.hero-photo {
  position: absolute; right: -4%; top: 50%; transform: translateY(-50%);
  width: 54%; height: 74%; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  filter: saturate(1.02);
}
.hero-photo-frame {
  position: absolute; right: 2%; top: 50%; transform: translateY(-50%);
  width: 54%; height: 74%; margin-top: 26px;
  border: 1px solid var(--peach); border-radius: var(--radius-lg);
}

/* ---------- Phone mockup ---------- */
.phone {
  position: relative; z-index: 2;
  margin-right: 8%;
  width: 300px; max-width: 78vw;
  aspect-ratio: 300 / 610;
  border-radius: 46px;
  background: linear-gradient(160deg, #4a3b2f, #241c15);
  padding: 11px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(58, 46, 36, .18);
}
.phone::after {
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 24px; background: #1b150f; border-radius: 999px; z-index: 4;
}
.phone-screen {
  position: relative; height: 100%; width: 100%; overflow: hidden;
  border-radius: 36px;
  background: linear-gradient(180deg, #FDFAF5 0%, var(--oat) 100%);
  display: flex; flex-direction: column;
}
.ph-top {
  padding: 44px 20px 14px;
  background: linear-gradient(170deg, rgba(240, 181, 146, .5), rgba(247, 241, 232, 0));
}
.ph-kicker { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-dark); font-weight: 600; }
.ph-title { font-family: var(--display); font-size: 21px; font-weight: 600; margin-top: 4px; }
.ph-list { padding: 6px 16px 16px; display: grid; gap: 9px; overflow: hidden; }
.ph-card {
  background: var(--alabaster); border: 1px solid var(--sand); border-radius: 13px;
  padding: 11px 12px; display: flex; gap: 11px; align-items: center;
  box-shadow: 0 1px 2px rgba(58, 46, 36, .04);
}
.ph-thumb { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.ph-day { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
.ph-meal { font-size: 12.5px; font-weight: 600; line-height: 1.3; margin-top: 2px; }
.ph-time { font-size: 10.5px; color: var(--stone); margin-top: 2px; }
.ph-check { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--sand); flex: none; }
.ph-check.done { background: var(--success); border-color: var(--success); }
.phone-screen::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 62px; height: 46px; z-index: 3;
  background: linear-gradient(to bottom, rgba(247, 241, 232, 0), var(--oat));
  pointer-events: none;
}
.ph-bar {
  position: relative; z-index: 4;
  margin-top: auto; display: flex; justify-content: space-around; align-items: center;
  padding: 12px 10px 18px; border-top: 1px solid var(--sand); background: var(--alabaster);
}
.ph-bar svg { width: 20px; height: 20px; color: var(--stone); }
.ph-bar svg.active { color: var(--terracotta); }

.float-chip {
  position: absolute; z-index: 3;
  background: var(--alabaster); border: 1px solid var(--sand); border-radius: 14px;
  padding: 11px 15px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500;
}
.float-chip .dot { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.float-chip .dot svg { width: 15px; height: 15px; color: #fff; }
.chip-a { left: -202px; top: 11%; }
.chip-b { left: -220px; bottom: 13%; }
@media (max-width: 1180px) { .float-chip { display: none; } }

/* ---------- Marquee / trust strip ---------- */
.strip { background: var(--alabaster); border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }
.strip-inner { display: flex; flex-wrap: wrap; gap: 18px 56px; justify-content: space-between; align-items: center; padding: 26px 0; }
.strip-item { display: flex; align-items: center; gap: 12px; color: var(--stone); font-size: 14.5px; }
.strip-item strong { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--cocoa); }
.strip-item svg { width: 18px; height: 18px; color: var(--sage); }

/* ---------- Empathy ---------- */
.empathy { background: var(--oat); }
.empathy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.empathy-copy p + p { margin-top: 20px; }
.empathy-copy p { color: var(--stone); font-size: 16.5px; line-height: 1.6; }
.empathy-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.empathy-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

.pain-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.pain {
  background: var(--alabaster); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 26px 24px; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.pain:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--peach); }
.pain .ic { width: 40px; height: 40px; color: var(--terracotta); }
.pain h3 { margin-top: 16px; font-family: var(--display); font-size: 20px; font-weight: 600; }
.pain p { margin-top: 8px; color: var(--stone); font-size: 15.5px; }
.pain-arrow { display: grid; place-items: center; color: var(--peach); }

/* ---------- Steps ---------- */
.steps { background: var(--alabaster); border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 60px; position: relative; }
.step { position: relative; }
.step-badge {
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--terracotta); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(200, 116, 86, .24);
  transition: transform var(--t), background var(--t);
}
.step:hover .step-badge { transform: translateY(-4px) rotate(-4deg); background: var(--terracotta-dark); }
.step-badge svg { width: 32px; height: 32px; }
.step-num { margin-top: 22px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.step h3 { margin-top: 10px; font-family: var(--display); font-size: 26px; font-weight: 600; }
.step p { margin-top: 12px; color: var(--stone); font-size: 16.5px; max-width: 34ch; }

/* ---------- Features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.feat {
  background: var(--alabaster);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t), background var(--t);
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--peach); }
.feat-ic {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(240, 181, 146, .32);
  display: grid; place-items: center; color: var(--terracotta-dark);
  transition: background var(--t);
}
.feat:hover .feat-ic { background: rgba(240, 181, 146, .55); }
.feat-ic svg { width: 23px; height: 23px; }
.feat h3 { margin-top: 20px; font-family: var(--display); font-size: 21px; font-weight: 600; }
.feat p { margin-top: 10px; color: var(--stone); font-size: 15.5px; }
.feat .tag { display: inline-block; margin-top: 16px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); }

/* ---------- Testimonials ---------- */
.quotes { background: var(--oat); }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.quote {
  background: var(--alabaster); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column; gap: 20px;
  transition: transform var(--t), box-shadow var(--t);
}
.quote:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.quote .mark { font-family: var(--display); font-size: 46px; line-height: .6; color: var(--peach); }
.quote p { font-family: var(--display); font-size: 19px; line-height: 1.45; font-weight: 500; }
.who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--display); font-size: 16px; font-weight: 600; color: #fff;
}
.who .n { font-size: 14.5px; font-weight: 600; }
.who .r { font-size: 13px; color: var(--stone); }

/* ---------- Pricing ---------- */
.pricing { background: var(--alabaster); border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 52px; max-width: 900px; }
.plan {
  background: var(--oat); border: 1px solid var(--sand); border-radius: var(--radius-lg);
  padding: 38px 34px 40px; display: flex; flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan.featured { background: var(--cocoa); color: var(--oat); border-color: var(--cocoa); box-shadow: var(--shadow); }
.plan.featured .muted, .plan.featured .plan-note { color: rgba(247, 241, 232, .68); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-name { font-family: var(--display); font-size: 24px; font-weight: 600; }
.badge {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--honey); color: var(--cocoa); padding: 6px 12px; border-radius: 999px;
}
.plan-price { margin-top: 22px; display: flex; align-items: baseline; gap: 8px; }
.plan-price .amt { font-family: var(--display); font-size: 46px; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.plan-price .per { font-size: 15px; color: var(--stone); }
.plan.featured .plan-price .per { color: rgba(247, 241, 232, .7); }
.plan-note { margin-top: 10px; font-size: 14.5px; color: var(--stone); }
.plan ul { margin-top: 26px; display: grid; gap: 13px; }
.plan li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--success); }
.plan.featured li svg { color: var(--peach); }
.plan .btn { margin-top: 30px; width: 100%; }
.plan-foot { margin-top: 14px; text-align: center; font-size: 13px; color: var(--stone); }
.plan.featured .plan-foot { color: rgba(247, 241, 232, .6); }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 44px; max-width: 820px; border-top: 1px solid var(--sand); }
details.faq { border-bottom: 1px solid var(--sand); }
details.faq summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-family: var(--display); font-size: 20px; font-weight: 500; line-height: 1.35;
  transition: color var(--t);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary:hover { color: var(--terracotta-dark); }
details.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 32px;
  width: 11px; height: 11px; border-right: 1.6px solid var(--terracotta); border-bottom: 1.6px solid var(--terracotta);
  transform: rotate(45deg); transition: transform var(--t);
}
details.faq[open] summary::after { transform: rotate(-135deg); top: 36px; }
.faq-body { padding: 0 60px 26px 0; color: var(--stone); font-size: 16.5px; animation: fade .4s var(--ease); }
.faq-body a { color: var(--terracotta-dark); }
@keyframes fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 320px at 20% 0%, rgba(240, 181, 146, .34), transparent 62%),
    var(--terracotta);
  color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band .display-l { color: #fff; }
.cta-band p { margin: 20px auto 0; max-width: 46ch; font-size: 18px; color: rgba(255, 255, 255, .88); }
.cta-band .btn-row { justify-content: center; margin-top: 36px; }
.cta-band .fine { margin-top: 22px; font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.cta-icon { width: 54px; height: 54px; margin: 0 auto 22px; opacity: .9; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cocoa); color: rgba(247, 241, 232, .74); padding: 78px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 42px; }
.foot-brand img { height: 78px; width: auto; }
.foot-brand p { margin-top: 20px; font-size: 15px; max-width: 26ch; line-height: 1.65; }
.foot-col h4 { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--peach); }
.foot-col ul { margin-top: 18px; display: grid; gap: 12px; }
.foot-col a { text-decoration: none; font-size: 15px; transition: color var(--t); }
.foot-col a:hover { color: #fff; }
.foot-bottom {
  margin-top: 62px; padding-top: 26px; border-top: 1px solid rgba(247, 241, 232, .13);
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  font-size: 13.5px;
}
.foot-social { display: flex; gap: 12px; }
.foot-social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(247, 241, 232, .18);
  display: grid; place-items: center; transition: background var(--t), border-color var(--t), transform var(--t);
}
.foot-social a:hover { background: rgba(247, 241, 232, .1); border-color: var(--peach); transform: translateY(-2px); }
.foot-social svg { width: 16px; height: 16px; }
.made { display: inline-flex; align-items: center; gap: 8px; }
.made svg { width: 14px; height: 14px; color: var(--terracotta); }

/* ---------- Inner page hero ---------- */
.page-hero {
  background:
    radial-gradient(900px 380px at 78% -20%, rgba(240, 181, 146, .34), transparent 62%),
    var(--oat);
  padding: 74px 0 66px;
  border-bottom: 1px solid var(--sand);
}
.page-hero h1 { margin-top: 16px; max-width: 18ch; }
.page-hero p { margin-top: 20px; font-size: 19px; color: var(--stone); max-width: 56ch; }

/* ---------- Prose (legal pages) ---------- */
.prose-layout { display: grid; grid-template-columns: 250px 1fr; gap: 62px; align-items: start; }
.prose-layout.reverse { grid-template-columns: 1fr 250px; }
.prose-layout.reverse .toc { border-left: 0; border-right: 1px solid var(--sand); padding-left: 0; padding-right: 20px; text-align: right; }
.toc { position: sticky; top: 104px; border-left: 1px solid var(--sand); padding-left: 20px; }
.toc h4 { font-family: var(--body); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.toc ul { margin-top: 14px; display: grid; gap: 9px; }
.toc a { font-size: 14px; text-decoration: none; color: var(--stone); transition: color var(--t); }
.toc a:hover { color: var(--terracotta-dark); }

.prose { max-width: 72ch; }
.prose h2 { font-family: var(--display); font-size: 27px; font-weight: 600; margin: 52px 0 14px; scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--display); font-size: 20px; font-weight: 600; margin: 32px 0 10px; }
.prose p { margin: 14px 0; color: #52443a; font-size: 16.5px; }
.prose ul, .prose ol { margin: 14px 0; padding-left: 22px; list-style: disc; color: #52443a; }
.prose ol { list-style: decimal; }
.prose li { margin: 8px 0; font-size: 16.5px; }
.prose a { color: var(--terracotta-dark); }
.prose strong { color: var(--cocoa); }
.prose hr { border: 0; border-top: 1px solid var(--sand); margin: 42px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--sand); }
.prose th { font-weight: 600; background: var(--alabaster); }
.callout {
  background: var(--alabaster); border: 1px solid var(--sand); border-left: 3px solid var(--terracotta);
  border-radius: var(--radius-sm); padding: 22px 24px; margin: 26px 0;
}
.callout p { margin: 0; }
.callout p + p { margin-top: 10px; }

/* ---------- Support cards / misc ---------- */
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 46px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.card {
  background: var(--alabaster); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 30px 28px; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  text-decoration: none; display: block; color: inherit;
}
a.card:hover, .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--peach); }
.card h3 { font-family: var(--display); font-size: 21px; font-weight: 600; }
.card p { margin-top: 10px; color: var(--stone); font-size: 15.5px; }
.card .ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(240, 181, 146, .3); display: grid; place-items: center; color: var(--terracotta-dark); margin-bottom: 18px; }
.card .ic svg { width: 21px; height: 21px; }
.card .arrow { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--terracotta-dark); display: inline-flex; gap: 7px; align-items: center; }
a.card:hover .arrow { gap: 11px; }
.card .arrow { transition: gap var(--t); }

.steps-numbered { counter-reset: s; margin-top: 34px; display: grid; gap: 16px; max-width: 820px; list-style: none; padding-left: 0; }
.steps-numbered li {
  counter-increment: s; position: relative; padding: 22px 26px 22px 68px;
  background: var(--alabaster); border: 1px solid var(--sand); border-radius: var(--radius);
  font-size: 16.5px;
}
.steps-numbered li::before {
  content: counter(s); position: absolute; left: 22px; top: 21px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--terracotta); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 600; font-family: var(--display);
}
.steps-numbered .t { display: block; font-weight: 600; margin-bottom: 5px; }
.steps-numbered strong { font-weight: 600; }
.steps-numbered span { color: var(--stone); font-size: 15.5px; }

.compare { width: 100%; border-collapse: collapse; margin-top: 46px; background: var(--alabaster); border: 1px solid var(--sand); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 17px 22px; text-align: left; border-bottom: 1px solid var(--sand); font-size: 15.5px; }
.compare thead th { font-family: var(--display); font-size: 18px; font-weight: 600; background: rgba(240, 181, 146, .18); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 150px; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare svg { width: 18px; height: 18px; color: var(--success); }
.compare .no { color: var(--sand); }

.press-asset { display: flex; gap: 20px; align-items: center; }
.press-thumb {
  width: 108px; height: 108px; flex: none; border-radius: var(--radius-sm);
  background: var(--oat); border: 1px solid var(--sand); display: grid; place-items: center; padding: 12px;
}
.press-thumb.dark { background: var(--cocoa); }
.press-thumb img { max-height: 100%; width: auto; object-fit: contain; }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 34px; }
.swatch { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--sand); background: var(--alabaster); }
.swatch .chip { height: 78px; }
.swatch .meta { padding: 12px 12px 14px; }
.swatch .nm { font-size: 13px; font-weight: 600; }
.swatch .hex { font-size: 12px; color: var(--stone); font-variant-numeric: tabular-nums; }

.contact-block {
  background: var(--cocoa); color: var(--oat); border-radius: var(--radius-lg);
  padding: 46px 44px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between;
}
.contact-block h3 { font-family: var(--display); font-size: 28px; font-weight: 600; color: #fff; }
.contact-block p { margin-top: 10px; color: rgba(247, 241, 232, .72); max-width: 46ch; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  :root { --section-y: 88px; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; row-gap: 44px; }
  .swatches { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .prose-layout.reverse { grid-template-columns: 1fr; }
  .prose-layout.reverse .toc { border-right: 0; padding-right: 0; text-align: left; }
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid, .empathy-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-photo, .hero-photo-frame { display: none; }
  .hero-visual { order: -1; min-height: 0; }
  .phone { margin-right: 0; }
  .step-grid { grid-template-columns: 1fr; gap: 40px; }
  .step p { max-width: none; }
  .feat-grid, .quote-grid, .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .pain-row { grid-template-columns: 1fr; }
  .prose-layout { grid-template-columns: 1fr; gap: 34px; }
  .toc { position: static; }
  .toc ul { grid-template-columns: 1fr 1fr; display: grid; }
}
@media (max-width: 640px) {
  :root { --section-y: 68px; --gutter: 20px; }
  .feat-grid, .quote-grid, .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .strip-inner { gap: 16px 28px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .appstore { justify-content: center; }
  .float-chip { display: none; }
  .contact-block { padding: 34px 26px; }
  .compare th, .compare td { padding: 13px 12px; font-size: 14px; }
  .compare td:not(:first-child), .compare th:not(:first-child) { width: 70px; }
  .prose-layout .toc ul { grid-template-columns: 1fr; }
}
