/* ──────────────────────────────────────────────────────────────
   Marketing nav + footer — dark theme, isolated from page body.
   For pages whose bodies stay on the older light styles.css
   (Help, Privacy, Terms, Cookies, Refund) but need the new
   dark nav + footer for visual consistency with the rest of
   the marketing site.

   Defines ONLY tokens scoped to the nav/footer elements, plus
   the .nav / .footer rules themselves. Does NOT touch html,
   body, *, or any other global so the page body keeps its
   existing light styling.
   ────────────────────────────────────────────────────────── */

.nav, footer {
  --bg: #0a0a0a;
  --s1: #111111;
  --hair: rgba(255,255,255,0.08);
  --hair2: rgba(255,255,255,0.14);
  --ink: #ffffff;
  --inkDim: rgba(255,255,255,0.72);
  --inkMuted: rgba(255,255,255,0.50);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Monaco, monospace;
  --page: 1280px;
  --gutter: 48px;
}

/* Layout */
.nav .container,
footer .container { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }

/* Eyebrow (used in footer column titles) */
.nav .eyebrow,
footer .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--inkMuted);
}

/* Buttons used in the nav */
.nav .btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.005em;
  border: 0; font-family: var(--font);
  transition: transform 0.15s;
  text-decoration: none;
}
.nav .btn-primary { background: var(--ink); color: var(--bg); }
.nav .btn-primary:hover { transform: translateY(-1px); }
.nav .arrow {
  width: 14px; height: 14px;
  stroke: currentColor; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  fill: none;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair);
  font-family: var(--font);
  color: var(--ink);
}
.nav-inner { display: flex; align-items: center; height: 64px; }
.nav-brand { display: flex; align-items: center; gap: 10px; margin-right: 40px; text-decoration: none; }
.nav-brand img { height: 22px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--inkDim); }
.nav-links a { transition: color 0.15s; color: var(--inkDim); text-decoration: none; }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-right .btn-primary { padding: 10px 16px; font-size: 13.5px; }
.nav-signin { font-size: 14px; color: var(--inkDim); text-decoration: none; }
.nav-signin:hover { color: var(--ink); }
@media (max-width: 880px) { .nav-links { display: none; } }

/* Footer */
footer {
  border-top: 1px solid var(--hair);
  padding: 64px 0 40px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  margin-top: 80px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 56px;
}
.footer-brand img { height: 22px; }
.footer-brand p { margin-top: 14px; max-width: 280px; font-size: 13.5px; color: var(--inkMuted); }
.footer-col-title { margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; margin: 0; }
.footer-col a { font-size: 14px; color: var(--inkDim); transition: color 0.15s; text-decoration: none; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--hair);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--inkMuted);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--inkMuted); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--ink); }

@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; } }
