/* =============================================================================
 * QN Home — Landing page stylesheet
 * =============================================================================
 * Loaded only by resources/views/landing/index.blade.php (route /landing-page).
 * Sits on top of Mazer's bootstrap.css; every selector is namespaced under
 * `.ln-*` (or `#ln-page`) so nothing bleeds into /administrator or the SPA.
 *
 * DESIGN TOKENS — extracted from the reference design (warm brown / cream):
 *   Brand brown ramp .... #F7EDE0 → #E3C9A8 → #A0562A → #8B4A22 → #6E3A1B → #4A2A16
 *   Page background ..... #FDF8F1 cream, hero has a warm vertical gradient
 *   Surface ............. #FFFFFF card, 1px #EFE1CF border, 16px radius,
 *                         0 2px 14px rgba(120,74,34,.05) shadow
 *   Ink ................. #3A281C heading · #6E5A49 body · #9C8874 muted
 *   Radius scale ........ pill / 20px section / 16px card / 10px chip / 8px inner
 *   Type ................ Nunito 300–800 (project standard font)
 *
 * RESPONSIVE BREAKPOINTS (Bootstrap 5 aligned):
 *   ≥1200  full desktop — 6 feature cards in one row, hero side-by-side
 *   992–1199 features 3×2, hero side-by-side (tighter), pricing 3-up
 *   768–991  hero stacks, features 2×3, pricing stacks above table
 *   <768     single column, nav → offcanvas, stats 2×2, table scrolls
 * ========================================================================== */

/* -----------------------------------------------------------------------------
 * 1. Tokens
 * -------------------------------------------------------------------------- */
#ln-page {
  --ln-c-50: #fdf8f1;
  --ln-c-100: #f7ede0;
  --ln-c-200: #efe1cf;
  --ln-c-300: #e3c9a8;
  --ln-c-400: #d3a273;
  --ln-c-500: #a0562a;
  --ln-c-600: #8b4a22;
  --ln-c-700: #6e3a1b;
  --ln-c-800: #572d15;
  --ln-c-900: #4a2a16;

  --ln-ink: #3a281c;
  --ln-body: #6e5a49;
  --ln-muted: #9c8874;

  --ln-surface: #ffffff;
  --ln-border: #efe1cf;
  --ln-shadow: 0 2px 14px rgba(120, 74, 34, 0.05);
  --ln-shadow-lg: 0 18px 50px rgba(90, 52, 22, 0.14);

  --ln-r-card: 16px;
  --ln-r-section: 20px;
  --ln-r-chip: 10px;
  --ln-r-inner: 8px;

  /* Measured off the design: content spans ~1260px inside a 1440 frame. */
  --ln-container: 1280px;
}

/* -----------------------------------------------------------------------------
 * 2. Base
 * -------------------------------------------------------------------------- */
#ln-page {
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ln-body);
  background: var(--ln-c-50);
  overflow-x: hidden;
}

#ln-page *,
#ln-page *::before,
#ln-page *::after {
  box-sizing: border-box;
}

/* Base heading + link resets.
 *
 * Specificity is deliberately pinned at (0,0,1) — the `#ln-page` scope is wrapped
 * in :where() so it contributes nothing, leaving only the element selector:
 *   · beats Mazer's bare `a` / `h1..h6` (also 0,0,1) purely by source order,
 *     since landing.css is loaded after mazer/css/app.css → kills the default
 *     underline and the navy heading colour;
 *   · still loses to every component class (0,1,0) → .ln-btn-primary keeps its
 *     white label, .ln-devices-title / .ln-footer-title keep white on dark.
 * Using #ln-page directly (1,0,1) would break the second half; using
 * :where(a) (0,0,0) would break the first. */
