/*
  Ein Stil für alle Seiten von flowshifter.ch.

  Die Einladungsseite trägt ihren eigenen im Kopf: Sie muss auch dann
  stehen, wenn sonst nichts geladen wird — wer sie öffnet, kommt aus einem
  Messenger und soll einen Code sehen, kein ungestyltes Gerüst. Alles
  andere teilt sich diese Datei.
*/
:root {
  --ocean: #0f7a8c;
  --ink: #12303a;
  --muted: #5b7280;
  --ground: #f3f8f9;
  --card: #ffffff;
  --line: #dde8ea;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e6f1f3;
    --muted: #9fb4ba;
    --ground: #0e1b1f;
    --card: #16272c;
    --line: #263c42;
  }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

h1 {
  color: var(--ocean);
  font-size: 1.8rem;
  margin: 0 0 6px;
}

h2 {
  color: var(--ocean);
  font-size: 1.15rem;
  margin: 32px 0 8px;
}

p,
li {
  color: var(--muted);
}

p {
  margin: 0 0 14px;
}

.stand {
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.card {
  background: var(--card);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 18px;
}

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

a:focus-visible {
  outline: 3px solid var(--ocean);
  outline-offset: 2px;
}

nav {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 18px;
  font-size: 0.92rem;
}

nav a {
  margin-right: 16px;
  display: inline-block;
}

/*
  Der Platzhalter für einen Text, den es noch nicht gibt.

  Sichtbar unfertig statt unsichtbar kaputt — dieselbe Haltung wie in der
  App: Eine Seite, die eine Datenschutzerklärung verspricht und einen
  Blindtext zeigt, ist schlimmer als eine, die sagt, dass der Text noch
  kommt.
*/
.offen {
  border: 2px dashed var(--ocean);
  border-radius: 12px;
  padding: 18px;
  color: var(--ink);
}
