:root {
  color-scheme: light;
  --paper: #f7efe2;
  --ink: #251b14;
  --muted: #6f6257;
  --red: #b92323;
  --gold: #c99a43;
  --green: #0f6b57;
  --line: rgba(145, 100, 42, 0.22);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
}

a {
  color: var(--red);
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav,
.footer {
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 20px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-weight: 800;
  color: var(--green);
}

.nav-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}

.hero,
.content {
  max-width: 1040px;
  width: calc(100% - 40px);
  margin: 0 auto;
}

.hero {
  padding: 54px 0 34px;
}

.eyebrow {
  color: var(--red);
  font-weight: 700;
  margin-bottom: 10px;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.15;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  margin: 18px 0 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px 18px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
}

.button.secondary {
  background: transparent;
  color: var(--red);
  border: 1px solid var(--red);
}

.content {
  flex: 1;
  padding-bottom: 42px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.card,
.notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.72);
  padding: 18px;
}

.card h2,
.card h3,
.notice h2 {
  margin: 0 0 8px;
  letter-spacing: 0;
}

.card p,
.notice p {
  margin: 0;
  color: var(--muted);
}

.section {
  margin-top: 24px;
}

.list {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer p {
  margin: 8px 0 0;
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 34px;
  }
}
