/* Ordigu landing page — reproduces the React Router app's brutalist Tailwind look.
   Self-contained; uses Sora from /fonts.css.
   `lx` = landing. Values mirror the RR source utilities 1:1. Light theme only
   (the Remix has no dark variant; the RR defaults to light). */

.lx {
  min-height: 100vh;
  background: transparent;
  color: #000;
  font-family: "Sora Variable", "Sora", sans-serif;
}
.lx,
.lx *,
.lx *::before,
.lx *::after {
  box-sizing: border-box;
}
.lx img {
  display: block;
}

/* ---- Header / nav ---- */
.lx-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  container-type: scroll-state;
}
/* Only Chromium today; elsewhere the query never matches and the nav keeps its base border.
   Stuck = the hard offset bar the rest of the page uses, not a soft blur. */
@container scroll-state(stuck: top) {
  .lx-nav {
    box-shadow: 0 6px 0 0 rgba(0, 0, 0, 1);
  }
}
.lx-nav {
  border-bottom: 3px solid #000;
  background: #fff;
  padding: 0.5rem 1rem;
}
@media (min-width: 1024px) {
  .lx-nav {
    padding: 0.5rem 1.5rem;
  }
}
.lx-nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.lx-brand {
  display: flex;
  align-items: center;
}
.lx-brand-logo {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.75rem;
  aspect-ratio: 1;
  fill: #000;
}
@media (min-width: 640px) {
  .lx-brand-logo {
    width: 2.5rem;
    height: 2.5rem;
  }
}
.lx-brand-name {
  align-self: center;
  font-size: 1.5rem;
  line-height: 1rem;
  font-weight: 900;
  white-space: nowrap;
  color: #000;
  text-transform: uppercase;
}
.lx-nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 1024px) {
  .lx-nav-links {
    display: flex;
    flex-direction: row;
    gap: 2rem;
  }
}
.lx-nav-link {
  display: block;
  padding: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background-color 150ms,
    color 150ms;
}
.lx-nav-link:hover {
  background: #030712;
  color: #fff;
}

/* Brutalist button */
.lx-btn {
  display: inline-block;
  border: 3px solid #000;
  background: #ffcc00;
  color: #000;
  font-weight: 900;
  padding: 0.5rem 1rem;
  box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 1);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition:
    transform 150ms,
    box-shadow 150ms;
}
.lx-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 rgba(0, 0, 0, 1);
}
.lx-login {
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
}

