/* Stijl van de privacy- en supportpagina, gelijk aan de app (Nachtradio, hoofdstuk 5.6 van het iOS-plan).
   Donker is de standaard, licht volgt het toestel. Geen externe lettertypen of scripts. */

body {
  color-scheme: dark light;
  --bg: #18181b;
  --surface: #232327;
  --chip: #2c2c31;
  --text: #f3ede2;
  --text-secondary: #b8afa3;
  --accent: #f08a45;
  --accent-on: #18181b;
  --accent-text: #f59a5c;
  --line: rgba(255, 255, 255, .09);
  --glow: rgba(240, 138, 69, .42);
  --radius-panel: 18px;
  --radius-tile: 16px;
  --radius-pill: 999px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media(prefers-color-scheme:light) {
  body {
    --bg: #f6f1e8;
    --surface: #ffffff;
    --chip: #ece5d8;
    --text: #1f1b16;
    --text-secondary: #675c50;
    --accent: #e8742a;
    --accent-on: #1f1b16;
    --accent-text: #a8480f;
    --line: rgba(31, 27, 22, .12);
    --glow: rgba(232, 116, 42, .38);
  }
}

* {
  box-sizing: border-box;
}

body {
  display: block;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
}

.page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  margin-bottom: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--text);
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
}

.app-icon {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 22%;
  box-shadow: 0 0 0 1px var(--line),0 4px 14px var(--glow);
}

nav ul {
  display: flex;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--chip);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.chip[aria-current=page] {
  background: var(--accent);
  color: var(--accent-on);
}

h1 {
  margin: 0 0 .5rem;
  font-size: clamp(2.25rem,8vw,3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.01em;
}

.lead {
  margin: 0 0 2rem;
  color: var(--text-secondary);
  font-size: 1.1875rem;
}

h2 {
  margin: 2.25rem 0 .75rem;
  color: var(--text-secondary);
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h3 {
  margin: 1.25rem 0 .25rem;
  font-size: 1.0625rem;
  font-weight: 800;
}

p {
  margin: 0 0 1rem;
}

.card {
  margin: 0 0 .75rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-panel);
  background: var(--surface);
}

.card > *:last-child {
  margin-bottom: 0;
}

.card h3:first-child {
  margin-top: 0;
}

ul.plain {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

ul.plain li {
  margin-bottom: .4rem;
}

a {
  color: var(--accent-text);
  text-underline-offset: .18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.5rem;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-on);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 18px var(--glow);
}

details {
  margin: 0 0 .75rem;
  border-radius: var(--radius-panel);
  background: var(--surface);
}

summary {
  position: relative;
  display: block;
  min-height: 3.5rem;
  padding: 1rem 3rem 1rem 1.25rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.35rem;
  width: .55rem;
  height: .55rem;
  margin-top: -.4rem;
  border-right: 3px solid var(--accent-text);
  border-bottom: 3px solid var(--accent-text);
  transform: rotate(45deg);
  transition: transform .15s ease;
}

details[open] summary:after {
  margin-top: -.1rem;
  transform: rotate(-135deg);
}

.answer {
  padding: 0 1.25rem 1.1rem;
}

.answer > *:last-child {
  margin-bottom: 0;
}

dl.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: .5rem 1.25rem;
  margin: 0;
}

dl.facts dt {
  color: var(--text-secondary);
}

dl.facts dd {
  margin: 0;
  font-weight: 700;
}

.placeholder {
  padding: .1rem .5rem;
  border-radius: 8px;
  background: var(--chip);
  color: var(--text-secondary);
  font-weight: 700;
}

.os {
  display: inline-block;
  margin-right: .4rem;
  padding: 0 .5rem;
  border-radius: var(--radius-pill);
  background: var(--chip);
  color: var(--text-secondary);
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: .1em;
}

.updated {
  color: var(--text-secondary);
  font-size: .9375rem;
}

footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--text-secondary);
  font-size: .9375rem;
}

footer p {
  margin: 0 0 .25rem;
}

@media(max-width:30rem) {
  dl.facts {
    grid-template-columns: 1fr;
    gap: .1rem;
  }

  dl.facts dd {
    margin-bottom: .6rem;
  }
}

@media(prefers-reduced-motion:reduce) {
  summary:after {
    transition: none;
  }
}
