:root { --ink: #183930; --page: #efe8cc; --paper: #fff9e5; --tint: #f9edbf; --edge: #d9d6b9; --accent: #1b4c3e; --button-text: #fff9e5; --focus: #ab4f09; --display: "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; --headline-scale: 11.7cqi; }
* { box-sizing: border-box; }
html { color: var(--ink); background: var(--page); line-break: strict; font-family: "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; }
body { margin: 0; line-height: 1.75; }
button, input { font: inherit; }
img { display: block; width: 100%; height: auto; }
h1, h2 { margin: 0; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
button, a { color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mobile-title { display: none; }
.skip { position: absolute; z-index: 5; top: 10px; left: 10px; padding: 10px 14px; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
.masthead { padding: 0 20px; border-bottom: 1px solid var(--edge); background: var(--paper); }
.masthead-inner { max-width: 1060px; margin: auto; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { font-family: var(--display); font-weight: 700; font-size: clamp(16px, 4vw, 22px); }
.masthead nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 30px); }
.masthead nav a { text-underline-offset: .28em; font-weight: 600; }
.provenance { margin: 0; padding: 9px 16px; background: var(--tint); color: var(--ink); text-align: center; font-size: 13px; line-height: 1.5; }
.cta, .secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid var(--accent); border-radius: 8px; padding: 8px 16px; font-size: 16px; line-height: 1.4; font-weight: 650; text-decoration: none; text-align: center; }
.cta { color: var(--button-text); background: var(--accent); }
.secondary { color: var(--accent); background: transparent; }
.cta:hover, .secondary:hover { box-shadow: inset 0 0 0 1px currentColor; }
.hero { max-width: 1080px; display: grid; grid-template-columns: minmax(0, 434px) minmax(0, 1fr); align-items: center; gap: clamp(38px, 6vw, 85px); padding: 36px 24px 56px; margin: auto; }
.hero-side { min-width: 0; padding: 0 0 24px; container-type: inline-size; }
.hero-side .context { color: var(--accent); font-size: 15px; border-bottom: 1px solid var(--edge); padding-bottom: 13px; margin: 0 0 25px; }
.hero-side h1 { font: 700 clamp(24px, var(--headline-scale), 62px)/1.25 var(--display); letter-spacing: -.04em; }
.hero-side .copy { max-width: 29em; margin: 24px 0; font-size: 17px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 12px; }
.story { max-width: 680px; margin: 0 auto; }
.panel { position: relative; margin: 0; background: var(--paper); }
.hotspot { display: block; position: absolute; z-index: 1; left: var(--x); top: var(--y); width: var(--w); height: var(--h); min-height: 44px; appearance: none; padding: 0; border: 0; border-radius: 8px; background: transparent; text-decoration: none; }
.hotspot:hover { box-shadow: inset 0 0 0 2px var(--button-text), 0 0 0 1px var(--accent); }
.hotspot:focus-visible { outline-offset: 1px; box-shadow: 0 0 0 3px var(--paper); }
.faq { background: var(--paper); border-block: 1px solid var(--edge); padding: 36px clamp(20px, 6vw, 54px); }
.faq h2 { margin: 0 0 18px; font: 650 25px/1.4 var(--display); }
.faq details { border-top: 1px solid var(--edge); }
.faq details:last-child { border-bottom: 1px solid var(--edge); }
.faq summary { cursor: pointer; padding: 13px 0; min-height: 48px; font-weight: 650; }
.faq details p { margin: 0 0 16px; }
.faq details:not([open]) > p { display: none; }
.footer { padding: 23px 16px 30px; text-align: center; font-size: 13px; }
.footer a { display: inline-block; padding: 8px; min-height: 44px; text-underline-offset: .25em; }
dialog { width: min(480px, calc(100% - 24px)); max-height: calc(100dvh - 32px); color: var(--ink); background: var(--paper); border: 1px solid var(--edge); border-radius: 16px; padding: clamp(18px, 5vw, 32px); box-shadow: 0 12px 64px #100e1033; overflow: auto; }
dialog::backdrop { background: #120e12a8; }
html:has(dialog[open]) { overflow: hidden; }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dialog-head h2 { font: 700 25px/1.35 var(--display); }
.dialog-close { display: inline-grid; place-items: center; flex: 0 0 44px; height: 44px; border: 1px solid var(--edge); border-radius: 8px; background: transparent; font-size: 24px; line-height: 1; }
.dialog-note { font-size: 14px; margin: 8px 0 16px; }
fieldset { padding: 0; border: 0; margin: 0 0 16px; min-width: 0; }
legend { padding: 0; font-weight: 650; margin-bottom: 8px; }
.option { display: flex; align-items: center; min-height: 48px; gap: 12px; padding: 9px 12px; border: 1px solid var(--edge); border-radius: 8px; background: white; cursor: pointer; }
.option + .option { margin-top: 8px; }
.option:has(:checked) { border-color: var(--accent); background: var(--tint); }
.option input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; margin: 0; }
.demo-summary, .demo-completion { padding: 14px; background: var(--tint); border-radius: 8px; }
.demo-summary p, .demo-completion p { margin: 0 0 4px; }
.demo-summary p:last-child, .demo-completion p:last-child { margin: 0; }
.demo-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.noscript-note { padding: 10px 16px; background: var(--tint); margin: 0; text-align: center; }
@media (max-width: 760px) {
  .masthead { padding: 0 12px; }
  .masthead-inner { min-height: 58px; }
  .masthead nav a { display: none; }
  .masthead nav .cta { font-size: 14px; padding: 8px 12px; }
  .hero { display: flex; flex-direction: column; gap: 0; padding: 0; max-width: 520px; }
  .hero .panel { width: 100%; }
  .hero-side { display: none; }
  .mobile-title { display: block; margin: 0; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
