:root {
  --bg: #111317;
  --bg2: #16181d;
  --card: #1c1f26;
  --line: #262a32;
  --text: #e6e8eb;
  --muted: #8b919c;
  --green: #3ddc84;
  --green-dark: #2a4a37;
  --purple: #b07cf0;
  --blue: #4f8fd6;
  --radius: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }   /* height:auto keeps screenshots in proportion */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* nav */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(17, 19, 23, .85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
nav { display: flex; align-items: center; gap: 8px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--green); margin-right: auto; }
.brand img { width: 30px; height: 30px; border-radius: 7px; image-rendering: pixelated; }
.brand:hover { text-decoration: none; }
nav .tab { color: var(--muted); padding: 8px 12px; border-radius: 9px; font-weight: 600; font-size: 15px; }
nav .tab:hover { color: var(--text); background: var(--card); text-decoration: none; }
nav .tab.active { color: var(--green); background: #1f2a24; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 11px; font-weight: 700; font-size: 15px;
  border: 1px solid #323743; background: #262a33; color: var(--text);
}
.btn:hover { background: #2e333e; text-decoration: none; }
.btn.primary { background: var(--green); border-color: var(--green); color: #0c1410; }
.btn.primary:hover { background: #5ae69a; }
.btn small { font-weight: 500; opacity: .75; }

/* hero */
.hero { padding: 72px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -1px; }
.hero h1 span { color: var(--green); }
.hero p.lead { color: var(--muted); font-size: 19px; max-width: 680px; margin: 0 auto 28px; }
.downloads { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.downloads .btn.mine { box-shadow: 0 0 0 3px rgba(61, 220, 132, .35); }
.release-note { color: var(--muted); font-size: 14px; margin-top: 12px; }
.shot { margin: 44px auto 0; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }

/* sections */
section { padding: 64px 0; }
section.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: 32px; margin: 0 0 10px; letter-spacing: -.5px; }
.sub { color: var(--muted); margin: 0 0 32px; font-size: 17px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 8px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .icon { font-size: 26px; }

.gallery { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.gallery figure { margin: 0; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45); transition: transform .15s ease, box-shadow .15s ease; }
.gallery a:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.gallery img { width: 100%; aspect-ratio: 1180 / 740; object-fit: cover; }
.gallery figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; text-align: center; }

.split { display: grid; gap: 32px; grid-template-columns: 1.1fr 1fr; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; }
.ticks li { padding: 6px 0 6px 30px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 4px; color: var(--green); font-weight: 800; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 99px; background: #262a33; color: var(--muted); font-size: 13px; margin: 0 6px 6px 0; }

/* social page */
.status { display: flex; align-items: center; gap: 14px; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.up { background: var(--green); box-shadow: 0 0 0 6px rgba(61, 220, 132, .15); }
.dot.down { background: #e0605a; }
.steps { counter-reset: step; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.steps .card::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: #1f2a24; color: var(--green); font-weight: 800;
}
.legend span { display: inline-flex; align-items: center; gap: 6px; margin-right: 16px; color: var(--muted); font-size: 14px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 10px 0 0; }

footer { padding: 36px 0; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }

@media (max-width: 640px) {
  nav .tab.hide-sm { display: none; }
  .brand span { display: none; }
  nav { gap: 4px; }
  nav .tab { padding: 8px 10px; white-space: nowrap; }
  .hero { padding-top: 44px; }
}
