:root {
  --bg: #0f1115;
  --bg-alt: #15181f;
  --card: #1b1f28;
  --border: #2a2f3a;
  --text: #e8eaed;
  --text-muted: #9aa1ac;
  --accent: #f5a623;
  --accent-hover: #ffb84d;
  --font-heading: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  background: rgba(245, 166, 35, 0.12);
  color: var(--accent);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 17, 21, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
}

.brand-icon {
  width: 28px;
  height: 28px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.icon-link {
  display: inline-flex;
  color: var(--text-muted);
}

.icon-link:hover {
  color: var(--text);
}

/* Hero */

.hero {
  padding: 96px 0 72px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(245, 166, 35, 0.12), transparent 60%);
}

.hero-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 28px;
  filter: drop-shadow(0 8px 24px rgba(245, 166, 35, 0.25));
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  max-width: 780px;
  margin: 0 auto 20px;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.button-primary {
  background: var(--accent);
  color: #1a1200;
}

.button-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Why section */

.why {
  padding: 64px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-inner {
  max-width: 760px;
}

.why h2 {
  font-size: 1.7rem;
}

.why p {
  color: var(--text-muted);
}

/* Features */

.features {
  padding: 72px 0;
}

.features h2,
.screenshots h2,
.download h2 {
  text-align: center;
  font-size: 1.7rem;
  margin-bottom: 40px;
}

.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: 12px;
  padding: 24px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Screenshots */

.screenshots {
  padding: 0 0 72px;
  text-align: center;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  text-align: left;
}

.screenshot-grid figure {
  margin: 0;
}

.screenshot-grid img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.screenshot-grid figcaption {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
}

/* Download */

.download {
  padding: 72px 0 88px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  text-align: center;
}

.download-inner {
  max-width: 640px;
}

.download-version {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.requirements {
  text-align: left;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 36px 0 0;
  padding-left: 20px;
}

.requirements li {
  margin-bottom: 8px;
}

.requirements strong {
  color: var(--text);
}

/* Footer */

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-inner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

@media (max-width: 640px) {
  .site-nav {
    gap: 16px;
  }

  .hero {
    padding: 72px 0 56px;
  }
}
