@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  --ink: #0c0d0c;
  --ink-soft: #191b19;
  --paper: #f1eee7;
  --paper-bright: #faf9f5;
  --mist: #d7d4cd;
  --line: rgba(12, 13, 12, 0.16);
  --line-light: rgba(255, 255, 255, 0.18);
  --acid: #d8ff45;
  --coral: #ff705e;
  --sky: #9cd4ff;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-height: 86px;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

body,
button,
a {
  font-family: var(--sans);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

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

::selection {
  background: var(--acid);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  z-index: 80;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 0 clamp(22px, 4vw, 68px);
}

.site-header--overlay {
  position: fixed;
  inset: 0 0 auto;
  pointer-events: none;
}

.site-header--overlay > * {
  pointer-events: auto;
}

.site-header--solid {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.site-header--dark {
  border-bottom-color: var(--line-light);
  background: var(--ink);
  color: white;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  width: fit-content;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.brand img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.brand--blend,
.header-note--blend {
  color: #fff;
  mix-blend-mode: difference;
}

.header-note {
  grid-column: 3;
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(216, 255, 69, 0.16);
}

.cinematic-nav {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(12, 13, 12, 0.28);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(18px) saturate(1.2);
}

.cinematic-audience-switch {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(12, 13, 12, 0.3);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(18px) saturate(1.2);
}

.cinematic-audience-switch button {
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.cinematic-audience-switch button:hover,
.cinematic-audience-switch button:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: white;
}

.cinematic-audience-switch button[aria-pressed="true"] {
  background: white;
  color: var(--ink);
}

.cinematic-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease;
}

.cinematic-nav a:hover,
.cinematic-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.cinematic-nav .cinematic-nav-cta {
  background: white;
  color: var(--ink);
}

.cinematic-nav .cinematic-nav-cta:hover,
.cinematic-nav .cinematic-nav-cta:focus-visible {
  background: var(--acid);
  color: var(--ink);
}

.audience-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.site-header--dark .audience-nav {
  border-color: var(--line-light);
}

.audience-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(12, 13, 12, 0.54);
  font-size: 12px;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease;
}

.site-header--dark .audience-nav a {
  color: rgba(255, 255, 255, 0.54);
}

.audience-nav a:hover,
.audience-nav a:focus-visible,
.audience-nav a.is-current {
  background: var(--ink);
  color: white;
}

.site-header--dark .audience-nav a:hover,
.site-header--dark .audience-nav a:focus-visible,
.site-header--dark .audience-nav a.is-current {
  background: white;
  color: var(--ink);
}

.quiet-link {
  justify-self: end;
  font-size: 12px;
  font-weight: 600;
}

.quiet-link span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 180ms ease;
}

.quiet-link:hover span,
.quiet-link:focus-visible span {
  transform: translate(3px, -3px);
}

.eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.2;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--dark {
  background: var(--ink);
  color: white;
}

.button--dark:hover,
.button--dark:focus-visible {
  background: #30332f;
}

.button--light {
  background: white;
  color: var(--ink);
}

.button--light:hover,
.button--light:focus-visible {
  background: var(--acid);
}

.button--text {
  border-color: var(--line);
}

.button--text-light {
  border-color: var(--line-light);
  color: white;
}

.button--large {
  min-height: 58px;
  padding: 0 31px;
  font-size: 14px;
}

/* Gateway */

.page-gateway {
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  cursor: default;
}

.page-gateway.has-selected-experience {
  height: auto;
  min-height: 100%;
  overflow-y: auto;
}

.audience-gateway {
  position: relative;
  height: 100vh;
  min-height: 620px;
  isolation: isolate;
  overflow: hidden;
  background: var(--paper);
  touch-action: pan-y;
}

.audience-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.audience-layer--guest {
  z-index: 0;
  background:
    radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.95) 0 14%, transparent 38%),
    var(--paper);
  color: var(--ink);
}

.audience-layer--guest::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: linear-gradient(rgba(12, 13, 12, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(12, 13, 12, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to right, black, transparent 76%);
}

.audience-layer--restaurant {
  z-index: 1;
  clip-path: inset(0 0 0 var(--split));
  background: var(--ink);
  color: white;
  will-change: clip-path;
}

.audience-layer--restaurant::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 60%, rgba(216, 255, 69, 0.11), transparent 30%);
}

.audience-copy {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: min(34vw, 520px);
  transform: translateY(-50%);
}

.audience-copy--guest {
  left: clamp(30px, 7vw, 126px);
}

.audience-copy--restaurant {
  right: clamp(30px, 7vw, 126px);
}

.audience-copy h1,
.audience-copy h2 {
  margin: 22px 0 23px;
  font-family: var(--serif);
  font-size: clamp(46px, 5.1vw, 92px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.86;
}

.audience-copy .eyebrow {
  opacity: 0.62;
}

.audience-summary {
  max-width: 390px;
  margin: 0 0 26px;
  color: rgba(12, 13, 12, 0.62);
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.65;
}

.audience-layer--restaurant .audience-summary {
  color: rgba(255, 255, 255, 0.62);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
}

.gateway-device {
  position: absolute;
  z-index: 3;
  top: 16vh;
  width: min(27vw, 390px);
  transform: rotate(5deg);
}

.gateway-device img {
  position: relative;
  z-index: 2;
  width: 100%;
  filter: drop-shadow(0 34px 70px rgba(0, 0, 0, 0.2));
}

.gateway-device--guest {
  right: 7vw;
}

.gateway-device--restaurant {
  left: 7vw;
  transform: rotate(-5deg);
}

.device-halo {
  position: absolute;
  inset: 15% -25%;
  border: 1px solid rgba(12, 13, 12, 0.13);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.device-halo::before,
.device-halo::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(12, 13, 12, 0.1);
  border-radius: inherit;
}

.device-halo::after {
  inset: 27%;
}

.audience-layer--restaurant .device-halo,
.audience-layer--restaurant .device-halo::before,
.audience-layer--restaurant .device-halo::after {
  border-color: rgba(255, 255, 255, 0.14);
}

.ambient-orb {
  position: absolute;
  left: -8vw;
  bottom: -20vh;
  width: 45vw;
  height: 45vw;
  border-radius: 50%;
  filter: blur(1px);
  background: linear-gradient(145deg, rgba(156, 212, 255, 0.42), rgba(255, 255, 255, 0));
}

.grid-field {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to left, black, transparent 76%);
}

.vertical-label {
  position: absolute;
  z-index: 5;
  top: 50%;
  margin: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.vertical-label--left {
  left: 22px;
  transform: translateY(-50%) rotate(180deg);
}

.vertical-label--right {
  right: 22px;
  transform: translateY(-50%);
}

.reveal-divider {
  position: absolute;
  z-index: 10;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 1px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.17);
  pointer-events: none;
  will-change: left;
}

.reveal-divider span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 3px;
  background: linear-gradient(transparent, rgba(216, 255, 69, 0.9) 40%, rgba(216, 255, 69, 0.9) 60%, transparent);
  opacity: 0.55;
}

.reveal-control {
  position: absolute;
  z-index: 20;
  top: 50%;
  left: var(--split);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 116px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  outline: none;
  background: rgba(12, 13, 12, 0.78);
  color: white;
  font-size: 11px;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 34px rgba(0, 0, 0, 0.21);
  pointer-events: auto;
  will-change: left;
}

.reveal-control b {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal-control:focus-visible {
  box-shadow: 0 0 0 4px var(--acid), 0 8px 34px rgba(0, 0, 0, 0.21);
}

.gateway-intro {
  position: absolute;
  z-index: 8;
  top: 50%;
  left: var(--split);
  width: max-content;
  transform: translate(-50%, calc(-50% - 82px));
  color: white;
  font-family: var(--serif);
  font-size: clamp(17px, 1.55vw, 26px);
  line-height: 0.95;
  text-align: center;
  mix-blend-mode: difference;
  pointer-events: none;
  will-change: left;
}

.gateway-intro p {
  margin: 0;
}

.audience-actions {
  position: absolute;
  z-index: 16;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.audience-hit {
  position: relative;
  outline: none;
}

.audience-hit span {
  position: absolute;
  bottom: 34px;
  display: none;
}

.audience-hit:focus-visible {
  box-shadow: inset 0 0 0 5px var(--acid);
}

.motion-prompt {
  position: absolute;
  z-index: 20;
  bottom: 28px;
  left: 50%;
  margin: 0;
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
  mix-blend-mode: difference;
  pointer-events: none;
}

.motion-prompt span {
  display: inline-block;
  margin-right: 8px;
  animation: prompt-slide 1.8s ease-in-out infinite;
}

@keyframes prompt-slide {
  0%, 100% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
}

/* Cinematic audience gateway */

.cinematic-gateway {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100svh;
  min-height: 720px;
  overflow: hidden;
  background: #171512;
  color: white;
}

.cinematic-scene {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-position: center;
  background-size: cover;
  will-change: clip-path, transform, filter;
}

.cinematic-scene--split {
  background-image: url("./assets/serveguard-home-hero.png");
  transform: scale(1.015);
  transition: filter 900ms ease, transform 1300ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cinematic-scene--guest {
  z-index: 1;
  clip-path: inset(0 100% 0 0);
  background-image: url("./assets/guest-gateway-table.png");
  transition: clip-path 980ms cubic-bezier(0.76, 0, 0.24, 1), transform 1300ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cinematic-scene--restaurant {
  z-index: 2;
  clip-path: inset(0 0 0 100%);
  background-image: url("./assets/restaurant-operations-hero.png");
  transition: clip-path 980ms cubic-bezier(0.76, 0, 0.24, 1), transform 1300ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cinematic-gateway[data-mode="guest"] .cinematic-scene--guest {
  clip-path: inset(0);
  transform: scale(1.02);
}

.cinematic-gateway[data-mode="guest"] .cinematic-scene--restaurant {
  clip-path: inset(0 0 0 100%);
}

.cinematic-gateway[data-mode="restaurant"] .cinematic-scene--guest {
  clip-path: inset(0 100% 0 0);
}

.cinematic-gateway[data-mode="restaurant"] .cinematic-scene--restaurant {
  clip-path: inset(0);
  transform: scale(1.02);
}

.cinematic-gateway:not([data-mode="neutral"]) .cinematic-scene--split {
  filter: blur(8px) saturate(0.84);
  transform: scale(1.04);
}

.cinematic-scrim {
  position: absolute;
  z-index: 4;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 7, 0.5) 0%, rgba(8, 8, 7, 0.04) 36%, rgba(8, 8, 7, 0.18) 62%, rgba(8, 8, 7, 0.78) 100%),
    linear-gradient(90deg, rgba(8, 8, 7, 0.42), transparent 58%);
  pointer-events: none;
}

.cinematic-seam {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.18);
  transition: opacity 350ms ease, transform 900ms cubic-bezier(0.76, 0, 0.24, 1);
  pointer-events: none;
}

.cinematic-seam span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
  transform: translate(-50%, -50%);
}

.cinematic-gateway:not([data-mode="neutral"]) .cinematic-seam {
  opacity: 0;
}

.cinematic-message {
  position: absolute;
  z-index: 8;
  top: clamp(128px, 18vh, 190px);
  left: max(6vw, 48px);
  width: min(820px, 76vw);
  padding: 0;
  isolation: isolate;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.55);
}

.cinematic-message::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -46px -100px -50px -64px;
  background: radial-gradient(ellipse at 27% 48%, rgba(7, 8, 6, 0.62) 0%, rgba(7, 8, 6, 0.46) 39%, rgba(7, 8, 6, 0.16) 62%, transparent 79%);
  filter: blur(12px);
  pointer-events: none;
}

