:root {
  color-scheme: light;
  --forest: #1d3027;
  --paper: #f5f2e8;
  --ink: #21352b;
  --muted: #4a5d50;
  --rule: #c8c9b6;
  --gold: #e0ba72;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #a47831; outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -6rem; padding: 1rem; color: var(--forest); background: white; z-index: 1; }
.skip:focus { top: .5rem; }
.frame { width: min(1160px, calc(100% - 2 * clamp(1rem, 5vw, 4rem))); margin-inline: auto; }
.top { background: var(--forest); color: var(--paper); border-bottom: 1px solid #435144; }
.bar { min-height: 76px; display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: .125rem 1rem; }
.bar a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.wordmark { font-size: .95rem; font-weight: 650; letter-spacing: .045em; }
.company { color: var(--gold); font: 1.1rem Georgia, serif; }
.hero { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.75rem, 8vw, 6.5rem) clamp(2.5rem, 6vw, 4.5rem); }
h1, h2 { font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", Georgia, serif; font-weight: 650; margin: 0; line-height: 1.28; }
h1 { font-size: clamp(2.05rem, 5.2vw, 4.1rem); overflow-wrap: anywhere; }
h2 { font-size: clamp(1.45rem, 3vw, 2.15rem); }
p { line-height: 1.8; margin-block: .75rem 0; }
.place { font-size: .9rem; letter-spacing: .1em; color: var(--muted); margin: 0 0 1rem; }
.lead { font-weight: 650; font-size: clamp(1rem, 2vw, 1.18rem); margin-top: 1.08rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .55rem 1.15rem; margin-top: 1.25rem; background: var(--forest); color: var(--paper); border: 1px solid var(--forest); text-decoration: none; font-weight: 650; border-radius: 3px; }
.button:hover { background: #324a3d; }
.coin-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.45rem, 1.55vw, 1rem); }
figure { margin: 0; min-width: 0; }
.face { position: relative; overflow: hidden; aspect-ratio: 49 / 45; border-radius: 4px; background: var(--forest); }
.face img { display: block; position: absolute; top: -14%; width: 206.12245%; max-width: none; height: auto; }
.front img { left: -2.04082%; }
.back img { left: -104.08163%; }
figcaption { display: flex; align-items: baseline; gap: .4rem; font-size: .875rem; line-height: 1.5; margin-top: .65rem; }
figcaption span { color: var(--muted); flex: none; }
.receive { background: var(--forest); color: var(--paper); border-radius: 5px; padding: clamp(1.25rem, 5vw, 3rem); }
.receive .button { background: var(--paper); color: var(--forest); }
.receive p, .story p { max-width: 66ch; }
.story { padding-block: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--rule); }
.receive + .story { border-top: 0; }
.story > a { display: inline-flex; align-items: center; min-height: 44px; margin-top: .3rem; }
.coin-list { margin: 1rem 0 0; padding: 0; list-style: none; }
.coin-list li { border-block-end: 1px solid var(--rule); }
.coin-list a { min-height: 48px; display: flex; align-items: baseline; padding: .7rem 0; gap: .2rem 1.5rem; flex-wrap: wrap; text-decoration: none; }
.coin-list a:hover strong { text-decoration: underline; }
.coin-list span { color: var(--muted); }
footer { border-top: 1px solid var(--rule); margin-top: 1.5rem; }
.footer-inner { min-height: 75px; padding-block: .5rem; display: flex; justify-content: space-between; align-items: center; gap: .1rem 1rem; flex-wrap: wrap; font-size: .875rem; }
.footer-inner a { display: inline-flex; min-height: 44px; align-items: center; }
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 400px) {
  figcaption { font-size: .875rem; }
  .bar { min-height: 60px; }
  .wordmark { letter-spacing: 0; }
}
