:root {
  --bg: #060a12;
  --bg-soft: #0d1729;
  --card: #111d34;
  --text: #e7edf7;
  --muted: #9baecd;
  --primary: #3ad3c1;
  --line: #253554;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #173050 0, var(--bg) 45%);
}

a {
  color: inherit;
}

.container {
  width: min(1040px, 90%);
  margin: 0 auto;
}

.topbar {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 11, 20, 0.75);
}

.topbar-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 700;
}

.brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
}

.top-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-nav a {
  text-decoration-color: var(--primary);
  text-underline-offset: 0.18em;
  color: var(--muted);
}

.top-nav a:hover,
.top-nav a.active {
  color: var(--text);
}

.hero {
  padding: 3rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}

.hero-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--line);
}

h1 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0;
}

p {
  color: var(--muted);
}

.section {
  padding: 1.8rem 0 2.2rem;
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: linear-gradient(180deg, rgba(24, 38, 64, 0.9), rgba(17, 28, 49, 0.94));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 1.1rem;
  background: var(--primary);
  color: #032220;
}

.button:hover {
  opacity: 0.92;
}

.button-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.download-list li,
.tutorial-list li {
  margin-bottom: 0.55rem;
  color: var(--muted);
}

@media (max-width: 760px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }
}
