:root {
  color-scheme: light;
  --ink: #403b37;
  --muted: #756e67;
  --line: #e7ded2;
  --paper: #fffdf9;
  --ground: #f4f0ea;
  --accent: #a95e3e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
}
a { color: #76503b; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid #bd704f; outline-offset: 4px; border-radius: 4px; }
.shell { width: min(100% - 36px, 760px); margin-inline: auto; }
.site-header { padding: 22px 0 16px; }
.site-header .shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--ink); text-decoration: none; font-size: 1.15rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.site-nav { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: .9rem; }
.site-nav a { color: var(--muted); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 10px 32px rgba(73, 54, 38, .055); }
.hero { max-width: 560px; margin: 30px auto 24px; padding: clamp(28px, 6vw, 54px); text-align: center; }
.app-icon { display: block; width: min(210px, 54vw); height: auto; margin: 0 auto 24px; border-radius: 26%; }
h1, h2 { line-height: 1.4; letter-spacing: .015em; }
h1 { margin: 0 0 6px; font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 800; }
.hero .subtitle { margin: 0 0 9px; font-size: 1rem; color: var(--muted); }
.hero .description { margin: 0 0 27px; font-size: .95rem; }
.button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.button { display: inline-block; min-width: 142px; padding: 12px 19px; border: 1px solid #d4c5b3; border-radius: 18px; background: #f8efe3; color: var(--ink); text-decoration: none; font-weight: 700; }
.button:hover { background: #f5e7d6; color: var(--ink); }
.small-note { margin: 27px 0 0; color: var(--muted); font-size: .82rem; }
.document { margin: 20px auto 40px; padding: clamp(25px, 5vw, 46px); }
.document h1 { font-size: clamp(1.7rem, 4vw, 2.15rem); }
.document h2 { margin: 34px 0 10px; font-size: 1.12rem; }
.document h2:first-of-type { margin-top: 27px; }
.document p, .document li { font-size: .95rem; }
.document p { margin: 0 0 15px; }
.document ul { margin: 0 0 15px; padding-left: 1.3em; }
.date { margin: 0 0 18px !important; color: var(--muted); font-size: .83rem !important; }
.contact { display: inline-block; margin: 7px 0 20px; font-weight: 700; overflow-wrap: anywhere; }
.footer { padding: 0 0 42px; text-align: center; color: var(--muted); font-size: .8rem; }
@media (max-width: 520px) {
  .site-header .shell { align-items: flex-start; flex-direction: column; gap: 5px; }
  .hero { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
