/* ===== Reset & Base ===== */

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

:root {
  --color-brand: #8BC34A;
  --color-brand-dark: #6fa032;
  --color-text: #1a1a1a;
  --color-text-secondary: #555;
  --color-bg: #fff;
  --color-bg-subtle: #f8f9fa;
  --color-border: #e5e7eb;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 720px;
}

html {
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* ===== Navigation ===== */

nav {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  font-size: 1.125rem;
}

.nav-brand img {
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--color-brand-dark);
}

/* ===== Main Content ===== */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* ===== Hero (Landing Page) ===== */

.hero {
  text-align: center;
  padding: 2rem 0 3rem;
}

.hero-logo {
  width: 96px;
  height: 96px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0 auto;
}

/* ===== Features ===== */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.feature {
  background: var(--color-bg-subtle);
  border-radius: 12px;
  padding: 1.25rem;
}

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

.feature p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ===== CTA Links ===== */

.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta-row a {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.15s, color 0.15s;
}

.cta-primary {
  background: var(--color-brand);
  color: #fff;
}

.cta-primary:hover {
  background: var(--color-brand-dark);
}

.cta-secondary {
  background: var(--color-bg-subtle);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.cta-secondary:hover {
  border-color: var(--color-brand);
  color: var(--color-brand-dark);
}

/* ===== Prose (Privacy, Terms, Support) ===== */

main h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

main h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

main p {
  margin-bottom: 1rem;
}

main ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

main li {
  margin-bottom: 0.35rem;
}

main a {
  color: var(--color-brand-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

main a:hover {
  color: var(--color-brand);
}

/* ===== Footer ===== */

footer {
  border-top: 1px solid var(--color-border);
  margin-top: 4rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--color-brand-dark);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

/* ===== Responsive ===== */

@media (max-width: 480px) {
  .nav-inner {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

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