/* Lobbe landing, kit, privacy and photo credits. Same design system as the app (public/app/tokens.css), minimal v2
   (owner-approved 2026-11-27): soft off-white page, black text and buttons, one family (Figtree, SIL OFL 1.1,
   self-hosted). Food floats on the page with a soft shadow. No blue, no gradients, no orange. */
@font-face {
 font-family: "Figtree";
 src: url("/assets/figtree.woff2") format("woff2");
 font-weight: 300 900;
 font-display: swap;
}
:root {
 --page: #F7F6F3;      /* same as the app's --color-page */
 --card: #FFFFFF;
 --ink: #000000;
 --muted: #6E6C68;
 --line: #E4E2DD;
 --placeholder: #ECEAE5;
 --designed: #ECEAE5;
 --accent: #000000;    /* main call to action: black, like the app */
 --accent-dark: #2E2E2C;
 --shadow: 0 1px 2px rgb(0 0 0 / .04), 0 4px 14px rgb(0 0 0 / .05);
 --radius: 20px;
}
[hidden] { display: none !important; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--page); font: 17px/1.55 "Figtree", -apple-system, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .22em; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
button,input,textarea { font: inherit; color: inherit; }
button,summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1,h2,h3,h4,p,dl,dd { margin: 0; }
h1,h2 { font: 800 clamp(36px,4.6vw,60px)/1.06 "Figtree", -apple-system, "Segoe UI", Arial, sans-serif; letter-spacing: -.03em; }
h3 { font-size: clamp(21px,2.4vw,30px); line-height: 1.15; letter-spacing: -.01em; }

