/* OMGains — omgains.app
   Shared styles for the marketing + legal pages.
   Palette mirrors the app (src/theme/palettes.ts): dark #0a0a0f,
   purple accent #a855f7, and the "fire" amber #f59e0b. */

:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --surface-2: #18181f;
  --border: #2a2a35;
  --border-light: #1e1e28;
  --text: #f0f0f5;
  --muted: #8a8a9a;
  --dim: #5a5a6a;
  --accent: #a855f7;
  --accent-deep: #7c3aed;
  --pink: #ec4899;
  --amber: #f59e0b;
  --radius: 18px;
  --maxw: 960px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ambient glow behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55% 45% at 50% -8%, rgba(168, 85, 247, 0.22), transparent 70%),
    radial-gradient(40% 40% at 88% 6%, rgba(249, 115, 22, 0.10), transparent 70%);
}

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

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

/* gradient wordmark accent for the "OMG" */
.omg {
  background: linear-gradient(135deg, var(--accent), var(--pink) 55%, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 24px;
}
.brand {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
}
a.brand:hover { text-decoration: none; }
.nav a {
  color: var(--muted);
  margin-left: 22px;
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover { color: var(--text); text-decoration: none; }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 64px 24px 40px; }
.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  margin: 0 auto 28px;
  display: block;
  border: 1px solid var(--border);
  box-shadow: 0 12px 44px rgba(168, 85, 247, 0.35);
}
.hero h1 {
  font-size: clamp(48px, 12vw, 92px);
  line-height: 0.95;
  margin: 0 0 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.tagline {
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

/* ---------- store badges ---------- */
.badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}
.badge small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.coming { color: var(--dim); font-size: 13px; margin-top: 16px; }

/* ---------- feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  padding: 40px 0 56px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
}
.card .ico { font-size: 26px; margin-bottom: 12px; }
.card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 24px 8px; }
.legal h1 {
  font-size: clamp(32px, 7vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.legal .updated { color: var(--dim); font-size: 14px; margin: 0 0 40px; }
.legal .lede { font-size: 18px; color: var(--text); margin: 0 0 32px; }
.legal section { margin-bottom: 28px; }
.legal h2 { font-size: 19px; font-weight: 700; margin: 0 0 8px; color: var(--text); }
.legal p { margin: 0; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--border-light);
  margin-top: 40px;
  padding: 28px 24px 40px;
  text-align: center;
  color: var(--dim);
  font-size: 14px;
}
.site-footer .foot-links { margin-bottom: 8px; }
.site-footer .foot-links a { color: var(--muted); margin: 0 10px; }
