/* Connexia marketing pages (home + docs).
Loaded after site.css. Every class is prefixed lp- so the auth, dashboard
and admin pages that share site.css are unaffected. */

:root {
  --lp-maxw: 1180px;
  --lp-glow: rgba(61,220,151,.16);
  --lp-track: rgba(108,114,128,.28);
  --lp-code: #08090c;
}

html {
  scroll-padding-top: 84px;
}

body.lp {
  background: var(--bg);
  color: var(--text);
}

.lp main {
  overflow-x: clip;
}

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

@media (max-width:600px) {
  .lp-container {
    padding: 0 18px;
  }
}

.ico {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ico-fill {
  fill: currentColor;
  stroke: none;
}

/* ---------- Reveal on scroll (only once JS is running) ---------- */

.lp-js .lp-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease,transform .6s ease;
}

.lp-js .lp-reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Header ---------- */

.lp-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background .2s ease,border-color .2s ease;
}

.lp-nav.scrolled {
  background: rgba(11,12,16,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.lp-nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.lp-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.lp-links a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s,background .15s;
}

.lp-links a:hover,
.lp-links a[aria-current="page"] {
  color: var(--text);
  background: var(--panel2);
}

.lp-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-gh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--muted);
  transition: color .15s,background .15s;
}

.lp-gh:hover {
  color: var(--text);
  background: var(--panel2);
}

.lp-gh .ico {
  width: 19px;
  height: 19px;
}

.lp-menu-btn {
  display: none;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border2);
  border-radius: 8px;
  color: var(--text);
  width: 38px;
  height: 38px;
  cursor: pointer;
}

.lp-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(11,12,16,.97);
  padding: 10px 18px 18px;
}

.lp-mobile.open {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lp-mobile a:not(.btn) {
  padding: 11px 8px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.lp-mobile a:not(.btn):hover {
  color: var(--text);
  background: var(--panel2);
}

.lp-mobile .btn {
  margin-top: 8px;
}

@media (max-width:880px) {
  .lp-links,
  .lp-actions {
    display: none;
  }

  .lp-menu-btn {
    display: inline-flex;
  }
}

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

.lp-hero {
  position: relative;
  padding: 76px 0 0;
  text-align: center;
  isolation: isolate;
}

.lp-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -64px;
  height: 760px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(620px 340px at 50% 8%,var(--lp-glow),transparent 70%), linear-gradient(rgba(36,40,51,.9) 1px,transparent 1px) 0 0/52px 52px, linear-gradient(90deg,rgba(36,40,51,.9) 1px,transparent 1px) 0 0/52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 22%,#000 25%,transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 22%,#000 25%,transparent 75%);
  opacity: .6;
}

.lp-hero h1 {
  font-size: clamp(38px,6.6vw,70px);
  line-height: 1.03;
  letter-spacing: -.04em;
  font-weight: 800;
  margin: 0 auto;
  max-width: 920px;
}

.lp-hero h1,
.lp-head h2,
.lp-split h2,
.lp-cta h2,
.lp-prose h1,
.lp-prose h2 {
  text-wrap: balance;
}

.lp-lead,
.lp-head p,
.lp-split .lp-sub,
.lp-cta p,
.lp-card p {
  text-wrap: pretty;
}

.lp-grad {
  background: linear-gradient(95deg,#8ff0c5 0%,#3ddc97 42%,#5b9df7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-lead {
  font-size: clamp(16px,2vw,19px);
  color: var(--muted);
  max-width: 660px;
  margin: 22px auto 0;
  line-height: 1.6;
}

.lp-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.lp-ctas .btn.lg {
  padding: 13px 22px;
  border-radius: 10px;
}

.lp-ctas .ico {
  width: 17px;
  height: 17px;
}

.lp-hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--faint);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lp-platforms {
  display: inline-flex;
  gap: 10px;
  color: var(--muted);
}

.lp-platforms .ico {
  width: 16px;
  height: 16px;
}

.lp-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--faint);
}

/* Product shot */

.lp-shot {
  position: relative;
  margin: 64px auto 0;
  max-width: 1080px;
  text-align: left;
}