.cinematic-message > * {
  transition: opacity 180ms ease, transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cinematic-message.is-changing > * {
  opacity: 0;
  transform: translateY(14px);
}

.cinematic-message .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.cinematic-message h1 {
  max-width: 900px;
  margin: 20px 0 22px;
  font-family: var(--serif);
  font-size: clamp(60px, 6.8vw, 118px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.84;
}

.cinematic-copy {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.55;
}

.cinematic-primary {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 52px;
  margin-top: 30px;
  padding: 0 21px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  background: rgba(15, 16, 14, 0.56);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(10px);
  backdrop-filter: blur(18px);
  pointer-events: none;
}

.cinematic-gateway:not([data-mode="neutral"]) .cinematic-primary {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cinematic-primary:hover,
.cinematic-primary:focus-visible {
  border-color: white;
  background: white;
  color: var(--ink);
}

.cinematic-paths {
  position: absolute;
  z-index: 9;
  right: max(4vw, 34px);
  bottom: 44px;
  left: max(4vw, 34px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.cinematic-path {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(14px, 1.8vw, 24px);
  align-items: center;
  min-height: 94px;
  padding: 15px clamp(18px, 2vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 17px;
  outline: none;
  background: rgba(13, 14, 12, 0.36);
  color: white;
  text-align: left;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px) saturate(1.15);
  cursor: pointer;
  transition: background 260ms ease, color 260ms ease, transform 260ms ease, border-color 260ms ease;
}

.cinematic-path:hover,
.cinematic-path:focus-visible {
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-5px);
}

.cinematic-path[aria-pressed="true"] {
  border-color: white;
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

.cinematic-path--restaurant[aria-pressed="true"] {
  border-color: var(--acid);
  background: rgba(216, 255, 69, 0.13);
  color: white;
}

.cinematic-path-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cinematic-path-copy small {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  opacity: 0.65;
}

.cinematic-path-copy strong {
  font-family: var(--serif);
  font-size: clamp(21px, 1.8vw, 28px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.94;
}

.cinematic-path-arrow {
  font-size: 20px;
  transition: transform 220ms ease;
}

.cinematic-path:hover .cinematic-path-arrow,
.cinematic-path:focus-visible .cinematic-path-arrow,
.cinematic-path[aria-pressed="true"] .cinematic-path-arrow {
  transform: translateX(6px);
}

.cinematic-prompt {
  position: absolute;
  z-index: 9;
  right: max(4vw, 34px);
  bottom: 17px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* The selected gateway becomes the homepage; its first chapter is the product. */

.home-experience[hidden],
.home-phone-view[hidden] {
  display: none;
}

.home-experience {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(430px, 1.28fr);
  align-items: center;
  gap: clamp(60px, 9vw, 160px);
  padding: clamp(120px, 14vh, 170px) clamp(30px, 8vw, 145px) clamp(80px, 10vh, 130px);
  overflow: hidden;
  background: #eee7dc;
  color: var(--ink);
  transition: background 520ms ease, color 520ms ease;
}

.home-experience::before,
.home-experience::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-experience::before {
  inset: 0;
  opacity: 0.46;
  background-image: linear-gradient(rgba(12, 13, 12, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(12, 13, 12, 0.055) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.home-experience::after {
  top: 50%;
  right: -18vw;
  width: min(70vw, 1050px);
  aspect-ratio: 1;
  border: 1px solid rgba(12, 13, 12, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(12, 13, 12, 0.025), 0 0 0 150px rgba(12, 13, 12, 0.018);
  transform: translateY(-50%);
}

.home-experience[data-mode="restaurant"] {
  background: #101210;
  color: white;
}

.home-experience[data-mode="restaurant"]::before {
  opacity: 0.72;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
}

.home-experience[data-mode="restaurant"]::after {
  border-color: rgba(216, 255, 69, 0.13);
  box-shadow: 0 0 0 70px rgba(216, 255, 69, 0.025), 0 0 0 150px rgba(216, 255, 69, 0.016);
}

.home-experience-copy,
.home-phone-stage {
  position: relative;
  z-index: 2;
}

.home-experience-copy {
  align-self: center;
  max-width: 510px;
}

.home-experience-copy .eyebrow {
  color: rgba(12, 13, 12, 0.54);
}

.home-experience[data-mode="restaurant"] .home-experience-copy .eyebrow {
  color: var(--acid);
}

.home-experience-copy h2 {
  margin: 22px 0 26px;
  font-family: var(--serif);
  font-size: clamp(67px, 7vw, 118px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.84;
}

.home-experience-copy > p:not(.eyebrow) {
  max-width: 400px;
  margin: 0;
  color: rgba(12, 13, 12, 0.62);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
}

.home-experience[data-mode="restaurant"] .home-experience-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.62);
}

.home-experience-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
}

.home-experience-link span:last-child {
  transition: transform 180ms ease;
}

.home-experience-link:hover span:last-child,
.home-experience-link:focus-visible span:last-child {
  transform: translate(4px, -3px);
}

.home-phone-stage {
  display: grid;
  justify-items: center;
  align-self: center;
  min-width: 0;
}

.home-phone-label,
.home-phone-caption {
  width: min(386px, 100%);
  margin: 0;
  color: rgba(12, 13, 12, 0.46);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-experience[data-mode="restaurant"] .home-phone-label,
.home-experience[data-mode="restaurant"] .home-phone-caption {
  color: rgba(255, 255, 255, 0.44);
}

.home-phone-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.home-phone-label > span:first-child {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28c96b;
  box-shadow: 0 0 0 5px rgba(40, 201, 107, 0.12);
}

.home-experience[data-mode="restaurant"] .home-phone-label > span:first-child {
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(216, 255, 69, 0.12);
}

.home-phone-caption {
  margin-top: 18px;
  text-align: center;
  letter-spacing: 0.08em;
}

.home-demo-phone {
  position: relative;
  width: min(386px, 100%);
  height: min(720px, 72svh);
  min-height: 620px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 54px;
  background: #050605;
  box-shadow: 0 44px 100px rgba(24, 17, 10, 0.25), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.home-experience[data-mode="restaurant"] .home-demo-phone {
  box-shadow: 0 44px 110px rgba(0, 0, 0, 0.56), 0 0 80px rgba(216, 255, 69, 0.035), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.home-demo-phone::before,
.home-demo-phone::after {
  content: "";
  position: absolute;
  left: -4px;
  width: 4px;
  border-radius: 3px 0 0 3px;
  background: #171817;
}

.home-demo-phone::before {
  top: 118px;
  height: 68px;
}

.home-demo-phone::after {
  top: 200px;
  height: 42px;
}

.home-demo-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 44px;
  background: #f9f9f7;
  color: var(--ink);
}

.home-phone-status {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  left: 0;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  font-size: 9px;
  font-weight: 700;
}

.home-phone-status i {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 104px;
  height: 27px;
  border-radius: 999px;
  background: #050505;
  transform: translateX(-50%);
}

.home-phone-view {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 42px;
}

.home-phone-appbar {
  min-height: 56px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(12, 13, 12, 0.09);
  font-size: 12px;
  font-weight: 700;
}

.home-phone-appbar button {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(12, 13, 12, 0.15);
  border-radius: 50%;
  background: white;
  font-size: 12px;
  font-weight: 700;
}

.home-mini-logo {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: var(--ink);
  color: white;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.home-phone-content {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 30px 22px 22px;
}

.home-phone-kicker {
  margin: 0 0 8px;
  color: rgba(12, 13, 12, 0.5);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.home-phone-content h3 {
  margin: 0 0 8px;
  font-size: 31px;
  letter-spacing: -0.055em;
}

.home-phone-content > p:not(.home-phone-kicker) {
  margin: 0;
  color: rgba(12, 13, 12, 0.55);
  font-size: 12px;
  line-height: 1.5;
}

.home-allergen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 25px;
}

.home-allergen-grid button {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid rgba(12, 13, 12, 0.14);
  border-radius: 14px;
  background: white;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.home-allergen-grid button:hover,
.home-allergen-grid button:focus-visible {
  transform: translateY(-2px);
}

.home-allergen-grid button.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.home-allergen-grid button.is-selected span {
  color: var(--acid);
}

.home-guest-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(12, 13, 12, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 10px;
}

.home-guest-note span {
  color: rgba(12, 13, 12, 0.46);
}

.home-phone-action {
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  border: 0;
  border-radius: 15px;
  background: var(--ink);
  color: white;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.home-phone-action:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.home-phone-success {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 15px;
  border: 1px solid rgba(40, 201, 107, 0.28);
  border-radius: 16px;
  background: rgba(40, 201, 107, 0.08);
}

.home-phone-success > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #28c96b;
  color: white;
  font-weight: 700;
}

.home-phone-success strong,
.home-phone-success small {
  display: block;
}

.home-phone-success strong {
  font-size: 11px;
}

.home-phone-success small {
  margin-top: 3px;
  color: rgba(12, 13, 12, 0.54);
  font-size: 8px;
  line-height: 1.4;
}

.home-phone-success button {
  grid-column: 2;
  justify-self: start;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

.home-phone-tabs {
  min-height: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 5px;
  padding: 8px 12px 12px;
  border-top: 1px solid rgba(12, 13, 12, 0.09);
  background: rgba(255, 255, 255, 0.92);
}

.home-phone-tabs span {
  padding: 10px 4px;
  border-radius: 11px;
  color: rgba(12, 13, 12, 0.42);
  font-size: 8px;
  font-weight: 700;
  text-align: center;
}

.home-phone-tabs span.is-active {
  background: var(--ink);
  color: white;
}

.home-phone-view--restaurant {
  background: #f2f3ef;
}

.home-phone-appbar--dark {
  border-bottom-color: rgba(12, 13, 12, 0.08);
}

.home-phone-content--restaurant {
  padding-top: 25px;
}

.home-floor-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.home-floor-heading > span {
  margin-bottom: 9px;
  color: rgba(12, 13, 12, 0.44);
  font-size: 9px;
  font-weight: 700;
}

.home-table-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.home-table-grid button {
  position: relative;
  min-height: 105px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 15px;
  overflow: hidden;
  border: 1px solid rgba(12, 13, 12, 0.14);
  border-radius: 15px;
  background: white;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.home-table-grid button::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: #a2a39f;
}

.home-table-grid button.has-alert::before {
  background: var(--coral);
}

.home-table-grid button:hover,
.home-table-grid button:focus-visible,
.home-table-grid button.is-active {
  border-color: rgba(12, 13, 12, 0.48);
  box-shadow: 0 10px 22px rgba(12, 13, 12, 0.08);
  transform: translateY(-2px);
}

.home-table-grid button.is-active {
  background: #fffdf4;
}

.home-table-grid strong {
  font-size: 24px;
  letter-spacing: -0.04em;
}

.home-table-grid span {
  margin-top: 8px;
  color: rgba(12, 13, 12, 0.58);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.35;
}

.home-table-detail {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  margin-top: 15px;
  padding: 16px;
  border-radius: 16px;
  background: var(--ink);
  color: white;
}

.home-table-detail p,
.home-table-detail strong,
.home-table-detail span,
.home-table-detail small {
  margin: 0;
}

.home-table-detail p {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.5);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-table-detail strong {
  font-size: 17px;
}

.home-table-detail span {
  align-self: center;
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
}

.home-table-detail small {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
}

.home-table-detail small i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
}

.home-phone-tabs--dark span.is-active {
  background: var(--ink);
  color: var(--acid);
}

.home-audience-sites[hidden],
.home-audience-site[hidden] {
  display: none;
}

.home-audience-sites,
.home-audience-site {
  position: relative;
}

.home-audience-site[data-audience-site="guest"] {
  background: var(--paper);
  color: var(--ink);
}

.home-audience-site[data-audience-site="restaurant"] {
  background: var(--ink);
  color: white;
}

.home-audience-loading {
  min-height: 42vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 70px 24px;
  background: inherit;
  color: inherit;
  text-align: center;
}

.home-audience-loading span {
  width: 32px;
  height: 32px;
  border: 1px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: home-site-loading 800ms linear infinite;
}

.home-audience-loading p {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@keyframes home-site-loading {
  to { transform: rotate(360deg); }
}

.home-audience-site .detail-footer {
  position: relative;
}

.custom-cursor {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: translate3d(-100px, -100px, 0);
  backdrop-filter: blur(10px);
  mix-blend-mode: difference;
  pointer-events: none;
  transition: width 180ms ease, height 180ms ease, opacity 180ms ease;
}

.has-fine-pointer .custom-cursor {
  display: flex;
}

.has-fine-pointer.page-gateway,
.has-fine-pointer.page-gateway a,
.has-fine-pointer.page-gateway button {
  cursor: none;
}

.custom-cursor.is-pressed {
  width: 58px;
  height: 58px;
}

/* Gateway product moments */

.gateway-product {
  position: absolute;
  z-index: 3;
  top: 16vh;
  width: min(31vw, 470px);
  height: 68vh;
}

.gateway-product--guest {
  right: 4.5vw;
}

.gateway-product--restaurant {
  left: 4.5vw;
}

.gateway-photo-moment {
  position: absolute;
  inset: 0 7% 5% 3%;
  overflow: hidden;
  border: 1px solid rgba(12, 13, 12, 0.12);
  border-radius: 32px;
  background: #d3b27e;
  box-shadow: 0 38px 90px rgba(31, 23, 12, 0.24);
  transform: rotate(3.5deg);
}

.gateway-photo-moment img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gateway-allergy-moment {
  position: absolute;
  z-index: 2;
  right: -6%;
  bottom: 12%;
  width: 68%;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 50px rgba(24, 20, 14, 0.2);
  backdrop-filter: blur(18px);
}

.gateway-allergy-moment > span {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 24px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.58;
}

.gateway-allergy-moment > span i,
.gateway-team-moment > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #39a56d;
  box-shadow: 0 0 0 5px rgba(57, 165, 109, 0.13);
}

.gateway-allergy-moment strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(23px, 2vw, 34px);
  font-weight: 400;
  line-height: 1;
}

.gateway-allergy-moment p {
  margin: 8px 0 0;
  font-size: 10px;
  opacity: 0.55;
}

.gateway-expo-moment {
  position: absolute;
  inset: 5% 0 9% 5%;
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  background: #f7f7f4;
  color: var(--ink);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.38);
  transform: rotate(-3deg);
}

.gateway-expo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.gateway-expo-head span {
  font-family: var(--serif);
  font-size: 25px;
}

.gateway-expo-head b {
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.45;
}

.gateway-expo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gateway-expo-grid > span {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid rgba(12, 13, 12, 0.16);
  border-left: 5px solid #91948f;
  border-radius: 12px;
  font-family: var(--serif);
  font-size: 30px;
}

.gateway-expo-grid > span.has-alert {
  border-color: rgba(255, 112, 94, 0.5);
  border-left-color: var(--coral);
  background: #fff8f6;
}

.gateway-expo-grid small {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gateway-team-moment {
  position: absolute;
  z-index: 3;
  right: -9%;
  top: 18%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 12px;
  width: 185px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  background: rgba(20, 22, 20, 0.9);
  color: white;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.gateway-team-moment > i {
  grid-row: 1 / 3;
  align-self: center;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(255, 112, 94, 0.12);
}

.gateway-team-moment span {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.5;
}

.gateway-team-moment strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.gateway-product-tag {
  position: absolute;
  z-index: 5;
  bottom: 0;
  left: 50%;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.gateway-product--restaurant .gateway-product-tag {
  background: var(--acid);
  color: var(--ink);
}

/* Shared audience pages */

.theme-restaurant {
  background: var(--ink);
  color: white;
}

.detail-hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.detail-hero--guest {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.95), transparent 34%),
    var(--paper);
}

.detail-hero--restaurant {
  background: var(--ink);
  color: white;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: linear-gradient(rgba(12, 13, 12, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(12, 13, 12, 0.04) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to right, black, transparent 80%);
}

.restaurant-grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to right, black, transparent 85%);
}

.detail-hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  padding: 10vh 5vw 12vh max(6vw, 48px);
}

.detail-hero-copy h1 {
  margin: 25px 0 28px;
  font-family: var(--serif);
  font-size: clamp(70px, 9vw, 160px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.73;
}

.detail-hero-copy h1 em {
  font-weight: 400;
}

.detail-hero--guest .detail-hero-copy h1 em {
  color: #376c74;
}

.detail-hero--restaurant .detail-hero-copy h1 em {
  color: var(--acid);
}

.hero-deck {
  max-width: 440px;
  margin: 0;
  color: rgba(12, 13, 12, 0.6);
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.55;
}

.detail-hero--restaurant .hero-deck {
  color: rgba(255, 255, 255, 0.62);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 35px;
}

.hero-object {
  position: relative;
  z-index: 2;
  align-self: end;
  justify-self: center;
  width: min(31vw, 480px);
  margin-bottom: -9vh;
  transform: translate3d(var(--object-x, 0), var(--object-y, 0), 0);
  will-change: transform;
}

.hero-object > img {
  position: relative;
  z-index: 4;
  width: 100%;
  filter: drop-shadow(0 42px 76px rgba(0, 0, 0, 0.22));
}

.hero-editorial {
  position: relative;
  z-index: 3;
  align-self: center;
  justify-self: center;
  width: min(46vw, 760px);
  height: min(72vh, 790px);
  transform: translate3d(var(--object-x, 0), var(--object-y, 0), 0);
  will-change: transform;
}

.hero-editorial figure {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 35px 90px rgba(15, 18, 15, 0.22);
}

.hero-editorial figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 34px;
  background: linear-gradient(to top, rgba(8, 10, 8, 0.23), transparent 45%);
  pointer-events: none;
}

.hero-editorial figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-editorial--guest {
  width: min(39vw, 620px);
}

.hero-editorial--guest figure img {
  object-position: center 58%;
}

.hero-editorial--restaurant figure img {
  object-position: center;
}

.hero-live-card {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  min-width: 210px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 17px;
  box-shadow: 0 22px 55px rgba(12, 13, 12, 0.24);
  backdrop-filter: blur(18px);
}

.hero-live-card--guest {
  right: -11%;
  top: 18%;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
}

.hero-live-card--restaurant {
  right: -8%;
  bottom: 13%;
  border-color: rgba(255, 255, 255, 0.17);
  background: rgba(20, 22, 20, 0.9);
  color: white;
}

.hero-live-card > span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.55;
}

.hero-live-card > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35a567;
  box-shadow: 0 0 0 5px rgba(53, 165, 103, 0.13);
}

.hero-live-card--restaurant > span i {
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(255, 112, 94, 0.13);
}

.hero-live-card strong {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.hero-live-card p {
  margin: 7px 0 0;
  font-size: 9px;
  opacity: 0.55;
}

.hero-scan-card {
  position: absolute;
  z-index: 5;
  left: -12%;
  bottom: 10%;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 13px;
  align-items: center;
  min-width: 220px;
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 55px rgba(12, 13, 12, 0.23);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease;
}

.hero-scan-card:hover,
.hero-scan-card:focus-visible {
  transform: translateY(-4px);
}

.hero-scan-card img {
  width: 72px;
  height: 72px;
  border-radius: 9px;
}

.hero-scan-card > span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero-scan-card small {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.5;
}

.hero-scan-card strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}

.hero-expo-overlay {
  position: absolute;
  z-index: 4;
  left: -10%;
  bottom: 8%;
  width: min(72%, 480px);
  padding: 21px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 20px;
  background: rgba(250, 250, 247, 0.9);
  color: var(--ink);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.hero-expo-overlay > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hero-expo-overlay > header span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-expo-overlay > header span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.hero-expo-overlay > header b {
  font-size: 8px;
  opacity: 0.43;
}

.hero-expo-overlay > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.hero-expo-overlay > div > span {
  min-height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 9px;
  border: 1px solid rgba(12, 13, 12, 0.14);
  border-left: 4px solid #929590;
  border-radius: 9px;
  font-family: var(--serif);
  font-size: 23px;
}

.hero-expo-overlay > div > span.has-alert {
  border-color: rgba(255, 112, 94, 0.48);
  border-left-color: var(--coral);
  background: #fff6f4;
}

.hero-expo-overlay small {
  font-family: var(--sans);
  font-size: 6px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-object-ring {
  position: absolute;
  z-index: 0;
  top: 21%;
  left: 50%;
  width: 145%;
  aspect-ratio: 1;
  border: 1px solid rgba(12, 13, 12, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero-object-ring--two {
  width: 190%;
  opacity: 0.5;
}

.orbit-copy {
  position: absolute;
  z-index: 2;
  margin: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.orbit-copy--one {
  top: 10%;
  left: -31%;
  transform: rotate(-12deg);
}

.orbit-copy--two {
  top: 2%;
  right: -38%;
  transform: rotate(12deg);
}

.floating-card {
  position: absolute;
  z-index: 6;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.floating-card--guest {
  top: 22%;
  right: -28%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  width: 230px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.floating-card--guest p {
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  margin-top: 3px;
  border-radius: 50%;
  background: #33a469;
  box-shadow: 0 0 0 5px rgba(51, 164, 105, 0.15);
}

.hero-object--restaurant {
  margin-bottom: -6vh;
}

.service-radar {
  position: absolute;
  z-index: 0;
  top: 13%;
  left: 50%;
  width: 175%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.service-radar::before,
.service-radar::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: inherit;
}

.service-radar::after {
  inset: 36%;
}

.service-radar span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 7px rgba(216, 255, 69, 0.12);
}

.service-radar span:nth-child(1) { top: 16%; left: 18%; }
.service-radar span:nth-child(2) { top: 58%; right: 3%; }
.service-radar span:nth-child(3) { bottom: 7%; left: 28%; }

.floating-card--restaurant {
  display: flex;
  flex-direction: column;
  width: 215px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 15px;
  background: rgba(31, 34, 31, 0.78);
  color: white;
}

.floating-card--restaurant small {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.floating-card--restaurant strong {
  margin-bottom: 3px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.floating-card--restaurant span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
}

.floating-card--top {
  top: 18%;
  left: -33%;
}

.floating-card--bottom {
  top: 48%;
  right: -36%;
}

.hero-index {
  position: absolute;
  z-index: 5;
  right: clamp(24px, 3vw, 50px);
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-index span:first-child {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.hero-index--dark span:first-child {
  border-color: var(--line-light);
}

/* Story hover transformation */

.story-section {
  min-height: 100vh;
  padding: clamp(80px, 10vw, 150px) max(6vw, 48px);
  background: var(--paper-bright);
}

.story-section--dark {
  background: #121412;
  color: white;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(54px, 7.3vw, 120px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.story-interface {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(400px, 1.5fr);
  gap: clamp(50px, 9vw, 150px);
  align-items: stretch;
  margin-top: clamp(48px, 6vw, 90px);
}

.story-list {
  display: flex;
  flex-direction: column;
}

.story-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 82px;
  padding: 0 0 0 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  outline: none;
  background: transparent;
  font-size: clamp(21px, 2.1vw, 34px);
  text-align: left;
  cursor: pointer;
}

.story-section--dark .story-item {
  border-bottom-color: var(--line-light);
}

.story-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -17px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  transform: translateY(-50%) scale(0);
  transition: opacity 180ms ease, transform 180ms ease;
}

.story-item span {
  transform: translateX(0);
  transition: transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 180ms ease;
}

.story-item small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.38;
}

.story-item:hover span,
.story-item:focus-visible span,
.story-item.is-active span {
  transform: translateX(18px);
}

.story-item:hover::before,
.story-item:focus-visible::before,
.story-item.is-active::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.story-item.is-active small {
  opacity: 1;
}

.story-response {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 410px;
  padding: clamp(34px, 5vw, 74px);
  overflow: hidden;
  border-radius: 3px;
  background: var(--ink);
  color: white;
}

.story-section--dark .story-response {
  background: var(--acid);
  color: var(--ink);
}

.story-response::before {
  content: "";
  position: absolute;
  top: -24%;
  right: -13%;
  width: 62%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(255, 255, 255, 0.03), 0 0 0 100px rgba(255, 255, 255, 0.02);
  z-index: 1;
}

.story-response.has-photo {
  background: #111411;
  color: white;
}

.story-response.has-photo::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 7, 0.16) 0%, rgba(7, 9, 7, 0.35) 42%, rgba(7, 9, 7, 0.9) 100%),
    var(--story-image) var(--story-position, center) / cover no-repeat;
  transform: scale(1.01);
  transition: opacity 180ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.story-response.has-photo.is-changing::after {
  opacity: 0.68;
  transform: scale(1.035);
}

.story-section--dark .story-response.has-photo {
  background: #111411;
  color: white;
}

.story-response.has-photo::before,
.story-section--dark .story-response.has-photo::before {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 50px rgba(255, 255, 255, 0.035), 0 0 0 100px rgba(255, 255, 255, 0.018);
}

.story-section--dark .story-response::before {
  border-color: rgba(12, 13, 12, 0.16);
  box-shadow: 0 0 0 50px rgba(12, 13, 12, 0.03), 0 0 0 100px rgba(12, 13, 12, 0.02);
}

.story-response > * {
  position: relative;
  z-index: 2;
  transition: opacity 160ms ease, transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.story-response.is-changing > *:not(.story-progress) {
  opacity: 0;
  transform: translateY(12px);
}

.story-kicker {
  margin: 0 0 auto;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  opacity: 0.58;
}

.story-title-row {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.story-title-row > span {
  padding-top: 11px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.5;
}

.story-title-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(47px, 6vw, 92px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.story-response > p:not(.story-kicker) {
  max-width: 540px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(13px, 1.25vw, 17px);
  line-height: 1.65;
}

.story-section--dark .story-response > p:not(.story-kicker) {
  color: rgba(12, 13, 12, 0.63);
}

.story-response.has-photo > p:not(.story-kicker),
.story-section--dark .story-response.has-photo > p:not(.story-kicker) {
  color: rgba(255, 255, 255, 0.72);
}

.story-progress {
  position: absolute;
  right: clamp(34px, 5vw, 74px);
  bottom: 28px;
  left: clamp(34px, 5vw, 74px);
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
}

.story-section--dark .story-progress {
  background: rgba(12, 13, 12, 0.18);
}

.story-progress span {
  display: block;
  width: var(--story-progress, 25%);
  height: 100%;
  background: currentColor;
  transition: width 400ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.story-try-qr {
  position: absolute !important;
  z-index: 5 !important;
  top: clamp(28px, 4vw, 54px);
  right: clamp(28px, 4vw, 54px);
  display: grid;
  grid-template-columns: 64px auto;
  gap: 13px;
  align-items: center;
  padding: 9px 16px 9px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  transition: background 180ms ease, transform 180ms ease !important;
}

.story-try-qr:hover,
.story-try-qr:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px) !important;
}

.story-try-qr img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: white;
}

.story-try-qr > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.story-try-qr small {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.52;
}

.story-try-qr strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

/* Guest signal map */

.signal-section {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: 9vw;
  align-items: center;
  padding: clamp(90px, 11vw, 170px) max(6vw, 48px);
}

.signal-section--guest {
  background: #dfe9e6;
}

.signal-copy h2,
.operations-copy h2 {
  margin: 24px 0 28px;
  font-family: var(--serif);
  font-size: clamp(50px, 6.2vw, 100px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.signal-copy > p:last-child,
.operations-copy > p:last-child {
  max-width: 440px;
  margin: 0;
  color: rgba(12, 13, 12, 0.6);
  font-size: 15px;
  line-height: 1.7;
}

.signal-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  min-height: 330px;
  align-items: center;
}

.signal-line {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 5%;
  left: 5%;
  height: 1px;
  overflow: hidden;
  background: rgba(12, 13, 12, 0.22);
}

.signal-line span {
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 5px rgba(12, 13, 12, 0.1);
  animation: signal-travel 4s linear infinite;
}

@keyframes signal-travel {
  from { left: 0; }
  to { left: 100%; }
}

.signal-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(12, 13, 12, 0.19);
  border-radius: 50%;
  background: rgba(223, 233, 230, 0.9);
  transition: transform 250ms ease, background 250ms ease;
}

.signal-node:hover {
  z-index: 3;
  background: var(--paper-bright);
  transform: translateY(-9px) scale(1.03);
}

.signal-node.is-origin,
.signal-node.is-final {
  background: var(--ink);
  color: white;
}

.signal-node > span {
  position: absolute;
  top: 17%;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.5;
}

.signal-node strong {
  font-family: var(--serif);
  font-size: clamp(25px, 2.3vw, 38px);
  font-weight: 400;
}

.signal-node small {
  margin-top: 5px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.52;
}

/* Restaurant operation loop */

.operations-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 0.8fr 1.25fr;
  gap: 8vw;
  align-items: center;
  padding: clamp(90px, 11vw, 170px) max(6vw, 48px);
  background: #ece9e2;
  color: var(--ink);
}

.operations-loop {
  position: relative;
  justify-self: center;
  width: min(54vw, 750px);
  aspect-ratio: 1.25;
}

.loop-core {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  transform: translate(-50%, -50%);
  box-shadow: 0 24px 60px rgba(12, 13, 12, 0.2);
}

.loop-core img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.loop-core span {
  font-size: 9px;
  font-weight: 700;
}

.loop-track {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(12, 13, 12, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.loop-track--one {
  width: 58%;
  height: 58%;
}

.loop-track--two {
  width: 92%;
  height: 92%;
}

.loop-point {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  border: 1px solid rgba(12, 13, 12, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(12px);
}

.loop-point span {
  margin-bottom: 7px;
  font-size: 8px;
  font-weight: 700;
  opacity: 0.46;
}

.loop-point strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}

.loop-point--guest { top: 0; left: 50%; transform: translateX(-50%); }
.loop-point--server { top: 50%; right: 0; transform: translateY(-50%); }
.loop-point--manager { bottom: 0; left: 50%; transform: translateX(-50%); }
.loop-point--record { top: 50%; left: 0; transform: translateY(-50%); }

.loop-signal {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 6px rgba(255, 112, 94, 0.16);
}

.loop-signal--one {
  animation: loop-orbit-one 6s linear infinite;
}

.loop-signal--two {
  background: #3b777e;
  box-shadow: 0 0 0 6px rgba(59, 119, 126, 0.16);
  animation: loop-orbit-two 9s linear infinite reverse;
}

@keyframes loop-orbit-one {
  from { transform: translate(-50%, -50%) rotate(0deg) translateX(clamp(92px, 15vw, 180px)) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg) translateX(clamp(92px, 15vw, 180px)) rotate(-360deg); }
}

@keyframes loop-orbit-two {
  from { transform: translate(-50%, -50%) rotate(0deg) translateX(clamp(145px, 23vw, 320px)) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg) translateX(clamp(145px, 23vw, 320px)) rotate(-360deg); }
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--acid);
  color: var(--ink);
}

.proof-strip > div {
  min-height: 210px;
  padding: 30px;
  border-right: 1px solid rgba(12, 13, 12, 0.2);
}

.proof-strip > div:last-child {
  border-right: 0;
}

.proof-strip span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.proof-strip p {
  margin: 74px 0 0;
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 31px);
  line-height: 1.1;
}

.proof-strip strong {
  font-weight: 400;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* Photography */

.photo-feature {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: center;
  padding: clamp(90px, 11vw, 170px) max(6vw, 48px);
  overflow: hidden;
}

.photo-feature--guest {
  background: #e9dfcf;
}

.photo-feature--restaurant {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  background: #171917;
  color: white;
}

.photo-feature figure {
  margin: 0;
}

.photo-feature-main {
  position: relative;
  justify-self: center;
  width: min(100%, 590px);
  min-width: 0;
}

.photo-feature-main::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 7% -10% -5% 14%;
  border: 1px solid rgba(12, 13, 12, 0.17);
  border-radius: 38px;
}

.photo-feature--restaurant .photo-feature-main::before {
  border-color: rgba(255, 255, 255, 0.18);
}

.photo-feature-main img,
.photo-feature-secondary img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-feature-main img {
  max-height: 850px;
  border-radius: 34px;
  box-shadow: 0 35px 90px rgba(30, 23, 14, 0.22);
}

.photo-feature-main figcaption,
.photo-feature-secondary figcaption {
  margin-top: 13px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.52;
}

.photo-feature-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.photo-feature-copy > h2 {
  margin: 24px 0 27px;
  font-family: var(--serif);
  font-size: clamp(65px, 8vw, 132px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.8;
}

.photo-feature-copy > p:not(.eyebrow) {
  max-width: 400px;
  margin: 0;
  color: rgba(12, 13, 12, 0.6);
  font-size: 16px;
  line-height: 1.65;
}

.photo-feature--restaurant .photo-feature-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.6);
}

.photo-feature-secondary {
  width: min(100%, 510px);
  margin-top: clamp(55px, 8vw, 110px) !important;
  margin-left: auto !important;
}

.photo-feature-secondary img {
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  box-shadow: 0 27px 70px rgba(30, 23, 14, 0.18);
}

.photo-feature-main--landscape {
  width: min(100%, 880px);
}

.photo-feature-main--landscape img {
  aspect-ratio: 16 / 10;
  max-height: none;
}

.photo-feature-secondary--ticket {
  width: min(22vw, 310px);
  margin-right: auto !important;
  margin-left: 0 !important;
}

.photo-feature-secondary--ticket img {
  aspect-ratio: 2 / 3;
}

/* Limited interactive product previews */

.product-preview {
  min-height: 100vh;
  padding: clamp(95px, 11vw, 170px) max(5vw, 42px);
}

.product-preview--guest {
  background: var(--ink);
  color: white;
}

.product-preview--restaurant {
  background: var(--acid);
  color: var(--ink);
}

.product-preview-heading {
  max-width: 1380px;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.4fr);
  gap: 50px;
  align-items: end;
  margin: 0 auto clamp(55px, 7vw, 100px);
}

.product-preview-heading h2 {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(61px, 8vw, 128px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.82;
}

.product-preview-heading > p {
  max-width: 400px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.7;
}

.product-preview--restaurant .product-preview-heading > p {
  color: rgba(12, 13, 12, 0.58);
}

.demo-window {
  max-width: 1380px;
  min-height: 680px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 30px;
  background: var(--paper-bright);
  color: var(--ink);
  box-shadow: 0 45px 110px rgba(0, 0, 0, 0.32);
}

.demo-window--dark {
  border-color: rgba(12, 13, 12, 0.25);
  background: #121412;
  color: white;
  box-shadow: 0 45px 100px rgba(12, 13, 12, 0.25);
}

.demo-window-bar {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
}

.demo-window--dark .demo-window-bar {
  border-bottom-color: var(--line-light);
}

.demo-dots {
  display: flex;
  gap: 6px;
}

.demo-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(12, 13, 12, 0.18);
}

.demo-window--dark .demo-dots span {
  background: rgba(255, 255, 255, 0.2);
}

.demo-dots span:first-child {
  background: var(--coral);
}

.demo-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.demo-tabs-context {
  position: relative;
  justify-self: center;
}

.menu-filter-thought {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: calc(100% + 18px);
  width: 238px;
  margin: 0;
  padding: 13px 17px;
  transform: translateY(-50%) rotate(-1deg);
  border: 2px solid #35b95c;
  border-radius: 21px 21px 21px 7px;
  background: rgba(255, 255, 255, 0.06);
  color: #168044;
  box-shadow: 0 8px 0 rgba(53, 185, 92, 0.1);
  font-size: 11px;
  line-height: 1.4;
  pointer-events: none;
  animation: menu-thought-float 2.8s ease-in-out infinite;
}

.menu-filter-thought::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -8px;
  width: 14px;
  height: 14px;
  transform: translateY(-50%) rotate(45deg);
  border-left: 2px solid #35b95c;
  border-bottom: 2px solid #35b95c;
  background: #faf9f5;
}

.menu-filter-thought::after {
  content: "✦";
  position: absolute;
  top: -12px;
  right: -10px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 2px solid #35b95c;
  border-radius: 50%;
  background: #faf9f5;
  color: #168044;
  font-size: 12px;
}

.menu-filter-thought strong,
.menu-filter-thought span {
  position: relative;
  z-index: 1;
  display: block;
}

.menu-filter-thought strong {
  margin-bottom: 2px;
  font-size: 13px;
}

@keyframes menu-thought-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -3px; }
}

.demo-window--dark .demo-tabs {
  border-color: var(--line-light);
}

.demo-tab {
  min-height: 35px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  outline: 0;
  background: transparent;
  color: rgba(12, 13, 12, 0.48);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.demo-window--dark .demo-tab {
  color: rgba(255, 255, 255, 0.5);
}

.demo-tab.is-active,
.demo-tab:hover,
.demo-tab:focus-visible {
  background: var(--ink);
  color: white;
}

.demo-window--dark .demo-tab.is-active,
.demo-window--dark .demo-tab:hover,
.demo-window--dark .demo-tab:focus-visible {
  background: var(--acid);
  color: var(--ink);
}

.demo-label {
  justify-self: end;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.45;
}

.demo-panel[hidden] {
  display: none !important;
}

.demo-panel {
  min-height: 607px;
  animation: demo-panel-in 350ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes demo-panel-in {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

.demo-panel[data-demo-panel="checkin"] {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.guest-demo-copy {
  padding: clamp(45px, 6vw, 88px);
  border-right: 1px solid var(--line);
}

.demo-step {
  margin: 0 0 15px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.48;
}

.guest-demo-copy h3,
.menu-demo-controls h3,
.restaurant-demo-head h3,
.training-demo h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(39px, 4.8vw, 72px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.93;
}

.guest-demo-copy > p:not(.demo-step),
.menu-demo-controls > p:not(.demo-step) {
  max-width: 430px;
  margin: 20px 0 32px;
  color: rgba(12, 13, 12, 0.55);
  font-size: 12px;
  line-height: 1.6;
}

.demo-allergen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.demo-allergen-grid button,
.menu-filter-list button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.demo-allergen-grid button:hover,
.demo-allergen-grid button:focus-visible,
.menu-filter-list button:hover,
.menu-filter-list button:focus-visible {
  transform: translateY(-2px);
}

.demo-allergen-grid button.is-active,
.menu-filter-list button.is-active {
  background: var(--ink);
  color: white;
}

.demo-primary {
  width: 100%;
  min-height: 52px;
  margin-top: 22px;
  border: 0;
  border-radius: 13px;
  background: var(--ink);
  color: white;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease;
}

.demo-primary:not(:disabled):hover,
.demo-primary:not(:disabled):focus-visible {
  transform: translateY(-2px);
}

.demo-primary:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.guest-demo-signal {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 607px;
  padding: 40px;
  overflow: hidden;
  background: #dfe9e6;
}

.guest-demo-signal::before,
.guest-demo-signal::after {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(12, 13, 12, 0.12);
  border-radius: 50%;
}

.guest-demo-signal::after {
  width: 380px;
  height: 380px;
}

.signal-preview-card {
  position: relative;
  z-index: 2;
  width: min(82%, 440px);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 45px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 27px 65px rgba(30, 49, 46, 0.13);
  backdrop-filter: blur(16px);
}

.signal-preview-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.signal-preview-status i,
.restaurant-demo-head > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(255, 112, 94, 0.14);
}

.signal-preview-card > p {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: clamp(31px, 3vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1;
}

.signal-preview-card > small {
  color: rgba(12, 13, 12, 0.5);
  font-size: 10px;
}

.signal-preview-route {
  position: absolute;
  z-index: 1;
  right: 10%;
  bottom: 38px;
  left: 10%;
  display: flex;
  justify-content: space-between;
  color: rgba(12, 13, 12, 0.48);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-preview-route span {
  position: absolute;
  top: 50%;
  right: 36px;
  left: 36px;
  height: 1px;
  background: rgba(12, 13, 12, 0.15);
}

.demo-confirmation {
  position: absolute;
  z-index: 5;
  right: 28px;
  top: 28px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 17px;
  border-radius: 15px;
  background: var(--ink);
  color: white;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.demo-confirmation.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.demo-confirmation > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
}

.demo-confirmation p {
  margin: 0;
  font-size: 9px;
  line-height: 1.45;
}

.demo-panel[data-demo-panel="menu"] {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
}

.menu-demo-controls {
  padding: clamp(45px, 6vw, 88px);
  border-right: 1px solid var(--line);
}

.menu-filter-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-demo-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: clamp(35px, 6vw, 80px);
  background: #eeeae1;
}

.menu-demo-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 120px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.75);
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}

.menu-demo-card > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 9px;
}

.menu-demo-card h4 {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.menu-demo-card p {
  margin: 0;
  color: rgba(12, 13, 12, 0.48);
  font-size: 10px;
}

.menu-demo-card > b {
  font-size: 11px;
}

.menu-demo-card.has-conflict {
  border-color: #e8ae43;
  background: #fffaf0;
}

.menu-demo-card.has-conflict p {
  color: #9e6813;
}

.menu-demo-card.is-clear {
  border-color: #46b775;
  background: #f6fff9;
}

.menu-demo-card.is-clear p {
  color: #207848;
}

/* Restaurant demo views */

.restaurant-demo-panel {
  padding: clamp(38px, 5vw, 72px);
}

.restaurant-demo-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 44px;
}

.restaurant-demo-head > span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.expo-demo-layout,
.inbox-demo-layout {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 0.32fr);
  gap: 24px;
}

.expo-table-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

.expo-table-card {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--line-light);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.045);
  color: white;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.expo-table-card:hover,
.expo-table-card:focus-visible,
.expo-table-card.is-active {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-3px);
}

.expo-table-card.has-alert {
  border-color: rgba(255, 112, 94, 0.5);
}

.expo-table-card.has-alert.is-active {
  background: var(--coral);
  color: var(--ink);
}

.expo-table-card span {
  font-family: var(--serif);
  font-size: 38px;
}

.expo-table-card strong {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.expo-detail,
.inbox-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 31px;
  border-radius: 18px;
  background: var(--acid);
  color: var(--ink);
}

.expo-detail > p,
.inbox-detail > p {
  margin: 0 0 23px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.48;
}

.expo-detail h4,
.inbox-detail h4 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 65px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.expo-detail > span,
.inbox-detail > strong {
  font-size: 13px;
  line-height: 1.45;
}

.expo-detail > small,
.inbox-detail > small {
  margin-top: auto;
  padding-top: 40px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.48;
}

.inbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inbox-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 95px;
  padding: 16px 20px;
  border: 1px solid var(--line-light);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.04);
  color: white;
  text-align: left;
  cursor: pointer;
}

.inbox-row.is-active,
.inbox-row:hover,
.inbox-row:focus-visible {
  border-color: var(--acid);
  background: rgba(216, 255, 69, 0.07);
}

.inbox-row > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--serif);
  font-size: 22px;
}

.inbox-row div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.inbox-row strong {
  font-size: 12px;
}

.inbox-row small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}