/* ---- Hero ---- */
.lx-hero {
  position: relative;
  overflow: hidden;
  background: transparent;
}
.lx-hero-inner {
  max-width: 96rem;
  margin: 0 auto;
  display: grid;
  padding: 3rem 1rem;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .lx-hero-inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: stretch;
    gap: 2rem;
    padding: 5rem 1rem;
  }
}
.lx-hero-text {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 1rem;
  border: 3px solid #000;
  background: #fff;
  padding: 2rem;
  box-shadow: 8px 8px 0 0 rgba(0, 0, 0, 1);
}
@media (min-width: 1024px) {
  .lx-hero-text {
    grid-column: span 5 / span 5;
    place-self: center;
  }
}
.lx-hero-heading {
  max-width: 42rem;
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #000;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .lx-hero-heading {
    font-size: 3rem;
  }
}
@media (min-width: 1280px) {
  .lx-hero-heading {
    font-size: 3.75rem;
  }
}
.lx-hero-subtext {
  max-width: 42rem;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 0.75rem;
}
@media (min-width: 640px) {
  .lx-hero-subtext {
    font-size: 1.125rem;
  }
}
@media (min-width: 1024px) {
  .lx-hero-subtext {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }
}
.lx-hero-cta {
  display: inline-block;
  border: 3px solid #000;
  background: #ffcc00;
  color: #000;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 1);
}
@media (min-width: 640px) {
  .lx-hero-cta {
    font-size: 1rem;
  }
}
.lx-hero-cta-wrap {
  margin-bottom: 1.5rem;
}
@media (min-width: 1024px) {
  .lx-hero-cta-wrap {
    margin-bottom: 2rem;
  }
}
/* Waitlist form */
.lx-waitlist-form {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 1rem;
}
.lx-waitlist-row {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .lx-waitlist-row {
    flex-direction: row;
  }
}
.lx-waitlist-field {
  min-width: 0;
  flex: 1 1 0;
}
.lx-waitlist-input {
  box-sizing: border-box;
  border: 3px solid #000;
  background: #fff;
  padding: 0.5rem 1rem;
  height: 3rem;
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
}
.lx-waitlist-input::placeholder {
  color: #9ca3af;
}
.lx-waitlist-error {
  color: #b91c1c;
  font-size: 0.875rem;
  font-weight: 700;
  margin-top: 0.25rem;
}
.lx-submit {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 3px solid #000;
  background: oklch(0.61 0.11 222);
  color: oklch(0.98 0.02 201);
  font-family: inherit;
  font-weight: 900;
  font-size: 1.25rem;
  padding: 0.75rem 1rem;
  box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 1);
  cursor: pointer;
  transition:
    transform 150ms,
    box-shadow 150ms;
}
.lx-submit:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 rgba(0, 0, 0, 1);
}
.lx-submit svg {
  width: 1.5rem;
  height: 1.5rem;
}
/* Success card (replaces the RR's client <dialog>) */
.lx-waitlist-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
.lx-waitlist-success-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}
.lx-waitlist-success-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
.lx-waitlist-success-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: #111827;
}
.lx-waitlist-success-sub {
  font-size: 0.875rem;
  color: #6b7280;
}
/* Hero image */
.lx-hero-image {
  display: none;
}
@media (min-width: 1024px) {
  .lx-hero-image {
    display: flex;
    align-items: stretch;
    grid-column: span 7 / span 7;
  }
}
.lx-hero-image-box {
  position: relative;
  display: flex;
  flex: 1 1 0;
  align-items: center;
  overflow: hidden;
  border-radius: 1rem;
  border: 3px solid #000;
  background: #fff;
  box-shadow: 8px 8px 0 0 rgba(0, 0, 0, 1);
}
.lx-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
  filter: grayscale(1) contrast(1.25);
  transition:
    filter 1000ms,
    mix-blend-mode 1000ms;
}
.lx-hero-image-box:hover .lx-hero-img {
  mix-blend-mode: normal;
  filter: grayscale(0);
}

/* ---- Section shell ---- */
.lx-section {
  border-top: 3px solid #000;
  background: #fff;
}
.lx-section-transparent {
  border-top: 3px solid #000;
  background: transparent;
}
.lx-section-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}
@media (min-width: 640px) {
  .lx-section-container {
    padding: 6rem 1rem;
  }
}
@media (min-width: 1024px) {
  .lx-section-container {
    padding: 6rem 1.5rem;
  }
}

/* Brutalist card */
.lx-card {
  border: 3px solid #000;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 8px 8px 0 0 rgba(0, 0, 0, 1);
  transition: all 200ms;
}
.lx-card:hover {
  transform: translate(-0.25rem, -0.25rem);
  box-shadow: 12px 12px 0 0 rgba(0, 0, 0, 1);
}
.lx-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #000;
  background: #fff;
  color: #000;
  box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 1);
}
.lx-card-icon svg {
  width: 2rem;
  height: 2rem;
}

/* Features */
.lx-features-head {
  max-width: 44.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 1024px) {
  .lx-features-head {
    margin-bottom: 5rem;
  }
}
.lx-features-head h2 {
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .lx-features-head h2 {
    font-size: 3rem;
  }
}
.lx-features-head p {
  font-weight: 700;
  color: #1f2937;
}
@media (min-width: 640px) {
  .lx-features-head p {
    font-size: 1.25rem;
  }
}
.lx-features-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .lx-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }
}
@media (min-width: 1024px) {
  .lx-features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}