/* Buttons: ink by default; the one main CTA is orange */
button,.button {
 display: inline-flex; align-items: center; justify-content: center; gap: .6em;
 min-height: 48px; padding: 10px 20px; border: 1.5px solid var(--ink);
 border-radius: 999px; background: var(--ink); color: #fff;
 font-weight: 700; text-align: center; text-decoration: none;
}
button:hover,.button:hover { background: #000; }
button:disabled { opacity: .6; cursor: wait; }
.button-outline,.secondary-button,.nav .button { background: transparent; color: var(--ink); }
.button-outline:hover,.secondary-button:hover,.nav .button:hover { background: var(--card); }
.cta { background: var(--accent); border-color: var(--accent); color: #fff; font-size: 18px; min-height: 54px; }
.cta:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: clamp(48px,7vw,104px); }
.nav { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.nav nav,.nav div { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.nav a { font-size: 15px; font-weight: 700; }
.nav .button { min-height: 44px; padding: 8px 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { object-fit: contain; }

/* Hero: logo, serif headline, one supporting line, the waitlist form, one strong image card */
.hero-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); align-items: center; gap: clamp(28px,5vw,80px); padding-block: clamp(28px,5vw,72px) clamp(48px,6vw,96px); }
.hero h1 { font-size: clamp(44px,6vw,88px); }
.hero-copy > p { font-size: clamp(18px,1.5vw,21px); color: var(--muted); max-width: 34ch; margin-block: 18px 24px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 28px; }
.hero-actions .cta { padding-inline: 30px; }
.hero-note { margin: 0; font-weight: 700; color: var(--muted); font-size: 15px; }
.hero-form { max-width: 520px; }
.hero-form label { font-weight: 700; }
.hero-form .form-row input,.hero-form .form-row button { min-height: 54px; }
.hero-form .followup { margin-top: 14px; }
.text-link { font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; margin-top: 8px; }
.hero-dish { min-width: 0; background: var(--card); border-radius: 26px; box-shadow: var(--shadow); padding: 12px 12px 16px; }
.hero-dish .dish-frame { position: relative; aspect-ratio: 16/11; border-radius: 18px; background: var(--designed); overflow: hidden; }
.hero-dish img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; filter: drop-shadow(0 16px 16px rgb(40 30 20 / .16)); animation: plate-in 460ms ease-out both; }
@keyframes plate-in { from { opacity: .45; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.hero-dish figcaption { padding: 14px 6px 0; display: grid; gap: 2px; }
.hero-dish figcaption span:first-child { font: 800 24px/1.2 "Figtree", -apple-system, "Segoe UI", Arial, sans-serif; letter-spacing: -.02em; }
.hero-dish figcaption span:last-child { font-size: 15px; color: var(--muted); }

/* Recipes by equipment */
.menu-strip { border-block: 1px solid var(--line); background: var(--card); }
.featured { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.featured button { background: transparent; color: var(--ink); justify-content: space-between; border: 0; border-inline-start: 1px solid var(--line); border-radius: 0; padding: 16px; min-width: 0; min-height: 56px; }
.featured button:last-child { border-inline-end: 1px solid var(--line); }
.featured button:hover { background: var(--page); }
.featured button:focus-visible { outline-offset: -5px; }

/* Preview picker */
.preview-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.4fr); gap: clamp(30px,6vw,90px); align-items: start; }
.preview h2 { font-size: clamp(36px,4.2vw,60px); }
.preview-panel { padding: clamp(18px,3vw,36px); border-radius: 24px; background: var(--card); box-shadow: var(--shadow); }
.picker { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
fieldset { border: 0; padding: 0; margin: 0 0 13px; min-width: 0; }
fieldset:last-child { margin-bottom: 0; }
legend { font-weight: 700; margin-bottom: 8px; }
.choice { margin: 0 6px 6px 0; min-height: 44px; padding: 6px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 600; background: var(--card); color: var(--ink); transition: border-color 130ms; }
.choice:hover { border-color: #cdbfae; background: var(--card); }
.choice[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.preview-card { padding-top: 20px; }
.preview-card.with-photo { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1fr); align-items: center; column-gap: 12px; }
.dish-copy { min-width: 0; }
.dish-copy h3 { font: 800 clamp(24px,2.6vw,34px)/1.12 "Figtree", -apple-system, "Segoe UI", Arial, sans-serif; letter-spacing: -.02em; }
.dish-photo { position: relative; }
.dish-photo img { width: 100%; height: auto; filter: drop-shadow(4px 10px 10px rgb(40 30 20 / .18)); }
.dish-facts { display: grid; gap: 7px; margin-top: 16px; }
.dish-facts dt { color: var(--muted); font-size: 13px; }
.dish-facts dd { font-weight: 700; }
.shortcut,.meta,.dish-copy p { margin-block: 12px; }
.shortcut { font-size: 15px; color: var(--muted); }
.secondary-button { margin-top: 16px; justify-self: start; grid-column: 1/-1; }
.recipe-sheet { margin-top: 30px; padding: clamp(20px,4vw,48px); border-radius: 24px; background: var(--card); box-shadow: var(--shadow); }
.recipe-sheet h3 { font: 800 clamp(26px,3vw,38px)/1.1 "Figtree", -apple-system, "Segoe UI", Arial, sans-serif; letter-spacing: -.02em; }
.detail-photo { margin-bottom: 22px; }
.detail-photo img { width: min(230px,65%); height: auto; }
.recipe-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.ingredient-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.ingredient-grid label { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--page); }
.ingredient-grid label:has(:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ingredient-grid input { margin-top: 5px; accent-color: var(--ink); }
.steps { margin: 10px 0 0; padding-left: 24px; }
.steps li + li { margin-top: 10px; }

/* Join band: a card on the page, ink submit (the hero has the orange one) */
.join-band .join-grid { background: var(--card); border-radius: 28px; box-shadow: var(--shadow); padding: clamp(24px,4vw,56px); }
.join-grid,.partner-grid,.reward-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: clamp(26px,6vw,80px); }
.join-grid { align-items: center; }
.intro { margin-top: 16px; max-width: 43ch; color: var(--muted); }
.signup label,.partner-form label,.followup label { display: grid; font-weight: 700; gap: 4px; }
.form-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.form-row input { flex: 1 1 200px; min-width: 0; }
input:not([type=checkbox],[type=range]),textarea {
 width: 100%; min-height: 48px; padding: 10px 16px; border: 1.5px solid var(--line);
 border-radius: 14px; background: var(--card); color: var(--ink);
}
input:not([type=checkbox],[type=range]):focus-visible,textarea:focus-visible { border-color: var(--ink); outline: 3px solid var(--accent); outline-offset: 2px; }
.status:empty { display: none; }
.status,.followup { margin-top: 12px; }
.followup details,.followup form { margin-top: 12px; }
.followup form,.partner-form { display: grid; gap: 11px; }
.followup summary { font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.partner-form > button { justify-self: start; }

/* Savings estimate */
.secondary { margin-block: 34px; }
.secondary summary { font-weight: 700; padding: 15px 0; min-height: 52px; border-block: 1px solid var(--line); }
.reward-grid { margin-top: 20px; gap: 14px; }
.reward-card,.calculator { border-radius: var(--radius); padding: 22px; background: var(--card); box-shadow: var(--shadow); }
.reward-card { background: var(--ink); color: #fff; box-shadow: none; }
.reward-card .eyebrow { color: rgb(255 255 255 / .75); }
.calculator label { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; }
input[type=range],progress { width: 100%; accent-color: var(--ink); }
.reward-card progress { accent-color: #fff; }
.reward-card .button { margin-top: 12px; background: #fff; color: var(--ink); border-color: #fff; }
.reward-card h3 { margin-block: 15px; font: 800 clamp(28px,3vw,40px)/1.1 "Figtree", -apple-system, "Segoe UI", Arial, sans-serif; letter-spacing: -.02em; }
.small,.eyebrow { font-size: 14px; }
.eyebrow { font-weight: 600; margin-bottom: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.offer-choices button { margin: 0 6px 6px 0; min-height: 44px; background: #fff; color: var(--ink); border-color: #fff; }
.offer-choices button[aria-pressed="false"] { background: transparent; color: #fff; border-color: rgb(255 255 255 / .5); }
.reward-card :focus-visible { outline-color: #fff; }

.restaurants { border-top: 1px solid var(--line); }
footer { border-top: 1px solid var(--line); }
footer .nav { padding-block: 13px; flex-wrap: wrap; }
footer .nav div a { min-height: 44px; display: inline-flex; align-items: center; }

/* Kit, privacy, photo credits */
.document { max-width: 760px; }
.document h1 { margin: 16px 0; }
.document h2 { font-size: clamp(26px,3.6vw,40px); }
.document p { margin: 12px 0; }
.document article { border-top: 1px solid var(--line); padding-block: 22px; }
.document > a:first-child { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; }

@media (max-width: 960px) {
 .wrap { width: calc(100% - 48px); }
 .preview-layout { gap: 32px; grid-template-columns: minmax(0,.8fr) minmax(0,1.5fr); }
}
@media (max-width: 735px) {
 .hero-grid,.preview-layout,.join-grid,.partner-grid,.reward-grid,.recipe-columns { grid-template-columns: 1fr; }
 .hero-grid { gap: 28px; }
 .hero-dish { width: min(100%,480px); }
}
@media (max-width: 480px) {
 .wrap { width: calc(100% - 32px); }
 body { font-size: 16px; }
 .nav { min-height: 62px; }
 .nav nav { gap: 10px; }
 .nav-preview { display: none; }
 .hero-grid { padding-block: 20px 36px; }
 .hero h1 { font-size: clamp(40px,11.5vw,52px); }
 .hero-copy > p { margin-block: 12px 18px; }
 .featured { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .featured button { border: 1px solid var(--line); padding: 10px 12px; }
 .choice { margin-right: 4px; padding-inline: 12px; }
 .preview-card.with-photo { grid-template-columns: minmax(0,1fr) minmax(0,.92fr); gap: 6px; }
 .dish-copy h3 { font-size: 23px; overflow-wrap: break-word; }
 .ingredient-grid { grid-template-columns: 1fr; }
 .form-row { display: grid; }
 .form-row button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
 *,*::before,*::after { animation: none !important; transition: none !important; }
}

/* Waitlist age check (Quebec Law 25: under-14s need a parent's consent). */
.signup label.age { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 600; min-height: 44px; cursor: pointer; }
.signup label.age input { width: 22px; height: 22px; margin: 0; accent-color: var(--ink); flex: none; }
.age-note { margin: 2px 0 0; font-size: 15px; color: var(--muted); }

/* ===== minimal v2 (owner-approved 2026-11-27): food floats on the page; pills and buttons like the app ===== */
.hero-dish { background: none; box-shadow: none; padding: 0; border-radius: 0; }
.hero-dish .dish-frame { background: none; border-radius: 0; }
.hero-dish figcaption { padding: 6px 0 0; justify-items: center; text-align: center; }
.hero-dish figcaption span:first-child { font-size: 19px; font-weight: 700; }
.hero h1 { font-size: clamp(40px,5.4vw,76px); }
.cta,button,.button { border-radius: 999px; }
.hero-note strong { color: var(--ink); }
.preview-panel,.recipe-sheet { box-shadow: none; border: 1px solid var(--line); }
.menu-strip { background: transparent; }
