/* Vire – shared styles for landing + legal pages */

:root {
  --bg: #0A0A0A;
  --bg-card: #141414;
  --bg-nav: #111111;
  --text: #E5E5E5;
  --text-muted: #999999;
  --accent: #10B981;
  --accent-dim: #065F46;
  --border: #262626;
  --radius: 12px;
  --max-width: 720px;
  --max-width-wide: 960px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a:hover {
  text-decoration: underline;
}

/* ── Navigation ─────────────────────────────────────────── */

.site-nav {
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav .nav-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-nav .nav-brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}

.site-nav .nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav .nav-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
}

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

/* ── Page container ─────────────────────────────────────── */

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

.page-wide {
  max-width: var(--max-width-wide);
}

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

.page h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.page p {
  margin-bottom: 1rem;
  color: var(--text);
}

.page ul, .page ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page li {
  margin-bottom: 0.4rem;
}

.page-date {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

/* ── Footer ─────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.site-footer .footer-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

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

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

.site-footer .footer-links a:hover {
  color: var(--text);
}

/* ── Landing hero ───────────────────────────────────────── */

.hero {
  text-align: center;
  padding: 5rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
  position: relative;
}

.hero .headline {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1rem;
  position: relative;
}

.hero .subtext {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  position: relative;
}

/* ── Store buttons ──────────────────────────────────────── */

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  position: relative;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: default;
  opacity: 0.7;
  user-select: none;
}

.store-buttons .coming-soon {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  width: 100%;
}

/* ── Feature cards ──────────────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1.5rem;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.feature-card .feature-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero .headline {
    font-size: 1.2rem;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .page h1 {
    font-size: 1.6rem;
  }
}
