﻿:root {
  --bg-0: #06060f;
  --bg-1: #0e0e1a;
  --bg-2: #14141f;
  --bg-3: #1a1a28;
  --bg-4: #20202f;
  --line:   rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.10);

  --txt-0: #f5f5fa;
  --txt-1: #c8c8d6;
  --txt-2: #828296;
  --txt-3: #52526a;

  --accent:      #8b7fff;
  --accent-soft: #6c5ce7;
  --accent-tint: rgba(139, 127, 255, 0.12);
  --accent-line: rgba(139, 127, 255, 0.35);

  --ok:   #14b87a;
  --warn: #f59e0b;
  --err:  #ef4444;

  --radius:    12px;
  --radius-sm: 8px;
  --radius-lg: 22px;

  --max:   1180px;
  --max-r: 900px;   

  --font:
    "Inter", "Segoe UI Variable", "Segoe UI",
    system-ui, -apple-system, sans-serif;
  --mono:
    "JetBrains Mono", "Cascadia Code", Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg-0);
  color: var(--txt-0);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.32), transparent 60%),
    radial-gradient(1px 1px at 24% 62%, rgba(255,255,255,0.18), transparent 60%),
    radial-gradient(1px 1px at 38% 8%,  rgba(255,255,255,0.28), transparent 60%),
    radial-gradient(1px 1px at 51% 91%, rgba(255,255,255,0.22), transparent 60%),
    radial-gradient(1px 1px at 67% 27%, rgba(255,255,255,0.26), transparent 60%),
    radial-gradient(1px 1px at 78% 73%, rgba(255,255,255,0.18), transparent 60%),
    radial-gradient(1px 1px at 88% 14%, rgba(255,255,255,0.30), transparent 60%),
    radial-gradient(1px 1px at 94% 55%, rgba(255,255,255,0.16), transparent 60%),
    radial-gradient(1100px 700px at 0% 0%,   rgba(139,127,255,0.08), transparent 70%),
    radial-gradient(1100px 700px at 100% 100%, rgba(72,199,162,0.04), transparent 70%),
    var(--bg-0);
  background-attachment: fixed;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--txt-0); text-decoration: none; }
a:hover { color: var(--accent); }
p { margin: 0 0 1em; color: var(--txt-1); }
small { color: var(--txt-2); }
hr {
  border: 0; height: 1px;
  background: var(--line);
  margin: 36px 0;
}
::selection { background: rgba(139,127,255,0.32); }


.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(6,6,15,0.72);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--txt-1);
  font-weight: 500;
}
.brand .mark {
  width: 26px; height: 26px;
  background: url('../assets/logo.png') center / contain no-repeat;
  filter: drop-shadow(0 0 12px rgba(139,127,255,0.45));
}
.brand .sub { color: var(--txt-3); font-weight: 400; }
.nav-links {
  display: flex; gap: 4px;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  color: var(--txt-2);
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--txt-0); background: rgba(255,255,255,0.03); }
.nav-links a.active { color: var(--txt-0); background: rgba(255,255,255,0.04); }
.nav-cta {
  margin-left: 8px;
  padding: 8px 14px !important;
  background: linear-gradient(180deg, rgba(139,127,255,0.18), rgba(139,127,255,0.08)) !important;
  border: 1px solid var(--accent-line);
  color: var(--txt-0) !important;
}
.nav-cta:hover { background: linear-gradient(180deg, rgba(139,127,255,0.28), rgba(139,127,255,0.14)) !important; }

