/* QService landing v4 — standalone stylesheet (no framework).
   Every size is in rem, and the root size grows with the viewport above 1600px,
   so the page reads equally well on a phone, a laptop and a large TV used for presentations. */

:root {
  --bg: #070707; --bg-2: #0b0b0b; --card: #111111; --card-2: #151515;
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .16);
  --text: #f5f5f5; --muted: #a3a3a3; --dim: #737373;
  --accent: #4680ff; --accent-soft: rgba(70, 128, 255, .13); --ok: #3ad29b;
  --r: .875rem; --r-lg: 1rem;
  --wrap: min(100% - 2.5rem, 80rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
@media (min-width: 2000px) { html { font-size: calc(16px + (100vw - 2000px) * .0085); } }
*, *::before, *::after { box-sizing: border-box; }
body.lp {
  margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden;
  font: 400 1rem/1.6 "Inter var", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.lp :where(img, svg) { display: block; max-width: 100%; }
.lp :where(a) { color: inherit; text-decoration: none; }
.lp :where(h1, h2, h3, h4, p, ul, figure) { margin: 0; }
.lp :where(ul) { padding: 0; list-style: none; }
.lp :where(button) { font: inherit; color: inherit; cursor: pointer; }
.lp :focus-visible { outline: .125rem solid var(--accent); outline-offset: .1875rem; border-radius: .375rem; }
.lp-wrap { width: var(--wrap); margin-inline: auto; }

/* Buttons */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem;
  padding: .75rem 1.375rem; border: 1px solid var(--accent); border-radius: .625rem;
  background: var(--accent); color: #fff; font-weight: 650; font-size: 1rem; line-height: 1.2;
  transition: background-color .15s, border-color .15s, transform .15s var(--ease);
}
.lp-btn:hover { background: #5a8dff; border-color: #5a8dff; }
.lp-btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .78); color: #fff; }
.lp-btn-ghost:hover { background: rgba(255, 255, 255, .07); border-color: #fff; }
.lp-btn-sm { min-height: 2.625rem; padding: .625rem 1.125rem; font-size: .9375rem; }

/* Navigation */
.lp-nav { position: sticky; top: 0; z-index: 50; background: rgba(7, 7, 7, .82); backdrop-filter: blur(1rem) saturate(1.4); -webkit-backdrop-filter: blur(1rem) saturate(1.4); border-bottom: 1px solid var(--line); }
.lp-nav-in { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.lp-brand { display: inline-flex; align-items: center; gap: .625rem; font-weight: 750; font-size: 1.125rem; letter-spacing: -.02em; }
.lp-brand img { width: 2.125rem; height: 2.125rem; border-radius: .5rem; }
.lp-nav-links { display: flex; gap: 1.75rem; margin-inline: auto; }
.lp-nav-links a, .lp-link { color: var(--muted); font-size: .9375rem; font-weight: 550; transition: color .15s; }
.lp-nav-links a:hover, .lp-link:hover { color: var(--text); }
.lp-nav-actions { display: flex; align-items: center; gap: 1rem; }
.lp-nav-login-m, .lp-burger { display: none; }
.lp-burger { width: 2.625rem; height: 2.625rem; place-items: center; border: 1px solid var(--line-2); border-radius: .75rem; background: transparent; }

/* Shared section pieces */
.lp-sec { padding-block: clamp(4rem, 7vw, 6.5rem); border-top: 1px solid var(--line); }
.lp-sec.alt { background: var(--bg-2); }
.lp-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 4vw, 4rem); }
.lp-head.center { margin-inline: auto; text-align: center; }
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: .75rem; margin-bottom: 1rem;
  color: #d4d4d4; font-size: .8125rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; line-height: 1.3;
}
.lp-eyebrow::before { content: ""; flex: none; width: 2rem; height: .125rem; border-radius: 62rem; background: var(--accent); }
.lp :where(h2) { font-size: clamp(1.75rem, 3vw, 2.625rem); line-height: 1.12; font-weight: 720; letter-spacing: -.035em; text-wrap: balance; }
.lp-sub { margin-top: 1rem; color: var(--muted); font-size: clamp(1rem, 1.2vw, 1.1875rem); line-height: 1.55; text-wrap: pretty; }
[data-rise] { opacity: 0; transform: translateY(1.25rem); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-rise].in, .no-js [data-rise] { opacity: 1; transform: none; }

