:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fffaf0;
  color: #2f2619;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
a { color: #765400; }
header {
  align-items: center;
  background: rgba(255, 250, 240, 0.96);
  border-bottom: 1px solid #eee2c8;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 18px max(24px, calc((100% - 860px) / 2));
  position: sticky;
  top: 0;
}
.brand {
  color: #2f2619;
  font-size: 19px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
nav { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-end; }
nav a { color: #746958; font-size: 14px; font-weight: 700; text-decoration: none; }
.hero {
  display: grid;
  min-height: calc(100vh - 150px);
  padding: 48px 24px;
  place-items: center;
  text-align: center;
}
.hero-inner { max-width: 600px; }
.mark { font-size: 60px; }
h1 { font-size: clamp(32px, 7vw, 48px); margin: 14px 0 12px; }
.hero p { color: #746958; font-size: 18px; line-height: 1.7; }
.hero-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.button {
  background: #f7c948;
  border-radius: 999px;
  color: #2f2619;
  display: inline-block;
  font-weight: 900;
  padding: 13px 20px;
  text-decoration: none;
}
.button.secondary { background: #fff; border: 1px solid #e6d8b8; }
.document { margin: 0 auto; max-width: 860px; padding: 52px 24px 72px; }
.document > h1 { font-size: 34px; }
.lead { color: #746958; font-size: 16px; line-height: 1.8; margin-bottom: 36px; }
section {
  background: #fff;
  border: 1px solid #eee2c8;
  border-radius: 20px;
  margin-top: 16px;
  padding: 22px;
}
section h2 { font-size: 19px; margin: 0 0 14px; }
section h3 { font-size: 16px; margin: 20px 0 8px; }
section p, section li { line-height: 1.75; }
section p { margin: 10px 0; }
section ul, section ol { margin: 8px 0; padding-left: 22px; }
.notice { background: #fff7d8; border-color: #f0d878; }
.danger { background: #fff4f3; border-color: #efc8c4; }
footer {
  border-top: 1px solid #eee2c8;
  color: #746958;
  font-size: 13px;
  padding: 24px;
  text-align: center;
}
@media (max-width: 640px) {
  header { align-items: flex-start; flex-direction: column; gap: 12px; }
  nav { justify-content: flex-start; }
  .document { padding-top: 34px; }
}