.inbox-row > i {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.inbox-detail > span {
  margin-top: 14px;
  font-size: 10px;
  opacity: 0.58;
}

.training-demo {
  min-height: 460px;
  display: grid;
  grid-template-columns: 0.75fr 1fr 0.55fr;
  gap: 48px;
  align-items: center;
}

.training-demo > div:first-child > p:last-child {
  max-width: 380px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.6;
}

.training-options {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.training-options button {
  min-height: 76px;
  padding: 18px 22px;
  border: 1px solid var(--line-light);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.04);
  color: white;
  font-size: 11px;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.training-options button:hover,
.training-options button:focus-visible,
.training-options button.is-selected {
  border-color: var(--acid);
  background: rgba(216, 255, 69, 0.08);
  transform: translateX(5px);
}

.training-result {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 27px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.training-result > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
}

.training-result p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  line-height: 1.55;
}

.training-result.is-correct {
  background: var(--acid);
  color: var(--ink);
}

.training-result.is-correct p {
  color: rgba(12, 13, 12, 0.6);
}

.training-result.is-correct > span {
  border-color: rgba(12, 13, 12, 0.2);
}

.training-result.is-wrong {
  background: var(--coral);
  color: var(--ink);
}

.training-result.is-wrong p {
  color: rgba(12, 13, 12, 0.62);
}

/* High-fidelity app theater */

.demo-window--app {
  min-height: 960px;
  background: #d9ddd9;
}

.demo-window--app .demo-window-bar {
  background: rgba(250, 249, 245, 0.94);
}

.demo-panel.app-demo-panel[data-demo-panel="checkin"],
.demo-panel.app-demo-panel[data-demo-panel="menu"] {
  min-height: 885px;
  display: grid;
  grid-template-columns: minmax(500px, 1.15fr) minmax(320px, 0.65fr);
  background:
    radial-gradient(circle at 28% 42%, rgba(255, 255, 255, 0.92), transparent 36%),
    #cfd5d0;
}

.phone-demo-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 46px 30px 18px;
  overflow: hidden;
}

