/* Standalone styling for the legal and FAQ pages. These are plain static HTML — no
   React, no router, no JavaScript — so they stay fast and remain readable even if the
   app bundle fails. Colours mirror the night theme of the main site. */

:root {
  --bg: #070c15;
  --bg-elev: #0d1524;
  --ink: #eaf1fa;
  --ink-soft: #9fb1c6;
  --ink-faint: #68798e;
  --accent: #5ab4e8;
  --gold: #fdc202;
  --hairline: rgb(234 241 250 / 0.12);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: min(100% - 2.5rem, 46rem);
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--hairline);
}

header img {
  height: 2.5rem;
  width: auto;
}

a {
  color: var(--accent);
}

h1 {
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 0.75rem;
}

h2 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 0.5rem;
}

p,
li {
  color: var(--ink-soft);
}

.meta {
  color: var(--ink-faint);
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.note {
  border-left: 2px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 2rem 0;
  color: var(--ink-soft);
}

footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
  color: var(--ink-faint);
  font-size: 0.875rem;
}

details {
  border-bottom: 1px solid var(--hairline);
}

summary {
  cursor: pointer;
  padding: 1.15rem 0;
  font-weight: 600;
  color: var(--ink);
}

details p {
  padding-bottom: 1.15rem;
  margin: 0;
}
