:root {
  --bg: #08080c;
  --bg-alt: #0f0f16;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f2f2f7;
  --text-dim: #9a9aa8;
  --accent: #b478ff;
  --accent-dim: rgba(180, 120, 255, 0.14);
  --radius: 12px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== nav ===== */
nav.top {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(8, 8, 12, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10;
}

nav.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  flex-wrap: wrap;
  gap: 8px 0;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.brand .dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.navlinks { display: flex; gap: 22px; font-size: 14px; color: var(--text-dim); flex-wrap: wrap; }
.navlinks a:hover { color: var(--text); }
.navlinks a.active { color: var(--text); }

/* ===== ad slot ===== */
.ad-slot {
  max-width: 728px;
  margin: 36px auto;
  text-align: center;
}
.ad-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.ad-slot ins.adsbygoogle {
  display: block;
  min-height: 90px;
}

/* ===== hero ===== */
.hero {
  padding: 96px 0 56px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(180, 120, 255, 0.3);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}

h1 {
  font-size: 52px;
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.hero p.sub {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto 34px;
  line-height: 1.6;
}

.btnrow { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn.primary { background: var(--accent); color: #14081f; }
.btn.primary:hover { opacity: 0.92; }
.btn.ghost { background: rgba(255,255,255,0.06); color: var(--text); border-color: var(--border); }
.btn.ghost:hover { background: rgba(255,255,255,0.1); }
.btn.block { width: 100%; justify-content: center; }

/* ===== code block ===== */
.codebox {
  margin: 40px auto 0;
  max-width: 640px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
}

.codebox .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
}

.codebox pre {
  margin: 0;
  padding: 18px 16px;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: #c9c2ff;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.copybtn {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 7px;
  cursor: pointer;
}
.copybtn:hover { background: rgba(255,255,255,0.14); }
.copybtn.copied { background: var(--accent); color: #14081f; border-color: transparent; }

/* ===== sections ===== */
section { padding: 64px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { text-align: center; margin-bottom: 44px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: 32px; margin: 0 0 10px; letter-spacing: -0.01em; }
.section-head p { color: var(--text-dim); font-size: 15px; max-width: 480px; margin: 0 auto; }

/* ===== feature grid ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.card h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 0 0 12px;
  text-transform: uppercase;
}

.card ul { margin: 0; padding: 0; list-style: none; }
.card li {
  font-size: 13.5px;
  color: #d3d3de;
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
  margin-bottom: 9px;
}
.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: var(--accent);
}
.card li:last-child { margin-bottom: 0; }
.card li b { color: var(--text); font-weight: 600; }

/* ===== transparency callout ===== */
.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) { .status-grid { grid-template-columns: 1fr; } }

.status-card {
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
}
.status-card.good { background: rgba(120, 220, 160, 0.06); border-color: rgba(120, 220, 160, 0.25); }
.status-card.bad { background: rgba(255, 120, 120, 0.06); border-color: rgba(255, 120, 120, 0.25); }
.status-card h3 { margin: 0 0 10px; font-size: 13px; letter-spacing: 0.04em; }
.status-card.good h3 { color: #7fe0a8; }
.status-card.bad h3 { color: #ff9b9b; }
.status-card p { margin: 0; font-size: 13px; color: var(--text-dim); line-height: 1.6; }

/* ===== footer ===== */
footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 28px 0;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}
footer a:hover { color: var(--accent); }

/* ===== key page ===== */
.keycard {
  max-width: 460px;
  margin: 0 auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
}
.keycard .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 10px;
}
.keycard h3 { margin: 0 0 8px; font-size: 18px; }
.keycard p { margin: 0 0 18px; font-size: 13.5px; color: var(--text-dim); line-height: 1.6; }

.note {
  max-width: 460px;
  margin: 22px auto 0;
  font-size: 12.5px;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.6;
}

/* ===== key reveal ===== */
.keybox {
  max-width: 460px;
  margin: 0 auto;
  background: var(--bg-alt);
  border: 1px solid rgba(180, 120, 255, 0.3);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}
.keybox .value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 8px 0 20px;
}

/* ===== changelog ===== */
.changelog {
  max-width: 640px;
  margin: 0 auto;
  border-left: 2px solid var(--border);
  padding-left: 24px;
}
.changelog-item { position: relative; padding-bottom: 30px; }
.changelog-item:last-child { padding-bottom: 0; }
.changelog-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.changelog-item .date {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}
.changelog-item p { margin: 0; font-size: 14px; color: #d3d3de; line-height: 1.6; }

/* ===== requirement badges ===== */
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.badge {
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.badge.req { color: var(--accent); border-color: rgba(180,120,255,0.3); background: var(--accent-dim); }

/* ===== executor catalog ===== */
.exec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.exec-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.exec-card.tested { border-color: rgba(180,120,255,0.4); background: var(--accent-dim); }
.exec-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.exec-name { font-weight: 700; font-size: 14px; }
.exec-platform { font-size: 10.5px; color: var(--text-dim); border: 1px solid var(--border); border-radius: 6px; padding: 2px 6px; white-space: nowrap; }
.exec-price { font-size: 12.5px; color: var(--text-dim); }
.exec-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 6px;
}
.exec-tag.tested { background: var(--accent); color: #14081f; }

@media (max-width: 640px) {
  h1 { font-size: 36px; }
  .section-head h2 { font-size: 26px; }
  .navlinks { gap: 14px; font-size: 13px; justify-content: center; width: 100%; }
  nav.top .wrap { justify-content: center; text-align: center; }
}
