/* Rift download site — design tokens mirror the app (project CLAUDE.md). */
:root {
  --accent-h: 163; /* emerald */
  --accent: oklch(0.72 0.13 var(--accent-h));
  --accent-hover: oklch(0.78 0.13 var(--accent-h));
  --accent-ink: oklch(0.18 0.04 var(--accent-h));

  --surface-page: oklch(0.142 0.01 var(--accent-h));
  --surface-card: oklch(0.215 0.012 var(--accent-h));
  --surface-well: oklch(0.178 0.011 var(--accent-h));
  --surface-field: oklch(0.25 0.013 var(--accent-h));

  --text: oklch(0.96 0.005 var(--accent-h));
  --text-muted: oklch(0.68 0.01 var(--accent-h));
  --border: oklch(0.3 0.01 var(--accent-h));

  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1040px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--surface-page);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface-page) 92%, black);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.header-nav { display: flex; gap: 22px; }
.header-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.15s ease;
}
.header-nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 96px 0 72px; text-align: center; }
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  font-weight: 750;
}
.hero-sub {
  max-width: 660px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 1.08rem;
}
.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.cta {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 1.02rem;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, transform 0.05s ease;
}
.cta:hover { background: var(--accent-hover); }
.cta:active { transform: translateY(1px); }
.cta-meta { color: var(--text-muted); font-size: 0.88rem; }

/* Features */
.features { padding: 40px 0 88px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 650;
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface-well);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.footer-inner a { text-decoration: none; transition: color 0.15s ease; }
.footer-inner a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 720px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 48px; }
  .header-nav { gap: 16px; }
}
