/*
 * Copyright 2026 Mifos Initiative — MPL-2.0. See https://github.com/openMF/mifos-x-open-banking/blob/dev/LICENSE
 * Public root page of the consent relay. Palette from the app's design tokens (primary #266489).
 */
:root {
  color-scheme: light dark;
  --ink: #191c20; --muted: #41474d; --line: #c1c7ce; --surface: #f7f9ff; --panel: #ebeef3; --accent: #266489;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #e0e2e8; --muted: #c1c7ce; --line: #41474d; --surface: #101417; --panel: #1c2024; --accent: #95cdf7; }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--surface); color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 1.0625rem; line-height: 1.6;
}
main { max-width: 42rem; margin: 0 auto; padding: 3rem 1rem 4rem; }
header { border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; margin-bottom: 2rem; }
.product { margin: 0; color: var(--accent); font-weight: 600; }
h1 { font-size: 2rem; line-height: 1.2; margin: .25rem 0 .75rem; letter-spacing: -.01em; }
.lead { margin: 0; font-size: 1.15rem; color: var(--muted); }
section { margin-bottom: 2.25rem; }
h2 { font-size: 1.2rem; margin: 0 0 .5rem; }
p, li, dd { max-width: 70ch; }
ol, ul { padding-left: 1.4rem; }
li { margin: .3rem 0; }
dl { margin: 0; }
dt { font-weight: 600; margin-top: .9rem; }
dd { margin: .15rem 0 0; color: var(--muted); overflow-wrap: anywhere; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em;
  background: var(--panel); padding: .1em .35em; border-radius: 4px; overflow-wrap: anywhere;
}
a { color: var(--accent); text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
footer { border-top: 1px solid var(--line); padding-top: 1.25rem; font-size: .95rem; color: var(--muted); }
