/* ==========================================================================
   DBLakeTag Landing (#landing-view)
   Loaded after workspace.css. Every rule is scoped to the landing so the
   console workspace keeps its own styles untouched.
   ========================================================================== */

#landing-view {
  --lp-accent: #38bdf8;
  --lp-accent-deep: #2563eb;
  --lp-accent-text: #7dd3fc;
  --lp-accent-soft: rgba(56, 189, 248, 0.1);
  --lp-accent-line: rgba(56, 189, 248, 0.32);
  --lp-gradient: linear-gradient(135deg, #38bdf8 0%, #60a5fa 45%, #2563eb 100%);
  --lp-surface: #0d1526;
  --lp-surface-deep: #090f1c;
  --lp-line: rgba(148, 163, 184, 0.14);
  --lp-line-strong: rgba(148, 163, 184, 0.26);
  --lp-max: 1200px;
  --lp-gutter: 28px;
  --lp-section: 112px;
  color: var(--ink);
}

.lp {
  display: block;
  width: 100%;
  overflow-x: clip;
}

.lp-container {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 0 var(--lp-gutter);
}

.lp h1, .lp h2, .lp h3, .lp h4, .lp p {
  margin: 0;
}

.lp code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.92em;
  color: var(--lp-accent-text);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.18);
  padding: 1px 6px;
  border-radius: 4px;
}

.lp a:focus-visible,
.lp button:focus-visible {
  outline: 2px solid var(--lp-accent);
  outline-offset: 3px;
}

/* Topbar nav: keep the shared header, tune the landing links -------------- */

.topbar .landing-nav a {
  position: relative;
  padding: 6px 2px;
}

.topbar .landing-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--lp-gradient, linear-gradient(135deg, #38bdf8, #2563eb));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.topbar .landing-nav a:hover::after {
  transform: scaleX(1);
}

/* Sections ---------------------------------------------------------------- */

.lp-section {
  padding: var(--lp-section) 0;
  position: relative;
  scroll-margin-top: 72px;
}

.lp-hero {
  scroll-margin-top: 72px;
}

.lp-band {
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.035) 0%, rgba(56, 189, 248, 0) 60%),
    var(--lp-surface-deep);
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
}

.lp-section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.lp-section-head h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.12;
  color: var(--ink-heading);
  margin-bottom: 16px;
}

.lp-section-head p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.lp-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--lp-accent-text);
  margin-bottom: 18px;
}

.lp-tag::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--lp-accent);
}

.lp-tag-neutral {
  color: var(--muted);
}

.lp-tag-neutral::before {
  background: var(--muted-subtle);
}

/* Hero -------------------------------------------------------------------- */

.lp-hero {
  position: relative;
  padding: 88px 0 104px;
  overflow: hidden;
}

/* Grid backdrop lives on a pseudo-element so the fade mask never touches the content. */
.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
}

.lp-hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background:
    radial-gradient(60% 55% at 20% 30%, rgba(56, 189, 248, 0.18), transparent 70%),
    radial-gradient(45% 45% at 80% 20%, rgba(37, 99, 235, 0.22), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.lp-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--lp-accent-text);
  background: var(--lp-accent-soft);
  border: 1px solid var(--lp-accent-line);
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.lp-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lp-accent);
  box-shadow: 0 0 10px var(--lp-accent);
}

.lp-hero-title {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.06;
  color: #ffffff;
  margin-bottom: 24px;
}

.lp-accent-text {
  background: var(--lp-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lp-hero-subtitle {
  font-size: 18px;
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 560px;
  margin-bottom: 36px;
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.lp-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.lp-btn-primary {
  color: #06111f;
  background: var(--lp-gradient);
  box-shadow: 0 8px 24px -8px rgba(56, 189, 248, 0.6);
}

.lp-btn-primary:hover {
  color: #06111f;
  box-shadow: 0 12px 30px -8px rgba(56, 189, 248, 0.75);
}

.lp-btn-ghost {
  color: var(--ink-heading);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--lp-line-strong);
}

.lp-btn-ghost:hover {
  color: #ffffff;
  border-color: var(--lp-accent-line);
  background: rgba(15, 23, 42, 0.9);
}

.lp-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--lp-line);
  padding-top: 24px;
}

