/* The approved Gold layout, with a fixed horizontal viewport and original cards. */
:root {
  --bg: #050505;
  --panel: #101010;
  --ink: #f7f4ed;
  --muted: #a5a19a;
  --gold: #597cd6;
  --light-gold: #abbff1;
  --line: #30291d;
}
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }
main { overflow-x: clip; }
.hero, .hero-copy, .demo-stage, .demo-controls, .experience-steps,
.experience-layout > *, .control > *, .section-heading > * { min-width: 0; }
.nav-wrap { background: #050505ed; border-bottom-color: #597cd612; }
.muted-title { color: #bab1a0; }
.ticker { background: #0b0b0b; }
.solution-card { background: linear-gradient(145deg, #221c1070, #101010 66%); }
.solution-card:hover { background: #18140e; }
.experience { background: radial-gradient(ellipse at 50% 60%, #4066c820, transparent 60%), #090909; }
.solution-tabs button { background: #101010; border-color: #322c22; }
.solution-tabs button:hover { background: #211b11; }
.solution-tabs button[aria-selected=true] { background: linear-gradient(105deg, #382c16, #1a1711); border-color: #4369c9; }
.contact { background: radial-gradient(ellipse at 50% 80%, #3355ae25, transparent 70%), #090909; }

/* SVG strokes replace system emoji arrows, which can render as blue tiles on iOS. */
.ui-icon { display: inline-block; width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; color: var(--gold); }
.btn > span, .text-link > span { display: inline-flex; align-items: center; justify-content: center; }
.btn.gold .ui-icon { color: currentColor; }
.text-link:hover span { transform: none; }
.solution-bottom > b { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #597cd644; border-radius: 50%; }
.solution-bottom .ui-icon { width: 16px; height: 16px; }
.tab-arrow { display: grid; place-items: center; }
.tab-arrow .ui-icon { width: 18px; height: 18px; }
.scroll-cue > span:last-child { display: grid; place-items: center; width: 29px; height: 36px; border: 1px solid #597cd644; border-radius: 20px; }
.scroll-cue .ui-icon { width: 15px; height: 15px; }
.payment-icon .ui-icon { width: 31px; height: 31px; }
.mini-social .ui-icon, .business-socials .ui-icon { width: 16px; height: 16px; }
.screen-back { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
.screen-back .ui-icon { width: 13px; height: 13px; }
.dish-arrow .ui-icon, .exercise .ui-icon { width: 16px; height: 16px; }
.footer-top > a:last-child { display: inline-flex; align-items: center; gap: 5px; }
.footer-top > a:last-child .ui-icon { width: 13px; height: 13px; }

/* Complete, uncropped artwork supplied by Taply. */
.solution-top { position: relative; display: grid; place-items: center; min-height: 171px; margin-bottom: 25px; }
.solution-top > span { position: absolute; top: 0; left: 0; color: #5073cc; }
.solution-art { width: 160px; height: 160px; object-fit: contain; border-radius: 10px; filter: drop-shadow(0 12px 16px #0009); transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .5s; pointer-events: none; }
.solution-card:hover .solution-art, .solution-card:focus-visible .solution-art { transform: translateY(-5px); filter: drop-shadow(0 15px 20px #355ab822); }

/* The phone shell stays still. Only its content scrolls vertically. */
.demo-phone { max-width: 100%; transform: none; animation: none; touch-action: pan-y; border-color: #292929; background: #0b0b0b; box-shadow: 0 0 0 1px #2b4894, 0 35px 75px #000a; }
.demo-screen { width: 100%; max-width: 100%; min-width: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior-x: none; overscroll-behavior-y: contain; touch-action: pan-y; -webkit-overflow-scrolling: touch; background: #0c0c0c; }
.demo-screen > * { max-width: 100%; min-width: 0; }
.demo-screen button, .demo-screen a, .demo-screen textarea { touch-action: pan-y; }
.device-status { background: #0c0c0c; }
.screen-header > span { min-width: 0; overflow-wrap: anywhere; }
.menu-categories { flex-wrap: wrap; overflow-x: hidden; gap: 7px; }
.menu-categories button { max-width: 100%; }
.lock-screen { min-height: 100%; overflow: hidden; padding: 22px 19px 23px; background: radial-gradient(ellipse at 32% 45%, #23429230, transparent 70%), #090909; }
.lock-screen:before { inset: 0; transform: none; background: linear-gradient(145deg, transparent 25%, #4e71cc12 47%, #6686d727 49%, transparent 65%); }
.lock-date { color: #90a6df; font-size: 11px; }
.lock-time { font-size: 57px; color: #f5ecd9; }
.lock-screen .lock-brand { margin-top: 17px; height: 33px; }
.lock-brand img { width: 64px; height: 33px; object-fit: contain; }
.original-nfc-card { width: 154px; height: 154px; min-height: 154px; flex-shrink: 0; margin: 16px auto 15px; padding: 0; border: 0; background: transparent; box-shadow: none; transform: none; border-radius: 10px; }
.original-nfc-card img { width: 100%; height: 100%; object-fit: contain; border-radius: 9px; filter: drop-shadow(0 14px 17px #0009); pointer-events: none; }
.original-nfc-card.scanning { animation: original-card-tap .7s ease; }
.lock-screen > .screen-note { margin-top: 0; color: #b5a991; }
.lock-screen > .btn { margin-top: 19px; flex-shrink: 0; }
.lock-screen > .demo-local-note { margin-top: 12px; font-size: 9px; }
.nfc-notice { max-width: 100%; width: 100%; margin-inline: 0; background: #f0e6d2ed; color: #241c11; border-color: #93a9e0; }
.nfc-notice > span:first-child.notice-card { width: 38px; height: 38px; background: transparent; border-radius: 5px; }
.notice-card img { width: 38px; height: 38px; object-fit: contain; border-radius: 4px; }
.nfc-notice > span:nth-child(2) { min-width: 0; }
.nfc-notice > span:last-child .ui-icon { color: #253e7f; width: 16px; height: 16px; }
.notification-caption { color: #849cdb; }
.review-page textarea { font-size: 16px; }
.review-page textarea::placeholder { font-size: 12px; }
dialog { overflow-x: hidden; touch-action: pan-y; }

/* Existing media slots remain ready for the phone images we choose together. */
.hero-phone { background: #0b0b0b; border-color: #292929; box-shadow: 0 0 0 1px #2a4690, 0 35px 70px #000b; }
.hero-restaurant-image { width: 100%; height: 62%; object-fit: cover; object-position: center 39%; inset: 0; background: none; animation: image-breathe 11s ease-in-out infinite; }
.phone-front:before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, #0b0b0b 40%, transparent 98%); pointer-events: none; }
.hero-restaurant-content { z-index: 2; }
.hero-menu-phone::before { display: none; }
.hero-menu-preview { position: absolute; top: 32px; left: 0; width: 100%; height: calc(100% - 40px); object-fit: contain; object-position: center; display: block; pointer-events: none; }
.hero-gym-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: none; animation: image-breathe 12s ease-in-out infinite 1s; }
.back-gym:after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #050505 1%, #050505aa 24%, transparent 58%, #05050555); pointer-events: none; }
.back-gym .mini-app-label, .hero-gym-copy, .mini-play, .hero-gym-footer { z-index: 1; }
.hero-gym-copy { top: auto; bottom: 75px; left: 18px; font-size: 22px; }
.hero-gym-copy b { color: var(--gold); }
.hero-gym-footer { bottom: 24px; right: 18px; font-size: 12px; font-weight: 500; color: #e7dcc6; }
.mini-play { top: 177px; left: calc(50% - 22px); width: 44px; height: 44px; border-color: #597cd666; background: #08080866; }
.mini-play .ui-icon { width: 19px; height: 19px; margin-left: 3px; }
.back-pay { background: radial-gradient(ellipse at 50% 25%, #244bae33, transparent 60%), #0b0b0b; }
.hero-card-orbit { position: absolute; top: 82px; left: calc(50% - 67px); display: grid; place-items: center; width: 134px; height: 134px; }
.hero-card-orbit:before { content: ''; position: absolute; inset: -10px; border: 1px solid #597cd644; border-radius: 50%; animation: card-signal 4.8s ease-out infinite; }
.hero-pay-art { position: relative; width: 134px; height: 134px; object-fit: contain; border-radius: 8px; filter: drop-shadow(0 10px 20px #0007); }
.hero-pay-copy { top: 233px; font-size: 16px; }
.pay-logo-row { top: 287px; }
.pay-logo-row + .pay-logo-row { top: 319px; }
.pay-logo-row b { padding: 6px 2px; border-color: #597cd62c; color: #acbde8; }
.hero-pay-foot { bottom: 20px; color: #708cd5; }
.floating-caption { background: #111111e8; border-color: #4267c83b; }
@keyframes image-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes card-signal { 0%, 100% { transform: scale(.94); opacity: 0; } 25% { opacity: .75; } 70% { transform: scale(1.12); opacity: 0; } }
@keyframes original-card-tap { 50% { transform: translateY(-10px) scale(.96); filter: drop-shadow(0 0 17px #597cd666); } }

@media (max-width: 1150px) {
  .solution-art { width: 145px; height: 145px; }
  .solution-top { min-height: 153px; }
}
@media (max-width: 930px) {
  .solution-art { width: 173px; height: 173px; }
  .solution-top { min-height: 182px; }
}
@media (max-width: 700px) {
  .hero, .experience-layout, .control { grid-template-columns: minmax(0, 1fr); }
  .hero-card-orbit { top: 72px; left: calc(50% - 62px); width: 124px; height: 124px; }
  .hero-pay-art { width: 124px; height: 124px; }
  .hero-pay-copy { top: 215px; font-size: 16px; }
  .pay-logo-row { top: 266px; }
  .pay-logo-row + .pay-logo-row { top: 298px; }
  .hero-pay-foot { bottom: 19px; font-size: 9px; }
  .hero-gym-copy { bottom: 74px; font-size: 20px; }
  .mini-play { top: 163px; }
  .solution-art { width: min(100%, 143px); height: 143px; }
  .solution-top { min-height: 154px; margin-bottom: 21px; }
  .solution-top > span { font-size: 9px; top: -5px; left: -3px; }
  .solution-bottom > b { width: 26px; height: 26px; flex-shrink: 0; }
  .solution-bottom .ui-icon { width: 14px; height: 14px; }
  .solution-bottom { gap: 7px; }
  .stage-ring { max-width: 100%; height: auto; aspect-ratio: 1; }
  .stage-hint { max-width: 100%; }
  .review-page textarea, input, select { font-size: 16px; }
}
@media (max-width: 430px) {
  .solution-art { width: min(100%, 120px); height: 120px; }
  .solution-top { min-height: 134px; margin-bottom: 18px; }
  .solution-card { padding-top: 24px; }
  .tab-arrow { display: none; }
}
@media (max-width: 350px) {
  .solution-art { width: 168px; height: 168px; }
  .solution-top { min-height: 176px; }
  .original-nfc-card { width: 146px; height: 146px; min-height: 146px; }
  .lock-screen { padding-inline: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-restaurant-image, .hero-gym-image, .hero-card-orbit:before, .original-nfc-card.scanning { animation: none; }
}

/* Clip only the photographed outer canvas. These asset selectors also cover
   cards inserted dynamically into every phone screen and NFC notification. */
img[src$="/card-menu.png"] {
  clip-path: inset(4.35% 4.35% 4.35% 4.35% round 4.6%);
}
img[src$="/card-gym.jpg"] {
  clip-path: inset(2.55% 8.75% 2.55% 8.85% round 6.3%);
}
img[src$="/card-pay.png"] {
  clip-path: inset(1.1% 1.1% 1.1% 1.1% round 5.6%);
}
img[src$="/card-reviews.jpg"] {
  clip-path: inset(2.7% 2.7% 2.7% 2.7% round 6.5%);
}

/* One NFC card opens this machine's page directly. */
.machine-page { min-height: 100%; padding: 20px 17px 28px; background: radial-gradient(ellipse at 50% 0, #2549a620, transparent 38%), #0b0b0b; animation: screen-in .3s ease; }
.machine-brand { display: grid; justify-items: center; gap: 8px; margin-bottom: 18px; }
.machine-brand-logo { display: block; width: 120px; height: 42px; overflow: hidden; border-radius: 7px; background: #fff; }
.machine-brand-logo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 49%; }
.machine-link-status { display: inline-flex; align-items: center; gap: 6px; font-size: 9px; color: #6483d2; }
.machine-link-status i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.machine-heading { position: relative; text-align: center; margin-bottom: 17px; }
.machine-heading .app-overline { font-size: 9px; letter-spacing: 1.8px; }
.machine-heading h3 { font-size: 29px; line-height: 1.2; margin: 6px 0 7px; }
.machine-heading p { color: #b0aaa0; font-size: 11px; }
.machine-muscle { display: inline-block; color: #8da4de; font-size: 10px; line-height: 1.5; padding: 2px 13px; margin-top: 10px; border: 1px solid #4066c83b; border-radius: 20px; background: #4066c810; }
.machine-video-wrap { position: relative; overflow: hidden; border: 1px solid #4167c84d; border-radius: 10px; background: #030303; box-shadow: 0 12px 28px #0006; }
.machine-video { display: block; width: 100%; height: 320px; object-fit: contain; background: #030303; touch-action: pan-y; }
.machine-video:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }
.machine-play { position: absolute; inset: 0 0 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; background: linear-gradient(transparent, #0004, transparent); padding: 0; color: #f5e7c8; }
.machine-play > span { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid #7395eb; border-radius: 50%; background: #0a0907b8; box-shadow: 0 0 26px #597cd625; backdrop-filter: blur(5px); transition: background .2s, transform .2s; }
.machine-play:hover > span { background: #46361bd9; transform: scale(1.05); }
.machine-play .ui-icon { width: 24px; height: 24px; margin-left: 4px; }
.machine-play b { font-size: 12px; font-weight: 500; text-shadow: 0 1px 6px #000; }
.machine-video-caption { font-size: 9px; text-align: center; color: #4b6fcb; margin-top: 10px; }
.machine-playback-info { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.machine-playback-info .machine-video-caption { margin: 0; text-align: right; }
.machine-sound { flex-shrink: 0; min-height: 34px; padding: 5px 11px; border: 1px solid #4167c855; border-radius: 20px; background: #4167c810; color: #93aae6; font-size: 10px; }
.machine-sound[aria-pressed=true] { border-color: var(--gold); background: #4167c825; }
.machine-video-error { font-size: 11px; line-height: 1.7; color: #93aae6; margin-top: 12px; }
.machine-video-error a { text-decoration: underline; text-underline-offset: 3px; }
.machine-instructions { margin-top: 25px; border-top: 1px solid #4167c833; padding-top: 20px; }
.machine-instructions h4 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; font-weight: 700; }
.machine-instructions > p { font-size: 12px; line-height: 1.8; color: #bdb6a9; }
.machine-instructions ol { margin: 19px 0; padding: 0; list-style: none; counter-reset: machine-step; display: grid; gap: 18px; }
.machine-instructions li { counter-increment: machine-step; position: relative; padding-right: 34px; }
.machine-instructions li:before { content: counter(machine-step, decimal-leading-zero); position: absolute; right: 0; top: 1px; display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid #4167c84d; border-radius: 50%; color: var(--gold); font: 9px Arial; }
.machine-instructions li b { display: block; font-size: 13px; color: #ece2cd; margin-bottom: 5px; }
.machine-instructions li span { display: block; font-size: 12px; line-height: 1.85; color: #b4ada0; }
.machine-instructions .machine-coach-note { padding: 12px; border-right: 2px solid #365bbb; border-radius: 3px; background: #17140f; font-size: 11px; }
.machine-instruction-source { display: inline-flex; align-items: center; gap: 6px; font-size: 9px; color: #5275cd; min-height: 38px; margin-top: 6px; }
.machine-instruction-source .ui-icon { width: 11px; height: 11px; }
.machine-footer { text-align: center; margin-top: 15px; padding-top: 16px; border-top: 1px solid #29251c; }
.machine-footer .powered { font-size: 9px; }
.machine-footer .powered b { font-size: 13px; }

/* A compact sample menu with two photographed dishes in each category. */
.menu-result-count { font-size: 10px; color: #4b6fcb; margin: 8px 0 0; }
.dish-list { gap: 25px; }
.menu-group { display: grid; gap: 10px; min-width: 0; }
.menu-group h4 { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 2px; padding-bottom: 9px; border-bottom: 1px solid #4167c833; font-size: 15px; color: #aebee8; }
.menu-group h4 span { font: 10px Arial, sans-serif; color: #4b6fcb; }
.dish { padding: 10px; gap: 9px; background: linear-gradient(130deg, #1c1914, #151515); border-color: #4167c82b; transition: border-color .2s, background .2s; }
.dish:hover, .dish:focus-visible { border-color: #4167c877; background: #231e15; }
.dish > img { width: 76px; height: 76px; object-fit: cover; object-position: center; background: #111; }
.dish-arrow { flex-shrink: 0; }
#dialog-content .menu-detail-image { width: 100%; height: auto; max-height: 340px; object-fit: contain; object-position: center; background: #101010; margin: 8px 0 10px; }
.dish-includes { display: grid; gap: 5px; margin: 17px 0 22px; padding: 12px 14px; border-right: 2px solid var(--gold); background: #4167c810; border-radius: 4px; font-size: 13px; }
.dish-includes b { color: #aebee8; font-size: 11px; }
.dish-includes span { color: #bfb7a8; line-height: 1.7; }
@media (max-width: 350px) {
  .machine-page { padding-inline: 14px; }
  .machine-video { height: 310px; }
}

/* Consistent text wordmark: tap in white, ly and the period in gold. */
.wordmark, .powered b, .ml-powered b, .pl-link-art b { color: #fff; }
.wordmark > span, .powered b > span, .ml-powered b > span, .pl-link-art b > span { color: var(--gold); }
.lock-time { margin-bottom: 20px; }