:where(#ln-page) h1,
:where(#ln-page) h2,
:where(#ln-page) h3,
:where(#ln-page) h4,
:where(#ln-page) h5,
:where(#ln-page) h6 {
  color: var(--ln-ink);
  font-weight: 800;
  letter-spacing: -0.01em;
}

:where(#ln-page) a {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease;
}

#ln-page img {
  max-width: 100%;
  height: auto;
}

/* Bootstrap Icons sit below the baseline by default — reset (same as admin layout). */
#ln-page .bi::before,
#ln-page [class^="bi-"]::before,
#ln-page [class*=" bi-"]::before {
  vertical-align: 0;
}

.ln-container {
  width: 100%;
  max-width: var(--ln-container);
  margin-inline: auto;
  padding-inline: 20px;
}

/* Section rhythm */
.ln-section {
  padding-block: 68px;
}

.ln-section-head {
  text-align: center;
  margin-bottom: 40px;
}

.ln-section-head.is-left {
  text-align: left;
}

.ln-section-title {
  font-size: clamp(24px, 2.4vw, 32px);
  margin: 0 0 8px;
}

.ln-section-sub {
  font-size: 14px;
  color: var(--ln-muted);
  margin: 0;
  max-width: 640px;
  margin-inline: auto;
}

.ln-section-head.is-left .ln-section-sub {
  margin-inline: 0;
}

/* -----------------------------------------------------------------------------
 * 3. Buttons
 * -------------------------------------------------------------------------- */
.ln-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease,
    border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.ln-btn:focus-visible {
  outline: 2px solid var(--ln-c-500);
  outline-offset: 2px;
}

/* Solid brown — primary CTA */
.ln-btn-primary {
  background: linear-gradient(180deg, var(--ln-c-500) 0%, var(--ln-c-600) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(139, 74, 34, 0.24);
}

.ln-btn-primary:hover {
  color: #fff;
  background: linear-gradient(180deg, var(--ln-c-600) 0%, var(--ln-c-700) 100%);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(139, 74, 34, 0.3);
}

/* White pill with brown hairline — secondary */
.ln-btn-outline {
  background: #fff;
  border-color: var(--ln-c-200);
  color: var(--ln-c-600);
}

.ln-btn-outline:hover {
  color: var(--ln-c-700);
  border-color: var(--ln-c-300);
  background: var(--ln-c-50);
}

/* White solid on dark/brown backgrounds */
.ln-btn-light {
  background: #fff;
  color: var(--ln-c-600);
}

.ln-btn-light:hover {
  color: var(--ln-c-700);
  background: var(--ln-c-100);
}

.ln-btn-block {
  width: 100%;
}

.ln-btn-lg {
  padding: 14px 30px;
  font-size: 15px;
}

/* -----------------------------------------------------------------------------
 * 4. Header
 * -------------------------------------------------------------------------- */
.ln-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(253, 248, 241, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ln-header.is-stuck {
  border-bottom-color: var(--ln-c-200);
  box-shadow: 0 2px 16px rgba(120, 74, 34, 0.06);
}

.ln-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 74px;
}

/* Logo — house monogram in a rounded square with a brown hairline */
.ln-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ln-logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1.5px solid var(--ln-c-300);
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ln-c-600);
  flex-shrink: 0;
}

.ln-logo-mark svg {
  display: block;
}

.ln-logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--ln-c-600);
  letter-spacing: 0.02em;
  line-height: 1;
}

.ln-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-inline: auto;
}

.ln-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ln-body);
  position: relative;
  padding-block: 6px;
}

.ln-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--ln-c-500);
  transform: scaleX(0);
  transition: transform 0.18s ease;
}

.ln-nav a:hover {
  color: var(--ln-c-600);
}

.ln-nav a:hover::after,
.ln-nav a.is-active::after {
  transform: scaleX(1);
}

.ln-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ln-burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--ln-c-200);
  background: #fff;
  color: var(--ln-c-600);
  font-size: 20px;
  align-items: center;
  justify-content: center;
}

/* Mobile drawer */
.ln-drawer {
  position: fixed;
  inset: 0;
  z-index: 1040;
  display: none;
}

.ln-drawer.is-open {
  display: block;
}

.ln-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(58, 40, 28, 0.45);
}

.ln-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: var(--ln-c-50);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(74, 42, 22, 0.18);
}

.ln-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ln-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--ln-c-200);
  background: #fff;
  color: var(--ln-c-600);
  font-size: 18px;
}

.ln-drawer-panel a.ln-drawer-link {
  padding: 12px 14px;
  border-radius: var(--ln-r-chip);
  font-size: 15px;
  font-weight: 600;
  color: var(--ln-ink);
}

.ln-drawer-panel a.ln-drawer-link:hover {
  background: var(--ln-c-100);
  color: var(--ln-c-600);
}

.ln-drawer-actions {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

/* -----------------------------------------------------------------------------
 * 5. Hero
 * -------------------------------------------------------------------------- */
.ln-hero {
  position: relative;
  padding-block: 52px 80px;
  background: linear-gradient(180deg, #f5e8d4 0%, #faf3ea 50%, #fdf9f5 80%, var(--ln-c-50) 100%);
  overflow: hidden;
}

/* Faint apartment-building silhouettes behind the hero (SVG, decorative) */
.ln-hero-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 65%;
  pointer-events: none;
  opacity: 0.55;
}

.ln-hero-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ln-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 32px;
  align-items: center;
}

.ln-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(247, 237, 224, 0.9);
  border: 1px solid var(--ln-c-200);
  color: var(--ln-c-600);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ln-hero-title {
  /* Capped at 42px so "chưa bao giờ dễ đến vậy" stays on ONE line inside the
   * left column at 1440 — the design's H1 is a 2-line block. */
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.14;
  color: var(--ln-c-700);
  margin: 16px 0 14px;
}

.ln-hero-lead {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ln-body);
  max-width: 460px;
  margin: 0 0 24px;
}

/* Feature chips — 4 × 2 on desktop */
.ln-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px 14px;
  margin-bottom: 30px;
}

.ln-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ln-ink);
  min-width: 0;
}

.ln-chip-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--ln-c-200);
  color: var(--ln-c-600);
  font-size: 13px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(139, 74, 34, 0.08);
}

