:root {
  color-scheme: light;
  --yellow: #ffd400;
  --ink: #171600;
  --muted: #625f48;
  --paper: #fffdf3;
  --card: #ffffff;
  --line: #e7e0b9;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
}

a { color: #5d5100; }
a:hover { color: #1d1a00; }

header {
  background: var(--yellow);
  border-bottom: 1px solid #d6b400;
}

.bar {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.18rem;
  font-weight: 850;
  text-decoration: none;
}

.mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #171600;
  color: var(--yellow);
  display: grid;
  place-items: center;
  font-weight: 900;
}

nav { display: flex; flex-wrap: wrap; gap: 14px; }
nav a { color: var(--ink); font-weight: 700; text-decoration: none; }

main {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 72px;
}

.hero {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 18px 50px rgba(70, 59, 0, .08);
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

h2 { margin: 36px 0 8px; line-height: 1.25; }
h3 { margin: 24px 0 6px; }
p, li { color: #35331f; }
.lead { font-size: 1.18rem; color: var(--muted); }
.updated { color: var(--muted); font-weight: 700; }

.links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.link-card {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.link-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 500;
}

.notice {
  padding: 16px 18px;
  border-left: 5px solid #c6a600;
  background: #fff7bf;
  border-radius: 8px;
}

.action {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 850;
  text-decoration: none;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 16px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 700px) {
  .bar { align-items: flex-start; flex-direction: column; }
  main { padding-top: 32px; }
  .hero { padding: 24px; }
}
