@font-face {
  font-family: "M PLUS U Legal";
  src: url("/fonts/MPLUSU-Legal-Subset.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "M PLUS U Legal", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  color: #33291f;
  background: #fffaf2;
  line-height: 1.75;
  font-synthesis: none;
}
* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 4%, rgba(255, 205, 120, 0.28), transparent 28rem),
    #fffaf2;
}

a { color: #9b4f18; }
a:hover { color: #74370d; }

.site-header {
  border-bottom: 1px solid #eadcc8;
  background: rgba(255, 250, 242, 0.9);
}

.header-inner,
main,
.footer-inner {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  color: #33291f;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

nav { display: flex; gap: 18px; }
nav a { font-size: 0.9rem; font-weight: 700; text-decoration: none; }

main { padding: 64px 0 72px; }

.eyebrow {
  margin: 0 0 8px;
  color: #a45a22;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 7vw, 3.5rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

h2 {
  margin: 42px 0 10px;
  font-size: 1.3rem;
  line-height: 1.4;
}

p, li { font-size: 1rem; }
ul { padding-left: 1.35rem; }

.lead { color: #65584c; font-size: 1.12rem; }
.updated { color: #7d7065; font-size: 0.9rem; }

.card {
  margin-top: 32px;
  padding: 26px;
  border: 1px solid #eadcc8;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 36px rgba(91, 56, 24, 0.08);
}

.card h2:first-child { margin-top: 0; }

.download-list {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.download-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid #eadcc8;
  border-radius: 12px;
  background: #fffdf9;
}

.format-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.format-links a {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #d8ba92;
  border-radius: 8px;
  color: #7e3d10;
  font-weight: 700;
  text-decoration: none;
}

.format-links a:hover { background: #fff3df; }
.print-note { margin: 20px 0 0; color: #65584c; font-size: 0.92rem; }

.button {
  display: inline-block;
  margin-top: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  color: #fff;
  background: #9b4f18;
  font-weight: 800;
  text-decoration: none;
}

.button:hover { color: #fff; background: #74370d; }

footer {
  border-top: 1px solid #eadcc8;
  color: #75675b;
  background: #fff7eb;
}

.footer-inner { padding: 24px 0 32px; font-size: 0.85rem; }

@media (max-width: 560px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
  main { padding-top: 44px; }
  .card { padding: 22px; }
  .download-list li { align-items: flex-start; flex-direction: column; }
}