.ln-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ln-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

/* Play glyph inside the "Xem demo" button */
.ln-play {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--ln-c-600);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 9px;
  flex-shrink: 0;
}

.ln-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.ln-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--ln-body);
  font-weight: 600;
}

.ln-trust-item i {
  color: var(--ln-c-500);
  font-size: 13px;
}

/* --- Hero mockup composite: rooms card (left) · phone (front) · report (right)
 *
 * Widths/offsets are taken from the design, where the phone overlaps ONLY the
 * right edge of the rooms card and sits clear of the report card. The rooms card
 * is deliberately narrow (30%) so its price column stays left of the phone
 * instead of disappearing behind it. */
.ln-showcase {
  position: relative;
  min-height: 500px;
}

.ln-showcase-side {
  position: absolute;
  top: 30px;
  background: var(--ln-surface);
  border: 1px solid var(--ln-border);
  border-radius: var(--ln-r-card);
  box-shadow: var(--ln-shadow-lg);
  padding: 14px;
  z-index: 1;
}

.ln-showcase-side.is-left {
  left: 0;
  width: 31%;
  top: 44px;
}

.ln-showcase-side.is-right {
  right: 0;
  top: 6px;
  width: 38%;
}

.ln-showcase-phone {
  position: absolute;
  top: 0;
  left: 27%;
  z-index: 3;
  width: 252px;
}

/* -----------------------------------------------------------------------------
 * 6. Device mockup primitives (reused by hero + features + devices section)
 * -------------------------------------------------------------------------- */

/* Phone: dark bezel, notch, rounded screen */
.ln-phone {
  background: #241611;
  border-radius: 38px;
  padding: 9px;
  box-shadow: 0 26px 60px rgba(74, 42, 22, 0.3);
  position: relative;
}

.ln-phone-screen {
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

.ln-phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 20px;
  border-radius: 999px;
  background: #241611;
  z-index: 4;
}

.ln-phone-statusbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 9px 14px 2px;
  font-size: 8px;
  color: var(--ln-ink);
}

.ln-phone-body {
  padding: 8px 12px 0;
}

/* Bottom tab bar with a raised center action */
.ln-tabbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  border-top: 1px solid #f2e7db;
  padding: 7px 6px 10px;
  margin-top: 10px;
  background: #fff;
}

.ln-tab {
  display: grid;
  justify-items: center;
  gap: 2px;
  font-size: 7px;
  font-weight: 700;
  color: var(--ln-muted);
}

.ln-tab i {
  font-size: 13px;
}

.ln-tab.is-active {
  color: var(--ln-c-600);
}

.ln-tab-fab {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--ln-c-500), var(--ln-c-600));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  box-shadow: 0 5px 12px rgba(139, 74, 34, 0.36);
  margin-bottom: 2px;
}

/* Generic mock card / rows shared by every mockup */
.ln-mock-title {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--ln-ink);
  margin: 0;
}

.ln-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.ln-mock-search {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: var(--ln-r-inner);
  background: var(--ln-c-50);
  border: 1px solid #f4ebe0;
  font-size: 9px;
  color: var(--ln-muted);
  margin-bottom: 8px;
}

/* nowrap + clipped: the design keeps the filter pills on a single row, with the
 * trailing pill running under the phone rather than wrapping to a second line. */
.ln-mock-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
  flex-wrap: nowrap;
  overflow: hidden;
}

.ln-mock-tab {
  padding: 3.5px 7px;
  border-radius: 999px;
  font-size: 7.5px;
  font-weight: 700;
  background: var(--ln-c-50);
  color: var(--ln-muted);
  border: 1px solid #f4ebe0;
  white-space: nowrap;
}

.ln-mock-tab.is-active {
  background: var(--ln-c-600);
  border-color: var(--ln-c-600);
  color: #fff;
}

.ln-mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #f7efe5;
}

.ln-mock-row:last-child {
  border-bottom: 0;
}

.ln-mock-thumb {
  width: 36px;
  height: 28px;
  border-radius: 6px;
  background:
    linear-gradient(160deg, #c9906a 0%, #a06432 40%, #7a4a28 100%);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.ln-mock-thumb::before {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 10px;
  background: rgba(255,255,255,0.35);
  border-radius: 1px;
}

.ln-mock-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,220,160,0.45) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(0,0,0,0.08) 100%);
}

.ln-mock-row-main {
  min-width: 0;
  flex: 1;
}

.ln-mock-row-t {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--ln-ink);
  line-height: 1.3;
}

.ln-mock-row-s {
  font-size: 8px;
  color: var(--ln-muted);
  line-height: 1.35;
}

.ln-mock-row-v {
  font-size: 9px;
  font-weight: 800;
  color: var(--ln-c-600);
  white-space: nowrap;
}

