/* Coze Foods. Tokens mirror the Coze Foods design system (tokens.json). */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/Fraunces-Soft.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/Fraunces-Soft-Italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/Figtree.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --bone: #f4f0e7; --bone-raised: #fbf9f4; --bone-deep: #eae4d7;
  --ink: #242820; --ink-muted: #595c52;
  --forest: #223f35; --forest-hover: #183027; --forest-soft: #dce5db;
  --on-forest: #f4f0e7; --on-forest-muted: #bfcbc1;
  --line: #ddd5c5; --line-strong: #8c8778;
  --brass: #b58d4d; --clay: #a85c43; --danger: #9e2f22;
  --flavor-mushroom: #6a4a35; --flavor-mushroom-soft: #ebe0d6;
  --flavor-chicken: #d9a23c; --flavor-chicken-soft: #f6e7c6;
  --flavor-miso: #c9803a; --flavor-miso-soft: #f3dfc9;
  --flavor-tomato: #a85c43; --flavor-tomato-soft: #f1ddd3;
  --flavor-coconut: #7f9a4b; --flavor-coconut-soft: #e4ead2;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;
  --radius-sm: 8px; --radius-md: 16px; --radius-lg: 32px; --radius-full: 9999px;
  --control-sm: 40px; --control-md: 48px; --control-lg: 56px; --measure: 38em; --page-max: 1200px;
  --shadow-sm: 0 1px 2px #2428200f, 0 2px 8px #24282012;
  --focus-ring: 0 0 0 2px #f4f0e7, 0 0 0 4px #223f35;
  --focus-ring-inverse: 0 0 0 2px #223f35, 0 0 0 4px #f4f0e7;
  --font-display: Fraunces, Georgia, "Times New Roman", serif;
  --font-sans: Figtree, Arial, ui-sans-serif, system-ui, sans-serif;
  --gutter: clamp(16px, 3vw, 32px);
  --section: clamp(64px, 7vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bone); color: var(--ink); font-family: var(--font-sans); font-size: 17px; line-height: 27px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; }
a { color: var(--forest); }
a:hover { color: var(--forest-hover); }
:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--space-4); top: -100px; z-index: 10; padding: var(--space-2) var(--space-4); background: var(--forest); color: var(--on-forest); border-radius: var(--radius-full); font-weight: 600; text-decoration: none; }
.skip:focus { top: var(--space-4); }

/* Type */
.heading { font-family: var(--font-display); font-size: 36px; line-height: 42px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.title { font-family: var(--font-display); font-size: 24px; line-height: 30px; font-weight: 600; margin: 0; }
.lead { font-size: 20px; line-height: 30px; margin: 0; }
.label { font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: 0.01em; }
.caption { font-size: 13px; line-height: 19px; }
.muted { color: var(--ink-muted); }

/* Layout */
.wrap { max-width: var(--page-max); margin: 0 auto; }
.section { padding: var(--section) var(--gutter); }
.section-head { display: flex; flex-direction: column; gap: var(--space-4); max-width: 40em; margin-bottom: var(--space-12); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: var(--control-md); padding: 0 var(--space-6); border-radius: var(--radius-full); border: 1.5px solid transparent; font: 600 15px/20px var(--font-sans); letter-spacing: 0.01em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.btn:focus-visible { border-radius: var(--radius-full); }
.btn-sm { height: var(--control-sm); padding: 0 var(--space-4); }
.btn-lg { height: var(--control-lg); padding: 0 var(--space-8); }
.btn-primary { background: var(--forest); color: var(--on-forest); }
.btn-primary:hover { background: var(--forest-hover); color: var(--on-forest); }
.btn-inverse { background: var(--on-forest); color: var(--forest); }
.btn-inverse:hover { background: var(--bone-raised); color: var(--forest); }
.btn-inverse:focus-visible { box-shadow: var(--focus-ring-inverse); }

/* Announcement + header */
.bar { margin: 0; padding: var(--space-2) var(--space-4); background: var(--forest); color: var(--on-forest); text-align: center; font-size: 13px; line-height: 19px; }
.header { border-bottom: 1px solid var(--line); background: var(--bone); }
.header-inner { max-width: var(--page-max); margin: 0 auto; padding: var(--space-3) var(--gutter); display: flex; align-items: center; gap: var(--space-8); }
.logo-link { color: var(--ink); display: inline-flex; border-radius: var(--radius-sm); }
.logo-link svg { height: 38px; width: 97px; }
.nav { display: flex; gap: var(--space-6); margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; line-height: 20px; font-weight: 600; padding: var(--space-2) 0; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
@media (max-width: 760px) { .nav { display: none; } .header-inner { gap: var(--space-3); } .header-cta { margin-left: auto; } }

/* Hero */
.hero { padding: clamp(40px, 6vw, 96px) var(--gutter); }
.hero-inner { max-width: var(--page-max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: clamp(40px, 5vw, 64px); align-items: center; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-6); }
.hero h1 { margin: 0; font-family: var(--font-display); font-size: clamp(56px, 5.6vw, 80px); line-height: 0.95; font-weight: 600; letter-spacing: -0.02em; }
.hero h1 em { font-style: italic; font-weight: 500; }
.hero .lead { max-width: 30em; }
.shelf { flex: 1 1 520px; min-width: 0; margin: 0; min-height: clamp(420px, 38vw, 540px); padding: clamp(28px, 3vw, 40px) clamp(20px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--bone-deep); display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: var(--space-8); }
.shelf-mark { color: var(--forest); padding-top: var(--space-4); }
.shelf-mark svg { height: 150px; width: 91.76px; }
.jars { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-6) var(--space-3); margin: 0; padding: 0; list-style: none; }
.jars li { width: 88px; display: flex; flex-direction: column; align-items: center; gap: var(--space-2); text-align: center; color: var(--ink-muted); font-size: 13px; line-height: 19px; }
.jar { width: 88px; height: 114px; }

/* Waitlist */
.wl { display: flex; flex-direction: column; gap: var(--space-3); width: 100%; max-width: 540px; margin-top: var(--space-2); }
.wl p { margin: 0; }
.wl-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.wl input[type="email"] { flex: 10 1 240px; min-width: 0; height: var(--control-lg); padding: 0 var(--space-6); border-radius: var(--radius-full); border: 1px solid var(--line-strong); background: var(--bone-raised); color: var(--ink); font: 400 17px/27px var(--font-sans); }
.wl input[type="email"]::placeholder { color: var(--ink-muted); opacity: 1; }
.wl input[type="email"]:focus-visible { border-color: var(--forest); border-radius: var(--radius-full); }
.wl input[aria-invalid="true"] { border: 2px solid var(--danger); }
.wl-row .btn { flex: 1 0 auto; height: var(--control-lg); padding: 0 var(--space-8); }
.wl-check { display: flex; align-items: flex-start; gap: var(--space-2); font-size: 13px; line-height: 19px; cursor: pointer; }
.wl-check input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--forest); }
.wl-error { display: flex; align-items: center; gap: var(--space-2); color: var(--danger); font-size: 13px; line-height: 19px; font-weight: 600; }
.wl-done { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4) var(--space-6); background: var(--forest-soft); color: var(--forest); border-radius: var(--radius-md); }
.wl-done strong { display: block; font-size: 15px; line-height: 20px; }
.wl-done span { display: block; margin-top: var(--space-1); color: var(--ink); font-size: 13px; line-height: 19px; }
[hidden] { display: none !important; }

