:root {
  color-scheme: dark;
  --lx-bg: #050807;
  --lx-bg-2: #08110e;
  --lx-panel: rgba(8, 20, 16, 0.92);
  --lx-panel-2: rgba(10, 24, 20, 0.78);
  --lx-line: rgba(46, 229, 154, 0.16);
  --lx-accent: #2ee59a;
  --lx-accent-2: #86f0a8;
  --lx-ink: #d8f0e4;
  --lx-muted: #7d9c8e;
  --lx-field: #0a1612;
  --lx-field-2: #0d1c17;
  --lx-danger: #f0a0a0;
  --shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
  --header-h: 76px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --max: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(50vw 28vw at 8% -8%, rgba(46, 229, 154, 0.09), transparent 58%),
    radial-gradient(42vw 26vw at 100% 0%, rgba(14, 90, 70, 0.2), transparent 52%),
    var(--lx-bg);
  color: var(--lx-ink);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.glass {
  background: var(--lx-panel);
  backdrop-filter: blur(22px);
  border: 1px solid var(--lx-line);
  box-shadow: var(--shadow);
}
.glass-lite {
  background: var(--lx-panel-2);
  backdrop-filter: blur(16px);
  border: 1px solid var(--lx-line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 10px 0;
  background: linear-gradient(#050807 72%, rgba(5, 8, 7, 0));
}
.site-header .wrap { position: relative; }
.site-header .bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 6px 8px 6px 12px;
  border-radius: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #000;
  object-fit: contain;
}
.brand span span { color: var(--lx-accent); }
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a, .nav-toggle {
  padding: 8px 13px;
  border-radius: 12px;
  color: var(--lx-muted);
  font-size: 14px;
  font-weight: 500;
  border: 0;
  background: transparent;
  white-space: nowrap;
}
.nav a:hover, .nav a.is-active {
  color: var(--lx-ink);
  background: rgba(46, 229, 154, 0.1);
}
.nav .btn-primary {
  background: var(--lx-accent);
  color: #052016;
  height: 36px;
  padding: 0 14px;
  font-weight: 600;
  margin-left: 6px;
}
.nav .btn-primary:hover,
.nav .btn-primary.is-active {
  background: var(--lx-accent-2);
  color: #052016;
}
.nav-toggle { display: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: 0.15s ease;
}
.btn-primary { background: var(--lx-accent); color: #052016; }
.btn-primary:hover { background: var(--lx-accent-2); }
.btn-ghost {
  background: var(--lx-field-2);
  color: var(--lx-ink);
  border-color: var(--lx-line);
}
.btn-ghost:hover { background: #12352b; }
.btn-lg { height: 48px; padding: 0 20px; border-radius: 16px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 3.5vw, 56px);
  align-items: center;
  padding: clamp(20px, 3vw, 48px) 0 28px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lx-accent-2);
  font-weight: 700;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--lx-accent);
  box-shadow: 0 0 0 4px rgba(46, 229, 154, 0.16);
}
h1, h2, h3 { letter-spacing: -0.04em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.3rem, 4.4vw, 4.2rem); font-weight: 650; }
h1 em { font-style: normal; color: var(--lx-accent); }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
.lede {
  color: var(--lx-muted);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  max-width: 42rem;
  margin: 16px 0 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
  color: var(--lx-muted);
  font-size: 13px;
}
.hero-meta b { color: var(--lx-ink); font-weight: 600; display: block; font-size: 15px; }

