/* Marketing site. Black ground, white type, one lime accent used only for live details. */
:root {
  --bg: #050505;
  --ink: #f5f5f3;
  --muted: #8d8d8a;
  --faint: #55554f;
  --line: rgb(255 255 255 / 0.1);
  --lime: #8eff01;
  --font: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --pad: clamp(20px, 5vw, 72px);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--lime); color: #000; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--pad); }
.mono { font: 400 13px/1 var(--mono); letter-spacing: 0.02em; color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #000; padding: 10px 14px; border-radius: 8px; }

/* a dot grid that only shows around the pointer */
.grid-glow { position: fixed; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(rgb(255 255 255 / 0.22) 1px, transparent 1.4px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(260px circle at var(--mx, -999px) var(--my, -999px), #000, transparent 70%); mask-image: radial-gradient(260px circle at var(--mx, -999px) var(--my, -999px), #000, transparent 70%); }
main, footer, .nav { position: relative; z-index: 1; }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color 300ms ease, border-color 300ms ease; border-bottom: 1px solid transparent; }
.nav.is-stuck { background: rgb(5 5 5 / 0.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-color: var(--line); }
.nav__bar { display: flex; align-items: center; gap: 40px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.logo i { width: 8px; height: 8px; background: var(--lime); border-radius: 2px; }
.nav__links { display: flex; gap: 30px; margin-right: auto; font-size: 15px; color: var(--muted); }
.nav__links a, .nav__in { transition: color 200ms ease; }
.nav__links a:hover, .nav__in:hover { color: var(--ink); }
.nav__in { font-size: 15px; color: var(--muted); margin-left: auto; }
.nav__links + .nav__in { margin-left: 0; }
@media (max-width: 860px) { .nav__links { display: none; } .nav__bar { gap: 20px; } }
@media (max-width: 420px) { .nav__in { display: none; } .nav .btn { margin-left: auto; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: #000; font: 500 15px/1 var(--font); border: 0; cursor: pointer; transition: background-color 200ms ease, transform 160ms var(--ease); will-change: transform; }
.btn svg { width: 14px; height: 14px; transition: transform 240ms var(--ease); }
.btn:active { transform: scale(0.97); }
.btn--lg { height: 60px; padding: 0 32px; font-size: 18px; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
@media (hover: hover) {
  .btn:hover { background: var(--lime); }
  .btn:hover svg { transform: translateX(3px); }
  .btn--ghost:hover { background: rgb(255 255 255 / 0.06); }
}
.link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--faint); transition: border-color 200ms ease; }
.link svg { width: 16px; height: 16px; transition: transform 240ms var(--ease); }
@media (hover: hover) { .link:hover { border-color: var(--lime); } .link:hover svg { transform: translateX(4px); } }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding-block: 120px clamp(48px, 9vh, 96px); }
.hero canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }
.hero__text { position: relative; max-width: 720px; pointer-events: none; }
.hero__text > * { pointer-events: auto; }
.hero h1 { font-size: clamp(56px, 9.2vw, 148px); line-height: 0.92; letter-spacing: -0.055em; font-weight: 500; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--muted); }
.hero__lead { margin-top: 28px; max-width: 30em; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); }
.hero__lead b { color: var(--ink); font-weight: 400; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__hint { position: absolute; right: var(--pad); bottom: clamp(48px, 9vh, 96px); }
@media (max-width: 860px) { .hero__hint { display: none; } }

/* load-in, once */
.rise { opacity: 0; transform: translateY(18px); animation: rise 900ms var(--ease) forwards; animation-delay: calc(var(--i, 0) * 90ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.seen { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.seen.is-in { opacity: 1; transform: none; }

/* how an order moves: pinned while the page scrolls through four steps */
.flow { height: 420vh; }
.flow__stage { position: sticky; top: 0; height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding-block: 108px 56px; }
.flow__head { display: flex; justify-content: space-between; align-items: baseline; }
.flow__head h2 { font: 400 13px/1 var(--mono); letter-spacing: 0.02em; color: var(--muted); }
.flow__count b { color: var(--ink); font-weight: 400; }
.flow__steps { position: relative; }
.step { position: absolute; inset: 0; display: grid; align-content: center; gap: 24px; opacity: 0; transform: translateY(40px); transition: opacity 500ms var(--ease), transform 700ms var(--ease); pointer-events: none; }
.step.is-on { opacity: 1; transform: none; pointer-events: auto; }
.step.is-past { transform: translateY(-40px); }
.step h3 { font-size: clamp(72px, 15vw, 240px); line-height: 0.86; letter-spacing: -0.06em; font-weight: 500; }
.step p { max-width: 30em; font-size: clamp(17px, 1.6vw, 22px); color: var(--muted); }
.flow__track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.flow__fill { position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--lime); transform-origin: left; transform: scaleX(var(--p, 0)); box-shadow: 0 0 12px var(--lime); }
.flow__track span { padding-top: 16px; font: 400 13px/1 var(--mono); color: var(--faint); transition: color 300ms ease; }
.flow__track span.is-on { color: var(--ink); }
@media (max-width: 760px), (prefers-reduced-motion: reduce) {
  .flow { height: auto; padding-block: 96px; }
  .flow__stage { position: static; height: auto; display: block; padding-block: 0; }
  .flow__count, .flow__track { display: none; }
  .flow__steps { display: grid; gap: 64px; margin-top: 48px; }
  .step, .step.is-past { position: static; opacity: 1; transform: none; pointer-events: auto; gap: 14px; }
  .step h3 { font-size: clamp(64px, 20vw, 120px); }
}

/* sections */
.sec { padding-block: clamp(72px, 11vh, 132px); }
.sec__h { font-size: clamp(36px, 5vw, 72px); line-height: 1; letter-spacing: -0.045em; font-weight: 500; max-width: 14em; }

/* what staff get: rows that answer the pointer */
.rows { margin-top: clamp(40px, 7vh, 88px); border-top: 1px solid var(--line); }
.row { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.row::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--rx, 50%) var(--ry, 50%), rgb(255 255 255 / 0.07), transparent 65%); opacity: 0; transition: opacity 300ms ease; pointer-events: none; }
.row h3 { display: flex; align-items: center; gap: 0; font-size: clamp(24px, 3vw, 42px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 500; transition: transform 400ms var(--ease); }
.row h3::before { content: ''; flex: none; width: 10px; height: 10px; margin-right: 0; background: var(--lime); border-radius: 2px; opacity: 0; margin-left: -10px; transition: opacity 250ms ease, margin 400ms var(--ease); }
.row p { color: var(--muted); max-width: 34em; transition: color 250ms ease; }
@media (hover: hover) {
  .rows:hover .row:not(:hover) h3 { color: var(--faint); }
  .row h3 { transition: transform 400ms var(--ease), color 250ms ease; }
  .row:hover::before { opacity: 1; }
  .row:hover h3::before { opacity: 1; margin-left: 0; margin-right: 16px; }
  .row:hover p { color: var(--ink); }
}
@media (max-width: 760px) { .row { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; } }

/* guests: the words light up as they are scrolled past */
.say { font-size: clamp(32px, 5.4vw, 84px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 500; max-width: 17em; }
.say span { color: var(--faint); transition: color 400ms ease; }
.say span.is-lit { color: var(--ink); }
.say__more { margin-top: clamp(32px, 6vh, 64px); font-size: 19px; }

/* three facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.fact { padding: 40px 32px 8px 0; }
.fact + .fact { padding-left: 32px; border-left: 1px solid var(--line); }
.fact b { display: block; font-size: clamp(72px, 11vw, 176px); line-height: 0.9; letter-spacing: -0.06em; font-weight: 500; font-variant-numeric: tabular-nums; }
.fact b small { font-size: 0.32em; letter-spacing: -0.02em; color: var(--muted); margin-left: 0.15em; font-weight: 400; }
.fact p { margin-top: 20px; color: var(--muted); max-width: 16em; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } .fact, .fact + .fact { padding: 32px 0; border-left: 0; } .fact + .fact { border-top: 1px solid var(--line); } }

/* questions */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; list-style: none; font-size: clamp(19px, 1.8vw, 24px); letter-spacing: -0.02em; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 12px; height: 12px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat; transition: transform 300ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 28px 0; color: var(--muted); max-width: 40em; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 32px; } }

/* close */
.close { position: relative; padding-block: clamp(120px, 22vh, 260px); text-align: center; overflow: hidden; }
.close h2 { font-size: clamp(44px, 8.4vw, 136px); line-height: 0.94; letter-spacing: -0.055em; font-weight: 500; max-width: 11em; margin-inline: auto; }
.close p { margin: 28px auto 0; max-width: 28em; color: var(--muted); font-size: 19px; }
.close .btn { margin-top: 44px; }
.foot { border-top: 1px solid var(--line); }
.foot__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-block: 28px; font-size: 14px; color: var(--muted); }
.foot__bar nav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-left: auto; }
.foot__bar a:hover { color: var(--ink); }
@media (max-width: 640px) { .foot__bar nav { margin-left: 0; width: 100%; } }

/* demo request page */
.book { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 120px); align-items: center; padding-block: 140px 80px; }
.book h1 { font-size: clamp(52px, 8vw, 128px); line-height: 0.92; letter-spacing: -0.055em; font-weight: 500; }
.book h1 span { display: block; color: var(--muted); }
.book__lead { margin-top: 28px; max-width: 28em; color: var(--muted); font-size: 19px; }
.book__list { list-style: none; padding: 0; margin-top: 40px; border-top: 1px solid var(--line); max-width: 28em; }
.book__list li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.form { display: grid; gap: 6px; }
.field { position: relative; display: grid; }
.field label { font: 400 13px/1 var(--mono); color: var(--muted); padding-top: 18px; }
.field input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); font: 400 22px/1.2 var(--font); letter-spacing: -0.02em; padding: 12px 0 16px; border-radius: 0; outline: 0; transition: border-color 250ms ease; }
.field input::placeholder { color: var(--faint); }
.field input:focus { border-color: var(--lime); }
.field input:user-invalid { border-color: #ff6b5e; }
.form__pair { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.form .btn { margin-top: 32px; justify-self: start; }
.form__note { margin-top: 18px; font-size: 14px; color: var(--faint); }
.form__sent { font-size: clamp(26px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 500; }
.form__sent::before { content: ''; display: block; width: 12px; height: 12px; background: var(--lime); border-radius: 2px; margin-bottom: 24px; }
.book__aside { margin-top: 56px; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .book { grid-template-columns: 1fr; padding-block: 120px 64px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .seen { opacity: 1; transform: none; animation: none; transition: none; }
  .say span { color: var(--ink); }
}

.hero__lead, .step p, .row p, .fact p, .close p, .book__lead { text-wrap: pretty; }
.sec__h, .close h2 { text-wrap: balance; }
/* the step's number, outlined, on the stage's empty side */
.flow__ghost { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: clamp(240px, 38vw, 620px); line-height: 0.8; letter-spacing: -0.06em; font-weight: 500; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / 0.24); font-variant-numeric: tabular-nums; pointer-events: none; }
@media (max-width: 760px), (prefers-reduced-motion: reduce) { .flow__ghost { display: none; } }

/* a drifting band of what the product covers */
.marq { overflow: hidden; padding-block: clamp(24px, 5vh, 56px); border-block: 1px solid var(--line); }
.marq__in { display: flex; width: max-content; will-change: transform; }
.marq__in span { font-size: clamp(48px, 8vw, 128px); line-height: 1; letter-spacing: -0.05em; font-weight: 500; padding-right: 0.5em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / 0.4); }
.marq__in span:nth-child(4n + 1) { color: var(--ink); -webkit-text-stroke: 0; }

/* the demo floor */
.floor { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.floor__lead { margin-top: 24px; color: var(--muted); max-width: 26em; font-size: 19px; text-wrap: pretty; }
.floor__stats { margin-top: 40px; border-top: 1px solid var(--line); max-width: 26em; }
.floor__stats div { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.floor__stats b { color: var(--ink); font-weight: 400; font-family: var(--mono); font-size: 15px; }
.floor__stats div:first-child { color: var(--ink); }
.floor__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tbl { position: relative; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; text-align: left; background: transparent; color: var(--muted); border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); font: 400 13px/1 var(--mono); cursor: pointer; transition: background-color 350ms ease, color 350ms ease, box-shadow 350ms ease, transform 160ms var(--ease); }
.tbl:active { transform: scale(0.96); }
.tbl b { font: 500 clamp(22px, 2.6vw, 38px)/1 var(--font); letter-spacing: -0.04em; }
.tbl em { font-style: normal; }
.tbl[data-state='ordering'] { color: var(--ink); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.55); }
.tbl[data-state='cooking'] { color: var(--ink); background: rgb(255 255 255 / 0.08); }
.tbl[data-state='cooking']::after { content: ''; position: absolute; right: 14px; top: 14px; width: 8px; height: 8px; border-radius: 2px; background: var(--lime); animation: blink 1.2s ease-in-out infinite; }
.tbl[data-state='served'] { color: #000; background: var(--ink); }
.tbl[data-state='paid'] { color: #000; background: var(--lime); }
@keyframes blink { 50% { opacity: 0.25; } }
@media (hover: hover) { .tbl:hover { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.8); } }
@media (max-width: 900px) { .floor { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .floor__grid { grid-template-columns: repeat(3, 1fr); } .tbl { padding: 10px; font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .tbl[data-state='cooking']::after { animation: none; } }

/* the hero's two doors: one for owners, one for diners */
.hero__acts { gap: 16px 20px; }
.hero__act { display: grid; gap: 12px; justify-items: start; }
.hero__act .mono { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.hero__act .mono i { width: 7px; height: 7px; border-radius: 2px; background: var(--lime); animation: blink 1.6s ease-in-out infinite; }
.btn--line { background: rgb(255 255 255 / 0.06); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.7); }
@media (hover: hover) { .btn--line:hover { background: var(--lime); color: #000; box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .hero__act .mono i { animation: none; } }

/* demo page: what the call covers and what the product includes */
.book { align-items: start; }
.book__form { position: sticky; top: 110px; }
.book__h { margin-top: 56px; }
.book__h + .book__list { margin-top: 16px; }
.book__get { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); max-width: 34em; }
.book__get div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.book__get dt { font-size: 16px; font-weight: 500; }
.book__get dd { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.book__list { max-width: 34em; }
@media (max-width: 900px) { .book__form { position: static; } }
@media (max-width: 480px) { .book__get { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .hero h1 { font-size: clamp(48px, 14vw, 96px); } }

/* hero: the motto and the code sit on one line, middle to middle */
@media (min-width: 861px) { .hero { align-items: center; padding-block: 96px 72px; } .hero__hint { bottom: 40px; } }
.hero h1 span:last-child { color: var(--muted); }

/* one sentence whose last words keep changing; the chips pick the words */
.one { font-size: clamp(40px, 7.4vw, 120px); line-height: 1; letter-spacing: -0.055em; font-weight: 500; }
.one__pre { display: block; color: var(--muted); }
.one__word { display: flex; align-items: center; gap: 0.2em; overflow: hidden; padding-block: 0.08em 0.14em; }
.one__word i { flex: none; width: 0.13em; height: 0.13em; border-radius: 0.03em; background: var(--lime); }
.one__word b { display: block; font-weight: 500; white-space: nowrap; }
.chips { list-style: none; padding: 0; margin-top: clamp(32px, 5vh, 56px); display: flex; flex-wrap: wrap; gap: 10px; max-width: 900px; }
.chips :is(button, a) { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font: 400 15px/1 var(--font); cursor: pointer; transition: color 250ms ease, background-color 250ms ease, box-shadow 250ms ease, transform 160ms var(--ease); }
.chips :is(button, a):active { transform: scale(0.97); }
.chips button.is-on { background: var(--ink); color: #000; box-shadow: none; }
.chips a { border-style: dashed; box-shadow: none; border: 1px dashed var(--faint); }
@media (hover: hover) { .chips button:not(.is-on):hover, .chips a:hover { color: var(--ink); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.5); } }

/* the changing words are built from loose tiles, like the code in the hero */
.one__cv { display: none; width: 100%; margin-top: 0.1em; touch-action: pan-y; }
.one.is-live .one__word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.one.is-live + .one__cv { display: block; }

/* phone hero: the code centred on top, the motto across the width, two equal buttons */
@media (max-width: 860px) {
  .nav__in { margin-left: auto !important; }
  /* one phone screen, with the browser's bars showing: the code takes whatever room is left */
  .hero { min-height: max(100svh, 560px); padding-block: 84px 28px; }
  .hero__act { gap: 8px; }
  .hero__acts { gap: 14px; }
  .hero__text { max-width: none; width: 100%; }
  .hero h1 { font-size: clamp(52px, 18.5vw, 104px); letter-spacing: -0.06em; }
  .hero__acts { margin-top: 28px; }
}
.chips[hidden] { display: none; }

/* demo sales chart: columns of tiles, today against the same day last week */
.floor--flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.chart__read { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.chart__read span:first-child { color: var(--ink); }
.chart__cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(4px, 0.8vw, 10px); padding-top: 22px; }
.chart__col { display: flex; flex-direction: column-reverse; gap: clamp(3px, 0.5vw, 6px); cursor: default; }
.chart__col em { order: -1; padding-top: 10px; font: 400 12px/1 var(--mono); color: var(--faint); text-align: center; transition: color 200ms ease; }
.chart__col i { aspect-ratio: 1; border-radius: 3px; background: rgb(255 255 255 / 0.05); transition: background-color 350ms ease, box-shadow 350ms ease, transform 350ms var(--ease); }
.chart__col i.is-last { background: transparent; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.32); }
.chart__col i.is-on { background: var(--ink); box-shadow: none; }
.chart__col i.is-now { background: var(--lime); box-shadow: none; }
.chart__col i.is-new { transform: scale(1.25); }
.chart__col.is-hot em { color: var(--ink); }
.chart__cols:hover .chart__col:not(.is-hot) i.is-on { background: rgb(245 245 243 / 0.4); }
.chart__key { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; }
.chart__key span { display: inline-flex; align-items: center; gap: 8px; }
.chart__key i { width: 10px; height: 10px; border-radius: 2px; }
.k-on { background: var(--ink); } .k-last { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.4); } .k-now { background: var(--lime); }
@media (max-width: 900px) { .floor--flip { grid-template-columns: 1fr; } .floor--flip .chart { order: 2; } }

/* three ways to draw the same demo day. They take turns on one stage: the one leaving blurs
   and sinks, the one arriving builds itself (tiles pop, the line draws, the counter counts). */
.chart { position: relative; }
.chart__views { display: inline-flex; gap: 4px; }
.chart__views button { position: relative; background: transparent; border: 0; padding: 4px 10px; margin: -4px 0; border-radius: 99px; color: var(--muted); font: inherit; cursor: pointer; transition: color 250ms ease, background-color 250ms ease; }
.chart__views button.is-on { background: var(--ink); color: #000; }
.chart__stage { display: grid; margin-top: 22px; }
.view { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transform: translateY(18px) scale(0.975); filter: blur(10px); transition: opacity 380ms ease, transform 520ms var(--ease), filter 380ms ease, visibility 0s 520ms; pointer-events: none; }
.view.is-on { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity 520ms ease 160ms, transform 700ms var(--ease) 160ms, filter 520ms ease 160ms, visibility 0s; pointer-events: auto; }
.chart__cols { padding-top: 0; }
.view--line { display: flex; flex-direction: column; }
.l-wrap { position: relative; flex: 1; min-height: 220px; }
.chart__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart__hours { display: grid; grid-template-columns: repeat(12, 1fr); padding-top: 10px; text-align: center; font-size: 12px; color: var(--faint); }
.chart__dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 3px; background: var(--lime); animation: ring 1.8s ease-out infinite; transition: top 500ms var(--ease); }
@keyframes ring { from { box-shadow: 0 0 0 0 rgb(142 255 1 / 0.5); } to { box-shadow: 0 0 0 16px rgb(142 255 1 / 0); } }
.l-last { stroke: rgb(255 255 255 / 0.35); stroke-width: 1.5; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; }
.l-today { stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.l-cross { stroke: rgb(255 255 255 / 0.3); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0; }
.chart__race { display: grid; gap: 26px; height: 100%; align-content: center; }
.chart__race b { font-size: clamp(64px, 10vw, 160px); line-height: 0.9; letter-spacing: -0.06em; font-weight: 500; font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.race { display: grid; gap: 10px; }
.race span { font: 400 13px/1 var(--mono); color: var(--muted); }
.race i { display: block; height: 14px; border-radius: 3px; background: rgb(255 255 255 / 0.06); }
.race u { display: block; height: 100%; border-radius: 3px; background: var(--lime); transition: width 1100ms var(--ease); text-decoration: none; width: 0; }
.race--last u { background: var(--ink); transition-delay: 120ms; }
.race--day u { background: transparent; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35); transition-delay: 240ms; }
.chart__key { transition: opacity 300ms ease; }
.chart[data-view='race'] .chart__key span:not(:last-child) { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .chart__dot { animation: none; } .view, .view.is-on { transition: none; filter: none; transform: none; } }

/* try the app: a real code that opens the demo café */
.try__card { position: sticky; top: 110px; display: grid; gap: 18px; justify-items: center; }
.try__qr { position: relative; width: min(100%, 440px); aspect-ratio: 1; padding: 18px; border-radius: 28px; background: #f5f5f3; overflow: hidden; }
.try__qr canvas { display: block; width: 100%; height: 100%; }
.try__qr::after { content: ''; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--lime); box-shadow: 0 0 18px 2px rgb(142 255 1 / 0.7); animation: tryscan 3.6s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
@keyframes tryscan { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.try__url { text-align: center; overflow-wrap: anywhere; max-width: 100%; }
.try__open { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.tryband { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.tryband .btn { margin-top: 36px; }
.tryband__qr { display: block; justify-self: end; width: min(100%, 300px); aspect-ratio: 1; padding: 14px; border-radius: 22px; background: #f5f5f3; transition: transform 400ms var(--ease); }
.tryband__qr:hover { transform: rotate(-3deg) scale(1.03); }
.tryband__qr canvas { display: block; width: 100%; height: 100%; }
.close__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }
.close .close__acts .btn { margin-top: 0; }
@media (max-width: 900px) {
  .try__card { position: static; order: 2; }
  .tryband { grid-template-columns: 1fr; }
  .tryband__qr { justify-self: start; width: 200px; }
}
@media (prefers-reduced-motion: reduce) { .try__qr::after { display: none; } }

/* diners: the paragraph, then the invitation to try it, as one section */
#guests .say { font-size: clamp(24px, 3.1vw, 46px); line-height: 1.14; letter-spacing: -0.035em; max-width: 24em; }
#guests .tryband { margin-top: clamp(56px, 9vh, 112px); padding-top: clamp(48px, 8vh, 96px); position: relative; }
#guests .tryband::before { content: ''; position: absolute; top: 0; inset-inline: var(--pad); height: 1px; background: var(--line); }