.nav-toggle {
  display: none;
  background: transparent; border: 1px solid var(--line);
  color: var(--txt-1);
  width: 36px; height: 36px;
  border-radius: 8px;
  cursor: pointer;
  margin-left: auto;
}
@media (max-width: 820px) {
  .nav .wrap { padding: 12px 16px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    padding: 12px 16px;
    background: rgba(10,10,20,0.96);
    border-bottom: 1px solid var(--line);
    gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 12px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}


.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section.tight { padding: 56px 0; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
  font-weight: 500;
}

h1, h2, h3, h4 { color: var(--txt-0); letter-spacing: -0.015em; font-weight: 600; line-height: 1.1; }
h1 { font-size: clamp(36px, 5vw, 60px); margin: 0 0 18px; }
h1 em { font-style: normal;
  background: linear-gradient(180deg, #d6d0ff 0%, #8b7fff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 14px; }
h3 { font-size: 18px; margin: 0 0 10px; }
.lead { color: var(--txt-1); font-size: 17px; line-height: 1.6; max-width: 660px; }


.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 64px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(closest-side at 30% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(closest-side at 30% 40%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
}

.hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }


.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.04);
  color: var(--txt-0);
  transition: background .15s, border-color .15s, transform .05s;
  text-decoration: none;
}
.btn:hover { background: rgba(255,255,255,0.07); }
.btn:active { transform: translateY(1px); }
.btn.primary {
  background: linear-gradient(180deg, rgba(139,127,255,0.32), rgba(108,92,231,0.18));
  border-color: var(--accent-line);
  color: var(--txt-0);
}
.btn.primary:hover {
  background: linear-gradient(180deg, rgba(139,127,255,0.42), rgba(108,92,231,0.26));
}
.btn.ghost { background: transparent; }
.btn.lg { padding: 13px 22px; font-size: 14.5px; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }


.layer-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
}
.layer-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(420px 200px at 20% 0%, rgba(139,127,255,0.18), transparent 65%),
    radial-gradient(300px 200px at 80% 100%, rgba(72,199,162,0.10), transparent 70%);
  pointer-events: none;
}
.layer-card-inner {
  position: relative;
  display: grid;
  gap: 2px;
}
.layer-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 6px;
  border-top: 1px dashed rgba(255,255,255,0.06);
  font-size: 13px;
}
.layer-row:first-child { border-top: 0; }
.layer-row .n { color: var(--txt-3); font-family: var(--mono); font-size: 11px; }
.layer-row .name { color: var(--txt-0); }
.layer-row .desc { color: var(--txt-2); font-size: 12px; }
.layer-row .tag {
  color: var(--accent);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.layer-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--txt-3);
  font-family: var(--mono);
}


.grid-3 {
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
.grid-2 { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 820px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--line-2); }
.card h3 { margin: 14px 0 6px; font-size: 17px; }
.card p { font-size: 14px; color: var(--txt-2); margin: 0; }
.card .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent-tint);
  border: 1px solid var(--accent-line);
  color: var(--accent);
}