.ln-mock-avatar {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Revenue hero card inside the phone */
.ln-mock-hero {
  border-radius: 12px;
  padding: 11px 12px;
  background: linear-gradient(135deg, var(--ln-c-500) 0%, var(--ln-c-700) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ln-mock-hero-label {
  font-size: 8.5px;
  opacity: 0.85;
  font-weight: 600;
}

.ln-mock-hero-value {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 1px;
}

.ln-mock-hero-delta {
  font-size: 8px;
  opacity: 0.9;
  margin-top: 1px;
}

.ln-mock-hero-chart {
  margin-top: 6px;
  display: block;
  width: 100%;
  height: 34px;
}

.ln-mock-hero-clock {
  position: absolute;
  top: 10px;
  right: 11px;
  font-size: 10px;
  opacity: 0.8;
}

/* 3-up stat tiles */
.ln-mock-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 9px;
}

.ln-mock-tile {
  border: 1px solid #f4ebe0;
  border-radius: var(--ln-r-inner);
  padding: 6px 4px;
  text-align: center;
  background: #fff;
}

.ln-mock-tile-v {
  font-size: 13px;
  font-weight: 800;
  color: var(--ln-ink);
  line-height: 1.1;
}

.ln-mock-tile-l {
  font-size: 7.5px;
  color: var(--ln-muted);
  font-weight: 600;
}

/* Key–value list */
.ln-mock-kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4.5px 0;
  font-size: 9px;
}

.ln-mock-kv-k {
  color: var(--ln-body);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.ln-mock-kv-k::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--ln-c-500);
  flex-shrink: 0;
}

.ln-mock-kv-v {
  font-weight: 800;
  color: var(--ln-ink);
  white-space: nowrap;
}

.ln-mock-kv-v.is-neg {
  color: #c0562f;
}

/* Select / period picker */
.ln-mock-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 6px 9px;
  border-radius: var(--ln-r-inner);
  border: 1px solid #f4ebe0;
  background: var(--ln-c-50);
  font-size: 9px;
  font-weight: 700;
  color: var(--ln-ink);
  margin-bottom: 9px;
}

/* Donut + legend */
.ln-donut-wrap {
  display: grid;
  place-items: center;
  position: relative;
  margin: 4px 0 10px;
}

.ln-donut-center {
  position: absolute;
  text-align: center;
}

.ln-donut-center-l {
  font-size: 7.5px;
  color: var(--ln-muted);
  font-weight: 600;
}

.ln-donut-center-v {
  font-size: 12px;
  font-weight: 800;
  color: var(--ln-ink);
  line-height: 1.2;
}

.ln-donut-center-d {
  font-size: 7px;
  color: var(--ln-c-500);
  font-weight: 700;
}

.ln-legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 8.5px;
  padding: 3.5px 0;
  border-bottom: 1px solid #f9f2ea;
}

.ln-legend-row:last-child {
  border-bottom: 0;
}

.ln-legend-k {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ln-body);
  min-width: 0;
}

.ln-legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  flex-shrink: 0;
}

.ln-legend-v {
  font-weight: 800;
  color: var(--ln-ink);
  white-space: nowrap;
}

.ln-legend-pct {
  color: var(--ln-muted);
  font-weight: 600;
}

/* -----------------------------------------------------------------------------
 * 7. Stats band
 * -------------------------------------------------------------------------- */
.ln-stats-wrap {
  padding-block: 8px 20px;
}

.ln-stats {
  background: linear-gradient(100deg, var(--ln-c-700) 0%, var(--ln-c-500) 55%, var(--ln-c-600) 100%);
  border-radius: var(--ln-r-section);
  padding: 26px 34px;
  display: grid;
  grid-template-columns: auto repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 20px 26px;
  box-shadow: 0 14px 36px rgba(110, 58, 27, 0.22);
}

.ln-stats-label {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 700;
  padding-right: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  white-space: nowrap;
}

.ln-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ln-stat i {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.78);
  flex-shrink: 0;
}

.ln-stat-v {
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}

.ln-stat-l {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  line-height: 1.3;
}

/* -----------------------------------------------------------------------------
 * 8. Features — 6 cards
 * -------------------------------------------------------------------------- */
.ln-features {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.ln-feature {
  background: var(--ln-surface);
  border: 1px solid var(--ln-border);
  border-radius: var(--ln-r-card);
  padding: 16px 14px;
  box-shadow: var(--ln-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ln-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(120, 74, 34, 0.12);
}

.ln-feature-ico {
  width: 30px;
  height: 30px;
  border-radius: var(--ln-r-inner);
  background: linear-gradient(180deg, var(--ln-c-500), var(--ln-c-600));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.ln-feature-title {
  font-size: 14px;
  margin: 0 0 6px;
}

.ln-feature-desc {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ln-muted);
  margin: 0 0 14px;
}

/* Mini screenshot frame at the bottom of each feature card */
.ln-feature-mock {
  margin-top: auto;
  border: 1px solid #f0e4d5;
  border-radius: 10px;
  background: var(--ln-c-50);
  padding: 9px;
  min-height: 136px;
  box-shadow: inset 0 1px 0 #fff, 0 4px 12px rgba(120, 74, 34, 0.05);
  overflow: hidden;
}

/* Bar chart used by several mini mocks */
.ln-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 52px;
}

.ln-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--ln-c-400, #d3a273), var(--ln-c-500));
  min-width: 0;
}

