/* zest.jetzt — shared styling for the legal / support pages.
   Deliberately one small stylesheet, no build step, no external requests:
   these pages must stay reachable and readable for years. */

:root {
  --bg: #06060f;
  --surface: #10111c;
  --stroke: rgba(255, 255, 255, 0.12);
  --text: #f4f5fb;
  --muted: #a6a8be;
  --brand: #5b8def;
  --maxw: 44rem;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f7fb;
    --surface: #ffffff;
    --stroke: rgba(0, 0, 0, 0.1);
    --text: #10111c;
    --muted: #585a6e;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 1.25rem 5rem;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

header, main, footer { max-width: var(--maxw); margin: 0 auto; }

header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.75rem 0 1.25rem;
  border-bottom: 1px solid var(--stroke);
}

header img { width: 40px; height: 40px; border-radius: 10px; }

header .wordmark {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
}

header nav { margin-left: auto; font-size: 0.9rem; }
header nav a { color: var(--muted); text-decoration: none; margin-left: 1rem; }
header nav a:hover { color: var(--brand); }

main { padding-top: 2rem; }

h1 { font-size: 1.9rem; line-height: 1.25; margin: 0 0 0.5rem; }
h2 { font-size: 1.2rem; margin: 2.25rem 0 0.6rem; }
h3 { font-size: 1rem; margin: 1.5rem 0 0.4rem; }

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

p, li { color: var(--text); }
ul, ol { padding-left: 1.3rem; }
li { margin: 0.35rem 0; }

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

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.94rem;
  display: block;
  overflow-x: auto;
}
th, td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--stroke);
  vertical-align: top;
}
th { color: var(--muted); font-weight: 600; white-space: nowrap; }

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

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

.contact { font-style: normal; line-height: 1.8; }

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stroke);
  color: var(--muted);
  font-size: 0.88rem;
}
footer a { color: var(--muted); margin-right: 1rem; text-decoration: none; }
footer a:hover { color: var(--brand); }

code {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 5px;
  padding: 0.1em 0.35em;
  font-size: 0.9em;
}
