/* Landing page for sntio.org — static HTML, no build step (same approach as blog/).
   Tokens mirror frontend/src/styles.css: Material 3 seed green #1B5E20 from the Android app,
   12px card corners, stadium buttons, flat elevation, system fonts. Keep the two in sync. */

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

:root {
  color-scheme: light dark;
  --bg: #faf9f7;
  --surface: #ffffff;
  --border: #e2e0dc;
  --text: #1c1b1a;
  --text-muted: #6b6864;
  --accent: #1b5e20;
  --accent-soft: #e2f0e4;
  --accent-strong: #1b5e20;
  --on-accent: #ffffff;
  --radius-md: 12px;
  --radius-pill: 999px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171614;
    --surface: #211f1d;
    --border: #38352f;
    --text: #ece9e4;
    --text-muted: #a29d95;
    --accent: #8fd4a8;
    --accent-soft: #1f3226;
    --accent-strong: #2f6b4f;
    --on-accent: #ffffff;
  }
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 1rem; }

nav { border-bottom: 1px solid var(--border); padding: 0.875rem 0; }
.nav-content { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1.25rem; font-weight: 700; color: var(--accent); text-decoration: none; white-space: nowrap; }
.nav-links { display: flex; gap: 1.25rem; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; }
.nav-links a:hover { color: var(--accent); }

.hero { padding: 4.5rem 0 3rem; text-align: center; }
.hero .mark { margin-bottom: 1.25rem; }
.hero h1 { font-size: 2.75rem; line-height: 1.2; max-width: 760px; margin: 0 auto 1rem; }
.hero p { font-size: 1.25rem; color: var(--text-muted); max-width: 640px; margin: 0 auto 2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}
.btn-primary { background: var(--accent-strong); color: var(--on-accent); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-secondary { color: var(--accent); border: 1px solid var(--border); background: var(--surface); }
.btn-secondary:hover { border-color: var(--accent); }
.hero-note { font-size: 0.875rem; color: var(--text-muted); margin-top: 1rem; }

.section { padding: 2.5rem 0; }
.section > .container > h2 { font-size: 1.5rem; margin-bottom: 0.375rem; }
.section-sub { color: var(--text-muted); margin-bottom: 1.75rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.card h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; font-weight: 600; }
.card p { font-size: 0.9375rem; color: var(--text-muted); }

a.card { display: flex; flex-direction: column; gap: 0.625rem; text-decoration: none; }
a.card:hover { border-color: var(--accent); }
a.card h3 { color: var(--text); }
a.card p { flex: 1; }
.post-tag { font-size: 0.75rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; }
.post-meta { font-size: 0.8125rem; color: var(--text-muted); }
.all-posts { display: inline-block; margin-top: 1.25rem; color: var(--accent); text-decoration: none; font-weight: 500; }
.all-posts:hover { text-decoration: underline; }

.coming-soon {
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  text-align: center;
}
.coming-soon h2 { font-size: 1.375rem; margin-bottom: 0.5rem; }
.coming-soon p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.coming-soon p a { color: var(--accent); }

footer { border-top: 1px solid var(--border); padding: 2rem 0; text-align: center; color: var(--text-muted); font-size: 0.875rem; margin-top: 2.5rem; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-bottom: 1rem; }
.footer-nav a { color: var(--text-muted); text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }

@media (max-width: 768px) {
  .hero { padding: 3rem 0 2.25rem; }
  .hero h1 { font-size: 2rem; }
  .cards { grid-template-columns: 1fr; }
}
