/* Launch UI dark direction: homepage sections.
   Order follows the reference: hero + mockup, logo strip, heading block, 2x2 bento,
   rising planet, pricing cards, accordion FAQ, CTA with horizon glow. */

.lx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── Section heading block ─────────────────────────────────────────── */
.lx-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 48px; }
.lx-head-center { align-items: center; text-align: center; }
.lx-head-sub { max-width: 560px; }
.lx-head-center .lx-head-sub { margin: 0 auto; }

/* ── Hero ──────────────────────────────────────────────────────────── */
.lx-hero { position: relative; padding: calc(68px + 72px) 0 0; overflow: hidden; }
.lx-hero-content { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; margin-bottom: 72px; }
.lx-hero-title {
  font-size: clamp(40px, 6.6vw, 88px); font-weight: 600; line-height: 1; letter-spacing: -0.04em;
  margin: 0; max-width: 1248px; text-wrap: balance;
}
.lx-hero-lede { max-width: 680px; text-wrap: balance; }
.lx-btn-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

#diagnostic-console { scroll-margin-top: 92px; }
.lx-mockup { position: relative; max-width: 1040px; margin: 0 auto; }
.lx-mockup-glow { position: absolute; left: 50%; transform: translateX(-50%); pointer-events: none; border-radius: 50%; }
.lx-mockup-glow-wide { top: -150px; width: 86%; height: 340px; background: radial-gradient(closest-side, rgba(251,146,60,0.55), rgba(251,146,60,0.16) 60%, transparent 100%); }
.lx-mockup-glow-core { top: -34px; width: 52%; height: 96px; background: radial-gradient(closest-side, rgba(253,186,116,0.75), rgba(253,186,116,0) 100%); }
.lx-mockup-frame {
  position: relative; z-index: 1; padding: 8px; border-radius: var(--r-frame);
  background: var(--surface-3);
  box-shadow: inset 0 1px 0 rgba(253,186,116,0.35), 0 25px 50px -12px rgba(0,0,0,0.6);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.lx-mockup-frame .jt-chat-frame {
  width: 100%; height: 430px; border: 1px solid var(--bg); border-radius: var(--r-inner);
  display: block; background: var(--bg); transition: height 0.2s ease-out;
}

/* ── Logo strip (trust band) ───────────────────────────────────────── */
.lx-logos { padding: 72px 0 32px; }
.lx-logo-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px 48px; }
.lx-logo { display: flex; align-items: flex-start; gap: 12px; max-width: 300px; text-align: left; }
.lx-logo .lx-icon { margin-top: -2px; }
.lx-logo-title { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--fg); }
.lx-logo-sub { font-size: 14px; font-weight: 500; line-height: 20px; color: var(--muted); margin-top: 2px; text-wrap: pretty; }

