/* landing.css — landing-page-specific styles layered on top of kit.css */

html, body { margin: 0; padding: 0; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }

/* ── Layout shell ─────────────────────────────────────── */
.lp-container { max-width: 1500px; margin: 0 auto; padding: 0 32px; }
.lp-section   { padding: 96px 0; border-top: 1px solid var(--color-border); }
.lp-section:first-of-type { border-top: 0; }

/* ── Nav ──────────────────────────────────────────────── */
.lp-nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--color-bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.lp-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.lp-nav-left { display: flex; align-items: center; gap: 18px; }
.lp-nav-links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.lp-nav-link {
  padding: 6px 10px; border-radius: 6px;
  font: var(--text-label); color: var(--color-text-secondary);
  text-decoration: none; transition: background 0.1s, color 0.1s;
}
.lp-nav-link:hover { background: rgba(0,0,0,0.04); color: var(--color-text); }
[data-theme="dark"] .lp-nav-link:hover { background: rgba(255,255,255,0.05); }
.lp-nav-right { display: flex; align-items: center; gap: 10px; }

.lp-wordmark {
  display: inline-flex; align-items: baseline; gap: 0;
  font-weight: 700; font-size: 20px;
  color: var(--color-text-heading);
  letter-spacing: -0.01em; text-decoration: none;
}
.lp-wordmark .slash {
  font-family: var(--font-mono);
  font-weight: 800; font-size: 22px;
  color: var(--color-primary);
  display: inline-block; transform: skewX(-12deg);
  margin: 0 1px;
}

.lp-prerelease {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 3px 8px; border: 1px solid var(--color-border);
  border-radius: 9999px;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.lp-wordmark-nowrap { white-space: nowrap; font-style: inherit; }
.lp-prerelease .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-warning);
}

.lp-theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  background: transparent; border: 1px solid var(--color-border);
  color: var(--color-text-secondary); cursor: pointer;
  font-size: 14px;
}
.lp-theme-toggle:hover { background: rgba(0,0,0,0.04); color: var(--color-text); }
[data-theme="dark"] .lp-theme-toggle:hover { background: rgba(255,255,255,0.05); }

/* ── Language switcher ──────────────────────────────── */
.lp-langsw { position: relative; display: inline-flex; }
.lp-langsw-btn {
  display: inline-flex; align-items: center; gap: 4px;
  height: 34px; padding: 0 10px; border-radius: 8px;
  background: transparent; border: 1px solid var(--color-border);
  color: var(--color-text-secondary); cursor: pointer;
  font: var(--text-label); font-weight: 500;
  letter-spacing: 0.04em;
}
.lp-langsw-btn:hover { background: rgba(0,0,0,0.04); color: var(--color-text); }
[data-theme="dark"] .lp-langsw-btn:hover { background: rgba(255,255,255,0.05); }
.lp-langsw-current { font-family: var(--font-mono); font-size: 11.5px; }
.lp-langsw-chev { font-size: 9px; opacity: 0.7; }
.lp-langsw-pop {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 50;
  min-width: 180px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: var(--shadow-xl, 0 12px 32px rgba(0,0,0,0.18));
  padding: 4px;
  display: flex; flex-direction: column; gap: 2px;
}
.lp-langsw-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 6px;
  background: transparent; border: 0; cursor: pointer; text-align: left;
  color: var(--color-text);
  font-family: var(--font-sans); font-size: 13px;
}
.lp-langsw-opt:hover:not(:disabled) { background: var(--color-primary-bg); color: var(--color-text-heading); }
.lp-langsw-opt.is-current { color: var(--color-primary); font-weight: 600; }
.lp-langsw-opt.is-soon, .lp-langsw-opt:disabled {
  color: var(--color-text-muted); cursor: not-allowed; opacity: 0.7;
}
.lp-langsw-opt-code {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  width: 24px; color: var(--color-text-muted);
}
.lp-langsw-opt-name { flex: 1; }
.lp-langsw-opt-soon {
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--color-text-muted);
  padding: 2px 6px; border: 1px solid var(--color-border-subtle); border-radius: 4px;
}

