:root {
  color-scheme: light dark;
  --bg: #0c1412;
  --bg-elevated: #15201c;
  --surface: #1a2823;
  --text: #e8f2ef;
  --muted: #9bb5ac;
  --primary: #2dd4bf;
  --primary-dim: #0f766e;
  --border: rgba(45, 212, 191, 0.18);
  --radius: 16px;
  --max: 720px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4faf8;
    --bg-elevated: #ffffff;
    --surface: #e8f5f1;
    --text: #0f1f1b;
    --muted: #4a635c;
    --primary: #0f766e;
    --primary-dim: #115e59;
    --border: rgba(15, 118, 110, 0.15);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

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

.nav-brand:hover {
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: block;
  flex-shrink: 0;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
}

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

/* Hero */
.hero {
  text-align: center;
  padding: 2.5rem 0 3rem;
}

.hero-logo {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin: 0 auto 1.25rem;
  display: block;
  box-shadow: 0 12px 32px rgba(15, 118, 110, 0.28);
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.tagline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 0.5rem;
}

.subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 2rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: #042f2e;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* Features */
.features {
  display: grid;
  gap: 1rem;
  margin: 0 0 3rem;
}

@media (min-width: 560px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

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

/* Page content (privacy / support) */
.page {
  padding-bottom: 3rem;
}

.page h1 {
  font-size: 1.85rem;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.page h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.6rem;
  color: var(--primary);
}

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

.page ul {
  padding-left: 1.25rem;
}

.page .card {
  margin: 1.5rem 0;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

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

.footer a {
  color: var(--muted);
}

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