.lx-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.lx-feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
}
@media (min-width: 1024px) {
  .lx-feature-icon {
    width: 4rem;
    height: 4rem;
  }
}

/* MCP (AI assistant) integration */
.lx-mcp {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .lx-mcp {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 3rem;
  }
}
.lx-mcp-copy {
  align-self: center;
}
.lx-mcp-copy h2 {
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .lx-mcp-copy h2 {
    font-size: 3rem;
  }
}
.lx-mcp-desc {
  font-weight: 700;
  color: #1f2937;
}
@media (min-width: 640px) {
  .lx-mcp-desc {
    font-size: 1.25rem;
  }
}
.lx-mcp-note {
  margin-top: 0.5rem;
  font-weight: 700;
  color: #4b5563;
}
.lx-mcp-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  background: #bde0fe;
}
.lx-mcp-label {
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.lx-mcp-endpoint {
  display: block;
  box-sizing: border-box;
  border: 3px solid #000;
  background: #fff;
  padding: 0.75rem 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.lx-mcp-action {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  border: 3px solid #000;
  background: #ffcc00;
  color: #000;
  font-weight: 900;
  padding: 0.5rem 1rem;
  box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 1);
  transition:
    transform 150ms,
    box-shadow 150ms;
}
.lx-mcp-action:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 rgba(0, 0, 0, 1);
}
.lx-mcp-action:focus-visible {
  outline: 3px solid #000;
  outline-offset: 2px;
}

/* MCP connection guide subpage (/mcp-guide) */
.lx-guide {
  max-width: 44rem;
  border: 3px solid #000;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 8px 8px 0 0 #000;
}
.lx-guide h1 {
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .lx-guide h1 {
    font-size: 3rem;
  }
}
.lx-guide .lx-mcp-endpoint {
  margin-top: 0.5rem;
}
.lx-guide-steps {
  margin: 0.5rem 0 1.5rem;
  padding-left: 1.5rem;
  display: grid;
  gap: 0.5rem;
  font-weight: 700;
  color: #1f2937;
}
.lx-guide-assistant {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #000;
}
.lx-feature h3 {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 0.5rem;
}
.lx-feature p {
  font-weight: 700;
  color: #1f2937;
}
.lx-feature p span {
  color: #000;
}

/* How it works */
.lx-hiw-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  padding: 3rem 0 2rem;
  text-align: center;
}
@media (min-width: 640px) {
  .lx-hiw-head {
    padding: 4rem 0 3rem;
  }
}
.lx-hiw-head h2 {
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #000;
}
@media (min-width: 640px) {
  .lx-hiw-head h2 {
    font-size: 3rem;
  }
}
.lx-hiw-head p {
  max-width: 42rem;
  margin: 0 auto;
  font-weight: 700;
  color: #1f2937;
}
@media (min-width: 640px) {
  .lx-hiw-head p {
    font-size: 1.25rem;
  }
}
.lx-hiw-steps {
  position: relative;
  max-width: 36rem;
  margin: 0 auto;
  padding-bottom: 2rem;
}
@media (min-width: 640px) {
  .lx-hiw-steps {
    padding-bottom: 3rem;
  }
}
@media (min-width: 1024px) {
  .lx-hiw-steps {
    max-width: 64rem;
  }
}
/* The line is drawn per step (icon centre to icon centre), so it starts at the
   first icon and ends at the last one instead of trailing into empty space. */