.app-window {
  border-radius: 28px;
  overflow: hidden;
  padding: 10px;
  min-width: 0;
}
.app-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 10px;
  min-width: 0;
}
.app-chrome img { width: 32px; height: 32px; border-radius: 9px; background: #000; flex-shrink: 0; }
.app-chrome .title { font-size: 13px; font-weight: 600; }
.app-chrome .sub { font-size: 11px; color: var(--lx-muted); }
.app-chrome .pills { margin-left: auto; display: flex; gap: 6px; flex-shrink: 0; }
.pill {
  height: 28px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  display: grid;
  place-items: center;
  background: var(--lx-field-2);
  border: 1px solid var(--lx-line);
}
.pill.on { background: var(--lx-accent); color: #052016; border-color: var(--lx-accent); }
.app-body {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px;
  min-height: 280px;
}
.tool-col, .canvas {
  border-radius: 18px;
  background: rgba(5, 10, 8, 0.55);
  border: 1px solid rgba(46, 229, 154, 0.1);
  min-width: 0;
}
.tool-col { padding: 8px; display: grid; align-content: start; gap: 6px; }
.tool {
  height: 30px;
  border-radius: 10px;
  font-size: 11px;
  display: grid;
  place-items: center;
  color: #9fb5aa;
  background: #0d1c17;
  border: 1px solid rgba(46, 229, 154, 0.18);
}
.tool.on { background: var(--lx-accent); color: #052016; font-weight: 700; border-color: var(--lx-accent); }
.canvas { position: relative; overflow: hidden; }
.canvas svg { width: 100%; height: 100%; display: block; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 8px 0 40px;
  border-radius: 24px;
  overflow: hidden;
  min-width: 0;
}
.stat {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 20px 22px;
  min-width: 0;
  border-right: 1px solid var(--lx-line);
}
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-size: 15px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.stat span {
  color: var(--lx-muted);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

section {
  padding: 36px 0 52px;
  scroll-margin-top: calc(var(--header-h) + 8px);
}
.section-head { margin-bottom: 22px; max-width: 46rem; }
.section-head p { color: var(--lx-muted); margin: 10px 0 0; }

.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.product {
  padding: 22px;
  border-radius: 28px;
  display: grid;
  gap: 12px;
  min-width: 0;
}
.badge {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(46, 229, 154, 0.12);
  color: var(--lx-accent-2);
  border: 1px solid rgba(46, 229, 154, 0.22);
}
.product ul { margin: 0; padding-left: 1.1rem; color: var(--lx-muted); display: grid; gap: 6px; }

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.feature {
  padding: 18px;
  border-radius: 22px;
  min-width: 0;
}
.icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(46, 229, 154, 0.12);
  color: var(--lx-accent-2);
  margin-bottom: 12px;
}
.feature h3 { font-size: 1.05rem; font-weight: 600; }
.feature p { margin: 8px 0 0; color: var(--lx-muted); font-size: 0.95rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  counter-reset: step;
}
.step {
  padding: 18px;
  border-radius: 22px;
  min-width: 0;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--lx-accent);
  color: #052016;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 12px;
}
.step h3 { font-size: 1rem; }
.step p { margin: 8px 0 0; color: var(--lx-muted); font-size: 0.92rem; overflow-wrap: anywhere; }

.changelog-shell { padding: 8px; border-radius: 28px; }
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 8px 8px 14px;
}
.seg {
  display: flex;
  padding: 4px;
  border-radius: 14px;
  background: #0d1c17;
  border: 1px solid var(--lx-line);
}
.seg button {
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--lx-muted);
  font-size: 13px;
  font-weight: 600;
}
.seg button[aria-pressed="true"] {
  background: var(--lx-accent);
  color: #052016;
}
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--lx-line);
  background: var(--lx-field);
  color: var(--lx-muted);
  font-size: 12px;
  font-weight: 600;
}
.chip[aria-pressed="true"] {
  background: rgba(46, 229, 154, 0.16);
  color: var(--lx-accent-2);
  border-color: rgba(46, 229, 154, 0.4);
}

