:root {
  --mesa-ivory: #f5efe4;
  --mesa-cream: #fffaf0;
  --mesa-paper: #fbf7ee;
  --mesa-charcoal: #211c19;
  --mesa-espresso: #35251e;
  --mesa-clay: #b85e42;
  --mesa-copper: #c87b50;
  --mesa-olive: #617054;
  --mesa-line: rgba(53, 37, 30, 0.16);
  --mesa-serif: Georgia, "Times New Roman", serif;
  --mesa-sans: Inter, "Segoe UI", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body.mesa-landing {
  overflow-x: hidden;
  color: var(--mesa-charcoal);
  background: var(--mesa-cream);
  font-family: var(--mesa-sans);
  font-size: 16px;
}

.mesa-landing a { color: inherit; }
.mesa-landing button { font: inherit; }

.marketing-shell,
.marketing-shell main { width: 100%; min-width: 0; }

.marketing-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(53, 37, 30, 0.11);
  background: rgba(255, 250, 240, 0.92);
  backdrop-filter: blur(14px);
}

.marketing-nav {
  display: flex;
  width: min(calc(100% - 2rem), 1280px);
  min-height: 76px;
  margin: 0 auto;
  align-items: center;
  gap: 2rem;
}

.mesa-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--mesa-espresso) !important;
  text-decoration: none;
}

.mesa-wordmark > span,
.ui-brand {
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 50% 50% 44% 44%;
  color: var(--mesa-cream);
  background: var(--mesa-clay);
  font-family: var(--mesa-serif);
  font-size: 1rem;
  font-weight: 700;
}

.mesa-wordmark strong { display: inline-flex; align-items: baseline; gap: .42rem; font-size: 1rem; letter-spacing: 0.24em; }
.mesa-wordmark strong span { color: #766a62; font-size: .62rem; font-weight: 650; letter-spacing: .02em; text-transform: none; }

.marketing-links {
  display: flex;
  margin: 0 auto;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.25rem);
}