/* ── Hero ─────────────────────────────────────────────── */
.lp-hero { padding: 72px 0 88px; position: relative; }
.lp-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px; align-items: center;
}
.lp-hero-grid.is-centered {
  grid-template-columns: minmax(0, 800px); justify-content: center; text-align: center;
}
.lp-hero-grid.is-left {
  grid-template-columns: minmax(0, 860px); text-align: left;
}

.lp-eyebrow {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-primary);
  display: inline-flex; align-items: center; gap: 10px;
}
.lp-eyebrow::before {
  content: ""; display: inline-block; width: 20px; height: 1px;
  background: var(--color-primary);
}
.lp-hero-grid.is-centered .lp-eyebrow { margin: 0 auto; }

.lp-h1 {
  margin: 20px 0 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.02; letter-spacing: -0.03em;
  color: var(--color-text-heading);
  text-wrap: balance;
}
.lp-h1 .slash {
  font-family: var(--font-mono);
  color: var(--color-primary);
  display: inline-block; transform: skewX(-12deg);
  margin: 0 0.03em;
}
.lp-h1 em { font-style: normal; color: var(--color-primary); }

.lp-lede {
  margin: 22px 0 0;
  font-size: 18px; line-height: 1.55;
  color: var(--color-text-secondary);
  max-width: 560px;
  text-wrap: pretty;
}
.lp-hero-grid.is-centered .lp-lede { margin-left: auto; margin-right: auto; }

