/* Comanda site styles.
   Brand: logo green #1F4A3E and logo coral #E86653 (read from assets/comanda-wordmark.png).
   Coral is for marks, large type and dark backgrounds only. It is too light for small text
   on the cream page (under 3:1), so small labels on light backgrounds use the green. */

@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/assets/fonts/dm-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/assets/fonts/dm-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --ink: #13231d;
  --forest: #1f4a3e;
  --forest-deep: #0f2a24;
  --coral: #e86653;
  --coral-soft: #f8d2ca;
  --paper: #f5efe3;
  --paper-bright: #fffdf7;
  --paper-muted: #eae2d2;
  --line: #cfc5b3;
  --muted: #56655e;
  --white: #ffffff;
  --on-dark: #e3ece6;
  --on-dark-muted: #9db3a8;
  --ok: #2f9e62;
  --max: 1200px;
  --shadow: 0 18px 50px rgba(19, 35, 29, .12);
  --display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img, svg { display: block; max-width: 100%; }

:focus-visible { outline: 3px solid var(--forest); outline-offset: 4px; }
.journey :focus-visible, .dark :focus-visible, .band :focus-visible, .cta-panel :focus-visible,
.site-footer :focus-visible, .demo-kds :focus-visible { outline-color: var(--coral); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--forest-deep);
  font-weight: 600;
}
.skip-link:focus { transform: translateY(0); }

/* ---- Header ---- */
.site-header { position: relative; z-index: 10; background: var(--paper-bright); border-bottom: 1px solid rgba(19, 35, 29, .12); }

.nav-wrap {
  width: min(calc(100% - 40px), var(--max));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-wordmark { width: 178px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.site-nav a:not(.button-link) { padding: 4px 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.button-link):hover,
.site-nav a[aria-current="page"]:not(.button-link) { border-bottom-color: var(--coral); }

/* ---- Buttons ---- */
.button-link, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--forest);
  border-radius: 999px;
  color: var(--paper-bright);
  background: var(--forest);
  text-decoration: none;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.button-link { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.button:hover, .button-link:hover { background: var(--ink); border-color: var(--ink); }
.button.secondary { color: var(--forest); background: transparent; }
.button.secondary:hover { color: var(--paper-bright); background: var(--forest); border-color: var(--forest); }
.cta-panel .button { color: var(--forest-deep); background: var(--paper-bright); border-color: var(--paper-bright); }
.cta-panel .button:hover { color: var(--forest-deep); background: var(--coral); border-color: var(--coral); }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

/* ---- Type ---- */
.eyebrow, .ticket-label, .section-kicker, .legal-meta, .placeholder-label {
  margin: 0 0 14px;
  color: var(--forest);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .09em;
  line-height: 1.4;
  text-transform: uppercase;
}
/* a short coral stroke in front of section labels, echoing the check in the logo */
.eyebrow::before, .section-kicker::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 3px;
  margin-right: 10px;
  border-radius: 2px;
  background: var(--coral);
  vertical-align: middle;
  transform: translateY(-1px);
}
.dark .ticket-label, .dark .section-kicker, .cta-panel .section-kicker { color: var(--coral); }
.legal-meta { color: var(--muted); }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
h1, h2 { color: var(--forest); }
.dark h2, .cta-panel h2 { color: var(--paper-bright); }

h1 { margin-bottom: 26px; font-size: clamp(44px, 7vw, 88px); }
h2 { margin-bottom: 22px; font-size: clamp(34px, 4.8vw, 62px); }
h3 { margin-bottom: 12px; font-size: 25px; letter-spacing: -.025em; line-height: 1.08; }

/* ---- Hero ---- */
.hero { padding: clamp(38px, 5.5vw, 68px) 0 clamp(44px, 5.5vw, 68px); background: var(--paper-bright); }
.hero h1 { max-width: none; margin: 16px 0 clamp(24px, 3vw, 36px); font-size: clamp(46px, 8.6vw, 118px); line-height: .92; letter-spacing: -.045em; }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px 56px; align-items: end; }
.hero-lede { max-width: 56ch; margin: 0; color: #34443d; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.truth-line {
  margin-top: clamp(26px, 3.4vw, 40px);
  padding-top: 18px;
  border-top: 1.5px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 30px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .02em;
}
.truth-line span { display: inline-flex; align-items: center; gap: 10px; }
.truth-line span::before {
  content: "";
  width: 11px;
  height: 6px;
  border-left: 2.5px solid var(--coral);
  border-bottom: 2.5px solid var(--coral);
  transform: translateY(-2px) rotate(-45deg);
}

/* ---- The order journey (id="how-it-works") ----
   Without script, or with reduced motion, the four stops are a plain stacked list.
   site.js adds .is-live, which pins the stage and slides the stops past the ticket. */