pre, code { font-family: var(--mono); }
code {
  background: rgba(255,255,255,0.05);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  color: #d6d0ff;
}
pre {
  background: #0a0a14;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  overflow-x: auto;
  font-size: 12.5px;
  line-height: 1.6;
  margin: 14px 0 22px;
}
pre code {
  background: transparent; padding: 0; color: #c8c8d6; font-size: inherit;
}
pre .c   { color: #6c7086; font-style: italic; }
pre .k   { color: #b39bff; }
pre .s   { color: #94e2d5; }
pre .n   { color: #f9e2af; }
pre .p   { color: #94d9ff; }
.kbd {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 2px 6px;
  border: 1px solid var(--line-2);
  border-radius: 5px;
  background: rgba(255,255,255,0.04);
  color: var(--txt-1);
}


.form-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
}
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-row label { font-size: 11px; color: var(--txt-2); letter-spacing: 0.06em; text-transform: uppercase; }
.form-row input,
.form-row select,
.form-row textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--txt-0);
  padding: 10px 2px;
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color .15s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--accent); }
.form-row textarea { min-height: 100px; resize: vertical; }
.form-row.checkbox { flex-direction: row; align-items: flex-start; gap: 10px; }
.form-row.checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
  border-radius: 4px;
  border: 1px solid var(--accent-soft, #5b4ee0);
  background: var(--bg-1, #0e0e1a);
  cursor: pointer;
  position: relative;
  transition: background .12s, border-color .12s, box-shadow .12s;
}
.form-row.checkbox input[type="checkbox"]:hover { border-color: var(--accent, #8b7fff); }
.form-row.checkbox input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(139,127,255,0.28);
  border-color: var(--accent, #8b7fff);
}
.form-row.checkbox input[type="checkbox"]:checked {
  background: var(--accent, #8b7fff);
  border-color: var(--accent, #8b7fff);
}
.form-row.checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid #0a0a16;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-row.checkbox label {
  text-transform: none; letter-spacing: 0; font-size: 13px;
  color: var(--txt-1); line-height: 1.45; cursor: pointer;
}
.form-row.checkbox label a { color: var(--accent, #8b7fff); }
.form-row.checkbox label a:hover { text-decoration: underline; }
.form-submit {
  width: 100%;
  padding: 13px 18px;
  border-radius: 10px;
  border: 1px solid var(--accent-line);
  background: linear-gradient(180deg, rgba(139,127,255,0.32), rgba(108,92,231,0.18));
  color: var(--txt-0);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s;
}
.form-submit:hover { background: linear-gradient(180deg, rgba(139,127,255,0.42), rgba(108,92,231,0.26)); }
.form-msg {
  margin-top: 14px; font-size: 13px; padding: 10px 12px;
  border-radius: 8px; display: none;
}
.form-msg.ok  { display: block; background: rgba(20,184,122,0.10); color: #6ee7b7; border: 1px solid rgba(20,184,122,0.30); }
.form-msg.err { display: block; background: rgba(239,68,68,0.10); color: #ff9090; border: 1px solid rgba(239,68,68,0.30); }


.docs {
  display: grid;
  grid-template-columns: 240px minmax(0, var(--max-r));
  gap: 56px;
  padding: 48px 24px 96px;
  max-width: var(--max);
  margin: 0 auto;
}
@media (max-width: 900px) {
  .docs { grid-template-columns: 1fr; gap: 24px; padding: 32px 16px 64px; }
}
.docs-toc {
  position: sticky; top: 80px; align-self: start;
  font-size: 13px;
}
.docs-toc h4 {
  margin: 0 0 8px;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--txt-3); font-weight: 500;
}
.docs-toc a {
  display: block;
  padding: 6px 10px;
  color: var(--txt-2);
  border-left: 2px solid transparent;
  font-size: 13px;
  transition: color .15s, border-color .15s;
}
.docs-toc a:hover { color: var(--txt-0); }
.docs-toc a.active { color: var(--txt-0); border-left-color: var(--accent); background: rgba(139,127,255,0.05); }

.docs-body h2 { scroll-margin-top: 80px; margin-top: 48px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.docs-body h2:first-child { margin-top: 0; }
.docs-body h3 { margin-top: 32px; }
.docs-body p, .docs-body li { font-size: 15px; color: var(--txt-1); }
.docs-body ul, .docs-body ol { padding-left: 22px; }
.docs-body li { margin: 6px 0; }
.docs-body strong { color: var(--txt-0); font-weight: 600; }
.docs-body table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 13.5px; }
.docs-body th, .docs-body td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.docs-body th { background: rgba(255,255,255,0.03); color: var(--txt-0); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.docs-body td { color: var(--txt-1); }

.callout {
  display: flex; gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(139,127,255,0.06);
  border: 1px solid var(--accent-line);
  margin: 18px 0;
  font-size: 14px;
}
.callout .badge {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--accent-tint); color: var(--accent);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
}
.callout.warn { background: rgba(245,158,11,0.06); border-color: rgba(245,158,11,0.35); }
.callout.warn .badge { background: rgba(245,158,11,0.14); color: #f5b961; }


.profile-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
}
@media (max-width: 700px) { .profile-card { grid-template-columns: 1fr; text-align: center; } }
.profile-photo {
  width: 140px; height: 140px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(139,127,255,0.7), rgba(108,92,231,0.15) 70%),
    var(--bg-3);
  border: 1px solid var(--accent-line);
  display: grid; place-items: center;
  color: var(--txt-0); font-size: 42px; font-weight: 600;
  font-family: var(--mono);
  letter-spacing: -0.02em;
  margin: 0 auto;
}
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin: 24px 0;
}
.stat {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.stat .v { font-size: 26px; font-weight: 600; color: var(--txt-0); }
.stat .l { font-size: 12px; color: var(--txt-2); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }


.footer {
  border-top: 1px solid var(--line);
  background: rgba(6,6,15,0.6);
  padding: 36px 24px 28px;
  margin-top: 64px;
}
.footer .wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 820px) { .footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer .wrap { grid-template-columns: 1fr; } }
.footer h5 {
  margin: 0 0 12px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--txt-3); font-weight: 500;
}
.footer a { display: block; padding: 4px 0; color: var(--txt-2); font-size: 13px; }
.footer a:hover { color: var(--txt-0); }
.footer p { font-size: 13px; color: var(--txt-2); margin: 8px 0 0; max-width: 320px; }
.footer-bottom {
  max-width: var(--max);
  margin: 32px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px; color: var(--txt-3);
}
@media (max-width: 600px) { .footer-bottom { flex-direction: column; gap: 8px; } }


.muted { color: var(--txt-2); }
.mono  { font-family: var(--mono); }
.center { text-align: center; }
.gutter { margin-top: 28px; }

.tag-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--txt-1);
}
.tag-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.tag-pill.warn .dot { background: var(--warn); box-shadow: 0 0 8px rgba(245,158,11,0.6); }
.tag-pill.accent { color: var(--accent); border-color: var(--accent-line); background: var(--accent-tint); }
.tag-pill.accent .dot { background: var(--accent); box-shadow: 0 0 8px var(--accent); }


.hero { padding: 120px 0 80px; }
.hero::after {
  content: "";
  position: absolute;
  left: 50%; top: -20%;
  width: 1100px; height: 700px;
  transform: translateX(-60%);
  background:
    radial-gradient(closest-side, rgba(139,127,255,0.22), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(40px, 5.5vw, 68px); line-height: 1.05; }

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
  padding: 16px 0;
}
.trust-strip .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt-3);
}
.trust-strip .label { color: var(--txt-2); }
.trust-strip .item {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--txt-1);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  font-size: 11.5px;
  text-transform: none;
}
.trust-strip .item::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 6px var(--accent);
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p { color: var(--txt-2); margin-top: 12px; font-size: 16px; }

