
:root {
  color-scheme: light dark;
  --accent: hsl(299 65% 43%);
}
* { box-sizing: border-box; }
body {
  margin: 0; background: #f3f5f8; color: #203047;
  font: 17px/1.7 system-ui, sans-serif;
}
header, main, footer { max-width: 900px; margin: auto; padding: 28px; }
header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
article {
  background: white; border: 1px solid #e1e6ee;
  padding: clamp(25px, 6vw, 65px); border-radius: 20px;
}
h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.2; }
h2 { font-size: 23px; }
small, footer { color: #64748b; }
.badge {
  display: inline-block; border: 1px solid #dbe4ef;
  padding: 5px 13px; border-radius: 30px; font-size: 14px;
}
@media (prefers-color-scheme: dark) {
  body { background: #101722; color: #e0e8f3; }
  article { background: #182231; border-color: #2b394d; }
  small, footer { color: #a5b4c8; }
}