/* Hero */
.lp-hero { padding-block: clamp(3rem, 5vw, 5.5rem) clamp(3.5rem, 5.5vw, 5.5rem); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(2rem, 4vw, 5rem); align-items: center; }
.lp-hero h1 { font-size: clamp(2.25rem, 4.3vw, 4.25rem); line-height: 1.05; font-weight: 760; letter-spacing: -.045em; }
.lp-hero h1 span { display: block; color: #7aa2ff; }
.lp-lead { margin-top: 1.375rem; max-width: 34rem; color: var(--muted); font-size: clamp(1rem, 1.2vw, 1.1875rem); line-height: 1.6; text-wrap: pretty; }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: .875rem; margin-top: 2.25rem; }
.lp-note { margin-top: 1.125rem; color: var(--dim); font-size: .875rem; }
.lp-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.lp-chips li { display: inline-flex; align-items: center; gap: .5rem; padding: .4375rem .8125rem; border: 1px solid var(--line); border-radius: 62rem; background: rgba(255, 255, 255, .03); color: #cfd5e2; font-size: .8125rem; font-weight: 550; line-height: 1.3; }
.lp-chips li::before { content: ""; width: .375rem; height: .375rem; flex: none; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 .1875rem rgba(58, 210, 155, .18); }

/* Live demo: guest phone + staff terminal */
.lp-demo { display: grid; grid-template-columns: 17.5rem minmax(0, 1fr); gap: 1.25rem; align-items: center; }
.lp-phone { position: relative; padding: .5rem; border: 1px solid #2c2c2c; border-radius: 2.5rem; background: #121212; box-shadow: 0 2.5rem 5rem -2.5rem #000, 0 0 0 .0625rem rgba(255, 255, 255, .04) inset; }
.lp-phone::before { content: ""; position: absolute; top: .9375rem; left: 50%; z-index: 3; width: 4.25rem; height: .3125rem; border-radius: 62rem; background: rgba(0, 0, 0, .45); transform: translateX(-50%); }
.lp-screen {
  --g-bg: #163b40; --g-fg: #efe0b4; --g-accent: #d0b779; --g-tile: #25494c; --g-line: #a29470; --g-font: Georgia, "Times New Roman", serif;
  position: relative; height: 37rem; overflow: hidden; border-radius: 2.0625rem; color: var(--g-fg); font-family: var(--g-font); text-align: center;
  background: radial-gradient(ellipse at 0 0, rgba(255, 255, 255, .13), transparent 60%), var(--g-bg); transition: background-color .4s, color .4s;
}
.lp-g { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 2.25rem .875rem .875rem; overflow-y: auto; scrollbar-width: none; transition: transform .45s var(--ease), opacity .3s; }
.lp-g::-webkit-scrollbar { display: none; }
.lp-g[hidden] { display: flex; visibility: hidden; opacity: 0; pointer-events: none; }
.lp-g[data-view="home"][hidden] { transform: translateX(-18%); }
.lp-g[data-view="menu"][hidden] { transform: translateX(18%); }
.lp-g-logo { display: grid; place-items: center; width: 3.375rem; height: 3.375rem; flex: none; border: 1px solid var(--g-accent); border-radius: 50%; color: var(--g-accent); font-size: 1.4375rem; font-weight: 600; }
.lp-g-name { margin-top: .625rem; font-size: 1rem; font-weight: 600; letter-spacing: .02em; }
.lp-g-table { margin-top: .25rem; font-size: .6875rem; opacity: .75; }
.lp-g-social { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3125rem; width: 100%; margin-top: .75rem; padding: .3125rem; border: 1px solid color-mix(in srgb, var(--g-fg) 14%, transparent); border-radius: 1.25rem; background: color-mix(in srgb, var(--g-fg) 5%, transparent); }
.lp-g-social span { display: grid; place-items: center; height: 2.125rem; border: 1px solid color-mix(in srgb, var(--g-line) 70%, transparent); border-radius: .75rem; background: var(--g-tile); }
.lp-g-social svg { width: 1.0625rem; height: 1.0625rem; fill: none; stroke: var(--g-fg); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-g-welcome { margin: .6875rem 0 .5625rem; font-size: 1rem; line-height: 1.3; }
.lp-g-btn { display: flex; align-items: center; justify-content: center; gap: .4375rem; width: 100%; border: 1px solid var(--g-line); border-radius: 1.125rem; background: var(--g-tile); color: var(--g-fg); font-family: inherit; font-size: .75rem; font-weight: 500; line-height: 1.25; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 .5rem 1.375rem rgba(0, 0, 0, .07); transition: transform .15s, filter .15s, border-color .15s; }
.lp-g-btn:hover { filter: brightness(1.08); }
.lp-g-btn:active, .lp-g-btn.sent { transform: scale(.97); border-color: var(--g-accent); }
.lp-g-btn svg { width: 1.375rem; height: 1.375rem; flex: none; fill: none; stroke: var(--g-accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lp-g-btn.wide { min-height: 2.875rem; padding: .5rem; }
.lp-g-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; width: 100%; margin-top: .5rem; }
.lp-g-grid .lp-g-btn { flex-direction: column; min-height: 4.0625rem; padding: .375rem .3125rem; }
.lp-g-review { margin-top: .375rem; padding: .375rem .75rem; border: 0; background: none; color: var(--g-fg); font-family: inherit; font-size: .6875rem; display: inline-flex; flex-direction: column; align-items: center; gap: .1875rem; }
.lp-g-review svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: var(--g-accent); stroke-width: 1.5; stroke-linejoin: round; }
.lp-g-toast { position: absolute; left: .625rem; right: .625rem; bottom: .625rem; z-index: 4; padding: .5625rem .75rem; border-radius: .875rem; background: #f1fbf5; color: #164c31; font: 550 .75rem/1.35 "Inter var", Inter, system-ui, sans-serif; box-shadow: 0 .625rem 1.5rem rgba(0, 0, 0, .25); opacity: 0; transform: translateY(.5rem); transition: opacity .25s, transform .25s; pointer-events: none; }
.lp-g-toast.on { opacity: 1; transform: none; }

/* Demo menu inside the phone */
.lp-m { align-items: stretch; padding: 2.125rem .75rem .75rem; text-align: start; }
.lp-m-top { display: flex; align-items: center; gap: .625rem; }
.lp-m-top b { flex: 1; font-size: 1.0625rem; font-weight: 600; }
.lp-m-back { display: grid; place-items: center; width: 2.125rem; height: 2.125rem; flex: none; border: 1px solid var(--g-accent); border-radius: .75rem; background: var(--g-accent); color: var(--g-bg); }
.lp-m-back svg { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-m-cats { display: flex; gap: .375rem; margin: .75rem 0 .5rem; overflow-x: auto; scrollbar-width: none; }
.lp-m-cats::-webkit-scrollbar { display: none; }
.lp-m-cats button { flex: none; padding: .375rem .6875rem; border: 1px solid color-mix(in srgb, var(--g-line) 70%, transparent); border-radius: 62rem; background: transparent; font-family: inherit; font-size: .6875rem; white-space: nowrap; }
.lp-m-cats button.on { background: var(--g-accent); border-color: var(--g-accent); color: var(--g-bg); }
.lp-m-list { display: grid; gap: .4375rem; }
.lp-m-list li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; align-items: center; gap: .625rem; padding: .4375rem; border: 1px solid color-mix(in srgb, var(--g-line) 55%, transparent); border-radius: 1rem; background: var(--g-tile); }
.lp-m-list li[hidden] { display: none; }
.lp-m-pic { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .75rem; background: color-mix(in srgb, var(--g-accent) 22%, transparent); }
.lp-m-pic svg { width: 1.375rem; height: 1.375rem; fill: none; stroke: var(--g-accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lp-m-list b { display: block; font-size: .75rem; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.lp-m-list small { font-size: .6875rem; opacity: .8; }
.lp-m-add { display: grid; place-items: center; width: 1.875rem; height: 1.875rem; border: 1px solid var(--g-accent); border-radius: 50%; background: transparent; color: var(--g-accent); font: 500 1.125rem/1 "Inter var", system-ui, sans-serif; transition: background-color .15s, color .15s, transform .15s; }
.lp-m-add.on { background: var(--g-accent); color: var(--g-bg); transform: rotate(90deg); }
.lp-m-order { margin-top: auto; min-height: 2.75rem; border: 0; border-radius: 1.125rem; background: var(--g-accent); color: var(--g-bg); font-family: inherit; font-size: .8125rem; font-weight: 600; transition: opacity .2s; }
.lp-m-order:disabled { opacity: .4; cursor: default; }

/* Staff terminal */
.lp-term { border: 1px solid var(--line-2); border-radius: 1.125rem; background: #0f0f0f; box-shadow: 0 2.5rem 5rem -2.75rem #000; overflow: hidden; }
.lp-term-head { display: flex; align-items: center; gap: .625rem; padding: .875rem 1.125rem; border-bottom: 1px solid var(--line); font-size: .875rem; }
.lp-term-head img { width: 1.5rem; height: 1.5rem; border-radius: .375rem; }
.lp-term-head small { margin-inline-start: auto; color: var(--dim); font-size: .75rem; }
.lp-term-body { padding: 1.125rem; }
.lp-term-top { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; margin-bottom: .875rem; }
.lp-term-top small { display: block; color: var(--dim); font-size: .75rem; }
.lp-term-top b { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.lp-pill { padding: .3125rem .625rem; border: 1px solid rgba(70, 128, 255, .4); border-radius: 62rem; background: var(--accent-soft); color: #b7caff; font-size: .75rem; font-weight: 650; white-space: nowrap; }
.lp-reqs { display: grid; gap: .5rem; min-height: 13.25rem; align-content: start; }
.lp-reqs:empty::before { content: attr(data-empty); display: grid; place-items: center; min-height: 13.25rem; border: 1px dashed var(--line-2); border-radius: 1rem; color: var(--dim); font-size: .8125rem; text-align: center; padding: 1rem; }
.lp-req { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; align-items: center; gap: .75rem; padding: .625rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--card); animation: lp-in .45s var(--ease); }
.lp-req-n { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .75rem; background: var(--accent-soft); color: #b7caff; font-weight: 750; font-size: .9375rem; }
.lp-req b { display: block; font-size: .875rem; font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; }
.lp-req small { color: var(--dim); font-size: .75rem; }
.lp-req button { padding: .4375rem .75rem; border: 0; border-radius: .625rem; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 650; }
.lp-req.done { opacity: .62; }
.lp-req.done button { background: rgba(58, 210, 155, .14); color: var(--ok); cursor: default; }
.lp-term-cap { margin-top: .875rem; color: var(--dim); font-size: .75rem; text-align: center; }
@keyframes lp-in { from { opacity: 0; transform: translateY(-.5rem) scale(.98); } }
.lp-demo-side { display: grid; gap: .875rem; min-width: 0; }
.lp-themes { display: flex; flex-wrap: wrap; gap: .5rem; padding-inline: .25rem; }
.lp-themes button { width: 1.75rem; height: 1.75rem; padding: 0; border: .125rem solid transparent; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px var(--line-2); transition: transform .15s; }
.lp-themes button:hover { transform: scale(1.1); }
.lp-themes button[aria-pressed="true"] { border-color: var(--bg); box-shadow: 0 0 0 .125rem #fff; }

/* Venue formats */
.lp-venues { padding-block: 1.75rem; border-top: 1px solid var(--line); }
.lp-venues .lp-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1.5rem; }
.lp-venues p { color: var(--dim); font-size: .875rem; font-weight: 550; }
.lp-venues ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.lp-venues li { padding: .5rem .875rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--card); font-size: .875rem; font-weight: 600; line-height: 1.3; }

/* Statement: one big thought between the hero and the feature sections */
.lp-manifest { padding-block: clamp(4.5rem, 9vw, 8.5rem); border-top: 1px solid var(--line); text-align: center; }
.lp-manifest h2 { max-width: 62rem; margin-inline: auto; font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.08; font-weight: 760; letter-spacing: -.04em; text-wrap: balance; }
.lp-manifest h2 span { display: block; margin-top: .2em; color: #7aa2ff; }
.lp-manifest p { max-width: 46rem; margin: clamp(1.5rem, 2.6vw, 2.25rem) auto 0; color: var(--muted); font-size: clamp(1.0625rem, 1.35vw, 1.3125rem); line-height: 1.6; text-wrap: pretty; }

/* Bento: what the guest gets */
.lp-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.lp-tile { padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); transition: border-color .2s, transform .2s var(--ease); }
.lp-tile:hover { border-color: rgba(255, 255, 255, .24); transform: translateY(-.125rem); }
.lp-ic { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.25rem; border: 1px solid var(--line-2); border-radius: .75rem; background: #171717; color: #fff; }
.lp-ic svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lp :where(h3) { font-size: 1.1875rem; font-weight: 680; line-height: 1.3; letter-spacing: -.015em; overflow-wrap: anywhere; }
.lp-tile p, .lp-card p { margin-top: .5rem; color: var(--muted); font-size: .9688rem; line-height: 1.55; overflow-wrap: anywhere; }

/* Split sections */
.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.lp-split .lp-head { margin-bottom: 0; }
.lp-points { display: grid; gap: 1.25rem; margin-top: 2.25rem; }
.lp-points li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 1rem; }
.lp-points .lp-ic { width: 2.5rem; height: 2.5rem; margin: 0; border-radius: .75rem; }
.lp-points .lp-ic svg { width: 1.25rem; height: 1.25rem; }
.lp-points p { margin-top: .25rem; color: var(--muted); font-size: .9688rem; }
.lp-board { padding: 1.25rem; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: #0f0f0f; box-shadow: 0 2.5rem 5rem -3rem #000; }
.lp-board .lp-req { animation: none; }
.lp-board .lp-reqs { min-height: 0; }
.lp-status { padding: .3125rem .625rem; border-radius: 62rem; font-size: .75rem; font-weight: 650; white-space: nowrap; }
.lp-status.new { background: var(--accent-soft); color: #b7caff; }
.lp-status.work { background: rgba(255, 190, 92, .13); color: #ffcf8a; }
.lp-status.ok { background: rgba(58, 210, 155, .13); color: var(--ok); }


/* Before -> after: each row is a problem turning into its solution */
.lp-flow { display: grid; gap: .75rem; }
.lp-flow-head, .lp-flow-row { display: grid; grid-template-columns: minmax(0, 1fr) 2.75rem minmax(0, 1.12fr); align-items: stretch; gap: .875rem; }
.lp-flow-head { margin-bottom: .25rem; }
.lp-flow-tag { display: inline-flex; align-items: center; gap: .5rem; justify-self: start; padding: .375rem .8125rem; border: 1px solid var(--line-2); border-radius: 62rem; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3; }
.lp-flow-tag::before { content: ""; width: .4375rem; height: .4375rem; border-radius: 50%; background: #e5484d; }
.lp-flow-tag.now { grid-column: 3; border-color: rgba(58, 210, 155, .45); color: #fff; }
.lp-flow-tag.now::before { background: var(--ok); box-shadow: 0 0 0 .1875rem rgba(58, 210, 155, .18); }
.lp-flow-was, .lp-flow-now { display: flex; align-items: center; gap: .875rem; min-height: 4.25rem; padding: .875rem 1.25rem; border: 1px solid var(--line); border-radius: var(--r); line-height: 1.45; overflow-wrap: anywhere; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.lp-flow-was { background: #0b0b0b; color: var(--dim); }
.lp-flow-now { background: var(--card); border-color: var(--line-2); color: var(--text); font-weight: 620; }
.lp-flow-ic { display: grid; place-items: center; width: 2rem; height: 2rem; flex: none; border-radius: 50%; }
.lp-flow-ic svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lp-flow-was .lp-flow-ic { background: rgba(229, 72, 77, .12); color: #e5484d; }
.lp-flow-now .lp-flow-ic { background: rgba(58, 210, 155, .14); color: var(--ok); }
.lp-flow-arrow { display: grid; place-items: center; align-self: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line-2); border-radius: 50%; background: #141414; color: var(--muted); transition: color .2s, border-color .2s, background-color .2s; }
.lp-flow-arrow svg { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .lp-flow-arrow svg { transform: scaleX(-1); }
.lp-flow-row:hover .lp-flow-now { border-color: rgba(58, 210, 155, .55); transform: translateX(.25rem); }
[dir="rtl"] .lp-flow-row:hover .lp-flow-now { transform: translateX(-.25rem); }
.lp-flow-row:hover .lp-flow-arrow { border-color: var(--accent); background: var(--accent); color: #fff; }

/* Cards grid (tools) and benefits */
.lp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.lp-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); transition: border-color .2s, transform .2s var(--ease); }
.lp-card:hover { border-color: rgba(255, 255, 255, .24); transform: translateY(-.125rem); }
.lp-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

/* Guest page showcase */
.lp-looks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.375rem; align-items: end; padding-top: 1.125rem; }
.lp-look { padding: .5rem; border: 1px solid #2c2c2c; border-radius: 1.875rem; background: #121212; box-shadow: 0 1.875rem 3.75rem -2.25rem #000; transition: transform .35s var(--ease); }
.lp-look:nth-child(even) { transform: translateY(-1.125rem); }
.lp-look:hover { transform: translateY(-.5rem); }
.lp-look:nth-child(even):hover { transform: translateY(-1.625rem); }
.lp-look-screen { display: flex; flex-direction: column; align-items: center; gap: .5625rem; min-height: 22.5rem; padding: 1.625rem .875rem 1.125rem; border-radius: 1.4375rem; overflow: hidden; text-align: center; background: var(--look-bg); color: var(--look-fg); font-family: var(--look-font); }
.lp-look-logo { display: grid; place-items: center; width: 3.375rem; height: 3.375rem; border: 1px solid var(--look-accent); border-radius: 50%; color: var(--look-accent); font-size: 1.375rem; font-weight: 600; }
.lp-look-name { font-size: .9375rem; font-weight: 600; letter-spacing: .02em; }
.lp-look-table { margin-bottom: .375rem; font-size: .6875rem; opacity: .7; }
.lp-look-wide, .lp-look-grid span { display: flex; align-items: center; justify-content: center; padding: .5rem .25rem; border: 1px solid var(--look-line); border-radius: 1.125rem; background: var(--look-tile); font-size: .6875rem; line-height: 1.25; overflow-wrap: break-word; }
.lp-look-wide { width: 100%; min-height: 2.75rem; }
.lp-look-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; width: 100%; }
.lp-look-grid span { min-height: 3.875rem; }
/* Mockups in other scripts: the serif stack has no Arabic or Japanese glyphs, so use native UI fonts and a touch more size. */
.lp-look-screen[lang="ar"] { font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", system-ui, sans-serif; }
.lp-look-screen[lang="ja"] { font-family: "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", Meiryo, system-ui, sans-serif; }
.lp-look-screen[lang="ar"] .lp-look-name { font-size: 1.125rem; letter-spacing: 0; }
.lp-look-screen[lang="ar"] .lp-look-logo { font-size: 1.625rem; }
.lp-look-screen[lang="ar"] :is(.lp-look-wide, .lp-look-grid span) { font-size: .8125rem; }
.lp-look-screen[lang="ar"] .lp-look-table { font-size: .75rem; }
.lp-fine { margin-top: 1.625rem; color: var(--dim); font-size: .8125rem; text-align: center; }

/* Languages */
.lp-langs { display: flex; flex-wrap: wrap; gap: .625rem; }
.lp-langs li { padding: .625rem 1rem; border: 1px solid var(--line); border-radius: 62rem; background: var(--card); font-size: .9375rem; font-weight: 600; line-height: 1.3; }

/* Steps */
.lp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: step; }
.lp-step { position: relative; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); counter-increment: step; }
.lp-step::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 1.5rem; color: var(--accent); font-size: 2.5rem; font-weight: 760; line-height: 1; letter-spacing: -.04em; }
.lp-step p { margin-top: .5rem; color: var(--muted); font-size: .9688rem; }

/* Plans */
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.lp-plan { display: flex; flex-direction: column; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.lp-plan.pop { border-color: var(--accent); }
.lp-plan h3 { color: var(--muted); font-size: 1rem; font-weight: 600; }
.lp-price { margin-top: .875rem; font-size: 2.75rem; font-weight: 760; line-height: 1; letter-spacing: -.04em; }
.lp-price span { color: var(--dim); font-size: .9375rem; font-weight: 500; letter-spacing: 0; }
.lp-plan p { margin-top: 1rem; color: var(--muted); font-size: .9375rem; }

/* FAQ */
.lp-faq { max-width: 52rem; margin-inline: auto; display: grid; gap: .625rem; }
.lp-faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.lp-faq details[open] { border-color: rgba(255, 255, 255, .24); }
.lp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; font-size: 1.0625rem; font-weight: 620; list-style: none; cursor: pointer; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: ""; width: .625rem; height: .625rem; flex: none; border-right: .125rem solid var(--accent); border-bottom: .125rem solid var(--accent); transform: rotate(45deg) translateY(-.1875rem); transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(-135deg); }
.lp-faq details > div { padding: 0 1.5rem 1.375rem; color: var(--muted); }

/* Final call to action and footer */
.lp-final { padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 5rem); border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--card); text-align: center; }
.lp-final h2 { max-width: 20ch; margin-inline: auto; }
.lp-final .lp-sub { max-width: 40rem; margin-inline: auto; }
.lp-final .lp-cta-row { justify-content: center; }
.lp-foot { padding-block: 3rem 2.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9375rem; }
.lp-foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.lp-foot p { max-width: 26rem; margin-top: 1rem; }
.lp-foot h4 { margin-bottom: .875rem; color: var(--text); font-size: .9375rem; font-weight: 650; }
.lp-foot li + li { margin-top: .5rem; }
.lp-foot a:hover { color: var(--text); }
.lp-copy { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--dim); font-size: .8125rem; }

/* Language list in the footer */
.lp-langnav { display: flex; flex-wrap: wrap; gap: .375rem 1rem; margin-top: 2.25rem; font-size: .8125rem; }
.lp-langnav a { color: var(--dim); }
.lp-langnav a:hover, .lp-langnav a[aria-current] { color: var(--text); }
.lp-copy { margin-top: 1.25rem; }

/* Tablets and small laptops */
@media (max-width: 68rem) {
  .lp-hero-grid { grid-template-columns: 1fr; }
  .lp-hero-copy { text-align: center; }
  .lp-lead { margin-inline: auto; }
  .lp-cta-row, .lp-chips { justify-content: center; }
  .lp-demo { max-width: 46rem; margin-inline: auto; width: 100%; }
  .lp-nav-links { position: absolute; inset: 100% 0 auto; display: none; flex-direction: column; gap: 0; margin: 0; padding: .5rem 1.25rem 1rem; background: rgba(7, 7, 7, .98); border-bottom: 1px solid var(--line); }
  .lp-nav.open .lp-nav-links { display: flex; }
  .lp-nav-links a { padding: .875rem 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
  .lp-nav-login-m { display: block; }
  .lp-nav-actions { margin-inline-start: auto; }
  .lp-nav-actions .lp-link { display: none; }
  .lp-burger { display: grid; }
  .lp-bento, .lp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-split { grid-template-columns: 1fr; }
  .lp-looks { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 34rem; margin-inline: auto; }
  .lp-look:nth-child(even), .lp-look:hover, .lp-look:nth-child(even):hover { transform: none; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-foot-grid { grid-template-columns: 1fr 1fr; }
  .lp-foot-grid > :first-child { grid-column: 1 / -1; }
}
/* Phones */
@media (max-width: 40rem) {
  :root { --wrap: min(100% - 2rem, 78rem); }
  .lp-demo { grid-template-columns: 1fr; justify-items: center; }
  .lp-phone { width: min(100%, 18.5rem); }
  .lp-demo-side { width: 100%; }
  .lp-themes { justify-content: center; }
  .lp-bento, .lp-cards, .lp-benefits { grid-template-columns: 1fr; }
  .lp-tile { padding: 1.375rem; }
  .lp-flow-head { display: none; }
  .lp-flow { gap: 1rem; }
  .lp-flow-row { grid-template-columns: 1fr; gap: .375rem; }
  .lp-flow-arrow { justify-self: center; width: 2rem; height: 2rem; transform: rotate(90deg); }
  .lp-flow-row:hover .lp-flow-now, [dir="rtl"] .lp-flow-row:hover .lp-flow-now { transform: none; }
  .lp-flow-was, .lp-flow-now { min-height: 0; padding: .875rem 1rem; }
  .lp-btn { width: 100%; }
  .lp-nav .lp-btn { width: auto; min-height: 2.5rem; padding: .5rem .8125rem; font-size: .875rem; white-space: nowrap; }
  .lp-nav-in { gap: .75rem; }
  .lp-nav-actions { gap: .5rem; }
  .lp-brand { font-size: 1.0625rem; }
  .lp-looks { gap: .75rem; }
  .lp-look { padding: .375rem; border-radius: 1.5rem; }
  .lp-look-screen { min-height: 18.75rem; padding: 1.25rem .5rem .875rem; border-radius: 1.1875rem; }
  .lp-look-grid { gap: .375rem; }
  .lp-look-grid span { min-height: 3.375rem; padding: .3125rem .1875rem; border-radius: .875rem; font-size: .625rem; }
  .lp-look-wide { font-size: .625rem; }
  .lp-foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
  [data-rise] { opacity: 1; transform: none; }
  .lp-look:nth-child(even) { transform: none; }
}