.lp-shot::before {
  content: "";
  position: absolute;
  inset: 6% 8% -6%;
  z-index: -1;
  background: radial-gradient(closest-side,rgba(61,220,151,.20),transparent);
  filter: blur(50px);
}

.lp-win {
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 50px 120px -40px rgba(0,0,0,.95);
}

.lp-win-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}

.lp-dots {
  display: flex;
  gap: 7px;
}

.lp-dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2a2f3b;
}

.lp-win-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.lp-win-sync {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--faint);
}

.lp-win-sync i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.lp-win-body {
  display: grid;
  grid-template-columns: 196px minmax(0,1fr);
  min-height: 440px;
}

.lp-side {
  background: var(--panel);
  border-right: 1px solid var(--border);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lp-side span {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.lp-side span .ico {
  width: 16px;
  height: 16px;
}

.lp-side span.on {
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--accent-border);
}

.lp-side span.on .ico {
  color: var(--accent);
}

.lp-side .lp-side-foot {
  margin-top: auto;
  border-top: 1px solid var(--border);
  border-radius: 0;
  padding-top: 10px;
  height: 44px;
}

.lp-app {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lp-toolbar {
  display: flex;
  gap: 10px;
}

.lp-search {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 12px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 9px;
  font-size: 13px;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
}

.lp-search .ico {
  width: 15px;
  height: 15px;
}

.lp-newbtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border-radius: 9px;
  background: var(--accent);
  color: #06251a;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.lp-newbtn .ico {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}

.lp-mini-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 18px 2px 8px;
}

.lp-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(170px,1fr));
  gap: 10px;
}

.lp-group,
.lp-host {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.lp-group b,
.lp-host b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-group small {
  display: block;
  font-size: 11.5px;
  color: var(--faint);
}

.lp-gi,
.lp-hi {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c);
  background: color-mix(in srgb,var(--c) 16%,transparent);
  font-size: 13px;
  font-weight: 800;
}

.lp-gi .ico {
  width: 16px;
  height: 16px;
}

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

.lp-hb {
  min-width: 0;
  flex: 1;
}

.lp-hb small {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-host.sel {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.lp-st {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
}

.lp-st.off {
  background: var(--faint);
}

.lp-float {
  position: absolute;
  border-radius: 12px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.9);
  text-align: left;
}

.lp-float-term {
  right: -34px;
  bottom: -40px;
  width: 380px;
  background: #0d0e12;
  border: 1px solid var(--border2);
  overflow: hidden;
}

.lp-float-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  background: #14161d;
  border-bottom: 1px solid var(--border);
}

.lp-float-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.lp-float-bar span {
  margin-left: auto;
  font-family: var(--mono);
  font-weight: 400;
  color: var(--faint);
}

.lp-float pre {
  margin: 0;
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
  white-space: pre-wrap;
}

.lp-float pre .p {
  color: var(--accent);
}

.lp-float pre .t {
  color: var(--text);
}

.lp-float pre .s {
  color: var(--green);
}

.lp-caret {
  display: inline-block;
  width: 7px;
  height: 14px;
  margin-bottom: -2px;
  background: var(--accent);
  animation: lp-blink 1.1s steps(1) infinite;
}

.lp-float-metrics {
  left: -34px;
  bottom: 56px;
  width: 250px;
  padding: 14px;
  background: var(--panel2);
  border: 1px solid var(--border2);
}

.lp-fm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
}

.lp-ok {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  background: rgba(61,220,151,.14);
  padding: 2px 8px;
  border-radius: 99px;
}

@keyframes lp-blink {
  50% {
    opacity: 0;
  }
}

@media (max-width:1180px) {
  .lp-float-term {
    right: 12px;
  }

  .lp-float-metrics {
    left: 12px;
  }
}

@media (max-width:940px) {
  .lp-float {
    display: none;
  }
}

@media (max-width:700px) {
  .lp-win-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .lp-side {
    display: none;
  }

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

  .lp-win-sync {
    display: none;
  }

  .lp-shot {
    margin-top: 48px;
  }
}

@media (max-width:420px) {
  .lp-hosts {
    grid-template-columns: 1fr;
  }

  .lp-host:nth-child(n+4) {
    display: none;
  }

  .lp-newbtn span {
    display: none;
  }
}

/* Meters + sparkline (hero card and metrics feature) */