.lp-proof-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 16px;
}

.lp-proof-item + .lp-proof-item {
  padding-left: 16px;
  border-left: 1px solid var(--lp-line);
}

.lp-proof dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted-subtle);
}

.lp-proof dd {
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.lp-proof span {
  font-size: 12px;
  color: var(--muted);
}

/* Pipeline visual --------------------------------------------------------- */

.lp-hero-visual {
  position: relative;
}

.lp-hero-visual::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(56, 189, 248, 0.5), rgba(37, 99, 235, 0.05) 40%, rgba(56, 189, 248, 0.25));
  z-index: 0;
}

.lp-flow {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #0c1425 0%, #080d19 100%);
  border-radius: 17px;
  padding: 22px 22px 24px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}

.lp-flow-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--lp-line);
}

.lp-flow-title {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--lp-accent-text);
}

.lp-flow-desc {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.lp-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--green-online);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 5px 11px;
  border-radius: 999px;
}

.lp-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-online);
  box-shadow: 0 0 8px var(--green-online);
  animation: lp-pulse 2s infinite ease-in-out;
}

@keyframes lp-pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

.lp-stage {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--lp-line);
  border-radius: 10px;
  padding: 16px;
}

.lp-stage-head {
  margin-bottom: 12px;
}

.lp-stage-tag {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted-subtle);
  margin-bottom: 6px;
}

.lp-stage-tag-active {
  color: var(--lp-accent-text);
}

.lp-stage h3 {
  font-size: 15px;
  font-weight: 650;
  color: var(--ink-heading);
}

.lp-nodes {
  display: grid;
  gap: 8px;
}

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

.lp-nodes-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lp-node {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  background: rgba(8, 12, 20, 0.7);
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  padding: 9px 10px;
  transition: border-color 0.15s ease;
}

.lp-node:hover {
  border-color: var(--lp-accent-line);
}

.lp-node > div {
  min-width: 0;
}

.lp-node strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-heading);
  line-height: 1.3;
}

.lp-node span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.35;
}

.lp-node-icon {
  flex: none;
  min-width: 42px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 7px;
  border-radius: 6px;
  border: 1px solid transparent;
}

.lp-icon-ibmi, .lp-icon-pg { background: rgba(37, 99, 235, 0.22); color: #93c5fd; border-color: rgba(59, 130, 246, 0.4); }
.lp-icon-sql { background: rgba(220, 38, 38, 0.18); color: #fca5a5; border-color: rgba(239, 68, 68, 0.4); }
.lp-icon-ch { background: rgba(234, 179, 8, 0.16); color: #fde68a; border-color: rgba(234, 179, 8, 0.4); }
.lp-icon-kf { background: rgba(100, 116, 139, 0.22); color: #e2e8f0; border-color: rgba(148, 163, 184, 0.4); }
.lp-icon-lake { background: rgba(16, 185, 129, 0.16); color: #6ee7b7; border-color: rgba(16, 185, 129, 0.4); }

.lp-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0 6px 18px;
}

.lp-link-line {
  position: relative;
  width: 2px;
  height: 26px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.15), rgba(56, 189, 248, 0.9), rgba(56, 189, 248, 0.15));
  overflow: hidden;
}

.lp-link-line::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -8px;
  height: 8px;
  background: #ffffff;
  border-radius: 2px;
  opacity: 0.9;
  animation: lp-stream 1.6s linear infinite;
}

@keyframes lp-stream {
  from { transform: translateY(0); }
  to { transform: translateY(34px); }
}

.lp-link-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--lp-accent-text);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.lp-stage-engine {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.14) 0%, rgba(15, 23, 42, 0.6) 100%);
  border-color: var(--lp-accent-line);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.08), 0 0 32px rgba(56, 189, 248, 0.1);
}

.lp-engine-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
}

.lp-engine-brand .brand-logo {
  grid-row: 1 / span 2;
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.lp-engine-brand h3 {
  font-size: 15px;
  color: #ffffff;
}

.lp-engine-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--green-online);
}

.lp-engine-feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.lp-engine-feats li {
  background: rgba(8, 12, 20, 0.6);
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  padding: 9px 10px;
  min-width: 0;
}

