:root {
  --bg: #0c0f14;
  --surface: #131820;
  --surface-2: #1a212c;
  --text: #e8edf3;
  --muted: #9aa7b8;
  --accent: #f5b83d;
  --accent-2: #ffcf5c;
  --line: #26303e;
  --code-bg: #0a0d12;
  --green: #4ade80;
  --red: #f87171;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent-2); }
a:hover { color: var(--accent); }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88em;
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .1em .35em;
}
pre {
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  overflow-x: auto;
}
pre code { background: none; border: 0; padding: 0; }

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 1024px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
}
.brand img { display: block; }
.version {
  font-size: .75rem;
  font-weight: 600;
  color: #0c0f14;
  background: var(--accent);
  border-radius: 999px;
  padding: .1em .6em;
}
.top nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--text); }

main { max-width: 1024px; margin: 0 auto; padding: 0 1.25rem; }
section { margin: 3.5rem 0; }
h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin: .5rem 0 1rem; }
h2 { font-size: 1.6rem; margin: 0 0 1rem; }
h3 { font-size: 1.1rem; margin: 0 0 .4rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.lede a { color: var(--text); }

.install-box {
  display: flex;
  gap: .5rem;
  align-items: stretch;
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .75rem 1rem;
  margin: 1.5rem 0 .75rem;
}
.install-box code {
  flex: 1;
  background: none;
  border: 0;
  padding: 0;
  overflow-x: auto;
  white-space: nowrap;
  align-self: center;
}
.install-box button {
  background: var(--accent);
  color: #0c0f14;
  border: 0;
  border-radius: 6px;
  padding: .45rem .9rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}
.install-box button:hover { background: var(--accent-2); }
.install-note { color: var(--muted); font-size: .95rem; }

.speed {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0 .75rem;
}
.speed-stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
}
.speed-stat strong { display: block; font-size: 1.7rem; color: var(--accent); }
.speed-stat span { color: var(--muted); font-size: .9rem; }
.fineprint { color: var(--muted); font-size: .9rem; }
.cta-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.btn {
  display: inline-block;
  padding: .7rem 1.3rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: #0c0f14; }
.btn.primary:hover { background: var(--accent-2); }

.grid, .install-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.grid article, .install-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.25rem;
}
.grid article p, .install-grid article p { color: var(--muted); margin: 0; }
.install-grid article pre { margin: .75rem 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: .95rem;
}
th, td {
  text-align: left;
  padding: .65rem .8rem;
  border-bottom: 1px solid var(--line);
}
thead th { color: var(--muted); font-weight: 600; }
tbody th { font-weight: 600; }
td.yes { color: var(--green); }
td.no { color: var(--red); }

.video-placeholder {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--muted);
}
.video-placeholder p { margin: .3rem 0; }
.status {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem;
}
footer {
  max-width: 1024px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}

@media (max-width: 760px) {
  .speed { grid-template-columns: repeat(2, 1fr); }
  .grid, .install-grid { grid-template-columns: 1fr; }
  .top nav { gap: .8rem; font-size: .95rem; }
  .install-box code { white-space: normal; word-break: break-all; }
}
