:root {
  color-scheme: light dark;
  --bg: #fbf3e4;
  --card: #fffaf1;
  --ink: #3b2f2a;
  --soft: #7a6a5e;
  --line: #eadcc6;
  --accent: #e2785c;
  --sea: #2f8f97;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d2436;
    --card: #252e44;
    --ink: #f4ecdf;
    --soft: #b9ae9f;
    --line: #37415c;
    --accent: #f0937a;
    --sea: #6cc9cf;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 ui-rounded, -apple-system, system-ui, sans-serif;
}
main { max-width: 680px; margin: 0 auto; padding: 32px 16px 56px; }
header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
header img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15); }
header a { color: inherit; text-decoration: none; }
header .name { font-weight: 800; font-size: 22px; }
header .tag { color: var(--soft); font-size: 14px; }
h1 { font-size: 30px; line-height: 1.2; margin: 18px 0 10px; }
h2 { font-size: 19px; margin: 30px 0 6px; }
p, li { color: var(--ink); }
.muted { color: var(--soft); font-size: 14px; }
a { color: var(--sea); }
.card { background: var(--card); border: 1.5px solid var(--line); border-radius: 22px; padding: 18px 20px; margin: 16px 0; }
.hero { width: 100%; border-radius: 22px; display: block; margin: 12px 0; }
form label { display: block; font-weight: 700; font-size: 14px; margin: 12px 0 4px; }
input, textarea {
  width: 100%;
  font: inherit;
  color: inherit;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
}
textarea { min-height: 140px; resize: vertical; }
button {
  margin-top: 14px;
  font: inherit;
  font-weight: 800;
  color: #fffaf1;
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  padding: 10px 22px;
  cursor: pointer;
}
.trap { position: absolute; left: -5000px; }
nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; margin-top: 40px; padding-top: 16px; border-top: 1.5px solid var(--line); }