.journey { position: relative; color: var(--on-dark); background: var(--forest-deep); --pos: 0; --print: 1; --pay: 1; --sway: 0; --p: 0; }
.journey .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.journey h3, .journey p, .journey ul, .journey ol, .journey dl, .journey dd, .journey h4, .journey h5 { margin: 0; padding: 0; }
.journey ul, .journey ol { list-style: none; }
.journey .stage {
  position: relative;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
}
.journey .railbar { position: absolute; left: 0; right: 0; top: 44px; height: 10px; background: linear-gradient(#eef2ef, #a9b8b0 55%, #6f8379); box-shadow: 0 7px 14px rgba(0, 0, 0, .4); z-index: 1; }
.journey .railbar::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(15, 42, 36, .5) 0 2px, transparent 2px 72px); background-position-x: calc(var(--pos) * -360px); }
.journey .stage-in { position: relative; display: grid; grid-template-columns: 292px minmax(0, 1fr); gap: clamp(20px, 3.4vw, 52px); align-items: start; width: min(calc(100% - 40px), var(--max)); margin-inline: auto; padding-bottom: 64px; }

.journey .ticket-col { position: relative; padding-top: 36px; min-height: 0; z-index: 3; }
.journey .clip { position: relative; z-index: 2; width: 54px; height: 27px; margin: 0 auto; background: #08130f; border-radius: 5px; box-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
.journey .clip::after { content: ""; position: absolute; left: 50%; top: 9px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--coral); }
.journey .ticket-wrap { margin-top: -9px; transform-origin: 50% -6px; transform: rotate(calc(var(--sway) * 1deg)); filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .42)); }
.journey .ticket {
  position: relative;
  color: var(--ink);
  font: 400 12.5px/1.55 var(--mono);
  padding: 26px 20px 30px;
  background: radial-gradient(circle at 50% 0, var(--paper-bright) 6px, transparent 6.6px) 0 100% / 12px 7px repeat-x, linear-gradient(var(--paper-bright), var(--paper-bright)) 0 0 / 100% calc(100% - 7px) no-repeat;
  clip-path: inset(0 0 calc((1 - var(--print)) * 100%) 0);
}
.journey .t-store { font: 800 21px/1 var(--display); letter-spacing: -.02em; text-align: center; }
.journey .t-meta { text-align: center; color: var(--muted); margin-top: 6px; }
.journey .ticket hr { border: 0; border-top: 1.5px dashed #bdb29e; margin: 12px 0; }
.journey .t-rows div { display: flex; justify-content: space-between; gap: 12px; }
.journey .t-rows dd { font-variant-numeric: tabular-nums; }
.journey .t-rows .t-total { font-weight: 500; font-size: 15px; margin-top: 4px; }
.journey .t-sums { position: relative; }
.journey .t-log li { display: flex; align-items: center; gap: 9px; color: #9a9384; transition: color .3s; }
.journey .t-log li::before { content: ""; flex: none; width: 11px; height: 11px; border: 1.5px solid currentColor; border-radius: 2px; transition: background .3s, border-color .3s; }
.journey .t-log li.on { color: var(--ink); }
.journey .t-log li.on::before { background: var(--forest); border-color: var(--forest); box-shadow: inset 0 0 0 2px var(--paper-bright); }
.journey .t-cut { display: flex; justify-content: space-between; font-weight: 500; }
.journey .t-cut span:last-child { color: #b5432f; }
.journey .stamp { position: absolute; left: 50%; top: 44%; font: 800 22px/1 var(--display); letter-spacing: .06em; color: var(--coral); border: 3px double var(--coral); border-radius: 6px; padding: 6px 10px 5px; transform: translate(-50%, -50%) rotate(-13deg) scale(1.7); opacity: 0; transition: transform .28s cubic-bezier(.2, 1.5, .4, 1), opacity .15s; }
.journey[data-paid="1"] .stamp { opacity: .9; transform: translate(-50%, -50%) rotate(-13deg) scale(1); }

.journey .mini { display: none; position: relative; margin-top: -9px; color: var(--ink); background: var(--paper-bright); font: 400 12px/1.4 var(--mono); padding: 11px 14px 12px; border-radius: 3px; box-shadow: 0 12px 20px rgba(0, 0, 0, .35); }
.journey .mini-head { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1.5px dashed #bdb29e; }
.journey .mini-head b { font-weight: 500; }
.journey .mini-log { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 9px; }
.journey .mini-log li { display: flex; flex-direction: column; gap: 5px; color: #9a9384; font-size: 11px; transition: color .3s; }
.journey .mini-log li::before { content: ""; height: 5px; border-radius: 3px; background: #ddd5c4; transition: background .3s; }
.journey .mini-log li.on { color: var(--ink); }
.journey .mini-log li.on::before { background: var(--forest); }

.journey .viewport { position: relative; z-index: 2; min-width: 0; min-height: 0; container-type: inline-size; }
.journey .strip { display: grid; gap: 30px; }
.journey .panel { min-width: 0; display: flex; flex-direction: column; padding: 0 4px 0 34px; }
.journey .flag { align-self: flex-start; position: relative; z-index: 2; margin-top: 34px; background: var(--coral); color: #22110d; font: 500 12px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; padding: 9px 12px 8px; border-radius: 3px; box-shadow: 0 4px 0 rgba(0, 0, 0, .3); }
.journey .panel + .panel .flag { margin-top: 12px; }
.journey .panel-body { flex: 1; min-height: 0; display: grid; gap: clamp(14px, 3vh, 30px); align-content: center; padding: 18px 0 14px; }
.journey .copy h3 { font: 800 clamp(27px, 5.4cqw, 54px)/.98 var(--display); letter-spacing: -.035em; text-wrap: balance; color: var(--paper-bright); }
.journey .copy p { margin-top: 14px; max-width: 42ch; color: var(--on-dark); font-size: clamp(15px, 1.9cqw, 18px); line-height: 1.5; }
.journey .facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.journey .facts li { font: 500 12px/1.3 var(--mono); color: var(--on-dark-muted); border: 1px solid rgba(157, 179, 168, .45); border-radius: 999px; padding: 7px 11px; }
.journey .scene { font-size: clamp(11px, min(2.15vh, 2.1cqw), 17px); display: flex; justify-content: center; min-width: 0; }
@container (min-width: 700px) {
  .journey .panel-body { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
}

/* stop 1: the store's own ordering page. The blue is the made-up store's brand, on purpose not Comanda's. */
.journey .phone { width: 17em; background: #07100d; border-radius: 2.2em; padding: .6em; box-shadow: 0 1.6em 2.6em rgba(0, 0, 0, .45); }
.journey .screen { background: #fff; color: #151821; border-radius: 1.7em; overflow: hidden; font-family: var(--body); line-height: 1.5; }
.journey .url { margin: .8em .9em .6em; background: #eef0f4; border-radius: 999px; padding: .38em .9em; font: 400 .78em/1.3 var(--mono); color: #59607a; text-align: center; }
.journey .shop { background: #2b4bd8; color: #fff; padding: .8em 1em .75em; }
.journey .shop b { display: block; font: 700 1.3em/1.1 Georgia, "Times New Roman", serif; }
.journey .shop span { font-size: .8em; opacity: .9; }
.journey .cart { padding: .5em 1em 0; }
.journey .cart li { display: flex; justify-content: space-between; gap: .8em; padding: .5em 0; border-bottom: 1px solid #e7e9ef; font-size: .9em; }
.journey .cart li span:last-child { font-variant-numeric: tabular-nums; }
.journey .sum { display: flex; justify-content: space-between; padding: .65em 1em .2em; font-weight: 600; }
.journey .place { display: block; margin: .6em .9em 1em; padding: .85em; border-radius: .8em; background: #2b4bd8; color: #fff; font-weight: 600; font-size: .95em; text-align: center; transition: background .25s, transform .12s; }
.journey .place .b { display: none; }
.journey[data-placed="1"] .place { background: #1e7c4b; transform: scale(.98); }
.journey[data-placed="1"] .place .a { display: none; }
.journey[data-placed="1"] .place .b { display: inline; }

/* stop 2: where the money goes */
.journey .pay { width: min(100%, 29em); display: grid; gap: 1em; }
.journey .wire { display: grid; grid-template-columns: auto minmax(3em, 1fr) auto; align-items: center; gap: .7em; }
.journey .node { font: 500 .82em/1.25 var(--mono); padding: .65em .8em; border-radius: .5em; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: var(--on-dark); }
.journey .node.store { background: var(--paper-bright); color: var(--ink); border-color: var(--paper-bright); }
.journey .wireline { position: relative; height: 2px; background: repeating-linear-gradient(90deg, var(--on-dark-muted) 0 6px, transparent 6px 12px); }
.journey .coin { position: absolute; top: 50%; left: calc(var(--pay) * (100% - 4.7em)); transform: translateY(-50%); background: var(--coral); color: #22110d; font: 500 .86em/1 var(--mono); padding: .48em .65em; border-radius: 999px; white-space: nowrap; box-shadow: 0 .3em .8em rgba(0, 0, 0, .35); }
.journey .acct { background: var(--paper-bright); color: var(--ink); border-radius: .6em; padding: 1.1em 1.2em; box-shadow: 0 1.2em 2em rgba(0, 0, 0, .35); }
.journey .acct h4 { font: 800 1.25em/1.1 var(--display); letter-spacing: -.02em; }
.journey .acct small { display: block; font: 400 .78em/1.3 var(--mono); color: var(--muted); margin-top: .25em; }
.journey .acct-row { display: flex; justify-content: space-between; gap: 1em; padding: .6em 0; border-bottom: 1px solid #e6decf; font-size: .95em; font-variant-numeric: tabular-nums; }
.journey .acct-row.new { color: #9a9384; transition: color .3s; }
.journey .acct-row.new b { font-weight: 600; }
.journey[data-paid="1"] .acct-row.new { color: var(--forest); }
.journey .acct-day { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; padding-top: .75em; }
.journey .acct-day span { font: 400 .8em/1.3 var(--mono); color: var(--muted); }
.journey .acct-day b { font: 800 1.75em/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.journey .none { display: flex; justify-content: space-between; align-items: center; gap: 1em; border: 1.5px dashed rgba(157, 179, 168, .6); border-radius: .6em; padding: .8em 1.1em; color: var(--on-dark-muted); font: 400 .84em/1.35 var(--mono); }
.journey .none b { font: 800 1.5em/1 var(--display); color: var(--coral); letter-spacing: -.02em; }

/* stop 3: kitchen display */
.journey .kds { width: min(100%, 31em); background: #07100d; border-radius: 1.1em; padding: .55em; box-shadow: 0 1.6em 2.6em rgba(0, 0, 0, .45); }
.journey .kds-in { background: #efe9dc; color: var(--ink); border-radius: .7em; padding: .8em; font-family: var(--body); }
.journey .kds-top { display: flex; justify-content: space-between; align-items: center; font: 500 .8em/1 var(--mono); padding: 0 .1em .8em; }
.journey .live { display: inline-flex; align-items: center; gap: .5em; }
.journey .live::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--ok); }
.journey .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55em; }
.journey .col { background: #e2daca; border-radius: .5em; padding: .5em; min-height: 12.5em; }
.journey .col h5 { margin: 0 0 .5em; font: 500 .7em/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.journey .card { background: var(--paper-bright); border-radius: .4em; padding: .55em .6em; font-size: .8em; line-height: 1.35; border-left: .3em solid #c9bfab; margin-bottom: .5em; }
.journey .card b { display: block; font: 500 1em/1.2 var(--mono); }
.journey .card u { display: block; text-decoration: none; margin-top: .5em; background: var(--forest); color: var(--paper-bright); text-align: center; border-radius: .3em; padding: .35em; font-weight: 600; font-size: .92em; }
.journey .card.ours { display: none; border-left-color: var(--coral); box-shadow: 0 .4em 1em rgba(19, 35, 29, .2); }
.journey[data-k="0"] .col:nth-child(1) .ours, .journey[data-k="1"] .col:nth-child(2) .ours, .journey[data-k="2"] .col:nth-child(3) .ours { display: block; animation: j-drop .42s cubic-bezier(.2, 1.2, .4, 1); }
@keyframes j-drop { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }

/* stop 4: handoff */
.journey .hand { width: min(100%, 29em); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.6em; align-items: center; }
.journey .bag { position: relative; width: 9.5em; height: 12em; background: linear-gradient(90deg, #b98f55 0 12%, #cda56a 12% 88%, #b98f55 88%); border-radius: .25em .25em .5em .5em; box-shadow: 0 1.4em 2em rgba(0, 0, 0, .45); }
.journey .bag::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2.1em; background: #a9814a; border-radius: .25em .25em 0 0; box-shadow: 0 2px 0 rgba(0, 0, 0, .18); }
.journey .tag { position: absolute; left: 1.5em; top: 1.2em; width: 6.4em; background: var(--paper-bright); color: var(--ink); font: 400 .72em/1.45 var(--mono); padding: .7em .75em .9em; transform: rotate(4deg); box-shadow: 0 .4em .8em rgba(0, 0, 0, .25); }
.journey .tag::before { content: ""; position: absolute; left: 50%; top: -.25em; width: 1.6em; height: .35em; margin-left: -.8em; background: #8c959c; border-radius: .1em; }
.journey .tag b { display: block; font: 800 1.5em/1 var(--display); }
.journey .status { display: inline-flex; align-items: center; gap: .6em; font: 500 .86em/1 var(--mono); padding: .7em .95em; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--on-dark); transition: background .3s, color .3s; }
.journey .status::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--coral); transition: background .3s; }
.journey .status .b { display: none; }
.journey[data-picked="1"] .status { background: var(--paper-bright); color: var(--ink); }
.journey[data-picked="1"] .status::before { background: var(--ok); }
.journey[data-picked="1"] .status .a { display: none; }
.journey[data-picked="1"] .status .b { display: inline; }
.journey .ways { margin-top: 1em; display: grid; gap: .45em; font-size: .95em; line-height: 1.4; color: var(--on-dark); }
.journey .ways li { display: flex; gap: .6em; align-items: baseline; }
.journey .ways li::before { content: ""; flex: none; width: .55em; height: .55em; border-radius: 50%; border: 1.5px solid var(--on-dark-muted); transform: translateY(-.05em); }
.journey .ways li:first-child::before { background: var(--coral); border-color: var(--coral); }
.journey .cut { margin-top: 1.3em; padding-top: 1em; border-top: 1.5px dashed rgba(157, 179, 168, .6); display: flex; align-items: baseline; justify-content: space-between; gap: 1em; }
.journey .cut span { font: 400 .84em/1.3 var(--mono); color: var(--on-dark-muted); }
.journey .cut b { font: 800 2.5em/1 var(--display); letter-spacing: -.03em; color: var(--coral); }

/* stop buttons, only in the pinned version */
.journey .stops { display: none; position: relative; z-index: 4; border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(8, 19, 15, .72); }
.journey .stops::before { content: ""; position: absolute; left: 0; top: -2px; height: 3px; width: calc(var(--p) * 100%); background: var(--coral); }
.journey .stops-in { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; display: flex; align-items: center; gap: 14px; padding: 9px 0; }
.journey .stops ol { display: flex; gap: 4px; flex: 1; min-width: 0; }
.journey .stops ol button { cursor: pointer; background: none; border: 0; padding: 9px 12px; border-radius: 999px; font: 500 12.5px/1 var(--mono); letter-spacing: .04em; color: var(--on-dark-muted); white-space: nowrap; }
.journey .stops ol button b { font-weight: 500; margin-right: 7px; opacity: .7; }
.journey .stops ol button[aria-current="step"] { background: var(--paper-bright); color: var(--ink); }
.journey .j-note { font: 400 12px/1.3 var(--mono); color: var(--on-dark-muted); }
.journey .play { cursor: pointer; flex: none; display: inline-flex; align-items: center; gap: 9px; background: none; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 999px; padding: 8px 14px; font: 500 12.5px/1 var(--mono); color: var(--on-dark); }
.journey .play:hover { background: rgba(255, 255, 255, .1); }
.journey .play::before { content: ""; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.journey .play[aria-pressed="true"]::before { border: 0; width: 8px; height: 9px; background: currentColor; }

/* pinned, scroll-driven version */
.journey.is-live .track { height: 520vh; height: 520svh; }
.journey.is-live .stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 540px; display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; }
.journey.is-live .stage-in { align-items: stretch; min-height: 0; padding-bottom: 0; }
.journey.is-live .viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30px); mask-image: linear-gradient(90deg, transparent 0, #000 30px); }
.journey.is-live .strip { display: flex; gap: 0; height: 100%; transform: translate3d(calc(var(--pos) * -100%), 0, 0); will-change: transform; }
.journey.is-live .panel { flex: 0 0 100%; }
.journey.is-live .panel + .panel .flag { margin-top: 34px; }
.journey.is-live .stops { display: block; }

/* ---- Band ---- */
.band { padding: 28px 0; color: var(--paper-bright); background: var(--forest); }
.band-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.band strong { font-family: var(--display); font-weight: 800; font-size: clamp(21px, 2.6vw, 32px); line-height: 1.05; letter-spacing: -.03em; }
.band p { margin: 0; color: #d7e2dc; font-family: var(--mono); font-size: 13.5px; }

/* ---- Sections ---- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section.white { background: var(--paper-bright); }
.section.dark { color: var(--on-dark); background: var(--forest-deep); }

.section-heading { max-width: 800px; margin-bottom: 52px; }
.section-heading p:not(.section-kicker) { max-width: 62ch; margin-bottom: 0; color: var(--muted); font-size: 19px; }
.dark .section-heading p:not(.section-kicker) { color: #cbd8d2; }

/* ---- Capabilities ---- */
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--forest); }
.capability { position: relative; padding: 30px 28px 34px 0; border-bottom: 1.5px dashed var(--line); }
.capability:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1.5px dashed var(--line); }
/* a coral check: every card in this grid is something supported today */
.capability::before { content: ""; display: block; width: 22px; height: 11px; margin: 4px 0 26px 3px; border-left: 4px solid var(--coral); border-bottom: 4px solid var(--coral); border-radius: 1px; transform: rotate(-45deg); }
.capability p { margin-bottom: 0; color: var(--muted); }

/* ---- Money ---- */
.money-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(44px, 7vw, 96px); align-items: start; }
.money-statement { position: sticky; top: 30px; padding: 36px; border-radius: 6px; background: var(--forest); }
.money-statement .big { display: block; margin: 14px 0 22px; color: var(--coral); font-family: var(--display); font-size: clamp(44px, 6vw, 78px); font-weight: 800; line-height: .92; letter-spacing: -.045em; }
.money-statement p { margin-bottom: 0; color: #d5e0db; }
.money-list { display: grid; border-top: 2px solid rgba(227, 236, 230, .5); }
.money-item { padding: 28px 0; border-bottom: 1.5px dashed rgba(157, 179, 168, .5); }
.money-item h3 { color: var(--paper-bright); }
.money-item p { margin: 0; color: #cbd8d2; }

/* ---- Audience, FAQ, operator, CTA ---- */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience-card { padding: 38px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.audience-card .ticket-label { margin-bottom: 30px; }
.audience-card ul { margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); }
.audience-card li { position: relative; padding-left: 26px; }
.audience-card li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 11px; height: 6px; border-left: 2.5px solid var(--coral); border-bottom: 2.5px solid var(--coral); transform: rotate(-45deg); }
.audience-card li + li { margin-top: 9px; }

.faq { max-width: 900px; }
.faq-item { padding: 28px 0; border-top: 1.5px dashed var(--line); }
.faq-item:last-child { border-bottom: 1.5px dashed var(--line); }
.faq-item h3 { max-width: 760px; margin-bottom: 10px; font-size: 23px; }
.faq-item p { max-width: 780px; margin: 0; color: var(--muted); }

.operator-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.operator-copy p { color: var(--muted); font-size: 18px; }
.identity-block { margin: 0; border: 2px solid var(--forest); border-radius: 6px; background: var(--paper); }
.identity-row { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 18px 22px; border-bottom: 1.5px dashed var(--line); }
.identity-row:last-child { border-bottom: 0; }
.identity-row dt { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); padding-top: 3px; }
.identity-row dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.placeholder { padding: 3px 7px; color: #6d211a; background: var(--coral-soft); border: 1px solid var(--coral); font-family: var(--mono); font-size: 12px; font-weight: 500; }

.cta-panel { position: relative; overflow: hidden; padding: clamp(42px, 7vw, 84px); border-radius: 8px; color: var(--paper-bright); background: var(--forest); }
.cta-panel > * { position: relative; }
/* the check from the logo, oversized, as the panel's only decoration */
.cta-panel::before { content: ""; position: absolute; right: clamp(-40px, 2vw, 60px); top: 50%; width: clamp(150px, 24vw, 330px); height: clamp(75px, 12vw, 165px); border-left: clamp(26px, 4vw, 54px) solid var(--coral); border-bottom: clamp(26px, 4vw, 54px) solid var(--coral); border-radius: 10px; transform: translateY(-78%) rotate(-45deg); opacity: .95; }
.cta-panel h2 { max-width: 15ch; }
.cta-panel p { max-width: 48ch; margin-bottom: 28px; color: #d8e4de; font-size: 18px; }

/* ---- Footer ---- */
.site-footer { padding: 58px 0 34px; color: #d5dfda; background: var(--forest-deep); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr 1.1fr; gap: 54px; }
.footer-brand .brand { width: fit-content; margin-bottom: 18px; padding: 8px 12px; border-radius: 6px; background: var(--paper-bright); }
.footer-brand .brand-wordmark { width: 170px; }
.footer-brand p { max-width: 340px; color: #aebdb6; }
.footer-heading { margin-bottom: 18px; color: var(--coral); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { width: fit-content; color: #d5dfda; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.footer-links a:hover { text-decoration-color: var(--coral); }
.footer-contact { margin: 0; padding: 0; list-style: none; }
.footer-contact li + li { margin-top: 10px; }
.footer-contact .placeholder { display: inline-block; }
.footer-bottom { margin-top: 46px; padding-top: 24px; border-top: 1px solid #294038; display: flex; justify-content: space-between; gap: 20px; color: #93a59d; font-size: 13px; }

/* ---- Inner pages ---- */
.page-hero { padding: 80px 0 60px; border-bottom: 1px solid var(--line); background: var(--paper-bright); }
.page-hero h1 { max-width: 16ch; font-size: clamp(44px, 6.4vw, 84px); line-height: .95; }
.page-hero .lede { max-width: 60ch; margin-bottom: 0; color: var(--muted); font-size: 20px; }

.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: 70px; align-items: start; }
.legal-nav { position: sticky; top: 24px; padding: 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper-bright); }
.legal-nav strong { display: block; margin-bottom: 12px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); }
.legal-nav a { display: block; padding: 7px 0; color: var(--muted); font-size: 14.5px; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-nav a:hover { color: var(--ink); text-decoration-color: var(--coral); }
.legal-content h2 { margin: 58px 0 18px; font-size: 34px; letter-spacing: -.03em; line-height: 1.05; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 32px 0 12px; font-size: 22px; }
.legal-content p, .legal-content li { color: #3f4d46; }
.legal-content li + li { margin-top: 9px; }
.legal-content ul { padding-left: 22px; }
.legal-content a { text-decoration-color: var(--coral); text-underline-offset: 3px; }
.legal-callout { margin: 30px 0; padding: 22px 24px; border-left: 5px solid var(--coral); border-radius: 0 6px 6px 0; background: var(--paper-bright); }
.legal-callout p:last-child { margin-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.contact-intro p { max-width: 500px; color: var(--muted); font-size: 18px; }
.contact-list { display: grid; gap: 16px; }
.contact-card { padding: 28px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper-bright); }
.contact-card h2 { margin-bottom: 10px; font-size: 27px; letter-spacing: -.03em; color: var(--ink); }
.contact-card p { margin-bottom: 0; color: var(--muted); }
.contact-card .placeholder { display: inline-block; margin-top: 10px; }
.contact-card .contact-value { display: inline-block; margin-top: 12px; font-weight: 600; }
.contact-card .contact-value a, .identity-row a { text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.route-list { margin: 28px 0 0; padding: 0; list-style: none; }
.route-list li { padding: 14px 0; border-top: 1.5px dashed var(--line); }
.route-list strong { display: block; }
.route-list span { color: var(--muted); }

.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; background: var(--paper-bright); }
.not-found h1 { margin-inline: auto; max-width: 14ch; }
.not-found p { color: var(--muted); }
.not-found p:not(.eyebrow) { margin-bottom: 28px; }

/* ---- Live dots ---- */
.demo-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(47, 158, 98, .5); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 158, 98, .5); } 70% { box-shadow: 0 0 0 9px rgba(47, 158, 98, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 158, 98, 0); } }

/* ---- Demo store ---- */
.demo-flag { margin: -24px 0 28px; padding: 12px 16px; border-left: 4px solid var(--coral); border-radius: 0 6px 6px 0; background: var(--paper); color: var(--ink); }
.demo-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 22px; align-items: start; }
.demo-shop, .demo-kds { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--paper-bright); box-shadow: var(--shadow); }
.demo-shop-head { padding: 24px 24px 18px; border-bottom: 1.5px dashed var(--line); }
.demo-shop-head h3 { margin: 0; font-size: 28px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.demo-tag { padding: 3px 9px; border: 1px solid var(--forest); border-radius: 999px; color: var(--forest); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.demo-sub { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.demo-menu { list-style: none; margin: 0; padding: 6px 24px; }
.demo-item { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1.5px dashed var(--line); }
.demo-item strong { display: block; font-size: 15.5px; font-weight: 600; }
.demo-item div span { color: var(--muted); font-size: 13.5px; }
.demo-price { font-family: var(--mono); font-weight: 500; font-size: 14px; white-space: nowrap; }
.demo-add, .demo-qty, .kds-btn { cursor: pointer; border: 2px solid var(--forest); border-radius: 999px; background: var(--paper-bright); color: var(--forest); font: inherit; font-weight: 600; font-size: 13.5px; padding: 6px 16px; }
.demo-add:hover, .demo-qty:hover, .kds-btn:hover { background: var(--forest); color: var(--paper-bright); }
.demo-cart { margin: 10px 24px 24px; padding: 18px; border-radius: 6px; background: var(--paper); }
.demo-cart-head { display: flex; justify-content: space-between; font-size: 15px; }
.demo-cart-head span { color: var(--muted); }
.demo-lines { list-style: none; margin: 10px 0; padding: 0; }
.demo-line { display: grid; grid-template-columns: 1fr auto auto auto; gap: 8px; align-items: center; padding: 6px 0; font-size: 14.5px; }
.demo-qty { padding: 2px 11px; }
.demo-empty { color: var(--muted); font-size: 14.5px; padding: 6px 0; }
.demo-mode { margin: 8px 0 12px; padding: 0; border: 0; display: flex; gap: 18px; flex-wrap: wrap; font-size: 14.5px; }
.demo-mode legend { margin-bottom: 6px; font-weight: 600; font-size: 14.5px; }
.demo-mode label, .calc-plans label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.demo-mode input, .calc-plans input { accent-color: var(--forest); }
.demo-total { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1.5px dashed var(--line); font-size: 16px; }
.demo-note { margin: 10px 0 14px; color: var(--muted); font-size: 13.5px; }
.demo-place { width: 100%; cursor: pointer; }
.demo-place:disabled { opacity: .45; cursor: not-allowed; }
.demo-place:disabled:hover { background: var(--forest); border-color: var(--forest); }
.demo-kds { background: var(--forest-deep); border-color: var(--forest-deep); color: #e8efe9; }
.demo-kds-head { display: flex; justify-content: space-between; align-items: start; padding: 24px 24px 18px; border-bottom: 1px solid #2a3d36; }
.demo-kds-head .ticket-label { color: var(--coral); }
.demo-kds-head h3 { margin: 0; font-size: 24px; color: var(--paper-bright); }
.demo-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #9ed4b4; }
.demo-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; min-height: 300px; }
.demo-col { background: #1a3a31; border-radius: 6px; padding: 10px; min-width: 0; }
.demo-col h4 { margin: 0 0 10px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.kds-ticket { margin-bottom: 10px; padding: 12px; border-radius: 4px; background: var(--paper-bright); color: var(--ink); border-top: 4px solid var(--coral); }
.kds-ticket.is-fresh { animation: drop-in .45s ease-out; }
@keyframes drop-in { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
.kds-ticket-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.kds-ticket-head strong { font-family: var(--mono); font-weight: 500; }
.kds-mode { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: 999px; background: var(--paper-muted); }
.kds-mode.delivery { background: var(--coral-soft); }
.kds-items { margin: 8px 0; padding-left: 16px; font-size: 13.5px; }
.kds-meta { margin: 0 0 8px; color: var(--muted); font-size: 12.5px; }
.kds-btn { width: 100%; }
.demo-hint { margin: 0; padding: 0 24px 20px; color: #b9cbc2; font-size: 14.5px; }

/* ---- Commission calculator ---- */
.calc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.calc-copy { margin-bottom: 0; }
.calc { position: relative; display: grid; gap: 8px; padding: 32px 30px 42px; border: 1px solid var(--line); border-top: 6px solid var(--coral); background: var(--paper-bright); box-shadow: var(--shadow); }
.perforated::after { content: ""; position: absolute; right: -1px; bottom: -1px; left: -1px; height: 12px; background: radial-gradient(circle at 6px 0, transparent 6px, var(--paper) 6.4px) 0 0 / 12px 12px repeat-x; }
.calc > label { font-weight: 600; font-size: 14.5px; }
.calc input[type="number"] { width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 6px; background: var(--white); font: inherit; font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.calc input[type="number"]:focus { border-color: var(--forest); outline: none; }
.calc-plans { margin: 4px 0 14px; padding: 0; border: 0; display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.calc-plans legend { margin-bottom: 8px; font-weight: 600; font-size: 14.5px; }
.calc-out { display: grid; gap: 0; border-top: 1.5px dashed var(--line); }
.calc-out div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1.5px dashed var(--line); }
.calc-out strong { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -.03em; color: var(--coral); font-variant-numeric: tabular-nums; }
.calc-out .calc-zero strong { color: var(--forest); }
.calc-fine { margin: 14px 0 0; color: var(--muted); font-size: 13.5px; }

/* ---- Responsive ---- */
@media (max-width: 1040px) {
  .site-nav .nav-minor { display: none; }
}

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

@media (max-width: 900px) {
  .money-grid, .operator-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-row { grid-template-columns: 1fr; align-items: start; }
  .money-statement { position: relative; top: 0; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .capability:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .capability:nth-child(2n) { padding-left: 28px; border-left: 1.5px dashed var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .legal-layout { grid-template-columns: 1fr; gap: 42px; }
  .legal-nav { position: relative; top: 0; display: flex; flex-wrap: wrap; gap: 2px 18px; }
  .legal-nav strong { width: 100%; }
}

@media (max-width: 860px) {
  .journey .stage-in { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .journey.is-live .stage-in { grid-template-rows: auto minmax(0, 1fr); }
  .journey .ticket-wrap { display: none; }
  .journey .mini { display: block; }
  .journey.is-live .viewport { -webkit-mask-image: none; mask-image: none; }
  .journey .panel { padding: 0; }
  .journey .flag, .journey.is-live .panel + .panel .flag { margin-top: 16px; }
  .journey .panel-body { padding: 14px 0 10px; align-content: start; }
  .journey .copy p { margin-top: 9px; }
  .journey .facts { display: none; }
  .journey .scene { font-size: clamp(10px, 1.62vh, 14px); }
  .journey:not(.is-live) .scene { font-size: 13px; }
  .journey .j-note { display: none; }
  .journey .stops ol button { padding: 9px 10px; }
  .journey .stops ol button span { display: none; }
  .journey .stops ol button b { margin: 0; opacity: 1; }
}

@media (max-height: 640px) {
  .journey.is-live .facts { display: none; }
  .journey.is-live .copy p { margin-top: 8px; }
}

@media (max-width: 720px) {
  .nav-wrap { min-height: 66px; gap: 16px; }
  .site-nav { gap: 16px; }
  .site-nav .button-link { display: none; }
  .site-nav .button-link[aria-current="page"] { display: inline-flex; }
  .audience-grid { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability, .capability:nth-child(2n), .capability:not(:nth-child(3n + 1)) { padding: 26px 0 28px; border-left: 0; }
  .band-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .identity-row { grid-template-columns: 1fr; gap: 5px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .cta-panel::before { opacity: .22; }
}

@media (max-width: 560px) {
  .demo-board { grid-template-columns: 1fr; min-height: 0; }
  .demo-menu { padding: 6px 16px; }
  .demo-cart { margin: 10px 16px 16px; }
  .demo-shop-head, .demo-kds-head { padding: 20px 16px 14px; }
  .calc { padding: 26px 20px 38px; }
  .calc-out strong { font-size: 24px; }
}

@media (max-width: 480px) {
  .container, .nav-wrap, .journey .stage-in, .journey .stops-in { width: min(calc(100% - 28px), var(--max)); }
  .brand-wordmark { width: 138px; }
  .footer-brand .brand-wordmark { width: 160px; }
  .site-nav { gap: 13px; }
  .site-nav a { font-size: 13.5px; }
  .site-nav a[href="#how-it-works"] { display: none; }
  .hero-actions .button { width: 100%; }
  .section { padding: 64px 0; }
  .audience-card { padding: 26px; }
  .legal-content h2 { font-size: 29px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .demo-live i { animation: none; }
}
