:root {
  color-scheme: light;
  --ink: #111414;
  --ink-2: #202928;
  --paper: #f7f3ec;
  --paper-2: #ebe3d6;
  --white: #fffdf8;
  --muted: #66706c;
  --line: rgba(17, 20, 20, 0.12);
  --line-dark: rgba(255, 253, 248, 0.16);
  --lime: #d6ff4a;
  --mint: #8de8c1;
  --tomato: #ff725e;
  --gold: #f3bc5d;
  --blue: #4f8cff;
  --shadow: 0 24px 80px rgba(17, 20, 20, 0.18);
  --max: 1180px;
  font-family:
    Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

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

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

button,
select,
input,
textarea {
  border: 0;
}

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

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

h1,
h2 {
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 940px;
  font-size: clamp(46px, 7.4vw, 108px);
  line-height: 0.94;
  font-weight: 760;
}

.hero-title {
  display: grid;
  gap: 0.02em;
  font-size: clamp(42px, 5.2vw, 74px);
  line-height: 0.92;
  text-wrap: wrap;
}

.hero-title > span {
  display: block;
}

h2 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
  font-weight: 740;
}

h3 {
  font-size: 18px;
  line-height: 1.18;
}

p {
  line-height: 1.65;
}

.hero {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 9, 9, 0.9) 0%, rgba(7, 9, 9, 0.64) 44%, rgba(7, 9, 9, 0.28) 100%),
    linear-gradient(0deg, rgba(7, 9, 9, 0.8) 0%, rgba(7, 9, 9, 0.08) 44%);
}

.topbar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand__mark {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: var(--lime);
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 14px;
}

.nav-links a,
.topbar__cta {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.nav-links a:hover {
  color: var(--white);
}

.topbar__cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 253, 248, 0.34);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.08);
  backdrop-filter: blur(12px);
  font-weight: 700;
}

.topbar__cta:hover {
  background: var(--white);
  color: var(--ink);
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  width: min(var(--max), calc(100% - 32px));
  min-height: calc(100svh - 92px);
  margin: 0 auto;
  padding: clamp(40px, 6vh, 72px) 0 clamp(36px, 6vh, 72px);
}

.hero__content {
  min-width: 0;
}

.hero__content h1 {
  max-width: 720px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--tomato);
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.typed-word {
  display: inline-block;
  min-width: 8.6ch;
  color: var(--lime);
}

.hero__lead {
  max-width: 650px;
  margin-top: 28px;
  color: rgba(255, 253, 248, 0.82);
  font-size: clamp(18px, 2vw, 22px);
}

.hero__actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button,
.admin-actions button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 820;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.admin-actions button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(214, 255, 74, 0.24);
}

.button--ghost {
  border: 1px solid rgba(255, 253, 248, 0.32);
  color: var(--white);
  background: rgba(255, 253, 248, 0.08);
}

.button--light {
  margin-top: 24px;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(214, 255, 74, 0.24);
}

.hero-preview {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  min-width: 0;
  justify-self: end;
}

.phone-shell {
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 8px;
  background: #111414;
  box-shadow: var(--shadow);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  color: rgba(255, 253, 248, 0.7);
  font-size: 12px;
}

.menu-app {
  display: grid;
  gap: 14px;
  padding: 14px;
  background: #fbf6ed;
  color: var(--ink);
}

.menu-hero {
  display: grid;
  gap: 7px;
  min-height: 112px;
  align-content: end;
  padding: 16px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(17, 20, 20, 0.12), rgba(17, 20, 20, 0.72)),
    url("./assets/qr-menu-hero.jpg") center / cover;
  color: var(--white);
}

.menu-hero strong {
  max-width: 13ch;
  font-size: 25px;
  line-height: 1.02;
}

