/* EatsMadeEasy website (static, November 2026). Brand colors and fonts from 02_brand_guide.md. */
:root {
  --mint: #F5FEF9;
  --lav: #F7F1FB;
  --lilac: #C8B3DE;
  --teal: #366462;
  --purple: #695280;
  --ink: #2A2433;
  --muted: #5F5870;
  --card: #FFFFFF;
  --radius: 18px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--lav); color: var(--ink);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.6;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--purple); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(247, 241, 251, 0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid rgba(105, 82, 128, 0.12); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: flex-start; text-decoration: none; }
.brand img { height: 26px; width: auto; }
.brand .tm { color: var(--teal); font-weight: 700; font-size: 10px; margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a.link { color: var(--teal); text-decoration: none; font-weight: 500; font-size: 15px; }
@media (max-width: 560px) { .nav a.link { display: none; } }

/* buttons */
.btn { display: inline-block; background: var(--purple); color: var(--mint); text-decoration: none; font-weight: 600;
  padding: 13px 26px; border-radius: 999px; font-size: 17px; text-align: center; transition: background 0.15s; }
.btn:hover { background: #57436B; }
.btn.small { padding: 9px 18px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--purple); border: 2px solid var(--purple); }
.fine { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* hero */
.hero { padding: 48px 0 40px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -120px; top: -140px; width: 340px; height: 340px;
  border-radius: 50%; border: 46px solid var(--lilac); background: var(--mint); z-index: -1; }
.hero .grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero h1 { color: var(--teal); font-size: clamp(34px, 5.4vw, 56px); line-height: 1.12; margin: 0 0 18px; text-wrap: balance; }
.hero p.sub { font-size: clamp(17px, 2vw, 20px); color: var(--ink); margin: 0 0 26px; max-width: 34em; }
.video-col { justify-self: center; text-align: center; }
.video-cap { color: var(--teal); font-weight: 600; font-size: 16px; margin: 0 0 12px; }
.phone-video { margin: 0 auto; width: min(300px, 78vw); border-radius: 34px; border: 10px solid var(--teal);
  overflow: hidden; box-shadow: 0 24px 50px rgba(54, 100, 98, 0.25); background: var(--teal); }
.phone-video video { width: 100%; height: auto; }
@media (max-width: 820px) {
  .hero { padding-top: 32px; text-align: center; }
  .hero::before { display: none; }
  .hero .grid { grid-template-columns: 1fr; gap: 32px; }
  .hero p.sub { margin-left: auto; margin-right: auto; }
}

/* sections */
section { padding: 56px 0; }
h2 { color: var(--teal); font-size: clamp(26px, 3.6vw, 38px); line-height: 1.2; margin: 0 0 16px; text-wrap: balance; }
.center { text-align: center; }
.standoff { background: var(--purple); color: var(--mint); }
.standoff h2 { color: var(--mint); }
.standoff p { font-size: 19px; max-width: 36em; margin: 0 auto; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.card { background: var(--card); border-radius: var(--radius); padding: 26px 24px; box-shadow: 0 6px 20px rgba(105, 82, 128, 0.08); }
.card-shot { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto 18px; border-radius: 14px;
  border: 1px solid #DCCBEB; box-shadow: 0 4px 14px rgba(105, 82, 128, 0.10); }
.card h3 { color: var(--purple); margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--ink); }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }
.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.photos img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
@media (max-width: 820px) { .photos { grid-template-columns: repeat(2, 1fr); } }
.photo-note { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* faq */
.faq { max-width: 760px; margin: 24px auto 0; }
.faq details { background: var(--card); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--teal); padding: 14px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--purple); font-weight: 700; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 16px; }

/* closing */
.closing { text-align: center; }
.closing .box { background: var(--card); border-radius: 24px; padding: 44px 24px; box-shadow: 0 10px 30px rgba(105, 82, 128, 0.1); }

/* text pages (about, contact, legal) */
.page { padding: 44px 0 64px; }
.page .wrap { max-width: 780px; }
.page h1 { color: var(--teal); font-size: clamp(30px, 4.6vw, 44px); line-height: 1.15; margin: 0 0 22px; }
.page h2 { font-size: clamp(22px, 3vw, 28px); margin-top: 34px; }
.page h3 { color: var(--purple); font-size: 19px; margin: 26px 0 8px; }
.page p, .page li { color: var(--ink); }
.page .updated { color: var(--muted); font-size: 15px; }
.page .signoff { color: var(--purple); font-weight: 600; margin-top: -4px; }

/* footer */
.site-footer { background: var(--teal); color: var(--mint); padding: 36px 0; font-size: 15px; }
.site-footer a { color: var(--mint); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
/* Nov 19 site audit: audience line above the headline, "See how it works" link, About social links */
.hero .kicker { color: var(--purple); font-weight: 600; font-size: 15px; letter-spacing: .02em; margin: 0 0 10px; }
.fine .see-how { color: var(--teal); font-weight: 600; margin-left: 6px; white-space: nowrap; }
.page .follow { color: var(--muted); margin-top: -6px; }
/* Nov 19: header "Open the app" stays on one line on phones (Englyn) */
.btn.small { white-space: nowrap; }
@media (max-width: 400px) {
  .brand img { width: 158px; height: auto; }
  .btn.small { padding: 8px 14px; font-size: 14px; }
}
/* Nov 20 SEO audit: WebP pictures, opening definitions, About screenshot, in-content links */
.photos picture, .card picture { display: block; }
.page .lead { font-size: 19px; color: var(--ink); }
.about-shot { margin: 8px auto 26px; max-width: 300px; text-align: center; }
.about-shot img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 10px 28px rgba(54, 40, 70, .14); }
.about-shot figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }
.more-links { color: var(--muted); max-width: 40em; margin: 26px auto 0; }
.page .related { border-top: 1px solid rgba(105, 82, 128, .2); padding-top: 18px; margin-top: 34px; color: var(--muted); }