.lp-meter {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) 38px;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted);
}

.lp-meter+.lp-meter {
  margin-top: 8px;
}

.lp-meter i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--lp-track);
  overflow: hidden;
}

.lp-meter i b {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--accent);
}

.lp-meter i b.warn {
  background: var(--amber);
}

.lp-meter em {
  font-style: normal;
  text-align: right;
  font-family: var(--mono);
  color: var(--text);
}

.lp-spark {
  display: block;
  width: 100%;
  height: 42px;
  margin-top: 12px;
}

.lp-spark path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.lp-spark path.area {
  fill: rgba(61,220,151,.12);
  stroke: none;
}

/* ---------- Live stats ---------- */

.lp-stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  max-width: 900px;
  margin: 96px auto 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel);
  overflow: hidden;
}

.lp-stat {
  padding: 20px 16px;
  text-align: center;
  min-width: 0;
}

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

.lp-stat .n {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-stat .l {
  font-size: 12.5px;
  color: var(--faint);
  margin-top: 2px;
}

.lp-stats-cap {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--faint);
  background: var(--bg2);
}

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

@keyframes lp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(61,220,151,.55);
  }

  100% {
    box-shadow: 0 0 0 9px rgba(61,220,151,0);
  }
}

@media (max-width:700px) {
  .lp-stats {
    grid-template-columns: repeat(2,1fr);
    margin-top: 72px;
  }

  .lp-stat:nth-child(3) {
    border-left: 0;
  }

  .lp-stat:nth-child(n+3) {
    border-top: 1px solid var(--border);
  }
}

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

.lp-section {
  padding: 120px 0;
}

.lp-section.alt {
  background: linear-gradient(180deg,var(--bg2),var(--bg) 70%);
  border-top: 1px solid var(--border);
}

.lp-head {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}

.lp-head.left {
  margin-left: 0;
  text-align: left;
}

.lp-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

.lp-head h2,
.lp-split h2 {
  font-size: clamp(30px,4.4vw,46px);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin-top: 12px;
}

.lp-head p,
.lp-split .lp-sub {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin-top: 16px;
}

@media (max-width:700px) {
  .lp-section {
    padding: 80px 0;
  }

  .lp-head {
    margin-bottom: 40px;
  }
}

/* ---------- Feature bento ---------- */

.lp-bento {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 16px;
}

.lp-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: border-color .2s ease,transform .2s ease;
}

.lp-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
}

.lp-card.wide {
  grid-column: span 3;
}

.lp-card-ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-border);
}

.lp-card-ic .ico {
  width: 20px;
  height: 20px;
}

.lp-card h3 {
  font-size: 18px;
  letter-spacing: -.015em;
}

.lp-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin-top: 8px;
}

.lp-card-vis {
  margin-top: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
}

@media (max-width:980px) {
  .lp-bento {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .lp-card,
  .lp-card.wide {
    grid-column: span 1;
  }
}

@media (max-width:640px) {
  .lp-bento {
    grid-template-columns: 1fr;
  }
}

.lp-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 9px 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
}

.lp-row b {
  font-weight: 600;
  white-space: nowrap;
}

.lp-row small {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.lp-row .lp-chip {
  margin-left: auto;
}

.lp-row .ico {
  width: 15px;
  height: 15px;
  color: var(--faint);
}

.lp-row .ico.ac {
  color: var(--accent);
}

.lp-row .ico.am {
  color: var(--amber);
}

.lp-chip {
  flex: none;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--border2);
  border-radius: 6px;
  padding: 1px 7px;
  background: var(--panel);
}

.lp-mterm {
  background: var(--lp-code);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 15px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
  overflow: hidden;
  white-space: nowrap;
}

.lp-mterm .p {
  color: var(--accent);
}

.lp-mterm .t {
  color: var(--text);
}

.lp-mterm .w {
  color: var(--amber);
}

.lp-mterm .d {
  color: var(--faint);
}

.lp-mtabs {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.lp-mtabs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 4px 10px;
  background: var(--bg2);
}

.lp-mtabs span.on {
  color: var(--text);
  border-color: var(--border2);
}

.lp-mtabs i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.lp-prog {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.lp-prog i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: var(--lp-track);
  margin-top: 6px;
  overflow: hidden;
}

