:root {
  color-scheme: light dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  color: #17221b;
  background: #f7f8f4;
}

* { box-sizing: border-box; }
body { margin: 0; }
main {
  width: min(860px, calc(100% - 32px));
  margin: 32px auto;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid #dfe6df;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(22, 101, 52, 0.08);
}
h1, h2 { line-height: 1.25; color: #14532d; }
h1 { margin: 0 0 8px; font-size: clamp(2rem, 5vw, 3rem); }
h2 { margin-top: 32px; font-size: 1.25rem; }
p, li { color: #34433a; }
a { color: #166534; font-weight: 650; }
.brand { color: #166534; font-size: 0.9rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.meta { margin-top: 0; color: #657269; }
.notice { padding: 16px 18px; border-radius: 14px; background: #ecfdf3; border: 1px solid #bbf7d0; }
.danger { background: #fff7ed; border-color: #fed7aa; }
.language { margin-top: 42px; padding-top: 30px; border-top: 1px solid #dfe6df; }
footer { margin-top: 40px; color: #657269; font-size: 0.9rem; }

@media (prefers-color-scheme: dark) {
  :root { color: #eef7f0; background: #07110c; }
  main { background: #0d1b13; border-color: #26392c; box-shadow: none; }
  h1, h2, a, .brand { color: #86efac; }
  p, li, .meta, footer { color: #c4d1c7; }
  .notice { background: #102a1a; border-color: #245c36; }
  .danger { background: #2a1c10; border-color: #70451d; }
  .language { border-color: #26392c; }
}
