/* PaceMates website — Volt Night (DESIGN-V2.md 2.1). Dark first, light when the phone asks for it. */
:root {
  --bg: #0b0d10; --surface: #15181d; --surface2: #1e232b; --border: #2a303a;
  --text: #f5f7fa; --muted: #9aa3ae; --volt: #c6ff3d; --volt-text: #c6ff3d; --on-volt: #0b0d10;
  --coral: #ff5a36; --violet: #8b6cff; --sky: #3db7ff; --gold: #ffc83d;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #f6f7f9; --surface: #ffffff; --surface2: #eef0f3; --border: #e1e5ea; --text: #0b0d10; --muted: #5b6470; --volt-text: #4e7a00; --coral: #e8431f; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--volt-text); text-underline-offset: 3px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 12px; }
.logo { font-family: Archivo, Inter, system-ui, sans-serif; font-weight: 900; font-size: 24px; color: var(--text); text-decoration: none; white-space: nowrap; letter-spacing: -0.5px; }
.logo span { color: var(--volt-text); }
nav a { color: var(--muted); text-decoration: none; margin-left: 14px; font-weight: 600; font-size: 15px; }
nav a:hover { color: var(--text); }
.hero { padding: 48px 0 32px; }
.hero h1 { font-family: Archivo, Inter, system-ui, sans-serif; font-weight: 900; font-size: clamp(36px, 8vw, 60px); line-height: 1.05; margin: 0 0 16px; letter-spacing: -1px; }
.hero h1 em { font-style: normal; color: var(--volt-text); }
.hero p { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 0 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 14px; background: var(--volt); color: var(--on-volt); font-weight: 700; text-decoration: none; }
.btn.secondary { background: var(--surface2); color: var(--text); border: 1px solid var(--border); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 24px 0 40px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 20px; }
.card h3 { margin: 6px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: var(--surface2); }
.doc { padding: 16px 0 48px; }
.doc h1 { font-family: Archivo, Inter, system-ui, sans-serif; font-weight: 900; font-size: clamp(30px, 6vw, 44px); line-height: 1.1; margin: 16px 0 8px; }
.doc h2 { font-size: 20px; margin: 32px 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 24px; }
.doc li { margin: 4px 0; }
.note { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--volt); border-radius: 14px; padding: 14px 16px; margin: 16px 0; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 12px 0; min-height: 32px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--volt); color: var(--on-volt); font-weight: 800; display: grid; place-items: center; }
footer { border-top: 1px solid var(--border); color: var(--muted); padding: 24px 0 40px; font-size: 14px; }
footer a { color: var(--muted); margin-right: 14px; }
@media (max-width: 420px) { nav a { margin-left: 10px; font-size: 14px; } .logo { font-size: 21px; } }