.ln-bar.is-muted {
  background: var(--ln-c-200);
}

.ln-mini-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 8px;
}

.ln-mini-metric {
  border: 1px solid #f4ebe0;
  border-radius: 6px;
  padding: 5px 6px;
}

.ln-mini-metric-l {
  font-size: 7px;
  color: var(--ln-muted);
  font-weight: 600;
}

.ln-mini-metric-v {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--ln-ink);
}

/* -----------------------------------------------------------------------------
 * 9. Multi-device section
 * -------------------------------------------------------------------------- */
.ln-devices {
  border-radius: var(--ln-r-section);
  background:
    radial-gradient(120% 90% at 80% 20%, rgba(214, 152, 92, 0.45) 0%, rgba(214, 152, 92, 0) 55%),
    linear-gradient(125deg, #1c0f09 0%, #3a1e0e 35%, #58301a 70%, #6b3d1e 100%);
  padding: 48px 0 32px 52px;
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1.42fr);
  gap: 16px;
  align-items: flex-end;
  position: relative;
  min-height: 340px;
}

.ln-devices-title {
  color: #fff;
  font-size: clamp(21px, 2.1vw, 27px);
  line-height: 1.28;
  margin: 0 0 12px;
}

.ln-devices-lead {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 26px;
  max-width: 340px;
}

.ln-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ln-store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  transition: background-color 0.16s ease;
}

.ln-store:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.ln-store i {
  font-size: 19px;
  flex-shrink: 0;
}

.ln-store-l {
  font-size: 7.5px;
  opacity: 0.75;
  line-height: 1.1;
  font-weight: 600;
}

.ln-store-n {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

/* Device cluster: phone (front) · laptop (center) · tablet · monitor */
.ln-cluster {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 10px;
}

.ln-cluster-item {
  flex-shrink: 0;
}

/* Phone + Laptop group: phone overlaps laptop's left side */
.ln-cluster-phone-laptop {
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
}

/* Copy column: vertically centered, stores flush to bottom */
.ln-devices-copy {
  display: flex;
  flex-direction: column;
  padding-bottom: 44px;
}

.ln-screen {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  padding: 6px;
}

/* tablet */
.ln-dev-tablet {
  width: 160px;
  background: #000;
  border: 1.5px solid #dcdcdc;
  border-radius: 12px;
  padding: 10px;
  box-shadow: inset 0 0 0 1px #222, 0 20px 60px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.4);
  position: relative;
}
.ln-dev-tablet::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 4px;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  background: #111;
  border-radius: 50%;
  box-shadow: inset 0 0 1px #888;
}

/* laptop */
.ln-dev-laptop {
  width: 320px;
}

.ln-dev-laptop-lid {
  background: #000;
  border: 1.5px solid #dcdcdc;
  border-radius: 12px 12px 0 0;
  padding: 14px 14px 18px;
  box-shadow: inset 0 0 0 1px #222, 0 24px 64px rgba(0,0,0,0.6), 0 6px 16px rgba(0,0,0,0.4);
  position: relative;
}
.ln-dev-laptop-lid::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #111;
  border-radius: 50%;
  box-shadow: inset 0 0 1px #888;
}

.ln-dev-laptop-base {
  height: 12px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(to bottom, #d4d4d4, #a3a3a3);
  margin-inline: -16px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  border-top: 1px solid #e0e0e0;
}
.ln-dev-laptop-base::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: #888;
  border-radius: 0 0 3px 3px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.2);
}

/* monitor */
.ln-dev-monitor {
  width: 210px;
}

.ln-dev-monitor-lid {
  background: #000;
  border: 1.5px solid #dcdcdc;
  border-radius: 10px;
  padding: 12px;
  box-shadow: inset 0 0 0 1px #222, 0 20px 50px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.4);
  position: relative;
  z-index: 2;
}

