*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0f0f0f;
  --surface: #1a1a1a;
  --border: #2a2a2a;
  --text: #e8e8e8;
  --muted: #888;
  --accent: #c8a96e;
  --accent-hover: #dbbf85;
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
}

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

/* ── Nav ── */
header {
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-icon {
  width: 24px;
  height: 24px;
  image-rendering: pixelated;
}

.nav-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

/* ── Hero ── */
main {
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 5rem 0 4rem;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-logo {
  width: 72px;
  height: 72px;
  margin-bottom: 1.5rem;
  border-radius: 16px;
}

.hero-text h1 {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.tagline {
  font-size: 1.15rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-style: italic;
}

.description {
  color: var(--muted);
  font-size: 1rem;
  max-width: 460px;
  margin-bottom: 2rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.download-btn {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.download-btn:hover {
  background: var(--accent);
  color: #0f0f0f;
  transform: translateY(-1px);
}

.website-btn {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.website-btn:hover {
  background: var(--accent);
  color: #0f0f0f;
  transform: translateY(-1px);
}

.hero-image {
  flex: 1;
  min-width: 0;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

/* ── Features ── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2rem 0 5rem;
  border-top: 1px solid var(--border);
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.feature-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.feature h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    gap: 2.5rem;
    padding: 3rem 0 2.5rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .features {
    grid-template-columns: 1fr;
  }
}