/* Fourteen - design system
   A white plate ringed by the fourteen allergen colours, with an ink "14" at its centre.
   Ink #1D2321 · Plate #FFFFFF · Rim #F2F5F3 · Rule #E6EAE8 - and the 14 allergen hues, always with icon + name.
   DM Serif Display (upright only - no italics anywhere) + DM Sans */
:root {
  --ink: #1D2321; --ink-hover: #343D3A; --ink-2: #3D4542; --muted: #5C6561;
  --plate: #FFFFFF; --paper: #FFFFFF; --rim: #F2F5F3; --rim-2: #E9EEEB; --rule: #E6EAE8;
  --line: #E6EAE8; --line-2: #CBD2CF;
  /* members of the 14 that double as UI signals */
  --tomato: #F2563B; --tomato-ink: #B8371E; --tomato-50: #FDE9E3;
  --saffron: #F4B740; --saffron-ink: #855800; --saffron-50: #FDF2D8;
  --ok: #22633C; --ok-50: #E6F2E9; --ok-100: #C9E3D1;
  /* allergen hues + tints used for bands, markers and the eyebrow dots */
  --h-crust: #F2563B; --h-eggs: #F4B740; --h-fish: #3E8ED0;
  --t-celery: #DCEFD2; --t-gluten: #F7E3B0; --t-crust: #FBD5CA; --t-eggs: #FFEDB8; --t-fish: #D3E6F4; --t-lupin: #E5DBF6;
  --t-milk: #E4ECF6; --t-molluscs: #D2EEE6; --t-mustard: #F9E39A; --t-sesame: #F3E8D2; --t-sulph: #F2D3DF;
  --fish-ink: #1E4E79;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r-sm: 10px; --r: 16px; --r-lg: 20px; --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(29,35,33,.05), 0 2px 8px -2px rgba(29,35,33,.07);
  --shadow: 0 2px 4px rgba(29,35,33,.04), 0 14px 32px -14px rgba(29,35,33,.18);
  --shadow-lg: 0 34px 70px -34px rgba(29,35,33,.34), 0 8px 22px -12px rgba(29,35,33,.14);
  --plate-shadow: 0 46px 70px -38px rgba(29,35,33,.42), 0 10px 26px -14px rgba(29,35,33,.16), 0 0 0 1px rgba(29,35,33,.05);
  --ease: cubic-bezier(.2,.7,.2,1);
  --wrap: 1200px;
  /* keyboard focus ring: ink on light surfaces (16:1 on white); ink panels switch to saffron below */
  --focus: var(--ink);
  /* sitekit theming - buttons are ink pills, so --sk-radius is the pill */
  --sk-bg: #fff; --sk-surface: #fff; --sk-text: var(--ink); --sk-muted: var(--muted); --sk-line: var(--line-2);
  --sk-accent: var(--ink); --sk-accent-ink: #fff; --sk-radius: 999px; --sk-font-display: var(--serif);
  --sk-danger: #B42318; --sk-success: var(--ok);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--plate); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video, canvas { max-width: 100%; display: block; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1.5px; text-decoration-color: color-mix(in srgb, var(--ink) 45%, transparent); }
a:hover { color: var(--ink); text-decoration-color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; font-style: normal; }
/* upright only: the serif never slants, even where markup says <em>/<i> */
.display em, .h1 em, .h2 em, .h3 em, .display i, .h1 i, .h2 i, .h3 i, .serif em { font-style: normal; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.live-profile, .trial-card, .banner-ink, .bulkbar, .toast, .fchip input:checked + label { --focus: var(--saffron); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 999px; }
.skip:focus { left: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 32px); margin-inline: auto; }
.serif { font-family: var(--serif); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0 } .mb-0 { margin-bottom: 0 }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.hidden, [hidden] { display: none !important; }

/* ---------------------------------------------------------------- type */
/* eyebrow: three 6px dots (crustaceans, eggs, fish), then tracked caps in ink - no dash */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 700 12.5px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.eyebrow::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--h-crust); box-shadow: 10px 0 0 var(--h-eggs), 20px 0 0 var(--h-fish); margin-right: 20px; }
.center > .eyebrow, .eyebrow.center { justify-content: center; }
.display { font-family: var(--serif); font-size: clamp(42px, 6.2vw, 92px); line-height: 1; letter-spacing: -.02em; }
.h1 { font-family: var(--serif); font-size: clamp(40px, 5.6vw, 72px); line-height: 1.03; letter-spacing: -.018em; }
.h2 { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -.015em; }
.h3 { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -.01em; }
.h4 { font-weight: 700; font-size: 19px; line-height: 1.3; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.section { padding: clamp(72px, 10vw, 136px) 0; position: relative; }
.section-tight { padding: clamp(48px, 7vw, 88px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lede { margin-top: 18px; }
.section-head.center .lede { margin-inline: auto; }
/* emphasis device: a small inline allergen chip beside a word (never a coloured italic word) */
.echip { display: inline-grid; place-items: center; width: clamp(20px, .62em, 36px); height: clamp(20px, .62em, 36px); border-radius: 50%; background: var(--tint); box-shadow: inset 0 0 0 2px var(--hue); color: var(--ink); vertical-align: .06em; margin: 0 .04em 0 .14em; }
.echip svg { width: 64%; height: 64%; }

/* ---------------------------------------------------------------- buttons: ink pills */
.btn { --bg: var(--ink); --fg: #fff; --bd: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg); font: 700 16px/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { color: var(--fg); background: var(--ink-hover); border-color: var(--ink-hover); transform: translateY(-1px); box-shadow: 0 12px 22px -14px rgba(29,35,33,.7); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .arr { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-ghost, .btn-light { --bg: #fff; --fg: var(--ink); --bd: var(--ink); }
.btn-ghost:hover, .btn-light:hover { background: var(--rim); border-color: var(--ink); color: var(--ink); box-shadow: none; }
.btn-tomato { --bg: var(--tomato-ink); --bd: var(--tomato-ink); --fg: #fff; }
.btn-tomato:hover { background: #9E2F19; border-color: #9E2F19; }
.btn-danger { --bg: #fff; --fg: var(--tomato-ink); --bd: rgba(184,55,30,.45); }
.btn-danger:hover { background: var(--tomato-50); color: var(--tomato-ink); border-color: var(--tomato-ink); box-shadow: none; }
.btn-sm { min-height: 40px; padding: 0 17px; font-size: 14.5px; }
.btn-xs { min-height: 32px; padding: 0 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--ink); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.text-link { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.text-link .arr { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.text-link:hover .arr { transform: translateX(3px); }

/* ---------------------------------------------------------------- allergen icons + chips (tint + saturated partner) */
.ai { --tint: #eee; --hue: transparent; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tint); box-shadow: inset 0 0 0 1.5px var(--hue); color: var(--ink); flex: none; }
.ai svg { width: 62%; height: 62%; }
.ai-xs { width: 22px; height: 22px; } .ai-sm { width: 26px; height: 26px; } .ai-lg { width: 56px; height: 56px; box-shadow: inset 0 0 0 2px var(--hue); } .ai-xl { width: 76px; height: 76px; box-shadow: inset 0 0 0 2.5px var(--hue); }
.achip { --tint: #eee; display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 3px 3px; border-radius: 999px; background: var(--tint); color: var(--ink); font: 600 13.5px/1.2 var(--sans); white-space: nowrap; }
.achip .ai { background: rgba(255,255,255,.7); }
.achip-may { font-weight: 500; }
span.achip-may { color: var(--ink-2); }
.achip.achip-may { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); background: repeating-linear-gradient(135deg, transparent 0 6px, color-mix(in srgb, var(--tint) 55%, transparent) 6px 8px); }
.achip.achip-may .ai { background: var(--tint); }
.achip-none { padding: 5px 12px; background: var(--ok-50); color: var(--ok); }
.achip-unknown { padding: 5px 12px; background: var(--saffron-50); color: var(--saffron-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-icons { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.mi { --tint: #eee; width: 26px; height: 26px; border-radius: 50%; background: var(--tint); box-shadow: inset 0 0 0 1.2px var(--hue, transparent); display: inline-grid; place-items: center; color: var(--ink); }
.mi svg { width: 17px; height: 17px; }
.mi-may { background: transparent; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 30%, var(--tint)); }
.mini-none { font-size: 13px; font-weight: 600; color: var(--ok); background: var(--ok-50); border-radius: 99px; padding: 3px 10px; }
.mini-unknown { font-size: 13px; font-weight: 600; color: var(--saffron-ink); background: var(--saffron-50); border-radius: 99px; padding: 3px 10px; }
/* the 14 hues as a segmented rule (footer, menu card) - always alongside the icons elsewhere on the page */
.ring-rule { display: flex; gap: 3px; height: 6px; }
.ring-rule i { flex: 1; background: var(--hue); border-radius: 1px; }
/* list bullet: a tiny plate - white centre, rim in one of the 14 hues (never a tick). Unkeyed pips cycle
   crustaceans / eggs / fish, the same three as the eyebrow dots. */
.pip { --hue: var(--h-crust); flex: none; width: 12px; height: 12px; margin-top: calc(.8em - 6px); border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3.5px var(--hue), 0 0 0 1px rgba(29,35,33,.06); }
li:nth-child(3n+2) > .pip:not([style]) { --hue: var(--h-eggs); }
li:nth-child(3n) > .pip:not([style]) { --hue: var(--h-fish); }
/* matrix dot: how the printed allergen matrix marks a cell */
.mdot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); vertical-align: middle; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.scrolled { border-bottom-color: var(--rule); background: rgba(255,255,255,.95); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo img { height: 32px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav-login { padding: 9px 13px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; transition: background .2s; }
.nav > a:hover, .nav-login:hover { background: var(--rim); color: var(--ink); }
.nav > a[aria-current="page"] { background: var(--rim); font-weight: 700; box-shadow: inset 0 0 0 1px var(--rule); }
.nav-cta { display: inline-flex; gap: 6px; align-items: center; margin-left: 10px; }
/* mobile menu button: a tiny printed menu card - never a pill, an outline box or a three-line icon. The 14-hue rule
   across its top edge, "Menu" in the serif, a dotted leader (Fourteen's in the group) to a small plate ringed by the
   fourteen. Open, the card sits down, the plate turns one segment and an ink cross lies on it. */
.nav-toggle { display: none; position: relative; margin-left: auto; min-width: 44px; height: 44px; padding: 4px 10px 0 13px; gap: 7px; align-items: center; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; background: #fff; color: var(--ink); cursor: pointer; box-shadow: 0 1px 0 rgba(29,35,33,.05), 0 10px 18px -12px rgba(29,35,33,.42); transition: transform .2s var(--ease), box-shadow .2s; }
.nav-toggle:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(29,35,33,.05), 0 14px 22px -12px rgba(29,35,33,.48); }
.nav-toggle:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.nt-rule { position: absolute; left: 0; right: 0; top: 0; height: 4px; gap: 1px; }
.nt-rule i { border-radius: 0; }
.nt-word { font: 400 19px/1 var(--serif); letter-spacing: .005em; }
.nt-leader { width: 16px; height: 2px; margin-top: 8px; background: radial-gradient(circle, var(--ink) 0 .9px, transparent 1.3px) 0 50% / 4px 2px repeat-x; transition: opacity .2s; }
.nt-plate { position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; }
.nt-ring { position: absolute; inset: 0; display: block; width: 100%; height: 100%; transition: transform .35s var(--ease); }
.nt-plate i::before, .nt-plate i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 2px; margin: -1px 0 0 -4.5px; border-radius: 2px; background: var(--ink); transform: rotate(45deg) scaleX(0); transition: transform .25s var(--ease); }
.nt-plate i::after { transform: rotate(-45deg) scaleX(0); }
.nav-toggle[aria-expanded="true"] { transform: translateY(1px); box-shadow: 0 1px 0 rgba(29,35,33,.05), 0 4px 8px -6px rgba(29,35,33,.35); }
.nav-toggle[aria-expanded="true"] .nt-leader { opacity: .35; }
.nav-toggle[aria-expanded="true"] .nt-ring { transform: rotate(25.714deg); }
.nav-toggle[aria-expanded="true"] .nt-plate i::before { transform: rotate(45deg) scaleX(1); }
.nav-toggle[aria-expanded="true"] .nt-plate i::after { transform: rotate(-45deg) scaleX(1); }
/* the menu button takes over below 1100px: the full "Build my allergen menu free" pill needs the room */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 22px; background: #fff; border-bottom: 1px solid var(--rule); box-shadow: 0 30px 40px -30px rgba(0,0,0,.25); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .25s; max-height: calc(100vh - 72px); overflow: auto; }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav > a { padding: 14px 12px; font-size: 18px; border-radius: 999px; }
  .nav-cta { margin: 12px 0 0; display: grid; grid-template-columns: 1fr; gap: 8px; width: 100%; max-width: 480px; }
  .nav-cta .btn { order: -1; }
  .nav-cta .btn, .nav-cta .nav-login { justify-content: center; text-align: center; min-height: 48px; padding: 14px; border: 1.5px solid var(--ink); }
}

/* ---------------------------------------------------------------- footer: white, under a rule of the 14 hues */
.site-footer { background: #fff; color: var(--ink-2); padding: 0 0 28px; margin-top: 0; }
.site-footer .ring-rule { margin-bottom: 64px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand img { height: 34px; width: auto; margin-bottom: 18px; }
.foot-brand p { max-width: 36ch; color: var(--ink-2); font-size: 15px; }
.foot-brand .foot-mail a { font-weight: 700; border-bottom: 1.5px solid var(--ink); }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.site-footer h2 { font: 700 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.foot-legal { border-top: 1px solid var(--rule); margin-top: 52px; padding-top: 22px; font-size: 13px; color: var(--muted); }
.foot-legal p { margin: 0 0 6px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- cards + surfaces */
.card { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.card-flat { background: #fff; border: 1px solid var(--rule); border-radius: var(--r); padding: 20px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--sans); letter-spacing: .04em; padding: 6px 10px; border-radius: 999px; background: var(--rim-2); color: var(--ink); }
.tag-saffron { background: var(--saffron-50); color: var(--saffron-ink); }
.tag-tomato { background: var(--tomato-50); color: var(--tomato-ink); }
.tag-ink { background: var(--ink); color: #fff; }
.note { border-left: 3px solid var(--saffron); background: var(--saffron-50); border-radius: 0 12px 12px 0; padding: 14px 16px; font-size: 15px; color: var(--ink-2); }
.note-basil, .note-ok { border-color: var(--ok); background: var(--ok-50); }
.note-tomato { border-color: var(--tomato); background: var(--tomato-50); }
.note p:last-child { margin: 0; }

/* ---------------------------------------------------------------- reveal motion */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- HOME: hero - centred: headline, the plate, the CTAs */
.hero { position: relative; }
.hero-track { height: 230vh; position: relative; }
.hero-sticky { position: sticky; top: 72px; height: calc(100vh - 72px); min-height: 600px; display: flex; align-items: center; overflow: hidden; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 0 16px; }
.hero-head .eyebrow { margin-bottom: 14px; }
.hero-head .display { margin: 0; font-size: clamp(38px, 4.75vw, 70px); line-height: 1.02; }
.hero-head .lede { margin: 12px auto 0; max-width: 80ch; font-size: clamp(17px, 1.35vw, 19px); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.hero-meta { margin: 14px 0 0; display: flex; gap: 10px 18px; flex-wrap: wrap; justify-content: center; font-size: 14px; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dot, var(--h-crust)); }
.hero-meta span:nth-child(2) { --dot: var(--h-eggs); } .hero-meta span:nth-child(3) { --dot: var(--h-fish); }
/* the stage is square; the plate takes 75% of it and the chips orbit just outside its rim */
.stage { position: relative; width: min(100%, clamp(340px, calc(100vh - 376px), 590px)); aspect-ratio: 1 / 1; margin: 16px auto 18px; }
.plate { position: absolute; left: 50%; top: 50%; width: 75%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 38% 32%, #fff 0%, #fff 52%, #F3F6F4 100%); box-shadow: var(--plate-shadow); display: grid; place-items: center; container-type: inline-size; will-change: transform, opacity; }
.plate-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate-ring path { transform-origin: 50px 50px; }
.plate-well { position: absolute; inset: 21%; border-radius: 50%; background: radial-gradient(circle at 42% 36%, #fff, #F6F8F7); box-shadow: inset 0 3px 12px rgba(29,35,33,.09), 0 0 0 1px rgba(29,35,33,.04); }
.plate-num { position: relative; font-family: var(--serif); font-size: 112px; font-size: 33cqi; line-height: .9; color: var(--ink); letter-spacing: -.035em; text-align: center; padding-top: .04em; }
.plate-num small { display: block; font: 700 11px/1 var(--sans); font-size: max(9px, 2.6cqi); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: .9em; padding-left: .24em; }
.js .plate-ring path { animation: segIn .7s var(--ease) both; animation-delay: calc(.25s + var(--i) * .055s); }
@keyframes segIn { from { opacity: 0; transform: rotate(-9deg) scale(.94); } to { opacity: 1; transform: none; } }
.orbit-chip { position: absolute; width: 8.6%; aspect-ratio: 1; margin: -4.3% 0 0 -4.3%; border-radius: 50%; background: var(--tint); box-shadow: inset 0 0 0 2px var(--hue), 0 10px 20px -12px rgba(29,35,33,.5); display: grid; place-items: center; color: var(--ink); will-change: transform; z-index: 3; }
.orbit-chip svg { width: 60%; height: 60%; }
.orbit-chip .lbl { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 5px; font: 600 11px/1 var(--sans); color: var(--ink-2); white-space: nowrap; opacity: var(--lbl, 0); pointer-events: none; }
.orbit-chip.up .lbl { top: auto; bottom: 100%; margin: 0 0 5px; }
.matrix-card { position: absolute; left: 50%; top: 50%; width: 100%; transform: translate(-50%, -50%); background: #fff; border-radius: 22px; border: 1px solid var(--rule); box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; will-change: opacity, transform; text-align: left; }
.mx-title { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 20px 0; }
.mx-title strong { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.mx-title span { font-size: 12px; color: var(--muted); }
.mx-row { position: absolute; left: 0; right: 0; display: flex; align-items: center; height: var(--rh, 44px); border-top: 1px solid var(--rule); }
.mx-row .dn { position: absolute; left: 20px; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mx-dot { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; top: 50%; border-radius: 50%; display: grid; place-items: center; transform: scale(0); transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
.mx-dot.on { transform: scale(1); }
/* as on the printed matrix: "contains" is a solid ink dot (never a tick), "may contain" a saffron ring with ~ */
.mx-dot.c { background: var(--ink); }
.mx-dot.m { box-shadow: inset 0 0 0 2px var(--saffron); color: var(--saffron-ink); font-weight: 800; font-size: 13px; }
.mx-key { position: absolute; left: 0; right: 0; bottom: 0; height: 34px; padding: 0 20px; display: flex; gap: 16px; align-items: center; border-top: 1px solid var(--rule); font: 600 11.5px/1 var(--sans); color: var(--muted); }
.mx-key span { display: inline-flex; align-items: center; gap: 6px; }
.mx-key i { flex: none; border-radius: 50%; font-style: normal; }
.mx-key i.c { width: 10px; height: 10px; background: var(--ink); }
.mx-key i.m { width: 15px; height: 15px; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--saffron); color: var(--saffron-ink); font: 800 10px/1 var(--sans); }
@media (max-width: 900px) {
  .hero-track { height: auto; }
  .hero-sticky { position: relative; top: 0; height: auto; min-height: 0; padding: 0; }
  .hero-inner { padding: 22px 0 36px; }
  .stage { width: min(100%, 440px); }
}
@media (max-width: 560px) {
  .hero-head .eyebrow { flex-direction: column; gap: 10px; font-size: 11.5px; }
  .hero-head .eyebrow::before { margin: 0; transform: translateX(-10px); }
  .hero-head .display { font-size: clamp(36px, 10.4vw, 46px); }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .hero-meta { font-size: 13px; }
}
/* Without JS, or with reduced motion, nothing moves on scroll - so no tall scroll track or pinned stage */
html:not(.js) .hero-track { height: auto; }
html:not(.js) .hero-sticky { position: relative; top: 0; height: auto; min-height: 0; }
html:not(.js) .hero-inner { padding: clamp(28px, 5vw, 64px) 0; }
@media (prefers-reduced-motion: reduce) {
  .hero-track { height: auto; }
  .hero-sticky { position: relative; top: 0; height: auto; min-height: 0; }
  .hero-inner { padding: clamp(28px, 5vw, 64px) 0; }
  .js .plate-ring path { animation: none; }
}

/* ---------------------------------------------------------------- HOME: demo (on the rim tint) */
.demo { background: var(--rim); }
.demo-shell { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.demo-filter { position: sticky; top: 96px; }
.demo-filter h3 { font: 700 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { position: relative; }
.fchip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.fchip label { display: inline-flex; align-items: center; gap: 7px; padding: 4px 13px 4px 4px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line-2); font: 600 14px/1.2 var(--sans); cursor: pointer; transition: all .2s var(--ease); user-select: none; }
.fchip label .ai { width: 28px; height: 28px; }
.fchip input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(29,35,33,.6); }
.fchip input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 2px; }
.fchip label:hover { border-color: var(--ink); }
.demo-count { margin-top: 22px; font-size: 15px; color: var(--ink-2); min-height: 48px; }
.demo-count strong { font-family: var(--serif); font-weight: 400; font-size: 36px; color: var(--ink); display: block; line-height: 1; margin-bottom: 4px; }
.demo-reset { margin-top: 8px; }
.dish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.dish-card { position: relative; background: #fff; border-radius: var(--r-lg); padding: 12px 12px 16px; border: 1px solid var(--rule); transition: transform .45s var(--ease), opacity .45s var(--ease), box-shadow .3s, filter .45s; }
.dish-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.dish-art { position: relative; aspect-ratio: 4/3; border-radius: 14px; background: var(--rim); display: grid; place-items: center; overflow: hidden; margin-bottom: 12px; }
.dish-art .d-price { position: absolute; top: 10px; right: 10px; background: #fff; color: var(--ink); font: 700 13px/1 var(--sans); padding: 6px 9px; border-radius: 99px; box-shadow: var(--shadow-sm); }
.dish-art img { width: 82%; height: auto; transition: transform .6s var(--ease); }
.dish-card:hover .dish-art img { transform: rotate(-6deg) scale(1.04); }
.dish-card h4 { font: 700 16.5px/1.25 var(--sans); margin: 0 4px 4px; }
.dish-card p { font-size: 14px; color: var(--muted); margin: 0 4px 10px; }
.dish-card .mini-icons { margin: 0 4px; }
.dish-card .mini-icons .mi { width: 24px; height: 24px; }
.dish-card .verdict { display: none; margin: 10px 4px 0; font: 700 13px/1.3 var(--sans); padding: 7px 10px; border-radius: 10px; }
.dish-card.is-bad { opacity: .55; filter: saturate(.4); }
.dish-card.is-bad .verdict { display: block; background: var(--tomato-50); color: var(--tomato-ink); }
.dish-card.is-may .verdict { display: block; background: var(--saffron-50); color: var(--saffron-ink); }
.dish-card.is-ok .verdict { display: block; background: var(--ok-50); color: var(--ok); }
@media (max-width: 900px) { .demo-shell { grid-template-columns: 1fr; } .demo-filter { position: static; } }
@media (max-width: 560px) { .dish-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .dish-card { padding: 8px 8px 12px; border-radius: 16px; } .dish-card h4 { font-size: 14.5px; } .dish-card p { display: none; } .dish-art .d-price { top: 6px; right: 6px; font-size: 11.5px; padding: 5px 7px; } .dish-card .mini-icons .mi { width: 21px; height: 21px; } .dish-card .mini-icons .mi svg { width: 14px; height: 14px; } }

/* ---------------------------------------------------------------- HOME: stats - a pastel band (fish tint), never a dark one */
.stats { background: var(--t-fish); color: var(--ink); overflow: hidden; position: relative; }
.stats .h2 { color: var(--ink); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.stat { background: #fff; border-radius: var(--r-lg); padding: 26px 24px 24px; box-shadow: 0 18px 36px -28px rgba(30,78,121,.6); }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.4vw, 58px); line-height: 1; color: var(--ink); letter-spacing: -.02em; margin-bottom: 14px; }
.stat b em { color: var(--fish-ink); font-style: normal; }
.stat p { font-size: 15px; color: var(--ink-2); margin: 0 0 12px; }
.stat cite { font-style: normal; font-size: 12.5px; color: var(--muted); }
.stat cite a { color: var(--ink-2); }
@media (max-width: 900px) { .stat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stat-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- HOME: formats */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.format { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.format:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.format-vis { height: 300px; position: relative; overflow: hidden; display: grid; place-items: center; }
.format-body { padding: 24px 26px 28px; }
.format-body h3 { margin-bottom: 8px; }
.format-body p { color: var(--muted); font-size: 15.5px; margin: 0; }
.fv-qr { background: var(--t-lupin); }
.fv-matrix { background: var(--t-eggs); }
.fv-sign { background: var(--t-crust); }
.phone { width: 176px; height: 330px; border-radius: 30px; background: var(--ink); padding: 8px; box-shadow: 0 30px 50px -20px rgba(0,0,0,.45); transform: translateY(40px) rotate(-4deg); transition: transform .6s var(--ease); }
.format:hover .phone { transform: translateY(26px) rotate(-1deg); }
.phone-screen { width: 100%; height: 100%; border-radius: 23px; background: #fff; overflow: hidden; font-size: 9px; }
.ps-head { background: var(--ink); color: #fff; padding: 22px 12px 10px; font-family: var(--serif); font-size: 15px; }
.ps-warn { margin: 8px; padding: 6px 8px; border-radius: 8px; background: var(--saffron-50); color: var(--saffron-ink); font-weight: 700; font-size: 8px; line-height: 1.3; }
.ps-chips { display: flex; flex-wrap: wrap; gap: 3px; padding: 0 8px 6px; }
.ps-chips i { width: 18px; height: 18px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; }
.ps-chips i svg { width: 12px; height: 12px; }
.ps-chips i.on { box-shadow: 0 0 0 1.5px var(--ink); }
.ps-dish { margin: 0 8px 6px; padding: 8px; border-radius: 10px; background: var(--rim); }
.ps-dish b { display: block; font-size: 9.5px; margin-bottom: 4px; }
.ps-dish.bad { opacity: .45; }
.ps-dish .chips { gap: 3px; }
.ps-dish .chips i { width: 14px; height: 14px; border-radius: 50%; background: var(--tint); display: inline-grid; place-items: center; }
.ps-dish .chips i svg { width: 10px; height: 10px; }
.paper { background: #fff; box-shadow: 0 30px 50px -24px rgba(0,0,0,.35); transition: transform .6s var(--ease); }
.paper-a4l { width: 300px; height: 212px; padding: 12px; transform: rotate(3deg) translateY(10px); }
.format:hover .paper-a4l { transform: rotate(0) translateY(0) scale(1.03); }
.pm-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-family: var(--serif); font-size: 13px; }
.pm-h small { font: 600 6px/1 var(--sans); color: var(--muted); }
.pm-grid { display: grid; grid-template-columns: 62px repeat(14, 1fr); gap: 2px; align-items: center; }
.pm-grid i { height: 13px; display: grid; place-items: center; border-radius: 50%; }
.pm-grid i.h { background: var(--tint); box-shadow: inset 0 0 0 1px var(--hue, transparent); }
.pm-grid i.h svg { width: 9px; height: 9px; }
.pm-grid i.c::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.pm-grid i.m::after { content: ""; width: 6px; height: 6px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--saffron); }
.pm-grid span { font-size: 6.5px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.pm-key { display: flex; gap: 10px; margin-top: 7px; font: 600 6.5px/1 var(--sans); color: var(--muted); }
.pm-key span { display: inline-flex; align-items: center; gap: 3px; }
.pm-key i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.pm-key i.m { width: 6px; height: 6px; background: none; box-shadow: inset 0 0 0 1.5px var(--saffron); }
.pm-sec { grid-column: 1 / -1; font: 700 6px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-top: 4px; }
.paper-sign { width: 190px; height: 262px; padding: 18px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; transform: rotate(-3deg) translateY(16px); border-top: 10px solid var(--ink); }
.format:hover .paper-sign { transform: rotate(0) translateY(6px) scale(1.03); }
.paper-sign b { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.05; margin-bottom: 6px; }
.paper-sign p { font-size: 8.5px; color: var(--ink-2); margin: 0 0 10px; }
.paper-sign .qr-mini { width: 74px; height: 74px; }
.paper-sign .row14 { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; margin-top: 12px; }
.paper-sign .row14 i { width: 13px; height: 13px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; }
.paper-sign .row14 i svg { width: 9px; height: 9px; }
@media (max-width: 960px) { .formats { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------------------------------------------------------------- HOME: steps (the eyebrow's three hues), features */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { --tint: var(--t-crust); --hue: var(--h-crust); position: relative; padding: 30px 26px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--rule); }
.step:nth-child(2) { --tint: var(--t-eggs); --hue: var(--h-eggs); }
.step:nth-child(3) { --tint: var(--t-fish); --hue: var(--h-fish); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--tint); box-shadow: inset 0 0 0 2px var(--hue); color: var(--ink); font: 400 23px/1 var(--serif); margin-bottom: 20px; }
.step h3 { font: 700 20px/1.3 var(--sans); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }
.step .time { position: absolute; top: 30px; right: 26px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r-xl); overflow: hidden; }
.feature { background: #fff; padding: 30px 28px; transition: background .3s; }
.feature:hover { background: var(--rim); }
.ficon { --tint: var(--rim-2); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--ink); }
.feature .ficon { margin-bottom: 18px; }
.feature:nth-child(6n+1) .ficon { --tint: var(--t-celery); } .feature:nth-child(6n+2) .ficon { --tint: var(--t-fish); } .feature:nth-child(6n+3) .ficon { --tint: var(--t-lupin); }
.feature:nth-child(6n+4) .ficon { --tint: var(--t-eggs); } .feature:nth-child(6n+5) .ficon { --tint: var(--t-crust); } .feature:nth-child(6n) .ficon { --tint: var(--t-molluscs); }
.ficon svg { width: 24px; height: 24px; }
.feature h3 { font: 700 18px/1.3 var(--sans); margin-bottom: 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- pricing: a café menu card with dotted leaders */
.billing-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; border: 1.5px solid var(--ink); gap: 2px; margin-bottom: 30px; }
.billing-toggle button { border: 0; background: transparent; min-height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 15px; cursor: pointer; color: var(--ink-2); }
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.billing-toggle .save { display: inline-block; font-size: 11.5px; line-height: 1; padding: 4px 8px; border-radius: 999px; background: var(--t-eggs); color: var(--ink); margin-left: 6px; vertical-align: 1px; }
.pricing-hero { padding-bottom: clamp(28px, 4vw, 44px); }
.page-hero.pricing-hero .h1 { max-width: 27ch; }
.menu-board { background: var(--rim); padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); }
.menu-card { position: relative; max-width: 880px; margin: 0 auto; background: #fff; border-radius: 6px; box-shadow: 0 1px 0 rgba(29,35,33,.06), 0 40px 80px -46px rgba(29,35,33,.45), 0 10px 26px -18px rgba(29,35,33,.2); padding: clamp(28px, 5vw, 60px) clamp(20px, 5vw, 64px) clamp(28px, 4vw, 48px); text-align: left; }
.menu-card > .ring-rule { position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 6px 6px 0 0; overflow: hidden; gap: 2px; }
.mc-head { text-align: center; padding-bottom: 22px; margin-bottom: 8px; border-bottom: 1.5px solid var(--ink); }
.mc-head img { width: 44px; height: 44px; margin: 0 auto 10px; }
.mc-head h2 { font: 400 clamp(30px, 3.4vw, 40px)/1.05 var(--serif); }
.mc-head p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; }
.mc-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 18px; padding: 28px 0 30px; border-bottom: 1px solid var(--rule); }
.mc-item:last-of-type { border-bottom: 0; }
.mc-chip { grid-row: 1 / span 3; width: 48px; height: 48px; border-radius: 50%; background: var(--tint); box-shadow: inset 0 0 0 2px var(--hue); display: grid; place-items: center; color: var(--ink); margin-top: 2px; }
.mc-chip svg { width: 24px; height: 24px; }
.mc-line { display: flex; align-items: baseline; gap: 12px; }
.mc-line h3 { font: 400 clamp(28px, 3vw, 36px)/1.05 var(--serif); white-space: nowrap; display: flex; align-items: baseline; gap: 10px; }
.mc-line .tag { align-self: center; flex: none; }
.mc-line, .mc-alt, .mc-desc { grid-column: 2; }
.mc-lead { flex: 1; min-width: 24px; height: .9em; background-image: radial-gradient(circle, var(--ink) 1.3px, transparent 1.6px); background-size: 9px 9px; background-repeat: repeat-x; background-position: left bottom; opacity: .55; }
.mc-price { text-align: right; white-space: nowrap; }
.mc-price b { font: 400 clamp(32px, 3.4vw, 42px)/1 var(--serif); letter-spacing: -.01em; }
.mc-price small { font-size: 14px; color: var(--muted); margin-left: 4px; }
.mc-alt { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); text-align: right; min-height: 18px; margin-top: 2px; }
.mc-desc { color: var(--ink-2); font-size: 16px; margin: 6px 0 0; max-width: 56ch; }
.mc-body { grid-column: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 16px; }
.mc-body > .btn, .mc-body > form { justify-self: end; }
.mc-body ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; font-size: 15px; }
.mc-body li { display: flex; gap: 9px; align-items: flex-start; color: var(--ink-2); }
.mc-body form { margin: 0; }
.mc-foot { margin: 6px 0 0; padding-top: 18px; border-top: 1.5px solid var(--ink); text-align: center; font-size: 13.5px; color: var(--muted); }
@media (max-width: 760px) {
  .mc-item { grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; }
  .mc-chip { width: 40px; height: 40px; } .mc-chip svg { width: 20px; height: 20px; }
  .mc-body { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .mc-body ul { grid-template-columns: 1fr; }
  .mc-body .btn, .mc-body > form { width: 100%; }
  .mc-price small { display: block; margin: 4px 0 0; }
  .mc-desc, .mc-alt { grid-column: 1 / -1; }
  .mc-line .tag { display: none; }
}
/* account (in-app) plan cards: white, topped and chipped in the plan's hue, as on the pricing menu card */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: stretch; margin-top: 20px; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 30px 26px 26px; overflow: hidden; }
.plan::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--hue, var(--ink)); }
.plan.featured { border-color: var(--ink); box-shadow: var(--shadow); }
.plan .ribbon { position: absolute; top: 5px; right: 0; background: var(--ink); color: #fff; font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px 7px; border-radius: 0 0 0 12px; }
.plan-top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.plan-chip { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--tint); box-shadow: inset 0 0 0 2px var(--hue); display: grid; place-items: center; color: var(--ink); }
.plan-chip svg { width: 20px; height: 20px; }
.plan h3 { font: 400 30px/1.05 var(--serif); margin: 0; }
.plan-desc { color: var(--muted); font-size: 15px; min-height: 48px; margin: 0; }
.plan-price { margin: 16px 0 20px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan-price b { font: 400 48px/1 var(--serif); letter-spacing: -.02em; }
.plan-price small { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.plan > form, .plan > .btn { margin-top: auto; }
.plan .btn { width: 100%; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .compare { font-size: 14px; } .compare th, .compare td { padding: 12px 8px; } .compare th:first-child, .compare td:first-child { padding-left: 14px; } }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--rule); }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--rule); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-weight: 700; background: var(--rim); }
.compare .dash { display: inline-block; width: 16px; height: 0; border-top: 2px solid var(--line-2); border-radius: 1px; vertical-align: middle; }  /* "not included": a drawn rule, not a dash glyph */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); }

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--rule); border-radius: var(--r); padding: 0 22px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--rim); display: grid; place-items: center; font: 400 20px/1 var(--sans); transition: transform .3s var(--ease), background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--t-eggs); }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); font-size: 16px; }
.faq details > div p:last-child { margin: 0; }

/* ---------------------------------------------------------------- closing band: the brand's object - the plate - on an egg-yellow tint */
.closing { background: var(--t-eggs); text-align: center; padding: clamp(64px, 9vw, 112px) 0; }
.closing-plate { position: relative; width: 132px; aspect-ratio: 1; margin: 0 auto 26px; border-radius: 50%; background: #fff; box-shadow: 0 26px 40px -24px rgba(133,88,0,.55), 0 0 0 1px rgba(29,35,33,.05); display: grid; place-items: center; }
.closing-plate .plate-ring { position: absolute; inset: 0; }
.closing-plate b { position: relative; font: 400 44px/1 var(--serif); letter-spacing: -.03em; padding-top: 4px; }
.closing .h2 { max-width: 18ch; margin-inline: auto; }
.closing p { color: var(--ink-2); font-size: 18px; margin: 16px auto 0; max-width: 52ch; }
.closing .btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.promise { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.promise-list { display: grid; gap: 16px; }
.promise-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); }
.promise-item .ai, .promise-item .ficon { flex: none; }
.promise-item .ficon { width: 48px; height: 48px; }
.promise-item:nth-child(3n+1) .ficon { --tint: var(--t-crust); } .promise-item:nth-child(3n+2) .ficon { --tint: var(--t-eggs); } .promise-item:nth-child(3n) .ficon { --tint: var(--t-fish); }
.promise-item h3 { font: 700 17px/1.3 var(--sans); margin-bottom: 4px; }
.promise-item p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .promise { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- page hero (inner pages) */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(36px, 5vw, 60px); }
.page-hero .h1 { max-width: 17ch; margin-bottom: 20px; }
.page-hero .lede { max-width: 62ch; }
.page-hero.center { text-align: center; }
.page-hero.center .h1, .page-hero.center .lede { margin-inline: auto; }

/* allergen guide */
.a-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.a-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 24px; position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.a-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.a-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: var(--tint); opacity: .7; }
.a-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--hue); z-index: 2; }
.a-card .ai { position: relative; z-index: 1; margin-bottom: 18px; }
.a-card h2 { font-family: var(--serif); font-size: 26px; margin-bottom: 8px; position: relative; z-index: 1; }
.a-card p { font-size: 15px; color: var(--ink-2); margin: 0; position: relative; z-index: 1; }
.a-card .num { position: absolute; right: 18px; top: 18px; z-index: 1; font: 400 18px/1 var(--serif); color: var(--ink-2); }
.prose { font-size: 17.5px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); color: var(--ink); line-height: 1.12; margin: 56px 0 16px; }
.prose h3 { font: 700 20px/1.3 var(--sans); color: var(--ink); margin: 32px 0 10px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose .source { font-size: 14px; color: var(--muted); }
.prose blockquote { margin: 24px 0; padding: 18px 22px; background: var(--rim); border-left: 4px solid var(--ink); border-radius: 0 var(--r) var(--r) 0; font-size: 18px; color: var(--ink); }
.toc { position: sticky; top: 96px; display: grid; gap: 4px; font-size: 15px; }
.toc a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); text-decoration: none; }
.toc a:hover { background: var(--rim); color: var(--ink); }
.with-toc { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .with-toc { grid-template-columns: 1fr; } .toc { position: static; display: none; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- forms */
.form-grid { display: grid; gap: 18px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field > span, .field > label, .label { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.field .hint { font-size: 13.5px; color: var(--muted); font-weight: 400; }
.input, .field input[type=text], .field input[type=email], .field input[type=password], .field input[type=tel], .field input[type=number], .field input[type=date], .field input[type=search], .field input:not([type]), .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-size: 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; min-height: 50px; }
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(29,35,33,.12); }
.field.has-error input, .field.has-error select, .field.has-error textarea, .input.has-error { border-color: var(--tomato-ink); box-shadow: 0 0 0 4px rgba(242,86,59,.12); }
.field-error { color: var(--tomato-ink); font-size: 14px; font-weight: 600; margin: 2px 0 0; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check-row input { width: 20px; height: 20px; accent-color: var(--ink); margin-top: 2px; flex: none; }
.none-row, .qa-none { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--rim); border: 1px solid var(--rule); }
.none-row.has-error { border-color: var(--tomato); background: var(--tomato-50); }
.input-prefix { position: relative; }
.input-prefix > b { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--muted); pointer-events: none; }
.input-prefix input { padding-left: 30px !important; }
.colour-pick { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch span { display: block; width: 38px; height: 38px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); transition: transform .2s; }
.swatch input:checked + span { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); transform: scale(1.05); }
.swatch input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 4px; }
.colour-custom { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.colour-custom input[type=color] { width: 42px; height: 38px; border: 1px solid var(--line-2); border-radius: 10px; padding: 2px; background: #fff; }
.file-drop { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1.5px dashed var(--line-2); border-radius: 14px; background: #fff; }
.file-drop img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: var(--rim); }
.cat-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.cat-checks label { display: flex; gap: 10px; align-items: center; padding: 11px 13px; border-radius: 12px; background: #fff; border: 1.5px solid var(--rule); cursor: pointer; font-size: 15px; font-weight: 600; transition: border-color .15s; }
.cat-checks label:hover { border-color: var(--line-2); }
.cat-checks input { width: 18px; height: 18px; accent-color: var(--ink); }
.cat-checks small { margin-left: auto; color: var(--muted); font-weight: 500; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; font-weight: 700; font-size: 15px; margin-bottom: 10px; }

/* auth pages: the side panel is an egg-yellow band with the fourteen chips, not a dark slab */
.auth { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--t-eggs); color: var(--ink); padding: clamp(36px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-side .h2 { color: var(--ink); max-width: 13ch; margin-bottom: 20px; position: relative; z-index: 1; }
.auth-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: 16px; position: relative; z-index: 1; max-width: 32ch; }
.auth-side li { display: flex; gap: 10px; color: var(--ink-2); }
.auth-side .eyebrow { position: relative; z-index: 1; }
.auth-ring { position: absolute; right: -120px; bottom: -120px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; opacity: .95; transform: rotate(-12deg); }
.auth-ring .ai { width: 54px; height: 54px; box-shadow: inset 0 0 0 2px var(--hue), 0 10px 18px -12px rgba(133,88,0,.6); }
.auth-main { display: grid; place-items: center; padding: 40px 16px; }
.auth-card { width: min(440px, 100%); }
.auth-card h1 { font-family: var(--serif); font-size: clamp(34px, 4vw, 46px); line-height: 1.05; margin-bottom: 8px; }
.auth-card .sub { color: var(--muted); margin-bottom: 26px; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; font-size: 15px; flex-wrap: wrap; }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* sitekit components inside our pages */
.sk-wrap { padding-top: clamp(40px, 8vw, 96px); }
.sk-card { border-radius: var(--r-xl); background: #fff; }
.sk-btn { border-radius: 999px; }
.sk-legal { color: var(--ink-2); }
.sk-legal h1, .sk-legal h2 { color: var(--ink); }
.sk-flashes .sk-alert { font-weight: 600; }

/* ---------------------------------------------------------------- toasts */
.toast-region { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 9999; display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 999px; box-shadow: 0 20px 40px -16px rgba(0,0,0,.5); font-weight: 600; font-size: 15px; animation: toastIn .35s var(--ease); display: flex; gap: 10px; align-items: center; }
.toast .tick { width: 18px; height: 18px; color: var(--saffron); flex: none; }
.toast.error { background: var(--tomato-ink); }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

/* ================================================================= APP SHELL */
.app-body { background: var(--rim); }
.app-top { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.app-top-inner { display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 20px; }
.app-top .logo img { height: 28px; }
.venue-switch { position: relative; }
.venue-switch summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; font-weight: 700; font-size: 15px; max-width: 280px; background: #fff; }
.venue-switch summary::-webkit-details-marker { display: none; }
.venue-switch summary .vdot { width: 26px; height: 26px; border-radius: 8px; background: var(--vc, var(--ink)); flex: none; display: grid; place-items: center; overflow: hidden; }
.venue-switch summary .vdot img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.venue-switch summary .vname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.venue-switch summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-2px); margin-left: 2px; flex: none; }
.venue-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 80; }
.venue-menu a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.venue-menu a:hover { background: var(--rim); }
.venue-menu a[aria-current="true"] { background: var(--rim-2); color: var(--ink); font-weight: 700; }
.venue-menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.app-top .top-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.plan-badge { display: inline-flex; align-items: center; font: 800 11.5px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 8px; background: var(--rim-2); color: var(--ink-2); text-decoration: none; }
.plan-badge.plan-pro { background: var(--ink); color: var(--saffron); }
.plan-badge.plan-starter { background: var(--t-fish); color: var(--fish-ink); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; text-decoration: none; font-size: 15px; }
.avatar:hover { color: #fff; background: var(--ink-hover); }
.app-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: calc(100vh - 64px); }
.app-shell.no-side { grid-template-columns: minmax(0, 1fr); }
.app-side { border-right: 1px solid var(--line); background: #fff; padding: 18px 12px; position: sticky; top: 64px; height: calc(100vh - 64px); overflow: auto; display: flex; flex-direction: column; }
.app-side a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; margin-bottom: 2px; transition: background .15s, color .15s; }
.app-side a svg { width: 20px; height: 20px; flex: none; }
.app-side a:hover { background: var(--rim); color: var(--ink); }
.app-side a[aria-current="page"] { background: var(--ink); color: #fff; }
.app-side .side-label { font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 18px 12px 8px; }
.app-side .lock { margin-left: auto; font: 800 10px/1 var(--sans); letter-spacing: .06em; padding: 4px 6px; border-radius: 6px; background: var(--rim-2); color: var(--muted); text-transform: uppercase; }
.app-side .count { margin-left: auto; font: 800 11px/1 var(--sans); padding: 4px 7px; border-radius: 99px; background: var(--tomato); color: #fff; }
.side-foot { margin-top: auto; padding: 14px 12px 4px; }
.trial-card { padding: 14px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14px; }
.trial-card b { color: var(--saffron); }
.trial-card a { color: #fff; font-weight: 700; }
.app-main { padding: clamp(18px, 3vw, 36px) clamp(16px, 3vw, 40px) 120px; min-width: 0; }
.app-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.app-head h1 { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; letter-spacing: -.01em; }
.app-head p { margin: 6px 0 0; color: var(--muted); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 2.4vw, 26px); margin-bottom: 18px; }
.panel h2 { font: 700 18px/1.3 var(--sans); margin-bottom: 4px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.kpi .l { font-size: 13px; color: var(--muted); font-weight: 600; }
.kpi .v { font-family: var(--serif); font-size: 34px; line-height: 1.1; margin-top: 4px; }
.kpi .v small { font: 600 14px/1 var(--sans); color: var(--muted); }
.kpi .s { font-size: 13px; color: var(--muted); margin-top: 2px; }
.kpi.warn .v { color: var(--saffron-ink); }
.meter { height: 6px; border-radius: 99px; background: var(--rim-2); overflow: hidden; margin-top: 10px; }
.meter i { display: block; height: 100%; border-radius: 99px; background: var(--ink); }
.meter.hot i { background: var(--tomato); }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.qr-panel { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.qr-box { width: 112px; height: 112px; padding: 9px; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.qr-box svg { width: 100%; height: 100%; }
.copy-field { display: flex; gap: 8px; align-items: center; background: var(--rim); border-radius: 12px; padding: 6px 6px 6px 12px; border: 1px solid var(--line); min-width: 0; }
.copy-field code { font: 600 14px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.checklist li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--rim); font-weight: 600; font-size: 15px; }
.checklist li .dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; display: grid; place-items: center; }
.checklist li.done { color: var(--muted); }
.checklist li.done .dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.checklist li.done .dot .tick { width: 14px; height: 14px; }
.checklist li a { margin-left: auto; font-size: 14px; white-space: nowrap; }
.checklist li .hint { font-weight: 500; color: var(--muted); font-size: 13.5px; }
.banner { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; margin-bottom: 16px; flex-wrap: wrap; font-size: 15px; }
.banner > div { flex: 1 1 260px; }
.banner b { display: block; }
.banner-saffron { background: var(--saffron-50); border: 1px solid #F2D58E; }
.banner-tomato { background: var(--tomato-50); border: 1px solid #F6B9AA; }
.banner-info, .banner-basil { background: #EAF3FA; border: 1px solid #C6DCEE; }
.banner-ink { background: var(--ink); color: #fff; }
.banner-ink .btn { --bg: var(--saffron); --fg: var(--ink); box-shadow: none; }

/* tables */
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.search { position: relative; flex: 1 1 220px; max-width: 360px; }
.search input { width: 100%; padding: 11px 14px 11px 40px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; font-size: 15px; min-height: 44px; }
.search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(29,35,33,.12); }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.select-sm { padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; font-size: 15px; min-height: 44px; }
.dtable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.dtable th { text-align: left; font: 700 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.dtable td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dtable tr:last-child td { border-bottom: 0; }
.dtable tbody tr { transition: background .15s; }
.dtable tbody tr:hover { background: var(--rim); }
.dtable .dname { font-weight: 700; color: var(--ink); text-decoration: none; display: block; }
.dtable .dname:hover { color: var(--ink); text-decoration: underline; }
.dtable .dmeta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.dtable .sec-row td { background: var(--rim); font: 700 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding: 9px 12px; }
.dtable input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--ink); }
.dtable .actions { text-align: right; white-space: nowrap; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; text-decoration: none; transition: all .15s; }
.icon-btn:hover { border-color: var(--ink); color: var(--ink); }
.icon-btn svg { width: 17px; height: 17px; }
.pill { display: inline-flex; padding: 3px 9px; border-radius: 99px; font: 700 12px/1.4 var(--sans); background: var(--rim-2); color: var(--ink-2); }
.pill-ok { background: var(--ok-50); color: var(--ok); }
.pill-warn { background: var(--saffron-50); color: var(--saffron-ink); }
.pill-bad { background: var(--tomato-50); color: var(--tomato-ink); }
.bulkbar { position: sticky; bottom: 16px; z-index: 30; display: none; gap: 10px; align-items: center; flex-wrap: wrap; background: var(--ink); color: #fff; padding: 12px 14px; border-radius: 16px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.5); margin-top: 14px; }
.bulkbar.show { display: flex; animation: toastIn .3s var(--ease); }
.bulkbar select, .bulkbar input { padding: 9px 10px; border-radius: 10px; border: 0; font-size: 14px; min-height: 40px; color: var(--ink); }
.bulkbar .btn { --bg: var(--saffron); --fg: var(--ink); box-shadow: none; }
.empty { text-align: center; padding: clamp(32px, 6vw, 64px) 20px; }
.empty .ai-ring { display: flex; justify-content: center; margin-bottom: 18px; }
.empty .ai-ring .ai { margin: 0 -6px; box-shadow: 0 0 0 3px #fff; }
.empty h2 { font-family: var(--serif); font-size: 30px; margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 46ch; margin: 0 auto 20px; }
.cards-m { display: none; }
@media (max-width: 760px) {
  .dtable.responsive thead { display: none; }
  .dtable.responsive tr { display: grid; grid-template-columns: 28px 1fr auto; gap: 4px 10px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .dtable.responsive td { border: 0; padding: 0; }
  .dtable.responsive td.c-check { grid-column: 1; grid-row: 1 / span 2; padding-top: 2px; }
  .dtable.responsive td.c-name { grid-column: 2; grid-row: 1; }
  .dtable.responsive td.c-icons { grid-column: 2; grid-row: 2; }
  .dtable.responsive td.actions { grid-column: 3; grid-row: 1 / span 2; align-self: center; display: flex; flex-direction: column; gap: 6px; }
  .dtable.responsive td.c-sec, .dtable.responsive td.c-price { display: none; }
  .dtable.responsive tr.sec-row { display: block; padding: 0; }
  .dtable.responsive tr.sec-row td { display: block; }
}

/* app nav: mobile tab bar */
.tabbar { display: none; }
@media (max-width: 960px) {
  .app-shell { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px -20px rgba(0,0,0,.3); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; font: 600 11.5px/1.1 var(--sans); color: var(--muted); text-decoration: none; border-radius: 12px; }
  .tabbar a svg { width: 22px; height: 22px; }
  .tabbar a[aria-current="page"] { color: var(--ink); font-weight: 800; }
  .tabbar a.add { color: #fff; }
  .tabbar a.add span.plus { width: 46px; height: 46px; margin-top: -20px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 20px -8px rgba(29,35,33,.8); }
  .tabbar a.add span.plus svg { width: 24px; height: 24px; }
  .tabbar a.add em { font-style: normal; color: var(--ink); }
  .app-top .venue-switch summary { max-width: 46vw; }
  .app-top .plan-badge { display: none; }
  .more-sheet { position: fixed; inset: auto 0 0 0; z-index: 90; background: #fff; border-radius: 22px 22px 0 0; padding: 10px 14px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 60px -20px rgba(0,0,0,.4); transform: translateY(110%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s linear .35s; }
  .more-sheet.open { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
  .more-sheet a { display: flex; gap: 12px; align-items: center; padding: 14px 10px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
  .more-sheet a svg { width: 20px; height: 20px; color: var(--ink); }
  .more-sheet .grab { width: 40px; height: 4px; border-radius: 4px; background: var(--line-2); margin: 0 auto 8px; }
  .sheet-scrim { position: fixed; inset: 0; z-index: 85; background: rgba(29,35,33,.35); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .sheet-scrim.open { opacity: 1; pointer-events: auto; }
}
@media (min-width: 961px) { .more-sheet, .sheet-scrim { display: none; } }

/* dish editor */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.editor-side { position: sticky; top: 84px; }
@media (max-width: 1100px) {
  .editor { grid-template-columns: 1fr; gap: 14px; }
  .editor-side { display: contents; }
  .editor-side .live-profile { order: -1; position: sticky; top: 72px; z-index: 15; padding: 12px 14px; border-radius: 16px; box-shadow: 0 14px 30px -18px rgba(0,0,0,.6); }
  .editor-side .live-profile h3 { margin-bottom: 8px; }
  .editor-side .live-profile .lp-grid, .editor-side .live-profile .lp-legend { display: none; }
  .editor-side > .panel { order: 1; margin-top: 0 !important; }
}
/* phones: the Selected (reorder) list follows the ingredient picker, and the save bar floats above the tab bar */
@media (max-width: 960px) {
  .editor-main { display: contents; }
  .editor > .editor-main > .panel, .editor > .editor-side > .panel { margin: 0 !important; }
  .editor .ed-details { order: 1; }
  .editor .ed-ingredients { order: 2; }
  .editor .ed-selected { order: 3; }
  .editor .ed-adjust { order: 4; }
  .editor .ed-actions { order: 5; position: fixed; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 40; padding: 10px 16px; }
  .editor { padding-bottom: 72px; }
}
.picker { border: 1.5px solid var(--line-2); border-radius: 16px; background: #fff; overflow: hidden; }
.picker-search { display: flex; gap: 8px; padding: 10px; border-bottom: 1px solid var(--line); background: var(--rim); position: sticky; top: 0; }
.picker-search input { flex: 1; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--line-2); font-size: 16px; min-height: 46px; min-width: 0; }
.picker-search input:focus { outline: none; border-color: var(--ink); }
.picker-list { max-height: 360px; overflow: auto; padding: 6px; position: relative; }
.picker-cat { font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 12px 10px 6px; }
.pick { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 9px 10px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; font-size: 15px; min-height: 44px; }
.pick:hover, .pick:focus-visible { background: var(--rim); }
.pick .pbox { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line-2); flex: none; display: grid; place-items: center; transition: all .15s; }
.pick:has(input:checked) .pbox, .pick.on .pbox { background: var(--ink); border-color: var(--ink); color: #fff; }
.pick:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: -3px; }
.pick .pbox svg { width: 14px; height: 14px; opacity: 0; }
.pick:has(input:checked) .pbox svg, .pick.on .pbox svg { opacity: 1; }
.pick .pn { flex: 1; font-weight: 600; }
.pick .mini-icons .mi { width: 22px; height: 22px; }
.pick .mini-icons .mi svg { width: 14px; height: 14px; }
.pick-empty { padding: 18px; text-align: center; color: var(--muted); font-size: 15px; }
.selected-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.selected-list li { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 12px; border-radius: 12px; background: var(--rim); font-weight: 600; font-size: 15px; animation: toastIn .25s var(--ease); }
.selected-list li .n { flex: 1; min-width: 0; }
.selected-list li .unv { font-size: 11.5px; font-weight: 700; color: var(--saffron-ink); background: var(--saffron-50); padding: 3px 7px; border-radius: 6px; }
.selected-list li button { width: 32px; height: 32px; border-radius: 8px; border: 0; background: transparent; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.selected-list li button:hover { background: #fff; color: var(--ink); }
.selected-list li button svg { width: 16px; height: 16px; }
.live-profile { background: var(--ink); color: #fff; border-radius: 20px; padding: 20px; }
.live-profile h3 { font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #AEB8B4; margin-bottom: 14px; }
.live-profile .chips .achip { background: var(--tint); color: var(--ink); }
.live-profile .chips .achip.achip-may { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); background: transparent; }
.live-profile .chips .achip.achip-may span.achip-may { color: #CDD4D1; }
.live-profile .lp-empty { color: #BCC4C1; font-size: 15px; }
.live-profile .lp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 16px; }
.live-profile .lp-grid i { aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: rgba(255,255,255,.35); transition: all .3s var(--ease); }
.live-profile .lp-grid i svg { width: 62%; height: 62%; }
.live-profile .lp-grid i.c { background: var(--tint); color: var(--ink); box-shadow: inset 0 0 0 2px var(--hue, transparent); transform: scale(1.06); }
.live-profile .lp-grid i.m { box-shadow: inset 0 0 0 2px var(--saffron); color: var(--saffron); }
.live-profile .lp-legend { display: flex; gap: 14px; font-size: 12.5px; color: #BCC4C1; margin-top: 12px; flex-wrap: wrap; }
.live-profile .lp-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #fff; margin-right: 5px; vertical-align: -1px; }
.live-profile .lp-legend i.m { background: transparent; box-shadow: inset 0 0 0 2px var(--saffron); }
.override-rows { display: grid; gap: 8px; }
.override-row { display: grid; grid-template-columns: 190px 180px 1fr; gap: 8px; align-items: center; }
.override-row select, .override-row input { padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line-2); font-size: 15px; min-height: 44px; background: #fff; width: 100%; }
@media (max-width: 760px) { .override-row { grid-template-columns: 1fr 1fr; } .override-row input { grid-column: 1 / -1; } }
.tri { display: grid; gap: 6px; }
.tri-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.tri-row .tn { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.seg { display: inline-flex; background: var(--rim); border-radius: 10px; padding: 3px; gap: 2px; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { padding: 7px 10px; border-radius: 8px; font: 700 13px/1 var(--sans); color: var(--muted); cursor: pointer; white-space: nowrap; }
.seg input:checked + label { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.seg input:checked + label.l-may { background: var(--saffron-50); color: var(--saffron-ink); }
.seg input:checked + label.l-c { background: var(--ink); color: #fff; }
.seg input:focus-visible + label { outline: 2px solid var(--focus); }
.subtypes { margin: 6px 0 4px 46px; display: flex; flex-wrap: wrap; gap: 6px; }
.subtypes label { display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 99px; border: 1.5px solid var(--line-2); font-size: 14px; font-weight: 600; cursor: pointer; background: #fff; }
.subtypes input { accent-color: var(--ink); }
@media (max-width: 520px) { .tri-row { grid-template-columns: 1fr; } .subtypes { margin-left: 0; } }
.sticky-actions { position: sticky; bottom: 0; z-index: 20; display: flex; gap: 10px; flex-wrap: wrap; padding: 14px 0; background: linear-gradient(to top, #F2F5F3 70%, rgba(242,245,243,0)); }
@media (max-width: 960px) { .sticky-actions { bottom: 64px; padding: 10px 0; } .sticky-actions .btn { flex: 1 1 auto; padding: 13px 16px; } .sticky-actions .hide-sm { display: none; } }
.diff-add { color: var(--tomato-ink); font-weight: 700; }
.diff-rem { color: var(--ok); font-weight: 700; }
.locked { text-align: center; max-width: 560px; margin: 40px auto; }
.locked .ai-ring { display: flex; justify-content: center; margin-bottom: 18px; }
.locked .ai-ring .ai { margin: 0 -5px; box-shadow: 0 0 0 3px var(--rim); }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 1000px) { .settings-grid { grid-template-columns: 1fr; } }
.print-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.print-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.print-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.print-card .pv { height: 150px; display: grid; place-items: center; background: var(--rim); position: relative; }
.print-card .pv .paper { transform: none; }
.print-card .pc-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.print-card h3 { font: 700 17px/1.3 var(--sans); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.print-card p { margin: 0; font-size: 14.5px; color: var(--muted); }
.print-card form { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.print-card .select-sm { flex: 1 1 120px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline time { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.timeline .who { font-size: 13px; color: var(--muted); }
.timeline .sig { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--tomato); margin-right: 6px; vertical-align: 1px; }
@media (max-width: 600px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs a { padding: 10px 14px; text-decoration: none; color: var(--muted); font-weight: 700; font-size: 15px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .app-top, .app-side, .tabbar, .sk-demo-banner, .toast-region, .no-print { display: none !important; }
  body { background: #fff; }
}