/* ── Proof ─────────────────────────────────────────────────────────── */
.lx-pill-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 64px; }
.lx-pill .lx-icon { width: 18px; height: 18px; }
.lx-stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 960px; margin: 0 auto; }
.lx-stat { padding: 8px 24px; }
.lx-stat + .lx-stat { box-shadow: -1px 0 0 var(--border-1); }
.lx-stat-num { font-size: 56px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.lx-stat-label { font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 12px; }

/* ── Bento 2x2 ─────────────────────────────────────────────────────── */
.lx-bento { display: flex; flex-direction: column; gap: 16px; }
.lx-bento-row { display: flex; flex-wrap: wrap; gap: 16px; }
.lx-bento-tile { display: flex; flex-direction: column; gap: 24px; min-height: 496px; }
.lx-bento-narrow { flex: 560 1 360px; }
.lx-bento-wide { flex: 672 1 360px; }
.lx-tile-text { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 460px; position: relative; z-index: 1; }
.lx-tile-text .lx-h3 { margin: 0; }
.lx-tile-text .lx-btn { margin-top: 16px; }
.lx-tile-label { font-size: 12px; font-weight: 600; line-height: 16px; color: var(--accent-soft); letter-spacing: 0.02em; margin-bottom: 4px; }

.lx-illus { position: relative; flex: 1; min-height: 300px; isolation: isolate; }
.lx-illus-glow { width: 360px; height: 360px; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0.8; }

/* Ripple: rings stepping brighter toward the centre */
.lx-ring {
  position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s); transform: translate(-50%, -50%);
  border-radius: 9999px; border: 1px solid rgba(250,250,250,var(--o));
}
.lx-ripple-core {
  position: absolute; left: 50%; top: 50%; width: 164px; height: 164px; transform: translate(-50%, -50%);
  border-radius: 9999px; padding: 8px;
  background: linear-gradient(180deg, rgba(251,146,60,0.3) 0%, rgba(251,146,60,0.1) 100%);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.lx-ripple-inner {
  width: 100%; height: 100%; border-radius: 9999px; display: grid; place-items: center;
  background: linear-gradient(0deg, rgba(250,250,250,0.05) 0%, rgba(250,250,250,0.2) 100%);
  border: 1px solid rgba(255,255,255,0.1);
}
.lx-ripple-inner .lx-icon { width: 56px; height: 56px; stroke-width: 1.25; filter: var(--glow-lg); }

/* Conversation: text-free bubbles + cursors */
.lx-bubble {
  position: absolute; left: var(--x); top: var(--y); width: var(--w);
  display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 12px;
  background: var(--grad-glass);
}
.lx-bubble i { display: block; height: 8px; border-radius: 4px; background: rgba(250,250,250,0.22); }
.lx-bubble.is-faded { opacity: 0.45; }
.lx-cursor { position: absolute; left: var(--x); top: var(--y); width: 22px; height: 22px; fill: var(--fg); stroke: #D4D4D8; stroke-width: 1; filter: drop-shadow(0 8px 10px rgba(0,0,0,0.35)); }
.lx-cursor-accent { fill: var(--accent); stroke: var(--accent-soft); filter: drop-shadow(0 0 8px rgba(253,186,116,0.5)) drop-shadow(0 0 24px rgba(251,146,60,0.8)); }

/* Floating tiles: staggered squares, the lit ones carry glowing icons */
.lx-ftile {
  position: absolute; left: calc(50% + var(--x) - 42px); top: calc(50% + var(--y) - 42px);
  width: 84px; height: 84px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(250,250,250,0.06) 100%);
  border: 4px solid rgba(9,9,11,0.25);
  box-shadow: inset 0 0 0 1px rgba(250,250,250,0.06);
}
.lx-ftile.is-ghost { background: rgba(250,250,250,0.015); box-shadow: inset 0 0 0 1px rgba(250,250,250,0.03); border-color: transparent; }
.lx-ftile .lx-icon { filter: var(--glow-lg); }

/* Globe: wireframe, cropped by the tile's bottom edge */
.lx-illus-globe { overflow: hidden; margin: 0 -24px -24px; min-height: 300px; }
.lx-globe {
  position: absolute; left: 50%; top: 56px; width: 360px; height: 360px; transform: translateX(-50%);
  fill: none; stroke: #FDBA74; stroke-opacity: 0.45; stroke-width: 1;
  filter: drop-shadow(0 0 8px rgba(253,186,116,0.35));
}

/* ── Rising planet (case studies) ──────────────────────────────────── */
.lx-rising { overflow: hidden; padding-bottom: var(--section-y); }
.lx-planet { position: relative; height: 300px; margin-top: 8px; pointer-events: none; }
.lx-planet-halo {
  position: absolute; left: 50%; top: 10px; width: min(1180px, 150vw); height: 280px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(251,146,60,0.42), rgba(251,146,60,0.1) 65%, transparent 100%);
}
.lx-planet-body {
  position: absolute; left: 50%; top: 96px; width: 1560px; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; background: #0B0B0D;
  box-shadow:
    inset 0 2px 1px rgba(253,186,116,0.95),
    inset 0 18px 36px -6px rgba(251,146,60,0.55),
    inset 0 80px 120px -40px rgba(251,146,60,0.25),
    0 -6px 30px rgba(253,186,116,0.35);
}
.lx-case-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -150px; }
.lx-case {
  display: flex; flex-direction: column; padding: 24px;
  background: rgba(16,16,19,0.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(250,250,250,0.06), inset 0 1px 0 rgba(250,250,250,0.08);
}
.lx-case-meta { font-size: 12px; font-weight: 500; line-height: 16px; color: var(--accent-soft); margin-bottom: 12px; }
.lx-case-title { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; color: var(--fg); margin: 0 0 12px; text-wrap: balance; }
.lx-case-body { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0 0 20px; text-wrap: pretty; }
.lx-case-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border-1); display: flex; flex-direction: column; gap: 16px; }
.lx-case-num { font-size: 28px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--fg); }
.lx-case-label { font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 6px; }

