:root {
  --gold: #b89542;
  --gold-dark: #8f6e22;
  --ink: #1b1713;
  --muted: #706857;
  --paper: #fffdf7;
  --line: #ded5bd;
  --bg: #f5f1e7;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    #12100d;
  color: var(--ink);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
}

.mt32 {
  margin-top: 32px;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 56px;
}

.hero {
  margin: 0 auto 32px;
  text-align: center;
}

.kicker {
  margin: 0 0 10px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
}

h1 {
  margin: 0;
  color: #C9A64B;
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.25;
}

.lead {
  margin: 14px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.download-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 18px 50px rgba(69, 50, 22, 0.12);
}

.paper-preview {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 1365;
  background: #fdfaf0;
  border-bottom: 1px solid var(--line);
}

.card-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: start;
  padding: 18px;
}

.number {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 2px 0 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-dark);
  font-size: 18px;
  font-weight: 900;
}

h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.card-body p:not(.number) {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
}

button {
  grid-column: 2;
  width: 100%;
  margin-top: 10px;
  appearance: none;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #d7b65d, #aa812c);
  color: #1a1512;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 12px 16px;
}

button:hover {
  filter: brightness(1.04);
}

button:focus-visible {
  outline: 3px solid rgba(184, 149, 66, 0.38);
  outline-offset: 3px;
}





.backbtn {
  grid-column: 2;
  width: 100%;
  appearance: none;
  border: 2px solid #fff;
  border-radius: 8px;
  background: #000;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 12px 16px;
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none;
  min-width: 280px !important;
  margin-top: 40px !important;
}

.backbtn:hover {
  background: #222;
}

.backbtn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.4);
  outline-offset: 3px;
}




.note {
  max-width: 720px;
  margin: 26px auto 0;
  color: #766d58;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.9;
  text-align: center;
}

@media (max-width: 860px) {
  .download-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  .page {
    width: min(100% - 24px, 420px);
    padding: 32px 0 42px;
  }

  h1 {
    font-size: 30px;
    letter-spacing: 0.08em;
  }

  .card-body {
    grid-template-columns: 1fr;
  }

  .number {
    grid-row: auto;
  }

  button {
    grid-column: 1;
  }
}
