/* NCG Coat Check: terms and privacy pages. Plain, mobile-first, no web fonts, no scripts. */
:root {
  --accent: #2B2B2E;        /* graphite, the app icon and the RCS agent's accent colour */
  --bg: #FFFFFF;
  --surface: #F4F4F5;
  --text: #1C1C1E;
  --muted: #5E5E64;
  --rule: #E2E2E5;
  --link: #2B2B2E;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161618;
    --surface: #222225;
    --text: #F2F2F4;
    --muted: #A5A5AC;
    --rule: #333338;
    --link: #F2F2F4;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.bar { background: var(--accent); color: #fff; }
.bar-inner, main, footer { max-width: 720px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.bar-inner { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.bar img { width: 44px; height: 44px; border-radius: 10px; flex: none; }
.brand { flex: 1; min-width: 0; line-height: 1.2; }
.brand a { color: inherit; text-decoration: none; }
.brand strong { display: block; font-size: 17px; letter-spacing: .01em; }
.brand span { display: block; font-size: 13px; opacity: .75; }
.lang { display: flex; gap: 2px; font-size: 14px; font-weight: 600; }
.lang a, .lang span {
  color: #fff; text-decoration: none; padding: 6px 10px; border-radius: 8px; min-width: 40px; text-align: center;
}
.lang span { background: rgba(255,255,255,.18); }
.lang a:hover { background: rgba(255,255,255,.1); }

main { padding-top: 28px; padding-bottom: 32px; }
h1 { font-size: 28px; line-height: 1.2; margin: 0 0 6px; letter-spacing: -.01em; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
h2 { font-size: 19px; line-height: 1.3; margin: 32px 0 8px; scroll-margin-top: 16px; }
h3 { font-size: 16px; margin: 20px 0 4px; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
strong { font-weight: 650; }

.summary {
  background: var(--surface); border-radius: 14px; padding: 16px 18px; margin: 0 0 8px;
}
.summary h2 { margin-top: 0; font-size: 17px; }
.summary ul { margin-bottom: 0; }

nav.toc { font-size: 15px; margin: 20px 0 0; }
nav.toc ol { padding-left: 22px; margin: 6px 0 0; columns: 2 220px; column-gap: 24px; }
nav.toc li { margin-bottom: 4px; break-inside: avoid; }

table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 4px 0 14px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--rule); }
th { font-weight: 650; width: 42%; }

.contact { background: var(--surface); border-radius: 14px; padding: 14px 18px; margin: 8px 0 12px; }
.contact p { margin: 0 0 4px; }

.links { list-style: none; padding: 0; margin: 20px 0; }
.links li { margin: 0 0 10px; }
.links a {
  display: block; padding: 16px 18px; border-radius: 14px; background: var(--surface);
  text-decoration: none; font-weight: 600;
}
.links a span { display: block; font-weight: 400; font-size: 15px; color: var(--muted); }

footer { color: var(--muted); font-size: 14px; padding-top: 20px; padding-bottom: 40px; border-top: 1px solid var(--rule); }
footer a { color: inherit; }
footer p { margin: 0 0 6px; }

@media (max-width: 420px) {
  body { font-size: 16px; }
  h1 { font-size: 24px; }
  .brand span { display: none; }
}
@media print {
  :root { --bg: #fff; --text: #000; --muted: #333; --surface: #fff; --link: #000; }
  .bar { background: #fff; color: #000; border-bottom: 1px solid #000; }
  .lang { display: none; }
  .bar img { display: none; }
}
