/* ════════════════════════════════════════════════════════════════════════════
   MostlyQR LANDING (F312) — mqr/landing/*.jsx. All lk-* classes.
   Register: LOUD on top (dark hero, the wall of looks), calm product sections in the middle,
   a CALM dark enterprise band near the bottom. The dark surfaces are fixed colours on purpose
   (they read the same in both site themes, like /enterprise's hero); everything else is tokens.
   Kept out of marketing.css, which is already over the file-size rule.
   ════════════════════════════════════════════════════════════════════════════ */
.lk-hero, .lk-ent {
  --lk-ink: #090b14; --lk-ink2: #0d0f19; --lk-line: #1d2131; --lk-dim: #aab1c9; --lk-mute: #8d94ad;
  --lk-blue: #7fa3ff; --lk-good: #6cf0a7; --lk-mono: var(--font-mono, ui-monospace, "SF Mono", Menlo, monospace);
}

/* ── Hero ── */
.mk-hero.lk-hero { padding: 0; background: var(--lk-ink); color: #eef0f8; isolation: isolate; }
.lk-hero::before { content: ""; position: absolute; inset: -30% -15% auto auto; width: 70%; height: 130%; z-index: -1;
  background: radial-gradient(closest-side, rgba(91,141,239,0.26), transparent 70%); pointer-events: none; }
.lk-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 24px; position: relative; min-height: 600px; }
/* Full-width hero: the copy starts at the screen gutter (aligned with the full-width nav logo), keeps a readable
   column, and the wall takes ALL the remaining width to the right edge. */
.mk-wrap.lk-hero__inner { max-width: var(--mk-maxw, 100vw); padding: 0 var(--mk-gutter, 32px);
  grid-template-columns: minmax(0, clamp(420px, 44vw, 620px)) minmax(0, 1fr); gap: clamp(40px, 6vw, 120px); }
.lk-hero__copy { padding: 84px 0 56px; display: flex; flex-direction: column; gap: 22px; position: relative; z-index: 2; }
.lk-h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5.2vw, 66px); line-height: .98;
  letter-spacing: -0.045em; margin: 0; color: #fff; text-wrap: balance; }
/* background-clip:text paints only inside the element's box; with line-height .98 the descenders (g, p)
   hang below it and get cut. Pad the box down and pull the layout back up by the same amount. */