.ln-dev-monitor-stand {
  width: 40px;
  height: 24px;
  margin: 0 auto;
  background: linear-gradient(to bottom, #d4d4d4, #a3a3a3);
  clip-path: polygon(25% 0, 75% 0, 100% 100%, 0 100%);
  position: relative;
  z-index: 1;
  margin-top: -6px;
}

.ln-dev-monitor-foot {
  width: 110px;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(to right, #a3a3a3, #dcdcdc, #a3a3a3);
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

/* phone overlapping the laptop's left edge, in front */
.ln-dev-phone {
  width: 86px;
  margin-right: -20px;
  margin-bottom: 0;
  z-index: 2;
  position: relative;
  align-self: flex-end;
}

.ln-dev-phone .ln-phone {
  border-radius: 12px;
  padding: 5px;
  background: #000;
  border: 1.5px solid #dcdcdc;
  box-shadow: inset 0 0 0 1px #222, 0 24px 64px rgba(0,0,0,0.55), 0 6px 16px rgba(0,0,0,0.35);
}

.ln-dev-phone .ln-phone-screen {
  border-radius: 10px;
  min-height: 130px;
  background: #fff;
}

.ln-dev-phone .ln-phone-notch {
  width: 24px;
  height: 6px;
  top: 6px;
  border-radius: 4px;
}

/* Make phone tiny topbar look like a proper phone screen with status bar */
.ln-dev-phone .ln-tiny-topbar {
  padding-top: 8px;
}

/* Tiny dashboard rendered inside every device screen */
.ln-tiny {
  font-size: 5px;
  line-height: 1.4;
  color: var(--ln-body);
}

.ln-tiny-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 4px;
  border-bottom: 1px solid #f4ebe0;
  margin-bottom: 5px;
}

.ln-tiny-t {
  font-size: 6px;
  font-weight: 800;
  color: var(--ln-ink);
}

.ln-tiny-pill {
  height: 4px;
  width: 18px;
  border-radius: 2px;
  background: var(--ln-c-200);
}

.ln-tiny-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-bottom: 5px;
}

.ln-tiny-kpi {
  border: 1px solid #f4ebe0;
  border-radius: 3px;
  padding: 3px;
}

.ln-tiny-kpi b {
  display: block;
  font-size: 6px;
  color: var(--ln-c-600);
}

.ln-tiny-kpi span {
  font-size: 4px;
  color: var(--ln-muted);
}

.ln-tiny-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 44px;
  margin-top: 2px;
}

.ln-tiny-bars > i {
  flex: 1;
  border-radius: 1px 1px 0 0;
  background: linear-gradient(180deg, #d3a273, var(--ln-c-500));
}

/* -----------------------------------------------------------------------------
 * 10. Pricing
 * -------------------------------------------------------------------------- */
.ln-pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.ln-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.ln-plan {
  background: var(--ln-surface);
  border: 1px solid var(--ln-border);
  border-radius: var(--ln-r-card);
  padding: 20px 16px;
  box-shadow: var(--ln-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Featured plan — brown, lifted, ribbon */
.ln-plan.is-featured {
  background: linear-gradient(165deg, var(--ln-c-500) 0%, var(--ln-c-700) 100%);
  border-color: var(--ln-c-600);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(110, 58, 27, 0.3);
  transform: translateY(-12px);
  padding-block: 26px 22px;
}

.ln-plan-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--ln-c-300);
  color: var(--ln-c-800);
  font-size: 9.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 0 var(--ln-r-card) 0 10px;
}

.ln-plan-name {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ln-muted);
  margin: 0 0 10px;
}

.ln-plan.is-featured .ln-plan-name {
  color: rgba(255, 255, 255, 0.82);
}

.ln-plan-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--ln-c-600);
  line-height: 1.15;
}

.ln-plan.is-featured .ln-plan-price {
  color: #fff;
}

.ln-plan-period {
  font-size: 12px;
  font-weight: 600;
  color: var(--ln-muted);
}

.ln-plan.is-featured .ln-plan-period {
  color: rgba(255, 255, 255, 0.76);
}

.ln-plan-note {
  font-size: 11px;
  color: var(--ln-muted);
  margin: 6px 0 16px;
  line-height: 1.5;
}

.ln-plan.is-featured .ln-plan-note {
  color: rgba(255, 255, 255, 0.78);
}

.ln-plan-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.ln-plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ln-body);
}

.ln-plan-list i {
  color: var(--ln-c-500);
  font-size: 11px;
  margin-top: 2px;
  flex-shrink: 0;
}

.ln-plan.is-featured .ln-plan-list li {
  color: rgba(255, 255, 255, 0.9);
}

.ln-plan.is-featured .ln-plan-list i {
  color: var(--ln-c-300);
}

.ln-plan-cta {
  margin-top: auto;
}

/* Comparison table */
.ln-compare {
  background: var(--ln-surface);
  border: 1px solid var(--ln-border);
  border-radius: var(--ln-r-card);
  box-shadow: var(--ln-shadow);
  overflow: hidden;
}

.ln-compare-scroll {
  overflow-x: auto;
}

.ln-compare table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
}

.ln-compare th,
.ln-compare td {
  padding: 10px 14px;
  font-size: 11.5px;
  text-align: center;
  border-bottom: 1px solid #f7efe5;
  white-space: nowrap;
}

.ln-compare thead th {
  font-weight: 800;
  color: var(--ln-ink);
  background: var(--ln-c-50);
  font-size: 11.5px;
}

.ln-compare th:first-child,
.ln-compare td:first-child {
  text-align: left;
  color: var(--ln-body);
  font-weight: 600;
  white-space: normal;
}

.ln-compare tbody tr:last-child th,
.ln-compare tbody tr:last-child td {
  border-bottom: 0;
}

.ln-compare tbody tr:hover td,
.ln-compare tbody tr:hover th {
  background: #fffdfa;
}

