:root {
  --brand: #1a7a3c;
  --brand-dark: #0f5227;
  --brand-light: #eafcef;
  --bg: #f4f6f5;
  --panel-bg: #ffffff;
  --border: #dfe3e0;
  --text: #1c231f;
  --text-muted: #5b665f;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 32px rgba(15, 82, 39, 0.16);
  --radius: 12px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
}

a { color: var(--brand-dark); }

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

/* Top nav */
.nav {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 10;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.brand-link .ball { font-size: 1.4rem; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.nav-cta:hover { background: rgba(255, 255, 255, 0.28); }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--brand-dark) 0%, var(--brand) 60%, #2a9950 100%);
  color: #fff;
  padding: 64px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: 800;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 32px;
  color: #eafcef;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 30px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 44px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .num {
  font-size: 1.8rem;
  font-weight: 800;
  display: block;
}

.hero-stat .label {
  font-size: 0.82rem;
  color: #d6f2de;
}

.screenshot-frame {
  display: block;
  max-width: 900px;
  margin: 52px auto 0;
  background: #2b2f2c;
  border-radius: 14px;
  padding: 10px 10px 0;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.screenshot-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3);
}

.screenshot-bar {
  display: flex;
  gap: 6px;
  padding: 0 4px 10px;
}

.screenshot-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: inline-block;
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px 6px 0 0;
}

/* Ad banner */
.ad-band {
  padding: 28px 0;
  text-align: center;
  background: var(--bg);
}

.ad-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.ad-leaderboard {
  display: inline-block;
  max-width: 728px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ad-leaderboard:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.ad-leaderboard img {
  display: block;
  width: 100%;
  height: auto;
}

/* Sections */
section.block {
  padding: 64px 0;
}

.block h2 {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 0 0 10px;
  color: var(--brand-dark);
}

.block .lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 42px;
  font-size: 1rem;
  line-height: 1.6;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card {
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}

.card .emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  color: var(--text);
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.alt-bg { background: var(--panel-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 46px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.step h3 {
  margin: 2px 0 6px;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.cta-band {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  color: #fff;
  text-align: center;
  padding: 56px 0;
}

.cta-band h2 { color: #fff; }
.cta-band .lead { color: #eafcef; }

footer {
  padding: 28px 0 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

footer a { color: var(--text-muted); text-decoration: underline; }