.lp-prog i b {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: 3px;
  background: var(--accent);
}

.lp-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
}

.lp-node {
  flex: none;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text);
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 6px 9px;
}

.lp-wire {
  flex: 1;
  min-width: 14px;
  height: 2px;
  background: repeating-linear-gradient(90deg,var(--accent) 0 6px,transparent 6px 11px);
  opacity: .8;
}

.lp-flow-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}

.lp-flow-note i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.lp-avatars {
  display: flex;
}

.lp-avatars span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--panel);
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #0b0c10;
  background: var(--c);
}

.lp-avatars span:first-child {
  margin-left: 0;
}

.lp-also {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.lp-also span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 7px 14px;
  background: var(--panel);
}

.lp-also .ico {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

/* ---------- Security split ---------- */

.lp-split {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 64px;
  align-items: center;
}

@media (max-width:920px) {
  .lp-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.lp-steps {
  list-style: none;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lp-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0,1fr);
  gap: 14px;
}

.lp-step-n {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--panel);
  border: 1px solid var(--border2);
}

.lp-steps h4 {
  font-size: 15.5px;
  margin-top: 1px;
}

.lp-steps p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-top: 3px;
}

.lp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.lp-tags span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 4px 10px;
  background: var(--panel);
}

.lp-vault {
  background: var(--lp-code);
  border: 1px solid var(--border2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.9);
}

.lp-vault-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--panel);
  font-size: 13px;
  font-weight: 600;
}

.lp-vault-bar .ico {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.lp-vault-bar span {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 400;
  color: var(--faint);
}

.lp-vault pre {
  margin: 0;
  padding: 20px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.lp-vault .k {
  color: #8ab4f8;
}

.lp-vault .s {
  color: var(--accent);
}

.lp-vault .n {
  color: var(--amber);
}

.lp-vault .c {
  color: var(--faint);
}

.lp-vault-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.lp-vault-foot span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.lp-vault-foot .ico {
  width: 15px;
  height: 15px;
  color: var(--red);
}

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

.lp-table-wrap {
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.lp-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.lp-table th,
.lp-table td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

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

.lp-table thead th {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg2);
}

.lp-table thead th.us {
  color: var(--accent);
}

.lp-table td.us {
  background: rgba(61,220,151,.045);
}

.lp-yes,
.lp-no {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
}

.lp-yes {
  color: var(--text);
}

.lp-yes .ico {
  color: var(--green);
  stroke-width: 2.2;
}

.lp-no {
  color: var(--faint);
}

.lp-no .ico {
  width: 16px;
  height: 16px;
}

/* ---------- Pricing ---------- */

.lp-plans {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.lp-plan {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.lp-plan.featured {
  border-color: var(--accent-border);
  background: linear-gradient(180deg,rgba(61,220,151,.08),var(--panel) 45%);
}

.lp-plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lp-plan h3 {
  font-size: 17px;
}

.lp-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 99px;
  padding: 3px 10px;
}

.lp-plan-price {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -.04em;
  margin: 14px 0 0;
  line-height: 1.1;
}

.lp-plan-price span {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--faint);
  margin-left: 6px;
}

.lp-plan .lp-plan-desc {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 10px;
}

.lp-check {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 24px 0 28px;
  padding: 0;
}

.lp-check li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
}

.lp-check .ico {
  width: 17px;
  height: 17px;
  color: var(--green);
  margin-top: 3px;
  stroke-width: 2.2;
}

.lp-plan .btn {
  margin-top: auto;
}

.lp-foot-note {
  text-align: center;
  color: var(--faint);
  font-size: 14px;
  margin-top: 26px;
}

.lp-foot-note a {
  color: var(--accent);
}

.lp-foot-note a:hover {
  text-decoration: underline;
}

@media (max-width:760px) {
  .lp-plans {
    grid-template-columns: 1fr;
  }
}

/* ---------- Downloads ---------- */

.lp-dl {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 14px;
}

.lp-dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 24px 20px 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: border-color .2s ease;
}

.lp-dl-card:hover {
  border-color: var(--border2);
}

.lp-dl-card.is-you {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent),0 24px 60px -30px rgba(61,220,151,.55);
}

