/* TamiNami web pages (taminami.app, taminami.com): one stylesheet, the same file in
   web/app and web/com (tools/web-check.py compares them). System fonts only, no
   files from other servers; indigo as the apps' seed colour (taminami_theme). */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #1b1b1f;
  --muted: #55565e;
  --accent: #3f51b5;
  --accent-text: #ffffff;
  --box: #eef0fb;
  --warn-bg: #fff4d6;
  --warn-line: #b07800;
  --line: #d6d8e4;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121318;
    --text: #e4e4ea;
    --muted: #a6a8b4;
    --accent: #a4adff;
    --accent-text: #10131f;
    --box: #1e2130;
    --warn-bg: #3a2f10;
    --warn-line: #d9a520;
    --line: #2f3242;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-wrap: break-word;
}

header, main, footer {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 20px;
}

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}

h1 { font-size: 1.9rem; line-height: 1.2; margin: 1.5rem 0 0.75rem; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 2rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.25rem; }

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

.button {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
}

.box {
  background: var(--box);
  border-radius: 12px;
  padding: 0.25rem 1.25rem 0.75rem;
  margin: 1.5rem 0;
}

.box h2 { margin-top: 1rem; font-size: 1.1rem; }

.draft {
  background: var(--warn-bg);
  border-left: 4px solid var(--warn-line);
  padding: 0.75rem 1rem;
  margin: 1rem 0;
}

/* Text still to come (a placeholder) or a point still open in a draft. */
.platzhalter, .offen {
  background: var(--warn-bg);
  outline: 1px dashed var(--warn-line);
  padding: 0 0.25rem;
}

.muted { color: var(--muted); }

li { margin: 0.3rem 0; }

dt { font-weight: 600; margin-top: 0.75rem; }
dd { margin: 0.15rem 0 0 1rem; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

footer a { margin-right: 1rem; }
