/* video-lens site pages: legal, the 404 and the notice form (033 §9.2, §11); the top bar and footer are
   frame.css. Script-free pages: they follow the OS theme (038 D4). The report's own styles are viewer.css. */
/* Colors and fonts come from the tokens stylesheet, linked first: generated from the tokens.css in video-lens viewer. */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
a { color: var(--accent); }
strong { color: var(--strong); }
code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--pane);
  padding: 0.05em 0.3em;
  border-radius: 3px;
}

.page { max-width: 46rem; margin: 0 auto; padding: 0 16px; }
main.page { padding-top: 2rem; }

h1 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.25;
  color: var(--strong);
  margin: 0 0 0.5rem;
}
h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label);
  margin: 2rem 0 0.6rem;
}

/* The button (the notice form's submit). */
.load {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--on-accent);
  border: 0;
  border-radius: 6px;
  padding: 0.7rem 1.2rem;
  cursor: pointer;
}
.load:focus-visible { outline: 3px solid var(--strong); outline-offset: 2px; }

.notfound { min-height: 50vh; }

/* The notice form (/legal/abuse, §11.2) and the legal pages (§11.6). */
.form { display: flex; flex-direction: column; gap: 0.35rem; margin: 1.5rem 0; }
.form label {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--strong);
  margin-top: 0.6rem;
}
.form input, .form select, .form textarea {
  font: inherit;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--muted);
  border-radius: 4px;
  padding: 0.45rem 0.55rem;
  width: 100%;
}
.form textarea { resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.form button { align-self: flex-start; margin-top: 1rem; }
/* The honeypot: off screen, not display:none, so simple bots still fill it. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.error {
  border-left: 3px solid var(--accent);
  padding: 0.3rem 0 0.3rem 0.8rem;
  color: var(--strong);
  font-weight: 600;
}
.small { font-size: 0.85rem; color: var(--muted); }
.legal h2 { margin-top: 2.2rem; }
/* The merged imprint and privacy page: h2 opens each part, h3 its sections. */
.legal h2[id] { font-size: 1.15rem; letter-spacing: 0; text-transform: none; color: var(--strong); margin-top: 2.6rem; }
.legal h3 { font-family: var(--sans); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--label); margin: 1.8rem 0 0.6rem; }
.legal li { margin-bottom: 0.35rem; }
.todo {
  font-family: var(--sans);
  font-size: 0.85rem;
  background: var(--pane);
  border: 1px dashed var(--accent);
  padding: 0.2rem 0.4rem;
}

@media (max-width: 480px) {
  h1 { font-size: 1.3rem; }
}