.lx-hiw-step::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0.25rem;
  transform: translateX(-50%);
  background: #030712;
}
.lx-hiw-step:first-child::before {
  top: 2rem;
}
.lx-hiw-step:last-child::before {
  bottom: auto;
  height: 2rem;
}
.lx-hiw-step {
  position: relative;
  display: block;
  padding: 2rem 0;
}
.lx-hiw-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  position: relative;
  padding-top: 2.75rem;
}
.lx-hiw-step-icon {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  z-index: 10;
  width: 3rem;
  height: 3rem;
  transform: translate(-50%, 0);
}
.lx-hiw-card h3 {
  text-align: center;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  color: #000;
}
.lx-hiw-card p {
  margin-top: 0.5rem;
  text-align: center;
  font-weight: 700;
  color: #1f2937;
}
@media (min-width: 1024px) {
  .lx-hiw-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
  }
  .lx-hiw-card {
    margin: 0;
    padding-top: 1.5rem;
  }
  .lx-hiw-step--left .lx-hiw-card {
    grid-column: 1;
    justify-self: end;
    text-align: right;
    align-items: flex-end;
  }
  .lx-hiw-step--right .lx-hiw-card {
    grid-column: 2;
    justify-self: start;
    text-align: left;
    align-items: flex-start;
  }
  .lx-hiw-step:first-child::before {
    top: 50%;
  }
  .lx-hiw-step:last-child::before {
    height: 50%;
  }
  .lx-hiw-step-icon {
    top: 50%;
    width: 4rem;
    height: 4rem;
    transform: translate(-50%, -50%);
  }
  .lx-hiw-card h3 {
    font-size: 1.5rem;
  }
}

/* ---- Footer ---- */
.lx-footer {
  margin-top: 6rem;
  width: 100%;
  border-top: 3px solid #000;
  background: #fff;
  padding: 2rem;
  text-align: center;
}
.lx-footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 900;
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
}
.lx-footer-brand img {
  height: 2rem;
  margin-right: 0.75rem;
}
@media (min-width: 640px) {
  .lx-footer-brand img {
    height: 2.5rem;
  }
}
.lx-footer-links {
  margin: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #000;
  text-transform: uppercase;
  list-style: none;
  padding: 0;
}
.lx-footer-link {
  margin: 0 0.5rem;
  padding: 0.5rem 0.75rem;
  color: inherit;
  text-decoration: none;
  transition:
    background-color 150ms,
    color 150ms;
}
.lx-footer-link:hover {
  background: #030712;
  color: #fff;
}
@media (min-width: 768px) {
  .lx-footer-link {
    margin: 0 1rem;
  }
}
.lx-footer-copy {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1f2937;
}
.lx-footer-copy a {
  padding: 0 0.25rem;
  color: inherit;
  text-decoration: none;
}
.lx-footer-copy a:hover {
  background: #030712;
  color: #fff;
}

/* ---- Landing demos (staff floor/kitchen + language switcher) ---- */
.lx-staff,
.lx-lang {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .lx-staff,
  .lx-lang {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
  }
  .lx-lang-copy {
    order: 2;
  }
}
.lx-staff-copy h2,
.lx-lang-copy h2 {
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .lx-staff-copy h2,
  .lx-lang-copy h2 {
    font-size: 3rem;
  }
}
.lx-staff-copy p,
.lx-lang-copy p {
  font-weight: 700;
  color: #1f2937;
}
@media (min-width: 640px) {
  .lx-staff-copy p,
  .lx-lang-copy p {
    font-size: 1.25rem;
  }
}
.lx-floor-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #f5f5f4;
}
.lx-floor-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000;
}
.lx-floor-live {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.lx-live-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  border: 2px solid #000;
  background: #ef4444;
  animation: lx-pulse 2s infinite;
}
.lx-floor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.lx-table {
  border: 3px solid #000;
  padding: 0.75rem;
  color: #000;
  box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 1);
}
.lx-table--alert {
  animation: lx-pulse 2s infinite;
}
.lx-table-num {
  font-size: 1.5rem;
  font-weight: 900;
}
.lx-table-status {
  font-size: 0.75rem;
  line-height: 1.25;
  font-weight: 700;
}
.lx-kitchen {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 3px solid #000;
  padding-top: 1rem;
}
.lx-kitchen-label {
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.lx-ticket {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  border: 3px solid #000;
  background: #fff;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #000;
}
.lx-ticket-table {
  font-weight: 900;
  margin-right: 0.5rem;
}
.lx-ticket-status {
  border: 2px solid #000;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}
.lx-lang-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fef08a;
}
.lx-lang-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.lx-lang-chip {
  border: 3px solid #000;
  background: #fff;
  padding: 0.25rem 0.75rem;
  font-weight: 900;
  color: #000;
  box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 1);
  cursor: pointer;
  transition: all 150ms;
}
.lx-lang-chip:hover {
  transform: translate(-2px, -2px);
}
.lx-lang-chip--active {
  background: #000;
  color: #fff;
}
.lx-dish-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.lx-dish-head h3 {
  font-size: 1.25rem;
  font-weight: 900;
}
.lx-dish-head span {
  font-weight: 900;
  white-space: nowrap;
}
.lx-dish p {
  margin-top: 0.5rem;
  font-weight: 500;
  color: #1f2937;
}
.lx-dish-add {
  display: inline-block;
  margin-top: 1rem;
  border: 3px solid #000;
  background: #ffcc00;
  padding: 0.5rem 1rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 1);
}

