/* 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;
}
/* German compounds (Restaurantbesitzer, Mitarbeiterkommunikation) are wider than a
   phone at heading size: hyphenate, and break as a last resort. */
.lx :where(h1, h2, h3) {
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Spacing is set per block below; the browser's default heading and paragraph
   margins would otherwise be added on top of it and stretch every section. */
.lx :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote) {
  margin: 0;
}

/* ---- 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;
  min-height: 44px;
  color: #000;
  text-decoration: none;
}
.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: 1 1 auto;
    flex-direction: row;
    gap: 2rem;
    margin-left: 2.5rem;
  }
}
.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);
}

/* Declared after .lx-btn so its padding does not override these. */
/* Log in was the loudest thing in the header; the waitlist is the page's one
   action, so the button belongs to it and login steps back to a text link. */
.lx-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.lx-nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
}
.lx-nav-login {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.25rem;
  color: #000;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}
.lx-nav-login:hover {
  background: #030712;
  color: #fff;
}

/* Phones: the brand, the waitlist button and Log in share one 62px row rather
   than wrapping onto two and eating the top of the viewport. */
@media (max-width: 639px) {
  .lx-nav {
    padding: 0.5rem 0.75rem;
  }
  .lx-brand-logo {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
  }
  .lx-brand-name {
    font-size: 1.125rem;
  }
  .lx-nav-cta {
    font-size: 0.75rem;
    padding: 0.375rem 0.5rem;
  }
  .lx-nav-login {
    font-size: 0.75rem;
    padding: 0.5rem 0;
  }
}

/* ---- 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;
  }
}
/* A label for the form below, not a control: no box or shadow, so it cannot be
   mistaken for a button. The yellow bar keeps the brand colour and, unlike a
   highlight, looks the same however many lines the text wraps to. */
.lx-hero-cta {
  margin: 0 0 1rem;
  max-width: 42rem;
  border-left: 6px solid #ffcc00;
  padding-left: 0.75rem;
  font-size: 0.875rem;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000;
}
@media (min-width: 640px) {
  .lx-hero-cta {
    font-size: 1rem;
  }
}
@media (min-width: 1024px) {
  .lx-hero-cta {
    margin-bottom: 1.5rem;
  }
}
/* Waitlist form */
/* Honeypot: reachable by a form-filling bot, invisible and unreachable by a
   person (aria-hidden + tabindex -1 on the input). */
.lx-waitlist-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.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%;
}
/* The label sits above the field and stays there while typing, instead of a
   placeholder that disappears with the first character. */
.lx-waitlist-label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000;
}
.lx-waitlist-note {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #4b5563;
}
.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;
  /* 5.5:1 against the light text (was 3.5:1, large-text only). */
  background: oklch(0.5 0.1 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: 2.5rem 1rem;
}
@media (min-width: 640px) {
  .lx-section-container {
    padding: 4rem 1rem;
  }
}
@media (min-width: 1024px) {
  .lx-section-container {
    padding: 4rem 1.5rem;
  }
}

/* Brutalist card */
/* Static by default: only the things that respond to a click lift, so an
   informational card never reads as a button. */
.lx-card {
  border: 3px solid #000;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 8px 8px 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: 2rem;
}
@media (min-width: 1024px) {
  .lx-features-head {
    margin-bottom: 2.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: 500;
  color: #1f2937;
}
@media (min-width: 640px) {
  .lx-features-head p {
    font-size: 1.25rem;
  }
}
.lx-features-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .lx-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}
@media (min-width: 1024px) {
  .lx-features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
.lx-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.lx-feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
}
/* Phones: icon beside the text, tighter padding and shadow. Six stacked
   full-size cards were ~2,400px of scrolling; this is about half. */
@media (max-width: 767px) {
  .lx-feature {
    display: grid;
    /* minmax(0, 1fr): a long word may not push the card past the screen edge. */
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 1rem;
    align-items: start;
    padding: 1rem;
    box-shadow: 5px 5px 0 0 rgba(0, 0, 0, 1);
  }
  .lx-feature h3,
  .lx-feature p {
    overflow-wrap: break-word;
  }
  .lx-feature-icon {
    grid-row: span 2;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0;
  }
  .lx-feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }
  .lx-feature h3 {
    margin: 0;
    font-size: 1.0625rem;
  }
  .lx-feature p {
    margin: 0.375rem 0 0;
    font-size: 0.9375rem;
  }
}
@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: 500;
  color: #1f2937;
}
@media (min-width: 640px) {
  .lx-mcp-desc {
    font-size: 1.25rem;
  }
}
.lx-mcp-note {
  margin-top: 0.5rem;
  font-weight: 500;
  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: 500;
  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.25rem;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 0.5rem;
}
.lx-feature p {
  font-weight: 500;
  color: #1f2937;
}
.lx-feature p span {
  color: #000;
}