.lp-engine-feats strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-heading);
  line-height: 1.3;
}

.lp-engine-feats span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.35;
}

/* Problem ----------------------------------------------------------------- */

.lp-problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.lp-problem-alt {
  display: grid;
  gap: 24px;
}

.lp-alt,
.lp-solution {
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.lp-alt {
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
}

.lp-alt-badge {
  display: inline-block;
  width: fit-content;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.lp-alt-legacy .lp-alt-badge { color: #fca5a5; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.28); }
.lp-alt-jvm .lp-alt-badge { color: #fcd34d; background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.28); }
.lp-solution .lp-alt-badge { color: #06111f; background: var(--lp-gradient); border: 0; }

.lp-alt h3,
.lp-solution h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.3;
  color: var(--ink-heading);
  margin-bottom: 18px;
}

.lp-alt ul,
.lp-solution ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.lp-alt li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.lp-alt li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.lp-alt-legacy li::before { background: #ef4444; }
.lp-alt-jvm li::before { background: #f59e0b; }

.lp-alt li strong {
  color: var(--ink-heading);
  font-weight: 600;
}

.lp-alt-verdict,
.lp-solution-verdict {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--lp-line);
  font-size: 12.5px;
  font-weight: 600;
}

.lp-alt-legacy .lp-alt-verdict { color: #f87171; }
.lp-alt-jvm .lp-alt-verdict { color: #fbbf24; }

.lp-solution {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(56, 189, 248, 0.16), transparent 70%),
    linear-gradient(180deg, #0f1b33 0%, #0b1324 100%);
  border: 1px solid var(--lp-accent-line);
  box-shadow: 0 30px 60px -30px rgba(56, 189, 248, 0.35);
  padding: 34px;
}

.lp-solution h3 {
  font-size: 26px;
  letter-spacing: -0.8px;
  color: #ffffff;
}

.lp-solution ul {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 18px;
  padding: 6px 0 18px;
}

.lp-solution li {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 12px;
  align-items: start;
}

.lp-solution li::before {
  content: '';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306111f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat,
    var(--lp-gradient);
  margin-top: 1px;
}

.lp-solution li strong {
  display: block;
  font-size: 15px;
  font-weight: 650;
  color: #ffffff;
  margin-bottom: 3px;
}

.lp-solution li span {
  display: block;
  grid-column: 2;
  font-size: 14px;
  line-height: 1.55;
  color: #cbd5e1;
}

.lp-solution-verdict {
  color: var(--lp-accent-text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.4px;
}

/* Fundamentals ------------------------------------------------------------ */

.lp-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  background: rgba(13, 21, 38, 0.6);
  overflow: hidden;
}

.lp-pillar {
  padding: 32px 28px 30px;
  min-width: 0;
}

.lp-pillar + .lp-pillar {
  border-left: 1px solid var(--lp-line);
}

.lp-pillar-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--lp-accent-text);
  background: var(--lp-accent-soft);
  border: 1px solid var(--lp-accent-line);
  margin-bottom: 18px;
}

.lp-pillar h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--ink-heading);
  margin-bottom: 12px;
}

.lp-pillar > p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 22px;
}

.lp-pillar-map {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px dashed var(--lp-line-strong);
  display: grid;
  gap: 14px;
}

.lp-pillar-map li {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.lp-pillar-map strong {
  display: block;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-heading);
  margin-bottom: 2px;
}

.lp-pillar-map strong::before {
  content: '→ ';
  color: var(--lp-accent);
}

.lp-evidence {
  margin-top: 40px;
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  padding: 28px 32px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.7), rgba(9, 15, 28, 0.9));
}

.lp-evidence-head {
  display: grid;
  gap: 4px;
  margin-bottom: 24px;
}

.lp-evidence-head .lp-tag {
  margin-bottom: 6px;
}

.lp-evidence-head p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 820px;
}

.lp-evidence-head em {
  color: var(--ink);
  font-style: normal;
  font-weight: 600;
}

.lp-evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.lp-evidence-stat {
  padding-left: 16px;
  border-left: 2px solid var(--lp-accent-line);
}

.lp-evidence-stat strong {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 8px;
}

