/* muni.windgather.systems: a signpost for somebody without the app. Muni's own
   colours (app/src/theme/palette.ts) and fonts, the same as site/index.html.
   Owner, 28 Sep: keep it simple. */
/* THE FONTS ARE SERVED FROM HERE, not from Google Fonts (security audit 9 Oct 2026, finding 40): a hot-linked font sent
   every visitor's address and browser to Google, which the privacy notice does not list. Instrument Sans and Schibsted
   Grotesk are SIL Open Font License fonts (fonts/OFL-*.txt), the Latin and Latin Extended cuts of the same files. */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/instrument-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/instrument-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url(/fonts/schibsted-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url(/fonts/schibsted-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --ground: #F4F1EA;
  --card: #FCFAF4;
  --ink: #23221E;
  --ink-soft: rgba(35, 34, 30, 0.70);
  --rule: rgba(35, 34, 30, 0.12);
  --projects: #8A4F12;
  --projects-fill: #9A5A17;
  --on-accent: #FCFAF4;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ground: #141412;
    --card: #1C1C19;
    --ink: #F1EEE6;
    --ink-soft: rgba(241, 238, 230, 0.72);
    --rule: rgba(241, 238, 230, 0.14);
    --projects: #E0A866;
    --projects-fill: #C67B2C;
    --on-accent: #141412;
  }
}
* { box-sizing: border-box; }
html { height: 100%; }
body {
  min-height: 100%;
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.55 "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 16px;
  padding-block: max(32px, env(safe-area-inset-top)) max(32px, env(safe-area-inset-bottom));
}
main { width: 100%; max-width: 480px; display: grid; gap: 20px; }
.wordmark {
  font: 700 15px/1 "Schibsted Grotesk", system-ui, sans-serif;
  letter-spacing: 0.42em;
  color: var(--ink-soft);
}
h1 {
  margin: 0;
  font: 700 clamp(32px, 8vw, 48px)/1.05 "Schibsted Grotesk", system-ui, sans-serif;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
p { margin: 0; color: var(--ink-soft); }
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 20px;
}
.facts li {
  display: grid;
  grid-template-columns: 5em 1fr;
  gap: 12px;
  padding: 14px 18px;
  align-items: baseline;
}
.facts li + li { border-top: 1px solid var(--rule); }
.facts b { font: 600 15px/1.3 "Schibsted Grotesk", system-ui, sans-serif; color: var(--projects); }
.actions { display: grid; gap: 12px; }
.button {
  display: block;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 20px;
  font: 600 17px/1.2 "Schibsted Grotesk", system-ui, sans-serif;
}
.open { background: var(--projects-fill); color: var(--on-accent); }
.store { background: #000; color: #fff; border: 1px solid var(--rule); }
.store small { display: block; font: 400 12px/1.2 "Instrument Sans", system-ui, sans-serif; opacity: 0.8; }
.note { font-size: 14px; }
.footer-link { font-size: 13px; text-align: center; }
.footer-link a { color: var(--ink-soft); }

/* The privacy notice (privacy.html): a document, not a card. Overrides the
   centred single-card layout above, which a long page of text should not use. */
body.doc {
  display: block;
  padding: max(32px, env(safe-area-inset-top)) 16px max(48px, env(safe-area-inset-bottom));
}
body.doc main { max-width: 640px; margin: 0 auto; gap: 28px; }
body.doc h1 { font-size: clamp(28px, 7vw, 36px); }
body.doc h2 {
  margin: 0 0 4px;
  font: 700 18px/1.3 "Schibsted Grotesk", system-ui, sans-serif;
  color: var(--projects);
}
body.doc section { display: grid; gap: 10px; }
body.doc p { color: var(--ink); }
body.doc .updated { color: var(--ink-soft); font-size: 14px; margin-top: -16px; }
body.doc .processor {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 14px 16px;
  display: grid;
  gap: 4px;
}
body.doc .processor b { font: 600 15px/1.3 "Schibsted Grotesk", system-ui, sans-serif; }
body.doc .processor span { display: block; font-size: 14px; color: var(--ink-soft); }
body.doc a { color: var(--projects); }
body.doc .home-link { font-size: 14px; }