.phone-demo-stage::before,
.phone-demo-stage::after {
  content: "";
  position: absolute;
  width: 670px;
  height: 670px;
  border: 1px solid rgba(12, 13, 12, 0.1);
  border-radius: 50%;
}

.phone-demo-stage::after {
  width: 510px;
  height: 510px;
}

.demo-phone-frame {
  position: relative;
  z-index: 2;
  width: min(420px, 90%);
  height: 820px;
  padding: 13px;
  border: 2px solid #444744;
  border-radius: 58px;
  background: #080908;
  box-shadow: 0 40px 80px rgba(19, 27, 21, 0.32);
}

.demo-phone-camera {
  position: absolute;
  z-index: 9;
  top: 20px;
  left: 50%;
  width: 126px;
  height: 34px;
  border-radius: 999px;
  background: #050505;
  transform: translateX(-50%);
  box-shadow: inset 0 0 0 1px #1d1f1d;
}

.demo-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 45px;
  background: #f7f7f5;
  color: var(--ink);
}

.demo-phone-status {
  position: absolute;
  z-index: 8;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(247, 247, 245, 0.93);
  font-size: 10px;
  backdrop-filter: blur(12px);
}

.demo-phone-status span {
  font-size: 7px;
  letter-spacing: 0.05em;
}

.actual-form-demo,
.actual-menu-demo {
  height: 100%;
  padding: 68px 15px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.actual-form-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 5px 18px;
}

.actual-form-head img {
  width: 26px;
  height: 26px;
}

.actual-form-head > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.actual-form-head span {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.actual-form-head small {
  font-size: 8px;
  color: rgba(12, 13, 12, 0.52);
}

.actual-form-card {
  padding: 22px 16px;
  border: 1px solid rgba(12, 13, 12, 0.11);
  border-radius: 19px;
  background: white;
  box-shadow: 0 10px 28px rgba(12, 13, 12, 0.05);
}

.actual-form-card > h3 {
  margin: 0 0 20px;
  font-size: 18px;
  letter-spacing: -0.035em;
}

.actual-field {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin: 20px 0;
  font-size: 10px;
  font-weight: 700;
}

.actual-field small {
  font-weight: 500;
  opacity: 0.46;
}

.actual-field input,
.actual-field textarea {
  width: 100%;
  margin-top: 5px;
  padding: 11px;
  border: 1px solid rgba(12, 13, 12, 0.14);
  border-radius: 10px;
  outline: none;
  background: #fbfbfa;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.actual-field textarea {
  min-height: 80px;
  resize: vertical;
}

.actual-field input:focus,
.actual-field textarea:focus {
  border-color: var(--ink);
}

.actual-privacy {
  margin: 0 0 20px;
  padding: 10px;
  border-radius: 9px;
  background: #f2f3f1;
  color: rgba(12, 13, 12, 0.56);
  font-size: 8px;
  line-height: 1.45;
}

.actual-question {
  margin: 21px 0;
}

.actual-question > strong,
.actual-label {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
}

.actual-segment,
.actual-subject-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.actual-segment button,
.actual-subject-grid button,
.actual-allergen-grid button {
  min-height: 41px;
  padding: 7px;
  border: 1px solid rgba(12, 13, 12, 0.14);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  font-size: 9px;
  font-weight: 650;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.actual-segment button:hover,
.actual-subject-grid button:hover,
.actual-allergen-grid button:hover {
  transform: translateY(-1px);
}

.actual-segment button.is-active,
.actual-subject-grid button.is-active,
.actual-allergen-grid button.is-active {
  background: var(--ink);
  color: white;
}

.actual-allergen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 3px;
}

.actual-subject-grid button:last-child {
  grid-column: 1 / -1;
}

.actual-checkline {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 22px 0;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.45;
}

.actual-checkline input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--ink);
}

.actual-submit {
  width: 100%;
  min-height: 49px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease;
}

.actual-submit:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.actual-submit:not(:disabled):hover {
  transform: translateY(-2px);
}

.phone-success {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 35px;
  background: rgba(247, 247, 245, 0.97);
  text-align: center;
  animation: demo-panel-in 280ms ease both;
}

.phone-success[hidden] {
  display: none;
}

.phone-success > span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--acid);
  font-size: 25px;
}

.phone-success h3 {
  margin: 24px 0 10px;
  font-family: var(--serif);
  font-size: 43px;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.phone-success p {
  max-width: 245px;
  margin: 0;
  color: rgba(12, 13, 12, 0.55);
  font-size: 10px;
  line-height: 1.5;
}

.phone-success button {
  margin-top: 24px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

.team-receipt-preview,
.menu-demo-guide {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 48px 48px 48px 0;
  padding: clamp(31px, 4vw, 60px);
  border-radius: 26px;
  background: #101210;
  color: white;
  box-shadow: 0 30px 70px rgba(17, 24, 18, 0.28);
}

.team-receipt-preview.has-received {
  box-shadow: 0 0 0 1px var(--acid), 0 30px 70px rgba(17, 24, 18, 0.28);
}

.team-receipt-preview.has-received .team-receipt-table > span {
  border-color: var(--coral);
  background: var(--coral);
  color: var(--ink);
}

.team-receipt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-receipt-top > span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.team-receipt-top i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(255, 112, 94, 0.13);
}

.team-receipt-top small {
  opacity: 0.4;
}

.team-receipt-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  align-items: start;
  margin: auto 0;
  padding: 26px 0;
}

.team-receipt-table > span {
  justify-self: start;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-receipt-table div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.team-receipt-table small {
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.42;
}

.team-receipt-table strong {
  font-family: var(--serif);
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.team-receipt-table p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
}

.team-receipt-route {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-receipt-route i {
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.team-receipt-route .is-done {
  color: var(--acid);
}

.team-receipt-note {
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.team-receipt-note b {
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-receipt-note p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  line-height: 1.5;
}

.phone-demo-stage--menu {
  background: #bfc6c0;
}

.demo-phone-frame--menu {
  width: min(450px, 92%);
}

.actual-menu-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 13px;
  padding: 14px;
  border: 1px solid rgba(12, 13, 12, 0.14);
  border-radius: 13px;
  background: white;
}

.actual-menu-head > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.actual-menu-head small {
  color: rgba(12, 13, 12, 0.52);
  font-size: 8px;
  font-weight: 650;
}

.actual-menu-head strong {
  font-size: 12px;
}

.actual-menu-head > button {
  width: 35px;
  height: 35px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  font-weight: 800;
}

.actual-menu-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(12, 13, 12, 0.12);
  border-radius: 13px;
  background: white;
}

.actual-menu-filter-grid button {
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid rgba(12, 13, 12, 0.14);
  border-radius: 9px;
  background: white;
  color: var(--ink);
  font-size: 8px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.actual-menu-filter-grid button.is-active {
  background: var(--ink);
  color: white;
}

.actual-hidden-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 17px 0;
  font-size: 9px;
  font-weight: 700;
}

.actual-hidden-toggle > button {
  position: relative;
  width: 44px;
  height: 25px;
  border: 0;
  border-radius: 999px;
  background: #c8cac8;
  cursor: pointer;
}

.actual-hidden-toggle > button i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: white;
  transition: transform 180ms ease;
}

.actual-hidden-toggle > button[aria-checked="true"] {
  background: var(--ink);
}

.actual-hidden-toggle > button[aria-checked="true"] i {
  transform: translateX(19px);
}

.actual-menu-demo > h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.actual-menu-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
}

.actual-menu-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(12, 13, 12, 0.12);
  border-radius: 13px;
  background: white;
  transition: border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.actual-dish {
  display: grid;
  place-items: center;
  min-height: 84px;
  border-radius: 10px;
  color: white;
  font-family: var(--serif);
  font-size: 24px;
  background: linear-gradient(145deg, #8f6643, #d8b77f);
}

.actual-dish--photo {
  width: 100%;
  height: 84px;
  object-fit: cover;
  background: #d8d5cd;
}

.actual-dish--two {
  background: linear-gradient(145deg, #55322d, #d95e64);
}

.actual-dish--three {
  background: linear-gradient(145deg, #3d6d42, #b2cd7c);
}

.actual-menu-card header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.actual-menu-card h4 {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
}

.actual-menu-card header b {
  font-size: 9px;
}

.actual-menu-card small {
  display: block;
  margin: 7px 0;
  color: rgba(12, 13, 12, 0.5);
  font-size: 8px;
  line-height: 1.35;
}

.actual-menu-description {
  margin: 5px 0 0;
  color: rgba(12, 13, 12, 0.68);
  font-size: 8px;
  line-height: 1.35;
}

.actual-menu-card [data-menu-status] {
  display: block;
  font-size: 9px;
}

.actual-menu-card [data-menu-modification] {
  margin: 5px 0 0;
  color: rgba(12, 13, 12, 0.54);
  font-size: 8px;
}

.actual-menu-card.is-clear {
  border-color: #3dbb72;
}

.actual-menu-card.is-clear [data-menu-status] {
  color: #23844e;
}

.actual-menu-card.is-modifiable,
.actual-menu-card.has-conflict {
  border-color: #e5ae2f;
}

.actual-menu-card.is-modifiable [data-menu-status],
.actual-menu-card.has-conflict [data-menu-status] {
  color: #9e6813;
}

.actual-menu-card.is-hidden-by-filter {
  border-color: #c3c5c2;
  opacity: 0.32;
  transform: scale(0.98);
}

.actual-menu-card.is-hidden-by-filter.is-force-visible {
  display: grid;
}

.actual-menu-card.is-hidden-by-filter:not(.is-force-visible) {
  display: none;
}

.menu-demo-guide h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 4.4vw, 67px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.menu-demo-guide > p:not(.demo-step) {
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  line-height: 1.65;
}

.menu-reassurance-bubble {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 0 0 4px;
  padding: 17px 18px;
  border-radius: 18px 18px 18px 5px;
  background: #f5f1e8;
  color: var(--ink);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

.menu-reassurance-bubble::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -8px;
  border-width: 8px 9px 0 0;
  border-style: solid;
  border-color: #f5f1e8 transparent transparent transparent;
}

.menu-reassurance-bubble > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--acid);
  font-size: 15px;
}

.menu-reassurance-bubble p {
  margin: 0;
  font-size: 10px;
  line-height: 1.45;
}

.menu-reassurance-bubble strong {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
}

.menu-guide-key {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.menu-guide-key span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
}

.menu-guide-key .is-clear { border-color: #3dbb72; color: #72dc9c; }
.menu-guide-key .is-modifiable { border-color: #e5ae2f; color: #f5cf77; }
.menu-guide-key .is-hidden { color: rgba(255, 255, 255, 0.4); }

.menu-live-summary {
  display: grid;
  gap: 10px;
  margin: 28px 0 18px;
}

.menu-live-summary > div {
  display: grid;
  gap: 7px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.menu-live-summary small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-live-summary strong {
  font-size: 13px;
  line-height: 1.35;
}

.menu-result-breakdown {
  display: grid;
  gap: 9px;
  margin: 18px 0 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-result-breakdown > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 9px;
  align-items: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
}

.menu-result-breakdown i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.menu-result-breakdown i.is-clear { background: #3dbb72; }
.menu-result-breakdown i.is-modifiable { background: #e5ae2f; }
.menu-result-breakdown i.is-hidden { background: rgba(255, 255, 255, 0.32); }

.menu-result-breakdown strong {
  color: white;
  font-size: 12px;
}

/* Restaurant tablet demo */

.demo-window--tablet {
  min-height: 990px;
  background: #090a09;
}

.demo-window--tablet .demo-window-bar {
  background: #131513;
}

.tablet-demo-panel {
  min-height: 915px;
  display: grid;
  place-items: center;
  padding: 40px !important;
  background:
    radial-gradient(circle at 50% 35%, rgba(216, 255, 69, 0.08), transparent 36%),
    #090a09;
}

.demo-tablet-frame {
  position: relative;
  width: min(1160px, 100%);
  height: 790px;
  padding: 14px;
  border: 2px solid #454845;
  border-radius: 48px;
  background: #030403;
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.52);
}

.demo-tablet-camera {
  position: absolute;
  z-index: 8;
  top: 6px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1b1d1b;
  transform: translateX(-50%);
}

.demo-tablet-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 35px;
  background: #f8f8f6;
  color: var(--ink);
}

.tablet-status {
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  font-size: 8px;
  font-weight: 700;
}

.tablet-app-header {
  height: 60px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 23px;
  border-bottom: 1px solid rgba(12, 13, 12, 0.1);
}

.tablet-app-header > button,
.tablet-app-header aside button {
  width: 35px;
  height: 35px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-size: 12px;
  cursor: pointer;
}

.tablet-app-header > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 750;
}

.tablet-app-header img {
  width: 24px;
  height: 24px;
}

.tablet-app-header aside {
  display: flex;
  justify-self: end;
  gap: 6px;
}

.tablet-app-content {
  height: calc(100% - 164px);
  padding: 28px 34px;
  overflow-y: auto;
}

.tablet-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.tablet-title-row > h3 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 47px);
  letter-spacing: -0.045em;
}

.tablet-title-row > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.48;
}