.lp-evidence-stat span {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.lp-evidence-note a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lp-evidence-note a:hover {
  color: var(--lp-accent-text);
}

.lp-evidence-note {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--lp-line);
  font-size: 11.5px;
  color: var(--muted-subtle);
}

/* Architecture steps ------------------------------------------------------ */

.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  position: relative;
}

.lp-steps::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lp-accent-line) 15%, var(--lp-accent-line) 85%, transparent);
}

.lp-step {
  position: relative;
  padding-top: 64px;
  min-width: 0;
}

.lp-step-num {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: #06111f;
  background: var(--lp-gradient);
  box-shadow: 0 0 0 6px var(--page), 0 10px 24px -8px rgba(56, 189, 248, 0.7);
}

.lp-step-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--lp-accent-text);
  margin-bottom: 10px;
}

.lp-step h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.25;
  color: var(--ink-heading);
  margin-bottom: 12px;
}

.lp-step > p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 20px;
}

.lp-step-specs {
  margin: 0;
  display: grid;
  gap: 10px;
}

.lp-step-specs > div {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: 8px;
}

.lp-step-specs dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--muted-subtle);
}

.lp-step-specs dd {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink);
  overflow-wrap: anywhere;
}

/* Comparison table -------------------------------------------------------- */

.lp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  background: var(--lp-surface);
}

.lp-table {
  width: 100%;
  min-width: 860px;
  border-collapse: separate;
  border-spacing: 0;
}

.lp-table th,
.lp-table td {
  padding: 18px 22px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--lp-line);
  font-size: 13.5px;
  line-height: 1.5;
}

.lp-table thead th {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(9, 15, 28, 0.8);
  border-bottom: 1px solid var(--lp-line-strong);
}

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

.lp-table tbody th {
  font-weight: 600;
  color: var(--ink-heading);
  width: 22%;
}

.lp-table tbody td {
  color: var(--muted);
}

.lp-table .lp-col-us {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.08), rgba(56, 189, 248, 0.04));
  border-left: 1px solid var(--lp-accent-line);
  border-right: 1px solid var(--lp-accent-line);
  width: 28%;
}

.lp-table thead .lp-col-us {
  border-top: 3px solid var(--lp-accent);
  color: #ffffff;
}

.lp-table thead .lp-col-us strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-top: 8px;
}

.lp-col-us-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #06111f;
  background: var(--lp-gradient);
  padding: 3px 9px;
  border-radius: 999px;
}

.lp-table tbody .lp-col-us strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #ffffff;
}

.lp-table tbody .lp-col-us strong::before {
  content: '';
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306111f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat,
    var(--lp-gradient);
}

.lp-table tbody .lp-col-us span {
  display: block;
  font-size: 12px;
  color: var(--lp-accent-text);
  margin-top: 3px;
}

/* Benchmarks -------------------------------------------------------------- */

.lp-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.lp-stat {
  position: relative;
  padding: 28px 24px 26px;
  border-radius: 14px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.lp-stat::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--lp-gradient);
  opacity: 0.7;
}

.lp-stat:hover {
  border-color: var(--lp-accent-line);
  transform: translateY(-3px);
}

.lp-stat-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 16px;
}

.lp-stat-value small {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--lp-accent-text);
}

.lp-stat h3 {
  font-size: 15px;
  font-weight: 650;
  color: var(--ink-heading);
  margin-bottom: 8px;
}

.lp-stat p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

/* Footer ------------------------------------------------------------------ */

.lp-footer {
  padding: 64px 0 44px;
  border-top: 1px solid var(--lp-line);
  background: linear-gradient(180deg, var(--lp-surface-deep), #05080f);
}

.lp-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.lp-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lp-footer-brand .brand {
  font-size: 18px;
  gap: 10px;
}

.lp-footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 320px;
}

.lp-footer-brand small {
  font-size: 12px;
  color: var(--muted-subtle);
}

.lp-footer-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink-heading);
  margin-bottom: 14px;
}

.lp-footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 9px;
}

.lp-footer-col a:hover {
  color: var(--lp-accent-text);
  text-decoration: none;
}