.lp-cta-row {
  margin-top: 32px;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.lp-hero-grid.is-centered .lp-cta-row { justify-content: center; }

/* Hero → install jump: single primary CTA + muted read-on affordance */
.lp-hero-jump {
  margin-top: 36px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
}
.lp-hero-scroll {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
}
.lp-hero-scroll:hover { color: var(--color-text-secondary); }
.lp-hero-scroll .arrow {
  display: inline-block; font-size: 16px; line-height: 1;
  animation: lp-hero-scroll-bob 2.2s ease-in-out infinite;
}
@keyframes lp-hero-scroll-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

.lp-meta-row {
  margin-top: 28px; display: flex; gap: 18px; align-items: center;
  flex-wrap: wrap;
  font: var(--text-body-sm); color: var(--color-text-muted);
  font-family: var(--font-mono); font-size: 12px;
}
.lp-hero-grid.is-centered .lp-meta-row { justify-content: center; }
.lp-meta-row .sep { color: var(--color-border); }

/* Hero code block — copy-paste for agent */
.lp-paste-block {
  margin: 20px auto 0;
  max-width: 560px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.lp-paste-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; background: var(--color-sidebar);
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-mono); font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.lp-paste-head .tag {
  color: var(--color-primary);
  font-family: var(--font-mono); font-size: 11px;
}
.lp-copy-btn {
  background: transparent; border: 0; color: var(--color-text-secondary);
  cursor: pointer; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 4px;
  transition: color 0.12s, background 0.12s;
}
.lp-copy-btn:hover { color: var(--color-primary); background: var(--color-primary-bg); }
.lp-copy-btn.is-copied {
  color: var(--color-primary);
  background: var(--color-primary-bg);
}
.lp-paste-body {
  padding: 14px 16px;
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.65;
  color: var(--color-text);
  white-space: pre-wrap; word-break: break-word;
  background: var(--color-surface);
}
.lp-paste-body .u { color: var(--color-primary); }
.lp-paste-body .c { color: var(--color-text-muted); }

/* ── Hero visual: the floating dashboard mock ───────── */
.lp-hero-visual {
  position: relative;
  min-height: 440px;
  display: flex; align-items: center; justify-content: center;
}
.lp-hero-grid.is-centered .lp-hero-visual,
.lp-hero-grid.is-left .lp-hero-visual { display: none; }

.lp-hero-visual-centered {
  margin: 48px auto 0;
  max-width: 960px;
}
.lp-hero-grid.is-centered + .lp-hero-visual-centered,
.lp-hero-grid.is-left + .lp-hero-visual-centered { display: block; }
.lp-hero-visual-centered.hidden { display: none; }

/* Hero background glow (dark mode only) */
.lp-hero-glow {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(800px 400px at 50% 10%, rgba(99,89,217,0.18), transparent 70%);
  opacity: 0;
}
[data-theme="dark"] .lp-hero-glow { opacity: 1; }

/* ── Dashboard mock card ─────────────────────────────── */
.lp-dashboard {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 13px;
}
.lp-dashboard-head {
  display: flex; align-items: center; justify-content: space-between;
  height: 44px; padding: 0 16px;
  background: var(--color-sidebar);
  border-bottom: 1px solid var(--color-border);
}
.lp-dashboard-head .lights { display: flex; gap: 6px; }
.lp-dashboard-head .light {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--neutral-300);
}
.lp-dashboard-head .crumbs {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--color-text-muted); letter-spacing: 0.04em;
}
.lp-dashboard-body {
  display: grid; grid-template-columns: 180px 1fr;
  min-height: 380px;
}
.lp-dashboard-side {
  background: var(--color-sidebar);
  border-right: 1px solid var(--color-border);
  padding: 14px 10px;
  display: flex; flex-direction: column; gap: 2px;
}
.lp-dash-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px; border-radius: 6px;
  font: var(--text-label); color: var(--color-text-secondary);
}
.lp-dash-nav-item.is-active {
  background: var(--color-primary-bg); color: var(--color-primary); font-weight: 500;
}
.lp-dash-nav-item .glyph {
  width: 16px; text-align: center; font-size: 14px; line-height: 1;
}
.lp-dash-nav-item .count {
  margin-left: auto; background: var(--color-primary); color: #fff;
  font-size: 10px; font-weight: 600;
  padding: 1px 6px; border-radius: 9999px;
}
.lp-dash-nav-section {
  font-family: var(--font-sans); font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-text-muted); padding: 12px 10px 4px;
}
.lp-dash-main { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lp-dash-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.lp-dash-title {
  margin: 0; font-size: 16px; font-weight: 600; color: var(--color-text-heading);
}
.lp-dash-sub { font-size: 12px; color: var(--color-text-muted); }

/* Approval card inside dashboard */
.lp-approval {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.lp-approval-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lp-approval-title { font-size: 13px; font-weight: 600; color: var(--color-text-heading); }
.lp-approval-meta { font-size: 11px; color: var(--color-text-muted); font-family: var(--font-mono); }
.lp-scope-box {
  background: var(--color-sidebar); border: 1px solid var(--color-border);
  border-radius: 6px; padding: 9px 11px;
}
.lp-scope-box .label {
  font-family: var(--font-sans); font-size: 9px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-text-muted);
}
.lp-scope-box code {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--color-primary); display: block; margin-top: 4px;
}
.lp-scope-box .desc { font-size: 11px; color: var(--color-text-secondary); margin-top: 4px; }

.lp-approval-actions { display: grid; gap: 6px; }
.lp-approval-actions .ovs-btn { justify-content: center; }

.lp-last-action {
  display: flex; gap: 10px; align-items: flex-start;
  padding-top: 4px;
}
.lp-last-action .when {
  font-family: var(--font-mono); font-size: 11px; color: var(--color-text-muted);
  width: 68px; flex: none; padding-top: 2px;
}
.lp-last-action .what {
  font-size: 12.5px; color: var(--color-text); line-height: 1.5;
}

.lp-mono-chip {
  font-family: var(--font-mono); font-size: 11px;
  background: var(--color-primary-bg); color: var(--color-primary);
  padding: 1px 6px; border-radius: 3px;
}

