/* Gestari — Website. Farben und Anmutung wie in der App.
   Kein JavaScript, keine Schriften von fremden Servern, keine Cookies. */

:root {
  --bg: #f7f3ee;
  --surface: #ffffff;
  --text: #1c1917;
  --muted: #6b6560;
  --faint: #9c948c;
  --accent: #8c5a3c;
  --accent-soft: #f0e4da;
  --border: #e3dcd3;
  --todo-bg: #fff4d6;
  --todo-border: #d9a441;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17140f;
    --surface: #221d17;
    --text: #f2ece4;
    --muted: #b3a99d;
    --faint: #8b8177;
    --accent: #d9a279;
    --accent-soft: #33291f;
    --border: #3a322a;
    --todo-bg: #3a2f14;
    --todo-border: #d9a441;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  font-size: 17px;
}

.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1rem 4rem; }

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
}

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1rem;
  font-size: .95rem;
}
nav a:hover, nav a:focus { color: var(--accent); text-decoration: underline; }
nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }

h1 { font-size: 2rem; line-height: 1.2; letter-spacing: -0.02em; margin: 1.5rem 0 .5rem; }
h2 { font-size: 1.25rem; margin: 2.2rem 0 .6rem; letter-spacing: -0.01em; }
h3 { font-size: 1.02rem; margin: 1.4rem 0 .4rem; }
p, li { color: var(--text); }
.lead { font-size: 1.12rem; color: var(--muted); }
.muted { color: var(--muted); }
small, .small { font-size: .88rem; color: var(--faint); }

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin: 1rem 0;
}

ul.clean { padding-left: 1.1rem; }
ul.clean li { margin: .35rem 0; }

dl.facts { margin: 0; }
dl.facts dt { font-weight: 600; margin-top: .9rem; }
dl.facts dd { margin: .15rem 0 0; color: var(--muted); }

.todo {
  background: var(--todo-bg);
  border: 1px dashed var(--todo-border);
  border-radius: 6px;
  padding: .1rem .4rem;
  color: var(--text);
  font-weight: 600;
}

table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .5rem .6rem; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; }

footer.site {
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: .9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
footer.site a { color: var(--muted); text-decoration: none; margin-right: 1rem; }
footer.site a:hover { color: var(--accent); text-decoration: underline; }

.disclosure {
  font-size: .86rem;
  color: var(--faint);
  border-left: 3px solid var(--border);
  padding-left: .8rem;
  margin: 1rem 0;
}