/* ---- Scroll reveal (parity with RR's snappy reveal-pop) ---- */
@keyframes reveal-pop {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.94) rotate(-1deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes lx-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@supports (animation-timeline: view()) {
  .lx-feature,
  .lx-hiw-step,
  .lx-floor-card,
  .lx-lang-card {
    animation: reveal-pop 1ms ease-out both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lx-feature,
  .lx-hiw-step,
  .lx-floor-card,
  .lx-lang-card,
  .lx-table--alert,
  .lx-live-dot {
    animation: none !important;
  }
}

/* ---- Hero phone demo: one 12s looping timeline, CSS only ---- */
.ph {
  position: absolute;
  top: 50%;
  right: 3.5rem;
  width: 15rem;
  height: 29rem;
  transform: translateY(-50%) rotate(-2deg);
  overflow: hidden;
  border: 4px solid #000;
  border-radius: 2rem;
  background: #fff;
  color: #000;
  box-shadow: 8px 8px 0 0 rgba(0, 0, 0, 1);
  font-weight: 700;
}
.ph-notch {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  width: 4rem;
  height: 0.75rem;
  transform: translateX(-50%);
  border-radius: 9999px;
  background: #000;
  z-index: 2;
}
.ph-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding: 2.5rem 1rem 1.5rem;
  opacity: 0;
  animation: 12s linear infinite both;
}
.ph-s1 {
  animation-name: ph-s1;
  background: #ffcc00;
  align-items: center;
  text-align: center;
}
.ph-s2 {
  animation-name: ph-s2;
  background: #fbcfe8;
}
.ph-s3 {
  animation-name: ph-s3;
  background: #bbf7d0;
  align-items: center;
  text-align: center;
}
.ph-s4 {
  animation-name: ph-s4;
  background: #fef08a;
}
.ph-s5 {
  animation-name: ph-s5;
  background: #bde0fe;
  align-items: center;
  text-align: center;
}
.ph-title {
  font-size: 1.125rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
}
.ph-qr {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  width: 7rem;
  height: 7rem;
  padding: 0.5rem;
  border: 3px solid #000;
  background: #fff;
}
.ph-qr i {
  background: #000;
}
.ph-qr i:nth-child(3n) {
  background: #fff;
}
.ph-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: #ef4444;
  animation: ph-sweep 2.5s ease-in-out infinite;
}
.ph-chip,
.ph-pill {
  display: inline-block;
  border: 2px solid #000;
  background: #fff;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}
.ph-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 3px solid #000;
  background: #fff;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}
.ph-add {
  background: #ffcc00;
  padding: 0 0.5rem;
  border: 2px solid #000;
}
.ph-cart {
  position: relative;
  height: 1.75rem;
  border: 3px solid #000;
  background: #000;
  color: #fff;
  font-size: 0.875rem;
}
.ph-cart span,
.ph-swap span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph-swap {
  position: relative;
  display: block;
  height: 1.5rem;
  width: 7rem;
}
.ph-swap .ph-pill {
  position: absolute;
  inset: 0;
  text-align: center;
}
.ph-check {
  font-size: 2.5rem;
  line-height: 1;
}
.ph-a {
  animation: 12s linear infinite both;
}
.ph-cart1 {
  animation-name: ph-cart1;
}
.ph-cart2 {
  animation-name: ph-cart2;
}
.ph-pend {
  animation-name: ph-pend;
}
.ph-prog {
  animation-name: ph-prog;
}
.ph-open {
  animation-name: ph-open;
}

@keyframes ph-s1 {
  0%,
  18% {
    opacity: 1;
  }
  21%,
  97% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes ph-s2 {
  0%,
  18% {
    opacity: 0;
  }
  21%,
  43% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0;
  }
}
@keyframes ph-s3 {
  0%,
  43% {
    opacity: 0;
  }
  46%,
  64% {
    opacity: 1;
  }
  67%,
  100% {
    opacity: 0;
  }
}
@keyframes ph-s4 {
  0%,
  64% {
    opacity: 0;
  }
  67%,
  85% {
    opacity: 1;
  }
  88%,
  100% {
    opacity: 0;
  }
}
@keyframes ph-s5 {
  0%,
  85% {
    opacity: 0;
  }
  88%,
  97% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes ph-sweep {
  0%,
  100% {
    top: 0.5rem;
  }
  50% {
    top: calc(100% - 0.75rem);
  }
}
@keyframes ph-open {
  0%,
  9% {
    opacity: 0;
  }
  12%,
  100% {
    opacity: 1;
  }
}
@keyframes ph-cart1 {
  0%,
  26% {
    opacity: 0;
  }
  28%,
  36% {
    opacity: 1;
  }
  38%,
  100% {
    opacity: 0;
  }
}
@keyframes ph-cart2 {
  0%,
  37% {
    opacity: 0;
  }
  39%,
  100% {
    opacity: 1;
  }
}
@keyframes ph-pend {
  0%,
  52% {
    opacity: 1;
  }
  55%,
  100% {
    opacity: 0;
  }
}
@keyframes ph-prog {
  0%,
  53% {
    opacity: 0;
  }
  56%,
  100% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ph-scene,
  .ph-a,
  .ph-scan {
    animation: none !important;
  }
  .ph-s1 {
    opacity: 1;
  }
  .ph-cart1,
  .ph-pend {
    opacity: 0;
  }
  .ph-cart2,
  .ph-prog {
    opacity: 1;
  }
}

/* Menu boards: the same menu on the televisions in the room. The panel is drawn
   as a screen (dark bezel, white picture) so the section reads as "your TVs"
   before anyone reads the copy. */
.lx-boards-tv {
  background: #111827;
  padding: 0.75rem;
}
/* A display is not a page: it does not lift on hover like the other cards. */
.lx-boards-tv:hover {
  transform: none;
  box-shadow: 8px 8px 0 0 rgba(0, 0, 0, 1);
}
.lx-boards-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  border-radius: 2px;
  background: #fff;
  padding: 1.25rem;
  color: #000;
}
.lx-boards-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 3px solid #000;
  padding-bottom: 0.5rem;
}
.lx-boards-label {
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.lx-boards-live {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 2px solid #000;
  background: #bbf7d0;
  padding: 0.125rem 0.375rem;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.lx-boards-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #15803d;
}
.lx-boards-section {
  margin: 0.75rem 0 0;
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
}
.lx-boards-items {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.lx-boards-item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.lx-boards-item-name {
  font-size: 1rem;
  font-weight: 700;
}
.lx-boards-leader {
  flex: 1 1 auto;
  margin-bottom: 4px;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.3);
}
.lx-boards-price {
  font-size: 1rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.lx-boards-footer {
  margin: 1rem 0 0;
  border-top: 3px solid #000;
  padding-top: 0.5rem;
  font-size: 11px;
  font-weight: 700;
  color: #4b5563;
}