.marketing-links a,
.marketing-footer-links a {
  color: #655951;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.marketing-links a:hover,
.marketing-footer-links a:hover { color: var(--mesa-clay); }

.marketing-nav-cta {
  display: inline-flex;
  min-height: 42px;
  padding: 0.7rem 1rem;
  align-items: center;
  gap: 1.15rem;
  border-radius: 999px;
  color: var(--mesa-cream) !important;
  background: var(--mesa-charcoal);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.marketing-menu { display: none; }

.mesa-section,
.mesa-hero {
  width: min(calc(100% - 2rem), 1180px);
  margin-inline: auto;
}

.mesa-hero {
  display: grid;
  min-height: 720px;
  padding: clamp(4rem, 8vw, 7rem) 0 5rem;
  align-items: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  gap: clamp(2rem, 6vw, 6rem);
}

.mesa-hero-copy { position: relative; z-index: 2; }

.mesa-kicker,
.mesa-eyebrow {
  margin: 0 0 1.2rem;
  color: var(--mesa-clay);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mesa-kicker { display: flex; align-items: center; gap: 0.65rem; }
.mesa-kicker span { width: 28px; height: 1px; background: currentColor; }

.mesa-hero h1,
.mesa-section h2,
.self-service-section h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--mesa-serif);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.mesa-hero h1 {
  max-width: 680px;
  font-size: clamp(3.35rem, 5.7vw, 5.8rem);
  line-height: 0.96;
}

.mesa-hero-lead {
  max-width: 620px;
  margin: 1.75rem 0 0;
  color: #685d55;
  font-size: clamp(1.02rem, 1.45vw, 1.16rem);
  line-height: 1.72;
}

.mesa-actions { display: flex; margin-top: 2rem; flex-wrap: wrap; gap: 0.8rem; }

.mesa-button {
  display: inline-flex;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.mesa-button:hover { transform: translateY(-2px); }
.mesa-button-primary { color: #fff !important; background: var(--mesa-clay); }
.mesa-button-primary:hover { background: #9d4933; }
.mesa-button-ghost { border-color: var(--mesa-line); background: rgba(255, 255, 255, 0.45); }
.mesa-button-ghost:hover { border-color: var(--mesa-clay); color: var(--mesa-clay); }

.mesa-hero-proof { display: flex; margin-top: 2.2rem; align-items: center; gap: 0.72rem; color: #766a62; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }
.mesa-hero-proof i { width: 3px; height: 3px; border-radius: 50%; background: var(--mesa-copper); }

.mesa-hero-visual { position: relative; min-height: 520px; }
.mesa-orbit { position: absolute; inset: -8% -14% 4% 0; border: 1px solid rgba(184, 94, 66, 0.13); border-radius: 50%; transform: rotate(-13deg); }
.mesa-orbit::before { position: absolute; inset: 12%; border: 1px solid rgba(184, 94, 66, 0.1); border-radius: inherit; content: ""; }

.ui-window,
.ui-device {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(53, 37, 30, 0.14);
  background: #fffdfa;
  box-shadow: 0 24px 70px rgba(73, 45, 33, 0.18);
}

.ui-window { border-radius: 14px; }
.ui-window-pos { z-index: 2; top: 20px; left: 0; width: 82%; min-height: 310px; transform: rotate(-2deg); }
.ui-window-kitchen { z-index: 3; right: 0; bottom: 32px; width: 55%; min-height: 220px; transform: rotate(2.5deg); background: #2b2724; color: #fffaf0; }
.ui-device-self { z-index: 4; bottom: -12px; left: 4%; width: 155px; height: 280px; padding: 1rem; border: 6px solid #292421; border-radius: 22px; transform: rotate(-5deg); }

.ui-window-bar { display: flex; height: 50px; padding: 0 0.85rem; align-items: center; gap: 0.55rem; border-bottom: 1px solid rgba(53,37,30,.1); }
.ui-window-bar .ui-brand { width: 24px; height: 24px; flex-basis: 24px; font-size: 0.72rem; }
.ui-window-bar small { font-size: 0.7rem; font-weight: 800; }
.ui-window-bar b { margin-left: auto; color: var(--mesa-olive); font-size: 0.58rem; text-transform: uppercase; }
.ui-window-kitchen .ui-window-bar { border-color: rgba(255,255,255,.1); }
.ui-window-kitchen .ui-window-bar b { color: #c8d6ba; }

.pos-mini-layout { display: grid; padding: 0.75rem; grid-template-columns: 0.55fr 1.8fr 1.2fr; gap: 0.65rem; }
.pos-mini-categories { display: flex; flex-direction: column; gap: 0.3rem; }
.pos-mini-categories span { padding: 0.42rem; border-radius: 4px; color: #80736a; font-size: 0.5rem; font-weight: 700; }
.pos-mini-categories .active { color: var(--mesa-clay); background: #faece6; }
.pos-mini-products { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; }
.pos-mini-products div { display: flex; min-height: 72px; padding: 0.55rem; flex-direction: column; justify-content: flex-end; border: 1px solid #eee4d8; border-radius: 7px; background: linear-gradient(145deg, #f5eee3, #fffaf3); }
.pos-mini-products span { font-family: var(--mesa-serif); font-size: 0.68rem; }
.pos-mini-products strong { margin-top: 0.2rem; color: var(--mesa-clay); font-size: 0.5rem; }
.pos-mini-ticket { padding: 0.65rem; border-radius: 7px; background: #f5f0e8; }
.pos-mini-ticket > small { display: block; margin-bottom: 0.6rem; font-weight: 800; }
.pos-mini-ticket p { display: flex; margin: 0 0 0.35rem; justify-content: space-between; color: #5f544d; font-size: 0.53rem; }
.pos-mini-ticket > strong { display: block; margin: 0.7rem 0; padding-top: 0.55rem; border-top: 1px solid #dbd0c4; font-size: 0.68rem; }
.pos-mini-ticket button,
.ui-device button,
.self-screen button { width: 100%; border: 0; border-radius: 5px; color: #fff; background: var(--mesa-clay); font-size: 0.49rem; font-weight: 700; }
.pos-mini-ticket button { min-height: 30px; }

.ui-window-kitchen > .kitchen-mini-card { display: grid; margin: 0.7rem; padding: 0.7rem; grid-template-columns: 1fr auto; border-left: 3px solid var(--mesa-copper); border-radius: 5px; background: #393330; gap: 0.22rem; }
.kitchen-mini-card span, .kitchen-mini-card time { color: #c5b9b0; font-size: 0.5rem; }
.kitchen-mini-card strong, .kitchen-mini-card small { grid-column: 1 / -1; font-size: 0.62rem; }
.kitchen-mini-card small { color: #c5b9b0; font-weight: 400; }
.kitchen-mini-card em { width: max-content; margin-top: 0.3rem; padding: 0.2rem 0.35rem; border-radius: 99px; color: #2b2724; background: #deb175; font-size: 0.43rem; font-style: normal; font-weight: 800; text-transform: uppercase; }
.ui-window-kitchen > .kitchen-mini-card.muted { opacity: 0.56; }

.ui-device-camera { width: 28px; height: 5px; margin: -0.55rem auto 0.7rem; border-radius: 99px; background: #d8d0c8; }
.ui-device-self .ui-brand { width: 23px; height: 23px; font-size: .65rem; }
.ui-device-self > small { display: block; margin-top: 0.65rem; color: #81736a; font-size: 0.5rem; }
.self-mini-photo { display: grid; height: 76px; margin: 0.45rem 0; place-items: center; border-radius: 7px; color: rgba(255,255,255,.72); background: radial-gradient(circle at 40% 35%, #d18a5f 0 15%, transparent 16%), linear-gradient(145deg, #5d3729, #c06d49); font-family: var(--mesa-serif); font-size: 0.62rem; letter-spacing: .15em; }
.ui-device-self > strong { display: block; font-family: var(--mesa-serif); font-size: 0.72rem; }
.ui-device-self > p { margin: 0.18rem 0 0.55rem; color: #81736a; font-size: 0.45rem; }
.ui-device-self button { min-height: 27px; }

.mesa-section { padding: clamp(5rem, 9vw, 8rem) 0; }
.mesa-section h2,
.self-service-section h2 { max-width: 760px; font-size: clamp(2.4rem, 4.6vw, 4.4rem); line-height: 1.03; }
.mesa-section-heading { display: grid; margin-bottom: 3.5rem; align-items: end; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); gap: 3rem; }
.mesa-section-heading > p { margin: 0 0 0.5rem; color: #71655d; line-height: 1.7; }

.mesa-manifesto { display: grid; padding-top: 6.5rem; padding-bottom: 6.5rem; align-items: end; grid-template-columns: 1.2fr .8fr; gap: 6rem; border-top: 1px solid var(--mesa-line); }
.mesa-manifesto h2 em { color: var(--mesa-clay); font-style: italic; }
.mesa-manifesto > p { margin: 0 0 .4rem; color: #6a5e56; font-size: 1.03rem; line-height: 1.8; }

.mesa-ecosystem { border-top: 1px solid var(--mesa-line); }
.ecosystem-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; }
.ecosystem-grid article { min-height: 260px; padding: 2rem; border-top: 1px solid var(--mesa-line); border-right: 1px solid var(--mesa-line); }
.ecosystem-grid article:first-child { grid-row: span 2; min-height: 520px; border-left: 1px solid var(--mesa-line); }
.ecosystem-grid article:nth-child(4) { border-top: 0; }
.ecosystem-grid article > span,
.business-grid article > span { color: var(--mesa-clay); font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
.ecosystem-grid h3,
.business-grid h3 { margin: 2.7rem 0 .8rem; font-family: var(--mesa-serif); font-size: 1.7rem; font-weight: 500; }
.ecosystem-grid p,
.business-grid p { margin: 0; color: #766a62; line-height: 1.65; }
.table-map { display: grid; max-width: 340px; margin-top: 3rem; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.table-map i { display: grid; aspect-ratio: 1; place-items: center; border: 1px solid #d6cabe; border-radius: 50%; color: #95877d; font-size: .65rem; font-style: normal; }
.table-map i.busy { border-color: var(--mesa-clay); color: #fff; background: var(--mesa-clay); box-shadow: 0 0 0 7px #f4e2da; }

.mesa-feature { display: grid; align-items: center; grid-template-columns: .82fr 1.18fr; gap: clamp(3rem, 8vw, 8rem); }
.mesa-feature-copy > p:not(.mesa-eyebrow) { max-width: 520px; margin: 1.5rem 0 0; color: #6b6058; font-size: 1.02rem; line-height: 1.75; }
.mesa-checks { display: grid; margin: 2rem 0 0; padding: 0; list-style: none; gap: .85rem; }
.mesa-checks li { display: flex; align-items: center; gap: .7rem; font-size: .88rem; font-weight: 650; }
.mesa-checks li::before { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: var(--mesa-olive); background: #e8ecdf; content: "✓"; font-size: .65rem; }

.room-board { padding: 1.1rem; border: 1px solid var(--mesa-line); border-radius: 16px; background: #f0e7da; box-shadow: 0 25px 70px rgba(62,43,33,.13); transform: rotate(1.2deg); }
.room-board-head { display: flex; padding: .4rem .35rem 1.1rem; justify-content: space-between; }
.room-board-head span { font-family: var(--mesa-serif); font-size: 1.15rem; }
.room-board-head small { color: #786b62; font-size: .65rem; }
.room-tables { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.room-tables article { display: flex; min-height: 150px; padding: 1.1rem; flex-direction: column; border: 1px solid #e2d8cb; border-radius: 10px; background: #fffdfa; }
.room-tables small { color: #8a7b71; font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.room-tables strong { margin: auto 0; font-family: var(--mesa-serif); font-size: 1.3rem; font-weight: 500; }
.room-tables span { width: max-content; padding: .28rem .5rem; border-radius: 99px; color: var(--mesa-olive); background: #eaf0e3; font-size: .58rem; font-weight: 800; text-transform: uppercase; }
.room-tables .occupied { border-top: 3px solid var(--mesa-copper); }
.room-tables .paying { border-top: 3px solid var(--mesa-olive); }

.mesa-feature-dark { position: relative; width: 100%; max-width: none; padding-inline: max(1rem, calc((100vw - 1180px) / 2)); color: var(--mesa-cream); background: var(--mesa-charcoal); grid-template-columns: 1.18fr .82fr; }
.mesa-feature-dark .mesa-eyebrow { color: #e09a73; }
.mesa-feature-dark .mesa-feature-copy > p:not(.mesa-eyebrow) { color: #bdb1a8; }
.mesa-feature-dark .mesa-checks li::before { color: #d8e2c8; background: #45513d; }
.kitchen-board { overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: #2c2825; box-shadow: 0 28px 70px rgba(0,0,0,.3); transform: rotate(-1deg); }
.kitchen-board header { display: flex; padding: 1rem 1.2rem; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .72rem; font-weight: 750; }
.kitchen-board header b { color: #c8d7b7; font-size: .6rem; text-transform: uppercase; }
.kitchen-board header i { display: inline-block; width: 6px; height: 6px; margin-right: .3rem; border-radius: 50%; background: #8ea176; }
.kitchen-board > div { display: grid; padding: 1rem; grid-template-columns: 1fr 1fr; gap: .75rem; }
.kitchen-board article { min-height: 210px; padding: 1rem; border-left: 3px solid var(--mesa-copper); border-radius: 7px; background: #3b3531; }
.kitchen-board article:nth-child(2) { border-color: #889a72; }
.kitchen-board small { display: flex; justify-content: space-between; color: #c8bcb3; font-size: .58rem; font-weight: 700; }
.kitchen-board h3 { margin: 2rem 0 .45rem; font-family: var(--mesa-serif); font-size: 1.05rem; font-weight: 500; }
.kitchen-board p { margin: 0 0 1.5rem; color: #b7aba3; font-size: .67rem; }
.kitchen-board article > span { padding: .35rem .55rem; border-radius: 99px; font-size: .52rem; font-weight: 800; }
.state-fire { color: #2e251e; background: #dda66b; }
.state-new { color: #252c21; background: #abb995; }

.mesa-payments { border-bottom: 1px solid var(--mesa-line); }
.payment-pills { display: flex; margin-top: 1.7rem; flex-wrap: wrap; gap: .55rem; }
.payment-pills span { padding: .55rem .8rem; border: 1px solid var(--mesa-line); border-radius: 99px; color: #62574f; font-size: .68rem; font-weight: 700; }
.cash-card { padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 14px; color: #fffaf1; background: var(--mesa-espresso); box-shadow: 0 28px 70px rgba(52,34,27,.24); transform: rotate(1deg); }
.cash-card > div { display: flex; justify-content: space-between; color: #bfb1a7; font-size: .65rem; font-weight: 700; }
.cash-card .positive { color: #c6d8b5; }
.cash-card h3 { margin: 2.2rem 0 1.2rem; font-family: var(--mesa-serif); font-size: 1.6rem; font-weight: 500; }
.cash-card dl { margin: 0; }
.cash-card dl div { display: flex; padding: .8rem 0; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); }
.cash-card dt { color: #bfb1a7; font-size: .75rem; font-weight: 500; }
.cash-card dd { margin: 0; font-size: .82rem; font-weight: 750; }
.cash-card button { width: 100%; min-height: 46px; margin-top: 1.4rem; border: 0; border-radius: 7px; color: #34251e; background: var(--mesa-ivory); font-size: .72rem; font-weight: 800; }

.self-service-section { display: grid; position: relative; min-height: 760px; padding: clamp(5rem, 9vw, 8rem) max(1rem, calc((100vw - 1180px) / 2)); overflow: hidden; align-items: center; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 7vw, 7rem); color: #fffaf0; background: var(--mesa-clay); }
.self-service-section::before { position: absolute; width: 560px; height: 560px; right: -180px; top: -180px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; content: ""; }
.self-service-copy { position: relative; z-index: 2; }
.self-service-section .mesa-eyebrow { color: #f4d0be; }
.self-service-copy > p:not(.mesa-eyebrow) { max-width: 570px; margin: 1.6rem 0; color: #f5ded3; font-size: 1.05rem; line-height: 1.75; }
.self-benefits { display: grid; max-width: 570px; margin: 0; padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; list-style: none; }
.self-benefits li { padding: .72rem .8rem; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; color: #fffaf0; background: rgba(255,255,255,.07); font-size: .78rem; font-weight: 750; }
.self-benefits li::before { margin-right: .45rem; color: #f3c7b1; content: "·"; }
.self-service-copy blockquote { max-width: 530px; margin: 2.2rem 0; padding-left: 1.2rem; border-left: 2px solid #f3c7b1; font-family: var(--mesa-serif); font-size: 1.25rem; font-style: italic; line-height: 1.45; }
.mesa-text-link { display: inline-flex; align-items: center; gap: 1rem; font-size: .84rem; font-weight: 800; text-decoration: none; }
.self-showcase { position: relative; min-height: 570px; }
.self-terminal { position: absolute; width: min(80%, 390px); left: 18%; top: 0; padding: 16px 16px 52px; border-radius: 28px 28px 18px 18px; background: #292421; box-shadow: 0 35px 80px rgba(69,29,17,.34); transform: rotate(2deg); }
.self-terminal::after { position: absolute; width: 100px; height: 110px; left: calc(50% - 50px); bottom: -100px; background: #292421; clip-path: polygon(32% 0, 68% 0, 100% 100%, 0 100%); content: ""; }
.self-screen { min-height: 450px; padding: 1.4rem; border-radius: 16px; color: var(--mesa-charcoal); background: #fffaf0; }
.self-screen header { display: flex; justify-content: space-between; align-items: center; }
.self-screen header small { font-size: .65rem; font-weight: 800; }
.self-screen > p { margin: 2rem 0 .3rem; color: var(--mesa-clay); font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.self-screen h3 { max-width: 260px; margin: 0 0 1.2rem; font-family: var(--mesa-serif); font-size: 1.65rem; font-weight: 500; line-height: 1.05; }
.self-products { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.self-products article { display: flex; padding: .45rem; flex-direction: column; border: 1px solid #ebdfd1; border-radius: 8px; }
.food-placeholder { display: grid; height: 100px; margin-bottom: .5rem; place-items: center; border-radius: 6px; color: rgba(255,255,255,.65); font-family: var(--mesa-serif); font-size: 1.2rem; }
.food-one { background: linear-gradient(135deg, #704236 0 48%, #c77d55 48% 72%, #7f9165 72%); }
.food-two { background: linear-gradient(145deg, #d7b18d 0 38%, #6a493b 38% 60%, #eadcc9 60%); }
.self-products b { font-family: var(--mesa-serif); font-size: .75rem; font-weight: 500; }
.self-products span { margin-top: .25rem; color: var(--mesa-clay); font-size: .58rem; font-weight: 800; }
.self-screen > button { min-height: 42px; margin-top: 1.2rem; font-size: .65rem; }
.self-receipt { display: flex; position: absolute; z-index: 3; right: -1%; bottom: 40px; min-width: 220px; padding: 1rem; flex-direction: column; border-radius: 9px; color: var(--mesa-charcoal); background: #fffaf0; box-shadow: 0 20px 50px rgba(69,29,17,.25); transform: rotate(-3deg); }
.self-receipt span { color: var(--mesa-clay); font-size: .58rem; font-weight: 800; text-transform: uppercase; }
.self-receipt strong { margin: .35rem 0; font-family: var(--mesa-serif); font-size: 1rem; }
.self-receipt small { color: #807168; font-size: .58rem; }

.control-suite { border-bottom: 1px solid var(--mesa-line); }
.control-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--mesa-line); border-left: 1px solid var(--mesa-line); }
.control-grid > article { min-height: 430px; padding: 2rem; border-right: 1px solid var(--mesa-line); border-bottom: 1px solid var(--mesa-line); }
.control-number { color: var(--mesa-clay); font-size: .7rem; font-weight: 800; }
.control-grid h3 { margin: 3rem 0 1rem; font-family: var(--mesa-serif); font-size: 1.8rem; font-weight: 500; }
.control-grid p { color: #6d6159; line-height: 1.65; }
.control-grid ul { margin: 2rem 0 0; padding: 0; list-style: none; }
.control-grid li { padding: .65rem 0; border-top: 1px solid var(--mesa-line); color: #5f544d; font-size: .76rem; font-weight: 650; }
.alert-sample { display: flex; margin: 2rem 0 1rem; padding: .85rem; align-items: center; gap: .7rem; border: 1px solid #dcc9aa; border-radius: 7px; background: #fff5de; }
.alert-sample > i { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #bd7b34; }
.alert-sample > span { display: flex; flex-direction: column; }
.alert-sample b { font-size: .67rem; }
.alert-sample small { color: #7a6b58; font-size: .56rem; }
.alert-sample em { margin-left: auto; color: #9a632b; font-size: .55rem; font-style: normal; font-weight: 800; }
.scope-note { display: block; color: #85786f; font-size: .65rem; line-height: 1.55; }
.report-bars { display: flex; height: 110px; margin-top: 2.5rem; align-items: end; gap: .45rem; }
.report-bars i { width: 100%; height: var(--bar); border-radius: 3px 3px 0 0; background: var(--mesa-copper); opacity: .45; }
.report-bars i:nth-child(4), .report-bars i:nth-child(6) { opacity: 1; }

.mesa-flow { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; }
.mesa-flow h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.mesa-flow ol { display: grid; margin: 0; padding: 0; list-style: none; }
.mesa-flow li { display: grid; position: relative; min-height: 90px; align-items: center; grid-template-columns: 55px 1fr; gap: .8rem; border-top: 1px solid var(--mesa-line); }
.mesa-flow li:last-child { border-bottom: 1px solid var(--mesa-line); }
.mesa-flow li:not(:last-child)::after { position: absolute; right: 0; content: "→"; color: var(--mesa-clay); }
.mesa-flow li > span { color: var(--mesa-clay); font-size: .7rem; font-weight: 800; }
.mesa-flow li div { display: flex; flex-direction: column; }
.mesa-flow li b { font-family: var(--mesa-serif); font-size: 1.25rem; font-weight: 500; }
.mesa-flow li small { color: #776b62; font-size: .68rem; }

.roles-security { display: grid; width: 100%; max-width: none; padding-inline: max(1rem, calc((100vw - 1180px) / 2)); grid-template-columns: 1fr 1fr; background: #eee4d6; }
.roles-panel { padding-right: clamp(2rem, 6vw, 6rem); }
.security-panel { padding-left: clamp(2rem, 6vw, 6rem); border-left: 1px solid var(--mesa-line); }
.roles-security h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
.role-list { display: grid; margin-top: 2.5rem; grid-template-columns: 1fr 1fr; gap: .75rem; }
.role-list article { display: flex; padding: 1rem; align-items: center; gap: .75rem; border: 1px solid var(--mesa-line); border-radius: 7px; background: rgba(255,250,240,.55); }
.role-list article > span { display: grid; width: 35px; height: 35px; flex: 0 0 35px; place-items: center; border-radius: 50%; color: #fff; background: var(--mesa-clay); font-size: .55rem; font-weight: 800; }
.role-list article div { display: flex; min-width: 0; flex-direction: column; }
.role-list b { font-size: .76rem; }
.role-list small { color: #74675f; font-size: .61rem; }
.security-panel ul { margin: 2.5rem 0 0; padding: 0; list-style: none; }
.security-panel li { display: grid; padding: 1.1rem 0; grid-template-columns: 45px 1fr; border-top: 1px solid var(--mesa-line); }
.security-panel li > span { color: var(--mesa-clay); font-size: .65rem; font-weight: 800; }
.security-panel li div { display: flex; flex-direction: column; }
.security-panel li b { font-family: var(--mesa-serif); font-size: 1.1rem; font-weight: 500; }
.security-panel li small { margin-top: .25rem; color: #74685f; font-size: .7rem; }

.business-types > div:first-child { display: grid; margin-bottom: 3rem; grid-template-columns: .35fr .65fr; gap: 2rem; }
.business-types > div:first-child h2 { font-size: clamp(2.3rem, 4vw, 3.8rem); }
.business-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--mesa-line); border-left: 1px solid var(--mesa-line); }
.business-grid article { min-height: 245px; padding: 1.5rem; border-right: 1px solid var(--mesa-line); border-bottom: 1px solid var(--mesa-line); }
.business-grid h3 { margin-top: 4rem; }

.faq-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 8vw, 8rem); border-top: 1px solid var(--mesa-line); }
.faq-section h2 { font-size: clamp(2.3rem, 4vw, 3.7rem); }
.faq-section > div:first-child > p:last-child { max-width: 420px; margin-top: 1.5rem; color: #74685f; line-height: 1.7; }
.faq-list details { border-top: 1px solid var(--mesa-line); }
.faq-list details:last-child { border-bottom: 1px solid var(--mesa-line); }
.faq-list summary { display: flex; padding: 1.35rem 0; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; font-family: var(--mesa-serif); font-size: 1.12rem; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--mesa-clay); font-family: var(--mesa-sans); font-size: 1.2rem; transition: transform 160ms ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 680px; margin: 0; padding: 0 2.5rem 1.4rem 0; color: #71655d; font-size: .88rem; line-height: 1.7; }

.final-cta { position: relative; padding: clamp(5rem, 10vw, 9rem) max(1rem, calc((100vw - 1180px) / 2)); overflow: hidden; color: #fffaf0; background: var(--mesa-espresso); }
.final-cta .mesa-eyebrow { color: #df9872; }
.final-cta h2 { position: relative; z-index: 2; max-width: 980px; font-size: clamp(2.8rem, 6vw, 5.8rem); line-height: .98; }
.mesa-button-light { color: var(--mesa-espresso) !important; background: var(--mesa-cream); }
.mesa-button-outline-light { border-color: rgba(255,255,255,.35); color: #fff !important; }
.final-signature { position: absolute; right: -2rem; bottom: -8rem; color: rgba(255,255,255,.035); font-family: var(--mesa-serif); font-size: 28rem; line-height: 1; }

.mesa-whatsapp-float {
  display: inline-flex;
  position: fixed;
  z-index: 900;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, calc(env(safe-area-inset-bottom) + 1rem));
  min-height: 54px;
  padding: .78rem 1.05rem;
  align-items: center;
  gap: .7rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: var(--mesa-cream) !important;
  background: var(--mesa-espresso);
  box-shadow: 0 12px 30px rgba(33,28,25,.24);
  font-size: .82rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.mesa-whatsapp-float svg { width: 23px; height: 23px; flex: 0 0 23px; fill: #a7b596; }
.mesa-whatsapp-float:hover { color: #fff !important; background: #473128; box-shadow: 0 16px 34px rgba(33,28,25,.3); transform: translateY(-2px); }
.mesa-whatsapp-float:focus-visible { outline: 3px solid var(--mesa-copper); outline-offset: 3px; }

.marketing-footer { display: grid; padding: 3rem max(1rem, calc((100vw - 1180px) / 2)); align-items: end; grid-template-columns: 1fr auto; gap: 2rem; border-top: 1px solid rgba(255,255,255,.08); color: #c8bbb1; background: var(--mesa-charcoal); }
.marketing-footer p { margin: .8rem 0 0; font-family: var(--mesa-serif); font-style: italic; }
.marketing-footer .mesa-wordmark { color: #fffaf0 !important; }
.marketing-footer .mesa-wordmark strong span { color: #a99c92; }
.marketing-footer-links { display: flex; gap: 1.5rem; }
.marketing-footer-links a { color: #c8bbb1; }
.marketing-footer small { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); color: #827870; font-size: .65rem; }

@media (prefers-reduced-motion: no-preference) {
  .ui-window-pos { animation: mesa-float 7s ease-in-out infinite; }
  .ui-window-kitchen { animation: mesa-float 7s ease-in-out 1.2s infinite reverse; }
  .ui-device-self { animation: mesa-float-device 8s ease-in-out .6s infinite; }
  @keyframes mesa-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
  @keyframes mesa-float-device { 0%,100% { translate: 0 0; } 50% { translate: 0 -6px; } }
}

@media (max-width: 991.98px) {
  .marketing-links { display: none; }
  .marketing-nav-cta { margin-left: auto; }
  .mesa-hero { min-height: auto; padding-top: 5rem; grid-template-columns: 1fr; }
  .mesa-hero-copy { max-width: 760px; }
  .mesa-hero-visual { width: min(100%, 680px); margin: 1rem auto 0; }
  .mesa-manifesto { gap: 3rem; }
  .mesa-section-heading { grid-template-columns: 1fr; gap: 1.3rem; }
  .ecosystem-grid { grid-template-columns: 1fr 1fr; }
  .ecosystem-grid article:first-child { grid-row: auto; min-height: 300px; }
  .ecosystem-grid article:nth-child(3) { border-left: 1px solid var(--mesa-line); }
  .ecosystem-grid article:nth-child(4) { border-top: 1px solid var(--mesa-line); }
  .mesa-feature,
  .mesa-feature-dark,
  .self-service-section { grid-template-columns: 1fr; }
  .mesa-feature-dark .kitchen-board { order: 2; }
  .self-showcase { width: min(100%, 600px); margin: 0 auto; }
  .control-grid { grid-template-columns: 1fr 1fr; }
  .control-grid > article:last-child { grid-column: 1 / -1; min-height: 310px; }
  .mesa-flow { grid-template-columns: 1fr; gap: 3rem; }
  .roles-security { grid-template-columns: 1fr; }
  .roles-panel { padding: 0 0 4rem; }
  .security-panel { padding: 4rem 0 0; border-top: 1px solid var(--mesa-line); border-left: 0; }
  .business-types > div:first-child { grid-template-columns: 1fr; }
  .business-grid { grid-template-columns: 1fr 1fr; }
  .faq-section { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  html { font-size: 16px; }
  .marketing-nav { min-height: 66px; }
  .marketing-nav-cta { display: none; }
  .marketing-menu { display: block; position: relative; margin-left: auto; }
  .marketing-menu summary { display: grid; width: 42px; height: 42px; place-content: center; gap: 6px; cursor: pointer; list-style: none; border: 1px solid var(--mesa-line); border-radius: 50%; }
  .marketing-menu summary::-webkit-details-marker { display: none; }
  .marketing-menu summary span { display: block; width: 16px; height: 1px; background: var(--mesa-charcoal); }
  .marketing-menu nav { display: grid; position: absolute; width: min(280px, calc(100vw - 2rem)); top: 50px; right: 0; padding: .75rem; border: 1px solid var(--mesa-line); border-radius: 10px; background: var(--mesa-cream); box-shadow: 0 18px 45px rgba(53,37,30,.16); }
  .marketing-menu nav a { padding: .75rem; border-bottom: 1px solid var(--mesa-line); font-size: .86rem; font-weight: 700; text-decoration: none; }
  .marketing-menu nav a:last-child { margin-top: .55rem; border: 0; border-radius: 7px; color: #fff; background: var(--mesa-charcoal); text-align: center; }
  .mesa-hero { padding-top: 3.5rem; gap: 2rem; }
  .mesa-hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .mesa-actions { align-items: stretch; flex-direction: column; }
  .mesa-button { width: 100%; }
  .mesa-hero-proof { flex-wrap: wrap; }
  .mesa-hero-visual { min-height: 390px; margin-top: 0; }
  .ui-window-pos { width: 94%; min-height: 250px; }
  .pos-mini-layout { grid-template-columns: 1fr 1fr; }
  .pos-mini-categories { display: none; }
  .pos-mini-products div { min-height: 58px; }
  .ui-window-kitchen { width: 70%; bottom: 12px; }
  .ui-device-self { display: none; }
  .mesa-manifesto { grid-template-columns: 1fr; gap: 1.5rem; }
  .ecosystem-grid,
  .control-grid,
  .business-grid { grid-template-columns: 1fr; }
  .ecosystem-grid article,
  .ecosystem-grid article:first-child,
  .ecosystem-grid article:nth-child(3) { min-height: 230px; border: 1px solid var(--mesa-line); border-bottom: 0; }
  .ecosystem-grid article:last-child { border-bottom: 1px solid var(--mesa-line); }
  .table-map { max-width: 260px; margin-top: 2rem; }
  .room-tables { grid-template-columns: 1fr; }
  .room-tables article { min-height: 120px; }
  .kitchen-board > div { grid-template-columns: 1fr; }
  .kitchen-board article { min-height: 180px; }
  .self-service-section { min-height: auto; }
  .self-benefits { grid-template-columns: 1fr; }
  .self-showcase { min-height: 520px; }
  .self-terminal { width: 88%; left: 5%; }
  .self-receipt { right: 0; bottom: 8px; }
  .mesa-whatsapp-float { width: 56px; height: 56px; min-height: 56px; padding: 0; justify-content: center; }
  .mesa-whatsapp-float span { display: none; }
  .control-grid > article,
  .control-grid > article:last-child { min-height: 0; grid-column: auto; }
  .role-list { grid-template-columns: 1fr; }
  .business-types > div:first-child { gap: 0; }
  .business-grid article { min-height: 210px; }
  .marketing-footer { align-items: start; grid-template-columns: 1fr; }
  .marketing-footer-links { flex-wrap: wrap; }
  .marketing-footer small { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mesa-button,
  .mesa-whatsapp-float { transition: none; }
}