/* Charts: glowing area curves, same light-as-paint language as the rings, globe and planet. */
.lx-chart { display: block; width: 100%; height: auto; overflow: visible; }
.lx-chart-grid { stroke: rgba(250,250,250,0.06); stroke-width: 1; }
.lx-chart-line {
  fill: none; stroke: var(--accent-soft); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(253,186,116,0.6)) drop-shadow(0 0 16px rgba(251,146,60,0.6));
}
.lx-chart-halo { fill: rgba(251,146,60,0.28); }
.lx-chart-dot { fill: var(--accent-soft); filter: drop-shadow(0 0 8px rgba(253,186,116,0.8)); }

/* ── Pricing cards (plans teaser) ──────────────────────────────────── */
.lx-price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lx-price { display: flex; flex-direction: column; padding: 24px; min-height: 280px; box-shadow: inset 0 0 0 1px rgba(250,250,250,0.06); }
.lx-price.is-featured {
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(251,146,60,0.38) 0%, rgba(251,146,60,0.08) 55%, transparent 100%),
    rgba(250,250,250,0.03);
  box-shadow: inset 0 0 0 1px rgba(253,186,116,0.25), inset 0 1px 0 rgba(253,186,116,0.7), 0 25px 50px -12px rgba(251,146,60,0.2);
}
.lx-price-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; margin-bottom: 24px; }
.lx-price-name { font-size: 14px; font-weight: 600; color: var(--fg); }
.lx-price.is-featured .lx-price-name { color: var(--accent-soft); }
.lx-price-title { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; color: var(--fg); margin: 0 0 12px; text-wrap: balance; }
.lx-price-body { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; text-wrap: pretty; }
.lx-price-foot { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 40px; text-align: center; }

/* ── FAQ accordion ─────────────────────────────────────────────────── */
.lx-faq { max-width: 768px; margin: 0 auto; border-top: 1px solid var(--border-2); }
.lx-faq-item { border-bottom: 1px solid var(--border-2); }
.lx-faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 4px;
}
.lx-faq-item summary::-webkit-details-marker { display: none; }
.lx-faq-item summary h3 { font-size: 16px; font-weight: 500; line-height: 24px; color: var(--fg); margin: 0; letter-spacing: -0.01em; }
.lx-faq-item summary:hover h3 { text-decoration: underline; text-decoration-color: rgba(250,250,250,0.3); text-underline-offset: 4px; }
.lx-faq-chev { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s ease; }
.lx-faq-item[open] .lx-faq-chev { transform: rotate(180deg); }
.lx-faq-a { padding: 0 4px 20px; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 680px; text-wrap: pretty; }

/* ── CTA (contact) with horizon glow ───────────────────────────────── */
.lx-cta { overflow: hidden; padding-bottom: 160px; }
.lx-cta .lx-wrap { position: relative; z-index: 1; }
.lx-cta-glow {
  position: absolute; left: 50%; bottom: -300px; width: min(1400px, 180vw); height: 560px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(251,146,60,0.5), rgba(251,146,60,0.14) 60%, transparent 100%);
  pointer-events: none;
}
.lx-cta-horizon {
  position: absolute; left: 50%; bottom: -1040px; width: min(2200px, 260vw); height: 1140px; transform: translateX(-50%);
  border-radius: 50%; background: var(--bg);
  box-shadow: inset 0 1px 0 rgba(253,186,116,0.85), 0 -10px 60px rgba(251,146,60,0.45);
  pointer-events: none;
}

