/*
 * Nysse in-app site — hand-written, no build step.
 * Served by nginx from this repo's _site/ directory at https://nysse.mobi/app/.
 */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #1c1e21;
  --muted: #5c6470;
  --rule: #e3e6ea;
  --link: #0b5cab;
  --accent: #0b5cab;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16181c;
    --fg: #e6e8eb;
    --muted: #9aa3af;
    --rule: #2b2f36;
    --link: #7db3ee;
    --accent: #7db3ee;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
}

.wrapper {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

h1 {
  font-size: 1.9rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

h2 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 2.25rem 0 0.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

h3 {
  font-size: 1rem;
  margin: 1.5rem 0 0.4rem;
}

p, ul, ol { margin: 0 0 1rem; }

ul, ol { padding-left: 1.35rem; }

li { margin-bottom: 0.35rem; }

a { color: var(--link); }

a:hover { text-decoration: none; }

.updated {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0 0 2rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--fg);
}

.note {
  border-left: 3px solid var(--accent);
  padding: 0.1rem 0 0.1rem 1rem;
  margin: 1.25rem 0;
  color: var(--muted);
}

.table-scroll { overflow-x: auto; margin: 0 0 1rem; }

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 1px solid var(--rule);
}

th { font-weight: 600; }

.source { margin-bottom: 1.75rem; }

.source h2 {
  border-top: none;
  padding-top: 0;
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.source p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.center { text-align: center; }