/* How it works */
.lx-hiw-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}
@media (min-width: 640px) {
  .lx-hiw-head {
    padding: 3rem 0 2rem;
  }
}
.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: 500;
  color: #1f2937;
}
@media (min-width: 640px) {
  .lx-hiw-head p {
    font-size: 1.25rem;
  }
}
/* Pay later / pay first switch: a native radio group drawn as the language
   chips. CSS-only (HowItWorks in landing.tsx): `:has()` hides the flow that is
   not checked; without `:has()` both flows show. */
.lx-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.lx-hiw-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.lx-hiw-option {
  position: relative;
}
/* The radio stays in the tab order and the accessibility tree; only the chip
   is drawn. */
.lx-hiw-radio {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.lx-hiw-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
}
.lx-hiw-radio:checked + .lx-hiw-chip {
  background: #000;
  color: #fff;
}
.lx-hiw-radio:focus-visible + .lx-hiw-chip {
  outline: 3px solid #000;
  outline-offset: 3px;
}
.lx-hiw:has(#hiw-pay-later:checked) .lx-hiw-flow--pay-first,
.lx-hiw:has(#hiw-pay-first:checked) .lx-hiw-flow--pay-later {
  display: none;
}
/* The steps are a sequence, so they are numbered and read left to right in one
   row. Four zigzag cards were ~1,700px of scrolling for four short steps. */
.lx-hiw-steps {
  list-style: none;
  display: grid;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0;
  gap: 1rem;
}
@media (min-width: 640px) {
  .lx-hiw-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
@media (min-width: 1024px) {
  .lx-hiw-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
.lx-hiw-step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
}
.lx-hiw-step-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}
.lx-hiw-step-icon {
  width: 2.75rem;
  height: 2.75rem;
}
.lx-hiw-step-icon svg {
  width: 1.375rem;
  height: 1.375rem;
}
.lx-hiw-num {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
}
.lx-hiw-step h3 {
  font-size: 1.125rem;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  color: #000;
}
.lx-hiw-step p {
  font-size: 0.9375rem;
  line-height: 1.45;
  font-weight: 500;
  color: #1f2937;
}

/* ---- Footer ---- */
.lx-footer {
  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 {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0 0.5rem;
  padding: 0.5rem 0.75rem;
  color: inherit;
  text-decoration: none;
  transition:
    background-color 150ms,
    color 150ms;
}
@media (max-width: 480px) {
  /* Polish labels are wide: tighter spacing keeps three links on one line. */
  .lx-footer-link {
    margin: 0;
    padding: 0.5rem 0.5rem;
    font-size: 0.875rem;
  }
}
.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: 500;
  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-alert-ring 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;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.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 {
  min-height: 44px;
  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;
}
/* Drawn like the real button, because it is a picture of the real menu — the
   caption below says it is a preview, so nothing here claims to be clickable. */
.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);
}
.lx-lang-preview {
  margin-top: auto;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #4b5563;
}

/* ---- 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-alert-ring {
  0%,
  100% {
    box-shadow:
      4px 4px 0 0 #000,
      0 0 0 0 rgba(0, 0, 0, 0);
  }
  50% {
    box-shadow:
      4px 4px 0 0 #000,
      0 0 0 6px rgba(0, 0, 0, 0.28);
  }
}
@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;
}
/* Phones: show the animated phone under the form (the photo stays desktop-only).
   The box turns into a bare stage; the phone has its own border and shadow. */
@media (max-width: 1023px) {
  .lx-hero-image {
    display: block;
  }
  .lx-hero-image-box {
    height: 25rem;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  /* `.lx img { display: block }` (specificity 0,1,1) would beat a bare class. */
  .lx .lx-hero-img {
    display: none;
  }
  .ph {
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%) rotate(-2deg) scale(0.84);
  }
}
.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;
  }
}

/* Dark bezel, used by the self-hosting terminal on /connect and the live badges. */
.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-live {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 2px solid #000;
  background: #bbf7d0;
  /* Set explicitly: inside the dark terminal the badge otherwise inherits its
     light grey, which is 1.2:1 on this green. */
  color: #000;
  padding: 0.125rem 0.375rem;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.lx-boards-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #15803d;
}

/* ---- Mini blocks (branded QR, payments) ---- */
/* The MCP two-column grid with smaller type and tighter section padding, so the
   owner-facing extras read as secondary to the big sections. */
.lx-mini .lx-section-container {
  padding: 2rem 1rem;
}
@media (min-width: 640px) {
  .lx-mini .lx-section-container {
    padding: 3.5rem 1rem;
  }
}
.lx-mini .lx-mcp-copy h2 {
  font-size: 1.75rem;
}
@media (min-width: 640px) {
  .lx-mini .lx-mcp-copy h2 {
    font-size: 2.25rem;
  }
}

/* Payments: provider rows on a money-green card; the boards' live badge doubles
   as the status pill (the not-yet-connected row turns it yellow inline). */