.ln-compare .ln-yes {
  color: var(--ln-c-500);
  font-size: 13px;
}

.ln-compare .ln-no {
  color: #d9c6ae;
}

/* -----------------------------------------------------------------------------
 * 11. Testimonials
 * -------------------------------------------------------------------------- */
.ln-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) repeat(2, minmax(0, 0.62fr));
  gap: 16px;
  align-items: stretch;
}

.ln-testi {
  background: var(--ln-surface);
  border: 1px solid var(--ln-border);
  border-radius: var(--ln-r-card);
  padding: 16px;
  box-shadow: var(--ln-shadow);
  display: flex;
  flex-direction: column;
}

.ln-testi-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.ln-testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--ln-c-100);
}

.ln-testi-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--ln-ink);
  line-height: 1.3;
}

.ln-testi-role {
  font-size: 10.5px;
  color: var(--ln-muted);
  line-height: 1.35;
}

.ln-stars {
  display: inline-flex;
  gap: 2px;
  color: #e8a33d;
  font-size: 11px;
  margin-bottom: 8px;
}

.ln-testi-quote {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ln-body);
  margin: 0;
  display: flex;
  gap: 6px;
}

.ln-testi-quote i {
  color: var(--ln-c-300);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Rating tiles (App Store / Google Play) */
.ln-rating {
  background: linear-gradient(170deg, #fbf1e4 0%, #f6e7d5 100%);
  border: 1px solid var(--ln-c-200);
  border-radius: var(--ln-r-card);
  padding: 18px 14px;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 5px;
}

.ln-rating-v {
  font-size: 34px;
  font-weight: 800;
  color: var(--ln-c-600);
  line-height: 1;
}

.ln-rating-v sub {
  font-size: 14px;
  font-weight: 700;
  color: var(--ln-muted);
  bottom: 0;
}

.ln-rating-l {
  font-size: 11px;
  color: var(--ln-body);
  font-weight: 700;
}

/* -----------------------------------------------------------------------------
 * 12. FAQ + closing CTA
 * -------------------------------------------------------------------------- */
.ln-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.ln-faq {
  background: var(--ln-surface);
  border: 1px solid var(--ln-border);
  border-radius: var(--ln-r-card);
  box-shadow: var(--ln-shadow);
  overflow: hidden;
}

.ln-faq-title {
  font-size: 17px;
  padding: 18px 20px 12px;
  margin: 0;
}

.ln-faq-item {
  border-top: 1px solid #f7efe5;
}

.ln-faq-q {
  width: 100%;
  background: none;
  border: 0;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ln-ink);
  cursor: pointer;
}

.ln-faq-q:hover {
  background: #fffdfa;
}

.ln-faq-q .ln-faq-sign {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--ln-c-50);
  border: 1px solid var(--ln-c-200);
  color: var(--ln-c-600);
  display: grid;
  place-items: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.ln-faq-item.is-open .ln-faq-sign {
  transform: rotate(45deg);
  background: var(--ln-c-600);
  border-color: var(--ln-c-600);
  color: #fff;
}

.ln-faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.24s ease;
}

.ln-faq-item.is-open .ln-faq-a {
  grid-template-rows: 1fr;
}

.ln-faq-a > div {
  overflow: hidden;
}

.ln-faq-a p {
  margin: 0;
  padding: 0 20px 16px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--ln-body);
}

/* Closing CTA card — warm room photo feel via layered gradients */
.ln-cta {
  position: relative;
  border-radius: var(--ln-r-card);
  overflow: hidden;
  min-height: 100%;
  display: flex;
  align-items: center;
  padding: 34px 32px;
  background:
    linear-gradient(90deg, rgba(74, 42, 22, 0.94) 0%, rgba(90, 52, 26, 0.78) 52%, rgba(120, 74, 34, 0.4) 100%),
    radial-gradient(90% 120% at 88% 22%, #d69a5e 0%, #9a5f2f 42%, #4a2a16 100%);
}

/* Room silhouettes are blurred so they read as a warm photographic backdrop
 * rather than hard geometric boxes. */
.ln-cta-bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  filter: blur(3px);
}

.ln-cta-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ln-cta-inner {
  position: relative;
  z-index: 1;
}

.ln-cta-title {
  color: #fff;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.3;
  margin: 0 0 10px;
}

.ln-cta-lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12.5px;
  line-height: 1.7;
  margin: 0 0 20px;
  max-width: 340px;
}

/* -----------------------------------------------------------------------------
 * 13. Footer
 * -------------------------------------------------------------------------- */
.ln-footer {
  background: linear-gradient(180deg, #573114 0%, #4a2a16 100%);
  color: rgba(255, 255, 255, 0.72);
  margin-top: 48px;
}

.ln-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr);
  gap: 30px;
  padding-block: 44px 30px;
}

.ln-footer .ln-logo-mark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.ln-footer .ln-logo-text {
  color: #fff;
}

.ln-footer-about {
  font-size: 11.5px;
  line-height: 1.7;
  margin: 14px 0 16px;
  max-width: 260px;
}

