/* AIQuorum marketing site — monochrome, matching the app (black/white/grey,
   thin, slick). No frameworks, no JS. */

:root {
  --bg: #0a0a0f;
  --bg-raised: #14141a;
  --fg: #f4f4f5;
  --muted: #a1a1aa;
  --faint: #71717a;
  --line: #26262e;
  --radius: 16px;
  --maxw: 960px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ─────────────────────────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  font-size: 18px;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--fg); }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 72px 0 56px;
}
.hero-icon {
  width: 132px;
  height: 132px;
  border-radius: 28px;
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(0, 0, 0, 0.6);
  margin-bottom: 32px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  font-weight: 700;
}
.hero .lede {
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 36px;
}

/* ── Store buttons ──────────────────────────────────────────────────── */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-raised);
  color: var(--fg);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease,
    background 0.15s ease;
}
.store-btn:hover {
  border-color: #3f3f4a;
  background: #1b1b22;
  transform: translateY(-1px);
}
.store-btn svg { width: 26px; height: 26px; flex: none; fill: var(--fg); }
.store-btn .txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn .small { font-size: 11px; color: var(--muted); letter-spacing: 0.02em; }
.store-btn .big { font-size: 17px; font-weight: 600; }

/* ── Sections ───────────────────────────────────────────────────────── */
section { padding: 56px 0; }
.section-divider { border-top: 1px solid var(--line); }
h2 {
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-weight: 700;
}
.section-lede { color: var(--muted); max-width: 680px; margin: 0 0 36px; font-size: 17px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card .step-num {
  font-size: 13px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.card h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ── Privacy / prose pages ──────────────────────────────────────────── */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 0;
}
.prose h1 { font-size: clamp(30px, 5vw, 42px); letter-spacing: -0.02em; margin: 0 0 6px; }
.prose .updated { color: var(--faint); font-size: 14px; margin-bottom: 36px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--fg); font-weight: 600; }
.prose a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  margin-top: 24px;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-footer, .site-footer a { color: var(--faint); font-size: 14px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--muted); }
.footer-links { display: flex; gap: 22px; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .steps, .feature-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  section { padding: 44px 0; }
}