.menu-hero__label,
.panel-label,
.price-panel__label {
  color: var(--tomato);
  font-size: 11px;
  font-weight: 840;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-field {
  display: grid;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.search-field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(17, 20, 20, 0.1);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}

.category-demo,
.category-viewport {
  display: grid;
  gap: 8px;
  overflow: hidden;
}

.category-track,
.subcategory-track,
.category-rail {
  display: flex;
  width: max-content;
  gap: 8px;
  will-change: transform;
}

.category-demo.is-running .category-track {
  animation: heroRail 9s ease-in-out infinite;
}

.category-demo.is-running .subcategory-track {
  animation: heroRailSmall 8s ease-in-out infinite 500ms;
}

.category-track button,
.subcategory-track button,
.category-rail button {
  min-height: 36px;
  border-radius: 8px;
  padding: 0 13px;
  background: #e8dfd1;
  color: #2d3431;
  font-size: 13px;
  white-space: nowrap;
}

.category-rail .is-active {
  background: var(--ink);
  color: var(--white);
}

.category-track .is-active {
  background: var(--white);
  color: var(--ink);
}

.subcategory-track button,
.category-rail--sub button {
  min-height: 30px;
  background: #f2eadf;
  color: #58615c;
  font-size: 12px;
}

.dish-list {
  display: grid;
  gap: 10px;
}

.dish-row {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(17, 20, 20, 0.08);
  border-radius: 8px;
  background: var(--white);
}

.dish-thumb {
  width: 82px;
  height: 82px;
  border-radius: 8px;
  object-fit: cover;
}

.dish-row h2,
.dish-row p,
.dish-row strong {
  display: block;
}

.dish-row h2 {
  font-size: 15px;
  line-height: 1.18;
}

.dish-row p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.dish-row strong {
  margin-top: 8px;
}

.floating-note {
  justify-self: end;
  max-width: 250px;
  margin-top: -28px;
  padding: 16px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--lime);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.floating-note span {
  display: block;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.floating-note strong {
  display: block;
  margin-top: 8px;
  line-height: 1.2;
}

.section {
  padding: clamp(72px, 11vw, 140px) 0;
}

.section__inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.benefit-ticker {
  overflow: hidden;
  border-block: 1px solid rgba(17, 20, 20, 0.12);
  background: var(--lime);
  color: var(--ink);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 18px 0;
  animation: tickerMove 28s linear infinite;
  will-change: transform;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 880;
  white-space: nowrap;
}

.ticker-track span::after {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ink);
  content: "";
}

.feature-grid,
.admin-grid,
.split-grid,
.waiter-grid,
.notify-grid,
.pricing-grid,
.final-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.feature-copy p {
  max-width: 590px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
}

.guest-section {
  background: #fffdf8;
}

.guest-title {
  font-size: clamp(32px, 4vw, 52px);
}

.guest-section .feature-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-2);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 4px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--lime);
  content: "";
  box-shadow: inset 0 0 0 5px var(--ink);
}

.wide-demo,
.admin-demo,
.waiter-demo,
.qr-wall,
.order-demo,
.notify-demo,
.price-panel,
.lead-form,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 70px rgba(17, 20, 20, 0.08);
}

.wide-demo {
  display: grid;
  gap: 18px;
  overflow: hidden;
  padding: 18px;
}

.wide-demo__top,
.admin-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wide-demo__top span {
  color: var(--muted);
  font-weight: 800;
}

.wide-demo__top strong {
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--ink);
  color: var(--lime);
  font-size: 14px;
}

.category-viewport {
  padding: 4px 0;
}

.wide-demo.is-visible .category-rail:first-child {
  animation: railShowcase 5.8s cubic-bezier(0.65, 0, 0.35, 1) 600ms both;
}

.wide-demo.is-visible .category-rail--sub {
  animation: railShowcaseSub 5.4s cubic-bezier(0.65, 0, 0.35, 1) 950ms both;
}

.dish-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dish-preview-grid article {
  min-width: 0;
}

.dish-card-photo {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  border-radius: 8px;
  object-fit: cover;
}

.dish-preview-grid h3 {
  margin-top: 10px;
  font-size: 15px;
}

.dish-preview-grid span {
  display: block;
  margin-top: 6px;
  color: var(--tomato);
  font-weight: 860;
}

.section--ink {
  background: #141817;
  color: var(--white);
}

.section--ink .feature-copy p,
.section--ink .check-list li {
  color: rgba(255, 253, 248, 0.72);
}

.section--ink .check-list li::before {
  background: var(--mint);
  box-shadow: inset 0 0 0 5px #141817;
}

.admin-demo {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  padding: 14px;
  background: #202928;
  border-color: var(--line-dark);
  color: var(--white);
}

.admin-sidebar,
.admin-panel {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 14px;
  background: #141817;
}

.admin-sidebar button {
  min-height: 38px;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.08);
  color: rgba(255, 253, 248, 0.74);
  text-align: left;
  padding: 0 12px;
}