.app-window {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 40px 120px rgba(0,0,0,0.65),
    0 0 0 1px rgba(139,127,255,0.10),
    0 0 80px rgba(139,127,255,0.10);
}
.app-window-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--line);
}
.app-window-bar .dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: #3a3a48;
  border: 1px solid rgba(0,0,0,0.4);
}
.app-window-bar .dot.r { background: #e0586a; }
.app-window-bar .dot.y { background: #e6a64a; }
.app-window-bar .dot.g { background: #3fbd80; }
.app-window-bar .title {
  flex: 1; text-align: center;
  font-size: 11.5px; color: var(--txt-3);
  font-family: var(--mono);
  letter-spacing: 0.08em;
}
.app-window-body { padding: 18px; }

.app-mini {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  min-height: 280px;
}
.app-mini .side {
  display: flex; flex-direction: column;
  gap: 4px;
  padding-right: 14px;
  border-right: 1px solid var(--line);
}
.app-mini .side .nav-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 9px;
  font-size: 11.5px;
  color: var(--txt-2);
  border-radius: 6px;
  font-family: var(--font);
}
.app-mini .side .nav-item.active {
  background: rgba(139,127,255,0.10);
  color: var(--txt-0);
  border: 1px solid var(--accent-line);
}
.app-mini .side .nav-item .ico { width: 10px; height: 10px; border-radius: 3px; background: var(--accent-tint); }
.app-mini .side .nav-item.active .ico { background: var(--accent); }
.app-mini .main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.app-mini .row-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 11.5px;
  color: var(--txt-1);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
}
.app-mini .row-card .kv { color: var(--txt-3); font-family: var(--mono); font-size: 11px; }
.app-mini .row-card .name { color: var(--txt-0); font-size: 12.5px; font-weight: 500; }
.app-mini .pill {
  padding: 3px 9px;
  font-size: 10px;
  border-radius: 999px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-family: var(--mono);
}
.app-mini .pill.ok    { color: #6ee7b7; background: rgba(20,184,122,0.10); border: 1px solid rgba(20,184,122,0.30); }
.app-mini .pill.live  { color: var(--accent); background: rgba(139,127,255,0.10); border: 1px solid var(--accent-line); }
.app-mini .pill.warn  { color: #f5b961; background: rgba(245,158,11,0.10); border: 1px solid rgba(245,158,11,0.30); }

.app-mini .stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 4px;
}
.app-mini .stat-grid > div {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}
.app-mini .stat-grid .v {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--txt-0);
}
.app-mini .stat-grid .v.ok    { color: #6ee7b7; }
.app-mini .stat-grid .v.warn  { color: #f5b961; }
.app-mini .stat-grid .v.err   { color: #ff9090; }
.app-mini .stat-grid .l {
  font-size: 9.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--txt-3);
  margin-top: 2px;
}

@media (max-width: 700px) {
  .app-mini { grid-template-columns: 1fr; }
  .app-mini .side { flex-direction: row; flex-wrap: wrap; padding-right: 0; padding-bottom: 12px; border-right: 0; border-bottom: 1px solid var(--line); }
}

.code-window {
  background: #0a0a14;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
  margin: 14px 0 22px;
}
.code-window-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--line);
}
.code-window-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #3a3a48; }
.code-window-bar .dot.r { background: #e0586a; }
.code-window-bar .dot.y { background: #e6a64a; }
.code-window-bar .dot.g { background: #3fbd80; }
.code-window-bar .title {
  flex: 1; text-align: center;
  font-size: 11px; color: var(--txt-3);
  font-family: var(--mono);
}
.code-window pre {
  margin: 0; border: 0; border-radius: 0;
  background: transparent;
}

.feat-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }

.feat {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 22px 22px;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.feat:hover {
  border-color: var(--accent-line);
  transform: translateY(-2px);
}
.feat::before {
  content: attr(data-n);
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--txt-3);
  letter-spacing: 0.10em;
}
.feat .feat-ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent-tint);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  margin-bottom: 14px;
}
.feat h3 { margin: 0 0 6px; font-size: 17px; color: var(--txt-0); }
.feat p { margin: 0; font-size: 13.5px; color: var(--txt-2); line-height: 1.55; }
.feat .more {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--accent);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.compare {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  border-top: 1px solid var(--line);
}
.compare-row:first-child { border-top: 0; }
.compare-cell {
  padding: 16px 22px;
  font-size: 14px;
  color: var(--txt-1);
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 1px solid var(--line);
}
.compare-cell:first-child { border-left: 0; color: var(--txt-0); }
.compare-head .compare-cell {
  padding: 18px 22px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt-3);
  background: rgba(255,255,255,0.025);
  font-weight: 500;
}
.compare-head .compare-cell.us {
  color: var(--accent);
  background: rgba(139,127,255,0.06);
}
.compare-cell .mark {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
}
.compare-cell .mark.yes { background: rgba(20,184,122,0.16); color: #6ee7b7; }
.compare-cell .mark.no  { background: rgba(239,68,68,0.16); color: #ff9090; }
.compare-row.summary {
  background: rgba(139,127,255,0.04);
  font-size: 11.5px;
  color: var(--txt-3);
}
.compare-row.summary .compare-cell { padding: 12px 22px; }
@media (max-width: 700px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-cell { border-left: 0; border-top: 1px dashed var(--line); }
  .compare-row .compare-cell:first-child { border-top: 0; }
  .compare-head { display: none; }
}

.cta-banner {
  position: relative;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(139,127,255,0.20), transparent 65%),
    radial-gradient(600px 300px at 100% 100%, rgba(72,199,162,0.10), transparent 65%),
    linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--accent-line);
  border-radius: 22px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,0.45);
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, #000, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
  pointer-events: none;
}
.cta-banner > * { position: relative; }
.cta-banner h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 10px; }
.cta-banner p  { margin: 0; color: var(--txt-1); font-size: 15px; max-width: 520px; }
.cta-banner .actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; min-width: 220px; }
@media (max-width: 800px) {
  .cta-banner { grid-template-columns: 1fr; padding: 36px 24px; }
  .cta-banner .actions { align-items: flex-start; }
}

