@font-face { font-family: Nunito; src: url("../assets/fonts/Nunito-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
:root { color-scheme: light dark; --bg:#fbf7f0; --ink:#2b2230; --body:#4d4252; --muted:#6b5f70; --line:#ded5c8; --paper:#fffdfa; --accent:#70459e; --tint:#f0eaf6; }
@media (prefers-color-scheme:dark) { :root { --bg:#1b1720; --ink:#f1ebf5; --body:#ded4e0; --muted:#b9afc0; --line:#49404b; --paper:#25202b; --accent:#cfaff3; --tint:#33293c; } }
* { box-sizing:border-box; }
body { margin:0; font:17px/1.55 Nunito,system-ui,sans-serif; color:var(--body); background:var(--bg); }
[hidden] { display:none !important; }
a { color:var(--accent); text-underline-offset:.18em; text-decoration-thickness:.075em; }
a:hover { text-decoration-thickness:.13em; }
:focus-visible { outline:3px solid var(--accent); outline-offset:3px; border-radius:4px; }
.wrap { width:min(1190px,100%); margin:auto; padding-inline:clamp(16px,4vw,52px); }
.jump { display:flex; align-items:center; }
.intro { display:grid; grid-template-columns:minmax(0,.77fr) minmax(0,1.3fr); align-items:center; gap:clamp(22px,4.5vw,68px); padding:clamp(28px,5vw,74px) 0 32px; }
h1,h2,h3,caption,strong { color:var(--ink); }
h1,h2,h3,p,figure { margin:0; }
h1 { font-size:clamp(42px,5.5vw,75px); letter-spacing:-.061em; line-height:1; margin-bottom:20px; max-width:7.8em; }
.intro-copy>p:first-of-type { font-size:clamp(17px,1.6vw,21px); }
.button { display:inline-flex; align-items:center; gap:.65em; margin-top:24px; background:#09182c; color:#fff; font-weight:800; border:1px solid #435169; padding:10px 16px; border-radius:8px; text-decoration:none; }
.button:hover { background:#192e4a; }
.button span { font:700 12px/1.3 ui-monospace,monospace; color:#ffae66; }
.model figcaption p,.detail figcaption { font-size:14px; color:var(--muted); }
.model { min-width:0; border:1px solid var(--line); background:var(--paper); border-radius:18px; overflow:hidden; }
.stage { width:100%; height:clamp(340px,38vw,485px); position:relative; background:#f0efed; }
.stage img,.stage canvas { display:block; position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.stage canvas { cursor:grab; touch-action:none; }
.stage canvas:active { cursor:grabbing; }
.stage canvas:focus-visible { outline-offset:-4px; }
.model figcaption { padding:12px 20px 14px; border-top:1px solid var(--line); }
.model label { display:block; font-size:15px; font-weight:800; color:var(--ink); }
.range { display:flex; gap:10px; align-items:center; font-size:13px; color:var(--muted); }
.range input { min-width:36px; flex:1; height:30px; accent-color:var(--accent); }
.jump { flex-wrap:wrap; gap:8px 28px; border-top:1px solid var(--line); padding:14px 0; }
.jump a { font-size:15px; font-weight:800; }
.chapter { display:grid; grid-template-columns:minmax(0,.68fr) minmax(0,1.35fr); gap:clamp(28px,6vw,84px); padding:42px 0; border-top:1px solid var(--line); }
h2 { font-size:clamp(29px,3.5vw,44px); letter-spacing:-.045em; line-height:1.08; margin-bottom:12px; }
.chapter-title>p { color:var(--muted); max-width:28ch; }
.content,.inventory { min-width:0; }
.content>p+p,.content>p+ul,.content>ul+p { margin-top:16px; }
.wheel-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-bottom:22px; }
.wheel-options img { display:block; width:100%; height:auto; border-radius:8px; margin:8px 0; }
@media (max-width:540px) { .wheel-options { grid-template-columns:1fr; } }
table { width:100%; border-collapse:collapse; text-align:left; }
caption { text-align:left; font-weight:800; font-size:20px; padding-bottom:8px; }
td,th { padding:10px 8px; vertical-align:top; border-bottom:1px solid var(--line); }
td:first-child,th:first-child { width:3.3em; padding-left:0; }
th { color:var(--muted); font-size:14px; }
.tools { padding:14px 16px; margin-top:18px; background:var(--tint); border-radius:8px; }
.affiliate { margin-top:10px; font-size:13px; color:var(--muted); }
.print-list { padding-left:1.15em; }
.print-list li+li { margin-top:8px; }
.steps { padding-left:1.65em; margin:0; }
.steps li { padding-left:.2em; margin-bottom:24px; }
.steps li::marker { color:var(--accent); font-weight:800; }
h3 { font-size:21px; line-height:1.25; margin-bottom:5px; }
.detail { margin-top:22px; }
.detail img { width:100%; height:auto; display:block; border:1px solid var(--line); border-radius:10px; }
.detail figcaption { margin-top:8px; }
.insert-photo { max-width:365px; margin:12px 0 0; }
@media (max-width:760px) {
  .intro,.chapter { grid-template-columns:minmax(0,1fr); gap:20px; }
  .intro { padding:26px 0; }
  .intro h1 { max-width:none; }
  .chapter { padding:30px 0; }
  .chapter-title>p { max-width:none; }
  .stage { height:clamp(295px,67vw,420px); }
  .jump { gap:8px 18px; }
}
@media (max-width:400px) {
  .model figcaption { padding-inline:12px; }
  td,th { padding-inline:3px; }
}
