/* tobiasthiel.net — minimal; no external fonts, no trackers, no cookies */
:root {
  --bg: #eeeeee;
  --ink: #4a4f53;
  --muted: #6f7579;
  --line: #d6d6d6;
  --todo-bg: #fff1a8;
  --todo-ink: #5a4500;
  --title: Futura, "Century Gothic", "Avenir Next", "Trebuchet MS", system-ui, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a { color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }

/* Home */
.home {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}
.home h1 {
  font-family: var(--title);
  font-weight: 600;
  font-size: clamp(36px, 6vw, 56px);
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.home p { margin: 0 0 22px; font-size: clamp(15px, 2vw, 19px); color: var(--muted); }
.social { display: flex; gap: 22px; align-items: center; }
.social a { color: var(--ink); display: inline-flex; transition: opacity .15s ease, transform .15s ease; }
.social a:hover { opacity: .7; transform: translateY(-1px); }
.social svg { width: 34px; height: 34px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Footer */
.site-footer { text-align: center; padding: 20px 24px 28px; font-size: 13px; color: var(--muted); }
.site-footer a { color: var(--muted); text-decoration: none; margin: 0 8px; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

/* Legal pages */
.legal { flex: 1; width: min(720px, 100% - 48px); margin: 0 auto; padding: 56px 0 40px; }
.back { font-size: 14px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--ink); }
.legal h1 { font-family: var(--title); font-weight: 600; font-size: clamp(30px, 5vw, 40px); margin: 24px 0 4px; }
.legal .sub { color: var(--muted); margin: 0 0 28px; }
.legal h2 { font-size: 17px; font-weight: 600; margin: 32px 0 6px; }
.legal p, .legal li { font-size: 15.5px; }
.legal address { font-style: normal; }

/* Placeholder marker — remove the class once filled in */
.todo { background: var(--todo-bg); color: var(--todo-ink); padding: 0 5px; border-radius: 4px; font-family: ui-monospace, Consolas, monospace; font-size: .9em; }
.todo-banner { background: var(--todo-bg); color: var(--todo-ink); border-radius: 8px; padding: 12px 16px; margin-top: 20px; font-size: 14px; }

@media (prefers-color-scheme: dark) {
  :root { --bg: #1c1e20; --ink: #d9dcde; --muted: #9a9fa3; --line: #33373a; --todo-bg: #4a3f00; --todo-ink: #ffe680; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