.docs-hero {
  background:
    radial-gradient(500px 240px at 100% 0%, rgba(139,127,255,0.14), transparent 70%),
    var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  margin: 24px 0 8px;
}
.docs-hero h1 { font-size: clamp(28px, 4vw, 40px); }

.hero .hero-actions .btn.lg { padding: 14px 26px; font-size: 15px; }

.section.alt {
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(139,127,255,0.05), transparent 70%),
    rgba(255,255,255,0.015);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lede-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 32px;
  margin: 24px 0 36px;
}
.lede-card .lead { margin-bottom: 0; }

.stat {
  background:
    radial-gradient(200px 80px at 0% 0%, rgba(139,127,255,0.06), transparent 70%),
    var(--bg-2);
}

.demo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; gap: 24px; } }
.demo-grid .form-card {
  position: sticky;
  top: 90px;
}

.lattice-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  border-radius: 18px;
  overflow: hidden;
  background: #04040a;
  border: 1px solid var(--line-2);
  box-shadow:
    0 40px 120px rgba(0,0,0,0.65),
    0 0 0 1px rgba(139,127,255,0.10),
    0 0 100px rgba(139,127,255,0.18);
}
.lattice-hero iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
  background: transparent;
}
.lattice-hero::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 12%);
  border-radius: 18px;
}
@media (max-width: 920px) {
  .lattice-hero { aspect-ratio: 4 / 3; }
}



.code-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  font-family: var(--mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 10px;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.032);
  letter-spacing: 0.01em;
  white-space: pre;
  user-select: none;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 14%,
    #000 86%,
    transparent 100%
  );
          mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 14%,
    #000 86%,
    transparent 100%
  );
}

