/* SupperBoard — editorial landing spread (gastronautlabs.com/supperboard)
   Brand: SupperBoard Brand Guide v1 (a family cookbook, remastered). Warm all the way
   through: cream paper, espresso ink, tomato the one true CTA. Type: Fraunces (display,
   headings, voice) + SF Pro (body) + SF Mono (quantities). No em-dashes, ever. */

:root {
  --cream: #F4EAD6;      /* paper */
  --surface: #F7F0E1;    /* raised cards */
  --tomato: #CE4A26;     /* primary / CTA, precious */
  --avocado: #6C7538;    /* secondary */
  --butter: #E4A63A;     /* accent / joy */
  --espresso: #3D2B1B;   /* ink */
  --berry: #7A4A5C;      /* cuisine accent */
  --italian: #B23C1E; --sea: #4E7C6A; --curry: #C98A2B; --garden: #8FA03C;
  --ink-72: rgba(61,43,27,0.72);
  --ink-55: rgba(61,43,27,0.55);
  --ink-40: rgba(61,43,27,0.40);
  --line: rgba(61,43,27,0.14);
  --line-strong: rgba(61,43,27,0.24);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, monospace;
  --nav-h: 64px;
  --measure: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  color: var(--espresso);
  background: var(--cream);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* faint paper grain for the vintage-cookbook feel */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none;
  opacity: 0.04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(206,74,38,0.20); }

.container { width: 100%; max-width: var(--measure); margin: 0 auto; padding: 0 24px; }

/* Type utilities */
.kicker { font-family: var(--body); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tomato); }
.voice { font-family: var(--display); font-style: italic; font-weight: 500; color: var(--tomato); font-variation-settings: "opsz" 72, "SOFT" 40; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 15px;
  border: none; border-radius: 999px; padding: 13px 24px; cursor: pointer;
  transition: transform .12s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-tomato { background: var(--tomato); color: var(--cream); }
.btn-tomato:hover { background: #d8552f; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--espresso); border: 1.5px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--espresso); transform: translateY(-1px); }

/* Daisy mark */
.daisy { width: 22px; height: 22px; flex: none; }
.wordmark { font-family: var(--display); font-weight: 900; letter-spacing: -0.01em; font-variation-settings: "opsz" 40; }

/* ---- Masthead ------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(244, 234, 214, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 8px; color: var(--espresso); }
.nav-brand .wordmark { font-size: 20px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a.navlink { font-family: var(--body); font-weight: 600; font-size: 13px; color: var(--ink-72); position: relative; padding-bottom: 3px; }
.nav-links a.navlink::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--tomato); transform: scaleX(0); transform-origin: left; transition: transform .26s ease; }
.nav-links a.navlink:hover { color: var(--espresso); }
.nav-links a.navlink:hover::after { transform: scaleX(1); }
.nav-links .btn { padding: 9px 18px; font-size: 13px; }
@media (max-width: 760px) { .nav-links a.navlink { display: none; } }

/* ---- Hero ----------------------------------------------------------------- */
.hero { position: relative; padding: 72px 0 64px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 46% at 80% 8%, rgba(228,166,58,0.30), transparent 68%), radial-gradient(44% 40% at 8% 92%, rgba(108,117,56,0.12), transparent 72%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 44px; align-items: center; }
.hero .kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; }
.hero .kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tomato); }
.hero h1 { font-family: var(--display); font-weight: 900; font-size: clamp(42px, 6.6vw, 78px); line-height: 0.98; letter-spacing: -0.025em; font-variation-settings: "opsz" 144; max-width: 14ch; }
.hero .voice { display: block; font-size: clamp(20px, 3.2vw, 28px); margin: 16px 0 0; }
.hero .lede { font-size: clamp(17px, 2.1vw, 20px); color: var(--ink-72); max-width: 46ch; margin: 22px 0 30px; }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-55); }

/* Notify form (shared Google Form) */
.notify { display: flex; gap: 10px; max-width: 420px; margin-top: 8px; }
.notify input[type="email"] { flex: 1; min-width: 0; font-family: var(--body); font-size: 15px; color: var(--espresso); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 12px 18px; outline: none; transition: border-color .2s, box-shadow .2s; }
.notify input[type="email"]::placeholder { color: var(--ink-40); }
.notify input[type="email"]:focus { border-color: var(--tomato); box-shadow: 0 0 0 3px rgba(206,74,38,0.16); }
.notify .thanks { display: none; }
.notify.done input, .notify.done .btn { display: none; }
.notify.done .thanks { display: block; font-family: var(--display); font-style: italic; font-size: 18px; color: var(--tomato); }