.lk-h1 span { display: block; padding-bottom: .14em; margin-bottom: -.14em; background: linear-gradient(90deg, #7fa3ff, #c58cff 55%, #ff8fb1);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.lk-lead { font-size: 17.5px; line-height: 1.55; color: #b4bad0; max-width: 31em; margin: 0; text-wrap: pretty; }
.lk-promise { align-self: flex-start; display: flex; align-items: center; gap: 12px; margin: 0; max-width: 100%;
  padding: 8px 20px 8px 8px; border-radius: 999px; font-size: 15px; line-height: 1.4; color: #b9f5d3;
  background: linear-gradient(90deg, rgba(108,240,167,.14), rgba(108,240,167,.04)); border: 1px solid rgba(108,240,167,.35); }
.lk-promise strong { color: #fff; font-weight: 600; }
.lk-promise__ic { width: 32px; height: 32px; border-radius: 999px; background: var(--lk-good); color: #062b18; display: grid; place-items: center; flex: none; }
.lk-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.lk-btn-ghost { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 22px; border-radius: 999px;
  border: 1px solid #3a3f55; color: #eef0f8; font: 600 15px var(--font-sans); text-decoration: none; background: transparent; cursor: pointer; }
.lk-btn-ghost:hover { border-color: #5b6280; background: rgba(255,255,255,.04); }
.lk-btn-ghost:focus-visible, .lk-look:focus-visible, .lk-tab:focus-visible, .lk-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lk-hero__meta { display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: 13.5px; color: var(--lk-mute); }
.lk-hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.lk-hero__meta svg { color: var(--lk-good); }

/* stage: the wall of looks (and, later, the 3D scene) */
/* The stage runs through the gutter to the right edge of the capped hero (--mk-maxw) — the viewport edge up to 1920px. The section's overflow:hidden stops any
   horizontal scroll. Columns: hero.jsx sizes them to the width. */
.lk-hero__stage { position: relative; min-height: 600px; margin-right: calc(-1 * var(--mk-gutter, 32px)); }
.lk-wall { position: absolute; inset: -40px 0 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  transform: rotate(-6deg); transform-origin: 30% 50%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 13%, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 13%, #000 84%, transparent 100%); }
.lk-wall__col { display: flex; flex-direction: column; gap: 16px; animation: lk-drift 64s linear infinite; }
.lk-wall[data-paused="on"] .lk-wall__col { animation-play-state: paused; }
/* Desktop: the wall eases in from the left so no tile butts up against the copy (founder: "let it breathe"). */
@media (min-width: 941px) {
  .lk-wall { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 13%, #000 84%, transparent 100%), linear-gradient(90deg, transparent 0, #000 140px);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, transparent 0, #000 13%, #000 84%, transparent 100%), linear-gradient(90deg, transparent 0, #000 140px);
    mask-composite: intersect; }
}


@keyframes lk-drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* tiles (wall + gallery) */
.lk-tile { container-type: inline-size; display: block; flex: none; border-radius: 18px; overflow: hidden; background: #fff; color: #1d1f29; text-decoration: none;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); transition: transform .25s ease; }
.lk-tile--dark { background: #0d0f16; color: #e3e6f2; outline: 1px solid #262a3a; }
.lk-art { display: block; width: 100%; }
.lk-art--sprite { aspect-ratio: 1; background-repeat: no-repeat; background-color: #fff; }
.lk-art--sprite.is-dark { background-color: #0d0f16; }
.lk-art--qr svg { display: block; width: 100%; height: auto; }
.lk-art--img img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.lk-art--img.is-wide img { aspect-ratio: auto; object-fit: contain; padding: 14% 10%; box-sizing: border-box; }
.lk-tile__cap { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px 11px;
  font-size: 12px; font-weight: 600; border-top: 1px solid #eceef3; }
.lk-tile--dark .lk-tile__cap { border-top-color: #22263a; }
.lk-tile__name { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Narrow wall tiles: the name matters more than the kind chip — drop the chip rather than cut the name. */
@container (max-width: 200px) { .lk-tile .lk-kind { display: none; } }
.lk-kind { flex: none; font: 600 9.5px/1 var(--font-mono, ui-monospace, Menlo, monospace); letter-spacing: .06em; text-transform: uppercase; padding: 4px 6px; border-radius: 5px; }
.lk-kind--motion { background: #2b4bb0; color: #fff; }
.lk-kind--photo { background: #fde7ef; color: #a61e4d; }
.lk-kind--brand { background: #e7edfd; color: #2b4bb0; }
.lk-kind--barcode { background: #e6f6ec; color: #1f7a4d; }
.lk-kind--flow { background: #fff1db; color: #9a5b00; }
.lk-art--flow { padding: 12px; display: flex; flex-direction: column; gap: 6px; background: #fff; box-sizing: border-box; }
.lk-flow__top { display: flex; gap: 10px; align-items: center; }
.lk-flow__qr { width: 48px; flex: none; }
.lk-flow__qr svg { display: block; width: 100%; height: auto; }
.lk-flow__h { min-width: 0; font-size: 12.5px; font-weight: 600; line-height: 1.25; color: #1d1f29; }
.lk-flow__h small { display: block; margin-top: 3px; font: 500 10.5px var(--font-mono, ui-monospace, Menlo, monospace); color: #7a8096; }
.lk-flow__route { display: flex; justify-content: space-between; gap: 6px; font-size: 11px; padding: 5px 8px; white-space: nowrap; border-radius: 8px;
  color: #5d6170; background: #f5f6fa; transition: background .3s, color .3s; }
.lk-flow__route b { font-weight: 600; color: #1d1f29; flex: none; }
.lk-flow__route span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lk-flow__route.is-on { background: #1d2a5c; color: #c9d6ff; }
.lk-flow__route.is-on b { color: #fff; }

/* the one-line scan feed */
.lk-scan { position: absolute; right: calc(var(--mk-gutter, 32px) + max(0px, (100vw - var(--mk-maxw, 100vw)) / 2)); bottom: 30px; z-index: 3; width: 290px; max-width: calc(100% - 32px); display: grid;
  grid-template-columns: 8px minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px 18px 9px 14px; border-radius: 999px;
  background: rgba(13,16,27,.94); border: 1px solid #2c3352; box-shadow: 0 24px 50px -12px rgba(0,0,0,.7);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lk-scan__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lk-good); box-shadow: 0 0 0 3px rgba(108,240,167,.18); }
.lk-scan__body { min-width: 0; animation: lk-in .5s ease; }
@keyframes lk-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
.lk-scan__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 2px; }
.lk-scan__row b { min-width: 0; font-size: 12.5px; font-weight: 600; color: #eef0f8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-scan__rule { flex: none; font: 600 9px/1 var(--lk-mono); letter-spacing: .06em; text-transform: uppercase; padding: 4px 6px; border-radius: 5px; background: #1a2140; color: #9fb8ff; }
.lk-scan small { display: block; font-size: 11.5px; color: var(--lk-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-scan i { font-style: normal; color: #c9d6ff; }

/* look row + hinge */
.lk-looks { background: #0b0d17; border-top: 1px solid var(--lk-line); position: relative; z-index: 2; }
.lk-looks__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; padding-top: 22px; padding-bottom: 24px; }
.mk-wrap.lk-looks__grid, .mk-wrap.lk-hinge__row { max-width: var(--mk-maxw, 100vw); padding-left: var(--mk-gutter, 32px); padding-right: var(--mk-gutter, 32px); }
.lk-look { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid #22273a; border-radius: 14px;
  background: #10131f; text-decoration: none; min-width: 0; transition: border-color .2s, background .2s; }
.lk-look:hover { border-color: #3a4566; background: #141829; }
.lk-look__th { width: 44px; height: 44px; border-radius: 9px; flex: none; overflow: hidden; background: #fff; }
.lk-look__th .lk-art--qr svg, .lk-look__th img { width: 100%; height: 100%; }
.lk-look__route { width: 100%; height: 100%; display: grid; place-items: center; background: #1d2a5c; color: #c9d6ff; }
.lk-look__txt { min-width: 0; }
.lk-look__txt b { display: block; font-size: 14px; font-weight: 600; color: #fff; }
.lk-look__txt span { display: block; font-size: 12px; line-height: 1.35; color: var(--lk-mute); }
.lk-new { display: inline-block; font: 600 9px/1 var(--font-mono, ui-monospace, Menlo, monospace); font-style: normal; letter-spacing: .06em;
  padding: 3px 5px; border-radius: 4px; background: #2b4bb0; color: #fff; margin-left: 6px; vertical-align: 2px; }
.lk-hinge { background: var(--lk-ink2); border-top: 1px solid var(--lk-line); }
.lk-hinge__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; padding-top: 16px; padding-bottom: 16px; font-size: 13.5px; color: var(--lk-dim); }
.lk-hinge__row span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.lk-hinge__row svg { color: var(--lk-blue); }

/* ── Designs gallery ── */
.lk-gallery { padding: 72px 0 88px; scroll-margin-top: 72px; }
.lk-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 0 auto; padding: 5px; width: fit-content; max-width: 100%;
  border: 1px solid var(--hairline); border-radius: 999px; background: var(--bg-elev); }
.lk-tab { appearance: none; border: 0; background: transparent; color: var(--fg-muted); font: 600 14px var(--font-sans); padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.lk-tab[aria-selected="true"] { background: var(--fg); color: var(--bg); }
.lk-tab[aria-selected="true"] .lk-new { background: var(--accent); }
.lk-gallery__stack { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 20px; }
.lk-gallery__panel { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; transition: opacity .25s ease; }
.lk-gallery__panel[data-active="off"] { visibility: hidden; opacity: 0; }
.lk-gallery__blurb { text-align: center; color: var(--fg-muted); font-size: 15px; max-width: 40em; margin: 0 auto; min-height: 3em; }
.lk-ggrid { display: grid; gap: 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 24px; flex: 1; align-content: start; }
.lk-ggrid--barcode { grid-template-columns: repeat(3, minmax(0, 220px)); justify-content: center; align-content: center; }
.lk-gcard { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; text-decoration: none; background: var(--bg-elev);
  border: 1px solid var(--hairline); color: var(--fg); transition: transform .25s ease, box-shadow .25s ease; }
.lk-gcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md, 0 10px 28px -14px rgba(10,14,40,.3)); }
.lk-gcard:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lk-gcard__art { position: relative; display: block; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--hairline); overflow: hidden; }
.lk-gcard--dark .lk-gcard__art { background: #0d0f16; }
.lk-gcard__art > .lk-art { position: absolute; inset: 0; width: 100%; height: 100%; }   /* pinned: a % height doesn't resolve reliably inside the aspect-ratio box */
.lk-gcard__art .lk-art--qr { display: grid; place-items: center; padding: 6%; box-sizing: border-box; }
.lk-gcard__art .lk-art--qr svg { width: 100%; height: 100%; }   /* viewBox + default 'meet': framed (taller) codes fit, never clip */
.lk-gcard__art .lk-art--img img { width: 100%; height: 100%; }
.lk-gcard__t { padding: 10px 12px 0; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-gcard__d { margin: 4px 12px 12px; font-size: 12.5px; line-height: 1.45; min-height: 2.9em; color: var(--fg-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lk-gallery__cta { display: flex; justify-content: center; margin-top: 28px; }
.lk-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 15px var(--font-sans); }

/* ── Enterprise summary (calm, dark) ── */
.lk-ent { color: #e9ecf6; padding: 80px 0 64px; scroll-margin-top: 72px;
  background: radial-gradient(120% 80% at 100% 0%, #16204a 0%, #0b0f1e 45%, #080a12 100%); }
.lk-ent__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.lk-ent__eb { font: 500 12px var(--lk-mono); letter-spacing: .08em; color: #8fb0ff; text-transform: uppercase; }
.lk-ent__h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.04; letter-spacing: -0.035em; margin: 14px 0 0; color: #fff; text-wrap: balance; }
.lk-ent__h2 span { color: #6f7690; }
.lk-ent__lead { color: var(--lk-dim); font-size: 16.5px; line-height: 1.55; margin: 16px 0 0; max-width: 34em; }
.lk-ent__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.lk-btn-ghost--dark { height: 42px; }
.lk-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; border: 1px solid #252b44; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.015); }
.lk-fact { padding: 22px 22px 20px; border-right: 1px solid #252b44; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lk-fact:last-child { border-right: 0; }
.lk-fact__t { font: 500 11px var(--lk-mono); letter-spacing: .08em; color: #8fb0ff; text-transform: uppercase; }
.lk-fact__big { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1; letter-spacing: -0.03em; color: #fff; }
.lk-fact__big small { font-size: 14px; font-weight: 500; color: #8a91aa; letter-spacing: 0; margin-left: 5px; }
.lk-fact ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; color: #c4c9dc; line-height: 1.4; flex: 1; }
.lk-fact li { display: grid; grid-template-columns: 14px 1fr; gap: 8px; }
.lk-fact li::before { content: "✓"; color: var(--lk-good); font-size: 12px; line-height: 1.6; }
.lk-fact__more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #c9d6ff; text-decoration: none; }
.lk-fact__more:hover { color: #fff; }
.lk-ent__bottom { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; }
.lk-log { border: 1px solid #252b44; border-radius: 16px; padding: 16px 18px 8px; background: #0a0d18; min-width: 0; }
.lk-log__h { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: #e9ecf6; margin-bottom: 4px; }
.lk-log__h em { font: 500 11px var(--lk-mono); font-style: normal; color: var(--lk-good); }
.lk-log__rows { list-style: none; margin: 0; padding: 0; }
.lk-log__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 9px 0; border-top: 1px solid #191e31; font-size: 13px; }
.lk-log__row.is-new { animation: lk-in .5s ease; }
.lk-log__row b { display: block; font-weight: 600; color: #eef0f8; }
.lk-log__row small { display: block; color: #7d849e; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-log__row code { font: 500 11px var(--lk-mono); color: #8fb0ff; }
.lk-log__ago { font: 500 11px var(--lk-mono); color: #6b728c; white-space: nowrap; }
.lk-serial { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid #252b44; border-radius: 16px; text-decoration: none; min-width: 0;
  background: linear-gradient(160deg, rgba(91,141,239,.10), rgba(255,255,255,.01)); transition: border-color .2s; }
.lk-serial:hover { border-color: #3a4566; }
.lk-serial img { width: 74px; height: 74px; flex: none; border-radius: 8px; background: #fff; padding: 6px; box-sizing: border-box; }
.lk-serial > span { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lk-serial__t { font: 500 11px var(--lk-mono); letter-spacing: .08em; color: #8fb0ff; text-transform: uppercase; }
.lk-serial__d { font-size: 14px; color: #c4c9dc; line-height: 1.5; }
.lk-serial__a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; font-size: 14px; }
.lk-ent__roadmap { margin: 18px 0 0; font: 500 12px var(--lk-mono); color: #6b728c; }

/* ── Responsive ── */
@media (max-width: 1080px) {
  .lk-looks__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
  .lk-hero__inner, .mk-wrap.lk-hero__inner { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .lk-hero__copy { padding: 40px 0 8px; }
  .lk-hero__stage { min-height: 440px; overflow: hidden; margin: 0 calc(-1 * var(--mk-gutter, 32px)); }
  .lk-wall { inset: -30px 16px 0; -webkit-mask-image: none; mask-image: none; }
  /* iOS Safari drops mask-image on this rotated, animated layer (a hard cut at the top of the wall — founder's
     iPhone, 2026-10-09), so on phones/tablets the top + bottom fades are plain overlays in the hero colour. */
  .lk-hero__stage::before, .lk-hero__stage::after { content: ""; position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none; }
  .lk-hero__stage::before { top: 0; height: 90px; background: linear-gradient(180deg, var(--lk-ink, #090b14), rgba(9,11,20,0)); }
  .lk-hero__stage::after { bottom: 0; height: 110px; background: linear-gradient(0deg, var(--lk-ink, #090b14), rgba(9,11,20,0)); }
  .lk-scan { left: auto; right: 16px; bottom: 16px; }
  .lk-ent__top, .lk-ent__bottom { grid-template-columns: minmax(0, 1fr); }
  .lk-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lk-fact:nth-child(2) { border-right: 0; }
  .lk-fact:nth-child(-n+2) { border-bottom: 1px solid #252b44; }
}
@media (max-width: 640px) {
  .lk-looks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Phone first screen: headline, the promise as one compact line, the two CTAs — then the wall. The lead and
     the ✓ meta line are desktop-only (founder 2026-10-09: "way too much text on the first view"). */
  .lk-h1 { font-size: 38px; }
  .lk-lead, .lk-hero__meta { display: none; }
  .lk-hero__copy { gap: 18px; }
  .lk-promise { font-size: 13px; padding: 6px 14px 6px 6px; gap: 8px; white-space: nowrap; }
  .lk-promise__ic { width: 24px; height: 24px; }
  .lk-promise__ic svg { width: 13px; height: 13px; }
  .lk-promise > span:last-child > :not(strong) { display: none; }
  .lk-hero__actions { gap: 10px; }
  .lk-hero__actions .lk-btn-ghost { padding: 0 18px; }
  .lk-look:last-child { grid-column: 1 / -1; }   /* five looks in two columns: the odd one spans */
  .lk-facts { grid-template-columns: minmax(0, 1fr); }
  .lk-fact { border-right: 0; border-bottom: 1px solid #252b44; }
  .lk-fact:last-child { border-bottom: 0; }
  /* Phones: each tab is ONE swipeable row (snap), so every tab is exactly one card tall — no empty rows under the
     three barcodes, and the stacked panels still never change the section height. The row bleeds to the screen
     edges; the first card lines up with the page gutter. */
  .lk-ggrid, .lk-ggrid--barcode { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 20px calc(-1 * var(--mk-gutter, 20px)) 0; padding: 4px var(--mk-gutter, 20px) 8px;
    scroll-padding-inline: var(--mk-gutter, 20px); scrollbar-width: none; justify-content: flex-start; }
  .lk-ggrid::-webkit-scrollbar { display: none; }
  .lk-ggrid > .lk-gcard { flex: 0 0 64%; scroll-snap-align: start; }
  .lk-ggrid > .lk-gcard:hover { transform: none; }
  /* four tabs on one line: tighter pills; if a long translation still overflows, the bar scrolls sideways */
  .lk-tabs { flex-wrap: nowrap; overflow-x: auto; gap: 2px; scrollbar-width: none; }
  .lk-tabs::-webkit-scrollbar { display: none; }
  .lk-tab { padding: 8px 12px; font-size: 13.5px; white-space: nowrap; flex: none; }
  .lk-ent { padding: 56px 0 44px; }
}
/* ── Phones: less scrolling (founder 2026-10-08 — the homepage was ~21,000px tall at 390px) ──
   Every multi-card grid on the homepage becomes ONE swipeable row with the next card peeking in, instead of
   a stack of full-width cards. Scoped to .mk-root (the landing app root) so other pages that reuse these
   classes (the use-case hub, the pricing kit elsewhere) keep their own layouts. */
@media (max-width: 640px) {
  .mk-root .mk-steps__grid, .mk-root .mk-platform__grid, .mk-root .lk-facts, .mk-root .mk-cases__grid,
  .mk-root #qr-types .uc-hub__grid, .mk-root #pricing .forge-plans, .mk-root .mk-quote-grid,
  .mk-root .mk-freeze__grid, .mk-root .lk-looks__grid {
    display: flex !important; flex-wrap: nowrap; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-left: calc(-1 * var(--mk-gutter, 20px)); margin-right: calc(-1 * var(--mk-gutter, 20px));
    padding: 4px var(--mk-gutter, 20px) 10px; scroll-padding-inline: var(--mk-gutter, 20px);
    scrollbar-width: none; grid-template-columns: none; }
  .mk-root .mk-steps__grid::-webkit-scrollbar, .mk-root .mk-platform__grid::-webkit-scrollbar, .mk-root .lk-facts::-webkit-scrollbar,
  .mk-root .mk-cases__grid::-webkit-scrollbar, .mk-root #qr-types .uc-hub__grid::-webkit-scrollbar,
  .mk-root #pricing .forge-plans::-webkit-scrollbar, .mk-root .mk-quote-grid::-webkit-scrollbar,
  .mk-root .mk-freeze__grid::-webkit-scrollbar, .mk-root .lk-looks__grid::-webkit-scrollbar { display: none; }
  .mk-root .mk-steps__grid > *, .mk-root .mk-platform__grid > *, .mk-root .mk-cases__grid > *,
  .mk-root #qr-types .uc-hub__grid > *, .mk-root .mk-quote-grid > *, .mk-root .mk-freeze__grid > * { flex: 0 0 78%; scroll-snap-align: start; min-width: 0; }
  /* the hero's look row: compact chips, swiped */
  .mk-root .lk-looks__grid { padding-top: 16px; padding-bottom: 16px; }
  .mk-root .lk-looks__grid > .lk-look { flex: 0 0 62%; scroll-snap-align: start; grid-column: auto; }
  .mk-root #pricing .forge-plans > * { flex: 0 0 82%; scroll-snap-align: start; min-width: 0; }
  /* the enterprise facts lose their shared outer frame in a row: each fact is its own card */
  .mk-root .lk-facts { border: 0; border-radius: 0; background: none; overflow-y: hidden; }
  .mk-root .lk-facts > .lk-fact { flex: 0 0 78%; scroll-snap-align: start; border: 1px solid #252b44 !important;
    border-radius: 16px; background: rgba(255,255,255,.02); }
  /* the dashboard mock: three code rows say "your codes" as well as six */
  .mk-root #analytics .mk-sc__codes > :nth-child(n+4) { display: none; }
  /* tighter section rhythm */
  .mk-root > section:not(.lk-hero) { padding-top: 48px !important; padding-bottom: 48px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .lk-wall__col, .lk-scan__body, .lk-log__row.is-new { animation: none; }
}
