/* Shared styling for the legal pages (agreement 25). Light mode, brand colours from index.html. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue: #38629f;
  --lime: #8fa500;
  --text: #0f172a;
  --muted: #54607a;
  --border: rgba(15,23,42,0.1);
  --bg: #ffffff;
  --surface: #f6f7fb;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.65;
}
a { color: var(--blue); }
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem; display: flex; align-items: center; justify-content: space-between;
  height: 60px; gap: 1rem; flex-wrap: wrap;
}
nav .home { font-weight: 700; color: var(--blue); text-decoration: none; }
nav .langs { display: flex; gap: .75rem; font-size: .9rem; }
nav .langs a[aria-current="true"] { font-weight: 700; text-decoration: underline; }
main { max-width: 46rem; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
h1 { font-size: 1.9rem; line-height: 1.25; margin-bottom: .4rem; }
h2 { font-size: 1.15rem; margin: 2.2rem 0 .6rem; color: var(--blue); }
h3 { font-size: 1rem; margin: 1.4rem 0 .4rem; }
p, ul, ol { margin-bottom: .9rem; }
ul, ol { padding-left: 1.3rem; }
li { margin-bottom: .3rem; }
.meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.note {
  background: var(--surface); border-left: 3px solid var(--lime);
  padding: .9rem 1.1rem; margin: 1.4rem 0; font-size: .95rem;
}
.note strong { color: var(--text); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-bottom: 1.2rem; }
th, td { border: 1px solid var(--border); padding: .55rem .65rem; text-align: left; vertical-align: top; }
th { background: var(--surface); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.voices { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.2rem 0 .4rem; }
.voices button {
  font: inherit; font-size: .9rem; cursor: pointer;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: 999px; padding: .35rem .9rem;
}
.voices button[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.binding { font-size: .9rem; color: var(--muted); margin-bottom: 1.4rem; }
footer {
  border-top: 1px solid var(--border); background: var(--surface);
  padding: 1.6rem 1.25rem; font-size: .88rem; color: var(--muted);
}
footer .inner { max-width: 46rem; margin: 0 auto; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; justify-content: space-between; }
@media (max-width: 640px) { nav { padding: 0 1rem; } h1 { font-size: 1.5rem; } }