.admin-sidebar .is-active {
  background: var(--lime);
  color: var(--ink);
  font-weight: 840;
}

.admin-panel h3 {
  margin-top: 4px;
  font-size: 28px;
}

.status-pill {
  flex: 0 0 auto;
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(141, 232, 193, 0.16);
  color: var(--mint);
  font-size: 13px;
  font-weight: 820;
}

.form-sim {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.form-sim label {
  display: grid;
  gap: 6px;
  min-width: 0;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 12px;
  color: rgba(255, 253, 248, 0.56);
  font-size: 12px;
}

.form-sim span {
  color: var(--white);
  font-size: 15px;
  font-weight: 750;
}

.admin-actions button {
  min-height: 44px;
  background: var(--white);
  color: var(--ink);
}

.admin-actions button + button {
  background: var(--tomato);
  color: var(--white);
}

.split-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
}

.order-section .split-grid {
  grid-template-columns: minmax(0, 0.78fr) minmax(560px, 1.12fr);
}

.order-section {
  background: #111414;
  color: var(--white);
}

.order-section .feature-copy p,
.order-section .check-list li {
  color: rgba(255, 253, 248, 0.72);
}

.order-section .check-list li::before {
  background: var(--mint);
  box-shadow: inset 0 0 0 5px #111414;
}

.waiter-section {
  background: #f3eadb;
}

.waiter-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.9fr);
}

.waiter-demo {
  position: relative;
  display: grid;
  min-height: 410px;
  align-content: center;
  gap: 18px;
  overflow: hidden;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(214, 255, 74, 0.16), transparent 42%),
    #ffffff;
}

.guest-call-card,
.staff-alert {
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 18px 60px rgba(17, 20, 20, 0.12);
}

.guest-call-card {
  display: grid;
  gap: 12px;
  width: min(330px, 100%);
  padding: 18px;
}

.guest-call-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.guest-call-card strong {
  font-size: 30px;
  line-height: 1;
}

.guest-call-card button {
  min-height: 48px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-weight: 840;
}

.service-pulse {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.service-pulse span {
  position: absolute;
  width: 152px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 114, 94, 0.44);
  border-radius: 999px;
  animation: pulseRing 3.4s ease-out infinite;
}

.service-pulse span:nth-child(2) {
  animation-delay: 700ms;
}

.service-pulse span:nth-child(3) {
  animation-delay: 1400ms;
}

.staff-alert {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  width: min(390px, 100%);
  justify-self: end;
  padding: 16px;
}

.alert-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 8px;
  background: var(--lime);
  font-size: 28px;
}

.staff-alert span,
.staff-alert p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.staff-alert strong {
  display: block;
  margin: 4px 0;
  font-size: 22px;
}

.qr-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  background: #fdfaf3;
}

.qr-ticket {
  display: grid;
  gap: 12px;
  justify-items: center;
  min-width: 0;
  padding: 14px;
  border: 1px dashed rgba(17, 20, 20, 0.24);
  border-radius: 8px;
  text-align: center;
}

.qr-ticket span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.qr-ticket strong {
  font-size: 15px;
}

.qr-art {
  width: 86px;
  max-width: 100%;
  aspect-ratio: 1;
  border: 8px solid var(--white);
  border-radius: 8px;
  background:
    linear-gradient(90deg, var(--ink) 12px, transparent 12px 22px, var(--ink) 22px 32px, transparent 32px 44px, var(--ink) 44px 58px, transparent 58px),
    linear-gradient(var(--ink) 12px, transparent 12px 22px, var(--ink) 22px 36px, transparent 36px 48px, var(--ink) 48px 60px, transparent 60px),
    var(--white);
  background-size: 58px 58px, 58px 58px;
  box-shadow: inset 0 0 0 1px rgba(17, 20, 20, 0.24);
}

.qr-art--alt {
  filter: hue-rotate(76deg);
}

.qr-art--third {
  filter: hue-rotate(170deg);
}

.order-demo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(240px, 0.8fr);
  gap: 16px;
  align-items: center;
  overflow: hidden;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(141, 232, 193, 0.16), transparent 44%),
    #fffdf8;
}

.order-phone,
.order-accept {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(17, 20, 20, 0.1);
}

.order-phone {
  gap: 14px;
  padding: 16px;
}

.order-phone__head,
.order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-phone__head {
  align-items: start;
}

