/* Vindrose — deliberately one small stylesheet, no build step, no framework. */
:root {
  --bg: #0b1f33;
  --surface: #12293f;
  --border: #1e3a54;
  --text: #f2f6fa;
  --muted: #9bb0c4;
  --ok: #4c8fb5;
  --caution: #d9a34a;
  --stop: #d9634a;
  --unverified: #b57edc;
  --max: 44rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0 1.25rem 5rem;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.wrap { max-width: var(--max); margin: 0 auto; }

header { padding: 3.5rem 0 1.5rem; }

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

.rose { width: 22px; height: 22px; }

h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.15; margin: 1rem 0 0.5rem; font-weight: 600; }
h2 { font-size: 1.15rem; margin: 2.5rem 0 0.5rem; font-weight: 600; }
h3 { font-size: 1rem; margin: 1.5rem 0 0.35rem; font-weight: 600; }

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

/* The advisory disclaimer. Above the fold on every page, by design: the app is a
   planning aid and must never be mistaken for an authorisation. */
.disclaimer {
  border-left: 3px solid var(--caution);
  background: var(--surface);
  padding: 0.9rem 1.1rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 2rem;
}
.disclaimer strong { color: var(--text); }

.states { list-style: none; padding: 0; margin: 1rem 0; }
.states li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 3px; margin-top: 0.45rem; flex: none; }
.dot--stop { background: var(--stop); }
.dot--caution { background: var(--caution); }
.dot--unverified { background: var(--unverified); }
.dot--ok { background: var(--ok); }

p, li { color: var(--text); }
p { margin: 0.75rem 0; }
ul { padding-left: 1.2rem; }
li { margin: 0.35rem 0; }

a { color: var(--ok); }
a:hover { color: var(--text); }

.muted { color: var(--muted); font-size: 0.9rem; }
.small { font-size: 0.82rem; color: var(--muted); }

dl { margin: 1rem 0; }
dt { font-weight: 600; margin-top: 1rem; }
dd { margin: 0.25rem 0 0; color: var(--muted); }

table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.9rem; }
th, td { text-align: left; padding: 0.55rem 0.5rem; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; }

code {
  background: var(--surface);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.85em;
}

nav.pages { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.5rem 0 0; font-size: 0.9rem; }

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}
footer a { margin-right: 1rem; }

.lang { float: right; font-size: 0.85rem; }