.lx-pay-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  background: #bbf7d0;
}
.lx-pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 3px solid #000;
  background: #fff;
  padding: 0.625rem 0.875rem;
}
.lx-pay-name {
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Terminal in the self-host block (dark bezel borrowed from .lx-boards-tv). */
.lx-term {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  box-sizing: border-box;
  min-height: 100%;
  background: #0b1220;
  padding: 1.25rem 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
  color: #d1d5db;
  white-space: nowrap;
  overflow-x: auto;
}
.lx-term-prompt {
  color: #86efac;
  font-weight: 700;
}
.lx-term-ok {
  color: #86efac;
}
.lx-term-verify {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.lx-term-verify code {
  overflow-wrap: anywhere;
  white-space: normal;
}

/* ---- Anchors, developer band, closing waitlist ---- */
/* The header is sticky, so an anchor jump must stop below it. */
.lx-hero,
.lx-section,
.lx-section-transparent {
  scroll-margin-top: 4.5rem;
}
/* The developer block's second link: self-hosting, on its own line under the
   endpoint, as a link rather than a section of its own. */
.lx-dev-link {
  align-self: flex-start;
  margin-top: 1rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #000;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
.lx-dev-link:hover {
  background: #030712;
  color: #fff;
}

/* Self-hosting block on /connect (moved off the landing page). */
.lx-selfhost {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scroll-margin-top: 4.5rem;
}
.lx-selfhost h2 {
  margin-top: 1.5rem;
  font-size: 1.5rem;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  color: #000;
}

/* FAQ: native <details>, so it works without JavaScript and with a keyboard. */
.lx-faq {
  max-width: 60rem;
  margin: 0 auto;
}
.lx-faq h2 {
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
  .lx-faq h2 {
    font-size: 3rem;
  }
}
.lx-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.lx-faq-item {
  padding: 0;
  box-shadow: 5px 5px 0 0 rgba(0, 0, 0, 1);
}
.lx-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: 1rem 1.25rem;
  font-size: 1.0625rem;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}
.lx-faq-question::-webkit-details-marker {
  display: none;
}
.lx-faq-question::after {
  content: "+";
  flex: none;
  font-size: 1.5rem;
  line-height: 1;
}
.lx-faq-item[open] .lx-faq-question::after {
  content: "−";
}
.lx-faq-item[open] .lx-faq-question {
  border-bottom: 3px solid #000;
}
.lx-faq-answer {
  padding: 1rem 1.25rem;
  font-weight: 500;
  color: #1f2937;
}
/* Closing sign-up: the hero form again, for a visitor who read to the end. */
.lx-final {
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 3px solid #000;
  background: #fef08a;
  padding: 1.5rem;
  box-shadow: 8px 8px 0 0 rgba(0, 0, 0, 1);
}
@media (min-width: 640px) {
  .lx-final {
    padding: 2.5rem;
  }
}
.lx-final h2 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #000;
}
@media (min-width: 640px) {
  .lx-final h2 {
    font-size: 3rem;
  }
}
.lx-final > p {
  margin: 0;
  font-weight: 500;
  color: #1f2937;
}
.lx-final .lx-waitlist-success-title,
.lx-final .lx-waitlist-success-sub {
  color: #111827;
}

/* ---- Privacy policy (/privacy) ---- */
.lx-policy {
  max-width: 48rem;
  border: 3px solid #000;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 8px 8px 0 0 rgba(0, 0, 0, 1);
  overflow-wrap: break-word;
}
@media (min-width: 640px) {
  .lx-policy {
    padding: 2.5rem;
  }
}
.lx-policy h1 {
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.lx-policy-meta {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #4b5563;
}
.lx-policy-lang {
  margin-top: 0.5rem;
  font-weight: 700;
}
.lx-policy-lang a {
  color: #000;
}
.lx-policy-lang a[aria-current="true"] {
  text-decoration: none;
  cursor: default;
}
.lx-policy section {
  margin-top: 2rem;
}
.lx-policy h2 {
  font-size: 1.375rem;
  line-height: 1.2;
  font-weight: 900;
}
.lx-policy p,
.lx-policy li,
.lx-policy dd {
  margin-top: 0.75rem;
  font-weight: 500;
  line-height: 1.6;
  color: #1f2937;
}
.lx-policy ul {
  padding-left: 1.25rem;
}
.lx-policy a {
  color: #000;
  font-weight: 700;
}
.lx-policy-card {
  margin-top: 1rem;
  border: 3px solid #000;
  padding: 1rem;
}
.lx-policy-card h3 {
  font-size: 1.0625rem;
  font-weight: 900;
}
.lx-policy-card dl {
  margin: 0;
}
.lx-policy-card dt {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4b5563;
}
.lx-policy-card dd {
  margin: 0.125rem 0 0;
}
.lx-policy-scroll {
  margin-top: 1rem;
  overflow-x: auto;
}
.lx-policy table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.lx-policy th,
.lx-policy td {
  border: 2px solid #000;
  padding: 0.5rem 0.625rem;
  text-align: left;
  vertical-align: top;
  font-weight: 500;
}
.lx-policy th {
  background: #fef08a;
  font-weight: 900;
}
.lx-waitlist-note a {
  color: inherit;
  font-weight: 700;
}
