/* Farben wie in der App (app/src/theme.ts). Systemschriften: keine externen Anfragen. */
:root {
  --bg: #0f171c;
  --card: #161f26;
  --border: #2c3a43;
  --text: #dce5e9;
  --dim: #93a7af;
  --cyan: #7adce6;
  --cyan-deep: #0f7c88;
  --orange: #e8973f;
}

* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--cyan); }
a:hover { color: #fff; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

header.site {
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px;
}
.brand { font-weight: 700; font-size: 20px; letter-spacing: 0.3px; color: var(--text); text-decoration: none; }
.brand span { color: var(--orange); }
nav a { margin-left: 18px; font-size: 14px; color: var(--dim); text-decoration: none; }
nav a:hover { color: var(--cyan); }

main { padding: 36px 0 56px; }

h1 { font-size: 32px; line-height: 1.2; margin: 0 0 10px; }
h2 { font-size: 20px; margin: 36px 0 8px; color: var(--cyan); }
h3 { font-size: 16px; margin: 22px 0 4px; }
p { margin: 0 0 12px; }
ul { padding-left: 22px; margin: 0 0 12px; }
li { margin-bottom: 4px; }

.lead { font-size: 18px; color: var(--dim); max-width: 34em; }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 20px; margin: 18px 0;
}
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step; position: relative; padding: 0 0 0 44px; margin-bottom: 14px;
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-deep)); color: #04191b;
}

.draft {
  background: #3a2a12; border: 1px solid var(--orange); border-radius: 10px;
  padding: 10px 14px; margin: 0 0 24px; font-size: 14px; color: #f6d9b0;
}
.meta { color: var(--dim); font-size: 14px; }
.todo { background: #3a2a12; color: #f6d9b0; padding: 0 4px; border-radius: 4px; }

footer.site { border-top: 1px solid var(--border); padding: 22px 0 40px; font-size: 14px; color: var(--dim); }
footer.site a { color: var(--dim); }
footer.site a:hover { color: var(--cyan); }
footer.site .wrap > * + * { margin-top: 6px; }

@media (max-width: 480px) {
  h1 { font-size: 26px; }
  nav a { margin: 0 14px 0 0; }
}