.order-phone__head span,
.order-comment span,
.order-total span,
.order-accept span,
.order-accept p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.order-phone__head em {
  align-self: start;
  border-radius: 999px;
  padding: 7px 10px;
  background: #eef7df;
  color: #405139;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.order-phone__head strong {
  display: block;
  margin-top: 4px;
  font-size: 30px;
  line-height: 1;
}

.order-items {
  display: grid;
  gap: 8px;
}

.order-items div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f7f3ec;
}

.order-items span {
  color: var(--tomato);
  font-size: 18px;
  font-weight: 900;
}

.order-items p {
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.25;
}

.order-items strong {
  white-space: nowrap;
  font-size: 15px;
}

.order-comment {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.order-comment p {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.order-total {
  padding-top: 4px;
}

.order-total strong {
  font-size: 34px;
  line-height: 1;
}

.order-phone button,
.order-accept button {
  min-height: 46px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 880;
}

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

.order-accept {
  align-content: center;
  justify-items: start;
  gap: 14px;
  padding: 16px;
  background: #202928;
  color: var(--white);
}

.accept-check {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 999px;
  background: #31d17c;
  color: #052916;
  font-size: 31px;
  font-weight: 950;
  box-shadow: 0 18px 42px rgba(49, 209, 124, 0.34);
}

.order-accept strong {
  display: block;
  margin: 4px 0;
  color: var(--white);
  font-size: 22px;
  line-height: 1.12;
}

.order-accept p {
  color: rgba(255, 253, 248, 0.62);
}

.order-accept button {
  width: 100%;
  background: var(--lime);
  color: var(--ink);
  font-size: 16px;
}

.section--paper {
  background: #ece4d7;
}

.notify-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
}

.notify-demo {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #fffdf8;
}

.chat-window {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  background: #202928;
  color: var(--white);
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-dark);
}

.chat-head span {
  color: rgba(255, 253, 248, 0.66);
  font-size: 13px;
  font-weight: 760;
}

.chat-head strong {
  color: var(--lime);
}

.message-bubble {
  display: grid;
  gap: 7px;
  width: min(410px, 100%);
  padding: 13px 14px;
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.08);
}

.message-bubble:nth-of-type(3) {
  justify-self: end;
}

.message-bubble--crm {
  background: rgba(141, 232, 193, 0.12);
}

.message-bubble span {
  font-weight: 880;
}

.message-bubble p {
  color: rgba(255, 253, 248, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.integration-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.integration-tabs span {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 8px;
  background: #f7f3ec;
  color: var(--ink);
  text-align: center;
  font-size: 13px;
  font-weight: 850;
}

.pricing-section {
  background: #fffdf8;
}

.pricing-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
}

.price-copy p {
  max-width: 620px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 19px;
}

.price-panel {
  display: grid;
  gap: 22px;
  padding: 28px;
}

.price-panel strong {
  font-size: clamp(50px, 7vw, 86px);
  line-height: 0.9;
  letter-spacing: 0;
}

.price-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 700;
}

.faq-section {
  background: #f1e8da;
}

.faq-grid {
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px;
}

.faq-list summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 820;
}

.faq-list p {
  margin-top: 12px;
  color: var(--muted);
}

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

.final-grid {
  align-items: start;
}

.final-copy p {
  max-width: 560px;
  margin-top: 22px;
  color: rgba(255, 253, 248, 0.72);
  font-size: 18px;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: #202928;
  border-color: var(--line-dark);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 253, 248, 0.74);
  font-size: 13px;
  font-weight: 760;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 253, 248, 0.08);
  color: var(--white);
  outline: none;
}

.lead-form select {
  height: 52px;
  line-height: 52px;
  appearance: auto;
  -webkit-appearance: menulist;
}

.lead-form textarea {
  min-height: 112px;
  padding-top: 12px;
  resize: vertical;
}

.lead-form option {
  background: var(--ink);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--lime);
}

.lead-form .legal-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 12px;
  line-height: 1.45;
}

.lead-form .legal-check input {
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  accent-color: var(--lime);
}

.lead-form .legal-check a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  min-height: 22px;
  color: var(--mint);
  font-size: 14px;
}