/* ---- The phone (SupperBoard home screen, restaged) ------------------------ */
.plate { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.plate .cap { font-family: var(--body); font-size: 12px; color: var(--ink-55); text-align: center; }
.plate .cap b { color: var(--tomato); font-weight: 700; }
.plate-frame { transform: rotate(-2deg); }
.phone { position: relative; width: 250px; max-width: 78vw; border-radius: 44px; padding: 9px; background: linear-gradient(180deg, #cbb892, #a3906a); box-shadow: 0 30px 60px rgba(61,43,27,0.28), inset 0 0 0 3px #6b5638; }
.phone-notch { width: 74px; height: 21px; background: #2a2018; border-radius: 999px; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); z-index: 2; }
.phone-screen { border-radius: 35px; overflow: hidden; background: var(--cream); box-shadow: 0 0 0 4px #2a2018; aspect-ratio: 1320 / 2868; }
.sb-app { padding: 40px 12px 12px; }
.sb-head { display: flex; align-items: center; justify-content: space-between; padding: 0 3px 12px; }
.sb-brand { display: flex; align-items: center; gap: 6px; }
.sb-head .daisy { width: 18px; height: 18px; }
.sb-word { font-family: var(--display); font-weight: 900; font-size: 16px; color: var(--espresso); font-variation-settings: "opsz" 40; }
.sb-plus { width: 24px; height: 24px; border-radius: 50%; background: var(--tomato); color: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 500; line-height: 1; }
.sb-hero { border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 15px 12px 13px; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.sb-hero .meta { text-align: center; }
.sb-hero .k { font-family: var(--body); font-weight: 700; font-size: 8.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--avocado); }
.sb-hero .t { font-family: var(--display); font-weight: 900; font-size: 22px; line-height: 1.0; color: var(--espresso); margin-top: 2px; font-variation-settings: "opsz" 60; }
.sb-pick { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 11px; border-radius: 15px; background: linear-gradient(95deg, var(--tomato), var(--berry)); color: #fff; }
.sb-pick .chef { width: 32px; height: 32px; flex: none; }
.sb-pick .txt { flex: 1; min-width: 0; }
.sb-pick .pt { font-family: var(--display); font-weight: 700; font-size: 14px; line-height: 1.1; }
.sb-pick .ps { font-size: 10.5px; opacity: 0.92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 9px; }
.sb-tile { border-radius: 13px; border: 1px solid var(--line); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.sb-tile.a { background: radial-gradient(circle at 50% 42%, #f0d38f, var(--surface)); }
.sb-tile.b { background: radial-gradient(circle at 50% 42%, #d8b6a0, #efe4d2); }
.sb-tile .food { width: 58%; height: 58%; }

/* sunburst food badge (reusable) */
.badge { position: relative; flex: none; }
.badge .sunburst { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--espresso); background: repeating-conic-gradient(from 8deg, var(--butter) 0deg 15deg, var(--surface) 15deg 30deg); }
.badge .food { position: absolute; inset: 0; }
.badge.lg { width: 108px; height: 108px; }
.badge.sm { width: 56px; height: 56px; }
.badge.sm .sunburst { border-width: 2px; }

/* Le Sous Chef avatar sizing (SVG carries the art) */
.chef { flex: none; }

/* ---- Section frame -------------------------------------------------------- */
.section { padding: 88px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head .kicker { display: block; margin-bottom: 14px; }
.section-head h2 { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4.8vw, 52px); line-height: 1.0; letter-spacing: -0.02em; font-variation-settings: "opsz" 120; }
.section-head p { color: var(--ink-72); font-size: 18px; margin-top: 16px; max-width: 52ch; }
.surface-bg { background: var(--surface); }

/* ---- Marquee (recipe names) ----------------------------------------------- */
.marquee { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; background: var(--surface); }
.marquee-track { display: flex; width: max-content; animation: sbmarq 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--display); font-weight: 900; font-variation-settings: "opsz" 90; font-size: clamp(22px, 3.6vw, 38px); line-height: 1; color: var(--espresso); padding: 0 26px; white-space: nowrap; letter-spacing: -0.01em; }
.marquee-track .dot { color: var(--tomato); }
@keyframes sbmarq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee { overflow-x: auto; } }

/* ---- 01 Save it. Cook it. Eat well. (steps) ------------------------------- */
.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 210px 1fr; gap: 24px 40px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line); transition: background .25s ease; }
.step:hover { background: rgba(61,43,27,0.02); }
.step-badge { display: flex; align-items: center; gap: 16px; }
.step-badge .n { font-family: var(--display); font-weight: 900; font-variation-settings: "opsz" 144; font-size: clamp(48px, 7vw, 76px); line-height: 0.8; color: var(--tomato); letter-spacing: -0.03em; }
.step-body { max-width: 52ch; }
.step h3 { font-family: var(--display); font-weight: 900; font-size: clamp(22px, 3vw, 28px); margin-bottom: 10px; font-variation-settings: "opsz" 60; }
.step p { color: var(--ink-72); font-size: 16px; }
@media (max-width: 780px) { .step { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; } }

/* ---- Le Sous Chef spotlight ----------------------------------------------- */
.chef-band { background: var(--espresso); color: var(--cream); }
.chef-band .container { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: center; }
.chef-band .kicker { color: var(--butter); }
.chef-band .chef-art { width: 260px; height: auto; justify-self: center; }
.chef-band h2 { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4.6vw, 50px); line-height: 1.0; letter-spacing: -0.02em; font-variation-settings: "opsz" 120; }
.chef-band p { color: rgba(244,234,214,0.80); font-size: 17px; margin-top: 16px; max-width: 48ch; }
.chef-quote { margin-top: 24px; font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(19px, 2.6vw, 24px); line-height: 1.3; color: var(--butter); font-variation-settings: "opsz" 72, "SOFT" 40; max-width: 32ch; }
.chef-quote .who { display: block; margin-top: 10px; font-family: var(--body); font-style: normal; font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(244,234,214,0.6); }
@media (max-width: 820px) { .chef-band .container { grid-template-columns: 1fr; text-align: center; } .chef-band .chef-quote { margin-left: auto; margin-right: auto; } .chef-band .chef-art { order: -1; } }

/* ---- Features (what earns the download) ----------------------------------- */
.features { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; position: relative; }
.features::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--line); }
.feature { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 30px 8px 30px 0; border-bottom: 1px solid var(--line); }
.feature .badge { width: 50px; height: 50px; }
.feature .badge .sunburst { border-width: 2px; }
.feature h3 { font-family: var(--display); font-weight: 900; font-size: 21px; margin-bottom: 7px; font-variation-settings: "opsz" 48; }
.feature p { color: var(--ink-72); font-size: 15px; max-width: 40ch; }
@media (max-width: 780px) { .features { grid-template-columns: 1fr; } .features::before { display: none; } }

/* ---- Free promise band ---------------------------------------------------- */
.free { background: var(--avocado); color: var(--cream); text-align: center; }
.free .container { max-width: 820px; }
.free .kicker { color: rgba(244,234,214,0.85); display: block; margin-bottom: 16px; }
.free h2 { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 5.4vw, 58px); line-height: 1.0; letter-spacing: -0.02em; font-variation-settings: "opsz" 144; }
.free p { color: rgba(244,234,214,0.9); font-size: 18px; margin: 20px auto 0; max-width: 54ch; }
.free .plus { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--butter); }

/* ---- Pull quote ----------------------------------------------------------- */
.pull { padding: 24px 0 92px; }
.pull blockquote { font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(34px, 6.2vw, 74px); line-height: 1.0; letter-spacing: -0.02em; color: var(--espresso); max-width: 16ch; font-variation-settings: "opsz" 144, "SOFT" 30; }
.pull blockquote .accent { color: var(--tomato); }
.pull .attrib { margin-top: 20px; font-family: var(--body); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-55); display: flex; align-items: center; gap: 12px; }
.pull .attrib .rule { width: 46px; height: 1px; background: var(--line-strong); }

