/* Shared styling for the standalone legal pages (privacy, terms).
   Self-contained on purpose: these pages must render correctly even if
   the main stylesheet changes, and they carry none of the app chrome. */

:root {
  --bg: #0d1b2a;
  --bg2: #112030;
  --border: #254060;
  --amber: #f5a623;
  --text: #eef2f7;
  --muted: #7a9ab8;
  --dim: #4a6a88;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.legal-wrap { max-width: 760px; margin: 0 auto; padding: 48px 24px 96px; }

.legal-home {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; margin-bottom: 40px;
}
.legal-home span {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.05rem;
  letter-spacing: .18em; color: var(--amber);
}

h1 {
  font-family: 'Bebas Neue', sans-serif; font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 3rem); letter-spacing: .05em;
  line-height: 1; margin: 0 0 10px; color: var(--text);
}

.legal-updated {
  font-family: 'Barlow Condensed', sans-serif; font-size: .74rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--dim);
  margin: 0 0 12px;
}

.legal-intro {
  color: var(--muted); margin: 0 0 40px; padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

h2 {
  font-family: 'Bebas Neue', sans-serif; font-weight: 400;
  font-size: 1.5rem; letter-spacing: .06em; line-height: 1.1;
  margin: 40px 0 12px; color: var(--amber);
}

h3 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1rem; letter-spacing: .04em;
  margin: 24px 0 6px; color: var(--text);
}

p { margin: 0 0 14px; color: var(--muted); }

ul { margin: 0 0 16px; padding-left: 22px; color: var(--muted); }
li { margin-bottom: 7px; }
li::marker { color: var(--dim); }

strong { color: var(--text); font-weight: 600; }

a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: #ffc04d; }
a:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 2px; }

.legal-callout {
  background: var(--bg2); border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  border-radius: 4px; padding: 18px 22px; margin: 24px 0;
}
.legal-callout p:last-child { margin-bottom: 0; }

.legal-table-wrap { overflow-x: auto; margin: 18px 0; }
table { border-collapse: collapse; width: 100%; min-width: 460px; }
th, td {
  text-align: left; padding: 10px 14px;
  border-bottom: 1px solid var(--border); vertical-align: top;
}
th {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--dim); background: var(--bg2);
}
td { font-size: .93rem; color: var(--muted); }
td:first-child { color: var(--text); }

footer {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--border);
  font-family: 'Barlow Condensed', sans-serif; font-size: .76rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--dim);
}

@media (max-width: 560px) {
  .legal-wrap { padding: 32px 18px 64px; }
  body { font-size: 15px; }
}
