:root {
  --bg: #0a1a18;
  --surface: #122220;
  --surface2: #1a2e2c;
  --border: #2a4542;
  --teal: #1a9c8a;
  --teal-light: #22b89e;
  --text: #f2f7f6;
  --muted: #709790;
  --amber: #f59e0b;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

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

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-light); }

/* ── Nav ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.nav-logo svg { width: 28px; height: 28px; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.1s;
  text-decoration: none;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--teal); color: #fff; }
.btn-secondary { background: var(--surface2); color: var(--text); border: 1px solid var(--border); }
.btn-large { padding: 16px 32px; font-size: 17px; border-radius: 16px; }

/* ── Hero ── */
.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

h1 span { color: var(--teal); }

.hero p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Feature grid ── */
.features {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Content page (privacy, terms, support) ── */
.content-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.content-page h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: left;
}

.content-page .updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.content-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--text);
}

.content-page h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--text);
}

.content-page p {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.content-page ul, .content-page ol {
  padding-left: 20px;
  color: var(--muted);
  margin-bottom: 16px;
}

.content-page li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.content-page a { color: var(--teal); }

.content-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* ── Support cards ── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.support-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.support-card p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }

/* ── Join / invite page ── */
.join-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}

.join-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  max-width: 440px;
  width: 100%;
}

.join-emoji { font-size: 48px; margin-bottom: 16px; display: block; }

.join-card h1 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
}

.join-card .from {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
}

.join-card .from strong { color: var(--text); }

.join-actions { display: flex; flex-direction: column; gap: 12px; }

.join-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

.footer-copy { color: var(--muted); font-size: 13px; }

/* ── Responsive ── */
@media (max-width: 600px) {
  nav { padding: 16px 20px; }
  .nav-links { gap: 16px; }
  footer { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
  .hero { padding: 60px 20px 40px; }
  .features { padding: 20px 20px 60px; }
  .content-page { padding: 40px 20px 60px; }
}
