/* HashPay legal pages — on-brand static stylesheet.
   These pages ship as plain static HTML from public/, so they can't use the
   Tailwind build the marketing home page is compiled with. This stylesheet
   re-creates that same visual language by hand: brand palette, the Nippo
   display wordmark, Manrope body type, the frosted nav
   and the watermarked footer — so /terms, /privacy and /acceptable-use feel like
   the rest of hashpay.dev rather than a bare template. */

:root {
  --ink: #1a0e3d;
  --brand-950: #170a3d;
  --brand-900: #251160;
  --brand-800: #3a2270;
  --brand-700: #523291;
  --brand-600: #6440b0;
  --brand-300: #b9a9e8;
  --brand-100: #eae6f9;
  --brand-50: #f4f2fc;
  --spark-400: #34e3e3;
  --zinc-600: #52525b;
  --zinc-500: #71717a;
  --zinc-400: #a1a1aa;
  --zinc-200: #e4e4e7;
  --zinc-100: #f4f4f5;
  --bg: #fbfbfd;
  --sans: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Nippo', ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  /* `clip` keeps the off-canvas brand glows below from spilling into a
     horizontal scrollbar without turning the root into a scroll container. */
  overflow-x: clip;
}

body {
  margin: 0;
  position: relative;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
  font-feature-settings: 'cv11', 'ss01';
}

/* Ambient brand glows behind the page head — the same touch the hero uses,
   dialed right down so legal copy stays the focus. */
body::before,
body::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 9999px;
  filter: blur(120px);
  pointer-events: none;
}
body::before {
  top: -180px;
  left: -200px;
  width: 34rem;
  height: 34rem;
  background: rgb(185 169 232 / 0.28); /* brand-300 */
}
body::after {
  top: -80px;
  right: -180px;
  width: 26rem;
  height: 26rem;
  background: rgb(52 227 227 / 0.16); /* spark-400 */
}

::selection { background: rgb(120 86 200 / 0.28); }

a { color: inherit; }

/* ───────────────────────── Nav ───────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgb(228 228 231 / 0.7);
}
.site-nav .wrap {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand svg { height: 32px; width: 32px; display: block; }
.brand .wordmark {
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgb(26 14 61 / 0.7);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-900);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 15px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgb(23 10 61 / 0.06);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.nav-cta:hover {
  background: var(--brand-800);
  box-shadow: 0 30px 80px -20px rgb(120 86 200 / 0.55);
}
@media (max-width: 720px) {
  .nav-links .hide-sm { display: none; }
}

/* ───────────────────────── Page head ───────────────────────── */
main {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 20px 8px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-600);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: var(--brand-300);
}
h1 {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1.07;
  letter-spacing: 0.012em;
  margin: 14px 0 12px;
  color: var(--ink);
}
.updated {
  color: var(--zinc-500);
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.note {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 26px 0 0;
  padding: 14px 16px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--brand-700);
}
.note svg {
  flex: none;
  margin-top: 1px;
  color: var(--brand-600);
}

/* hairline rule between the page head and the body */
.rule {
  height: 1px;
  margin: 36px 0 4px;
  background: linear-gradient(to right, var(--zinc-200), transparent);
  border: 0;
}

/* ───────────────────────── Body content ───────────────────────── */
.content h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 42px 0 10px;
  color: var(--ink);
}
.content p,
.content li { color: var(--zinc-600); font-size: 16px; }
.content p { margin: 0 0 14px; }
.content ul { padding-left: 22px; margin: 4px 0 16px; }
.content li { margin-bottom: 9px; }
.content li::marker { color: var(--brand-300); }
.content strong { color: var(--ink); font-weight: 700; }
a.inline {
  color: var(--brand-600);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgb(100 64 176 / 0.3);
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.inline:hover {
  color: var(--brand-700);
  border-bottom-color: currentColor;
}

/* ───────────────────────── Footer ───────────────────────── */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 72px;
  border-top: 1px solid var(--zinc-200);
  background: #fff;
}
.site-footer .watermark {
  position: absolute;
  right: -3rem;
  bottom: -5rem;
  height: 20rem;
  width: 20rem;
  color: var(--brand-900);
  opacity: 0.035;
  pointer-events: none;
}
.site-footer .wrap {
  position: relative;
  max-width: 1152px;
  margin: 0 auto;
  padding: 40px 20px 14px;
}
.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.foot-brand svg { height: 30px; width: 30px; display: block; }
.foot-brand .wordmark {
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.foot-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--zinc-600);
  text-decoration: none;
  transition: color 0.15s ease;
}
.foot-links a:hover { color: var(--brand-700); }
.foot-links a.current { color: var(--brand-700); }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--zinc-100);
  color: var(--zinc-400);
  font-size: 12px;
}
.foot-bottom .shield {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
