:root {
  --bg: #050608;
  --panel: #0b0d11;
  --panel-2: #11161d;
  --line: #252d39;
  --text: #f4f7fb;
  --muted: #8b96a6;
  --green: #28d19c;
  --cyan: #55c7ff;
  --warning: #ffcc66;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.shell { min-height: 100vh; overflow: hidden; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(5, 6, 8, .84);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
nav { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--text); }

.hero,
.download-band,
.features,
.install-help,
.feedback-section {
  padding: clamp(54px, 7vw, 108px) clamp(18px, 5vw, 72px);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, 1.2fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(100vh - 74px);
}
.hero-copy { max-width: 680px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(40,209,156,.34);
  border-radius: 999px;
  color: var(--green);
  background: rgba(40,209,156,.08);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 24px 0 18px;
  font-size: clamp(46px, 6vw, 84px);
  line-height: .94;
  letter-spacing: 0;
}
h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1; margin: 18px 0; }
h3 { font-size: 22px; margin-bottom: 10px; }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.55; color: #b8c2d1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 850;
  border: 1px solid transparent;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: linear-gradient(135deg, var(--green), var(--cyan)); color: #04110c; }
.btn.secondary { border-color: var(--line); background: #111720; color: #dce4ee; }
.stats-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); }
.stats-row strong { color: var(--text); font-size: 28px; }
.stats-row .active-now { color: var(--green); }
.stats-row i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.trust-note { color: #a6b0c0; font-size: 14px; line-height: 1.55; margin-top: 20px; }
.hero-shot {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #07090d;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(0,0,0,.45);
}

.section-head { max-width: 760px; margin-bottom: 30px; }
.section-head p { color: var(--muted); font-size: 18px; line-height: 1.55; }
.download-band { background: #080a0e; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.platform-card, .all-files, .feature-list article, .help-grid article, .feedback-form {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}
.platform-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 310px;
  padding: 24px;
}
.platform-card p, .feature-list p, .help-grid li, .feedback-copy p { color: var(--muted); line-height: 1.55; }
.os-badge { color: var(--green); font-size: 13px; font-weight: 850; }
.mini-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; font-size: 14px; }
.mini-links a { color: #dce6f2; border-bottom: 1px solid rgba(85,199,255,.5); }
.all-files { margin-top: 20px; padding: 24px; }
.all-files-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.all-files-head h3 { margin-bottom: 6px; }
.all-files-head p { margin: 0; color: var(--muted); line-height: 1.45; }
code {
  display: inline-block;
  padding: 3px 6px;
  border-radius: 7px;
  background: rgba(255,255,255,.08);
  color: #e8eef6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em;
}
.detect-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(40,209,156,.34);
  color: #d7fff1;
  background: rgba(40,209,156,.12);
  font-size: 13px;
  font-weight: 850;
}
.file-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.file-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #11161d;
  color: #dce4ee;
}
.file-list a.is-ready { border: 1px solid rgba(40,209,156,.22); }
.file-list a.is-missing { border: 1px solid rgba(255,204,102,.20); }
.file-list em { color: var(--muted); font-style: normal; }

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, 1.2fr);
  gap: 24px;
  align-items: center;
}
.feature-list { display: grid; gap: 14px; }
.feature-list article { padding: 22px; }
.feature-shot { border: 1px solid var(--line); border-radius: 24px; background: #07090d; }

.install-help { background: #07090d; }
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.help-grid article { padding: 24px; }
.help-grid ol { padding-left: 20px; margin-bottom: 18px; }
.help-grid a { color: var(--green); font-weight: 800; }

.feedback-section {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(320px, .7fr);
  gap: 28px;
  align-items: start;
}
.feedback-count { color: var(--green) !important; font-weight: 800; }
.feedback-form { padding: 24px; display: grid; gap: 14px; }
label { display: grid; gap: 8px; color: #c8d2df; font-size: 14px; font-weight: 700; }
input, textarea {
  width: 100%;
  border: 1px solid #26303d;
  border-radius: 12px;
  background: #080b10;
  color: var(--text);
  padding: 13px 14px;
  font: inherit;
}
textarea { resize: vertical; }
.form-status { color: var(--muted); min-height: 20px; margin: 0; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
}
footer img { height: 28px; width: auto; }
footer a { color: var(--green); font-weight: 800; }

.readme-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(40,209,156,.18), transparent 36%),
    radial-gradient(circle at 85% 18%, rgba(85,199,255,.14), transparent 34%),
    #050608;
}
.readme-topbar {
  position: relative;
  background: rgba(5, 6, 8, .76);
}
.readme-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 70px) clamp(18px, 5vw, 42px) clamp(42px, 6vw, 82px);
}
.readme-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
}
.readme-copy h1 {
  max-width: 780px;
  margin: 18px 0 16px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: .98;
}
.readme-copy .lead {
  max-width: 800px;
  color: #c3cbd7;
}
.readme-copy .lead strong { color: var(--text); }
.readme-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.readme-trust-grid div,
.readme-card,
.readme-details article {
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px;
  background: rgba(11, 13, 17, .82);
  box-shadow: 0 24px 70px rgba(0,0,0,.25);
}
.readme-trust-grid div {
  padding: 14px 16px;
}
.readme-trust-grid strong {
  display: block;
  margin-bottom: 5px;
  color: #eaf1f8;
  font-size: 14px;
}
.readme-trust-grid span {
  color: #9da8b7;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.readme-card {
  padding: clamp(20px, 4vw, 30px);
  background:
    linear-gradient(145deg, rgba(17,22,29,.96), rgba(7,9,13,.96)),
    var(--panel);
}
.readme-safe-mark {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(40,209,156,.34);
  border-radius: 999px;
  color: #d7fff1;
  background: rgba(40,209,156,.12);
  font-size: 13px;
  font-weight: 850;
}
.readme-file,
.readme-checklist {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #26303d;
  border-radius: 14px;
  background: #0b0f15;
}
.readme-file {
  display: grid;
  gap: 4px;
}
.readme-file strong {
  font-size: 18px;
}
.readme-file span,
.readme-checklist,
.readme-details p,
.readme-steps {
  color: var(--muted);
  line-height: 1.55;
}
.readme-checklist p {
  margin-bottom: 8px;
  color: #e5edf6;
  font-weight: 800;
}
.readme-checklist ul {
  margin: 0;
  padding-left: 20px;
}
.readme-steps {
  margin: 12px 0 0;
  padding-left: 22px;
}
.readme-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.readme-details article {
  padding: 20px;
}
.readme-details h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.18;
}
.readme-support {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 12px;
}
.readme-support a,
.readme-guide,
.readme-feedback-link {
  color: var(--green);
  font-weight: 850;
}
.readme-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.readme-guide,
.readme-feedback-link {
  display: inline-flex;
  margin-top: 14px;
}

@media (max-width: 980px) {
  nav { display: none; }
  .hero, .feature-layout, .feedback-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .platform-grid, .help-grid { grid-template-columns: 1fr; }
  .file-list { grid-template-columns: 1fr; }
  .readme-hero, .readme-details, .readme-trust-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .topbar { padding: 14px 16px; }
  .brand span { font-size: 14px; }
  .hero, .download-band, .features, .install-help, .feedback-section { padding: 42px 16px; }
  h1 { font-size: 44px; }
  .btn { width: 100%; }
  .all-files-head { display: grid; }
  .file-list a { display: grid; }
  .readme-support { display: grid; }
  .readme-copy h1 { font-size: 38px; }
  footer { align-items: flex-start; flex-direction: column; }
}