.footer {
  padding: 28px 0;
  background: #0c0f0f;
  color: rgba(255, 253, 248, 0.72);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.footer__main,
.footer__legal {
  display: grid;
  gap: 12px;
}

.footer .brand {
  color: var(--white);
}

.footer p {
  margin: 0;
}

.footer__legal {
  justify-items: end;
  text-align: right;
  font-size: 14px;
}

.footer__legal nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.footer__legal a {
  color: rgba(255, 253, 248, 0.86);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-notice {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  display: grid;
  width: min(420px, calc(100% - 32px));
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 8px;
  background: rgba(12, 15, 15, 0.94);
  color: rgba(255, 253, 248, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.cookie-notice div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-notice a {
  color: var(--lime);
}

.cookie-notice button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  background: var(--lime);
  color: var(--ink);
  cursor: pointer;
  font-weight: 820;
}

.legal-page {
  background: #fffdf8;
  color: var(--ink);
}

.legal-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

.legal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
}

.legal-topbar .brand {
  color: var(--ink);
}

.legal-back {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid rgba(17, 20, 20, 0.14);
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 760;
}

.legal-document {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid rgba(17, 20, 20, 0.1);
  border-radius: 8px;
  background: #ffffff;
}

.legal-document h1 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 0.98;
}

.legal-document h2 {
  margin: 12px 0 0;
  font-size: 24px;
}

.legal-document p,
.legal-document li {
  color: rgba(17, 20, 20, 0.74);
  line-height: 1.65;
}

.legal-document ul,
.legal-document ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.legal-meta {
  color: rgba(17, 20, 20, 0.54);
  font-weight: 760;
}

.legal-note {
  border-left: 4px solid var(--lime);
  padding: 12px 0 12px 16px;
  background: rgba(214, 255, 74, 0.1);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

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

@keyframes heroRail {
  0%,
  22% {
    transform: translateX(0);
  }
  52%,
  72% {
    transform: translateX(-168px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes heroRailSmall {
  0%,
  20% {
    transform: translateX(0);
  }
  56%,
  76% {
    transform: translateX(-118px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes railShowcase {
  0% {
    transform: translateX(0);
  }
  48%,
  72% {
    transform: translateX(-310px);
  }
  100% {
    transform: translateX(-90px);
  }
}

@keyframes railShowcaseSub {
  0% {
    transform: translateX(0);
  }
  55%,
  76% {
    transform: translateX(-178px);
  }
  100% {
    transform: translateX(-52px);
  }
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes pulseRing {
  0% {
    opacity: 0.72;
    transform: scale(0.42);
  }
  78%,
  100% {
    opacity: 0;
    transform: scale(2.25);
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 40px 0 28px;
  }

  .hero-preview {
    width: min(620px, calc(100% - 32px));
    min-width: 0;
    justify-self: center;
  }

  .feature-grid,
  .admin-grid,
  .split-grid,
  .waiter-grid,
  .notify-grid,
  .pricing-grid,
  .final-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid .wide-demo {
    order: -1;
  }

  .guest-section .feature-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .guest-section .wide-demo {
    order: -1;
    width: 100%;
    max-width: 100%;
  }

  .guest-section .dish-preview-grid {
    display: none;
  }

  .order-section .split-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-title {
    font-size: clamp(38px, 10.8vw, 50px);
  }

  h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .topbar {
    width: calc(100% - 24px);
    gap: 12px;
  }

  .brand {
    font-size: 14px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .topbar__cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .section__inner,
  .hero-preview {
    width: calc(100% - 24px);
  }

  .hero-stage {
    width: calc(100% - 24px);
  }

  .hero__lead,
  .feature-copy p,
  .price-copy p,
  .final-copy p {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .floating-note {
    justify-self: stretch;
    max-width: none;
    margin-top: 10px;
  }

  .dish-preview-grid,
  .qr-wall,
  .order-demo,
  .form-sim,
  .integration-tabs {
    grid-template-columns: 1fr;
  }

  .waiter-demo {
    min-height: 360px;
    padding: 16px;
  }

  .staff-alert {
    justify-self: stretch;
  }

  .message-bubble,
  .message-bubble:nth-of-type(3) {
    justify-self: stretch;
  }

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

  .admin-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-sidebar .panel-label {
    grid-column: 1 / -1;
  }

  .price-panel {
    padding: 20px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    gap: 22px;
    text-align: center;
  }

  .footer__main {
    justify-items: center;
    max-width: 340px;
  }

  .footer__legal {
    justify-items: center;
    text-align: center;
  }

  .footer__legal nav {
    justify-content: center;
    max-width: 330px;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