/* ── Generic section heads ───────────────────────────── */
.lp-section-head { margin-bottom: 48px; max-width: 720px; }
.lp-section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.lp-section-head.is-center .lp-eyebrow { margin: 0 auto; }
.lp-h2 {
  margin: 16px 0 0;
  font-family: var(--font-sans); font-weight: 700;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--color-text-heading);
  text-wrap: balance;
}
.lp-h2 em { font-style: normal; color: var(--color-primary); }
.lp-section-lede {
  margin-top: 14px;
  font-size: 16px; line-height: 1.55;
  color: var(--color-text-secondary);
  text-wrap: pretty;
  max-width: 620px;
}
.lp-section-head.is-center .lp-section-lede { margin-left: auto; margin-right: auto; }

/* ── Features grid ───────────────────────────────────── */
.lp-features-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}
.lp-feature {
  background: var(--color-surface);
  padding: 28px 26px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 200px;
}
.lp-feature .icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--color-primary-bg); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 18px; font-weight: 700;
  line-height: 1;
}
.lp-feature h3 {
  margin: 6px 0 0;
  font-size: 16px; font-weight: 600;
  color: var(--color-text-heading);
}
.lp-feature p {
  margin: 0; font-size: 13.5px; line-height: 1.55;
  color: var(--color-text-secondary);
}
.lp-feature code.k {
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--color-primary); background: var(--color-primary-bg);
  padding: 1px 5px; border-radius: 3px;
}

/* ── How it works diagram ────────────────────────────── */
.lp-flow {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px; align-items: stretch;
  margin-top: 12px;
}

.lp-flow-v2 {
  margin-top: 12px;
  display: flex; flex-direction: column; align-items: center;
  gap: 0;
}
.lp-agent-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%; max-width: 820px;
  justify-items: center;
}
.lp-agent-chip {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.lp-agent-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.lp-agent-chip img {
  width: 100%; height: 100%;
  object-fit: contain;
}

.lp-flow-area {
  position: relative;
  width: 100%; max-width: 820px;
  height: 120px;
  margin-top: 4px;
}
.lp-flow-connectors {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  color: var(--color-primary);
  opacity: 0.55;
}
.lp-flow-connectors path {
  stroke-dasharray: 4 7;
  animation: lp-flow-dash 1.6s linear infinite;
}
@keyframes lp-flow-dash {
  to { stroke-dashoffset: -22; }
}

.lp-flow-labels {
  position: absolute; inset: 0;
  pointer-events: none;
}
.lp-flow-label {
  position: absolute;
  top: 44%;
  transform: translate(-50%, -50%);
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  font-family: var(--font-mono); font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.lp-flow-label-0 { left: 17%; }
.lp-flow-label-1 { left: 50%; top: 48%; }
.lp-flow-label-2 { left: 83%; }
.lp-flow-gateway {
  width: 100%; max-width: 460px;
}
.lp-flow-arrow-down {
  margin: 24px 0 14px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.lp-flow-arrow-down .stem {
  display: block;
  width: 1px; height: 22px;
  background: linear-gradient(to bottom, var(--color-primary), rgba(99,102,241,0.2));
}
.lp-flow-arrow-down .lbl {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-text-muted);
}
.lp-flow-arrow-down .tip {
  font-size: 18px; color: var(--color-primary); line-height: 1;
}
.lp-flow-service {
  width: 100%; max-width: 460px;
}
.lp-flow-node {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px 20px 18px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
  min-height: 160px;
}
.lp-flow-node.is-center {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-bg);
}
.lp-flow-node .title {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  color: var(--color-text-muted); letter-spacing: 0.08em; text-transform: uppercase;
}
.lp-flow-node .name {
  font-size: 16px; font-weight: 600;
  color: var(--color-text-heading);
  font-family: var(--font-mono);
}
.lp-flow-node .name.is-wm { font-family: var(--font-sans); }
.lp-flow-node .body { font-size: 12.5px; color: var(--color-text-secondary); line-height: 1.5; flex: 1; }
.lp-flow-arrow {
  align-self: center;
  color: var(--color-text-muted);
  font-family: var(--font-mono); font-size: 18px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.lp-flow-arrow .lbl {
  font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-text-muted);
}
.lp-flow-notes {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 24px;
}
.lp-flow-note {
  font-size: 12.5px; color: var(--color-text-secondary);
  line-height: 1.5;
  border-top: 1px solid var(--color-border); padding-top: 12px;
}
.lp-flow-note .k {
  display: block;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-primary); margin-bottom: 4px;
}

