/* Rocket Push site. One night-sky look shared with the app. */
:root {
  --deep: #070B22;
  --navy: #0B1230;
  --panel: #131C45;
  --line: rgba(255, 244, 224, 0.12);
  --ink: #FFF4E0;
  --muted: #B9C3E8;
  --orange: #FF6B35;
  --orange-dk: #B8431A;
  --gold: #FFC23D;
  --green: #7FE0AE;
  --sky: #3B78D8;
  --display: "Bungee", "Rubik", system-ui, sans-serif;
  --body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--gold); }
a:hover { color: #FFD873; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: 0.5px; line-height: 1.02; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: rgba(7, 11, 34, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 21;
  background: var(--deep);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 18px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { color: var(--orange); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta { color: var(--navy); background: var(--orange); padding: 9px 16px; border-radius: 12px; font-weight: 700; }
.nav .nav-cta:hover { color: var(--navy); background: #FF8256; }
@media (max-width: 640px) { .nav a:not(.nav-cta) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 26px; border-radius: 18px; border: none; cursor: pointer;
  font-family: var(--display); font-size: 18px; letter-spacing: 1px; text-decoration: none;
  color: var(--navy); background: var(--orange); box-shadow: 0 6px 0 var(--orange-dk);
  transition: transform 0.08s, box-shadow 0.08s;
}
.btn:hover { color: var(--navy); background: #FF8256; }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--orange-dk); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: none; border: 2px solid rgba(255, 244, 224, 0.3); font-family: var(--body); font-weight: 600; letter-spacing: 0; font-size: 16px; }
.btn.ghost:hover { border-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--deep); padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: var(--ink); }
.site-footer small { color: #8F9BC8; font-size: 14px; }

/* ---------- Document pages (privacy, support) ---------- */
.doc { padding-block: 56px 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(34px, 6vw, 48px); margin-bottom: 10px; }
.doc h2 { font-family: var(--body); font-weight: 700; font-size: 22px; letter-spacing: 0; margin: 36px 0 10px; }
.doc p, .doc li { color: #DCE2F7; max-width: 65ch; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; margin: 10px 0 0; }
.doc li + li { margin-top: 6px; }
.note {
  margin-top: 20px; padding: 14px 16px; border-radius: 14px;
  background: rgba(255, 194, 61, 0.1); border: 1px solid rgba(255, 194, 61, 0.35);
  color: #FFE3A3; font-size: 15px;
}
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style-position: outside; }
.faq details p { margin-top: 10px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
