:root {
  --bg: #f9fafb;
  --text: #1f2937;
  --muted: #4b5563;
  --accent: #2563eb;
  --border: #d1d5db;
  --card-bg: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a;
    --text: #f1f5f9;
    --muted: #94a3b8;
    --accent: #3b82f6;
    --border: #1e293b;
    --card-bg: #1e293b;
  }
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding: 1rem;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

/* Hero */
.hero {
  text-align: center;
  margin: 2rem 0;
}

.hero h1 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.tagline {
  color: var(--muted);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

/* Lead paragraph (optional under hero) */
.lead {
  margin: 1rem 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Screenshot & Demo */
.screenshot {
  margin: 1.5rem 0;
  text-align: center;
}

.screenshot img,
.screenshot video {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
}

.hero-demo {
  margin-top: 2rem;
  margin-bottom: 3rem;
}

/* Card */
.card {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: var(--card-bg);
}

/* Features */
.features {
  margin: 3rem 0;
}

.features h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.feature-grid .card {
  text-align: left;
}

/* CTA Section */
.cta {
  text-align: center;
  padding: 2rem;
}

.cta h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Headings */
h3 {
  margin-top: 0;
  font-size: 1.125rem;
}

/* Lists */
ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}

ul li {
  margin: 0.25rem 0;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  margin: 1rem auto 0;
  width: fit-content;
  transition: background 0.2s ease, transform 0.1s ease;
}

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

.btn:active {
  background: #1e40af;
  transform: translateY(0);
}

/* Footer */
footer {
  margin-top: 3rem;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
  padding-bottom: 1rem;
}

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

footer a:hover {
  text-decoration: underline;
}