.ln-socials {
  display: flex;
  gap: 8px;
}

.ln-social {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  transition: background-color 0.16s ease;
}

.ln-social:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.ln-footer-title {
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  margin: 0 0 14px;
}

.ln-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.ln-footer-links a {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.72);
}

.ln-footer-links a:hover {
  color: #fff;
}

.ln-contact {
  display: grid;
  gap: 11px;
}

.ln-contact-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
}

.ln-contact-row i {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #fff;
  flex-shrink: 0;
}

.ln-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 11px;
}

.ln-footer-bottom a:hover {
  color: #fff;
}

/* -----------------------------------------------------------------------------
 * 14. Responsive
 * -------------------------------------------------------------------------- */

/* ≤1199 — features 3×2, tighter hero, stats wrap */
@media (max-width: 1199.98px) {
  .ln-nav {
    gap: 20px;
  }

  .ln-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ln-testi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ln-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 24px 26px;
  }

  .ln-stats-label {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    padding: 0 0 14px;
  }

  /* Narrower showcase → widen the cards, shrink the phone so the layering holds. */
  .ln-showcase-side.is-left {
    width: 34%;
  }

  .ln-showcase-side.is-right {
    width: 40%;
  }

  .ln-showcase-phone {
    width: 210px;
    left: 31%;
  }

  .ln-cluster {
    gap: 10px;
  }

  .ln-dev-laptop {
    width: 200px;
  }

  .ln-dev-monitor {
    width: 160px;
  }

  .ln-dev-tablet {
    width: 96px;
  }
}

/* ≤991 — hero stacks, nav → drawer, pricing/faq single column */
@media (max-width: 991.98px) {
  .ln-nav {
    display: none;
  }

  .ln-header-actions .ln-btn {
    display: none;
  }

  .ln-burger {
    display: inline-flex;
  }

  .ln-header-inner {
    justify-content: space-between;
  }

  .ln-hero {
    padding-block: 34px 56px;
  }

  .ln-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .ln-hero-lead,
  .ln-devices-lead,
  .ln-cta-lead {
    max-width: none;
  }

  /* Showcase: stop overlapping, stack rooms → phone → report */
  .ln-showcase {
    min-height: 0;
    display: grid;
    gap: 18px;
    justify-items: center;
  }

  .ln-showcase-side.is-left,
  .ln-showcase-side.is-right {
    position: static;
    width: min(420px, 100%);
  }

  .ln-showcase-phone {
    position: static;
    left: auto;
    width: 268px;
    order: -1;
  }

  .ln-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ln-devices {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 26px;
    gap: 28px;
  }

  .ln-cluster {
    gap: 12px;
  }

  .ln-dev-laptop {
    width: 220px;
  }

  .ln-dev-monitor {
    width: 172px;
  }

  .ln-dev-tablet {
    width: 104px;
  }

  .ln-pricing-grid,
  .ln-faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ln-plan.is-featured {
    transform: none;
  }

  .ln-testi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ln-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
}

/* ≤767 — single column everywhere, stats 2×2, chips 2-up */
@media (max-width: 767.98px) {
  .ln-section {
    padding-block: 48px;
  }

  .ln-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ln-hero-cta {
    gap: 10px;
  }

  .ln-hero-cta .ln-btn {
    flex: 1 1 100%;
  }

  .ln-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 22px 20px;
    gap: 18px;
  }

  .ln-stat i {
    font-size: 19px;
  }

  .ln-stat-v {
    font-size: 18px;
  }

  .ln-features {
    grid-template-columns: minmax(0, 1fr);
  }

  .ln-plans {
    grid-template-columns: minmax(0, 1fr);
  }

  .ln-testi-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ln-rating {
    padding: 22px 16px;
  }

  .ln-devices {
    padding: 26px 18px;
  }

  /* Device cluster: keep only laptop + phone at phone widths */
  .ln-cluster-item.is-optional {
    display: none;
  }

  .ln-dev-laptop {
    width: min(260px, 72vw);
  }

  .ln-dev-phone {
    width: 74px;
    margin-right: -20px;
  }

  .ln-cta {
    padding: 26px 20px;
  }

  .ln-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 34px 24px;
  }

  .ln-footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* ≤479 — very narrow phones */
@media (max-width: 479.98px) {
  .ln-container {
    padding-inline: 16px;
  }

  .ln-logo-mark {
    width: 40px;
    height: 40px;
  }

  .ln-logo-text {
    font-size: 17px;
  }

  .ln-showcase-phone {
    width: min(268px, 84vw);
  }

  /* The laptop base bleeds 12px each side (margin-inline: -12px), which pushed
   * the cluster ~8px past its padding box at 390. Trim the lid to compensate. */
  .ln-dev-laptop {
    width: min(240px, 64vw);
  }

  .ln-chips {
    gap: 10px 12px;
  }

  .ln-rating-v {
    font-size: 28px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  #ln-page *,
  #ln-page *::before,
  #ln-page *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