.lx-steps { display: flex; align-items: center; gap: 0; margin-bottom: 64px; padding-bottom: 40px; border-bottom: 1px solid var(--border-1); }
.lx-step { display: flex; align-items: center; gap: 14px; flex: 1; }
.lx-step-num {
  width: 32px; height: 32px; border-radius: 9999px; display: grid; place-items: center; flex-shrink: 0;
  font-size: 13px; font-weight: 600; color: var(--muted); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border-2);
}
.lx-step-num.is-active { color: var(--on-light); background: var(--accent-soft); box-shadow: 0 0 0 4px rgba(251,146,60,0.15), 0 0 24px rgba(251,146,60,0.5); }
.lx-step-title { font-size: 15px; font-weight: 600; color: var(--fg); }
.lx-step-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.lx-step-arrow { color: var(--muted); font-size: 18px; padding: 0 28px; flex-shrink: 0; }

.lx-cta-cols { display: flex; gap: 96px; align-items: flex-start; }
.lx-cta-copy { flex: 1; min-width: 0; }
.lx-cta-title { font-size: 64px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; margin: 0 0 24px; }
.lx-cta-copy .lx-lede { max-width: 480px; margin-bottom: 40px; font-size: 18px; }
.lx-cta-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.lx-cta-stat-num { font-size: 32px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--fg); }
.lx-cta-stat-label { font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 6px; }

.lx-form-tile {
  flex: 0 0 440px; padding: 32px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start;
  background: rgba(16,16,19,0.7); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px var(--border-2), inset 0 1px 0 rgba(250,250,250,0.12), 0 25px 50px -12px rgba(0,0,0,0.5);
}
.lx-form-title { font-size: 24px; font-weight: 600; line-height: 32px; letter-spacing: -0.02em; color: var(--fg); margin: 0; }
.lx-form-tile form { width: 100%; }
.lx-fields { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.lx-field {
  width: 100%; padding: 12px 14px; border-radius: var(--r-btn);
  background: var(--surface-2); border: 1px solid var(--border-2); color: var(--fg);
  font-family: var(--font); font-size: 15px; transition: border-color 0.15s, box-shadow 0.15s;
}
.lx-field::placeholder { color: var(--muted); }
.lx-field:focus { outline: none; border-color: rgba(253,186,116,0.6); box-shadow: 0 0 0 3px rgba(251,146,60,0.2); }
.lx-btn-block { width: 100%; }
.lx-btn:disabled { opacity: 0.6; cursor: default; }
.lx-form-status { margin-top: 8px; font-size: 13px; min-height: 18px; color: var(--accent-soft); }
.lx-form-status:empty { min-height: 0; margin-top: 0; }
.lx-form-note { margin: 0; padding: 12px 14px; border-radius: var(--r-inner); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--border-1); font-size: 13px; line-height: 1.6; color: var(--muted); }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .lx-price-grid { grid-template-columns: repeat(2, 1fr); }
  .lx-cta-cols { flex-direction: column; gap: 48px; }
  .lx-form-tile { flex: none; width: 100%; max-width: 480px; }
}
@media (max-width: 900px) {
  .lx-hero { padding-top: calc(68px + 48px); }
  .lx-hero-content { gap: 20px; margin-bottom: 56px; }
  .lx-mockup-frame { padding: 6px; }
  .lx-mockup-frame .jt-chat-frame { height: 520px; }
  .lx-logos { padding: 56px 0 8px; }
  .lx-logo-row { flex-direction: column; align-items: flex-start; gap: 20px; max-width: 420px; margin: 0 auto; }
  .lx-logo { max-width: none; }
  .lx-stats { grid-template-columns: 1fr; gap: 32px; }
  .lx-stat + .lx-stat { box-shadow: none; }
  .lx-stat-num { font-size: 48px; }
  .lx-bento-tile { min-height: 0; }
  .lx-illus { min-height: 280px; }
  .lx-illus-tiles { transform: scale(0.72); transform-origin: center; margin: -20px 0; }
  .lx-planet { height: 200px; }
  .lx-planet-body { top: 72px; width: 900px; }
  .lx-case-grid { grid-template-columns: 1fr; margin-top: -110px; }
  .lx-faq-item summary { padding: 18px 0; }
  .lx-faq-a { padding: 0 0 18px; }
  .lx-steps { flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 40px; }
  .lx-step-arrow { display: none; }
  .lx-cta-title { font-size: 44px; }
  .lx-cta { padding-bottom: 120px; }
}
@media (max-width: 560px) {
  .lx-price-grid { grid-template-columns: 1fr; }
  .lx-price { min-height: 0; }
  .lx-form-tile { padding: 24px; }
}