.tablet-title-row > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(255, 112, 94, 0.13);
}

.demo-tablet-screen .restaurant-demo-head {
  margin-bottom: 18px;
}

.demo-tablet-screen .restaurant-demo-head h4 {
  margin: 0;
  font-size: 16px;
}

.demo-tablet-screen .restaurant-demo-head > span {
  color: rgba(12, 13, 12, 0.45);
}

.expo-controls {
  display: flex;
  gap: 7px;
  margin-bottom: 13px;
}

.expo-controls button {
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: 8px;
  font-weight: 700;
  cursor: pointer;
}

.expo-controls button.is-active {
  background: var(--ink);
  color: white;
}

.demo-tablet-screen .expo-demo-layout {
  grid-template-columns: 1fr minmax(200px, 0.27fr);
  gap: 14px;
}

.demo-tablet-screen .expo-table-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.demo-tablet-screen .expo-table-card {
  min-height: 115px;
  padding: 14px;
  border: 1px solid rgba(12, 13, 12, 0.18);
  border-left: 5px solid #979a96;
  border-radius: 11px;
  background: white;
  color: var(--ink);
  transform: none;
}

.demo-tablet-screen .expo-table-card[hidden] {
  display: none !important;
}

.demo-tablet-screen .expo-table-card.has-alert {
  border-color: rgba(255, 112, 94, 0.5);
  border-left-color: var(--coral);
  background: #fffafa;
}

.demo-tablet-screen .expo-table-card.is-active {
  background: #fff0ed;
}

.demo-tablet-screen .expo-table-card span {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 750;
}

.demo-tablet-screen .expo-table-card strong {
  font-size: 9px;
  line-height: 1.3;
  text-transform: none;
}

.demo-tablet-screen .expo-detail,
.demo-tablet-screen .inbox-detail {
  padding: 23px;
  border: 1px solid rgba(12, 13, 12, 0.12);
  background: var(--acid);
}

.demo-tablet-screen .expo-detail h4,
.demo-tablet-screen .inbox-detail h4 {
  font-size: clamp(32px, 3vw, 46px);
}

.tablet-bottom-nav {
  position: absolute;
  right: 20px;
  bottom: 14px;
  left: 20px;
  height: 58px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  padding-top: 10px;
  border-top: 1px solid rgba(12, 13, 12, 0.12);
  background: rgba(248, 248, 246, 0.95);
  backdrop-filter: blur(12px);
}

.tablet-bottom-nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
}

.tablet-bottom-nav button span {
  font-size: 8px;
  font-weight: 700;
}

.tablet-bottom-nav button.is-active {
  background: var(--ink);
  color: white;
}

.demo-tablet-screen .inbox-demo-layout {
  grid-template-columns: 1fr minmax(230px, 0.34fr);
  gap: 15px;
}

.demo-tablet-screen .inbox-row {
  min-height: 83px;
  border-color: rgba(12, 13, 12, 0.13);
  background: white;
  color: var(--ink);
}

.demo-tablet-screen .inbox-row.is-active,
.demo-tablet-screen .inbox-row:hover {
  border-color: var(--coral);
  background: #fff7f5;
}

.demo-tablet-screen .inbox-row > span {
  background: #f0f1ef;
}

.demo-tablet-screen .inbox-row small {
  color: rgba(12, 13, 12, 0.48);
}

.tablet-training-content {
  display: flex;
  flex-direction: column;
}

.demo-tablet-screen .training-demo {
  flex: 1;
  grid-template-columns: 0.72fr 1fr 0.55fr;
  gap: 26px;
  min-height: 0;
}

.demo-tablet-screen .training-demo h3 {
  font-size: clamp(34px, 4.3vw, 64px);
}

.demo-tablet-screen .training-demo > div:first-child > p:last-child {
  color: rgba(12, 13, 12, 0.54);
}

.demo-tablet-screen .training-options button {
  min-height: 66px;
  border-color: rgba(12, 13, 12, 0.14);
  background: white;
  color: var(--ink);
}

.demo-tablet-screen .training-options button:hover,
.demo-tablet-screen .training-options button.is-selected {
  border-color: var(--ink);
  background: #f1f2ef;
}

.demo-tablet-screen .training-result {
  min-height: 215px;
  background: #eceeea;
  color: var(--ink);
}

.demo-tablet-screen .training-result p {
  color: rgba(12, 13, 12, 0.55);
}

.demo-tablet-screen .training-result > span {
  border-color: rgba(12, 13, 12, 0.16);
}

/* Closing and footer */

.closing-section {
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 28px;
  text-align: center;
}

.closing-section--guest {
  background: var(--paper);
}

.closing-section--restaurant {
  background: var(--ink);
  color: white;
}

.closing-section h2 {
  margin: 25px 0 26px;
  font-family: var(--serif);
  font-size: clamp(64px, 9.5vw, 155px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.78;
}

.closing-section > p:not(.eyebrow) {
  max-width: 510px;
  margin: 0 0 31px;
  color: rgba(12, 13, 12, 0.6);
  font-size: 15px;
  line-height: 1.65;
}

.closing-section--restaurant > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.6);
}

