:root {
  --bg: #0b0d12;
  --bg-alt: #10131a;
  --card: #161a23;
  --border: #262c38;
  --text: #e8eaf0;
  --text-dim: #9aa3b5;
  --accent: #7c5cff;
  --accent-strong: #9b82ff;
  --accent-contrast: #0b0d12;
  --radius: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: 20px;
}

a { color: var(--accent-strong); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h2 { font-size: 1.8rem; margin-bottom: 1.2em; }

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(11, 13, 18, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}
.logo {
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--text);
}
.logo span { color: var(--accent-strong); }
.nav nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav nav a { color: var(--text-dim); text-decoration: none; font-size: 0.95rem; }
.nav nav a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero { padding-block: 72px 56px; text-align: center; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 780px; margin-inline: auto 0.6em; }
.hero .subheadline { color: var(--text-dim); max-width: 620px; margin: 0 auto 2em; font-size: 1.08rem; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-strong); }
.btn-secondary { background: var(--card); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); }

/* ---------- sections ---------- */
.section { padding-block: 56px; }
.section.alt { background: var(--bg-alt); }
.section h2 { text-align: center; }

/* ---------- download ---------- */
.download-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 20px; }
.download-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.download-card.recommended { border-color: var(--accent); }
.download-card h3 { font-size: 1.1rem; }
.download-card .meta { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 16px; }
.download-card .checksum {
  display: block;
  margin-top: 14px;
  font-size: 0.72rem;
  color: var(--text-dim);
  word-break: break-all;
  background: var(--bg);
  border-radius: 6px;
  padding: 8px 10px;
}
.badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.platform-note, .version-note { text-align: center; color: var(--text-dim); font-size: 0.92rem; }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.feature-card h3 { font-size: 1.05rem; }
.feature-card p { color: var(--text-dim); font-size: 0.93rem; margin: 0; }

/* ---------- screenshots ---------- */
.screenshot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.screenshot { margin: 0; }
.screenshot img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); display: block; }
.screenshot figcaption { color: var(--text-dim); font-size: 0.85rem; margin-top: 8px; }

/* ---------- comparison table ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { color: var(--text-dim); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; }
tbody th { white-space: nowrap; color: var(--text); font-weight: 600; }
td.us { color: var(--text); }
td.them { color: var(--text-dim); }
.honesty-note { color: var(--text-dim); font-size: 0.85rem; margin-top: 18px; font-style: italic; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: start; }
.price-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.price-card.highlight { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.price-card .price { font-size: 2rem; font-weight: 700; margin: 6px 0 4px; }
.price-card .price span { font-size: 0.95rem; color: var(--text-dim); font-weight: 400; }
.price-card .target { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 16px; }
.price-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; }
.price-card li::before { content: "✓ "; color: var(--accent-strong); font-weight: 700; }
.pricing-disclaimer { text-align: center; color: var(--text-dim); font-size: 0.82rem; margin-top: 28px; }

/* ---------- legal ---------- */
.legal-doc { max-width: 760px; margin: 0 auto; color: var(--text-dim); font-size: 0.95rem; }
.legal-doc h2, .legal-doc h3 { color: var(--text); margin-top: 1.4em; }
.legal-doc blockquote { border-left: 3px solid var(--accent); margin: 1em 0; padding-left: 16px; color: var(--text-dim); font-style: italic; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-block: 28px; color: var(--text-dim); font-size: 0.88rem; }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer nav { display: flex; gap: 16px; }
.site-footer a { color: var(--text-dim); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 640px) {
  .hero { padding-block: 48px 40px; }
  .section { padding-block: 40px; }
}
