/* Shared design tokens and components for every prepSync page. */
:root {
  --cream: #f1ece4;
  --cream-light: #f8f5f0;
  --paper: #fff;
  --ink: #2d2d2d;
  --muted: #666;
  --terracotta: #c8553d;
  --accent-text: #b74732;
  --accent-hover: #a7402d;
  --action: #bd5039;
  --border: #e6dfd5;
  --soft-accent: #f7e5db;
  --orange: #d66023;
  --green: #5d8c61;
  --brown: #8c7a5b;
  --radius: 24px;
  --radius-button: 18px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Times New Roman", Times, serif;
  --shadow: 0 12px 40px -16px rgb(69 48 29 / 20%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .18s ease, background .18s ease, transform .18s ease; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 5px; border-radius: 4px; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
h1, h2 { letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.3vw, 3rem); font-weight: 720; }
h3 { font-size: 1.25rem; letter-spacing: -.025em; }
p { text-wrap: pretty; }
::selection { color: var(--ink); background: #e9c7b1; }
.wrap { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.apple-icon { width: 26px; height: 26px; fill: currentColor; flex-shrink: 0; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; top: 8px; left: 8px; padding: 12px 20px; z-index: 100; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { color: var(--accent-text); font-size: .75rem; font-weight: 650; letter-spacing: .15em; line-height: 1.5; text-transform: uppercase; margin-bottom: 16px; }
.lede { font-size: 1.125rem; line-height: 1.65; color: var(--muted); }
.text-link { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; font-weight: 600; font-size: .9375rem; text-decoration: none; }
.text-link .icon { width: 19px; transition: transform .18s ease; }
.text-link:hover { color: var(--accent-text); }
.text-link:hover .icon { transform: translateX(3px); }

/* Large white sections sit on a warm beige canvas. */
#main { display: grid; gap: 28px; padding: 0 0 48px; }
#main > .content-card {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
  padding: 56px 0;
  background: var(--paper);
  border: 1px solid rgb(230 223 213 / 70%);
  border-radius: 32px;
  box-shadow: 0 8px 28px -16px rgb(69 48 29 / 12%);
}
/* The charcoal opening leads into the white cards below. */
.site-header, .hero {
  --ink: #f5f6f7;
  --muted: #c5c8ca;
  --terracotta: #ff795e;
  --accent-text: #ff927c;
  --accent-hover: #ff927c;
  --action: #ff795e;
  color: var(--ink);
  background: #1b2024;
}
.site-header { position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 1.5625rem; font-weight: 700; letter-spacing: -.045em; flex-shrink: 0; }
.brand img { border-radius: 50%; }
.brand-accent { color: var(--terracotta); }
.navigation { display: flex; gap: 28px; align-items: center; margin-left: auto; margin-right: 16px; }
.navigation a { display: flex; align-items: center; min-height: 44px; font: 500 .9375rem var(--font); text-decoration: none; }
.navigation a:hover { color: var(--accent-text); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; border-radius: var(--radius-button); background: var(--action); color: white; text-decoration: none; font-size: .875rem; font-weight: 650; }
.button:hover { background: var(--accent-hover); transform: translateY(-2px); }
.header-download { flex-shrink: 0; color: #FFFFFF; }
.header-download .apple-icon { width: 19px; height: 22px; }

/* Real Meals screen plus an example of staggered cooking times. */
.hero { padding: 56px 0; background: linear-gradient(160deg, #1b2024 15%, #14181b 65%, #101315); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 36px; }
.hero-grid > * { min-width: 0; }
.hero-copy { padding-bottom: 24px; position: relative; z-index: 2; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; color: #e2e4e5; }
.small-rule { width: 24px; height: 2px; background: currentColor; }
.hero h1 { font-size: clamp(3.4rem, 5.65vw, 5rem); font-weight: 760; line-height: 1.035; margin-bottom: 24px; }
.hero h1 > span { color: var(--terracotta); }
.hero-description { font-size: 1.125rem; font-weight: 600; margin-bottom: 12px; }
.hero-copy .lede { max-width: 43ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.app-store { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 20px 11px 16px; min-height: 58px; background: #292723; color: var(--paper); border: 1px solid #292723; border-radius: 12px; text-decoration: none; flex-shrink: 0; }
.app-store:hover { background: #090909; transform: translateY(-2px); }
.hero .app-store { background: #050607; border-color: #a1a5a7; border-radius: 9px; }
.hero .app-store:hover { background: #242a2e; }
.app-store .apple-icon { width: 30px; height: 36px; }
.store-small, .store-large { display: block; }
.store-small { font-size: .75rem; line-height: 1.2; }
.store-large { font-size: 1.5rem; font-weight: 550; line-height: 1.2; letter-spacing: -.035em; }
.hero-note { display: flex; gap: 8px; align-items: center; margin-top: 24px; color: var(--muted); font-size: .8125rem; }
.hero-note .icon { width: 17px; height: 17px; color: var(--terracotta); }
.hero-visual { position: relative; height: 610px; min-width: 0; }
.visual-disc { position: absolute; width: 490px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(98 110 117 / 20%), transparent 70%); top: 66px; right: -10px; }
.hero-phone { position: absolute; width: 270px; height: auto; right: 44px; top: 0; filter: drop-shadow(8px 22px 24px rgb(0 0 0 / 45%)); }
.timing-card {
  --ink: #2d2d2d;
  --muted: #666;
  --accent-text: #b74732;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 4;
  width: 355px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #f0ebe5;
  border-radius: var(--radius);
  padding: 22px 24px 18px;
  box-shadow: 0 20px 48px -20px rgb(69 48 29 / 25%);
}
.preview-label { display: block; color: var(--muted); font-size: .75rem; line-height: 1.4; }
.meal-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; font-size: 1.125rem; font-weight: 700; letter-spacing: -.025em; }
.food-count { border-radius: 8px; padding: 4px 8px; background: #fff3e0; color: #93602f; font-size: .75rem; font-weight: 600; white-space: nowrap; letter-spacing: 0; }
.serve-time { display: flex; align-items: center; gap: 6px; border-block: 1px solid #f5f0eb; padding-block: 12px; margin-top: 14px; font-size: .75rem; color: var(--muted); }
.serve-time .icon { width: 17px; height: 17px; color: var(--accent-text); }
.serve-time strong { margin-left: auto; color: var(--ink); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.mini-timeline { margin-top: 16px; }
.timeline-row { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 8px; margin-bottom: 8px; font-size: .75rem; font-weight: 550; }
.bar-track { position: relative; height: 22px; background: #f8f6f2; border-right: 2px solid var(--ink); }
.bar { display: flex; align-items: center; justify-content: center; position: absolute; inset-block: 0; right: 0; border-radius: 5px 0 0 5px; font-size: .75rem; line-height: 1; }
.chicken { width: 100%; background: #e9c7b1; color: #753611; border-left: 4px solid var(--orange); }
.potatoes { width: 75%; background: #dfd7c9; color: #55462f; border-left: 4px solid var(--brown); }
.beans { width: 16.6667%; background: #c9d9c9; color: #375b3a; border-left: 4px solid var(--green); }
.beans > span { position: absolute; right: calc(100% + 10px); white-space: nowrap; }
.timeline-axis { display: flex; justify-content: space-between; margin-left: 88px; color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }

.centered { text-align: center; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading > p:last-child { color: var(--muted); margin-top: 16px; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin: 40px 0 0; }
.steps > li { background: var(--cream-light); border: 1px solid #f0ebe5; border-radius: var(--radius); padding: 28px; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.step-icon { display: grid; place-items: center; width: 48px; height: 48px; background: var(--soft-accent); color: var(--accent-text); border-radius: 16px; }
.step-number { color: #847567; font: italic 1.5rem var(--serif); }
.steps h3 { margin-bottom: 12px; }
.steps p { color: var(--muted); font-size: 1rem; line-height: 1.65; }

/* Cooking screen, benefits, and the app's live-cooking colours. */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.cooking-visual { position: relative; height: 680px; background: var(--cream-light); border-radius: 32px; overflow: hidden; border: 1px solid var(--border); }
.cooking-phone { width: 258px; height: auto; margin: 72px auto 0; filter: drop-shadow(0 12px 12px rgb(52 58 35 / 15%)); }
.feature-copy > .lede { margin-top: 24px; }
.benefits { display: grid; gap: 24px; list-style: none; margin: 32px 0; padding: 0; }
.benefits li { display: flex; gap: 14px; align-items: flex-start; }
.benefit-icon { color: var(--accent-text); padding-top: 1px; }
.benefits h3 { font-size: 1rem; line-height: 1.4; margin-bottom: 4px; letter-spacing: -.01em; }
.benefits p { color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.live-preview { padding: 20px; background: #30261c; border-radius: 20px; color: var(--paper); box-shadow: var(--shadow); }
.live-top { display: flex; align-items: center; gap: 12px; }
.live-icon { display: grid; place-items: center; width: 38px; height: 38px; color: #eaa775; border-radius: 12px; background: #45382b; }
.live-label { display: block; font-size: .75rem; color: #dfd4c9; line-height: 1.5; }
.live-top strong { display: block; color: #a6e1fa; font-size: .9375rem; font-weight: 550; }
.live-countdown { margin-left: auto; text-align: right; font-size: 1.5625rem; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.2; }
.live-countdown > span { display: block; color: #dfd4c9; font-size: .75rem; font-weight: 400; margin-top: 3px; }
.live-track { height: 5px; margin-top: 16px; border-radius: 8px; background: #45382b; overflow: hidden; }
.live-track > span { display: block; height: 100%; width: 78.8333%; border-radius: inherit; background: #bd6d3d; }

/* A shared meal illustration, without pretend controls. */
.sharing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.sharing-copy .lede { margin-top: 24px; max-width: 45ch; }
.sharing-copy .text-link { color: var(--accent-text); margin-top: 20px; }
.sharing-visual { position: relative; padding: 20px 0; }
.shared-meal { width: 100%; max-width: 480px; margin-inline: auto; border-radius: var(--radius); padding: 36px; background: var(--paper); border: 1px solid #f0ebe5; box-shadow: var(--shadow); }
.shared-card-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.shared-card-heading > .icon { color: var(--accent-text); width: 20px; height: 20px; }
.shared-meal h3 { font-size: 1.875rem; margin-bottom: 8px; }
.shared-meal > p { color: var(--muted); font-size: 1rem; }
.shared-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-block: 16px; border-block: 1px solid #f5f0eb; }
.shared-meta > span:first-child { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .875rem; }
.shared-meta .icon { width: 17px; height: 17px; }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 16px 24px; margin-top: 36px; }
.faq-grid details { border-radius: 16px; background: var(--cream-light); border: 1px solid #e6dfd5; }
.faq-grid summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 1rem; font-weight: 600; line-height: 1.5; }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary > span { flex-shrink: 0; color: var(--accent-text); font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform .18s ease; }
.faq-grid summary:hover { color: var(--accent-text); }
.faq-grid details[open] summary > span { transform: rotate(45deg); }
.faq-grid details > p { padding: 0 24px 24px; color: var(--muted); font-size: 1rem; }
.faq-grid details a, .faq-help a { color: var(--accent-text); }
.faq-help { margin-top: 24px; text-align: center; font-size: .875rem; color: var(--muted); }
.faq-help a { display: inline-block; padding-block: 8px; }

.download-panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.download-copy { display: flex; align-items: center; gap: 24px; }
.download-copy > img { flex-shrink: 0; border-radius: 20px; }
.download-panel .eyebrow { color: var(--accent-text); margin-bottom: 12px; }
.download-panel h2 { font-size: clamp(1.875rem, 2.8vw, 2.5rem); }
.download-panel p:last-child { margin-top: 12px; color: var(--muted); font-size: 1rem; }
.download-panel .app-store { border-color: #a4988a; background: #201b16; }
.download-panel .app-store:hover { background: #080706; }
.site-footer { padding-bottom: 24px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 24px; }
.footer-top nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.footer-top nav a, .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-size: .875rem; }
.site-footer a:hover { color: var(--accent-text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: .8125rem; }
.footer-bottom a { font-size: .8125rem; }
.legal-links { display: flex; gap: 24px; }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .header-inner { gap: 20px; }
  .navigation { gap: 20px; margin-right: 0; }
  .hero-grid { gap: 24px; }
  .hero h1 { font-size: clamp(3rem, 5.8vw, 4rem); }
  .hero-visual { height: 578px; }
  .hero-phone { width: 242px; right: 20px; top: 12px; }
  .timing-card { width: 330px; padding-inline: 20px; }
  .visual-disc { right: -8px; }
  .feature-grid, .sharing-grid { gap: 48px; }
  .steps > li { padding: 24px; }
  .download-panel { gap: 24px; }
  .download-copy > img { width: 56px; height: 56px; border-radius: 16px; }
}
@media (max-width: 850px) {
  .navigation { gap: 16px; }
  .navigation a { font-size: 1rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-copy { text-align: center; padding-bottom: 0; }
  .hero-copy .eyebrow, .hero-actions, .hero-note { justify-content: center; }
  .hero-copy .lede { margin-inline: auto; }
  .hero h1 { font-size: clamp(3.25rem, 8vw, 4.5rem); }
  .hero-visual { width: 510px; max-width: 100%; margin-inline: auto; height: 610px; }
  .hero-phone { width: 270px; right: 48px; top: 0; }
  .timing-card { width: 355px; padding-inline: 24px; }
  .steps { gap: 16px; }
  .steps > li { padding: 24px 20px; }
  .steps h3 { font-size: 1.125rem; }
  .feature-grid { gap: 32px; }
  .cooking-visual { height: 620px; }
  .cooking-phone { width: 228px; }
  .live-preview { padding: 16px; }
  .live-icon { display: none; }
  .sharing-grid { gap: 32px; }
  .sharing-visual { padding-right: 0; }
  .shared-meal { padding: 24px; }
  .download-panel { align-items: flex-start; }
  .download-copy { align-items: flex-start; }
  .download-copy > img { display: none; }
  .download-panel .app-store { margin-top: 36px; }
  .footer-top { align-items: flex-start; }
  .footer-top nav { justify-content: flex-end; gap: 0 16px; }
}
@media (max-width: 680px) {
  #main { gap: 16px; padding: 0 0 32px; }
  .hero { padding: 32px 0; }
  #main > .content-card { width: calc(100% - 24px); padding: 32px 0; border-radius: 24px; }
  html { scroll-padding-top: 138px; }
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: auto; flex-wrap: wrap; column-gap: 16px; row-gap: 0; padding-top: 12px; }
  .brand { font-size: 1.375rem; }
  .brand img { width: 34px; height: 34px; }
  .header-download { margin-left: auto; padding: 10px 14px; min-height: 44px; border-radius: 14px; }
  .navigation { order: 3; width: 100%; margin: 6px 0 0; justify-content: space-between; gap: 12px; }
  .navigation a { min-height: 44px; font-size: 1rem; }
  .hero-grid { gap: 36px; }
  .hero-copy .eyebrow { font-size: .75rem; letter-spacing: .09em; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(2.7rem, 9.4vw, 3.75rem); line-height: 1.08; margin-bottom: 20px; }
  .hero-description { font-size: 1rem; }
  .hero-copy .lede { font-size: 1rem; max-width: 37ch; }
  .hero-actions { margin-top: 24px; gap: 16px; }
  .text-link { font-size: .875rem; }
  .hero-note { margin-top: 20px; font-size: .75rem; }
  .hero-visual { width: 100%; height: 570px; max-width: 430px; }
  .hero-phone { width: 236px; right: 32px; top: 0; }
  .visual-disc { top: 62px; right: 0; width: 370px; }
  .timing-card { bottom: 0; width: min(340px, 100%); left: 0; padding: 20px; }
  .section-heading .eyebrow { font-size: .75rem; letter-spacing: .1em; }
  h2 { font-size: 2rem; }
  .section-heading > p:last-child { font-size: 1rem; margin-top: 12px; }
  .steps { grid-template-columns: 1fr; margin-top: 28px; }
  .steps > li { position: relative; padding: 24px 24px 24px 88px; }
  .step-top { margin-bottom: 0; }
  .step-icon { position: absolute; left: 24px; top: 24px; width: 44px; height: 44px; border-radius: 14px; }
  .step-number { position: absolute; right: 20px; top: 12px; font-size: .875rem; }
  .steps h3 { font-size: 1.1875rem; padding-right: 8px; margin-bottom: 8px; }
  .feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-copy { order: -1; }
  .feature-copy h2 br, .sharing-copy h2 br { display: none; }
  .feature-copy > .lede { margin-top: 16px; font-size: 1rem; }
  .benefits { gap: 20px; margin-block: 24px; }
  .live-preview { padding: 20px; }
  .live-icon { display: grid; }
  .cooking-visual { height: 640px; border-radius: 24px; }
  .cooking-phone { width: 246px; margin-top: 60px; }
  .sharing-grid { grid-template-columns: 1fr; gap: 24px; }
  .sharing-copy .lede { font-size: 1rem; margin-top: 16px; }
  .sharing-copy .text-link { margin-top: 12px; }
  .sharing-visual { padding: 12px 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .faq-grid summary { padding: 18px 20px; font-size: .9375rem; }
  .faq-grid details > p { padding-inline: 20px; }
  .faq-help { margin-top: 16px; }
  .download-panel { display: block; text-align: center; }
  .download-copy { display: block; }
  .download-panel .eyebrow { font-size: .75rem; }
  .download-panel h2 { font-size: 1.875rem; }
  .download-panel .app-store { margin-top: 24px; }
  .footer-top { flex-direction: column; align-items: center; gap: 16px; padding-bottom: 16px; }
  .footer-top nav { justify-content: center; gap: 0 20px; }
  .footer-bottom { flex-direction: column; justify-content: center; gap: 0; text-align: center; padding-top: 24px; }
  .footer-bottom > span { margin-bottom: 8px; }
}
@media (max-width: 370px) {
  .wrap { width: calc(100% - 32px); }
  .hero-phone { right: 4px; }
  .hero-visual { height: 570px; }
  .hero-actions { flex-direction: column; gap: 8px; }
  .timing-card { padding-inline: 16px; }
  .timeline-row { grid-template-columns: 74px 1fr; }
  .timeline-axis { margin-left: 82px; }
  .steps > li { padding-left: 76px; padding-right: 20px; }
  .step-icon { left: 20px; width: 40px; height: 40px; }
  .live-preview { padding: 16px; }
  .live-icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
