/* Eine Seite, die auf dem Telefon gelesen wird: Apple verlinkt sie aus dem
   Store, und der Store ist eine App. Deshalb eine Spalte, grosse Zeilenhoehe
   und keine Navigation, die man treffen muesste. */

:root {
  --ground: #0e1526;
  --accent: #e8890c;
  --text: #1c1f26;
  --muted: #5b6270;
  --line: #e3e6ec;
  --card: #f7f8fa;
  --bg: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #eceef2;
    --muted: #a0a7b4;
    --line: #2a3040;
    --card: #171c28;
    --bg: #0e1219;
    --accent: #ffb340;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 20px 80px;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main { max-width: 44rem; margin: 0 auto; }

header {
  text-align: center;
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

/* Das Icon nachgezeichnet statt als PNG eingebunden: drei Balken und ein
   Blitz sind vier Kaesten, und ein Bild waere ein zweiter Ort, an dem das
   Icon gepflegt werden muesste. */
.app-icon {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  background: var(--ground);
  border-radius: 22px;
  overflow: hidden;
}

.app-icon .bar {
  position: absolute;
  bottom: 20px;
  width: 14px;
  background: #f2f5fa;
  border-radius: 3px;
}

.bar-1 { left: 14px; height: 20px; }
.bar-2 { left: 34px; height: 34px; }
.bar-3 { left: 54px; height: 50px; }

.bolt {
  position: absolute;
  top: 16px;
  left: 32px;
  width: 26px;
  height: 52px;
  background: var(--accent);
  clip-path: polygon(62% 0, 6% 56%, 44% 56%, 26% 100%, 92% 40%, 52% 40%);
}

h1 {
  font-size: 2.1rem;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

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

section { margin-bottom: 56px; }

h2 {
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  padding-top: 12px;
}

h3 {
  font-size: 1.08rem;
  margin: 32px 0 6px;
}

p, ul { margin: 0 0 14px; }

ul { padding-left: 22px; }
li { margin-bottom: 10px; }

/* Der erste Satz jedes Abschnitts, hervorgehoben: Wer die Seite aus dem Store
   heraus oeffnet, sucht meist genau eine Antwort und liest nicht von oben. */
.tldr {
  background: var(--card);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 20px;
  font-weight: 500;
}

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

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

em { font-style: normal; color: var(--muted); }

strong { font-weight: 600; }

footer {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