/* ── Integrations strip ──────────────────────────────── */
.lp-integrations {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.lp-int-tile {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 18px 16px;
  display: flex; align-items: center; gap: 12px;
  transition: border-color 0.12s, background 0.12s;
}
.lp-int-tile:hover { border-color: var(--color-primary); }
.lp-int-tile.is-teaser { border-style: dashed; background: transparent; }
.lp-int-tile .logo {
  width: 32px; height: 32px; border-radius: 7px;
  background: var(--color-sidebar);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 15px; font-weight: 700;
  color: var(--color-text-secondary);
}
.lp-int-tile .logo.is-brand {
  background: #fff;
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.lp-int-tile .logo.is-brand img {
  display: block;
  width: 20px; height: 20px;
  object-fit: contain;
}
.lp-int-tile .logo.is-brand.is-wide {
  width: 56px;
}
.lp-int-tile .logo.is-brand.is-wide img {
  width: 44px; height: 20px;
}
.lp-int-tile .name { font-size: 13.5px; font-weight: 600; color: var(--color-text-heading); }
.lp-int-tile .sub  { font-size: 11px; color: var(--color-text-muted); margin-top: 1px; }
.lp-int-tile.is-teaser .name { color: var(--color-text-muted); font-weight: 500; }

/* ── Pricing ─────────────────────────────────────────── */
.lp-pricing {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 12px;
}
.lp-pricing.is-two {
  grid-template-columns: repeat(2, minmax(0, 480px));
  justify-content: center;
}
.lp-pricing-footnote {
  margin-top: 28px; text-align: center;
  font-size: 13px; color: var(--color-text-secondary);
}
.lp-pricing-footnote a { color: var(--color-primary); }
.lp-tier {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 32px 30px 30px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
}
.lp-tier.is-hero {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-bg);
}
.lp-tier .tag {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-text-muted);
}
.lp-tier .tag.is-primary { color: var(--color-primary); }
.lp-tier .name {
  font-size: 22px; font-weight: 700; color: var(--color-text-heading);
  letter-spacing: -0.01em;
}
.lp-tier .price {
  display: flex; align-items: baseline; gap: 4px;
  margin-top: 14px;
}
.lp-tier .price .num {
  font-size: 34px; font-weight: 700; color: var(--color-text-heading);
  letter-spacing: -0.02em;
}
.lp-tier .price .unit {
  font-size: 13px; color: var(--color-text-muted);
}
.lp-tier .note {
  margin-top: 10px;
  font-family: var(--font-mono); font-size: 11.5px; line-height: 1.55;
  color: var(--color-text-muted); letter-spacing: 0.01em;
}

.lp-seat-slider { margin-top: 18px; }
.lp-seat-slider input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.lp-seat-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.lp-seat-slider input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.lp-seat-labels {
  display: flex; justify-content: space-between;
  margin-top: 8px;
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--color-text-muted); letter-spacing: 0.05em;
}
.lp-tier p.t { font-size: 14px; color: var(--color-text-secondary); margin: 0; line-height: 1.65; }
.lp-tier ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 13.5px; color: var(--color-text); line-height: 1.5;
}
.lp-tier li { display: flex; gap: 10px; align-items: flex-start; }
.lp-tier li::before {
  content: "✓"; color: var(--color-primary);
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  line-height: 1.5;
}
.lp-tier .ovs-btn { justify-content: center; }