.lp-footer-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted-subtle);
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  padding: 4px 8px;
  border-radius: 6px;
  margin-top: 4px;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1100px) {
  #landing-view {
    --lp-section: 88px;
    --lp-gutter: 22px;
  }

  .lp-hero {
    padding: 64px 0 80px;
  }

  .lp-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .lp-hero-title {
    font-size: 46px;
    letter-spacing: -1.6px;
  }

  .lp-hero-subtitle {
    max-width: 640px;
  }

  .lp-hero-visual {
    max-width: none;
  }

  .lp-engine-feats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lp-section-head h2 {
    font-size: 34px;
  }

  .lp-problem-grid {
    grid-template-columns: 1fr;
  }

  .lp-problem-alt {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-pillars {
    grid-template-columns: 1fr;
  }

  .lp-pillar + .lp-pillar {
    border-left: 0;
    border-top: 1px solid var(--lp-line);
  }

  .lp-evidence-grid,
  .lp-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-steps {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-left: 64px;
  }

  .lp-steps::before {
    left: 22px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, var(--lp-accent-line), var(--lp-accent-line) 85%, transparent);
  }

  .lp-step {
    padding-top: 0;
  }

  .lp-step-num {
    left: -64px;
  }

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

@media (max-width: 720px) {
  #landing-view {
    --lp-section: 64px;
    --lp-gutter: 16px;
  }

  /* Compact nav under the shared topbar: wrap the header and let the links scroll. */
  .topbar:has(#landing-nav:not([hidden])) {
    height: auto;
    flex-wrap: wrap;
    row-gap: 0;
    padding-top: 12px;
  }

  .topbar:has(#landing-nav:not([hidden])) .landing-nav {
    order: 3;
    flex-basis: 100%;
    gap: 18px;
    margin: 10px -16px 0;
    padding: 0 16px 10px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .topbar:has(#landing-nav:not([hidden])) .landing-nav::-webkit-scrollbar {
    display: none;
  }

  .topbar:has(#landing-nav:not([hidden])) .landing-nav a {
    display: inline-block;
    font-size: 13px;
  }

  .lp-hero {
    padding: 44px 0 60px;
  }

  .lp-hero::before {
    background-size: 40px 40px;
  }

  .lp-hero-title {
    font-size: 34px;
    letter-spacing: -1.2px;
    line-height: 1.1;
  }

  .lp-hero-subtitle {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .lp-hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 36px;
  }

  .lp-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }

  .lp-proof-item {
    padding-right: 12px;
  }

  .lp-proof-item + .lp-proof-item {
    padding-left: 0;
    border-left: 0;
  }

  .lp-proof-item:nth-child(even) {
    padding-left: 12px;
    border-left: 1px solid var(--lp-line);
  }

  .lp-flow {
    padding: 16px;
  }

  .lp-flow-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .lp-nodes-2,
  .lp-nodes-4,
  .lp-engine-feats {
    grid-template-columns: 1fr;
  }

  .lp-section-head h2 {
    font-size: 28px;
    letter-spacing: -0.9px;
  }

  .lp-section-head p {
    font-size: 15.5px;
  }

  .lp-problem-alt {
    grid-template-columns: 1fr;
  }

  .lp-alt,
  .lp-solution {
    padding: 22px;
  }

  .lp-solution h3 {
    font-size: 22px;
  }

  .lp-pillar {
    padding: 24px 20px;
  }

  .lp-evidence {
    padding: 22px 20px;
  }

  .lp-evidence-grid,
  .lp-stats {
    grid-template-columns: 1fr;
  }

  .lp-steps {
    padding-left: 56px;
  }

  .lp-step-num {
    left: -56px;
    width: 40px;
    height: 40px;
  }

  .lp-steps::before {
    left: 20px;
  }

  .lp-section,
  .lp-hero {
    scroll-margin-top: 118px;
  }

  .lp-table th,
  .lp-table td {
    padding: 14px 16px;
  }

  .lp-table thead th:first-child,
  .lp-table tbody th {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--lp-surface);
    box-shadow: 1px 0 0 var(--lp-line);
  }

  .lp-table thead th:first-child {
    background: #0a111f;
  }

  .lp-footer {
    padding: 48px 0 36px;
  }

  .lp-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-live-dot,
  .lp-link-line::after {
    animation: none;
  }

  .lp-btn:hover,
  .lp-stat:hover {
    transform: none;
  }
}