.feed { display: grid; gap: 10px; padding: 0 6px 8px; }
.release {
  border-radius: 20px;
  background: rgba(5, 12, 10, 0.45);
  border: 1px solid rgba(46, 229, 154, 0.12);
  overflow: hidden;
}
.release[data-kind="upcoming"] {
  border-color: rgba(46, 229, 154, 0.45);
  background: rgba(46, 229, 154, 0.07);
}
.release-toggle {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.release-toggle:hover { background: rgba(46, 229, 154, 0.05); }
.release-head { flex: 1; min-width: 0; }
.release-head h3 { font-size: 0.98rem; font-weight: 600; }
.meta { font-size: 12px; color: var(--lx-muted); margin-top: 4px; }
.kind {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 8px;
}
.kind.beta { background: rgba(80, 140, 220, 0.18); color: #a8d0ff; }
.kind.full { background: var(--lx-accent); color: #052016; }
.kind.pre { background: rgba(255, 196, 90, 0.16); color: #ffd48a; }
.kind.up { background: rgba(46, 229, 154, 0.18); color: var(--lx-accent-2); }
.chev { margin-left: auto; color: var(--lx-muted); transition: transform 0.2s; }
.release.open .chev { transform: rotate(180deg); }
.release-body { display: none; padding: 0 18px 16px; }
.release.open .release-body { display: grid; gap: 14px; }
.cat {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lx-muted);
  margin-bottom: 6px;
  font-weight: 700;
}
.cat-neu { color: var(--lx-accent-2); }
.cat-fix { color: #ffd48a; }
.cat-chg { color: #9fd4ff; }
.cat-sec { color: var(--lx-danger); }
.release-body ul { margin: 0; padding-left: 1.15rem; display: grid; gap: 6px; }
.release-body li { font-size: 0.95rem; }
.ver { color: var(--lx-muted); font-size: 0.85em; }
.status { padding: 28px 16px; text-align: center; color: var(--lx-muted); }
.status.error { color: #ffd48a; }

.cta-wrap { padding-bottom: 48px; }
.cta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border-radius: 28px;
}

.build-banner {
  margin: 4px 0 28px;
  padding: clamp(22px, 4.2vw, 44px) clamp(16px, 3vw, 40px);
  border-radius: 28px;
  text-align: center;
  color: #1a1204;
  background:
    repeating-linear-gradient(
      -12deg,
      #ffd48a 0 18px,
      #ffc45c 18px 36px
    );
  box-shadow: 0 0 0 8px rgba(255, 212, 138, 0.35), var(--shadow);
  animation: banner-pulse 1.7s ease-in-out infinite;
}
.build-banner .tag,
.form-done .tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: #1a1204;
  color: #ffd48a;
}
.build-banner h2 {
  margin: 0 0 10px;
  font-size: clamp(1.85rem, 5.4vw, 3.5rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.build-banner p {
  margin: 0 auto 18px;
  max-width: 46rem;
  font-size: clamp(1.05rem, 2.1vw, 1.28rem);
  font-weight: 600;
}
.build-banner .btn {
  background: #042016;
  color: #ffd48a;
  border: 0;
}
.build-banner .btn:hover { background: #0a2a1c; color: #fff3d4; }

@keyframes banner-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(255, 212, 138, 0.28), var(--shadow); }
  50% { box-shadow: 0 0 0 16px rgba(255, 212, 138, 0.5), var(--shadow); }
}

.contact-card {
  max-width: 820px;
  padding: 22px 22px 24px;
  border-radius: 28px;
}
#contact-form { display: grid; gap: 14px; }
#contact-form[hidden],
.form-done[hidden] { display: none !important; }
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
#contact-form label,
#contact-form .consent {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--lx-muted);
}
#contact-form input,
#contact-form select,
#contact-form textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--lx-line);
  background: var(--lx-field);
  color: var(--lx-ink);
}
#contact-form textarea { resize: vertical; min-height: 140px; }
#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
  outline: 2px solid rgba(46, 229, 154, 0.45);
  outline-offset: 1px;
}
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 212, 138, 0.35);
  background: rgba(255, 212, 138, 0.08);
  color: var(--lx-ink);
  font-weight: 500;
}
.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--lx-accent);
}
.form-note { margin: 0; font-size: 0.86rem; color: var(--lx-muted); }
.form-note a { color: var(--lx-accent-2); text-decoration: underline; text-underline-offset: 3px; }
.form-status { margin: 0; font-size: 0.92rem; color: #ffd48a; }
.form-status.ok { color: var(--lx-accent-2); }
.form-done { text-align: center; padding: 28px 12px; }
.form-done h3 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}
.form-done p { margin: 0; color: var(--lx-muted); }

.legal { padding: 40px 0 80px; max-width: 760px; }
.legal h1 { font-size: 2.2rem; margin-bottom: 12px; }
.legal h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--lx-muted); }
.legal a { color: var(--lx-accent-2); text-decoration: underline; text-underline-offset: 3px; }
.legal address {
  font-style: normal;
  color: var(--lx-ink);
  line-height: 1.7;
}
.legal-note {
  display: inline-block;
  margin: 0 0 16px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 212, 138, 0.45);
  color: #ffd48a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer {
  padding: 28px 0 40px;
  color: var(--lx-muted);
  font-size: 13px;
}
.site-footer .bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 18px;
  border-radius: 20px;
}
.site-footer nav { display: flex; gap: 14px; }

@media (max-width: 1180px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { border-right: 0; border-bottom: 1px solid var(--lx-line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--lx-line); }
  .stat:nth-last-child(-n + 2) { border-bottom: 0; }
  .hero-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .nav-toggle { display: grid; margin-left: auto; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    border-radius: 16px;
    background: #0a1612;
    border: 1px solid var(--lx-line);
    box-shadow: var(--shadow);
    z-index: 60;
  }
  .nav.open { display: flex; }
  .nav .btn-primary { margin-left: 0; height: 42px; }
  .products, .features, .cta, .form-row { grid-template-columns: 1fr; }
  .cta { display: grid; }
  .hero-meta { grid-template-columns: 1fr; }
  .app-body { grid-template-columns: 72px minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--lx-line); }
  .stat:last-child { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .build-banner { animation: none; }
}
