:root {
  --bg: #f2f2f7; --card: #ffffff; --text: #111111; --muted: #6c6c70; --brand: #ffd60a; --on-brand: #111111; --star: #c99400; --line: #dedee3;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #000000; --card: #1c1c1e; --text: #ffffff; --muted: #98989f; --star: #ffd60a; --line: #38383a; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
main { max-width: 720px; margin: 0 auto; padding: 40px 20px 64px; }
h1, h2, .brand { font-family: ui-rounded, -apple-system, "SF Pro Rounded", sans-serif; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: 40px; line-height: 1.1; margin: 16px 0 8px; }
h2 { font-size: 24px; margin: 36px 0 8px; }
p, li { color: var(--text); }
.muted { color: var(--muted); }
a { color: inherit; text-decoration-color: var(--star); text-underline-offset: 3px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
header a.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; text-decoration: none; }
header img { width: 40px; height: 40px; border-radius: 10px; }
nav a { margin-left: 16px; font-weight: 600; text-decoration: none; color: var(--muted); }
.hero { text-align: center; padding: 32px 0 8px; }
.hero img { width: 140px; height: 140px; border-radius: 32px; box-shadow: 0 10px 30px rgba(0,0,0,0.18); }
.lead { font-size: 21px; color: var(--muted); margin: 0 auto; max-width: 520px; }
.pill { display: inline-block; margin-top: 24px; padding: 14px 26px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-weight: 700; text-decoration: none; }
.cards { display: grid; gap: 12px; margin-top: 40px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { background: var(--card); border-radius: 22px; padding: 20px 22px; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.lang { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
footer { margin-top: 56px; color: var(--muted); font-size: 14px; }
/* Language: lang.js sets data-hl on <html>; the other language is hidden. */
html[data-hl="en"] [data-lang="de"], html[data-hl="de"] [data-lang="en"] { display: none !important; }
.switch { display: inline-flex; gap: 2px; margin-left: 16px; padding: 3px; border-radius: 999px; background: var(--card); }
.switch a { margin: 0; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); text-decoration: none; }
.switch a[aria-current="true"] { background: var(--brand); color: var(--on-brand); }
nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; row-gap: 8px; }
/* Card heading icons: one color per meaning, like the app. */
.card h3 { display: flex; align-items: center; gap: 8px; }
.ico { width: 20px; height: 20px; flex: none; color: var(--star); }