.lp-dl-you {
  display: none;
  position: absolute;
  top: -11px;
  left: 18px;
  font-size: 11px;
  font-weight: 700;
  color: #06251a;
  background: var(--accent);
  border-radius: 99px;
  padding: 2px 10px;
}

.lp-dl-card.is-you .lp-dl-you {
  display: block;
}

.lp-dl-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
}

.lp-dl-ic .ico {
  width: 22px;
  height: 22px;
}

.lp-dl-card h3 {
  font-size: 16.5px;
}

.lp-dl-meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}

.lp-dl-ver {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  margin-top: 2px;
}

.lp-dl-card .btn,
.lp-soon {
  width: 100%;
  margin-top: auto;
}

.lp-dl-spacer {
  flex: 1;
  min-height: 18px;
}

.lp-dl-note {
  font-size: 12px;
  color: var(--faint);
  margin-top: 9px;
  align-self: center;
}

.lp-dl-note a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--border2);
}

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

.lp-soon {
  display: block;
  text-align: center;
  padding: 9px 12px;
  border: 1px dashed var(--border2);
  border-radius: var(--radius);
  color: var(--faint);
  font-size: 14px;
  font-weight: 600;
}

.lp-server {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 18px;
  padding: 18px 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.lp-server-ic {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--accent-soft);
}

.lp-server-ic .ico {
  width: 21px;
  height: 21px;
}

.lp-server-copy {
  flex: 1;
  min-width: 220px;
}

.lp-server-copy h3 {
  font-size: 15.5px;
}

.lp-server-copy p {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 2px;
}

.lp-server-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lp-server-btns .btn .ico {
  width: 15px;
  height: 15px;
}

@media (max-width:1080px) {
  .lp-dl {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

@media (max-width:720px) {
  .lp-dl {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:440px) {
  .lp-dl {
    grid-template-columns: 1fr;
  }

  .lp-server-btns,
  .lp-server-btns .btn {
    width: 100%;
  }
}

/* ---------- Final CTA ---------- */

.lp-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 72px 28px;
  border: 1px solid var(--border2);
  border-radius: 24px;
  background: radial-gradient(640px 280px at 50% 0%,rgba(61,220,151,.18),transparent 70%),var(--panel);
}

.lp-cta h2 {
  font-size: clamp(28px,4.2vw,44px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.lp-cta p {
  color: var(--muted);
  font-size: 17px;
  max-width: 540px;
  margin: 14px auto 0;
}

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

.lp-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg);
}

.lp-foot-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3,minmax(0,1fr));
  gap: 36px;
}

.lp-foot-about p {
  color: var(--faint);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 14px;
  max-width: 300px;
}

.lp-foot-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
}

.lp-foot-col a {
  display: block;
  width: fit-content;
  padding: 4px 0;
  font-size: 14px;
  color: var(--muted);
  transition: color .15s;
}

.lp-foot-col a:hover {
  color: var(--text);
}

.lp-foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--faint);
}

@media (max-width:760px) {
  .lp-foot-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .lp-foot-about {
    grid-column: 1/-1;
  }
}

/* ---------- Docs ---------- */

.lp-docs {
  display: grid;
  grid-template-columns: 230px minmax(0,1fr);
  gap: 64px;
  padding-top: 56px;
  padding-bottom: 110px;
}

.lp-docs-nav {
  position: sticky;
  top: 96px;
  align-self: start;
  display: flex;
  flex-direction: column;
}

.lp-docs-nav h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 10px 14px;
}

.lp-docs-nav a {
  display: block;
  padding: 7px 14px;
  border-left: 2px solid var(--border);
  font-size: 14px;
  color: var(--muted);
  transition: color .15s,border-color .15s;
}

.lp-docs-nav a.sub {
  padding-left: 28px;
  font-size: 13.5px;
}

.lp-docs-nav a:hover {
  color: var(--text);
}

.lp-docs-nav a.on {
  color: var(--text);
  border-left-color: var(--accent);
}

.lp-docs-help {
  margin-top: 26px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  font-size: 13px;
  color: var(--muted);
}

.lp-docs-help a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 600;
}

.lp-docs-help .ico {
  width: 15px;
  height: 15px;
}

.lp-mtoc {
  display: none;
  margin: 0 0 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
}