/* ---- CTA / back cover ----------------------------------------------------- */
.cta { position: relative; overflow: hidden; padding: 0 0 100px; }
.cta-inner { border-top: 1px solid var(--line-strong); padding: 74px 0 0; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(56% 60% at 50% 24%, rgba(228,166,58,0.28), transparent 72%); }
.cta .container { position: relative; z-index: 1; text-align: center; }
.cta .kicker { justify-content: center; margin-bottom: 20px; }
.cta h2 { font-family: var(--display); font-weight: 900; font-size: clamp(36px, 6.6vw, 72px); line-height: 0.98; letter-spacing: -0.02em; font-variation-settings: "opsz" 144; max-width: 16ch; margin: 0 auto; }
.cta .voice { display: block; font-size: clamp(19px, 3vw, 24px); margin-top: 16px; }
.cta .notify { margin: 30px auto 0; }
.cta .ctahint { margin-top: 14px; color: var(--ink-55); font-family: var(--mono); font-size: 13px; }

/* ---- Footer / colophon ---------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0 52px; }
.footer .container { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand .wordmark { font-size: 18px; }
.footer .colophon { margin-top: 12px; max-width: 36ch; color: var(--ink-55); font-size: 12.5px; line-height: 1.7; }
.footer .endorse { color: var(--tomato); font-family: var(--display); font-style: italic; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-links a { font-family: var(--body); font-size: 13px; color: var(--ink-72); }
.footer-links a:hover { color: var(--tomato); }
.footer .copy { font-size: 12.5px; color: var(--ink-40); }
@media (max-width: 600px) { .footer .container { flex-direction: column; } }

/* ---- Legal / support pages ------------------------------------------------ */
.legal { max-width: 760px; margin: 0 auto; padding: 54px 24px 80px; }
.legal h1 { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 6vw, 46px); line-height: 1.02; letter-spacing: -0.015em; font-variation-settings: "opsz" 144; margin-bottom: 8px; }
.legal .meta { color: var(--ink-55); font-size: 13.5px; margin: 6px 0 18px; line-height: 1.6; }
.legal .meta b { color: var(--espresso); font-weight: 600; }
.legal .lede { font-size: 17px; color: var(--ink-72); margin: 16px 0; line-height: 1.6; }
.legal h2 { font-family: var(--display); font-weight: 900; font-size: 24px; color: var(--espresso); margin: 36px 0 10px; font-variation-settings: "opsz" 60; }
.legal h3 { font-family: var(--display); font-weight: 700; font-size: 18px; margin: 24px 0 6px; font-variation-settings: "opsz" 40; }
.legal p, .legal li { color: var(--ink-72); font-size: 15.5px; line-height: 1.7; }
.legal p { margin: 10px 0; }
.legal ul { margin: 8px 0 8px 22px; }
.legal li { margin: 7px 0; }
.legal strong { color: var(--espresso); font-weight: 600; }
.legal a { color: var(--tomato); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: #d8552f; }
.legal hr { border: none; border-top: 1px solid var(--line); margin: 30px 0; }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .plate { margin: 0 auto; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .notify { flex-direction: column; }
  .section-head h2 { font-size: clamp(28px, 9vw, 40px); }
}

/* ===== Footer menus: consistent labeled columns across every app page ===== */
.footer-lead { max-width: 340px; }
.footer-menu { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-menu h4 { font-family: var(--body); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-40); margin: 0 0 3px; }
.footer-menu a { font-family: var(--body); font-size: 13px; color: var(--ink-72); }
.footer-menu a:hover, .footer-menu a[aria-current="page"] { color: var(--tomato); }
.footer-bottom { flex-basis: 100%; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; }

/* ===== Legibility sweep: balanced display type, no orphaned words ===== */
h1, h2, h3, .lede, .lead, .colophon, blockquote, .pull, .pullquote { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* ---- Home chip: back to the Gastronaut Labs studio (nav) ------------------ */
.nav-links .home-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-72); font-family: var(--body); font-weight: 700; font-size: 12.5px; white-space: nowrap; transition: color .2s ease, border-color .2s ease; }
.nav-links .home-chip:hover { color: var(--espresso); border-color: var(--espresso); }
.nav-links .home-chip .glmark { width: 18px; height: 18px; flex: none; }
@media (max-width: 820px) { .nav-links .home-chip .home-label { display: none; } .nav-links .home-chip { padding: 6px; } }
