:root {
  --bg: #0a1a10;
  --bg-panel: #0f2417;
  --green: #4a9c4f;
  --green-bright: #6fbf6f;
  --white: #f4f7f4;
  --muted: #b9c7bb;
  --border: rgba(255, 255, 255, 0.08);
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
}

a {
  color: var(--green-bright);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.brand .grass {
  color: var(--green-bright);
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 24px;
  font-size: 0.95rem;
}

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

/* Hero */
.hero {
  background: linear-gradient(180deg, #0a1a10 0%, #0d2013 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px 80px;
  text-align: center;
}

.hero-inner img.hero-banner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 32px;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  font-size: 2.6rem;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero h1 .grass {
  color: var(--green-bright);
}

.tagline {
  font-size: 1.3rem;
  color: var(--green-bright);
  font-weight: 600;
  margin: 0 0 20px;
}

.hero p.description {
  max-width: 680px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.98rem;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: #05130a;
}

.btn-disabled {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  cursor: not-allowed;
  position: relative;
}

.btn-disabled .badge {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}

/* Sections */
section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

.section-title {
  text-align: center;
  font-size: 1.9rem;
  margin: 0 0 48px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.feature-card h3 {
  margin: 0 0 10px;
  color: var(--green-bright);
  font-size: 1.15rem;
}

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

/* Screenshots */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.screenshot-item {
  margin: 0;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.screenshot-item img {
  width: 100%;
  height: auto;
}

.screenshot-item figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

/* Footer */
.site-footer {
  padding: 32px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--muted);
  margin: 0 10px;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

/* Static/legal pages */
.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.page-content h1 {
  margin-top: 0;
}

.page-content h2 {
  color: var(--green-bright);
  margin-top: 40px;
}

.page-content p, .page-content li {
  color: var(--muted);
}

.page-content .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: -8px;
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  .site-nav a {
    margin-left: 14px;
    font-size: 0.85rem;
  }
}