.lp-mtoc summary {
  cursor: pointer;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}

.lp-mtoc summary::-webkit-details-marker {
  display: none;
}

.lp-mtoc nav {
  display: flex;
  flex-direction: column;
  padding: 0 8px 10px;
}

.lp-mtoc a {
  padding: 7px 8px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width:920px) {
  .lp-docs {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 36px;
  }

  .lp-docs-nav {
    display: none;
  }

  .lp-mtoc {
    display: block;
  }
}

.lp-prose {
  max-width: 780px;
  min-width: 0;
}

.lp-prose h1 {
  font-size: clamp(34px,4.6vw,48px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.lp-prose .lp-doc-lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
  margin: 14px 0 0;
}

.lp-prose h2 {
  font-size: 28px;
  letter-spacing: -.025em;
  margin: 72px 0 14px;
  padding-top: 4px;
}

.lp-prose h3 {
  font-size: 18px;
  letter-spacing: -.01em;
  margin: 34px 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-prose h3 .ico {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.lp-prose p,
.lp-prose li {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.lp-prose p {
  margin: 0 0 14px;
}

.lp-prose ul,
.lp-prose ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.lp-prose li {
  margin-bottom: 6px;
}

.lp-prose li::marker {
  color: var(--faint);
}

.lp-prose strong {
  color: var(--text);
  font-weight: 600;
}

.lp-prose a:not(.btn) {
  color: var(--accent);
}

.lp-prose a:not(.btn):hover {
  text-decoration: underline;
}

.lp-prose code {
  font-size: .86em;
  overflow-wrap: anywhere;
}

.lp-pre {
  position: relative;
  margin: 0 0 20px;
  background: var(--lp-code);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.lp-pre pre {
  margin: 0;
  padding: 16px 60px 16px 18px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
  color: var(--text);
}

.lp-pre pre code {
  background: none;
  border: 0;
  padding: 0;
  font-size: inherit;
  overflow-wrap: normal;
}

.lp-pre .c {
  color: var(--faint);
}

.lp-copy {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--border2);
  border-radius: 7px;
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: color .15s,border-color .15s;
}

.lp-copy:hover {
  color: var(--text);
  border-color: var(--accent);
}

.lp-copy.done {
  color: var(--accent);
  border-color: var(--accent-border);
}

.lp-copy .ico {
  width: 14px;
  height: 14px;
}

.lp-callout {
  display: flex;
  gap: 12px;
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  background: var(--panel);
}

.lp-callout.warn {
  border-left-color: var(--amber);
}

.lp-callout .ico {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--accent);
}

.lp-callout.warn .ico {
  color: var(--amber);
}

.lp-callout p {
  margin: 0;
  font-size: 14.5px;
}

.lp-install {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  margin: 22px 0 10px;
}

.lp-install a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  color: var(--text)!important;
  text-decoration: none!important;
  transition: border-color .15s;
}

.lp-install a:hover {
  border-color: var(--accent-border);
}

.lp-install .ico {
  width: 20px;
  height: 20px;
}

.lp-install b {
  display: block;
  font-size: 14.5px;
}

.lp-install small {
  display: block;
  font-size: 12.5px;
  color: var(--faint);
}

@media (max-width:560px) {
  .lp-install {
    grid-template-columns: 1fr;
  }
}

.lp-doc-table {
  margin: 0 0 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.lp-doc-table table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 14px;
}

.lp-doc-table th,
.lp-doc-table td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

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

.lp-doc-table th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
  background: var(--bg2);
}

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

.lp-method {
  display: inline-block;
  min-width: 46px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  border-radius: 5px;
  padding: 2px 6px;
}

.lp-method.get {
  color: #8ab4f8;
  background: rgba(91,157,247,.14);
}

.lp-method.post {
  color: var(--accent);
  background: var(--accent-soft);
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  .lp-js .lp-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .lp-caret,
  .lp-live {
    animation: none;
  }

  .lp-card:hover {
    transform: none;
  }
}

/* ---------- Page-specific tweaks ---------- */
.lp-doc-title {
  margin-top: 10px;
}

/* The closing call-to-action sits right under the downloads section. */
.lp-section.lp-section-cta {
  padding-top: 0;
}
