/* amiGuest web: sea ink and lemon, Bricolage Grotesque for display, Figtree for text.
   Layout: one column of bands; product screenshots carry the visuals, no decorative imagery. */
:root {
  --ink: #0F3440;
  --ink-2: #163F4C;
  --ink-soft: #4A6670;
  --ink-faint: #8FA3A9;
  --salt: #F3F6F4;
  --shell: #FFFFFF;
  --line: #DCE5E2;
  --lemon: #FFCE3A;
  --lagoon: #2A8C8C;
  --lagoon-soft: #DDF0EE;
  --coral: #F0644A;
  --olive: #5E8C3A;
  --olive-soft: #E6F0DC;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --max: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--salt); color: var(--ink); font: 17px/1.6 var(--body); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--lemon); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lemon); color: var(--ink); padding: 8px 16px; border-radius: 999px; font-weight: 700; z-index: 20; }
.skip:focus { left: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(64px, 9vw, 120px); }
.band.tight { padding-block: clamp(48px, 6vw, 80px); }
.dark { background: var(--ink); color: var(--shell); }
.dark .muted { color: #A9C1C6; }
.muted { color: var(--ink-soft); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 60ch; }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }

/* Header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(15, 52, 64, 0.94); backdrop-filter: saturate(1.4) blur(10px); color: var(--shell); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--ink); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.35rem var(--display); letter-spacing: -0.03em; }
.brand img { height: 30px; width: auto; }
.by-amidal { display: flex; align-items: flex-end; gap: 10px; color: #A9C1C6; font-size: 0.9rem; line-height: 1.6; }
.by-amidal img { height: 36px; width: auto; }
.site-nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.site-nav a { text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.site-nav a:hover { background: rgba(255, 255, 255, 0.08); }
.site-nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.12); }
.lang-link { border: 1.5px solid rgba(255, 255, 255, 0.28); }
@media (max-width: 760px) { .site-nav .optional { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 700 1.05rem var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--lemon); color: var(--ink); }
.btn-ghost { color: inherit; border: 1.5px solid currentColor; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero */
.hero { background: var(--ink); color: var(--shell); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 110px); }
.hero h1 { color: var(--shell); }
.hero h1 .accent { color: var(--lemon); }
.hero .lede { color: #C9DADD; margin-top: 22px; }
.hero .btn-row { margin-top: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.chips li { font-size: 0.92rem; font-weight: 500; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: #DCE8EA; }
.device { position: relative; border-radius: 28px; padding: 12px; background: #061A21; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08); }
.device img { border-radius: 18px; width: 100%; }
/* Hero stage: the guest tablet in front, the kitchen display behind, live notifications floating over them. */
.stage { position: relative; padding: 9% 0 6% 0; }
.stage .device-front { position: relative; z-index: 2; }
.stage .device-back { position: absolute; z-index: 1; top: 0; right: -6%; width: 62%; transform: rotate(5deg); opacity: 0.95; }
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; background: var(--shell); color: var(--ink); padding: 12px 18px 12px 12px; border-radius: 18px; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.55); font-weight: 700; line-height: 1.25; }
.float small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 0.85rem; }
.float-call { top: 4%; left: -4%; }
.float-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; font-size: 1.2rem; }
.live { left: clamp(-12px, -2vw, -28px); bottom: 2%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .stage .device-front { animation: rise .9s cubic-bezier(.2, .7, .2, 1) .15s both; }
  .stage .device-back { animation: tilt 1s cubic-bezier(.2, .7, .2, 1) .35s both; }
  .float-call { animation: pop .5s cubic-bezier(.3, 1.6, .5, 1) 1.1s both; }
  .live { animation: pop .5s cubic-bezier(.3, 1.6, .5, 1) 1.5s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes tilt { from { opacity: 0; transform: rotate(12deg) translateY(30px); } }
@keyframes pop { from { opacity: 0; transform: scale(.7) translateY(10px); } }

/* Food strip: real dishes from the demo menu, slowly moving; static and scrollable for reduced motion. */
.strip { background: var(--ink); padding-block: 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.strip-track { display: flex; gap: 16px; width: max-content; }
.strip-dupe { display: contents; }
.strip figure { margin: 0; width: clamp(200px, 22vw, 280px); flex: none; position: relative; }
.strip img { border-radius: 18px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.strip figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(15, 52, 64, 0.82); color: var(--shell); font-weight: 700; font-size: 0.9rem; padding: 4px 12px; border-radius: 999px; }
@media (prefers-reduced-motion: no-preference) {
  .strip-track { animation: slide 70s linear infinite; }
  .strip:hover .strip-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .strip { overflow-x: auto; } .strip-dupe { display: none; } }
@keyframes slide { to { transform: translateX(calc(-50% - 8px)); } }

.feature-group { display: grid; gap: 8px; }
.feature-group + .feature-group { margin-top: clamp(40px, 6vw, 64px); }
.group-title { font-size: 1rem; text-transform: none; color: var(--lagoon); font-family: var(--body); font-weight: 700; letter-spacing: 0; }

.cta-band .wrap { display: grid; gap: 28px; justify-items: start; }
.cta-band h2 { color: var(--shell); max-width: 22ch; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.cta-band .accent, .hero h1 .accent { color: var(--lemon); }
.legal { color: #7F9AA0; line-height: 1.5; }
.pill { position: relative; display: inline-grid; min-width: 9.5em; height: 38px; border-radius: 999px; font-size: 0.95rem; }
.pill span { grid-area: 1 / 1; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px; }
.pill .prep { background: #FFF5D6; color: #8A6500; }
.pill .prep::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #F2B705; }
.pill .done { background: var(--olive-soft); color: var(--olive); opacity: 0; }
.pill .done::before { content: "✓"; font-weight: 800; }
@media (prefers-reduced-motion: no-preference) {
  .pill .prep { animation: prep 6s infinite; }
  .pill .done { animation: done 6s infinite; }
  .pill .prep::before { animation: pulse 1s infinite alternate; }
}
@keyframes prep { 0%, 55% { opacity: 1; } 62%, 100% { opacity: 0; } }
@keyframes done { 0%, 55% { opacity: 0; transform: scale(0.9); } 62%, 95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes pulse { from { transform: scale(0.75); } to { transform: scale(1.2); } }

/* Steps */
.steps { display: grid; gap: clamp(48px, 7vw, 96px); counter-reset: step; }
.step { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.step:nth-child(even) .step-text { order: 2; }
.step-text { display: grid; gap: 14px; }
.step-no { font: 800 1rem var(--display); color: var(--lagoon); }
.step-text p { font-size: 1.1rem; color: var(--ink-soft); max-width: 46ch; }
.shot { border-radius: 22px; padding: 10px; background: var(--ink); box-shadow: 0 30px 60px -36px rgba(15, 52, 64, 0.65); }
.shot img { border-radius: 14px; width: 100%; }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.role { background: var(--shell); border-radius: 24px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.role figure { margin: 0; background: var(--ink); padding: 14px 14px 0; }
.role figure img { border-radius: 12px 12px 0 0; }
.role-body { padding: 24px; display: grid; gap: 10px; align-content: start; }
.role-tag { justify-self: start; font-size: 0.85rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.role a { font-weight: 700; color: var(--lagoon); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0 32px; border-top: 1.5px solid var(--line); }
.feature { padding: 26px 24px 26px 0; border-bottom: 1.5px solid var(--line); display: grid; gap: 8px; align-content: start; }
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--ink-soft); }
.feature svg { width: 28px; height: 28px; color: var(--lagoon); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--shell); border-radius: 18px; padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font: 700 1.12rem var(--display); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--lagoon); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 20px; color: var(--ink-soft); max-width: 70ch; }

/* Contact */
.contact .wrap { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact h2 { color: var(--shell); }
.contact-mail { font: 700 1.2rem var(--display); color: var(--lemon); text-decoration: none; }
form.inquiry { background: var(--shell); color: var(--ink); border-radius: 28px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea { font: 1rem var(--body); color: var(--ink); padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; background: var(--shell); width: 100%; }
.field input:focus, .field textarea:focus { border-color: var(--lagoon); outline: none; }
.field textarea { min-height: 130px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--ink-soft); }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--lagoon); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 700; min-height: 1.5em; }
.form-status.ok { color: var(--olive); }
.form-status.error { color: var(--coral); }

/* Docs (guides) */
.doc-hero { background: var(--ink); color: var(--shell); padding-block: clamp(48px, 7vw, 88px); }
.doc-hero .lede { color: #C9DADD; margin-top: 16px; }
.crumbs { font-size: 0.95rem; margin-bottom: 18px; color: #A9C1C6; }
.crumbs a { color: var(--lemon); }
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.level { background: var(--shell); border-radius: 24px; padding: 28px; text-decoration: none; display: grid; gap: 10px; border: 2px solid transparent; transition: border-color .15s; }
.level:hover { border-color: var(--lagoon); }
.level .level-for { font-size: 0.9rem; font-weight: 700; color: var(--lagoon); }
.level p { color: var(--ink-soft); }
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: calc(88px + env(safe-area-inset-top, 0px)); display: grid; gap: 4px; font-size: 0.95rem; }
.toc strong { font-family: var(--display); margin-bottom: 6px; }
.toc a { text-decoration: none; color: var(--ink-soft); padding: 4px 0; }
.toc a:hover { color: var(--ink); }
.prose { max-width: 74ch; display: grid; gap: 18px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 28px; scroll-margin-top: 96px; }
.prose h3 { margin-top: 8px; }
.prose ol, .prose ul { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.prose li::marker { color: var(--lagoon); font-weight: 700; }
.prose figure { margin: 8px 0; }
.prose figcaption { font-size: 0.92rem; color: var(--ink-soft); margin-top: 8px; }
.prose .ui { font-weight: 700; background: var(--lagoon-soft); padding: 1px 8px; border-radius: 6px; white-space: nowrap; }
.note { background: var(--shell); border-left: 4px solid var(--lemon); border-radius: 0 14px 14px 0; padding: 16px 20px; }
.legend { display: grid; gap: 8px; padding: 0; list-style: none; }
.legend li { display: flex; gap: 10px; align-items: center; }
.swatch { width: 18px; height: 18px; border-radius: 5px; flex: none; border: 1.5px solid var(--line); }

/* Footer */
.site-foot { background: var(--ink); color: #A9C1C6; padding-block: 48px calc(48px + env(safe-area-inset-bottom, 0px)); font-size: 0.95rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: center; }
.site-foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-foot a { color: var(--shell); text-decoration: none; }
.site-foot .brand { color: var(--shell); }

@media (max-width: 900px) {
  .hero .wrap, .step, .contact .wrap, .doc { grid-template-columns: minmax(0, 1fr); }
  .step:nth-child(even) .step-text { order: 0; }
  .roles, .levels { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; background: var(--shell); padding: 18px 20px; border-radius: 18px; }
  .live { left: 8px; bottom: -14px; }
  .float-call { left: 8px; top: 0; }
  .stage { padding: 12% 0 8%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .row-2 { grid-template-columns: minmax(0, 1fr); }
  .site-head .wrap { height: 60px; }
  .btn { width: 100%; }
}

/* Pay at the table and book from the app: copy beside a small drawn device. */
.pay-band { background: var(--ink); color: var(--shell); }
.pay-band h2 { color: var(--shell); }
.pay-band .muted { color: #A9C1C6; }
.pay { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.pay + .pay { margin-top: clamp(64px, 9vw, 112px); }
.pay-reverse .pay-copy { order: 2; }
.pay-copy { display: grid; gap: 20px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; font-weight: 500; }
.ticks li::before { content: "✓"; color: var(--ink); background: var(--lemon); width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 0.8rem; font-weight: 800; flex: none; transform: translateY(4px); }
.pay-visual { display: grid; place-items: center; }
.terminal { width: min(260px, 80%); aspect-ratio: 0.62; border-radius: 34px; background: #061A21; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), inset 0 0 0 2px rgba(255, 255, 255, .08); display: grid; justify-items: center; align-content: center; gap: 22px; padding: 28px; position: relative; }
.terminal-amount { font: 800 2.4rem var(--display); color: var(--shell); }
.terminal-hint { color: #A9C1C6; font-size: 0.95rem; text-align: center; }
.terminal-tap { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
.terminal-tap span { position: absolute; border: 3px solid var(--lemon); border-radius: 50%; inset: 0; opacity: .25; }
.terminal-tap span:nth-child(2) { inset: 18px; opacity: .55; }
.terminal-tap span:nth-child(3) { inset: 36px; opacity: 1; background: var(--lemon); }
.terminal-ok { position: absolute; bottom: 28px; background: var(--olive-soft); color: var(--olive); font-weight: 800; padding: 8px 18px; border-radius: 999px; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .terminal-tap span:nth-child(1) { animation: ring 2.4s ease-out infinite; }
  .terminal-tap span:nth-child(2) { animation: ring 2.4s ease-out .4s infinite; }
  .terminal-ok { animation: paid 6s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) { .terminal-ok { opacity: 1; } }
@keyframes ring { from { transform: scale(.8); opacity: .8; } to { transform: scale(1.35); opacity: 0; } }
@keyframes paid { 0%, 50% { opacity: 0; transform: translateY(8px); } 58%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.phone { width: min(250px, 78%); aspect-ratio: 0.6; border-radius: 40px; background: var(--salt); border: 10px solid #061A21; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); padding: 22px 16px; display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
.phone-head { font: 800 1.3rem var(--display); }
.phone-card { background: var(--shell); border-radius: 18px; padding: 16px; display: grid; gap: 4px; }
.phone-card b { font-family: var(--display); font-size: 1.1rem; }
.phone-card span { color: var(--ink-soft); font-size: 0.92rem; }
.phone-ok { background: var(--olive-soft); color: var(--olive); font-weight: 800; border-radius: 999px; padding: 8px 14px; justify-self: start; }
.phone-points { margin-top: auto; background: var(--ink); color: var(--shell); border-radius: 18px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: baseline; }
.phone-points b { font: 800 1.4rem var(--display); color: var(--lemon); }
@media (max-width: 900px) {
  .pay { grid-template-columns: minmax(0, 1fr); }
  .pay-reverse .pay-copy { order: 0; }
}

/* Showcase: real screens in a bento grid on the dark band; the language list is the one moving element. */
.showcase .section-head .lede { color: #A9C1C6; }
.showcase h2 { color: var(--shell); }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(32px, 5vw, 56px); }
.tile { background: var(--ink-2); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid rgba(255, 255, 255, .06); }
.tile-wide { grid-column: span 2; }
.tile-shot { background: #0A2730; }
.tile-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tile-text { padding: 22px 24px 26px; display: grid; gap: 8px; }
.tile-text h3 { color: var(--lemon); font-size: 1.35rem; }
.tile-text p { color: #C9DADD; font-size: 0.98rem; }
.langs { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.langs li { font: 700 0.86rem var(--body); padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); color: var(--shell); }
@media (prefers-reduced-motion: no-preference) {
  .langs li { animation: lang-glow 9s infinite; }
  .langs li:nth-child(2) { animation-delay: 1.5s; } .langs li:nth-child(3) { animation-delay: 3s; }
  .langs li:nth-child(4) { animation-delay: 4.5s; } .langs li:nth-child(5) { animation-delay: 6s; } .langs li:nth-child(6) { animation-delay: 7.5s; }
}
@keyframes lang-glow { 0%, 14% { background: var(--lemon); color: var(--ink); border-color: var(--lemon); } 18%, 100% { background: transparent; } }
.tile-chef { background: var(--lemon); }
.tile-chef .tile-text h3 { color: var(--ink); }
.tile-chef .tile-text p { color: var(--ink); }
.chat { padding: 24px 24px 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.bubble { padding: 12px 16px; border-radius: 18px; font-size: 0.95rem; max-width: 90%; }
.bubble.guest { background: var(--ink); color: var(--shell); justify-self: end; border-bottom-right-radius: 6px; }
.bubble.chef { background: var(--shell); color: var(--ink); border-bottom-left-radius: 6px; }

/* Guest phones */
.phones { background: var(--shell); }
.phone-row { display: flex; justify-content: center; align-items: flex-start; }
.phone-frame { width: min(240px, 34%); border-radius: 36px; border: 9px solid var(--ink); background: var(--ink); overflow: hidden; box-shadow: 0 40px 70px -40px rgba(15, 52, 64, .7); }
.phone-frame img { width: 100%; border-radius: 27px; }
.phone-frame:nth-child(1) { transform: rotate(-5deg) translateX(18px); margin-top: 40px; }
.phone-frame:nth-child(2) { position: relative; z-index: 1; }
.phone-frame:nth-child(3) { transform: rotate(5deg) translateX(-18px); margin-top: 40px; }

@media (max-width: 900px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile-wide { grid-column: auto; }
}

/* Guest app page */
.app-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.app-hero .phone-frame { width: min(300px, 70%); transform: rotate(-3deg); margin-top: 0; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store-badge { display: grid; min-width: 168px; padding: 10px 20px; border-radius: 14px; background: var(--shell); color: var(--ink); font-weight: 700; font-size: 1.2rem; line-height: 1.2; }
.store-badge small { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--lagoon); }
.app-shots { gap: 20px; margin-top: 48px; }
.app-shots .phone-frame { width: min(230px, 23%); transform: none; margin-top: 0; }
.app-shots .phone-frame:nth-child(even) { margin-top: 48px; }
.by-amidal { text-decoration: none; }
.by-amidal span { text-decoration: underline; text-underline-offset: 3px; }
.guide-langs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 18px; }
.guide-langs a { color: #A9C1C6; }
.guide-langs a[aria-current] { color: var(--lemon); font-weight: 700; text-decoration: none; }
@media (max-width: 700px) {
  .app-shots { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .app-shots .phone-frame { flex: 0 0 62%; width: auto; scroll-snap-align: center; }
  .app-shots .phone-frame:nth-child(even) { margin-top: 0; }
}
/* Notifications on the app page: what triggers them (left) and a lock screen with the real texts (right) */
.notify-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.notify-list li { display: flex; gap: 14px; align-items: center; }
.notify-list strong { display: block; font-size: 1.1rem; }
.notify-list li span:not(.notify-icon) { color: #A9C1C6; }
.notify-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; font-size: 1.4rem; }
.lock { justify-self: center; width: min(360px, 100%); padding: 40px 18px 28px; border-radius: 44px; border: 9px solid #0a2730;
  background: radial-gradient(120% 80% at 20% 0%, #2A8C8C 0%, #164B57 45%, #0F3440 100%); display: grid; gap: 10px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.lock-time { text-align: center; color: #fff; font-family: var(--display, inherit); font-size: 4.2rem; font-weight: 700; line-height: 1; }
.lock-date { text-align: center; color: rgba(255, 255, 255, .8); margin-bottom: 18px; }
.push-note { display: grid; gap: 2px; padding: 12px 14px; border-radius: 20px; background: rgba(255, 255, 255, .9); color: var(--ink); backdrop-filter: blur(8px); }
.push-top { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.push-top img { border-radius: 5px; }
.push-when { margin-left: auto; text-transform: none; letter-spacing: 0; }
.push-note > span:last-child { color: var(--ink); }
.phones .store-badge { background: var(--ink); color: #fff; }
.phones .store-badge small { color: var(--lemon); }
.dark .app-shots .phone-frame { border-color: #1C4B57; }
.demo-qrs { display: flex; flex-wrap: wrap; gap: 24px; margin: 16px 0 24px; }
.demo-qr { margin: 0; padding: 16px; border-radius: 22px; background: #fff; text-align: center; font-weight: 700; }
.demo-qr img { width: 220px; height: 220px; }
/* Games on the table tablet (home) */
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; margin-top: 32px; }
.games-grid figure { margin: 0; display: grid; gap: 12px; }
.games-grid img { border-radius: 18px; width: 100%; height: auto; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.games-grid figcaption { color: #A9C1C6; }
.games-grid figcaption strong { display: block; color: #fff; font-size: 1.15rem; margin-bottom: 2px; }
.games-chips { margin-top: 24px; }
.games-chips li { background: rgba(255, 255, 255, .1); color: #fff; border-color: transparent; }