/* ── Open source section ─────────────────────────────── */
.lp-oss {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.lp-oss-code {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-mono); font-size: 12.5px;
  overflow: hidden;
}
.lp-oss-code .head {
  padding: 10px 14px; background: var(--color-sidebar);
  border-bottom: 1px solid var(--color-border);
  font-size: 11px; color: var(--color-text-muted);
  letter-spacing: 0.04em; text-transform: uppercase;
  display: flex; justify-content: space-between;
}
.lp-oss-code pre {
  margin: 0; padding: 16px; line-height: 1.65;
  color: var(--color-text); white-space: pre-wrap;
}
.lp-oss-code .c { color: var(--color-text-muted); }
.lp-oss-code .k { color: var(--color-primary); }

/* ── Footer ──────────────────────────────────────────── */
.lp-footer {
  border-top: 1px solid var(--color-border);
  padding: 56px 0 40px;
  background: var(--color-sidebar);
}
.lp-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.lp-footer h4 {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 14px;
}
.lp-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.lp-footer a {
  color: var(--color-text-secondary); font-size: 13px; text-decoration: none;
}
.lp-footer a:hover { color: var(--color-primary); }
.lp-footer .tag {
  margin-top: 16px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.lp-footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  flex-wrap: wrap; gap: 12px;
}

/* ── Tweaks panel ────────────────────────────────────── */
.lp-tweaks {
  position: fixed; bottom: 20px; right: 20px; z-index: 60;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: var(--shadow-xl);
  padding: 14px 16px 16px;
  min-width: 240px;
  display: none;
  flex-direction: column; gap: 12px;
}
.lp-tweaks.is-open { display: flex; }
.lp-tweaks h5 {
  margin: 0; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-text-heading);
}
.lp-tweak-row { display: flex; flex-direction: column; gap: 6px; }
.lp-tweak-row label {
  font-size: 11px; color: var(--color-text-muted);
  font-family: var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase;
}
.lp-tweak-seg {
  display: inline-flex; border: 1px solid var(--color-border);
  border-radius: 7px; overflow: hidden; background: var(--color-bg);
}
.lp-tweak-seg button {
  background: transparent; border: 0; cursor: pointer;
  padding: 6px 10px; font-size: 12px;
  color: var(--color-text-secondary);
  font-family: var(--font-sans);
  flex: 1;
}
.lp-tweak-seg button + button { border-left: 1px solid var(--color-border); }
.lp-tweak-seg button.is-active {
  background: var(--color-primary); color: #fff;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 980px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero-visual { order: 2; }
  .lp-features-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-flow { grid-template-columns: 1fr; }
  .lp-flow-arrow { transform: rotate(90deg); }
  .lp-flow-arrow .lbl { display: none; }
  .lp-flow-notes { grid-template-columns: 1fr 1fr; }
  .lp-pricing,
  .lp-pricing.is-two { grid-template-columns: 1fr; justify-content: stretch; }
  .lp-oss { grid-template-columns: 1fr; }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; }
  .lp-nav-links { display: none; }
}
@media (max-width: 760px) {
  /* Keep three logos in a row on mobile — they're small enough */
  .lp-flow-labels { display: none; }
  .lp-flow-area { height: 96px; }
}
@media (max-width: 620px) {
  .lp-container { padding: 0 20px; }
  .lp-section { padding: 72px 0; }
  .lp-features-grid { grid-template-columns: 1fr; }
  .lp-footer-grid { grid-template-columns: 1fr; }
  .lp-nav-right .ovs-btn-ghost { display: none; }
  .lp-hero { padding: 48px 0 72px; }
  .lp-h1 { font-size: 36px; line-height: 1.1; }
  .lp-dashboard-body { grid-template-columns: 1fr; min-height: 0; }
  .lp-dashboard-side { display: none; }
  .lp-dash-main .lp-mono-chip,
  .lp-dash-main code { word-break: break-all; }
  .lp-flow-notes { grid-template-columns: 1fr; }
}

html, body { overflow-x: clip; }
