:root{color-scheme:light;--paper:#f5eee2;--ink:#252321;--red:#a32c1c;--muted:#514940;--rule:#c5bcac}
*{box-sizing:border-box}
body{margin:0;background:#e8e0d2;color:var(--ink);font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;line-height:1.7}
a{color:var(--red);text-underline-offset:.25em}
button{font:inherit;font-weight:700;cursor:pointer;border:0;border-radius:100px;background:var(--red);color:white;padding:.65rem 1.2rem;min-height:44px}
button:hover{background:#7c2014}
:focus-visible{outline:3px solid #244636;outline-offset:4px}
.mast,main,footer{width:min(100%,52rem);margin-inline:auto;background:var(--paper)}
.mast{display:flex;justify-content:space-between;gap:.5rem;align-items:center;padding:.5rem clamp(1rem,5%,2rem);border-bottom:1px solid var(--rule)}
.mast a{display:inline-flex;min-height:44px;align-items:center;text-decoration:none;font-weight:700}
nav{display:flex;gap:1rem}
.art{position:relative}
.art img{display:block;width:100%;height:auto}
.hotspot{position:absolute;color:transparent;border-radius:100px;display:grid;place-items:center}
.hotspot:focus-visible{outline:4px solid #244636;background:#812719;color:#fff}
.first{left:11.5%;top:90.8%;width:77%;height:7%}
.last{left:14.7%;top:83.3%;width:70.6%;height:8.5%}
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.content{padding:clamp(2.5rem,8vw,5rem) clamp(1.25rem,7vw,4.5rem);border-block-start:1px solid var(--rule)}
h1,h2,h3{word-break:auto-phrase;text-wrap:balance;line-break:strict;line-height:1.35;margin:0 0 .8em}
h2{font-size:clamp(1.7rem,4.5vw,2.9rem);letter-spacing:-.028em}
p{margin:.75rem 0 1.25rem}
.demo{background:#e8e7db}
.lane{display:grid;grid-template-columns:minmax(6rem,25%) 1fr;gap:1rem;align-items:center;margin:1.05rem 0;color:var(--muted);font-size:.93rem}
.track{position:relative;height:2.45rem;border:1px solid #aaa392;border-radius:2rem;background:#f8f2e9;overflow:hidden}
.ball{position:absolute;top:50%;left:4px;translate:0 -50%;border-radius:50%;width:1.75rem;aspect-ratio:1;background:radial-gradient(circle at 33% 28%,#ed8b6b,var(--red) 55%,#731e13 95%)}
.status{min-height:1.7em;margin:.5rem 0 0;color:var(--muted);font-size:.95rem}
.steps{padding-inline-start:1.4rem}
.steps li+li{margin-top:.5rem}
.examples article{border-block-start:1px solid var(--rule);padding:1.4rem 0}
.examples article p{max-width:40em}
details{border-top:1px solid var(--rule);padding:1rem 0}
summary{cursor:pointer;font-weight:700}
details p{margin-bottom:0}
footer{padding:1.25rem clamp(1.25rem,7vw,4.5rem);border-top:1px solid var(--rule);font-size:.9rem}
footer p{margin:.25rem 0}
@media(prefers-reduced-motion:no-preference){button{transition:background-color 140ms ease-out}}

details:not([open]) > p{display:none}

.hero{padding:clamp(1.25rem,5vw,3rem) clamp(1.25rem,6vw,3rem);overflow:hidden}
.hero-label{margin:0 0 .8rem;border-inline-start:.3rem solid var(--red);padding-inline-start:.65rem;font-weight:700;font-size:clamp(.85rem,2vw,1.1rem)}
.hero-heading{margin:0;font-size:clamp(2.45rem,8vw,5.2rem);line-height:1.17;letter-spacing:-.055em}
.hero-summary p{margin:.35rem 0 0}
.hero-summary .hero-name{color:var(--red);font-size:clamp(1.4rem,4vw,2.6rem);font-weight:800}
.hero-image{display:block;width:100%;height:auto;margin:.85rem 0;aspect-ratio:2 / 1;object-fit:cover;object-position:center 67%}
.hero-action{display:flex;width:fit-content;min-height:44px;align-items:center;gap:1rem;background:var(--red);color:white;text-decoration:none;font-weight:700;border-radius:100px;padding:.65rem 1.2rem}
#save-prompts[aria-disabled="true"]{cursor:wait}
#saved-prompts li+li{margin-top:.65rem}
@media(prefers-reduced-motion:no-preference){
 .hero-heading,.hero-summary,.hero-action{animation:hero-entrance 320ms cubic-bezier(.2,0,0,1) both}
 .hero-summary{animation-delay:90ms}
 .hero-action{animation-delay:180ms}
 .hero-action:focus-visible{animation:none}
}
@keyframes hero-entrance{
 from{opacity:0;transform:translateY(8px)}
 to{opacity:1;transform:translateY(0)}
}