.code-bg-col {
  position: absolute;
  top: 0;
  width: 30ch;
  will-change: transform;
  animation: code-bg-drift var(--dur, 90s) linear var(--delay, 0s) infinite;
}

.code-bg-col .kw  { color: rgba(192, 184, 255, 0.060); }
.code-bg-col .str { color: rgba(180, 220, 255, 0.052); }
.code-bg-col .com { color: rgba(255, 255, 255, 0.022); }
.code-bg-col .num { color: rgba(255, 220, 180, 0.048); }

@keyframes code-bg-drift {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .code-bg-col { animation: none; }
}

.nav, main, section, footer { position: relative; z-index: 1; }

html.no-code-bg .code-bg { display: none; }



.section            { padding: 56px 0; }
.section.tight      { padding: 32px 0; }
.hero               { padding: 56px 0 40px; }
.hero-grid          { gap: 36px; }
.hero-actions       { gap: 10px; margin-top: 18px; }
hr                  { margin: 22px 0; }
p                   { margin: 0 0 0.85em; }

h1                  { font-size: clamp(30px, 4vw, 46px); margin: 0 0 12px; line-height: 1.08; }
h2                  { font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 10px; }
h3                  { font-size: 16px; margin: 0 0 8px; }
.lead               { font-size: 15.5px; line-height: 1.55; }
.eyebrow            { margin: 0 0 8px; font-size: 10.5px; letter-spacing: 0.24em; }

.nav .wrap          { padding: 11px 24px; }
@media (max-width: 920px) {
  .nav .wrap        { padding: 10px 16px; }
  .section          { padding: 40px 0; }
  .hero             { padding: 40px 0 28px; }
}

.btn                { padding: 9px 15px; font-size: 13px; gap: 7px; border-radius: 9px; }
.btn.lg             { padding: 12px 20px; font-size: 14px; }
.hero .hero-actions .btn.lg { padding: 12px 22px; font-size: 14px; }

.layer-card         { padding: 18px; }
.feat               { padding: 18px; }
.feat-grid          { gap: 14px; }
.compare            { padding: 4px; }
.compare-cell       { padding: 12px 14px; font-size: 13px; }
.code-window pre    { padding: 14px 16px; font-size: 12.5px; line-height: 1.55; }
.app-window-bar     { padding: 9px 12px; }
.lede-card          { padding: 24px; }
.profile-card       { padding: 22px; gap: 18px; }
.stat-row           { gap: 14px; }
.stat               { padding: 18px; }
.cta-banner         { padding: 36px 28px; }
.trust-strip        { padding: 18px 0; gap: 22px; }

.form               { padding: 22px; }
.form-row           { margin-bottom: 14px; }
.form input,
.form select,
.form textarea,
.form-row input,
.form-row select,
.form-row textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: var(--bg-1, #0e0e1a);
  color: var(--txt-0, #ffffff);
  border: 1px solid var(--line-2, rgba(139, 127, 255, 0.18));
  border-radius: 8px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.form input:hover,
.form select:hover,
.form textarea:hover,
.form-row input:hover,
.form-row select:hover,
.form-row textarea:hover {
  border-color: rgba(139, 127, 255, 0.45);
}
.form input:focus,
.form select:focus,
.form textarea:focus,
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--accent, #8b7fff);
  box-shadow: 0 0 0 3px rgba(139, 127, 255, 0.18);
  background: var(--bg-2, #14141f);
}
.form input::placeholder,
.form textarea::placeholder,
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--txt-2, rgba(255, 255, 255, 0.35));
}