/* Flavor cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-8) var(--space-6); margin: 0; padding: 0; list-style: none; }
.card { display: flex; flex-direction: column; gap: var(--space-4); }
.card-media { aspect-ratio: 4 / 5; border-radius: var(--radius-md); display: grid; place-items: center; }
.card-media svg { width: 52%; height: auto; }
.card-body { display: flex; flex-direction: column; gap: var(--space-1); }
.card-body p { margin: 0; }
.badge { align-self: flex-start; padding: var(--space-1) var(--space-3); border-radius: var(--radius-sm); background: var(--forest-soft); color: var(--forest); font-size: 13px; line-height: 19px; font-weight: 600; }

/* Steps */
.band-raised { background: var(--bone-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-6); }
.steps li { display: flex; flex-direction: column; gap: var(--space-1); }
.step-icon { width: 56px; height: 56px; margin-bottom: var(--space-2); border-radius: var(--radius-full); background: var(--bone-deep); color: var(--forest); display: grid; place-items: center; }
.steps .label { color: var(--ink); }
.note { display: flex; align-items: center; gap: var(--space-2); margin: var(--space-6) 0 0; padding-top: var(--space-4); border-top: 1px solid var(--line); font-size: 13px; line-height: 19px; }
.note svg { color: var(--forest); flex: none; }

/* Points */
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-12) var(--space-8); margin: 0; padding: 0; list-style: none; }
.points li { display: flex; flex-direction: column; gap: var(--space-3); }
.points p { margin: 0; }
.point-icon { width: 56px; height: 56px; border-radius: var(--radius-full); background: var(--forest-soft); color: var(--forest); display: grid; place-items: center; margin-bottom: var(--space-2); }

/* Tasting band */
.tasting { padding: 0 var(--gutter) var(--section); }
.tasting-inner { max-width: var(--page-max); margin: 0 auto; padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-lg); background: var(--forest); color: var(--on-forest); display: flex; flex-wrap: wrap; gap: var(--space-8); align-items: center; justify-content: space-between; }
.tasting-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.tasting-copy p { margin: 0; max-width: 36em; color: var(--on-forest-muted); }

/* Footer */
.footer { background: var(--forest); color: var(--on-forest); padding: clamp(48px, 6vw, 64px) var(--gutter) var(--space-8); }
.footer-top { display: flex; flex-wrap: wrap; gap: var(--space-12); justify-content: space-between; }
.footer-brand { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-brand svg { height: 41px; width: 104.66px; color: var(--on-forest); }
.footer-brand p { margin: 0; color: var(--on-forest-muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-12); }
.footer-nav div { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-nav a { color: var(--on-forest-muted); text-decoration: none; }
.footer-nav a:hover { color: var(--on-forest); text-decoration: underline; text-underline-offset: 4px; }
.footer a:focus-visible { box-shadow: var(--focus-ring-inverse); }
.legal { margin: var(--space-12) 0 0; padding-top: var(--space-6); border-top: 1px solid var(--forest-hover); color: var(--on-forest-muted); font-size: 13px; line-height: 19px; }

/* Prose pages */
.prose { max-width: var(--measure); margin: 0 auto; padding: var(--section) var(--gutter); }
.prose h1 { font-family: var(--font-display); font-size: clamp(40px, 4vw, 56px); line-height: 1.04; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 var(--space-3); }
.prose h2 { font-family: var(--font-display); font-size: 24px; line-height: 30px; font-weight: 600; margin: var(--space-12) 0 var(--space-3); }
.prose p, .prose ul { margin: 0 0 var(--space-4); }
