/* JANDY legal pages — same palette + Auto/Light/Dark as the landing page */
:root {
  --accent: #2a8bdf;
  --bg: #f5f8fc;
  --surface: #ffffff;
  --text: #0f1b2d;
  --muted: #55657a;
  --border: #dbe4ef;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #060b16;
    --surface: #0d1626;
    --text: #e6eef9;
    --muted: #93a4bb;
    --border: #1e2b40;
  }
}
:root[data-theme='dark'] {
  --bg: #060b16;
  --surface: #0d1626;
  --text: #e6eef9;
  --muted: #93a4bb;
  --border: #1e2b40;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.65 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 0 auto;
  padding: 16px;
}
header a.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}
.toggles {
  display: flex;
  gap: 6px;
}
.toggles span {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.toggles button {
  border: 0;
  background: var(--surface);
  color: var(--muted);
  padding: 6px 10px;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}
.toggles button.on {
  background: var(--accent);
  color: #fff;
}
main {
  max-width: 860px;
  margin: 0 auto 48px;
  padding: 24px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
@media (min-width: 900px) {
  main {
    padding: 32px 40px;
  }
}
h1 {
  margin-top: 0;
  line-height: 1.2;
}
h2 {
  margin-top: 1.8em;
  font-size: 1.15rem;
}
.muted {
  color: var(--muted);
}
a {
  color: var(--accent);
}
nav.legal {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 0 auto 32px;
  padding: 0 16px;
  font-size: 0.9rem;
}
html[lang='en'] [lang='fil'],
html[lang='fil'] [lang='en'] {
  display: none;
}