.form select,
.form-row select {
  padding-right: 36px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'><path d='M2.5 4.5L6 8l3.5-3.5' stroke='%238b7fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 12px;
}
.form select option,
.form-row select option {
  background: var(--bg-1, #0e0e1a);
  color: var(--txt-0, #ffffff);
}

.footer             { padding: 36px 0 18px; }
.footer .wrap       { gap: 28px; }
.footer-bottom      { padding-top: 18px; margin-top: 22px; font-size: 12px; }



.cookie-banner {
  position: fixed;
  z-index: 90;
  left: 24px;
  right: 24px;
  bottom: 24px;
  margin-left: auto;
  max-width: 540px;
  transform: translateY(140%);
  opacity: 0;
  transition:
    transform 360ms cubic-bezier(.2,.7,.2,1),
    opacity   280ms ease;
  pointer-events: none;
}
.cookie-banner.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(14, 14, 26, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(139, 127, 255, 0.22);
  border-radius: 12px;
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(139, 127, 255, 0.05) inset;
}
.cookie-banner-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  margin-top: 6px;
}
.cookie-banner-body { min-width: 0; }
.cookie-banner-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--txt-0);
  margin: 0 0 4px;
  letter-spacing: 0;
}
.cookie-banner-text {
  font-size: 12px;
  color: var(--txt-2);
  margin: 0;
  line-height: 1.55;
}
.cookie-banner-text a {
  color: var(--accent);
}
.cookie-banner-text a:hover { text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: center;
}
.cookie-banner-ok,
.cookie-banner-no {
  appearance: none;
  border: 1px solid rgba(139, 127, 255, 0.4);
  background: rgba(139, 127, 255, 0.12);
  color: var(--accent);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.cookie-banner-ok:hover {
  background: rgba(139, 127, 255, 0.22);
  border-color: var(--accent);
}
.cookie-banner-no {
  background: transparent;
  border-color: var(--line, rgba(255,255,255,0.10));
  color: var(--txt-2);
}
.cookie-banner-no:hover {
  color: var(--txt-0);
  border-color: rgba(255,255,255,0.25);
}
@media (max-width: 600px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner-inner { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
  .cookie-banner-actions { flex-direction: row; }
  .cookie-banner-ok, .cookie-banner-no { flex: 1; padding: 10px; text-align: center; }
}


.legal-page h1 { margin-bottom: 6px; }
.legal-page .lead { margin-bottom: 22px; }
.legal-page h2 {
  margin-top: 32px;
  font-size: 20px;
  color: var(--txt-0);
}
.legal-page h3 {
  margin-top: 20px;
  font-size: 15px;
  color: var(--txt-0);
}
.legal-page p,
.legal-page li {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--txt-1);
}
.legal-page ul,
.legal-page ol {
  padding-left: 22px;
  margin: 0 0 14px;
}
.legal-page li { margin-bottom: 6px; }
.legal-page .meta {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--txt-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 22px;
  display: inline-block;
}
.legal-page a { color: var(--accent); }
.legal-page a:hover { text-decoration: underline; }


.nav-auth {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav-auth a {
  color: var(--txt-1);
  font-size: 13px;
}
.nav-auth a:hover { color: var(--accent); }
.nav-auth .nav-cta {
  background: var(--accent-tint, rgba(139,127,255,0.12));
  border: 1px solid rgba(139,127,255,0.35);
  color: var(--accent);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}
.nav-auth .nav-cta:hover {
  background: rgba(139,127,255,0.22);
  color: var(--accent);
}
.nav-auth-me {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--txt-2);
  border-left: 1px solid var(--line);
  padding-left: 12px;
}
@media (max-width: 920px) {
  .nav-auth { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
  .nav-auth a { padding: 8px 12px; }
  .nav-auth-me { border-left: 0; padding-left: 12px; }
}


.fb-btn {
  position: fixed;
  z-index: 80;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(14, 14, 26, 0.92);
  color: var(--accent);
  border: 1px solid rgba(139, 127, 255, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}
.fb-btn:hover {
  background: rgba(139, 127, 255, 0.18);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.fb-btn svg { color: var(--accent); }

.fb-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.fb-modal.open { display: flex; }
.fb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 10, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.fb-panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--bg-2, #14141f);
  border: 1px solid rgba(139, 127, 255, 0.25);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: fb-pop 220ms cubic-bezier(.2,.7,.2,1);
}
@keyframes fb-pop {
  from { transform: translateY(8px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0)   scale(1);    opacity: 1; }
}
.fb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.fb-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--txt-0);
}
.fb-x {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--txt-2);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}
.fb-x:hover { color: var(--txt-0); background: rgba(255,255,255,0.06); }
.fb-sub {
  font-size: 12.5px;
  color: var(--txt-2);
  margin: 0 0 14px;
}
.fb-kinds {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.fb-kinds label {
  position: relative;
  cursor: pointer;
}
.fb-kinds input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.fb-kinds span {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--txt-1);
  transition: background 120ms, border-color 120ms, color 120ms;
}
.fb-kinds input:checked + span {
  background: rgba(139, 127, 255, 0.16);
  border-color: var(--accent);
  color: var(--accent);
}
.fb-form textarea,
.fb-form input[type="email"] {
  width: 100%;
  background: var(--bg-1, #0e0e1a);
  color: var(--txt-0);
  border: 1px solid var(--line-2, rgba(139,127,255,0.18));
  border-radius: 8px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  resize: vertical;
  margin-bottom: 10px;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.fb-form textarea:focus,
.fb-form input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 127, 255, 0.18);
}
.fb-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.fb-send {
  appearance: none;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #0b0b18;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 120ms, border-color 120ms, opacity 120ms;
}
.fb-send:hover { background: #a39afe; border-color: #a39afe; }
.fb-send:disabled { opacity: 0.5; cursor: progress; }
.fb-msg {
  font-size: 12px;
  color: var(--txt-2);
  min-height: 16px;
  flex: 1;
}

@media (max-width: 560px) {
  .fb-btn { left: 12px; bottom: 12px; padding: 8px 12px; font-size: 11.5px; }
  .fb-panel { padding: 18px; }
}


.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.dl-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 14px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  transition: border-color 160ms ease, transform 160ms ease;
}
.dl-card:hover { border-color: rgba(139,127,255,0.35); transform: translateY(-2px); }
.dl-card.soon  { opacity: 0.55; }
.dl-card .dl-os {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
.dl-card h3 { font-size: 16px; margin: 4px 0 2px; color: var(--txt-0); }
.dl-card .dl-meta { font-family: var(--mono); font-size: 11.5px; color: var(--txt-2); letter-spacing: 0.04em; }
.dl-card .dl-desc { font-size: 13.5px; color: var(--txt-1); margin: 4px 0 14px; line-height: 1.55; }
.dl-card .dl-go {
  margin-top: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 14px;
  background: var(--accent);
  color: #0b0b18;
  border-radius: 9px;
  font-size: 13px; font-weight: 600;
  border: 1px solid var(--accent);
  transition: background 120ms, border-color 120ms, color 120ms;
}
.dl-card .dl-go:hover { background: #a39afe; border-color: #a39afe; color: #0b0b18; }
.dl-card .dl-go.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(139,127,255,0.45);
}
.dl-card .dl-go.ghost:hover {
  background: rgba(139,127,255,0.14);
}
.dl-card.soon .dl-go {
  background: transparent; color: var(--txt-2); border-color: var(--line);
  cursor: not-allowed; pointer-events: none;
}
.dl-card .dl-buttons {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto;
}
.dl-card .dl-buttons .dl-go { flex: 1; min-width: 120px; }
.dl-sha {
  margin-top: 24px;
  padding: 14px 16px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--txt-2);
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre;
}


