:root {
  color-scheme: light dark;
  --background: #ffffff;
  --surface: #fff8f4;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --border: #e8e2df;
  --accent: #e8663d;
  --accent-deep: #c94d4d;
  --focus: #7c3aed;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

.site-shell { width: min(100% - 40px, 800px); margin: 0 auto; padding: 56px 0 32px; }
.hero, .document-header { text-align: center; margin: 14px auto 46px; }
.logo-image { display: block; width: min(200px, 62vw); height: auto; max-height: 120px; margin: 0 auto 18px; object-fit: contain; }
.logo-placeholder { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 24px; color: #fff; font-size: 34px; font-weight: 800; background: linear-gradient(145deg, #ff9a3c, #f95b61 55%, #a855f7); box-shadow: 0 12px 30px rgb(232 102 61 / 25%); }
.eyebrow { margin: 0; color: var(--accent); font-size: 15px; font-weight: 700; letter-spacing: .06em; }
h1 { margin: 5px 0 10px; font-size: clamp(30px, 8vw, 46px); line-height: 1.2; letter-spacing: -.03em; }
h2 { margin: 0 0 12px; font-size: 20px; line-height: 1.4; }
p { margin: 0 0 14px; }
.lead { max-width: 32rem; margin: auto; color: var(--muted); font-size: 18px; }
.card, .link-card { border: 1px solid var(--border); border-radius: 22px; background: var(--surface); }
.card { padding: 24px; margin: 18px 0; }
.link-list { display: grid; gap: 12px; margin: 18px 0; }
.link-card { display: flex; justify-content: space-between; align-items: center; min-height: 60px; padding: 16px 20px; color: var(--text); font-weight: 700; text-decoration: none; }
.link-card span:last-child { color: var(--accent); font-size: 26px; line-height: 1; }
a { color: var(--accent-deep); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 6px; }
.note { color: var(--muted); font-size: 14px; }
.document { padding-top: 30px; }
.document-header { text-align: left; margin: 18px 0 38px; }
.document-header h1 { font-size: clamp(28px, 7vw, 42px); }
.document-header > p:last-child { color: var(--muted); font-size: 14px; }
.back-link { display: inline-block; color: var(--muted); text-decoration: none; font-size: 15px; }
.document section { margin: 0 0 34px; }
ul { margin: 0; padding-left: 1.4em; }
footer { margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; text-align: center; }

@media (max-width: 480px) {
  .site-shell { width: min(100% - 32px, 800px); padding-top: 40px; }
  .hero { margin-bottom: 34px; }
  .card { padding: 20px; }
  .lead { font-size: 16px; }
}

@media (prefers-color-scheme: dark) {
  :root { --background: #161415; --surface: #251e1d; --text: #f5f5f7; --muted: #aea9aa; --border: #413634; --accent: #ff9a64; --accent-deep: #ffae84; --focus: #c4b5fd; }
  .logo-placeholder { box-shadow: 0 12px 30px rgb(0 0 0 / 30%); }
}
