/* SIZL landing. Light and product-led, in the brand palette: butter carries the page surfaces (pains, modules, pricing, waitlist),
   periwinkle the accents and highlights (logo, markers, lines, Dough's arrows), white the cards. Ink type throughout. No dark surfaces.
   Product screens keep their own status colours (green OK, amber low). */
:root {
  --u: 1px;
  --peri: #8EA0FF;
  --peri-ink: oklch(0.5 0.16 275);
  --peri-soft: oklch(0.96 0.025 275);
  --butter: #F8ECC3;
  --butter-soft: oklch(0.975 0.025 92);
  --butter-line: oklch(0.86 0.06 90);
  --ink: oklch(0.18 0.008 30);
  --ink-2: oklch(0.42 0.008 30);
  --ground: oklch(0.975 0.002 30);
  --white: #fff;
  --line: oklch(0.91 0.004 30);
  --line-2: oklch(0.84 0.004 30);
  --ok: oklch(0.48 0.13 150);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-io: cubic-bezier(.65,0,.35,1);
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(96px, 14vh, 168px);
  --shadow-tile: 0 1px 2px oklch(0.2 0.01 30 / .06), 0 24px 48px -24px oklch(0.2 0.02 275 / .28);
  --z-nav: 20;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
html { overflow-x: clip; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: "Suisse Intl", system-ui, sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.h2 { margin: 0; font-weight: 600; font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.02; letter-spacing: -0.04em; }
.lede { margin: 0; color: var(--ink-2); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 99px; background: var(--butter); color: var(--ink); font-size: 13.5px; font-weight: 500; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border: 0; border-radius: 99px; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease-out), box-shadow .2s, background .2s; }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: 3px; }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -12px oklch(0.2 0.02 275 / .6); }
.btn--ink:hover { background: oklch(0.27 0.01 30); }
.btn--ghost { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }

/* ── Nav: floating pill, fixed ── */
.nav { position: fixed; z-index: var(--z-nav); top: 14px; left: 50%; transform: translateX(-50%); width: min(1080px, calc(100% - 2 * var(--gutter))); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 7px 7px 7px 22px; background: oklch(1 0 0 / .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 99px; box-shadow: 0 1px 2px oklch(0.2 0.01 30 / .05), 0 10px 30px -18px oklch(0.2 0.01 30 / .25); transition: box-shadow .3s, transform .4s var(--ease-out); }
.nav.is-hidden { transform: translate(-50%, calc(-100% - 24px)); } /* tucked away while reading down, back on the first scroll up */
.nav.is-scrolled { box-shadow: 0 1px 2px oklch(0.2 0.01 30 / .06), 0 16px 40px -16px oklch(0.2 0.01 30 / .3); }
.nav__logo { width: 64px; color: var(--peri); }
.nav__links { display: flex; gap: 28px; font-size: 14.5px; font-weight: 450; color: var(--ink-2); }
.nav__links a { text-decoration: none; transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--ink); }

/* ── 1 · Hero ── */
.hero { position: relative; min-height: max(760px, 100svh); display: grid; place-items: center; padding: 120px var(--gutter) 80px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(oklch(0.2 0.01 30 / .1) 1px, transparent 1.4px) 0 0 / 22px 22px; mask: radial-gradient(ellipse 60% 55% at 50% 48%, #000 20%, transparent 75%); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 99px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 450; color: var(--ink-2); margin-bottom: 28px; }
.pill img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; background: oklch(0.93 0.05 70); }
.hero h1 { margin: 0; font-weight: 600; font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1.02; letter-spacing: -0.045em; } /* on wide screens the fragments stay around the copy instead of the screen edges */
@keyframes bob { from { translate: 0 -5px; } to { translate: 0 6px; } }

/* ── 2 · Intro + graph ── */
.intro { padding: var(--section) var(--gutter) calc(var(--section) * .6); text-align: center; }
.intro__line { margin: 0 auto; max-width: 26ch; font-size: clamp(1.8rem, 3.4vw, 3.1rem); line-height: 1.15; letter-spacing: -0.035em; font-weight: 500; }
.meet { display: inline-block; line-height: 1; padding: 3px 9px 3px 3px; border-radius: 99px; background: var(--butter); color: var(--ink); font-weight: 500; text-decoration: none; transition: background .2s; }
.meet:hover { background: var(--butter-line); }
.meet:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: 2px; }
.meet img { display: inline-block; width: 22px; height: 22px; margin-right: 6px; vertical-align: -0.38em; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: oklch(0.93 0.05 70); }
.intro__line em { font-style: normal; background: linear-gradient(transparent 58%, var(--peri) 58% 92%, transparent 92%); }
/* #what: the three modes are words in the heading. The current one carries the periwinkle marker (it sweeps in when the dough
   cursor lands on it); the others wait with a dotted underline. While the modes play by themselves, a thin line under the
   lit word fills up until the next one. */
.v3 .intro { position: relative; }
.gw button { all: unset; position: relative; font-weight: 700; letter-spacing: -0.04em; line-height: 1; padding: 0 .06em; margin: 0 -.06em; border-radius: .08em; cursor: pointer; white-space: nowrap;
  background: linear-gradient(transparent 58%, var(--peri) 58% 92%, transparent 92%) no-repeat 0 0 / 0% 100%;
  text-decoration: underline dotted oklch(0.62 0.09 275); text-decoration-thickness: .055em; text-underline-offset: .16em;
  transition: background-size .5s var(--ease-out), text-decoration-color .3s; }
