@font-face {
  font-family: Archivo;
  src: url("/assets/archivo.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #f7f7f8;
  --surface: #ffffff;
  --ink: #202124;
  --muted: #62636c;
  --line: #e4e4e8;
  --brand: #293e66;
  --accent: #c3421a;
  --on-accent: #ffffff;
  --teal: #107768;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111214;
    --surface: #1b1c20;
    --ink: #f4f4f5;
    --muted: #b2b3bd;
    --line: #35363d;
    --brand: #b6c8ff;
    --accent: #f08a5d;
    --on-accent: #101a30;
    --teal: #78d6c7;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html:has(.social) { scroll-padding-bottom: calc(124px + env(safe-area-inset-bottom, 0px)); }
/* Netlify preview controls must leave the fixed social CTA reachable. */
body > div:has(> iframe[title="Netlify Drawer"]),
iframe[title="Netlify Drawer"] { display: none !important; pointer-events: none !important; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 1.0625rem/1.55 Archivo, system-ui, sans-serif;
  overflow-wrap: anywhere;
}
p, figure { margin: 0; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6vw, 4.2rem); line-height: 1.03; }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.4rem); line-height: 1.12; }
h3 { font-size: 1.15rem; line-height: 1.25; }
a { color: var(--brand); text-underline-offset: .23em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
button, summary { font: inherit; }
button { cursor: pointer; }
.wrap {
  width: min(100%, 1080px);
  margin-inline: auto;
  padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px));
}
.skip-link {
  position: absolute;
  z-index: 5;
  top: 8px;
  left: 8px;
  padding: 12px;
  background: var(--surface);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
.nav, .brand, .cta { display: flex; align-items: center; gap: 16px; }
.nav { justify-content: space-between; padding-block: 18px; }
.brand { min-height: 44px; gap: 10px; width: fit-content; color: var(--brand); font-weight: 700; letter-spacing: .06em; text-decoration: none; }
.brand img { display: block; border-radius: 9px; }
.btn, .link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  font-weight: 700;
}
.btn {
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  padding: 8px 24px;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
}
.btn.small { min-height: 44px; border-radius: 12px; padding-inline: 18px; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: 48px;
  padding-block: 36px 72px;
}
.lead { color: var(--muted); font-size: 1.2rem; }
.hero .lead { max-width: 40ch; margin-top: 20px; }
.cta { flex-wrap: wrap; margin-top: 28px; }
.hero small, .offer-detail { display: block; margin-top: 14px; color: var(--muted); font-size: .9rem; }
.opening-note { margin-block: 16px; color: var(--brand); font-weight: 600; }
.opening { display: grid; place-items: center; min-height: 100vh; }
.opening main { max-width: 34rem; }
.opening h1 { font-size: clamp(2.5rem, 10vw, 4.25rem); }
.opening a { overflow-wrap: anywhere; }
.meal-example { width: min(100%, 380px); margin-inline: auto; }
.phone, .card, .price {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  padding: clamp(16px, 4vw, 28px);
}
.phone { display: grid; gap: 6px; }
.eyebrow { color: var(--brand); font-size: .82rem; font-weight: 700; }
.dish { font-size: clamp(1.8rem, 5vw, 2.3rem); font-weight: 700; line-height: 1.05; }
.meta, .lab, .price-period, .price-detail { color: var(--muted); font-size: .9rem; }
.portion { margin-top: 10px; border-radius: 16px; background: var(--bg); padding: 14px; font-variant-numeric: tabular-nums; }
.big { font-size: 1.85rem; font-weight: 700; }
.row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.row + .row { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
.fake-btn {
  display: grid;
  min-height: 52px;
  margin-top: 8px;
  padding: 8px;
  place-items: center;
  border-radius: 16px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
}
.example { margin-top: 8px; text-align: center; color: var(--muted); font-size: .82rem; }
.band { border-top: 1px solid var(--line); padding-block: clamp(36px, 7vw, 64px); }
.band h2 + p { max-width: 64ch; margin-top: 12px; color: var(--muted); }
.features, .steps { display: grid; gap: 28px 44px; margin-block: 28px 0; }
.features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.features p, .steps p { margin-top: 6px; color: var(--muted); }
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-left: 1.4rem; }
.steps li { min-width: 0; padding-left: .25rem; }
.steps li::marker { color: var(--teal); font-weight: 700; }
.home .price { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-top: 24px; }
.amount { margin-top: 8px; font-weight: 700; font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.16; }
.price-detail { margin-top: 6px; }
.price ul { margin-block: 12px 0; padding-left: 1.2rem; }
.faq { margin-top: 20px; }
details { border-bottom: 1px solid var(--line); }
summary { min-height: 44px; padding-block: 12px; cursor: pointer; font-weight: 600; }
details p { max-width: 66ch; padding-bottom: 12px; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding-block: 24px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.consent { max-width: 36rem; }
.consent form { display: grid; justify-items: start; gap: 4px; }
.consent label { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.consent input { width: 20px; height: 20px; }
.consent button { margin-bottom: 6px; }
.legal { max-width: 820px; padding-block: 28px 64px; }
.legal h1 { margin-block: 14px 24px; }
.legal h2 { margin-block: 26px 8px; font-size: 1.4rem; }
.legal p + p { margin-top: 10px; }
.legal table { width: 100%; margin-top: 12px; border-collapse: collapse; table-layout: fixed; font-size: .9rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.legal th { background: var(--surface); }

.social { padding-bottom: calc(124px + env(safe-area-inset-bottom, 0px)); }
.social .col, .social .site-footer .wrap {
  width: min(100%, 540px);
  margin-inline: auto;
  padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px));
}
.social .col, .social-intro { display: grid; gap: 24px; }
.social .col { padding-block: 20px 26px; }
.social h1 { font-size: clamp(2rem, 8vw, 3.2rem); }
.social h2 { font-size: 1.45rem; }
.social .opening-note { margin-block: 0; }
.social .points { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.points li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
.points svg { color: var(--teal); }
.points strong, .points span { display: block; }
.points span { color: var(--muted); }
.bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 2;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 12px max(20px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
}
.bar .in { display: grid; gap: 4px; max-width: 480px; margin-inline: auto; }
.bar small { text-align: center; color: var(--muted); }
.social .site-footer:focus-within { position: relative; z-index: 3; background: var(--bg); }

@media (max-width: 720px) {
  .hero, .features, .steps, .home .price { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 32px; padding-block: 20px 52px; }
  .legal table { font-size: .82rem; }
  .legal th, .legal td { padding: 5px; }
}