.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}
@media (max-width: 760px) {
  .product-grid { grid-template-columns: 1fr; }
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 26px 24px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
  transition: border-color .2s, transform .2s, background .2s;
}
.product-card:hover {
  border-color: var(--accent-soft, #5b4ee0);
  transform: translateY(-2px);
}
.product-mark {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(139,127,255,0.07);
  color: var(--accent, #8b7fff);
}
.product-meta .eyebrow {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--txt-2);
}
.product-meta .eyebrow.new {
  color: #4cd9a4;
  background: rgba(20,184,122,0.10);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(20,184,122,0.30);
}
.product-meta h3 {
  font-size: 24px;
  margin: 8px 0 4px;
  letter-spacing: -0.01em;
}
.product-meta .product-tag {
  font-size: 13.5px;
  color: var(--txt-2);
  margin: 0;
  font-family: var(--mono, ui-monospace, monospace);
}
.product-body {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--txt-1);
  margin: 4px 0 0;
}
.product-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  color: var(--txt-2);
}
.product-bullets li {
  position: relative;
  padding-left: 18px;
}
.product-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent, #8b7fff);
  opacity: 0.55;
}
.product-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.product-card[data-state="locked"] {
  opacity: 0.52;
  filter: grayscale(0.4);
  transition: opacity .25s, filter .25s, border-color .15s, transform .15s;
}
.product-card[data-state="locked"]:hover {
  opacity: 0.85;
  filter: grayscale(0.1);
  border-color: var(--line-2);
  transform: none;
}
.product-card[data-state="locked"] .btn { cursor: default; }
.product-meta .eyebrow.live {
  color: #4cd9a4;
  background: rgba(20,184,122,0.10);
  border: 1px solid rgba(20,184,122,0.30);
  padding: 3px 8px;
  border-radius: 999px;
}
.product-meta .eyebrow.beta {
  color: #ffc869;
  background: rgba(245,158,11,0.10);
  border: 1px solid rgba(245,158,11,0.30);
  padding: 3px 8px;
  border-radius: 999px;
}
.product-meta .eyebrow.soon {
  color: var(--txt-2);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 999px;
}
