/* Nishka policy pages. Palette follows the app (NishkaColors). No web fonts
   or third-party requests, so reading the privacy policy is itself private. */
:root {
  color-scheme: light dark;
  --bg: #f6f4ef;
  --surface: #ffffff;
  --border: #e6e2d8;
  --text: #17161a;
  --text-2: #5e5b55;
  --muted: #726f67;
  --gold: #8f6822;
  --measure: 40rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f12;
    --surface: #17171c;
    --border: #2a2a33;
    --text: #f3f0e8;
    --text-2: #b4b0a6;
    --muted: #838076;
    --gold: #d9b26a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 3rem 1.25rem 4rem;
  background: var(--bg);
  color: var(--text);
  font: 500 1rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main { max-width: var(--measure); margin: 0 auto; }

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  color: var(--text);
  text-decoration: none;
  font: 600 1.35rem/1 Georgia, "Times New Roman", serif;
}

.coin {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8cd97, #d9b26a 50%, #a3854f);
  box-shadow: inset 0 0 0 0.3rem transparent;
  position: relative;
}

.coin::after {
  content: "";
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  border: 2px solid rgba(26, 20, 7, 0.55);
}

h1 {
  margin: 0 0 0.5rem;
  font: 700 clamp(1.8rem, 5vw, 2.4rem)/1.15 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 {
  margin: 2.5rem 0 0.5rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

p, li { color: var(--text-2); }
strong { color: var(--text); }

.updated {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.lead { font-size: 1.1rem; }

ul, ol { padding-left: 1.25rem; }
li + li { margin-top: 0.35rem; }

a { color: var(--gold); text-underline-offset: 0.2em; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.card {
  margin: 1.5rem 0;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.card p:first-child, .card ol:first-child { margin-top: 0; }
.card p:last-child, .card ol:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin: 1rem 0; }

table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem 0.6rem 0; border-bottom: 1px solid var(--border); }
th { color: var(--text); font-weight: 600; }
td { color: var(--text-2); }

nav.links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2rem; }

footer {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