.detail-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  min-height: 118px;
  padding: 30px max(6vw, 48px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.detail-footer--dark {
  border-top-color: var(--line-light);
  background: var(--ink);
  color: white;
}

.detail-footer p {
  margin: 0;
  color: rgba(12, 13, 12, 0.5);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-footer--dark p {
  color: rgba(255, 255, 255, 0.48);
}

.detail-footer p:last-child {
  justify-self: end;
}

.preview-toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  max-width: calc(100vw - 48px);
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(12, 13, 12, 0.92);
  color: white;
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
  backdrop-filter: blur(16px);
}

.preview-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-on-scroll] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 850ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal-on-scroll].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .audience-copy {
    width: 39vw;
  }

  .audience-copy--guest { left: 5vw; }
  .audience-copy--restaurant { right: 5vw; }

  .gateway-device {
    top: 22vh;
    width: 29vw;
  }

  .gateway-product {
    top: 19vh;
    width: min(34vw, 430px);
    height: 63vh;
  }

  .gateway-device--guest { right: 3vw; }
  .gateway-device--restaurant { left: 3vw; }

  .floating-card--guest { right: -17%; }
  .floating-card--top { left: -18%; }
  .floating-card--bottom { right: -20%; }

  .hero-editorial {
    width: min(44vw, 650px);
    height: min(67vh, 690px);
  }

  .hero-editorial--guest {
    width: min(41vw, 560px);
  }

  .hero-expo-overlay {
    left: -4%;
    width: 78%;
  }

  .signal-section,
  .operations-section {
    grid-template-columns: 1fr;
  }

  .signal-map,
  .operations-loop {
    width: 100%;
  }

  .photo-feature {
    gap: 5vw;
  }

  .photo-feature-main {
    width: min(100%, 590px);
  }

  .photo-feature-main--landscape {
    width: 55vw;
  }

  .training-demo {
    grid-template-columns: 0.75fr 1fr;
  }

  .training-result {
    grid-column: 1 / -1;
    min-height: 130px;
    flex-direction: row;
    align-items: center;
  }

  .demo-panel.app-demo-panel[data-demo-panel="checkin"],
  .demo-panel.app-demo-panel[data-demo-panel="menu"] {
    grid-template-columns: minmax(440px, 1fr) minmax(280px, 0.6fr);
  }

  .team-receipt-preview,
  .menu-demo-guide {
    margin: 36px 28px 36px 0;
    padding: 28px;
  }

  .demo-tablet-screen .training-demo {
    grid-template-columns: 0.7fr 1fr;
  }

  .demo-tablet-screen .training-result {
    grid-column: 1 / -1;
    min-height: 110px;
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 0 20px;
  }

  .site-header .brand span {
    display: none;
  }

  .site-header .audience-nav {
    grid-column: 2;
  }

  .site-header .quiet-link {
    display: none;
  }

  .page-gateway {
    height: auto;
    min-height: 100svh;
    overflow: auto;
  }

  .audience-gateway {
    min-height: 100svh;
    display: grid;
    grid-template-rows: 1fr 1fr;
    background: var(--paper);
  }

  .audience-layer {
    position: relative;
    inset: auto;
    min-height: 50svh;
  }

  .audience-layer--restaurant {
    clip-path: none !important;
  }

  .audience-layer::after,
  .gateway-device,
  .gateway-product,
  .vertical-label,
  .reveal-divider,
  .reveal-control,
  .gateway-intro,
  .motion-prompt {
    display: none;
  }

  .audience-copy {
    top: auto;
    bottom: 31px;
    left: 24px;
    right: 24px;
    width: auto;
    transform: none;
  }

  .audience-copy--restaurant {
    top: 28px;
    bottom: auto;
  }

  .audience-copy h1,
  .audience-copy h2 {
    margin: 10px 0 12px;
    font-size: clamp(39px, 12vw, 61px);
  }

  .audience-summary {
    display: none;
  }

  .text-link {
    font-size: 10px;
  }

  .audience-actions {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .audience-hit span {
    display: none;
  }

  .detail-hero {
    min-height: 950px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .detail-hero-copy {
    padding: 70px 24px 35px;
  }

  .detail-hero-copy h1 {
    margin: 19px 0 22px;
    font-size: clamp(66px, 22vw, 100px);
  }

  .hero-deck {
    font-size: 15px;
  }

  .hero-object {
    align-self: end;
    width: min(66vw, 390px);
    margin-bottom: -4vh;
  }

  .hero-editorial {
    align-self: end;
    justify-self: center;
    width: min(88vw, 620px);
    height: 520px;
    margin-bottom: -24px;
  }

  .hero-editorial--guest {
    width: min(82vw, 520px);
    height: 610px;
  }

  .hero-live-card--guest {
    right: -3%;
  }

  .hero-live-card--restaurant {
    right: -2%;
  }

  .hero-scan-card {
    left: -2%;
  }

  .hero-expo-overlay {
    left: -3%;
    bottom: 7%;
    width: 86%;
  }

  .floating-card--guest {
    right: -18%;
    width: 190px;
  }

  .floating-card--restaurant {
    width: 170px;
  }

  .floating-card--top { left: -14%; }
  .floating-card--bottom { right: -17%; }

  .hero-index {
    display: none;
  }

  .story-section,
  .signal-section,
  .operations-section {
    padding: 85px 24px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-heading h2,
  .signal-copy h2,
  .operations-copy h2 {
    font-size: clamp(54px, 17vw, 82px);
  }

  .story-interface {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 60px;
  }

  .story-item {
    min-height: 68px;
  }

  .story-response {
    min-height: 420px;
    padding: 34px;
  }

  .story-title-row h3 {
    font-size: 58px;
  }

  .story-try-qr {
    position: relative !important;
    top: auto;
    right: auto;
    width: fit-content;
    margin-top: 25px;
  }

  .signal-map {
    grid-template-columns: repeat(2, 1fr);
    min-height: auto;
    margin-top: 30px;
  }

  .signal-line {
    display: none;
  }

  .operations-loop {
    width: calc(100vw - 48px);
    margin-top: 30px;
    transform: scale(0.92);
  }

  .loop-core {
    width: 100px;
    height: 100px;
  }

  .loop-point {
    width: 86px;
    height: 86px;
  }

  .proof-strip {
    grid-template-columns: 1fr 1fr;
  }

  .proof-strip > div {
    min-height: 170px;
    border-bottom: 1px solid rgba(12, 13, 12, 0.2);
  }

  .proof-strip p {
    margin-top: 48px;
  }

  .photo-feature,
  .photo-feature--restaurant {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 70px;
    padding: 90px 24px;
  }

  .photo-feature-main,
  .photo-feature-main--landscape {
    width: min(100%, 620px);
  }

  .photo-feature-main--landscape {
    justify-self: stretch;
  }

  .photo-feature-copy > h2 {
    font-size: clamp(63px, 20vw, 98px);
  }

  .photo-feature-secondary,
  .photo-feature-secondary--ticket {
    width: min(100%, 520px);
    margin: 55px 0 0 !important;
  }

  .photo-feature-secondary--ticket {
    width: min(68%, 300px);
  }

  .product-preview {
    min-height: auto;
    padding: 90px 16px;
  }

  .product-preview-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 8px;
  }

  .product-preview-heading h2 {
    font-size: clamp(60px, 18vw, 90px);
  }

  .product-preview-heading > p {
    max-width: 520px;
  }

  .demo-window {
    min-height: 0;
    border-radius: 20px;
  }

  .demo-window--app,
  .demo-window--tablet {
    min-height: 0;
  }

  .demo-window-bar {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .demo-dots,
  .demo-label {
    display: none;
  }

  .demo-tabs {
    justify-self: center;
    max-width: 100%;
  }

  .demo-tab {
    padding: 0 11px;
    font-size: 9px;
  }

  .demo-panel {
    min-height: 0;
  }

  .demo-panel[data-demo-panel="checkin"],
  .demo-panel[data-demo-panel="menu"] {
    grid-template-columns: 1fr;
  }

  .demo-panel.app-demo-panel[data-demo-panel="checkin"],
  .demo-panel.app-demo-panel[data-demo-panel="menu"] {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .phone-demo-stage {
    min-height: 850px;
    padding: 30px 16px;
  }

  .demo-phone-frame,
  .demo-phone-frame--menu {
    width: min(420px, 100%);
    height: 790px;
  }

  .team-receipt-preview,
  .menu-demo-guide {
    min-height: 470px;
    margin: 0;
    border-radius: 0;
  }

  .guest-demo-copy,
  .menu-demo-controls {
    padding: 45px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .guest-demo-signal {
    min-height: 500px;
    padding: 24px;
  }

  .menu-demo-list {
    padding: 28px 18px;
  }

  .restaurant-demo-panel {
    padding: 42px 18px;
  }

  .tablet-demo-panel {
    padding: 18px !important;
  }

  .demo-tablet-frame {
    width: 100%;
    height: 760px;
    padding: 8px;
    border-radius: 32px;
  }

  .demo-tablet-screen {
    border-radius: 24px;
  }

  .tablet-app-content {
    padding: 22px 18px;
  }

  .demo-tablet-screen .expo-demo-layout,
  .demo-tablet-screen .inbox-demo-layout {
    grid-template-columns: 1fr;
  }

  .demo-tablet-screen .expo-table-grid {
    grid-template-columns: 1fr 1fr;
  }

  .demo-tablet-screen .expo-detail,
  .demo-tablet-screen .inbox-detail {
    min-height: 220px;
  }

  .demo-tablet-screen .training-demo {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .demo-tablet-screen .training-result {
    grid-column: auto;
    min-height: 130px;
  }

  .restaurant-demo-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .expo-demo-layout,
  .inbox-demo-layout {
    grid-template-columns: 1fr;
  }

  .expo-table-grid {
    grid-template-columns: 1fr 1fr;
  }

  .expo-detail,
  .inbox-detail {
    min-height: 260px;
  }

  .training-demo {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .training-result {
    grid-column: auto;
    min-height: 140px;
  }

  .closing-section {
    min-height: 75vh;
  }

  .closing-section h2 {
    font-size: clamp(60px, 20vw, 92px);
  }

  .detail-footer {
    grid-template-columns: 1fr auto;
    padding: 28px 24px;
  }

  .detail-footer > p:first-of-type {
    display: none;
  }
}

@media (max-width: 480px) {
  .audience-nav a {
    padding: 8px 10px;
    font-size: 10px;
  }

  .detail-hero {
    min-height: 860px;
  }

  .hero-object {
    width: 72vw;
  }

  .hero-editorial {
    width: 86vw;
    height: 430px;
  }

  .hero-editorial--guest {
    width: 84vw;
    height: 520px;
  }

  .hero-live-card {
    min-width: 160px;
    padding: 14px 15px;
  }

  .hero-live-card strong {
    font-size: 25px;
  }

  .hero-scan-card {
    grid-template-columns: 54px 1fr;
    min-width: 180px;
  }

  .hero-scan-card img {
    width: 54px;
    height: 54px;
  }

  .hero-scan-card strong {
    font-size: 18px;
  }

  .hero-expo-overlay {
    width: 91%;
    padding: 14px;
  }

  .hero-expo-overlay > div > span {
    min-height: 62px;
    padding: 7px;
    font-size: 18px;
  }

  .floating-card--guest {
    right: -11%;
    width: 166px;
  }

  .floating-card--guest p {
    font-size: 8px;
  }

  .floating-card--restaurant {
    width: 146px;
    padding: 12px;
  }

  .floating-card--top { left: -6%; }
  .floating-card--bottom { right: -8%; }

  .signal-map {
    gap: 10px;
  }

  .operations-loop {
    transform: scale(0.82);
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip > div {
    min-height: 140px;
    border-right: 0;
  }

  .proof-strip p {
    margin-top: 36px;
  }

  .photo-feature-main::before {
    display: none;
  }

  .photo-feature-main img {
    border-radius: 22px;
  }

  .demo-tabs {
    width: 100%;
  }

  .demo-tab {
    flex: 1;
    padding: 0 6px;
    white-space: nowrap;
  }

  .demo-allergen-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-try-qr {
    grid-template-columns: 54px auto;
    padding: 8px 13px 8px 8px;
  }

  .story-try-qr img {
    width: 54px;
    height: 54px;
  }

  .phone-demo-stage {
    min-height: 780px;
    padding: 22px 8px;
  }

  .demo-phone-frame,
  .demo-phone-frame--menu {
    height: 735px;
    padding: 9px;
    border-radius: 45px;
  }

  .demo-phone-screen {
    border-radius: 35px;
  }

  .demo-phone-camera {
    top: 15px;
    width: 104px;
    height: 29px;
  }

  .team-receipt-preview,
  .menu-demo-guide {
    min-height: 430px;
    padding: 30px 22px;
  }

  .guest-demo-signal {
    min-height: 430px;
  }

  .signal-preview-card {
    width: 100%;
    min-height: 210px;
    padding: 30px;
  }

  .demo-confirmation {
    right: 14px;
    top: 14px;
  }

  .menu-demo-card {
    grid-template-columns: auto 1fr;
  }

  .menu-demo-card > b {
    display: none;
  }

  .expo-table-card {
    min-height: 115px;
  }

  .tablet-demo-panel {
    padding: 8px !important;
  }

  .demo-tablet-frame {
    height: 790px;
    border-radius: 25px;
  }

  .tablet-app-header {
    grid-template-columns: 1fr 1fr;
    padding: 0 12px;
  }

  .tablet-app-header > div {
    display: none;
  }

  .tablet-app-header aside {
    grid-column: 2;
  }

  .tablet-status {
    padding: 0 14px;
  }

  .tablet-title-row {
    align-items: flex-start;
  }

  .tablet-title-row > span {
    font-size: 6px;
  }

  .demo-tablet-screen .expo-table-card {
    min-height: 96px;
    padding: 11px;
  }

  .tablet-bottom-nav {
    right: 10px;
    left: 10px;
  }

  .inbox-row {
    grid-template-columns: auto 1fr;
  }

  .inbox-row > i {
    display: none;
  }

  .preview-toast {
    right: 12px;
    bottom: 12px;
    left: 12px;
    text-align: center;
  }
}

/* Guest narrative: broken handoffs, shared signal, and real perspectives */

.problem-section {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(620px, 1.28fr);
  gap: clamp(55px, 8vw, 130px);
  align-items: center;
  padding: clamp(110px, 12vw, 180px) max(6vw, 48px);
  background: #f2ede4;
  color: var(--ink);
}

.problem-intro h2 {
  max-width: 670px;
  margin: 24px 0 28px;
  font-family: var(--serif);
  font-size: clamp(64px, 7.3vw, 116px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.82;
}

.problem-intro > p:not(.eyebrow) {
  max-width: 500px;
  margin: 0;
  color: rgba(12, 13, 12, 0.6);
  font-size: 16px;
  line-height: 1.65;
}

.problem-section--restaurant {
  background: #0d100e;
  color: white;
}

.problem-section--restaurant .problem-intro > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.6);
}

.problem-section--restaurant .old-way-start {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.problem-section--restaurant .old-way-start:hover,
.problem-section--restaurant .old-way-start:focus-visible {
  background: transparent;
  color: white;
}

.problem-section--restaurant .old-way-stage {
  border: 1px solid rgba(216, 255, 69, 0.13);
  background: #171b18;
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.38);
}

.problem-section--restaurant .problem-solution {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.problem-section--restaurant .problem-solution h3 {
  color: white;
}

.old-way-start {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 35px;
  padding: 0 23px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.old-way-start:hover,
.old-way-start:focus-visible {
  background: transparent;
  color: var(--ink);
  transform: translateY(-3px);
}

.old-way-start.is-running i {
  animation: old-way-arrow 700ms ease-in-out infinite;
}

@keyframes old-way-arrow {
  50% { transform: translateX(7px); }
}

.old-way-stage {
  position: relative;
  min-width: 0;
  padding: clamp(28px, 4vw, 54px);
  overflow: hidden;
  border-radius: 32px;
  background: #101110;
  color: white;
  box-shadow: 0 42px 100px rgba(47, 32, 16, 0.2);
}

.old-way-stage::before {
  content: "";
  position: absolute;
  top: -36%;
  right: -20%;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 112, 94, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 112, 94, 0.025), 0 0 0 120px rgba(255, 112, 94, 0.016);
}

.old-way-stage-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 27px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.old-way-stage-head small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-align: right;
}

.old-way-route {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  margin: 42px 0 36px;
}

.old-way-route > i {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  transform: scaleX(0.72);
}

.old-way-node {
  width: clamp(62px, 6vw, 86px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.35);
  transition: border-color 280ms ease, background 280ms ease, color 280ms ease, transform 280ms ease;
}

.old-way-node span {
  font-size: 7px;
  font-weight: 700;
  opacity: 0.6;
}

.old-way-node strong {
  max-width: calc(100% - 10px);
  font-family: var(--serif);
  font-size: clamp(13px, 1.2vw, 18px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.old-way-node.is-reached {
  border-color: white;
  background: white;
  color: var(--ink);
  transform: scale(1.06);
}

.old-way-node.is-at-risk {
  border-color: var(--coral);
  background: var(--coral);
}

.old-way-failures {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.old-way-failures article {
  min-height: 136px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
  opacity: 0.18;
  transform: translateY(8px);
  transition: opacity 520ms ease, transform 520ms ease, border-color 520ms ease, background 520ms ease;
}

.old-way-failures article.is-revealed {
  border-color: rgba(255, 112, 94, 0.46);
  background: rgba(255, 112, 94, 0.08);
  opacity: 1;
  transform: translateY(0);
}

.old-way-failures article > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--ink);
  font-size: 29px;
  font-weight: 700;
}

.old-way-failures small {
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.old-way-failures p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 13px;
  line-height: 1.52;
}

.problem-solution {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: clamp(25px, 5vw, 70px);
  padding-top: clamp(30px, 4vw, 55px);
  border-top: 1px solid rgba(12, 13, 12, 0.18);
}

.problem-solution h3 {
  margin: 13px 0 0;
  font-family: var(--serif);
  font-size: clamp(45px, 5vw, 78px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.86;
}

.solution-scan-card {
  min-width: min(540px, 46vw);
  width: min(540px, 46vw);
  padding: 15px;
  border: 1px solid rgba(12, 13, 12, 0.16);
  border-radius: 25px;
  background: #f3eadb;
  color: var(--ink);
  box-shadow: 0 30px 78px rgba(47, 32, 16, 0.2);
}

.solution-scan-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px 4px 14px;
  font-size: 14px;
  letter-spacing: -0.015em;
}

.solution-scan-brand img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.solution-scan-brand strong {
  font-weight: 800;
}

.solution-scan-visual {
  position: relative;
  width: 100%;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(12, 13, 12, 0.68);
  border-radius: 17px;
  background: #7d451e;
  cursor: pointer;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.solution-scan-visual:hover,
.solution-scan-visual:focus-visible {
  border-color: var(--acid);
  box-shadow: 0 26px 65px rgba(66, 45, 20, 0.28), 0 0 0 5px rgba(216, 255, 69, 0.18);
  transform: translateY(-3px);
}

.solution-scan-visual > img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.solution-scan-callout {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-width: 190px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 18px;
  align-items: center;
  padding: 13px 15px 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: rgba(12, 13, 12, 0.9);
  color: white;
  text-align: left;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.solution-scan-callout small {
  grid-column: 1;
  font-family: var(--sans);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.58;
}

.solution-scan-callout strong {
  grid-column: 1;
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 31px);
  font-weight: 400;
  line-height: 1;
}

.solution-scan-callout i {
  grid-column: 2;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 18px;
  font-style: normal;
  transition: transform 220ms ease;
}

.solution-scan-visual:hover .solution-scan-callout i,
.solution-scan-visual:focus-visible .solution-scan-callout i {
  transform: translate(3px, -3px);
}

.problem-section--restaurant .solution-scan-card {
  border-color: rgba(216, 255, 69, 0.3);
  background: #f3eadb;
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.3);
}

.problem-section--restaurant .solution-scan-callout {
  border-color: rgba(12, 13, 12, 0.18);
  background: rgba(216, 255, 69, 0.92);
  color: var(--ink);
}

.problem-section--restaurant .solution-scan-callout i {
  border-color: rgba(12, 13, 12, 0.28);
}

.demo-panel.app-demo-panel[data-demo-panel="checkin"] {
  grid-template-columns: minmax(330px, 0.72fr) minmax(430px, 1fr) minmax(300px, 0.66fr);
}

.new-way-guide {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 48px 0 48px 48px;
  padding: clamp(35px, 3.6vw, 54px);
  border-radius: 25px;
  background: #101210;
  color: white;
  box-shadow: 0 30px 70px rgba(17, 24, 18, 0.24);
}

.new-way-guide h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(43px, 4.1vw, 64px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.new-way-guide > p:not(.demo-step) {
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
  line-height: 1.62;
}

.new-way-route {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.new-way-route > i {
  width: 1px;
  height: 22px;
  margin-left: 27px;
  background: rgba(255, 255, 255, 0.16);
  transition: background 700ms ease;
}

.new-way-node {
  min-height: 64px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0 14px;
  align-items: center;
  color: rgba(255, 255, 255, 0.3);
  transition: color 700ms ease, transform 700ms ease;
}

.new-way-node > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  transition: border-color 700ms ease, background 700ms ease, color 700ms ease;
}

.new-way-node strong {
  align-self: end;
  font-size: 14px;
}

.new-way-node small {
  align-self: start;
  font-size: 9px;
  text-transform: uppercase;
}

.new-way-node.is-ready,
.new-way-guide.has-arrived .new-way-node {
  color: white;
  transform: translateX(4px);
}

.new-way-node.is-ready > span,
.new-way-guide.has-arrived .new-way-node > span {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.new-way-guide.has-arrived .new-way-route > i {
  background: var(--acid);
}

.new-way-guide.has-arrived .new-way-node:nth-of-type(2) { transition-delay: 650ms; }
.new-way-guide.has-arrived .new-way-node:nth-of-type(3) { transition-delay: 1300ms; }
.new-way-guide.has-arrived .new-way-node:nth-of-type(4) { transition-delay: 1950ms; }
.new-way-guide.has-arrived .new-way-node:nth-of-type(5) { transition-delay: 2600ms; }

.new-way-result {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.new-way-result > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.new-way-result p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  line-height: 1.5;
}

.new-way-result strong {
  color: white;
}

.new-way-guide.has-arrived .new-way-result {
  border-color: rgba(216, 255, 69, 0.42);
  background: rgba(216, 255, 69, 0.08);
}

.new-way-guide.has-arrived .new-way-result > span {
  background: var(--acid);
  color: var(--ink);
}

.why-matters-section--restaurant .eyebrow {
  color: var(--acid);
}

.why-matters-section {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(310px, 0.7fr) minmax(580px, 1.3fr);
  gap: clamp(60px, 9vw, 150px);
  align-items: center;
  padding: clamp(110px, 13vw, 190px) max(6vw, 48px);
  overflow: hidden;
  background: #111614;
  color: white;
}

.why-matters-copy h2 {
  max-width: 720px;
  margin: 23px 0 29px;
  font-family: var(--serif);
  font-size: clamp(60px, 7vw, 112px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.84;
}

.why-matters-copy > p:not(.eyebrow) {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.65;
}

.quote-stage {
  position: relative;
  height: 680px;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(35px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  background: #edf0eb;
  color: var(--ink);
  box-shadow: 0 45px 110px rgba(0, 0, 0, 0.35);
}

.quote-stage::before {
  content: "“";
  position: absolute;
  top: -85px;
  right: 20px;
  color: rgba(12, 13, 12, 0.055);
  font-family: var(--serif);
  font-size: 390px;
  line-height: 1;
}

.quote-stage-meta,
.quote-controls,
.quote-stage blockquote {
  position: relative;
  z-index: 1;
}

.quote-stage-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.quote-stage-meta small {
  color: rgba(12, 13, 12, 0.44);
  font-size: inherit;
}

.quote-stage blockquote {
  margin: clamp(45px, 7vh, 90px) 0;
  font-family: var(--serif);
  font-size: clamp(35px, 4vw, 61px);
  letter-spacing: -0.04em;
  line-height: 1.02;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 220ms ease, transform 220ms ease;
}

.quote-stage blockquote.is-changing {
  opacity: 0;
  transform: translateY(14px);
}

.quote-controls {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 24px;
  border-top: 1px solid rgba(12, 13, 12, 0.14);
}

.quote-controls > button:not(.quote-next) {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(12, 13, 12, 0.34);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: width 180ms ease, border-radius 180ms ease, background 180ms ease;
}

.quote-controls > button.is-active:not(.quote-next) {
  width: 32px;
  border-color: var(--ink);
  border-radius: 999px;
  background: var(--ink);
}

.quote-next {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-left: auto;
  padding: 8px 0;
  border: 0;
  background: transparent;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .problem-section,
  .why-matters-section {
    grid-template-columns: 1fr;
  }

  .problem-intro,
  .why-matters-copy {
    max-width: 780px;
  }

  .demo-panel.app-demo-panel[data-demo-panel="checkin"] {
    grid-template-columns: minmax(320px, 0.72fr) minmax(430px, 1fr);
  }

  .team-receipt-preview {
    grid-column: 1 / -1;
    min-height: 360px;
    margin: 0 36px 36px;
  }
}

@media (max-width: 780px) {
  .problem-section,
  .why-matters-section {
    gap: 55px;
    padding: 100px 24px;
  }

  .problem-intro h2,
  .why-matters-copy h2 {
    font-size: clamp(58px, 18vw, 84px);
  }

  .old-way-stage {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .old-way-stage-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .old-way-stage-head small {
    text-align: left;
  }

  .old-way-route {
    grid-template-columns: 1fr;
    justify-items: start;
    margin: 28px 0;
  }

  .old-way-route > i {
    width: 1px;
    height: 18px;
    margin-left: 33px;
    transform: none;
  }

  .old-way-node {
    width: 68px;
  }

  .old-way-failures {
    grid-template-columns: 1fr;
  }

  .problem-solution {
    align-items: stretch;
    flex-direction: column;
  }

  .solution-scan-card {
    min-width: 0;
    width: 100%;
  }

  .demo-panel.app-demo-panel[data-demo-panel="checkin"] {
    grid-template-columns: 1fr;
  }

  .new-way-guide {
    min-height: 650px;
    margin: 0;
    border-radius: 0;
  }

  .team-receipt-preview {
    grid-column: auto;
    margin: 0;
  }

  .quote-stage {
    height: 780px;
    min-height: 780px;
    padding: 32px 25px;
    border-radius: 23px;
  }

  .quote-stage blockquote {
    font-size: clamp(34px, 10vw, 50px);
  }
}

@media (max-width: 480px) {
  .problem-section,
  .why-matters-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .old-way-failures article {
    min-height: 124px;
  }

  .solution-scan-callout {
    right: 10px;
    bottom: 10px;
    min-width: 176px;
    padding: 11px 12px;
  }

  .solution-scan-callout i {
    width: 40px;
    height: 40px;
  }

  .quote-stage {
    height: 820px;
    min-height: 820px;
  }
}

@media (max-width: 980px) {
  .cinematic-message {
    width: min(850px, calc(100vw - 48px));
  }

  .cinematic-message h1 {
    font-size: clamp(58px, 9.4vw, 92px);
  }

  .cinematic-paths {
    right: 24px;
    left: 24px;
  }

  .cinematic-path {
    min-height: 92px;
  }

  .home-experience {
    grid-template-columns: minmax(250px, 0.68fr) minmax(360px, 1fr);
    gap: 48px;
    padding-right: 40px;
    padding-left: 40px;
  }

  .home-demo-phone {
    width: min(360px, 100%);
  }
}

@media (max-width: 780px) {
  .site-header--overlay {
    height: auto;
    min-height: var(--header-height);
    grid-template-columns: 1fr auto;
    row-gap: 8px;
    padding-top: 12px;
  }

  .cinematic-audience-switch {
    grid-column: 2;
    grid-row: 1;
  }

  .cinematic-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    justify-content: center;
    gap: 2px;
    padding: 3px;
  }

  .cinematic-nav a {
    padding: 8px 9px;
    font-size: 8px;
  }

  .cinematic-gateway {
    height: max(100svh, 900px);
    min-height: 900px;
  }

  .cinematic-scene {
    background-position: center;
  }

  .cinematic-scene--guest {
    background-position: 45% center;
  }

  .cinematic-scene--restaurant {
    background-position: 34% center;
  }

  .cinematic-message {
    top: 142px;
    left: 20px;
    width: calc(100vw - 40px);
    padding: 0;
  }

  .cinematic-message::before {
    inset: -36px -40px -38px -30px;
  }

  .cinematic-message h1 {
    margin: 15px 0 17px;
    font-size: clamp(52px, 15.5vw, 72px);
    line-height: 0.87;
  }

  .cinematic-copy {
    max-width: 430px;
    font-size: 14px;
  }

  .cinematic-primary {
    margin-top: 20px;
  }

  .cinematic-paths {
    right: 20px;
    bottom: 28px;
    left: 20px;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .cinematic-path {
    min-height: 86px;
    padding: 14px 18px;
    border-radius: 16px;
  }

  .cinematic-path-copy strong {
    font-size: clamp(25px, 7vw, 32px);
  }

  .cinematic-prompt {
    display: none;
  }

  .home-experience {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 62px;
    padding: 112px 24px 90px;
  }

  .home-phone-stage {
    order: 1;
  }

  .home-experience-copy {
    order: 2;
    justify-self: center;
    width: min(386px, 100%);
  }

  .home-experience-copy h2 {
    font-size: clamp(66px, 19vw, 92px);
  }

  .home-demo-phone {
    height: 700px;
    max-height: 76svh;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0 12px;
  }

  .cinematic-nav a {
    padding: 7px 6px;
    font-size: 7px;
    letter-spacing: 0;
  }

  .cinematic-gateway {
    height: max(100svh, 850px);
    min-height: 850px;
  }

  .cinematic-message h1 {
    font-size: clamp(48px, 14.6vw, 65px);
  }

  .cinematic-path {
    grid-template-columns: 1fr auto;
    min-height: 80px;
    gap: 14px;
    padding: 15px 16px;
  }

  .cinematic-path-copy strong {
    font-size: 22px;
  }

  .cinematic-primary {
    min-height: 48px;
    padding: 0 18px;
  }

  .home-experience {
    padding-right: 16px;
    padding-left: 16px;
  }

  .home-demo-phone {
    width: min(358px, 100%);
    height: 680px;
    min-height: 600px;
    border-radius: 48px;
  }

  .home-demo-screen {
    border-radius: 39px;
  }

  .home-phone-content {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .custom-cursor,
  .motion-prompt {
    display: none !important;
  }

  [data-reveal-on-scroll] {
    opacity: 1;
    transform: none;
  }
}

/* Request pages */

.lead-page {
  min-height: 100svh;
  background: #f1eee7;
}

.lead-header {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(22px, 4vw, 68px);
  border-bottom: 1px solid var(--line);
  background: rgba(241, 238, 231, 0.92);
  backdrop-filter: blur(16px);
}

.lead-header--dark {
  border-bottom-color: var(--line-light);
  background: #0d100e;
  color: white;
}

.lead-header--dark .audience-nav {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
}

.lead-header--dark .audience-nav a {
  color: rgba(255, 255, 255, 0.82);
}

.lead-header--dark .audience-nav a:hover,
.lead-header--dark .audience-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: white;
}

.lead-header--dark .audience-nav a.is-current {
  background: white;
  color: var(--ink);
}

.lead-header .audience-nav {
  justify-self: center;
}

.lead-header-link {
  justify-self: end;
  font-size: 11px;
  font-weight: 700;
}

.lead-header-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 180ms ease;
}

.lead-header-link:hover span,
.lead-header-link:focus-visible span {
  transform: translate(3px, -3px);
}

.lead-main {
  min-height: calc(100svh - var(--header-height));
}

.lead-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.55fr);
  gap: clamp(50px, 10vw, 170px);
  align-items: end;
  padding: clamp(90px, 11vw, 165px) max(6vw, 48px);
  border-bottom: 1px solid var(--line);
}

.lead-intro--dark {
  border-bottom-color: var(--line-light);
  background: #0d100e;
  color: white;
}

.lead-intro .eyebrow {
  color: inherit;
}

.lead-intro h1 {
  max-width: 980px;
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(68px, 8.5vw, 138px);
  font-weight: 400;
  letter-spacing: -0.067em;
  line-height: 0.82;
}

.lead-intro > p {
  max-width: 430px;
  margin: 0 0 6px;
  color: rgba(12, 13, 12, 0.62);
  font-size: 17px;
  line-height: 1.65;
}

.lead-intro--dark > p {
  color: rgba(255, 255, 255, 0.62);
}

.lead-form-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(560px, 1fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: start;
  padding: clamp(90px, 10vw, 150px) max(6vw, 48px);
}

.lead-form-copy {
  position: sticky;
  top: 50px;
}

.lead-form-copy h2 {
  max-width: 560px;
  margin: 20px 0 25px;
  font-family: var(--serif);
  font-size: clamp(55px, 6vw, 92px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.88;
}

.lead-form-copy > p:not(.eyebrow) {
  max-width: 470px;
  margin: 0;
  color: rgba(12, 13, 12, 0.6);
  font-size: 15px;
  line-height: 1.65;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper-bright);
  box-shadow: 0 35px 90px rgba(51, 41, 26, 0.12);
}

.lead-form .field {
  min-width: 0;
}

.lead-form .full {
  grid-column: 1 / -1;
}

.lead-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 750;
}

.lead-form label > span:not(:only-child) {
  color: rgba(12, 13, 12, 0.42);
  font-weight: 500;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(12, 13, 12, 0.18);
  border-radius: 14px;
  outline: none;
  background: white;
  color: var(--ink);
  font-size: 15px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.lead-form input {
  min-height: 54px;
  padding: 0 15px;
}

.lead-form textarea {
  min-height: 128px;
  padding: 15px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: rgba(12, 13, 12, 0.72);
  box-shadow: 0 0 0 4px rgba(216, 255, 69, 0.34);
}

.lead-form .check-field {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 2px 0;
  padding: 14px;
  border: 1px solid rgba(12, 13, 12, 0.12);
  border-radius: 13px;
  background: rgba(12, 13, 12, 0.025);
  cursor: pointer;
}

.lead-form .check-field input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  accent-color: var(--ink);
}

.lead-form .check-field span {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.form-note {
  margin: 5px 0 0;
  color: rgba(12, 13, 12, 0.48);
  font-size: 11px;
  line-height: 1.55;
}

.form-submit {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  border: 0;
  border-radius: 15px;
  background: var(--ink);
  color: white;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.lead-page--restaurant .form-submit {
  background: var(--acid);
  color: var(--ink);
}

.form-submit:hover,
.form-submit:focus-visible {
  transform: translateY(-2px);
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.55;
  transform: none;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: rgba(12, 13, 12, 0.6);
  font-size: 12px;
  font-weight: 650;
}

.form-status.success {
  color: #23773f;
}

.form-status.error {
  color: #b33327;
}

@media (max-width: 960px) {
  .lead-intro,
  .lead-form-section {
    grid-template-columns: 1fr;
  }

  .lead-intro {
    gap: 35px;
  }

  .lead-form-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .lead-header {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 14px 18px;
  }

  .lead-header .audience-nav {
    grid-column: 2;
  }

  .lead-header-link {
    grid-column: 1 / -1;
    justify-self: start;
    padding-top: 4px;
  }

  .lead-intro,
  .lead-form-section {
    padding-right: 22px;
    padding-left: 22px;
  }

  .lead-intro h1 {
    font-size: clamp(62px, 19vw, 90px);
  }

  .lead-form {
    grid-template-columns: 1fr;
    padding: 20px;
    border-radius: 22px;
  }

  .lead-form .full {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-page *,
  .lead-page *::before,
  .lead-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* iPhone presentation layer — deliberately isolated from desktop */

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  html {
    scroll-padding-top: calc(var(--header-height) + 12px);
  }

  body {
    min-width: 0;
  }

  button,
  a,
  input,
  textarea {
    touch-action: manipulation;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.17em;
  }

  /* Mobile gateway and navigation */

  .site-header--overlay {
    height: var(--header-height);
    min-height: var(--header-height);
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr;
    gap: 12px;
    padding: max(9px, env(safe-area-inset-top)) 14px 8px;
    background: linear-gradient(to bottom, rgba(7, 8, 7, 0.66), rgba(7, 8, 7, 0));
  }

  .site-header--overlay .brand span,
  .audience-page .site-header .brand span,
  .lead-header .brand span {
    display: inline;
  }

  .site-header--overlay .brand {
    grid-column: 1;
    grid-row: 1;
    color: white;
    mix-blend-mode: normal;
    font-size: 14px;
  }

  .site-header--overlay .brand img {
    width: 25px;
    height: 25px;
  }

  .cinematic-audience-switch {
    grid-column: 2;
    grid-row: 1;
    padding: 3px;
    background: rgba(8, 9, 8, 0.62);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .cinematic-audience-switch button {
    min-height: 40px;
    padding: 0 11px;
    font-size: 9px;
  }

  .cinematic-nav {
    position: fixed;
    z-index: 96;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 5px;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(10, 11, 10, 0.82);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(22px) saturate(1.15);
    -webkit-backdrop-filter: blur(22px) saturate(1.15);
    transition: opacity 220ms ease, transform 280ms ease;
  }

  .cinematic-nav a:first-child {
    display: none;
  }

  .cinematic-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    font-size: 9px;
    letter-spacing: 0;
    text-align: center;
  }

  .page-gateway.has-selected-experience .cinematic-nav {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 24px));
  }

  .page-gateway.has-selected-experience .site-header--overlay {
    background: rgba(10, 11, 10, 0.72);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .cinematic-gateway {
    height: max(100svh, 760px);
    min-height: 760px;
  }

  .cinematic-scene--split {
    background-position: 43% center;
  }

  .cinematic-scene--guest {
    background-position: 39% center;
  }

  .cinematic-scene--restaurant {
    background-position: 30% center;
  }

  .cinematic-scrim {
    background:
      linear-gradient(180deg, rgba(7, 8, 7, 0.55) 0%, rgba(7, 8, 7, 0.02) 38%, rgba(7, 8, 7, 0.7) 100%),
      linear-gradient(90deg, rgba(7, 8, 7, 0.28), transparent 75%);
  }

  .cinematic-message {
    top: calc(var(--header-height) + 30px);
    left: 14px;
    width: calc(100vw - 28px);
    padding: 21px 19px 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    background: rgba(10, 11, 10, 0.48);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(14px) saturate(1.08);
    -webkit-backdrop-filter: blur(14px) saturate(1.08);
  }

  .cinematic-message::before {
    display: none;
  }

  .cinematic-message h1 {
    margin: 13px 0 15px;
    font-size: clamp(49px, 14.2vw, 62px);
    line-height: 0.88;
  }

  .cinematic-copy {
    max-width: 32ch;
    font-size: 13px;
    line-height: 1.48;
  }

  .cinematic-paths {
    right: 14px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    left: 14px;
    gap: 8px;
  }

  .cinematic-path {
    min-height: 76px;
    padding: 13px 16px;
    border-radius: 17px;
    background: rgba(12, 13, 12, 0.64);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .cinematic-path-copy small {
    margin-bottom: 4px;
    font-size: 7px;
  }

  .cinematic-path-copy strong {
    font-size: 21px;
    line-height: 0.92;
  }

  .cinematic-path-arrow {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  /* Standalone audience-page hero */

  .audience-page .site-header {
    position: sticky;
    top: 0;
    height: var(--header-height);
    min-height: var(--header-height);
    grid-template-columns: 1fr auto;
    padding: 0 14px;
  }

  .audience-page .site-header .brand {
    font-size: 14px;
  }

  .audience-page .site-header .brand img {
    width: 24px;
    height: 24px;
  }

  .audience-page .audience-nav {
    grid-column: 2;
    padding: 3px;
  }

  .audience-page .audience-nav a {
    min-height: 36px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 10px;
  }

  .detail-hero {
    min-height: 760px;
    display: block;
    isolation: isolate;
  }

  .hero-noise,
  .restaurant-grid {
    z-index: 1;
    opacity: 0.18;
  }

  .hero-editorial,
  .hero-editorial--guest {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    transform: none !important;
  }

  .hero-editorial figure {
    border-radius: 0;
    box-shadow: none;
  }

  .hero-editorial figure::after {
    border-radius: 0;
    background: linear-gradient(180deg, rgba(8, 9, 8, 0.06) 28%, rgba(8, 9, 8, 0.76) 100%);
  }

  .hero-editorial--guest figure img {
    object-position: 43% center;
  }

  .hero-editorial--restaurant figure img {
    object-position: 52% center;
  }

  .detail-hero-copy {
    position: absolute;
    z-index: 3;
    right: 14px;
    bottom: 16px;
    left: 14px;
    padding: 23px 20px 21px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 23px;
    background: rgba(244, 240, 232, 0.86);
    color: var(--ink);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(17px) saturate(1.12);
    -webkit-backdrop-filter: blur(17px) saturate(1.12);
  }

  .detail-hero--restaurant .detail-hero-copy {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(10, 12, 10, 0.76);
    color: white;
  }

  .detail-hero-copy h1 {
    margin: 13px 0 16px;
    font-size: clamp(53px, 15.8vw, 69px);
    line-height: 0.79;
  }

  .hero-deck,
  .detail-hero--restaurant .hero-deck {
    max-width: 32ch;
    color: currentColor;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.7;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 20px;
  }

  .hero-actions .button {
    min-height: 48px;
    padding: 0 12px;
    font-size: 11px;
    text-align: center;
  }

  .detail-hero--guest .button--text {
    background: rgba(255, 255, 255, 0.5);
  }

  .detail-hero--restaurant .button--text-light {
    background: rgba(255, 255, 255, 0.08);
  }

  /* Problem and solution storytelling */

  .problem-section,
  .why-matters-section {
    min-height: 0;
    display: block;
    padding: 82px 16px;
  }

  .problem-intro,
  .why-matters-copy {
    max-width: none;
  }

  .problem-intro h2,
  .why-matters-copy h2 {
    margin: 17px 0 21px;
    font-size: clamp(50px, 14.8vw, 64px);
    line-height: 0.87;
  }

  .problem-intro > p:not(.eyebrow),
  .why-matters-copy > p:not(.eyebrow) {
    max-width: 35ch;
    font-size: 14px;
    line-height: 1.58;
  }

  .old-way-start {
    width: 100%;
    min-height: 54px;
    justify-content: space-between;
    margin-top: 27px;
    padding: 0 20px;
    font-size: 12px;
  }

  .old-way-stage {
    margin-top: 35px;
    padding: 20px 14px 15px;
    border-radius: 23px;
  }

  .old-way-stage-head {
    display: grid;
    gap: 8px;
    padding: 0 3px 18px;
    font-size: 8px;
    line-height: 1.45;
  }

  .old-way-stage-head small {
    max-width: 34ch;
    font-size: 8px;
    line-height: 1.45;
    text-align: left;
  }

  .old-way-route {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    justify-items: center;
    margin: 22px 0 25px;
  }

  .old-way-route > i {
    display: none;
  }

  .old-way-node {
    width: 100%;
    max-width: 58px;
    min-width: 0;
  }

  .old-way-node span {
    font-size: 6px;
  }

  .old-way-node strong {
    max-width: calc(100% - 6px);
    font-size: 11px;
    white-space: normal;
  }

  .old-way-failures {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .old-way-failures article {
    min-height: 108px;
    gap: 13px;
    padding: 16px;
    border-radius: 14px;
  }

  .old-way-failures article > span {
    width: 38px;
    height: 38px;
    font-size: 25px;
  }

  .old-way-failures small {
    font-size: 9px;
  }

  .old-way-failures p {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.48;
  }

  .problem-solution {
    display: block;
    margin-top: 48px;
    padding-top: 39px;
  }

  .problem-solution h3 {
    font-size: clamp(45px, 13vw, 57px);
    line-height: 0.88;
  }

  .solution-scan-card {
    min-width: 0;
    width: 100%;
    margin-top: 29px;
    padding: 10px;
    border-radius: 21px;
  }

  .solution-scan-brand {
    margin: 4px 5px 10px;
    font-size: 12px;
  }

  .solution-scan-visual {
    border-width: 1px;
    border-radius: 15px;
  }

  .solution-scan-callout {
    right: 9px;
    bottom: 9px;
    left: 9px;
    min-width: 0;
    padding: 11px 12px 11px 14px;
    border-radius: 13px;
  }

  .solution-scan-callout strong {
    font-size: 24px;
  }

  .solution-scan-callout i {
    width: 40px;
    height: 40px;
  }

  /* Product demos become focused app canvases on mobile */

  .product-preview {
    padding: 80px 10px;
  }

  .product-preview-heading {
    gap: 14px;
    padding: 0 7px 0;
  }

  .product-preview-heading h2 {
    margin-top: 13px;
    font-size: clamp(49px, 14.5vw, 63px);
    line-height: 0.88;
  }

  .product-preview-heading > p {
    max-width: 34ch;
    font-size: 13px;
    line-height: 1.55;
  }

  .demo-window,
  .demo-window--app,
  .demo-window--tablet {
    min-height: 0;
    margin-top: 35px;
    border-radius: 23px;
  }

  .demo-window-bar {
    position: sticky;
    z-index: 30;
    top: 0;
    display: block;
    padding: 7px;
  }

  .demo-tabs-context {
    width: 100%;
    padding-bottom: 72px;
  }

  .demo-tabs {
    width: 100%;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 5px;
  }

  .demo-tab {
    min-height: 46px;
    padding: 0 7px;
    border-radius: 11px;
    font-size: 9px;
    line-height: 1.15;
    white-space: normal;
  }

  .menu-filter-thought {
    top: auto;
    right: 3px;
    bottom: 0;
    left: auto;
    width: calc(62% - 6px);
    padding: 10px 12px;
    transform: none;
    border-radius: 7px 16px 16px 16px;
    font-size: 9px;
  }

  .menu-filter-thought::before {
    top: -5px;
    left: 22px;
    transform: rotate(135deg);
  }

  .menu-filter-thought strong {
    font-size: 11px;
  }

  .demo-panel.app-demo-panel[data-demo-panel="checkin"],
  .demo-panel.app-demo-panel[data-demo-panel="menu"] {
    display: block;
    min-height: 0;
  }

  .demo-panel[hidden] {
    display: none !important;
  }

  .new-way-guide,
  .menu-demo-guide {
    display: none !important;
  }

  .phone-demo-stage {
    min-height: 0;
    padding: 24px 8px 28px;
  }

  .phone-demo-stage::before,
  .phone-demo-stage::after {
    display: none;
  }

  .demo-phone-frame,
  .demo-phone-frame--menu {
    width: min(100%, 390px);
    height: 720px;
    padding: 9px;
    border-radius: 45px;
  }

  .demo-phone-screen {
    border-radius: 36px;
  }

  .demo-phone-camera {
    top: 15px;
    width: 104px;
    height: 29px;
  }

  .actual-form-demo,
  .actual-menu-demo {
    padding-right: 12px;
    padding-left: 12px;
  }

  .actual-field input,
  .actual-field textarea {
    font-size: 16px;
  }

  .actual-segment button,
  .actual-subject-grid button,
  .actual-allergen-grid button {
    font-size: 10px;
  }

  .actual-menu-filter-grid button,
  .actual-menu-card h4 {
    font-size: 10px;
  }

  .actual-segment button,
  .actual-subject-grid button,
  .actual-allergen-grid button,
  .actual-menu-filter-grid button {
    min-height: 44px;
  }

  .team-receipt-preview {
    min-height: 0;
    margin: 0;
    padding: 25px 20px;
    border-radius: 0;
  }

  .team-receipt-table {
    margin: 20px 0;
  }

  .team-receipt-table > span {
    padding: 7px 10px;
    font-size: 8px;
  }

  .team-receipt-table strong {
    font-size: 29px;
  }

  .team-receipt-note {
    margin-top: 18px;
  }

  /* Restaurant tablet content reflows into an operational mobile view */

  .tablet-demo-panel {
    min-height: 0;
    padding: 8px !important;
  }

  .demo-tablet-frame {
    width: 100%;
    height: 720px;
    padding: 7px;
    border-radius: 27px;
  }

  .demo-tablet-screen {
    border-radius: 21px;
  }

  .tablet-status {
    height: 27px;
    padding: 0 12px;
    font-size: 7px;
  }

  .tablet-app-header {
    height: 54px;
    grid-template-columns: 1fr auto;
    padding: 0 12px;
  }

  .tablet-app-header > button,
  .tablet-app-header aside button {
    width: 38px;
    height: 38px;
  }

  .tablet-app-header > div {
    display: none;
  }

  .tablet-app-header aside {
    grid-column: 2;
  }

  .tablet-app-content {
    height: calc(100% - 145px);
    padding: 19px 13px 82px;
  }

  .tablet-title-row {
    margin-bottom: 19px;
  }

  .tablet-title-row > h3 {
    font-size: 31px;
  }

  .tablet-title-row > span {
    font-size: 7px;
  }

  .demo-tablet-screen .restaurant-demo-head {
    flex-direction: row;
    align-items: end;
    margin-bottom: 13px;
  }

  .expo-controls {
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .expo-controls::-webkit-scrollbar {
    display: none;
  }

  .expo-controls button {
    min-height: 40px;
    flex: 0 0 auto;
    padding: 0 12px;
    font-size: 8px;
  }

  .demo-tablet-screen .expo-demo-layout,
  .demo-tablet-screen .inbox-demo-layout {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .demo-tablet-screen .expo-table-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .demo-tablet-screen .expo-table-card {
    min-height: 100px;
    padding: 12px;
  }

  .demo-tablet-screen .expo-table-card span {
    font-size: 15px;
  }

  .demo-tablet-screen .expo-detail,
  .demo-tablet-screen .inbox-detail {
    min-height: 185px;
    padding: 19px;
  }

  .demo-tablet-screen .expo-detail h4,
  .demo-tablet-screen .inbox-detail h4 {
    font-size: 34px;
  }

  .demo-tablet-screen .inbox-row {
    min-height: 78px;
  }

  .demo-tablet-screen .training-demo {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .demo-tablet-screen .training-demo h3 {
    font-size: 38px;
  }

  .demo-tablet-screen .training-options button {
    min-height: 58px;
    padding: 13px;
  }

  .demo-tablet-screen .training-result {
    min-height: 120px;
  }

  .tablet-bottom-nav {
    right: 8px;
    bottom: 7px;
    left: 8px;
    height: 60px;
    gap: 5px;
    padding-top: 7px;
  }

  .tablet-bottom-nav button {
    min-width: 0;
    gap: 4px;
    padding: 0 5px;
    font-size: 11px;
  }

  .tablet-bottom-nav button span {
    font-size: 7px;
  }

  /* Quotes and closing */

  .why-matters-copy {
    margin-bottom: 36px;
  }

  .quote-stage {
    width: 100%;
    height: 610px;
    min-height: 610px;
    padding: 27px 22px;
    border-radius: 23px;
  }

  .quote-stage::before {
    top: -40px;
    right: -8px;
    font-size: 230px;
  }

  .quote-stage blockquote {
    margin: 34px 0;
    font-size: clamp(31px, 9.4vw, 41px);
    line-height: 1.02;
  }

  .quote-stage-meta {
    font-size: 7px;
  }

  .quote-controls {
    min-height: 46px;
  }

  .quote-controls > button:not(.quote-next) {
    width: 10px;
    height: 10px;
  }

  .quote-next {
    min-height: 44px;
    padding: 0 4px;
  }

  .closing-section {
    min-height: 72svh;
    padding: 82px 18px;
  }

  .closing-section h2 {
    margin: 18px 0 22px;
    font-size: clamp(53px, 15.5vw, 68px);
    line-height: 0.84;
  }

  .closing-section .button {
    width: min(100%, 360px);
    min-height: 54px;
  }

  .detail-footer {
    min-height: 92px;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 24px 18px;
  }

  .detail-footer .brand span {
    display: inline;
  }

  .detail-footer p:last-child {
    font-size: 7px;
  }

  /* Request forms */

  .lead-header {
    min-height: 68px;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto;
    gap: 9px;
    padding: 10px 14px;
  }

  .lead-header .brand {
    font-size: 14px;
  }

  .lead-header .brand img {
    width: 24px;
    height: 24px;
  }

  .lead-header .audience-nav {
    grid-column: 2;
    grid-row: 1;
    padding: 3px;
  }

  .lead-header .audience-nav a {
    min-height: 34px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    font-size: 9px;
  }

  .lead-header-link {
    display: none;
  }

  .lead-intro {
    gap: 22px;
    padding: 68px 18px 58px;
  }

  .lead-intro h1 {
    margin-top: 16px;
    font-size: clamp(51px, 15.2vw, 66px);
    line-height: 0.86;
  }

  .lead-intro > p {
    max-width: 35ch;
    font-size: 14px;
    line-height: 1.55;
  }

  .lead-form-section {
    gap: 34px;
    padding: 65px 14px 82px;
  }

  .lead-form-copy {
    padding: 0 4px;
  }

  .lead-form-copy h2 {
    margin: 15px 0 18px;
    font-size: clamp(45px, 13.8vw, 59px);
    line-height: 0.9;
  }

  .lead-form-copy > p:not(.eyebrow) {
    font-size: 13px;
  }

  .lead-form {
    gap: 15px;
    padding: 18px 14px;
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(51, 41, 26, 0.11);
  }

  .lead-form label {
    font-size: 11px;
  }

  .lead-form input {
    min-height: 52px;
  }

  .lead-form textarea {
    min-height: 120px;
  }

  .lead-form input,
  .lead-form textarea {
    font-size: 16px;
  }

  .lead-form .check-field {
    min-height: 54px;
    padding: 13px;
  }

  .form-submit {
    min-height: 58px;
    border-radius: 14px;
  }
}

@media (max-width: 390px) {
  .cinematic-message h1 {
    font-size: 47px;
  }

  .cinematic-path-copy strong {
    font-size: 19px;
  }

  .detail-hero-copy h1 {
    font-size: 50px;
  }

  .old-way-node strong {
    font-size: 10px;
  }

  .demo-phone-frame,
  .demo-phone-frame--menu,
  .demo-tablet-frame {
    height: 680px;
  }

  .quote-stage {
    height: 590px;
    min-height: 590px;
  }

  .quote-stage blockquote {
    font-size: 30px;
  }
}

/* Centered phone gateway — the two audiences become the visual focus */

@media (max-width: 720px) {
  .site-header--overlay {
    grid-template-columns: 1fr;
  }

  .cinematic-seam {
    display: none !important;
  }

  .cinematic-audience-switch {
    display: none;
  }

  .cinematic-gateway {
    height: 100svh;
    min-height: 650px;
  }

  /* Preserve both halves of the hero on narrow screens. Each panel uses its
     own crop so the table QR and the kitchen knife remain in frame. */
  .cinematic-scene--split {
    background: none;
    transform: none;
  }

  .cinematic-scene--split::before,
  .cinematic-scene--split::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    background-color: #15130f;
    background-image: url("./assets/serveguard-home-hero.png");
    background-repeat: no-repeat;
    background-size: auto 88%;
  }

  .cinematic-scene--split::before {
    left: 0;
    background-position: 36% 100%;
  }

  .cinematic-scene--split::after {
    right: 0;
    background-color: #333330;
    background-position: 82% 0;
  }

  .cinematic-gateway:not([data-mode="neutral"]) .cinematic-scene--split {
    transform: none;
  }

  .cinematic-scrim {
    background:
      linear-gradient(180deg, rgba(7, 8, 7, 0.64) 0%, rgba(7, 8, 7, 0.08) 28%, rgba(7, 8, 7, 0.05) 66%, rgba(7, 8, 7, 0.8) 100%),
      radial-gradient(ellipse at 50% 24%, rgba(7, 8, 7, 0.48), transparent 57%);
  }

  .cinematic-message {
    top: calc(var(--header-height) + 20px);
    left: 16px;
    width: calc(100vw - 32px);
    padding: 14px 16px 15px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(8, 9, 8, 0.34);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.15);
    text-align: center;
    backdrop-filter: blur(10px) saturate(1.08);
    -webkit-backdrop-filter: blur(10px) saturate(1.08);
  }

  .cinematic-message .eyebrow,
  .cinematic-message h1,
  .cinematic-copy {
    text-shadow: 0 2px 22px rgba(0, 0, 0, 0.52);
  }

  .cinematic-message h1 {
    max-width: none;
    margin: 8px auto 9px;
    font-size: clamp(31px, 10vw, 43px);
    line-height: 0.9;
    white-space: nowrap;
  }

  .cinematic-copy {
    max-width: 34ch;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    line-height: 1.38;
  }

  .cinematic-paths {
    top: 50%;
    right: 12px;
    bottom: auto;
    left: 12px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    max-width: none;
    transform: translateY(-50%);
  }

  .cinematic-path {
    position: relative;
    min-width: 0;
    min-height: 124px;
    display: block;
    padding: 15px 13px 49px 15px;
    border-radius: 20px;
    transform: none;
    backdrop-filter: blur(19px) saturate(1.08);
    -webkit-backdrop-filter: blur(19px) saturate(1.08);
  }

  .cinematic-path:hover,
  .cinematic-path:focus-visible {
    transform: translateY(-3px);
  }

  .cinematic-path--guest {
    border-color: rgba(255, 255, 255, 0.78);
    background: rgba(248, 245, 238, 0.94);
    color: var(--ink);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.2);
  }

  .cinematic-path--restaurant {
    border-color: rgba(216, 255, 69, 0.56);
    background: rgba(9, 11, 9, 0.82);
    color: white;
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28);
  }

  .cinematic-path--guest[aria-pressed="true"] {
    border-color: var(--ink);
    background: white;
    color: var(--ink);
  }

  .cinematic-path--restaurant[aria-pressed="true"] {
    border-color: var(--acid);
    background: rgba(17, 21, 16, 0.96);
    box-shadow: 0 0 0 3px rgba(216, 255, 69, 0.18), 0 24px 58px rgba(0, 0, 0, 0.32);
  }

  .cinematic-path-copy {
    justify-content: center;
    gap: 7px;
  }

  .cinematic-path-copy small {
    font-size: 7px;
    letter-spacing: 0.14em;
    opacity: 0.62;
  }

  .cinematic-path-copy strong {
    font-size: clamp(17px, 4.8vw, 21px);
    line-height: 0.97;
  }

  .cinematic-path-arrow {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 15px;
    opacity: 0.84;
  }

  .cinematic-path--guest .cinematic-path-arrow {
    background: var(--ink);
    color: white;
  }

  .cinematic-path--restaurant .cinematic-path-arrow {
    border-color: rgba(216, 255, 69, 0.7);
    background: var(--acid);
    color: var(--ink);
  }
}

@media (max-width: 390px) {
  .cinematic-message {
    top: calc(var(--header-height) + 16px);
    left: 12px;
    width: calc(100vw - 24px);
    padding-right: 10px;
    padding-left: 10px;
  }

  .cinematic-message h1 {
    font-size: clamp(30px, 9.4vw, 37px);
  }

  .cinematic-copy {
    font-size: 11px;
  }

  .cinematic-paths {
    top: 50%;
    right: 9px;
    left: 9px;
    gap: 7px;
  }

  .cinematic-path {
    min-height: 116px;
    padding: 13px 9px 43px 12px;
    border-radius: 18px;
  }

  .cinematic-path-copy strong {
    font-size: 16px;
  }

  .cinematic-path-arrow {
    right: 9px;
    bottom: 9px;
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

/* Short phone screens keep the same hierarchy without letting controls collide. */
@media (max-width: 720px) and (max-height: 700px) {
  .cinematic-message {
    top: calc(var(--header-height) + 10px);
    padding-top: 10px;
    padding-bottom: 11px;
  }

  .cinematic-message h1 {
    margin-top: 6px;
    margin-bottom: 6px;
    font-size: clamp(29px, 9vw, 38px);
  }

  .cinematic-paths {
    top: 49%;
  }

  .cinematic-path {
    min-height: 108px;
  }

  .cinematic-scene--split::before,
  .cinematic-scene--split::after {
    background-size: auto 92%;
  }
}