.gw button.is-lit { background-size: 100% 100%; text-decoration-color: transparent; }
.gw button:not(.is-lit):hover { text-decoration-color: var(--peri-ink); }
.gw button:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: .08em; }
.gw button::after { content: ""; position: absolute; left: .06em; right: .06em; bottom: .06em; height: .05em; border-radius: 1px; background: oklch(0.45 0.16 275 / .55); transform: scaleX(0); transform-origin: 0 50%; }
.intro.is-run .gw button.is-lit::after { animation: gearrun var(--dur) linear both; }
/* The same dough cursor as in the hero, flown in: it starts above the heading and glides to the word */
.dcur.dcur--fly { left: 0; top: 0; z-index: 3; font-size: clamp(1.4rem, 2.4vw, 2.3rem); opacity: 0; transition: translate .9s cubic-bezier(.25, .8, .25, 1), opacity .4s; }
.dcur.dcur--fly.is-on { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .dcur.dcur--fly { animation: dcur-o 2.6s linear infinite; } }
@media (prefers-reduced-motion: reduce) { .dcur.dcur--fly { display: none; } .gw button { transition: none; } }
.v3 .intro__line { max-width: none; font-size: clamp(1.4rem, 2.4vw, 2.3rem); line-height: 1.22; text-wrap: balance; } /* one size for the sentence and the mode words; the words are bold */
.src { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 14px; padding: 10px 14px 10px 10px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; transition: box-shadow .3s; }
.src .ico { width: 32px; height: 32px; border-radius: 9px; background: var(--ground); display: grid; place-items: center; flex: none; }
.src .ico svg { width: 16px; height: 16px; stroke: var(--ink-2); fill: none; stroke-width: 1.5; }
.src small { margin-left: auto; font: 12px "Input Mono", monospace; color: var(--ink-2); white-space: nowrap; }
.src.is-live { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ── Product widget frame (investors.html) ── */
.card__stage { background: oklch(0.975 0.006 85); border-radius: 16px; padding: clamp(16px, 2vw, 26px); flex: 1; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }

/* click ripple under the module cursor */
@keyframes ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* ── 4 · Dough: sticky mascot, narrated day ── */
.dough { padding: var(--section) 0 calc(var(--section) * .8); background: var(--white); }
/* the title sits above both columns */
.dough__head { max-width: calc(1240px + 2 * var(--gutter)); margin: 0 auto clamp(32px, 5vh, 56px); padding: 0 var(--gutter); } /* the white ground melts into the glow; the soft edge hides the frame and the confetti of each change */
/* plain Dough has no loop in the video, so it breathes */
.say { position: absolute; top: 4%; right: 0; max-width: 250px; margin: 0; padding: 12px 16px; border-radius: 18px 18px 18px 4px; background: var(--ink); color: #fff; font-size: 14.5px; line-height: 1.35; box-shadow: 0 16px 30px -18px oklch(0.2 0.02 275 / .6); }
.say span { display: block; }
.say { transform-origin: 0 100%; }
.skip { display: inline-block; margin-top: 18px; font-size: 14px; color: var(--ink-2); text-underline-offset: 3px; }
.skip:hover { color: var(--ink); } /* full.html only */
.day { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.moment { min-height: 62svh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; opacity: .3; transition: opacity .5s var(--ease-out); }
.moment.is-active { opacity: 1; }
.moment time { font-size: 14px; color: var(--ink); }
/* what you'd ask a role: messages to Dough, arriving one by one when the role comes up */
.asks { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 520px; margin: 0; padding: 0; list-style: none; }
.asks li { max-width: 100%; padding: 10px 16px; border-radius: 20px 20px 20px 6px; background: var(--bub, oklch(0.955 0.03 275)); color: var(--bub-ink, var(--ink)); font-size: 15.5px; line-height: 1.35; text-wrap: pretty; transform-origin: 0 100%; transition: opacity .35s var(--ease-out), transform .5s var(--ease-out); }
.js .moment:not(.is-active) .asks li { opacity: 0; transform: translateY(10px) scale(.96); }
/* each role's questions wear its clothes: the chef's red scarf, the cost controller's slate cardigan, the detective's trench, the partner's suit */
.moment[data-who="chef"] { --bub: #ab2533; --bub-ink: #fff; }
.moment[data-who="cost"] { --bub: #5f7084; --bub-ink: #fff; }
.moment[data-who="detective"] { --bub: #b89e7c; --bub-ink: var(--ink); }
.moment[data-who="partner"] { --bub: #171516; --bub-ink: #fff; }
/* rolling lists: a window of four (site.js sets its height); while it rolls the fifth shows below the edge and slides in; one line each on desktop so the window never changes height */
[data-roll] { position: relative; overflow: hidden; transition: height .5s var(--ease-out); }
.js [data-roll]:not(.is-rolling) > :nth-child(n+5), .js [data-roll].is-rolling > :nth-child(n+6) { display: none; }
.mw-av { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px var(--line); } /* each role is a Dough in costume */
@media (min-width: 981px) { .asks li { white-space: nowrap; } }
.moment.is-active .asks li:nth-child(2) { transition-delay: .14s; } .moment.is-active .asks li:nth-child(3) { transition-delay: .28s; } .moment.is-active .asks li:nth-child(4) { transition-delay: .42s; } /* a price never breaks */
.ui-badge--e { background: var(--ground); font-size: 15px; }
.moment h3 { margin: 8px 0 8px; font-size: clamp(1.6rem, 2.6vw, 2.4rem); letter-spacing: -0.03em; font-weight: 600; line-height: 1.1; }
.moment > p { margin: 0 0 22px; color: var(--ink-2); font-size: 16.5px; max-width: 46ch; }
.js .moment:not(.is-active) :is(.vn__txt, .po) { opacity: 0; }
.toast { display: flex; align-items: center; gap: 10px; width: fit-content; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 14px 9px 10px; font-size: 13.5px; box-shadow: 0 10px 24px -18px oklch(0.2 0.02 275 / .4); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); }
.toast i { width: 20px; height: 20px; border-radius: 50%; background: oklch(0.95 0.05 150) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%232e8a4e' stroke-width='2'/%3E%3C/svg%3E"); }
.toast.wait i { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='3' fill='%238EA0FF'/%3E%3C/svg%3E"); }
.toast:nth-child(2) { margin-left: 18px; } .toast:nth-child(3) { margin-left: 36px; } .toast:nth-child(4) { margin-left: 54px; }
.js .moment:not(.is-active) .toast { opacity: 0; transform: translateY(10px); }
.moment.is-active .toast:nth-child(2) { transition-delay: .25s; } .moment.is-active .toast:nth-child(3) { transition-delay: .5s; } .moment.is-active .toast:nth-child(4) { transition-delay: .75s; }

/* lens band */
.chip { flex: none; width: 300px; height: 56px; border-radius: 14px; display: flex; align-items: center; gap: 12px; padding: 0 16px; font-size: 14px; }
.chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── 4b · Whole team: a phone with the real app, one screen per role ── */
.crew { padding: var(--section) var(--gutter) calc(var(--section) * .4); }
.lang { margin: 28px 0 0; max-width: 52ch; }
.lang p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.lang p b { color: var(--ink); font-weight: 500; }

/* ── 5 · Pains: sticky stacking cards ── */
.pains { padding: var(--section) var(--gutter) calc(var(--section) * .6); background: var(--butter); }
.panel { background: var(--white); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line), 0 18px 36px -24px oklch(0.2 0.02 275 / .35); }

/* 2 excel */

/* 3 chat */
@keyframes dots { 30% { transform: translateY(-3px); opacity: .5; } }

/* 5 roles */
@keyframes drop { from { transform: translateY(-30px) scale(.6); opacity: 0; } }

/* 7 chain */
@keyframes alert { 0% { opacity: 0; transform: translateY(8px) scale(.9); } 12%, 75% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-10px); } }

/* ── 6 · Modules ── */
.modules { padding: calc(var(--section) * .35) 0 0; }
.swap { height: 190vh; }
.screen { position: relative; aspect-ratio: 1.3; max-height: 70svh; width: 100%; justify-self: center; }

/* 6a · Start today, fix as you go */

.mods { margin: clamp(64px, 10vh, 110px) 0 var(--section); padding: var(--section) var(--gutter); background: var(--butter); }
.mods__in { max-width: 1240px; margin: 0 auto; }
.mods__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46ch); gap: 24px; align-items: end; margin-bottom: clamp(32px, 5vh, 56px); }
.mods__head .lede { color: oklch(0.28 0.03 60); }
.mode { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 99px; background: var(--white); color: var(--ink); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.mode img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: oklch(0.93 0.05 70); }



/* Module screens: SIZL back-office screens drawn in HTML on a 72 × 36 em canvas; the font size follows the panel width.
   A cursor clicks the element marked data-hit in each frame, and the next frame fades in. */
.shots { position: absolute; inset: 0; }
.shot { position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ease-out); }
.shot.is-on { opacity: 1; }
.shots__cur { position: absolute; left: 0; top: 0; z-index: 3; width: 1.6em; opacity: 0; pointer-events: none; transition: transform .5s cubic-bezier(.45, 0, .2, 1), opacity .3s; }
.shots__cur.is-on { opacity: 1; }
.shots__cur svg { width: 100%; fill: var(--ink); stroke: #fff; stroke-width: 1.5; filter: drop-shadow(0 2px 3px oklch(0 0 0 / .3)); transition: transform .15s; }
.shots__cur.is-click svg { transform: scale(.82); }
.shots__cur.is-click::after { content: ""; position: absolute; left: -.5em; top: -.5em; width: 1.2em; height: 1.2em; border-radius: 50%; border: 2px solid var(--ink); animation: ripple .5s var(--ease-out) forwards; }
/* Dough drives the cursor: a name tag says what it is doing, and flips left near the right edge */
.shots__who { position: absolute; left: 1.05em; top: 1.05em; display: inline-flex; align-items: center; gap: .4em; width: max-content; padding: .22em .7em .22em .22em; border-radius: 99px 99px 99px .25em; background: var(--peri-ink); color: #fff; font-size: .74em; font-weight: 500; white-space: nowrap; box-shadow: 0 .5em 1.1em -.5em oklch(0.5 0.16 275 / .7); }
.shots__who img { width: 1.6em; height: 1.6em; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: oklch(0.93 0.05 70); }
.shots__cur.is-left .shots__who { left: auto; right: .3em; flex-direction: row-reverse; padding: .22em .22em .22em .7em; border-radius: 99px 99px .25em 99px; }
/* frame chrome: page header, search, filters, tabs */
@keyframes type { to { clip-path: inset(0); } }
@keyframes pop { from { transform: scale(1.25); opacity: 0; } }
/* tables */
.dt { display: grid; font-size: .82em; }
.dt small { display: block; font: .85em "Input Mono", monospace; color: var(--ui-mute); }
/* recipes */
.rg { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1em; }
/* the week's balance: a flexible step chart (the SVG stretches, lines keep their width, the text is HTML so it stays sharp);
   Dough's cursor points at the loss and says oops */
/* the rest of the system, as a launcher */
.mo { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .8em; }
.mo__t { position: relative; display: flex; flex-direction: column; gap: .6em; min-height: 10.6em; padding: 1em 1.05em; border: 1px solid var(--ui-line); border-radius: 1em; background: #fff; font-size: .85em; }
.mo__t svg { width: 1.9em; height: 1.9em; fill: none; stroke: var(--ui-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mo__t b { margin-top: auto; font-size: max(1em, 12px); font-weight: 600; line-height: 1.25; }
.mo__t em { position: absolute; right: .9em; top: 1em; display: flex; align-items: center; gap: .35em; font: normal .78em "Input Mono", monospace; color: oklch(0.45 0.12 145); }
.mo__t em::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--ui-ok); }
/* Narrow panels (tablets, phones): a taller canvas with bigger type, fewer columns */
@container (max-width: 899px) {
  .rg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mo { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5em; }
  .mo__t { min-height: 0; gap: .5em; padding: .75em; font-size: .75em; }
  .mo__t em { font-size: 0; right: .75em; top: .9em; }
  .mo__t em::before { width: .45rem; height: .45rem; }
}

/* ── 7 · How it works: sandwich ── */
.how { overflow: clip; }
/* The clip's background is flattened to pure white, so multiply turns it into the page colour. */ /* every edge feathered, so the band itself has no visible border */
.note { position: absolute; z-index: 2; width: clamp(220px, calc(50% - 320px), 310px); background: var(--white); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow-tile); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.note h3 { margin: 6px 0 6px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.note p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.note .k { font: 12px "Input Mono", monospace; color: var(--peri-ink); }
.note[data-l="2"] { top: 0; } .note[data-l="1"] { top: 50%; translate: 0 -50%; } .note[data-l="0"] { bottom: 0; }
.js .note:not(.is-on) { opacity: 0; transform: translateY(12px); }

/* ── 6c · POS (coming soon) ── */
.pos { width: min(1240px, calc(100% - 2 * var(--gutter))); margin: 0 auto var(--section); display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: 32px; background: var(--white); scroll-margin-top: 90px; }
/* Mode 2: your POS syncing into SIZL */
.sync { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; }
@keyframes wire { from { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } to { left: calc(100% - 8px); opacity: 0; } }
/* Mode 3: a Z-report photo, read by Dough */
@media (max-width: 760px) {
  .sync { grid-template-columns: minmax(0, 1fr); }
}
/* The ticket splits by guest: the seat picked on the floor plan opens that guest's part of the order */
.is-sent .send { background: oklch(0.95 0.05 150); border-color: transparent; color: oklch(0.42 0.12 150); }
.is-paid .pay { background: oklch(0.48 0.13 150); }

/* ── 7b · Why not build it yourself ── */

/* ── Hero meta line, mid-page CTAs ── */
.next { max-width: 1240px; margin: clamp(48px, 7vh, 80px) auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; text-align: center; }
.next p { margin: 0; font-size: clamp(17px, 1.4vw, 20px); letter-spacing: -0.01em; color: var(--ink-2); text-wrap: balance; }
.next b { color: var(--ink); font-weight: 600; }

/* ── 7c · Compare: one table; on phones SIZL sits next to one rival at a time ── */
.vs { padding: var(--section) var(--gutter); background: var(--white); }

/* ── 7d · Pricing ── */
.price { padding: var(--section) var(--gutter); }
.price__head { text-align: center; }
.price__head .h2 { max-width: 20ch; margin: 0 auto; }
.price__head .lede { max-width: 52ch; margin: 18px auto 0; }
.plans { margin-top: clamp(40px, 6vh, 64px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.plan h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.plan__price { margin: 14px 0 0; display: flex; align-items: baseline; gap: 8px; color: var(--ink-2); font-size: 15px; }
.plan__price b { font: 400 clamp(48px, 5.2vw, 68px)/1 "Input Mono", monospace; letter-spacing: -0.06em; color: var(--ink); }
.plan__for { margin: 14px 0 0; max-width: 38ch; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.plan ul { list-style: none; flex: 1; margin: 24px 0 30px; padding: 22px 0 0; display: grid; align-content: start; gap: 11px; border-top: 1px solid var(--line); }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 15px; line-height: 1.4; }
.plan li::before { content: ""; width: 12px; height: 7px; margin: 5px 0 0 2px; border: solid var(--ink); border-width: 0 0 2px 2px; rotate: -45deg; }
.plan .btn { align-self: flex-start; }
.price__note { margin: 20px 0 0; text-align: center; font-size: 14px; color: var(--ink-2); }

/* ── Pilot numbers, waitlist perks ── */

@media (max-width: 980px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
}

/* ── Bright screens: red chapters (A) and our places (B) between the product demos ── */
.pains .next p { color: oklch(0.28 0.03 60); }

/* The paperwork pile on the pains chapter */
.paper { position: relative; height: clamp(380px, 50vh, 480px); }
.paper > * { position: absolute; margin: 0; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 24px 50px -24px oklch(0.4 0.04 75 / .55); transform: rotate(var(--r)); animation: bob var(--d, 7s) ease-in-out infinite alternate; }

/* B · Our places: Flow and Sizl side by side on one screen */
.places { padding: var(--section) var(--gutter); }
.spot { display: flex; flex-direction: column; margin: 0; overflow: hidden; border-radius: 28px; background: var(--white); box-shadow: 0 1px 2px oklch(0.2 0.01 30 / .05), 0 24px 48px -32px oklch(0.2 0.02 275 / .3); }
.spot h3 { margin: 0; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1; letter-spacing: -0.035em; font-weight: 600; }
.spot h3 span { color: var(--ink-2); font-weight: 500; }
.spot p { margin: 12px 0 0; max-width: 52ch; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.spot a { align-self: flex-start; margin-top: auto; padding-top: 20px; font-size: 14px; font-weight: 600; color: var(--ink); text-underline-offset: 3px; }
@media (max-width: 760px) {
  .paper { height: 430px; margin: 0 -8px; }
}

/* ── 8 · Team ── */
.team { padding: var(--section) var(--gutter); background: var(--white); }
.founders { margin-top: clamp(64px, 10vh, 110px); display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.founder { margin: 0; }
.founder__ph { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--ground); }
.founder__ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); transition: transform .8s var(--ease-out), filter .5s; }
.founder:hover .founder__ph img { transform: scale(1.03); filter: none; }
.founder__ph--pix img { filter: none; image-rendering: pixelated; }
.founder figcaption { padding: 16px 4px 0; }
.founder b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.founder .role { display: block; font: 12.5px "Input Mono", monospace; color: var(--ink-2); margin-top: 2px; }
.founder p { margin: 10px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }


/* Short variant: founders shrink to a row */
.who .h2 { margin-bottom: 20px; }
.founders--sm { margin-top: 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px 24px; }
.founders--sm .founder { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: start; }
.founders--sm .founder__ph { aspect-ratio: 1; border-radius: 50%; }
.founders--sm figcaption { padding: 4px 0 0; }
.founders--sm .founder p { margin-top: 6px; font-size: 14px; }

/* ── 9 · Waitlist ── */
.wl { padding: var(--section) var(--gutter) calc(var(--section) * .7); }
.form { background: var(--white); color: var(--ink); border-radius: 24px; padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 16px; align-content: start; box-shadow: 0 30px 60px -30px oklch(0.45 0.04 75 / .5); }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: 13.5px; font-weight: 500; }
.field label i, .field legend i { font-style: normal; color: var(--ink-2); font-weight: 400; }
.field input { height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--white); font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: oklch(0.52 0.006 30); }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px oklch(0.18 0.008 30 / .08); }
.field input[aria-invalid="true"] { border-color: var(--peri-ink); }
.field .err { font-size: 13px; color: var(--peri-ink); min-height: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.form .btn { width: 100%; margin-top: 4px; }
.form__done { display: none; text-align: center; padding: 24px 8px; }
.form__done img { width: 96px; margin: 0 auto 12px; }
.form__done b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.form__done p { margin: 6px 0 0; color: var(--ink-2); }
.form.is-done > :not(.form__done) { display: none; }
.form.is-done .form__done { display: block; animation: pop .6s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

/* ── 10 · FAQ ── */
.faq { padding: calc(var(--section) * .5) var(--gutter) var(--section); }
.faq__wrap { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); }
.faq__side .lede { margin-top: 16px; max-width: 30ch; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: 4px; border-radius: 6px; }
.faq summary i { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); position: relative; transition: background .25s, transform .35s var(--ease-out); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -.8px 0 0 -5.5px; background: var(--ink); border-radius: 1px; transition: transform .35s var(--ease-out); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--ink); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details::details-content { height: 0; overflow: clip; transition: height .4s var(--ease-out), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq details > p { margin: 0; padding: 0 56px 24px 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; max-width: 64ch; }

/* ── Footer ── */
.foot { padding: 56px var(--gutter) 40px; border-top: 1px solid var(--line); background: var(--white); }
.foot__wrap { max-width: 1240px; margin: 0 auto; font-size: 14px; color: var(--ink-2); }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 36px; }
.foot__logo { width: 72px; color: var(--peri); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot nav a, .foot a { text-decoration: none; transition: color .2s; }
.foot nav a:hover, .foot a:hover { color: var(--ink); }
.legal { margin: 0; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.legal dt { font: 12px "Input Mono", monospace; color: var(--ink-2); margin-bottom: 6px; }
.legal dd { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.45; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 13px; }

/* ── Responsive ── */
@media (max-width: 980px) {
  /* Phones: a top-down flow, data → SIZL → actions, with arrows instead of the desktop wires */
  .src { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; font-size: 14px; line-height: 1.25; }
  .src small { margin-left: 0; }
  .dough__head,
  .faq__wrap { grid-template-columns: minmax(0, 1fr); }
  .say { position: static; flex: 1; max-width: none; font-size: 13.5px; border-radius: 16px 16px 16px 4px; }
  .js .moment:not(.is-active) .toast,
  .js .moment:not(.is-active) :is(.vn__txt, .po, .asks li) { opacity: 1; transform: none; }
  .moment { min-height: 0; padding: 36px 0; opacity: 1; }
  .day { margin-top: 24px; }
  .swap { height: auto; }
  .screen { max-height: none; }
  .mods__head { grid-template-columns: minmax(0, 1fr); } /* phones: drop the empty sky the toast falls from */
  .note { position: static; width: 100%; }
  .note[data-l] { translate: none; }
  .note[data-l="0"] { order: 1; } .note[data-l="1"] { order: 2; } .note[data-l="2"] { order: 3; }
  .pos { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .founders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .founder b { font-size: 16px; } .founder p { font-size: 13.5px; } /* small card: keep the face clear */
  .hero { padding-top: 110px; align-content: center; }
  .hero { padding-bottom: 210px; }
  .chip { width: 240px; }
  .screen { aspect-ratio: auto; height: 470px; }
  .faq details > p { padding-right: 0; }
  .pos { padding: 24px 16px; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq details::details-content { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Phones: tighter rhythm. Sections sit closer, and widgets that only work wide are dropped. */
@media (max-width: 760px) {
  :root { --section: 64px; }
  .mods { margin-top: 56px; }
  .founders { margin-top: 40px; }
}

/* ═══ v3 conversion page (index.html, 2026-10-09): hero says what it is, offer + form in one panel ═══ */
.skiplink { position: absolute; z-index: calc(var(--z-nav) + 1); left: 16px; top: -64px; padding: 10px 18px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 14px; text-decoration: none; transition: top .2s var(--ease-out); }
.skiplink:focus { top: 16px; }
/* Hero: a small dough cursor next to "AI". It circles a little, melts into a ball, wobbles and forms back into a cursor.
   Frames: assets/img/dough-cursor.webp, frames 1–12 of Roman's sheet (128 px). The loop runs 1→10, wobbles on 11–12 and
   goes back down 9→1, so the cursor it returns to is the same frame it left (the sheet's own way back, 13–20, draws a
   smaller cursor and made it jump). Reduced motion: a still cursor. */
.ai { position: relative; }
.dcur { position: absolute; z-index: 1; left: calc(100% - .2em); top: .74em; width: .78em; height: .78em; pointer-events: none;
  background: url("img/dough-cursor.webp?v=2") 0 0 / 1200% 100% no-repeat; filter: drop-shadow(0 .06em .08em oklch(0.45 0.05 70 / .35)); }
@media (prefers-reduced-motion: no-preference) {
  .dcur { animation: dcur-f 3.95s step-end infinite, dcur-o 2.6s linear infinite; }
}
@keyframes dcur-f {
  0.00% { background-position-x: 0.000%; }
  35.44% { background-position-x: 9.091%; }
  37.34% { background-position-x: 18.182%; }
  39.24% { background-position-x: 27.273%; }
  41.14% { background-position-x: 36.364%; }
  43.04% { background-position-x: 45.455%; }
  44.94% { background-position-x: 54.545%; }
  46.84% { background-position-x: 63.636%; }
  48.73% { background-position-x: 72.727%; }
  50.63% { background-position-x: 81.818%; }
  62.03% { background-position-x: 90.909%; }
  65.06% { background-position-x: 100.000%; }
  68.10% { background-position-x: 90.909%; }
  71.14% { background-position-x: 100.000%; }
  74.18% { background-position-x: 90.909%; }
  77.22% { background-position-x: 81.818%; }
  84.81% { background-position-x: 72.727%; }
  86.71% { background-position-x: 63.636%; }
  88.61% { background-position-x: 54.545%; }
  90.51% { background-position-x: 45.455%; }
  92.41% { background-position-x: 36.364%; }
  94.30% { background-position-x: 27.273%; }
  96.20% { background-position-x: 18.182%; }
  98.10% { background-position-x: 9.091%; }
  100% { background-position-x: 0%; }
}
/* small circles: turn, step out, turn back, so the sprite itself never tilts */
@keyframes dcur-o { from { transform: rotate(0deg) translateX(.07em) rotate(0deg); } to { transform: rotate(360deg) translateX(.07em) rotate(-360deg); } }

/* 5 · What opens December 1: the long page's module player, without its outer margins */
.v3 .modules { padding: 0; }
.mods--v3 { margin: 0; padding-bottom: calc(var(--section) * .5); }
.v3 .modules { background: var(--butter); }
/* On butter the warm near-black reads brown and dirty. Text on the yellow surfaces takes a cool ink from the periwinkle side
   instead: crisper against the yellow and on brand (the waitlist button follows, since it is drawn in --ink) */
.v3 :is(.pains, .mods--v3, .join) { --ink: oklch(0.2 0.035 275); --ink-2: oklch(0.36 0.035 275); }
.v3 :is(.pains .next p, .mpanel__d, .join__head .lede, .then li) { color: var(--ink-2); }
.v3 :is(.mtab__n, .mtab__t) { color: oklch(0.5 0.035 275); }
/* The butter has light and grain: brighter under the heading, warmer in the lower corners, a fine paper noise on top */
.mods--v3 { position: relative; isolation: isolate; background:
  radial-gradient(80% 45% at 30% 0%, oklch(0.985 0.035 95 / .85), transparent 70%),
  radial-gradient(55% 45% at 0% 100%, oklch(0.89 0.08 80 / .55), transparent 75%),
  radial-gradient(50% 40% at 100% 75%, oklch(0.9 0.075 82 / .45), transparent 75%),
  var(--butter); }
.mods--v3::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .33 0 0 0 0 .16 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 220px; }

/* 6 · Proof: the people under the two places */
.makers { max-width: 1120px; margin: clamp(56px, 8vh, 88px) auto 0; }
.makers__line { margin: 0; max-width: 60ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.makers__line b { color: var(--ink); font-weight: 600; }
/* The team opens with the deck's line: 25+ years of food operations between us, then the founders */
.makers__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46ch); gap: 16px clamp(32px, 5vw, 72px); align-items: end; }
.makers__h { margin: 0; font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
@media (max-width: 760px) { .makers__head { grid-template-columns: minmax(0, 1fr); } }
/* Dough's pitch from the deck, under its heading */
.dough__pitch { margin: 16px 0 0; font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); }
.dough__pitch b { padding: 0 .08em; color: var(--ink); font-weight: 600; background: linear-gradient(transparent 58%, var(--peri) 58% 92%, transparent 92%); }

/* 7 · Two ways in: plans on the left, the form on the right, what happens next underneath */
.wl--v3 { padding-top: calc(var(--section) * .7); }
.join { position: relative; max-width: 1240px; margin: 0 auto; padding: clamp(28px, 5vw, 64px); border-radius: 32px; background: var(--butter); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-areas: "head head" "plans form" "then then"; gap: 32px clamp(28px, 4vw, 56px); }
.join__head { grid-area: head; }
.join__head .lede { margin-top: 16px; max-width: 46ch; color: oklch(0.28 0.03 60); }
.join__form { grid-area: form; align-self: start; display: grid; gap: 16px; padding: clamp(20px, 2.4vw, 32px); border-radius: 24px; background: var(--white); box-shadow: 0 30px 60px -30px oklch(0.45 0.04 75 / .5); }
.join__form .btn { width: 100%; margin-top: 4px; }
.join__form .btn:disabled { opacity: .6; cursor: progress; }
.join__fail { margin: 0; font-size: 13.5px; color: var(--peri-ink); text-align: center; }
.join__fail:empty { display: none; }
.join.is-done .join__form > :not(.form__done) { display: none; }
.join.is-done .form__done { display: block; animation: pop .6s var(--ease-out); }
.join .form__done b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.then { grid-area: then; list-style: none; margin: 0; padding: 24px 0 0; border-top: 1px solid var(--butter-line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; }
.then li { display: grid; gap: 4px; font-size: 15px; line-height: 1.4; color: oklch(0.28 0.03 60); }
.then b { color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
/* v3 · Two ways in, calm (Roman, 2026-10-19: "too much noise"): the choice is one row of two tiles, what it gives is one short
   list under it (no ticks, no cards inside cards), the form is one white card, the price after launch one muted line. */
.v3 .join { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); grid-template-areas: "head form" "plans form"; gap: 28px clamp(32px, 5vw, 88px); align-items: start; }
.v3 .join__head .lede b { color: var(--ink); font-weight: 600; }
.v3 .join__form { grid-area: form; gap: 14px; }
.v3 .join__form :is(input, select) { width: 100%; min-width: 0; box-sizing: border-box; }
.v3 .join__form select { height: 48px; padding: 0 40px 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23514c4a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; font: inherit; font-size: 15px; color: var(--ink); appearance: none; cursor: pointer; }
.v3 .join__form select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px oklch(0.18 0.008 30 / .08); }
@media (max-width: 980px) {
  .v3 .join { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "plans" "form"; }
}
@media (max-width: 980px) {
  .join { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "plans" "form" "then"; }
}
@media (max-width: 640px) {
  .then { grid-template-columns: minmax(0, 1fr); }
}
/* v3 pacing: the same blocks as the long page, a little tighter, so the whole story fits in about eleven screens */
@media (min-width: 981px) {
  /* one role per screen: blocks sit far apart, a bit larger, and snap to the middle (mandatory only inside the cast, see site.js) */
  .v3 .moment { min-height: 76svh; scroll-snap-align: center; scroll-snap-stop: always; } /* one role per swipe, however hard */
  .v3 .moment > * { zoom: 1.1; }
}
.v3 .places { padding-bottom: calc(var(--section) * .6); }
/* 6b · Real cases from the seed deck: seven cards in a strip that scrolls right (two per screen on a laptop, one on a phone), the
   same arrows as the pains strip. Each card is simple: title, "Before." and "Now." in a line or two, then one big saving and what
   the AI cost. */
.cases { padding: calc(var(--section) * .5) var(--gutter) var(--section); }
.cases__bar { display: flex; justify-content: flex-end; gap: 8px; max-width: 1240px; margin: 28px auto 16px; }
.cstrip { --edge: max(var(--gutter), calc((100vw - 1240px) / 2)); display: flex; gap: 16px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--edge) 28px; overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); overscroll-behavior-x: contain; scrollbar-width: none; }
.cstrip::-webkit-scrollbar { display: none; }
.cstrip:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: -2px; }
.case { flex: 0 0 min(612px, 86vw); display: flex; flex-direction: column; gap: 16px; padding: 28px 30px 30px; border-radius: 28px; background: var(--white); box-shadow: 0 1px 2px oklch(0.2 0.01 30 / .05), 0 24px 48px -28px oklch(0.2 0.02 275 / .22); scroll-snap-align: start; }
.case__top { display: flex; align-items: center; justify-content: space-between; margin: 0; }
.case__tag { padding: 5px 12px; border-radius: 99px; background: var(--butter); color: var(--ink); font-size: 13.5px; font-weight: 500; }
.case h3 { margin: 0; font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; }
.case__was, .case__now { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.case__was b, .case__now b { color: var(--ink); font-weight: 600; }
.case__now b { color: var(--peri-ink); }
/* the bill: what it cost before, what it costs now, what is left over */
.case__bill { display: grid; margin: auto 0 0; padding-top: 8px; }
.case__bill > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.case__bill dt { display: grid; gap: 2px; font-size: 15px; font-weight: 500; color: var(--ink); }
.case__bill dt small { font-size: 13.5px; font-weight: 400; color: var(--ink-2); }
.case__bill dd { margin: 0; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.case__bill dd b { font: 400 20px "Input Mono", monospace; letter-spacing: -0.02em; color: var(--ink); }
.case__bill .case__saved { align-items: center; padding: 16px 0 0; border-top: 1px dashed var(--ink-2); }
.case__saved dt { font-size: 17px; font-weight: 600; }
.case__saved dd { font-size: 15px; font-weight: 500; color: var(--ink); }
.case__saved dd b { font-size: 44px; line-height: 1; letter-spacing: -0.04em; }
.cases__src { max-width: 1240px; margin: 4px auto 0; font-size: 13px; color: var(--ink-2); }
@media (max-width: 760px) { .cases__bar { display: none; } .case { padding: 22px 20px 24px; } .case__saved dd b { font-size: 36px; } } /* phones: the value goes under its bar, so the bars keep their length */
.v3 .faq { padding-top: calc(var(--section) * .6); padding-bottom: calc(var(--section) * .7); }
/* v3 · The full menu: one big line about all 24 modules over a food photo, edge to edge (the Apple "Ultraversatile" layout).
   The band closes the butter section; the photo sits on the right and fades into a table-coloured gradient behind the text,
   which lines up with the page's content edge. */
.mods--v3 { padding-bottom: 0; overflow-x: clip; }
.mods__all { container-type: inline-size; position: relative; isolation: isolate; display: flex; align-items: center; min-height: min(50vw, 92svh); margin: clamp(72px, 12vh, 140px) calc(50% - 50vw) 0; background: linear-gradient(#efe3d5, #e4d5c5 55%, #d6c5b4); }
/* The board itself instead of a photo (Roman, 2026-10-23): in front, a crisp card with the twelve nearest modules, the six that launch
   in Q1 2027 marked; behind it, the whole board of 24, huge and out of focus, drifting slower than the page */
.mods__viz { position: absolute; inset: 0 0 0 38%; z-index: -1; pointer-events: none; }
.mods__haze { position: absolute; top: -8%; bottom: -8%; left: 0; right: -22%; display: grid; align-content: center; font-size: clamp(14px, 2cqw, 32px); filter: blur(10px); opacity: .75; -webkit-mask: linear-gradient(90deg, transparent, #000 34%); mask: linear-gradient(90deg, transparent, #000 34%); }
.mods__card { position: absolute; top: 50%; right: max(var(--gutter), calc((100cqw - 1240px) / 2)); width: min(46cqw, 620px); translate: 0 -50%; padding: 1.2em 1.2em 1.1em; border-radius: 1.5em; background: oklch(0.993 0.004 80); box-shadow: 0 2px 4px oklch(0.3 0.03 60 / .08), 0 40px 80px -36px oklch(0.3 0.05 60 / .5); font-size: clamp(10px, 1.05cqw, 15px); color: var(--ui-ink); }
.mods__cardh { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; margin: 0 .2em 1em; }
.mods__cardh b { font-size: 1.3em; font-weight: 600; letter-spacing: -0.02em; }
.mods__cardh span { font: .85em "Input Mono", monospace; color: var(--ui-mute); }
.mods__card .mo { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7em; }
.mods__viz .mo__t { min-height: 7.4em; gap: .5em; padding: .9em; }
.mods__card .mo__t:not(.is-next) { border-color: oklch(0.8 0.01 60); box-shadow: 0 1px 2px oklch(0.3 0.03 60 / .06); }
.mods__card .mo__t.is-next { background: oklch(0.975 0.004 80); color: var(--ui-mute); }
.mods__card .mo__t.is-next svg { stroke: var(--ui-mute); }
.mo__when { position: absolute; top: .9em; right: .9em; font: normal .78em "Input Mono", monospace; color: var(--ui-mute); }
.mods__more { margin: 1em .2em 0; font-size: .95em; line-height: 1.4; color: var(--ui-mute); }
/* A slow drift: the blurred board moves a little slower than the page (CSS scroll timeline; browsers without it keep it still) */
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .mods__all { overflow: clip; view-timeline: --menu block; }
    .mods__haze { animation: menu-drift linear both; animation-timeline: --menu; animation-range: cover; }
  }
}
@keyframes menu-drift { from { translate: 0 -6%; } to { translate: 0 6%; } }
/* The next section slides over the band (Apple-style): as the band leaves, it holds still at the top of the screen, edge to
   edge, and dims, while "It already runs our own café" rides up over it with rounded top corners */
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) { /* wide only: on a phone the band is taller than the screen and the next section would cover the module card */
  @supports (animation-timeline: view()) {
    .mods__all { view-timeline: --menu block; view-timeline-inset: 0px; animation: menu-stay linear both; animation-timeline: --menu; animation-range: exit 0% exit 100%; }
    .mods__all::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: oklch(0.22 0.02 60); opacity: 0; animation: menu-dim linear both; animation-timeline: --menu; animation-range: exit 0% exit 100%; }
    .v3 .modules + section { position: relative; z-index: 1; margin-top: -32px; border-radius: 32px 32px 0 0; background: var(--ground); box-shadow: 0 -30px 60px -30px oklch(0.3 0.03 70 / .45); } /* whichever section comes next (pricing since 2026-11-05) rides over the pinned band; without its own layer the band showed through it */
  }
}
@keyframes menu-stay { to { translate: 0 100%; } }
@keyframes menu-dim { to { opacity: .45; } }
.mods__allt { max-width: 48%; padding: clamp(48px, 8vh, 96px) 0 clamp(48px, 8vh, 96px) max(var(--gutter), calc((100% - 1240px) / 2)); }
.mods__big { margin: 0 0 clamp(16px, 1.8cqw, 28px); font-size: clamp(2.6rem, 6cqw, 6rem); font-weight: 600; letter-spacing: -0.04em; line-height: .95; text-wrap: balance; }
.mods__allt p { max-width: 30ch; margin: 0; color: oklch(0.4 0.02 60); font-size: clamp(17px, 1.5cqw, 22px); line-height: 1.45; text-wrap: pretty; }
.mods__allt b { color: var(--ink); font-weight: 600; }
/* Narrow: the text first, the card under it with the blurred board behind */
@media (max-width: 760px) {
  .mods__all { flex-direction: column; align-items: stretch; min-height: 0; }
  .mods__allt { max-width: none; padding: 48px var(--gutter) 0; }
  .mods__all { overflow: clip; }
  .mods__viz { position: relative; inset: auto; z-index: 0; padding: 32px var(--gutter) 48px; }
  .mods__haze { top: 0; bottom: 0; left: -10%; right: -60%; font-size: 22px; -webkit-mask: linear-gradient(transparent, #000 30%); mask: linear-gradient(transparent, #000 30%); }
  .mods__card { position: relative; top: auto; right: auto; width: auto; translate: none; font-size: 12px; }
}
/* v3 · Hero: the category pill wraps on phones; founders: five in a row, Kirill as a monogram until there's a photo */
.makers .founders--sm { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.makers .founders--sm { gap: 20px 18px; }
.makers .founders--sm .founder { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; } /* the sticker clears Miguel's name */
.px p { position: absolute; inset: 0 0 auto; margin: 0; padding: 8px 12px 9px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), 0 12px 24px -16px oklch(0.2 0.02 275 / .4); font-size: 13px; line-height: 1.35; z-index: calc(20 - var(--k, 0)); opacity: 0; transform: translateY(-14px) scale(.96); transition: opacity .35s, transform .45s var(--ease-out); }
.px p.on { opacity: calc(1 - var(--k, 0) * .3); transform: translateY(calc(var(--k, 0) * 9px)) scale(calc(1 - var(--k, 0) * .05)); }
.px small { display: block; color: var(--ink-2); font-size: 11px; }
.px span { display: block; color: var(--peri-ink); font-size: 12px; }
@media (max-width: 980px) {
  .px p { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; font-size: 12px; white-space: nowrap; }
  .px small { display: none; }
}
.px p.on:not(.top) > * { visibility: hidden; } /* cards under the newest one are just the pile */
.px p.on:not(.top) { color: transparent; }

/* Recipes (index): seven photos and a voice note go in, Dough writes the card step by step */
/* the line reveals left to right (a dash animation would break: the stroke is non-scaling) */
.v3 :is(.ch__low, .ch__area) { stroke: none; } /* .ch also names the POS chairs, whose stroke would leak in */

/* Voice note (Recipes upload): a light messenger-style player whose bars fill in as it plays */

/* Menu (index): the board in columns, and a chat where the owner asks Dough for seasonal drinks */
/* new drinks take no room until they arrive, so the column grows when they land */

/* All modules (index): Live in colour, and "Missing one?" opens a chat bubble for a module wish */
.v3 .mo__t em { padding: .25em .65em; border-radius: 99px; background: oklch(0.94 0.07 145); color: oklch(0.38 0.12 145); font-size: max(.78em, 11.5px); font-weight: 500; }
.v3 .mo__t:has(em) { border-color: oklch(0.86 0.07 145); }

/* The message Dough drafts for the prep cook: opens on "Write to Tiago", shows "Sent", then gets out of the way */
@media (max-width: 760px) { .v3 .mo__t em { right: .55em; top: .6em; padding: .15em .5em; font-size: max(.7em, 10px); } }

/* Production: the message goes out in Tiago's language */
:is(.dm__top em, .dm__msg, .dm__foot small) > span + span { opacity: 0; filter: blur(3px); }
.is-acted :is(.dm__top em, .dm__msg, .dm__foot small) > span:first-child { opacity: 0; transition-delay: .5s; }
.is-acted :is(.dm__top em, .dm__msg, .dm__foot small) > span + span { opacity: 1; filter: none; transition-delay: .6s; }

/* Menu chat script: three messages typed and sent, Dough answers, makes two photos, and the drinks land in their column.
   Each message takes no room until it arrives (--t), so older ones move up like a real chat. */
/* the field: each message appears letter by letter over the placeholder, then goes on Send */ /* older messages leave at the top; the field stays put */ /* same left edge as the cards below */

/* Pains as a horizontal strip (index): eight problem cards, art on top, then the one you can't count */
.v3 .stack__bar { display: flex; justify-content: flex-end; gap: 8px; max-width: 1240px; margin: 0 auto 16px; }
@media (min-width: 981px) { .v3 .stack__bar { position: relative; z-index: 1; margin-top: -44px; margin-bottom: 36px; } } /* the arrows sit level with the title's last line, the cards follow close */
.stack__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; box-shadow: inset 0 0 0 1px var(--butter-line); transition: opacity .2s, transform .2s var(--ease-out), background .2s; }
.stack__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stack__btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.stack__btn:active:not(:disabled) { transform: scale(.94); }
.stack__btn:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: 3px; }
.stack__btn:disabled { opacity: .35; cursor: default; }
/* scenes in a narrow card: the same compact layouts phones get */
@container (max-width: 480px) {
  .px p { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; font-size: 12px; white-space: nowrap; }
  .px small { display: none; }
}
@media (max-width: 760px) { .v3 .stack__bar { display: none; } }

/* What SIZL does: a three-way switch (Classic → Coworking → Autopilot) over one SIZL window that changes with it.
   Same task in every mode: add two dishes to Brunch and price them. Without JS or with reduced motion the window shows end states. */
/* rhythm: copy, then a clear break, then the switch held tight to the window it drives */
.gear { max-width: 1400px; margin: clamp(32px, 5vh, 48px) auto 0; }
@keyframes gearrun { to { transform: scaleX(1); } }

/* the window: the real SIZL screens. Dough's panel on the left (as in the app), the Items page on the right; the mode
   sets the panel's share. The Items flow (catalog → New item → the dish form → catalog) is played by the module player
   (.shots with data-manual): your cursor in Classic, Dough's big one in Coworking. */
/* The window is 40em tall: the type follows the width but also the screen height, so the window always fits
   under the nav together with the two-line heading above it (250px = nav, heading and gaps) */
.mui-stage { position: relative; margin-top: 14px; font-size: clamp(11px, min(1vw, (100svh - 250px) / 40), 14.5px); container-type: inline-size; }
.mui { --cw: 0%; position: relative; display: flex; max-width: 100%; height: 40em; margin: 0 auto; transition: max-width .7s var(--ease-out), border-radius .7s var(--ease-out), transform .7s var(--ease-out); overflow: hidden; border-radius: 1.1em; background: rgb(248 247 243); color: var(--ui-ink); font-size: inherit; line-height: 1.35; text-align: left; box-shadow: 0 30px 60px -30px oklch(0.45 0.04 75 / .55), 0 0 0 1px oklch(0.17 0.02 275 / .08); }
.mui[data-g="1"] { max-width: calc(100% - 27em); }
.mui[data-g="2"] { --cw: 27em; }
/* Coworking → Autopilot in two steps. First the screen on the right fades out whole (.is-off): the window already holds just
   the chat, shifted so it stays put, and the screen hangs outside it with its own background and shadow. Then the chat
   moves to the centre and narrows into the phone. */
.mui.is-off { max-width: 27em; overflow: visible; border-radius: 1.1em 0 0 1.1em; transform: translateX(calc((27em - 100cqw) / 2)); transition: none; }
.mui.is-off .mui__app { flex: 0 0 calc(100cqw - 27em); border-radius: 0 1.1em 1.1em 0; background: rgb(248 247 243); box-shadow: 0 30px 60px -30px oklch(0.45 0.04 75 / .55), 0 0 0 1px oklch(0.17 0.02 275 / .08); opacity: 0; }
.mui[data-g="3"] { --cw: 100%; }
.mui__chat { flex: 0 0 var(--cw); display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; min-height: 0; overflow: hidden; box-shadow: inset -1px 0 var(--ui-line); transition: flex-basis .7s var(--ease-out); }
.mui__app { flex: 1 1 0; transition: opacity .3s ease; display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; min-height: 0; overflow: hidden; }
.ly { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; min-height: 0; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.mui__chat .ly { min-width: 24em; }
/* the screen keeps its full width (the stage minus the chat) while the window morphs, so it is clipped, not reflowed */
.mui__app .ly { min-width: calc(100cqw - 27em); }
.mui[data-g="1"] .ly--a1, .mui:not([data-g="1"]) .ly--a2, .mui:not([data-g="3"]) .ly--c2, .mui[data-g="3"] .ly--c3 { opacity: 1; visibility: visible; transition-delay: 0s; }
.mui svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.xs { display: inline-grid; }
.xs--l { display: grid; }
.xs > * { grid-area: 1 / 1; font-style: normal; }
.xs > :is(.o, .v) { opacity: 0; }

/* Each mode opens in four beats: the empty layout (shapes only) → a blur with a soft white glow → the words → the real
   screen, which then plays. The Autopilot caption is as narrow as the phone. */
.mui__intro { position: absolute; inset: 0; z-index: 6; display: grid; place-content: center; justify-items: center; gap: 1.6em; padding: 2em; border-radius: 1.1em; text-align: center; pointer-events: none; }
/* the blur covers the whole window evenly, with a white veil; over the phone it takes the screen, not the frame */
.mui::after { content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; background: oklch(1 0 0 / .62); -webkit-backdrop-filter: blur(24px) saturate(1.05); backdrop-filter: blur(24px) saturate(1.05); opacity: 0; pointer-events: none; transition: opacity .55s var(--ease-out); }
.gear.is-blur .mui::after { opacity: 1; }
.gear.is-text .mui__intro { pointer-events: auto; }
.mui__intro > :is(.mui__cap, .mui__skip) { opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), visibility 0s .5s; }
.mui__intro > .mui__cap { grid-area: 1 / 1; }
.mui__cap[data-g="3"] { max-width: 19.5em; } /* Autopilot: the caption sits on the phone, not across the stage */
.gear.is-text .mui__intro > :is(.mui__cap.is-cur, .mui__skip) { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.gear.is-text .mui__intro > .mui__skip { transition-delay: .15s; }
.mui__cap h3 { margin: 0; color: var(--ink); font-size: clamp(22px, 2.3vw, 34px); font-weight: 500; line-height: 1.15; letter-spacing: -0.03em; text-wrap: balance; }
.mui__cap p { max-width: 40ch; margin: .7em auto 0; color: var(--ink-2); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.5; text-wrap: balance; }
.mui__cap .meet { padding: .08em .35em .08em .08em; }
.mui__cap .meet img { width: 1.05em; height: 1.05em; margin-right: .2em; vertical-align: -0.2em; }
.mui__skip { all: unset; position: relative; overflow: hidden; padding: .7em 1.6em; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 8px 20px -14px oklch(0.3 0.05 275 / .5); color: var(--ink); font-size: 15px; font-weight: 500; cursor: pointer; }
.mui__skip i { position: absolute; inset: 0; background: var(--peri-soft); transform: scaleX(0); transform-origin: 0 50%; }
.gear.is-text .mui__skip i { animation: gearrun var(--read) linear both; }
.mui__skip span { position: relative; }
.mui__skip:hover { box-shadow: inset 0 0 0 1px var(--peri), 0 8px 20px -14px oklch(0.3 0.05 275 / .5); }
.mui__skip:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: 3px; }

/* Autopilot: the same window with Dough's chat, only narrower and rounder; the chat itself doesn't change */
.mui[data-g="3"] { max-width: 23.5em; border-radius: 2.8em; } /* wide enough for the chat header as it is in Coworking */
.mui[data-g="3"] .mui__chat .ly { min-width: 0; }
.mui[data-g="3"] .wres { flex-wrap: wrap; }
.mui[data-g="3"] .bub { max-width: 90%; }

/* Dough's panel */
.dx__top { display: flex; flex: none; align-items: center; gap: .7em; padding: 1em 1.1em .8em; }
.dx__av { flex: none; overflow: hidden; width: 2.8em; height: 2.8em; border-radius: 50%; background: oklch(0.68 0.13 262); }
.dx__av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.dx__who { flex: 1; min-width: 0; line-height: 1.3; white-space: nowrap; }
.dx__who b { font-size: 1.05em; font-weight: 600; }
.dx__who small { color: var(--ui-mute); font-size: .95em; }
.dx__st { display: flex; align-items: center; gap: .45em; color: var(--ui-mute); font-size: .9em; }
.dx__st > i { flex: none; width: .5em; height: .5em; border-radius: 50%; background: oklch(0.6 0.15 145); }
.dx__seg { display: flex; gap: .15em; padding: .22em; border-radius: .8em; background: oklch(0.93 0.006 80); }
.dx__seg i { display: flex; align-items: center; gap: .35em; padding: .35em .6em; border-radius: .6em; color: var(--ui-mute); font-size: .9em; font-style: normal; }
.dx__seg i.on { background: #fff; color: var(--ui-ink); box-shadow: 0 1px 2px oklch(0 0 0 / .08); }
.dx__seg svg { width: 1.2em; height: 1.2em; }
.dx__ico { display: flex; color: var(--ui-mute); }
.dx__ico svg { width: 1.4em; height: 1.4em; }
.log { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; min-height: 0; overflow: hidden; padding: 0 1.1em .2em; line-height: 1.4; text-wrap: pretty; -webkit-mask-image: linear-gradient(transparent, #000 1.6em); mask-image: linear-gradient(transparent, #000 1.6em); }
.log > * { flex-shrink: 0; }
.bub { --pb: .6em; width: fit-content; max-width: 86%; margin: .55em 0 0; padding: .6em .85em; border-radius: 1em 1em 1em .25em; background: #fff; box-shadow: inset 0 0 0 1px var(--ui-line); }
.bub--me { align-self: flex-end; border-radius: 1em 1em .25em 1em; background: var(--ui-ink); color: #fff; box-shadow: none; }
.job { --pb: .8em; display: grid; gap: .5em; margin: .55em 0 0; padding: .8em 1em; list-style: none; border-radius: 1em; background: #fff; box-shadow: inset 0 0 0 1px var(--ui-line); }
.job li { display: flex; align-items: center; gap: .6em; text-wrap: balance; }
.job i { position: relative; flex: none; width: 1.35em; height: 1.35em; }
.job i::before, .job i::after { content: ""; position: absolute; inset: 0; }
.job i::before { box-sizing: border-box; border: 2px solid var(--peri); border-top-color: transparent; border-radius: 50%; opacity: 0; }
.job i::after, .ip__toast i { border-radius: 50%; background: oklch(0.95 0.05 150) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%232e8a4e' stroke-width='2'/%3E%3C/svg%3E") center / contain; }
.wres { --pb: .7em; display: flex; align-items: center; gap: 1em; margin: .55em 0 0; padding: .7em .7em .7em .8em; border-radius: 1em; background: #fff; box-shadow: inset 0 0 0 1.5px var(--peri); }
.wres__d { display: grid; grid-template-columns: auto auto; column-gap: .6em; align-items: center; }
.wres__d img { grid-row: span 2; width: 2.6em; height: 2.6em; border-radius: .6em; object-fit: cover; }
.wres__d b { font-weight: 500; }
.wres__d small { color: var(--ui-mute); font: .85em "Input Mono", monospace; }
.wres__ok { margin-left: auto; padding: .55em 1.1em; border-radius: 99px; background: var(--ui-ink); color: #fff; font-weight: 500; }
.dx__comp { position: relative; flex: none; margin: .6em 1em 1em; padding: .85em 1em .6em; border: 1px solid var(--ui-line); border-radius: 1em; background: #fff; box-shadow: 0 1px 3px oklch(0 0 0 / .04); }
.dx__ph { display: block; max-height: 2em; overflow: hidden; color: oklch(0.62 0.01 70); white-space: nowrap; text-overflow: ellipsis; }
/* typed text wraps like in a real chat field: it types letter by letter (JS splits it into <i>s with their turn, --k),
   a letter not typed yet takes no room, so the field grows line by line; it goes back to one line on Send */
.fq { display: block; max-height: 0; overflow: hidden; text-wrap: pretty; }
.fq i { font-style: normal; }
.dx__tools { display: flex; align-items: center; justify-content: space-between; margin-top: .7em; color: var(--ui-mute); }
.dx__tools > i { font-size: 1.35em; font-style: normal; line-height: 1; }
.dx__tools > span { display: flex; align-items: center; gap: .8em; }
.dx__tools svg { width: 1.3em; height: 1.3em; }
.dx__send { display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: 50%; background: oklch(0.62 0.012 60); color: #fff; }
.dx__send svg { width: 1.1em; height: 1.1em; stroke-width: 1.8; }

/* the Items page */
.ip, .ni, .fi { display: flex; flex-direction: column; }
.ip__bar { display: flex; flex: none; align-items: center; gap: 1em; height: 3.4em; padding: 0 1.6em; border-bottom: 1px solid var(--ui-line); white-space: nowrap; }
.ip__apps, .ip__cog { display: flex; color: var(--ui-mute); }
.ip__apps svg, .ip__cog svg { width: 1.35em; height: 1.35em; }
.ip__cog { margin-left: auto; }
.ip__crumb { display: flex; align-items: center; gap: .55em; font-size: .95em; }
.ip__crumb s { color: var(--ui-mute); text-decoration: none; }
.ip__crumb b { position: relative; font-weight: 500; }
.ip__crumb b::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1.2em; height: 2px; background: var(--ui-ink); }
.ip__crumb span { margin-left: .9em; color: var(--ui-mute); }
.ip__head { display: flex; flex: none; align-items: flex-start; justify-content: space-between; gap: 1em; padding: 1.4em 1.6em 1.1em; }
.ip__head h4 { margin: 0; font-size: 2em; font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; }
.ip__head p { display: flex; align-items: center; gap: .45em; margin: .55em 0 0; color: var(--ui-mute); font-size: .9em; white-space: nowrap; }
.ip__tg { position: relative; width: 1.9em; height: 1.1em; border-radius: 99px; background: oklch(0.9 0.005 80); }
.ip__tg::after { content: ""; position: absolute; left: .15em; top: .15em; width: .8em; height: .8em; border-radius: 50%; background: #fff; }
.ip__new { flex: none; padding: .65em 1.1em; border-radius: .7em; background: var(--ui-ink); color: #fff; font-size: .95em; font-weight: 500; }
.ip__filters { display: flex; flex: none; align-items: center; gap: .55em; overflow: hidden; padding: .85em 1.6em; border-block: 1px solid var(--ui-line); font-size: .88em; white-space: nowrap; }
.ip__search { display: flex; align-items: center; gap: .55em; width: 13em; padding: .6em .9em; border-radius: .6em; background: oklch(0.94 0.004 80); color: var(--ui-mute); }
.ip__search::before { content: ""; flex: none; width: .75em; height: .75em; border: 1.5px solid currentColor; border-radius: 50%; }
.ip__chip { padding: .55em .8em; border: 1px solid var(--ui-line); border-radius: .6em; background: #fff; }
.ip__chip b { font-weight: 600; }
.ip__chip--add { color: var(--ui-mute); }
.ip__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(14.5em, 1fr)); grid-auto-rows: max-content; align-content: start; gap: 1em; overflow: hidden; padding: 1.2em 1.6em; }
.ic { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--ui-line); border-radius: 1em; background: #fff; }
.ic > * { flex-shrink: 0; }
.ic img { width: 100%; height: 9em; background: rgb(247 248 243); object-fit: cover; }
.ic b { overflow: hidden; padding: .7em .9em 0; font-weight: 500; line-height: 1.25; white-space: nowrap; text-overflow: ellipsis; }
.ic > span { display: flex; align-items: center; gap: .5em; padding: .55em .9em .8em; font-size: .78em; }
.ic i { color: var(--ui-mute); font-style: normal; letter-spacing: .04em; text-transform: uppercase; }
.ic code { padding: .15em .45em; border-radius: .35em; background: oklch(0.95 0.03 250); color: oklch(0.45 0.12 255); font: 1em "Input Mono", monospace; }
.ic em { margin-left: auto; color: var(--ui-ink); font: normal 1.1em "Input Mono", monospace; }
.ic--new { border-color: var(--peri); box-shadow: 0 0 0 3px oklch(0.64 0.16 275 / .22); }
.shot.is-on .ic--new { animation: icin .6s var(--ease-out) .25s both; }
.shot.is-on .ic--late { animation-delay: 1s; }
@keyframes icin { from { opacity: 0; transform: translateY(.6em) scale(.96); } }
.ip__toast { position: absolute; left: 50%; bottom: 1.4em; display: flex; align-items: center; gap: .6em; margin: 0; padding: .7em 1.1em .7em .8em; border-radius: .8em; background: var(--ui-ink); color: #fff; font-size: .92em; white-space: nowrap; transform: translateX(-50%); box-shadow: 0 1em 2em -1em oklch(0 0 0 / .45); }
.ip__toast i { flex: none; width: 1.4em; height: 1.4em; }
.shot.is-on .ip__toast { animation: fadein .4s var(--ease-out) .9s both; }
/* New item */
.ni__in { flex: 1; width: 100%; max-width: 52em; margin: 0 auto; padding: 2.4em 1.6em; box-sizing: border-box; text-align: center; }
.ni__in h4 { margin: 0; font-size: 1.9em; font-weight: 500; letter-spacing: -0.02em; }
.ni__in p { max-width: 36em; margin: .6em auto 0; color: var(--ui-mute); }
.ni__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8em; margin-top: 1.8em; }
.ni__t { display: grid; justify-items: center; gap: .7em; padding: 1.4em .5em; border: 1px solid var(--ui-line); border-radius: .9em; background: #fff; font-size: .95em; white-space: nowrap; }
.ni__t i { display: grid; place-items: center; box-sizing: border-box; min-width: 2.6em; height: 2.6em; padding: 0 .4em; border-radius: .6em; background: var(--bg); color: var(--fg); font: 600 .85em "Input Mono", monospace; }
/* the dish form, simplified: name, category, price and photos */
.fi__act { display: flex; gap: .4em; margin-left: auto; font-size: .95em; }
.fi__cancel { padding: .55em 1em; color: var(--ui-mute); }
.fi__save { padding: .55em 1.2em; border-radius: .7em; background: var(--ui-ink); color: #fff; font-weight: 500; }
.fi__in { display: flex; flex-direction: column; gap: 1.3em; overflow: hidden; padding: 1.4em 1.6em; }
.fi__k { margin-bottom: -.7em; color: var(--ui-mute); font-size: .78em; letter-spacing: .06em; text-transform: uppercase; }
.fi__name, .fi__price { display: grid; align-items: center; }
.fi__name > *, .fi__price > * { grid-area: 1 / 1; justify-self: start; }
.fi__name { height: 2.5em; padding: 0 .65em; border: 1px solid var(--ui-line); border-radius: .5em; background: #fff; font-size: 1.6em; letter-spacing: -0.02em; transition: border-color .2s, box-shadow .2s; }
.fi__ph { color: oklch(0.68 0.012 250); }
.fi .ty { white-space: nowrap; clip-path: inset(0 100% 0 0); }
.fi__sec > b { display: block; margin-bottom: .6em; font-size: 1.15em; font-weight: 500; }
.fi__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1em; }
.fi__f { display: grid; align-content: start; gap: .35em; }
.fi__f > small { font-size: .85em; }
.fi__sel { position: relative; display: flex; align-items: center; gap: .6em; box-sizing: border-box; min-height: 2.8em; padding: 0 .9em; border: 1px solid var(--ui-line); border-radius: .6em; background: #fff; transition: border-color .2s, box-shadow .2s; }
.fi__sel:not(.fi__price)::after { content: ""; position: absolute; right: 1em; top: 50%; width: .45em; height: .45em; border: solid var(--ui-mute); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); }
.fi__c { display: grid; place-items: center; width: 2.2em; height: 1.8em; border-radius: .4em; background: oklch(0.95 0.03 250); color: oklch(0.45 0.12 255); font: 600 .8em "Input Mono", monospace; }
.fi__sel.fi__price { display: grid; font: 1em "Input Mono", monospace; }
.fi__price > .fi__fc { justify-self: end; color: var(--ui-mute); font: .8em "Suisse Intl", sans-serif; opacity: 0; }
.ni__in .ni__hint { display: grid; place-items: center; max-width: none; height: 7em; margin: 1em 0 0; border: 1.5px dashed oklch(0.86 0.012 85); border-radius: .9em; color: oklch(0.62 0.01 70); }
.fi__area { display: block; height: 4.6em; padding: .8em .9em; box-sizing: border-box; border: 1px solid var(--ui-line); border-radius: .6em; background: #fff; color: oklch(0.68 0.012 250); }
.fi__drop { position: relative; display: flex; align-items: center; gap: .55em; box-sizing: border-box; min-height: 2.8em; padding: 0 .9em; border: 1.5px dashed oklch(0.84 0.015 85); border-radius: .6em; font-size: .95em; }
.fi__drop svg { width: 1.2em; height: 1.2em; }
.fi__pic { position: absolute; right: .35em; top: .3em; width: 2.1em; height: 2.1em; border-radius: .45em; object-fit: cover; opacity: 0; }
.shot.is-name .fi__name .fi__ph, .shot.is-price .fi__price .fi__ph { opacity: 0; }
.shot.is-name .fi__name .ty { animation: mdtype 1.1s steps(11) both; }
.shot.is-price .fi__price .ty { animation: mdtype .7s steps(6) both; }
.shot.is-name:not(.is-price) .fi__name, .shot.is-price .fi__price { border-color: var(--ui-ink); box-shadow: 0 0 0 3px oklch(0.22 0.008 60 / .08); }
.shot.is-price .fi__fc { animation: fadein .4s var(--ease-out) .6s both; }
.shot.is-price .fi__pic { animation: fadein .4s var(--ease-out) 1.2s both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
/* the cursor here is bigger: Dough's in periwinkle with its tag, yours in ink */
.gear .shots__cur { width: 2.1em; }
.gear .shots[data-pace] .shots__cur { transition-duration: .42s, .3s; }
.gear .shots__cur svg { fill: var(--peri-ink); }
.gear .shots__who { left: 1.6em; top: 1.8em; gap: .45em; padding: .3em .9em .3em .3em; font-size: .95em; }
.gear .shots__who img { width: 1.8em; height: 1.8em; }
.gear .shots__cur.is-left .shots__who { left: auto; right: .8em; padding: .3em .3em .3em .9em; }
.gear [data-who="You"] .shots__cur svg { fill: var(--ui-ink); }
.gear [data-who="You"] .shots__who { padding: .3em .9em; background: var(--ui-ink); box-shadow: none; }
.gear [data-who="You"] .shots__who img { display: none; }

/* chat start states (JS present, motion allowed) */
.mui.is-armed .m { opacity: 0; }
/* when a scene stops, its messages fade out first and only then collapse, so the chat doesn't blink empty */
.mui.is-armed .log > .m { max-height: 0; margin-top: 0; padding-block: 0; transition: opacity .25s, max-height 0s .25s, margin 0s .25s, padding 0s .25s; }
.mui.is-armed .xs > .o { opacity: 1; }
.mui.is-armed .xs > .n { opacity: 0; }
.mui.is-armed .job i::before { opacity: 1; }
.mui.is-armed .job i::after { opacity: 0; }
/* chat playing */
.mui.is-on .m { animation: mdin .45s var(--ease-out) var(--t) both; }
/* after growing, a message keeps a roomy cap (not --h), so a resize mid-scene can't clip it */
.mui.is-on .log > .m { max-height: 30em; margin-top: var(--mt, .55em); padding-block: var(--pb, 0); opacity: 1; animation: mdgrow .5s var(--ease-out) var(--t) backwards; }
.mui.is-on .xs > .o { animation: mdout .25s var(--t) both; }
.mui.is-on .xs > .n { animation: mdin .4s var(--ease-out) var(--t) both; }
.mui.is-on .xs > .v { animation: mdin .4s var(--ease-out) var(--t) both, mdout .25s var(--u) forwards; } /* a middle state: in at --t, out at --u */
.mui.is-on .dx__ph { animation: fqshut .15s var(--t) both, fqopen .2s var(--b) forwards; }
.mui.is-on .fq { animation: fqopen .25s var(--t) both, fqshut .2s var(--b) forwards; }
.mui.is-on .fq i { animation: fqword 1ms calc(var(--t) + var(--k) * 36ms) backwards; }
@keyframes fqword { from, to { font-size: 0; } }
@keyframes fqopen { from { max-height: 0; opacity: 0; } to { max-height: 8em; opacity: 1; } }
@keyframes fqshut { from { max-height: 8em; opacity: 1; } to { max-height: 0; opacity: 0; } }
.mui.is-on .dx__send { animation: mdink .2s var(--t) both, mdgray .3s var(--b) forwards; }
.mui.is-on .job i::before { animation: mdspin .8s linear infinite, mdout .2s var(--d) both; }
.mui.is-on .job i::after { animation: mdin .3s var(--ease-out) var(--d) both; }
.mui.is-on .wres__ok { animation: mdping 1.8s 10.3s 3; }
/* the start state zeroes padding and margin, so the end values come from --mt / --pb; --h is the message's own height */
@keyframes mdgrow { from { max-height: 0; margin-top: 0; padding-block: 0; opacity: 0; } to { max-height: calc(var(--h, 30em) + 2 * var(--pb, 0px)); margin-top: var(--mt, .55em); padding-block: var(--pb, 0); opacity: 1; } }
@keyframes mdin { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes mdout { from { opacity: 1; } to { opacity: 0; } }
@keyframes mdink { to { background: var(--ui-ink); } }
@keyframes mdgray { from { background: var(--ui-ink); } to { background: oklch(0.62 0.012 60); } }
@keyframes mdtype { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes mdspin { to { rotate: 360deg; } }
@keyframes mdping { from { box-shadow: 0 0 0 0 oklch(0.64 0.16 275 / .55); } to { box-shadow: 0 0 0 10px oklch(0.64 0.16 275 / 0); } }
@media (max-width: 760px) {
  .mui-stage { font-size: 10.5px; }
  .mui { flex-direction: column; height: 56em; }
  .mui[data-g="3"] { max-width: 25em; }
  .mui__intro { padding: 1.4em; }
  .mui[data-g="1"] { max-width: 100%; }
  .mui.is-off { max-width: 100%; overflow: hidden; border-radius: 1.1em; transform: none; } /* phones: the lower screen just fades */
  .mui.is-off .mui__app { flex: 1 1 0; border-radius: 0; box-shadow: none; }
  .mui[data-g="2"] { --cw: 41%; }
  .mui__chat { box-shadow: inset 0 -1px var(--ui-line); }
  .mui :is(.mui__chat, .mui__app) .ly { min-width: 0; }
  .dx__seg { display: none; }
  .ip__bar, .ip__head, .ip__filters, .ip__grid, .fi__in { padding-inline: 1.1em; }
  .ip__crumb span, .ip__chip { display: none; }
  .ip__search { flex: 1; width: auto; }
  .ip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7em; }
  .ic img { height: 7.5em; }
  .ni__in { padding: 1.6em 1.1em; }
  .ni__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6em; margin-top: 1.2em; }
  .ni__t { grid-auto-flow: column; justify-content: start; align-items: center; padding: .7em; }
  .ni__hint, .fi__sec:last-child { display: none; }
  .wres { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .mui, .mui__chat { transition: none; } }

/* ── UI rules pass (Roman, 2026-10-19, the 13-rule thread). Overrides for the landing chrome only; the product mock-ups keep their
   own conventions (periwinkle for losses and alerts is how the SIZL app marks them).
   1  no backgrounds that say nothing: category tags are plain labels, not pills
   2  no filled card unless it is the main one: Vlada's card is white like the rest
   3  spacing on a 4/8 scale in the parts we built (cases, form)
   4  a label sits closer to its field (8px) than to the next field (24px)
   5–6 periwinkle marks what you click and the highlighted phrase; plain text, bullets and tags are ink or grey
   10 headings 1.1, body 1.4–1.5
   11 one primary button per screen: the nav button is secondary, the hero keeps the primary
   12 tags no longer look like buttons ── */
.v3 :is(.h2, .chapter__h, .hero h1, .mods__big, .makers__h) { line-height: 1.1; }
.v3 .nav__cta { box-shadow: inset 0 0 0 1.5px var(--ink); }
.v3 .nav__cta:hover { background: var(--ink); color: #fff; }
.v3 .case { gap: 16px; padding: 32px; }
.v3 .case__tag { padding: 0; border-radius: 0; background: none; font: 12px "Input Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.v3 .case__now b { color: var(--ink); }
.v3 :is(.cases__test, .perks, .pos__feat) li::before { background: oklch(0.7 0.01 60); }
.v3 .join__form { gap: 24px; }
.v3 .join__form .field { gap: 8px; }
@media (max-width: 760px) { .v3 .case { padding: 24px 20px; } }

/* 6, 12: the chosen mode word is a control, so it gets a control's mark (a solid periwinkle underline that sweeps in when the
   cursor lands), not the marker band the page uses for highlighted phrases */ /* keeps the spreadsheet's title in frame */

/* CTA after a section: one big line, the terms, one big button. On pains, Dough's cursor is clicking it. */
.btn--lg { height: 60px; padding: 0 30px; font-size: 17px; }
.btn svg { width: 18px; height: 18px; margin-right: -4px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: translate .25s var(--ease-out); }
.btn:hover svg { translate: 3px 0; } /* the Dough section has no side padding of its own */
.mods__allt .btn { margin-top: 28px; }

/* Case icon: a clay sticker beside the tag and the title; the bill still sits at the bottom of the card */
.v3 .case:not(.case--human) { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto auto auto 1fr; column-gap: 20px; }
.v3 .case:not(.case--human) > * { grid-column: 1 / -1; }
.v3 .case:not(.case--human) > .case__top { grid-column: 2; align-self: end; }
.v3 .case:not(.case--human) > h3 { grid-column: 2; align-self: start; }
.v3 .case:not(.case--human) > .case__bill { align-self: end; }
@media (max-width: 760px) { .v3 .case:not(.case--human) { grid-template-columns: 72px minmax(0, 1fr); column-gap: 14px; } }

/* Team names: first name over last name */


/* Join, dressed: perks are ticks, the founders who set you up close the column */
.v3 .join__form { position: relative; }

/* Join, rules pass: spacing on the 4/8 scale; field borders reach 3:1; the form card is flat white on butter; the note lines up with the fields */
.v3 .join { padding: 48px; gap: 32px 48px; }
.v3 .join__form { padding: 32px; box-shadow: none; }
.v3 .join__form input { padding-inline: 16px; }
.v3 .join__form select { padding-left: 16px; }
.v3 .join__form :is(input, select):not(:focus) { border-color: oklch(0.66 0.01 60); }
.v3 .join__form .btn { margin-top: 0; }
@media (max-width: 760px) { .v3 .join { padding: 24px; gap: 32px; } .v3 .join__form { padding: 24px; } }

/* Waitlist only (Roman, 2026-10-19): a compact form, fields 16 apart */
.v3 .join__form { gap: 16px; }

/* Cases: the arrows sit under the strip, at the end of the footnote line */
.cases__foot { max-width: 1240px; margin: 8px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cases__foot .cases__src { margin: 0; }
.cases__foot .cases__bar { flex: none; margin: 0; }

/* #what mode words: the periwinkle highlight from the hero instead of a dotted underline. All three sit on a soft tint so they read as choices;
   the chosen one fills with the hero's periwinkle, sweeping in from the left */
.v3 .gw button { padding: 0 .12em; margin: 0 -.02em; border-radius: .12em; text-decoration: none;
  background: linear-gradient(var(--peri), var(--peri)) no-repeat 0 0 / 0% 100%, oklch(0.9 0.05 275 / .6); transition: background-size .5s var(--ease-out), background-color .2s; }
.v3 .gw button.is-lit { background-size: 100% 100%; }
.v3 .gw button:not(.is-lit):hover { background-color: oklch(0.84 0.08 275 / .75); }

/* Phones, shorter (Roman, 2026-10-19): Dough sits big above the roles instead of pinned under the nav,
   lower place photos, the team in two columns without bios, the legal block in two columns */
@media (max-width: 760px) {
  .v3 .makers .founders--sm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .v3 .makers .founders--sm .founder p { display: none; }
  .legal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Pains and cases drift on their own (site.js); snapping would pull every frame back to a card, so it's off while they drift */
#case-list.is-drift { scroll-snap-type: none; }
#case-list.is-drift > * { translate: var(--drift, 0) 0; will-change: translate; }

/* Footer contact reads as a link */
.legal dd a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal dd a:hover { color: var(--peri-ink); }

/* Phones (impeccable adapt, 2026-10-23). The first screen ends at its button: the floating fragments only ever appear under a mouse, so on a
   phone they left 240px of blank under the CTA. The pill fits its line, the Dough section closes its seams, and on touch screens the
   mode words, the "How it works" button and the footer links get 44px targets. */
@media (max-width: 760px) {
  .v3 .hero { min-height: 0; padding-bottom: 64px; }
  .v3 .pill { gap: 8px; font-size: 13px; }
  .v3 .dough__head { margin-bottom: 8px; }
  .v3 .day { margin-top: 0; }
  .v3 .moment { padding: 28px 0; } /* the tab row scrolls: the last tab fades instead of being cut */
}
@media (pointer: coarse) {
  .v3 .gw button::before { content: ""; position: absolute; inset: -11px -2px; }
  .foot nav { gap: 0 20px; }
  .foot nav a { padding-block: 12px; }
}

/* Modules: the next screen fades in instead of popping */

/* Cases: the cards keep their distance from the intro now that the arrows moved under the strip */
.v3 .cstrip { margin-top: clamp(32px, 4vw, 56px); }

/* v4 · #product: five steps as a plain list, one picture each (Roman, 2026-11-05: "simplify to the max"; the brief will change) */
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid oklch(0.3 0.04 70 / .14); }
.steps li { display: grid; grid-template-columns: 3.5em minmax(0, 1fr) minmax(0, 300px); gap: clamp(16px, 3vw, 48px); align-items: center; padding: clamp(24px, 3.5vw, 40px) 0; border-bottom: 1px solid oklch(0.3 0.04 70 / .14); }
.steps__n { align-self: start; padding-top: .55em; font: 13px "Input Mono", monospace; color: oklch(0.5 0.035 275); }
.steps h3 { margin: 0 0 10px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.steps p { margin: 0; max-width: 52ch; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.55; color: oklch(0.28 0.03 60); }
.steps__art { display: grid; place-items: center; }
@media (max-width: 760px) {
  .steps li { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .steps__n { padding-top: 0; }
  .steps__art { justify-items: start; }
}

/* v4 · Hero objects (Roman, 2026-11-05): clay objects from Codex instead of the food photos, each with a tag that says
   what SIZL did with it. They fly in with the rest (site.js); then the invoice gets scanned, the tags pop in, and the food-cost ring counts down (site.js). */

/* v4 · The 42% screen (Roman, 2026-11-05): the stat from the pains header, now under the cards, as a waffle of 100 restaurants.
   29 fill first (2024), then 13 more in the darker step (2025) while the number counts 0 → 29 → 42 (site.js). Colours validated
   with the dataviz checker on this surface; the light step is under 3:1, so the key carries the numbers in text. */
.k { width: 12px; height: 12px; border-radius: 3px; } /* "Each of these costs you money." sits over the cards now */

/* v4 · Why AI (Roman, 2026-11-05): the end of the pains is one statement on its own screen instead of the waitlist button.
   The two lines rise in when the block comes into view (site.js adds .is-in); without motion they are simply there. */
.why-ai { display: grid; place-content: center; min-height: min(78svh, 760px); padding: clamp(64px, 10vh, 120px) var(--gutter); text-align: center; background: var(--peri); }
@media (prefers-reduced-motion: no-preference) {
  .why-ai.is-pre > * { opacity: 0; transform: translateY(28px); }
  .why-ai.is-in > * { transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
  .why-ai.is-in > :nth-child(2) { transition-delay: .25s; }
}

/* v4 · Pricing (Roman, 2026-11-05): after the five steps, on the site's existing plan cards (.price/.plans/.plan above):
   Base $50, Standard $200, pay as you go, Enterprise per project. Enterprise always last (Roman, 2026-11-08): four across, two by two
   on mid widths, one column on phones. */
.price { background: var(--ground); }
.price__in { max-width: 1240px; margin: 0 auto; }
.price__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46ch); gap: 24px; align-items: end; }
.price .plans { list-style: none; padding: 0; margin-bottom: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .price .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; } }
.price .plan { position: relative; }
.plan__tag { position: absolute; top: -13px; left: clamp(24px, 3vw, 40px); margin: 0; padding: 5px 12px; border-radius: 99px; background: var(--peri); color: var(--ink); font-size: 13px; font-weight: 600; }
.plan__name { margin: 0; }
.plan .btn { margin-top: auto; }
:is(.v3, .cafe) .plan.plan--payg { background: transparent; box-shadow: none; border: 1.5px dashed oklch(0.3 0.02 70 / .3); } /* the no-plan option: an outline, not a card */
.price__note { margin: 20px 0 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) {
  .price__head { grid-template-columns: minmax(0, 1fr); }
  .price .plans { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

/* v4 · Hero v4 (Roman, 2026-11-08): his reference, in SIZL colours. Copy left (kicker, "Spend less. Sell more.", lede, CTA),
   Dough (dough-lg) right with the two entry points as clay cards: Operations and Growth; a strip of five features under it.
   Hand-drawn strokes draw in on load, the cards rise, the tick pops, the growth line draws, Dough breathes. */
.h4 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; width: 100%; max-width: 1280px; margin: 0 auto; }
.ico { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) {
  .h4 { grid-template-columns: minmax(0, 1fr); }
}

/* v4 · Header from the reference (Roman, 2026-11-08): no pill; a bold black "SIZL." wordmark, plain links and a black
   "Join the waitlist →" with a lime arrow. Transparent over the hero, butter glass once the page scrolls. Index only for now. */
.nav--v4 { top: 0; width: 100%; max-width: none; padding: 20px max(var(--gutter), calc((100% - 1240px) / 2)); /* same 1240px column as the hero copy, so the logo lines up with the headline */ border-radius: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background .3s, box-shadow .3s, transform .4s var(--ease-out); }
.nav--v4.is-scrolled { padding-block: 12px; background: oklch(0.95 0.045 92 / .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 oklch(0.3 0.03 70 / .1); }
.nav--v4.is-hidden { transform: translate(-50%, -100%); }
.nav__word .nav__logo { display: block; width: auto; height: clamp(34px, 3vw, 42px); color: var(--ink); } /* the lowercase wordmark is the logo everywhere (Roman, 2026-11-14) */
.nav__word { font-size: clamp(26px, 2.2vw, 32px); font-weight: 700; letter-spacing: -0.06em; line-height: 1; color: var(--ink); text-decoration: none; }
.nav--v4 .nav__links { gap: clamp(28px, 3.6vw, 56px); margin-left: auto; margin-right: clamp(24px, 3vw, 48px); font-size: 16px; font-weight: 500; color: var(--ink); }
.nav--v4 .nav__links a:hover, .nav--v4 .nav__links a[aria-current] { color: oklch(0.45 0.02 70); }
.v3 .nav--v4 .nav__cta, .nav--v4 .nav__cta { height: 54px; padding: 0 26px; gap: 14px; font-size: 16px; background: var(--ink); color: #fff; box-shadow: none; }
.v3 .nav--v4 .nav__cta:hover { background: oklch(0.27 0.01 30); }
.nav--v4 .nav__cta svg { width: 20px; height: 20px; fill: none; stroke: #B9E21C; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) { .nav--v4 { padding: 14px var(--gutter); } .v3 .nav--v4 .nav__cta, .nav--v4 .nav__cta { height: 44px; padding: 0 18px; font-size: 14.5px; } } /* no dot grid on this hero */ /* block, not the old hero grid: the grid shrank the 1240px column */
.nav--v4 { display: grid; grid-template-columns: 1fr auto 1fr; }
.nav--v4 .nav__links { justify-self: center; margin: 0; gap: clamp(28px, 3.4vw, 52px); font-size: 15.5px; }
.v3 .nav--v4 .nav__cta, .nav--v4 .nav__cta { justify-self: end; border-radius: 10px; height: 46px; padding: 0 20px; font-size: 15px; }
.nav--v4 .nav__cta svg { stroke: #fff; } /* A keeps the lime: pale lime circles, olive icons */ /* violet at hue 292: across the wheel from the dough orange (67), deeper than the periwinkle */
.hero .hx__h { margin: 0; font-size: clamp(3rem, 6.3vw, 6.6rem); font-weight: 700; line-height: .93; letter-spacing: -0.058em; text-wrap: initial; white-space: nowrap; }
.hx__btn { display: inline-flex; align-items: center; gap: 14px; height: clamp(50px, 4vw, 60px); padding: 0 clamp(22px, 2vw, 32px); border-radius: 10px; font-size: clamp(16px, 1.25vw, 19px); font-weight: 500; text-decoration: none; transition: transform .2s var(--ease-out), background .2s; }
.hx__btn svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: translate .2s var(--ease-out); }
.hx__btn:hover svg { translate: 4px 0; }
.hx__btn--ink { background: var(--ink); color: #fff; }

/* the SIZL screen in perspective */

@keyframes hxin { from { opacity: 0; translate: 0 22px; } }
@media (max-width: 900px) {
  .nav--v4 { display: flex; } .nav--v4 .nav__links { display: none; }
  .hx__h { font-size: clamp(3rem, 14vw, 5rem); }
}

/* v5 · Heroes fit one screen (Roman, 2026-11-08): sizes follow the window height as well as its width, so the copy, the art
   and the five features stay above the fold from ~700px tall up. */
.hero .hx__h { font-size: clamp(2.6rem, min(6vw, 10.4vh), 6.2rem); }
.hx__btn { height: clamp(46px, 6vh, 56px); } /* A: the character sits closer to the copy (Roman: the gap was too wide) */ /* clay icons from Codex instead of line icons in circles */

/* v5 · Hero C (Roman, 2026-11-08): centred copy and two buttons; six Doughs from his pose sheet walk in from both edges, bobbing
   side-on, line up under the copy and turn to face the visitor. Rough on purpose for now. ?hero=c shows it. */
.hc__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* v5 · Hero C, take 2 (Roman): longer headline, more air, smaller Doughs */
.hc__cta { margin-top: clamp(28px, 5vh, 52px); } /* C: the captions under the headline are gone (the headline already says restaurant) */

/* v5 · Hero C, take 4 (Roman): air back, and doodles on the empty sides (his pick of the mock-ups): lime and violet sparkles,
   squiggle ribbons, dots and the three strokes. They pop in after the copy, then twinkle, float or flicker. */
.hc__cta { margin-top: clamp(40px, 7vh, 72px); }
/* Hero C, take 4b: air and the five features both on one screen */
.hc__cta { margin-top: clamp(32px, 5.6vh, 60px); } /* phones: no free sides, the doodles would sit on the copy */ /* phones show no cards, so no room is reserved for them */

/* v6 · Hero D (Roman, 2026-11-08): his café reference. ?hero=d shows it (C stays the default for now). The café scene and the five
   agents are Codex images; the sticky note writes itself (box, tick, words, one line after another, again every 14 s or on hover);
   the agents pop up from behind the counter one by one, bob a little, hop on hover; their labels sit on the counter. */
.hero--d { display: none; }
.hero-d .hero--d { display: block; }
.hero--d { position: relative; min-height: min(100svh, 940px); padding: clamp(96px, 12vh, 120px) var(--gutter) 0; text-align: center; overflow: hidden; background: #F6E8D8; }
.hero--d::before { content: none; }
.hd { position: relative; z-index: 2; max-width: 980px; margin: 0 auto; }
.hero .hd__h { margin: 0 auto; max-width: 14ch; font-size: clamp(2.8rem, min(5.6vw, 9.4vh), 6rem); line-height: .95; white-space: normal; text-wrap: balance; }
.hd__lede { margin: clamp(14px, 2.4vh, 24px) auto clamp(20px, 3.4vh, 34px); max-width: 44ch; font-size: clamp(17px, 1.45vw, 22px); line-height: 1.4; color: oklch(0.35 0.01 70); text-wrap: balance; }
.hd .hx__btn { background-color: var(--btn-bg, transparent); }
.hd .hx__btn--ink { --btn-bg: var(--ink); }

/* the sticky note */

/* the agents on the counter */
@media (prefers-reduced-motion: no-preference) {
  .hd > * { animation: hxin .8s var(--ease-out) both; }
  .hd > :nth-child(2) { animation-delay: .08s; } .hd > :nth-child(3) { animation-delay: .16s; } .hd > :nth-child(4) { animation-delay: .24s; }
}
@media (max-width: 900px) {
  .hero--d { min-height: 760px; padding-top: 96px; }
} /* a touch larger and shifted left, so the plant clears the SIZL logo */
/* Hero D on phones: the agents stand under the buttons instead of over them, three of them, on the counter */
@media (max-width: 900px) {
  .hero--d { min-height: 0; padding-bottom: 18px; }
}

/* Hero D letter board (Roman: the chalkboard looked AI-made): black felt with grooves in an oak frame; white plastic letters
   are pushed in one by one, each a touch crooked. Then the croissant price is swapped, digit by digit, the way the Food cost
   agent would after a new invoice. Again every 16 s or on hover. Hidden where the note is hidden. */
.hero--d { padding-top: clamp(124px, 17vh, 168px); } /* the kicker is gone (Roman), so the headline gets the air above it */
@media (max-width: 900px) { .hero--d { padding-top: 112px; } }
/* Hero D marker (Roman): "control panel" and "AI agents" are swiped with a lime highlighter, a little uneven, after the copy lands */
.hd__mk { color: inherit; background: linear-gradient(100deg, oklch(0.9 0.19 122 / 0) 0, oklch(0.9 0.19 122 / .85) .25em, oklch(0.91 0.18 120 / .7) calc(100% - .3em), oklch(0.9 0.19 122 / 0) 100%) 0 88% / 100% 46% no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .06em; margin: 0 -.06em; border-radius: .2em .5em .3em .4em; }
.hd__mk--2 { background-size: 100% 58%; background-position: 0 80%; }
@keyframes hdmk { from { background-size: 0% 46%; } }
@keyframes hdmk2 { from { background-size: 0% 58%; } }
@media (prefers-reduced-motion: no-preference) {
  .hd__mk { animation: hdmk .7s cubic-bezier(.6, 0, .3, 1) .9s both; }
  .hd__mk--2 { animation: hdmk2 .55s cubic-bezier(.6, 0, .3, 1) 1.5s both; }
}

/* Hero D: the agents stand on the counter (Roman: "не нравится, что они парят"); a tight contact shadow under the feet
   replaces the soft drop shadow that read as height. 2026-11-08 Roman: no squash and stretch at all ("убери растягивания"):
   on hover the agent wiggles from its feet and lime motion marks burst out on both sides. */

/* 2026-11-08 Roman: prices on the hero D board change like an old airport split-flap board. Each digit is a dark cell with a
   seam across the middle; a flip folds it down from the top. */

/* 2026-11-08 Roman: the sticky note showed stray dots (a zero-length stroke with round caps still paints a dot) and he wants
   real tasks that just get ticked. Tasks and boxes are written from the start; only the ticks go in, one by one. */ /* room for "Order produce" */ /* no idle bob either: the old hdbob came back once the breathing was gone */ /* its left side is the megaphone horn */
.mui__skip { display: inline-flex; align-items: center; justify-content: center; line-height: 1.2; } /* Safari dropped the label below the pill with the unset button box (Roman, 2026-11-08) */
