/* netweave shared theme — mirrors the landing's editorial dark system so the
   download/help/support pages match the app + site. */
:root {
  --bg: #060912; --panel: #0e1524; --line: #1b2740; --line2: #2a3650;
  --ink: #eef3fb; --dim: #93a1bd; --faint: #61708e; --accent: #5db8ff;
  --ok: #38e0a6; --danger: #ff5d6c;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
body::before { /* subtle aurora */
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 80% -10%, rgba(93,184,255,0.12), transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgba(56,224,166,0.08), transparent 70%);
}
.wrap { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 0 28px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); font-weight: 360; letter-spacing: -0.015em; line-height: 1.1; }
h1 { font-size: clamp(34px, 6vw, 60px); margin: 0 0 16px; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 14px; }
h3 { font-size: 20px; font-weight: 460; margin: 0 0 8px; }
.muted { color: var(--dim); }
.small { font-size: 13px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--faint); }
.eyebrow::before { content: ''; width: 38px; height: 1px; background: var(--line2); }

/* nav + footer */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.nav .brand { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.nav .brand a { color: var(--ink); }
.nav-links { display: flex; gap: 22px; align-items: center; font-size: 14px; }
.nav-links a { color: var(--dim); }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 40px 0 56px; margin-top: 60px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line2); border-radius: 6px; padding: 12px 20px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; background: transparent; color: var(--ink); transition: all .18s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #04111f; border-color: var(--accent); }
.btn-primary:hover { background: #7cc7ff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn.lg { padding: 15px 26px; font-size: 14px; }
.btn.full { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* cards + layout */
.section { padding: 48px 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.head p { color: var(--dim); }
.card { background: linear-gradient(180deg, var(--panel), var(--bg)); border: 1px solid var(--line2); border-radius: 10px; padding: 24px; }
.grid { display: grid; gap: 16px; }
code, kbd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg); border: 1px solid var(--line2); border-radius: 5px; padding: 2px 7px; font-size: 13px; color: var(--accent); }
pre { background: var(--bg); border: 1px solid var(--line2); border-radius: 8px; padding: 16px; overflow-x: auto; font-size: 13px; line-height: 1.5; }
pre code { background: none; border: none; padding: 0; color: var(--ink); }
.badge { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); border: 1px solid var(--line2); border-radius: 20px; padding: 3px 10px; }
.badge.soon { color: var(--faint); }
.badge.ok { color: var(--ok); border-color: rgba(56,224,166,.4); }
