:root {
  --paper: #f2eee5;
  --surface: #fffdf7;
  --ink: #171914;
  --muted: #697069;
  --line: #c8cdc5;
  --green: #008b72;
  --lime: #b5ff2d;
  --coral: #ff6855;
  --blue: #6d73f5;
  --yellow: #ffd86d;
  --soft: #e4e8e0;
  --panel: #20231e;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: radial-gradient(circle at 8% 2%, rgba(109,115,245,.11), transparent 28rem), radial-gradient(circle at 96% 3%, rgba(181,255,45,.1), transparent 30rem), var(--paper);
  font-family: "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
}
button, a { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 4px solid #1c5dff; outline-offset: 4px; }
code, pre { font-family: var(--mono); }
.page { width: min(1660px, calc(100% - 48px)); margin: 0 auto; padding: 34px 0 80px; }

.hero { display: flex; min-height: 250px; padding: 12px 18px 28px; align-items: flex-end; justify-content: space-between; gap: 28px; }
.hero-copy { min-width: 0; }
.eyebrow, .section-heading p, .control-label, .inspector-heading p, .decision-block > p, .inspector-label p {
  margin: 0; color: var(--green); font: 900 12px/1.2 var(--mono); letter-spacing: .13em;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.eyebrow i { position: relative; width: 19px; height: 19px; border: 2px solid var(--blue); border-radius: 6px; }
.eyebrow i::after { position: absolute; inset: 5px -7px -7px 5px; z-index: -1; border-radius: 6px; background: var(--lime); content: ""; }
h1 { margin: 0; font-size: min(5vw, 80px); line-height: 1; letter-spacing: 0; white-space: nowrap; }
.lead { margin: 22px 0 0; color: var(--muted); font-size: clamp(17px,1.55vw,24px); font-weight: 750; }
.lead strong { color: var(--ink); }
.hero-actions { display: flex; flex: 0 0 auto; align-items: stretch; gap: 10px; }
.hero-actions button { min-height: 52px; padding: 0 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 12px; font-weight: 900; cursor: pointer; }
.hero-actions button.dark { border-color: var(--ink); background: var(--ink); color: white; }

.lab, .guide { overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: 0 18px 55px rgba(23,25,20,.07); }
.section-heading { display: flex; min-height: 112px; padding: 18px 26px; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }
.section-heading.compact { min-height: 104px; }
.section-number { display: grid; flex: 0 0 auto; width: 54px; height: 54px; place-items: center; border-radius: 16px; background: var(--coral); color: white; font: 900 12px/1 var(--mono); }
.section-number.blue { background: var(--blue); }
.section-heading h2 { margin: 4px 0 0; font-size: clamp(23px,2.2vw,35px); line-height: 1.08; }
.heading-status { display: flex; margin-left: auto; gap: 8px; }
.heading-status span, .heading-status b, .guide-note { padding: 9px 12px; border-radius: 999px; background: var(--soft); font: 900 10px/1 var(--mono); }
.heading-status b { background: var(--blue); color: white; }
.heading-status b.is-reduced { background: var(--lime); color: var(--ink); }
.guide-note { margin-left: auto; color: var(--blue); }

.lab-grid { display: grid; grid-template-columns: 300px minmax(540px,1fr) 345px; min-height: 715px; }
.controls { border-right: 1px solid var(--line); background: #f7f4ec; }
.control-block { padding: 23px 20px; border-bottom: 1px solid var(--line); }
.control-block h3 { margin: 6px 0 16px; font-size: 18px; }
.preset-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.preset-button { display: grid; min-height: 74px; padding: 10px; align-content: space-between; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); text-align: left; cursor: pointer; }
.preset-button > span:first-child { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.preset-button > span:nth-child(2) { display: block; min-width: 0; }
.preset-button i { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 8px; background: var(--soft); color: var(--green); font: 900 10px/1 var(--mono); font-style: normal; }
.preset-button em { color: var(--muted); font-style: normal; }
.preset-button b { display: block; margin-top: 7px; font-size: 11px; }
.preset-button small { display: block; margin-top: 3px; color: var(--muted); font: 800 10px/1 var(--mono); }
.preset-button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: white; }
.preset-button[aria-pressed="true"] i { background: var(--lime); color: var(--ink); }
.preset-button[aria-pressed="true"] small, .preset-button[aria-pressed="true"] em { color: #c8cec5; }
.preference-switch { display: grid; grid-template-columns: repeat(3,1fr); padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.preference-switch button { min-height: 53px; padding: 6px 4px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.preference-switch b, .preference-switch small { display: block; }
.preference-switch b { font-size: 11px; }
.preference-switch small { margin-top: 4px; color: var(--muted); font: 800 10px/1 var(--mono); }
.preference-switch button[aria-pressed="true"] { background: var(--blue); color: white; }
.preference-switch button[aria-pressed="true"] small { color: white; opacity: .8; }
.strategy-list { display: grid; gap: 7px; }
.strategy-button { display: grid; grid-template-columns: 31px 1fr auto; min-height: 47px; padding: 7px 9px; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); text-align: left; cursor: pointer; }
.strategy-button > span:first-child { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 8px; background: var(--soft); color: var(--green); font: 900 10px/1 var(--mono); }
.strategy-button > span:nth-child(2) { min-width: 0; }
.strategy-button b { display: block; font-size: 11px; }
.strategy-button small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.strategy-button > i { color: var(--muted); font-style: normal; }
.strategy-button[aria-pressed="true"] { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.strategy-button[aria-pressed="true"] > span:first-child { background: var(--blue); color: white; }
.strategy-button[aria-pressed="true"] > i { color: var(--blue); }
.control-help { min-height: 38px; margin: 10px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.replay-button { width: 100%; min-height: 45px; margin-top: 9px; border: 2px solid var(--ink); border-radius: 12px; background: var(--lime); font-size: 12px; font-weight: 900; cursor: pointer; box-shadow: 0 5px 0 var(--ink); }
.replay-button:active { translate: 0 3px; box-shadow: 0 2px 0 var(--ink); }

.preview-panel { display: grid; min-width: 0; grid-template-rows: 54px 1fr 58px; background: #dfe3dc; }
.browser-bar { display: flex; padding: 0 18px; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #b9bfb7; background: #cfd5cc; }
.browser-bar > p { display: flex; margin: 0; align-items: center; gap: 5px; color: #747b73; font: 800 10px/1 var(--mono); }
.browser-bar > p i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.browser-bar > p i:nth-child(2) { background: var(--yellow); }
.browser-bar > p i:nth-child(3) { margin-right: 5px; background: #55cf9e; }
.preview-state { display: flex; align-items: center; gap: 6px; }
.preview-state span, .preview-state b { padding: 7px 9px; border-radius: 999px; background: var(--green); color: white; font: 900 10px/1 var(--mono); }
.preview-state b { background: var(--lime); color: var(--ink); }
.preview-canvas { display: grid; min-height: 603px; padding: 34px; position: relative; place-items: center; overflow: hidden; background-color: #f8f6ef; background-image: linear-gradient(rgba(30,34,29,.055) 1px,transparent 1px), linear-gradient(90deg,rgba(30,34,29,.055) 1px,transparent 1px); background-size: 28px 28px; }
.motion-stage { width: min(100%,790px); height: 490px; position: relative; overflow: hidden; border: 2px solid var(--ink); border-radius: 22px; background: var(--surface); box-shadow: 11px 13px 0 rgba(23,25,20,.13); isolation: isolate; }
.stage-caption { display: flex; width: min(100% - 68px,720px); min-height: 55px; padding: 12px 16px; position: absolute; left: 50%; bottom: 49px; z-index: 20; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid #3d413a; border-radius: 13px; background: rgba(23,25,20,.94); color: white; translate: -50% 0; }
.stage-caption span { flex: 0 0 auto; color: var(--lime); font: 900 10px/1 var(--mono); }
.stage-caption p { margin: 0; color: #d6d9d3; font-size: 11px; font-weight: 800; text-align: right; }
.preview-footer { display: flex; padding: 0 18px; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #b9bfb7; background: #cfd5cc; }
.preview-footer p { display: flex; margin: 0; align-items: center; gap: 7px; color: #626961; font-size: 10px; font-weight: 800; }
.preview-footer p i { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.preview-footer p i.is-reduced { background: var(--lime); box-shadow: 0 0 0 2px var(--ink); }
.preview-footer button { min-height: 38px; padding: 0 13px; border: 1px solid var(--ink); border-radius: 10px; background: var(--surface); font: 900 10px/1 var(--mono); cursor: pointer; }

/* Demo chrome */
.demo-topbar { display: flex; min-height: 56px; padding: 0 22px; position: relative; z-index: 12; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: var(--surface); }
.demo-brand { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 900; }
.demo-brand i { width: 15px; height: 15px; border-radius: 4px; background: var(--lime); box-shadow: 4px 4px 0 var(--blue); }
.demo-nav { display: flex; gap: 18px; color: var(--muted); font-size: 10px; font-weight: 800; }
.demo-action { min-height: 33px; padding: 0 12px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: white; font-size: 10px; font-weight: 900; cursor: pointer; }
.demo-action:disabled { border-color: #555a53; background: #555a53; color: #d9ddd6; cursor: default; }
.demo-kicker { margin: 0; color: var(--green); font: 900 10px/1 var(--mono); letter-spacing: .12em; }

/* Page transition */
.page-scene { height: calc(100% - 56px); position: relative; overflow: hidden; background: #ece8de; }
.route-card { display: grid; width: 100%; height: 100%; padding: 50px 46px 95px; position: absolute; inset: 0; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 30px; background: var(--surface); }
.route-card.is-next { visibility: hidden; background: #e3e5ff; transform: translateX(100%); }
.route-copy h3 { max-width: 440px; margin: 13px 0 14px; font-size: clamp(34px,4vw,62px); line-height: .92; }
.route-copy p:last-child { max-width: 380px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.route-art { aspect-ratio: 1; position: relative; border: 2px solid var(--ink); border-radius: 50%; background: var(--coral); }
.route-art::before { position: absolute; inset: 18%; border: 2px solid var(--ink); border-radius: 50%; background: var(--lime); content: ""; }
.route-art::after { position: absolute; width: 58%; height: 18%; right: -12%; bottom: 21%; border: 2px solid var(--ink); background: var(--blue); rotate: -13deg; content: ""; }
.route-card.is-next .route-art { border-radius: 22%; background: var(--blue); rotate: 5deg; }
.route-card.is-next .route-art::before { border-radius: 18%; background: var(--yellow); }
.route-card.is-next .route-art::after { background: var(--coral); rotate: 17deg; }
.motion-stage.is-playing .route-card.is-next { visibility: visible; animation: page-enter 700ms cubic-bezier(.2,.8,.2,1) both; }
.motion-stage.effective-reduce.strategy-fade.is-playing .route-card.is-next { animation: page-fade 180ms ease-out both; transform: none; }
.motion-stage.effective-reduce.strategy-shorten.is-playing .route-card.is-next { animation: page-short 220ms ease-out both; }
.motion-stage.effective-reduce.strategy-stop.is-playing .route-card.is-next { animation: none; transform: none; }
@keyframes page-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes page-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes page-short { from { transform: translateX(18px); opacity: .35; } to { transform: translateX(0); opacity: 1; } }

/* Modal */
.modal-scene { height: calc(100% - 56px); padding: 40px 42px 96px; position: relative; background: #f4f1e8; }
.modal-scene h3 { max-width: 560px; margin: 12px 0 20px; font-size: clamp(36px,4vw,58px); line-height: .95; }
.modal-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-cards div { min-height: 120px; padding: 18px; border: 2px solid var(--ink); border-radius: 16px; background: var(--yellow); }
.modal-cards div:last-child { background: var(--blue); }
.demo-backdrop { display: grid; visibility: hidden; position: absolute; inset: 56px 0 0; z-index: 10; padding-bottom: 48px; place-items: center; background: rgba(23,25,20,.56); opacity: 0; pointer-events: none; }
.demo-modal { width: min(72%,470px); padding: 26px; border: 2px solid var(--ink); border-radius: 20px; background: var(--surface); box-shadow: 10px 10px 0 var(--coral); }
.demo-modal small { color: var(--green); font: 900 10px/1 var(--mono); }
.demo-modal h3 { margin: 13px 0 9px; font-size: 34px; line-height: .95; }
.demo-modal p { margin: 0 0 18px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.motion-stage.is-playing .demo-backdrop { visibility: visible; opacity: 1; pointer-events: auto; animation: backdrop-in 500ms ease both; }
.motion-stage.is-playing .demo-modal { animation: modal-in 560ms cubic-bezier(.16,1,.3,1) both; }
.motion-stage.effective-reduce.strategy-fade.is-playing .demo-backdrop, .motion-stage.effective-reduce.strategy-fade.is-playing .demo-modal { animation: modal-fade 160ms ease-out both; }
.motion-stage.effective-reduce.strategy-shorten.is-playing .demo-modal { animation: modal-short 190ms ease-out both; }
.motion-stage.effective-reduce.strategy-shorten.is-playing .demo-backdrop { animation: modal-fade 190ms ease-out both; }
.motion-stage.effective-reduce.strategy-stop.is-playing .demo-backdrop, .motion-stage.effective-reduce.strategy-stop.is-playing .demo-modal { animation: none; opacity: 1; transform: none; }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in { from { transform: translateY(90px) scale(.82); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-short { from { transform: translateY(12px); opacity: .3; } to { transform: none; opacity: 1; } }

/* Parallax */
.parallax-scene { height: calc(100% - 56px); position: relative; overflow: hidden; background: #dfe2ff; }
.parallax-copy { max-width: 480px; padding: 58px 0 0 46px; position: relative; z-index: 5; }
.parallax-copy h3 { margin: 12px 0 13px; font-size: clamp(40px,4.5vw,68px); line-height: .88; }
.parallax-copy p:last-child { max-width: 310px; margin: 0; color: #454b45; font-size: 11px; line-height: 1.55; }
.orbit { position: absolute; border: 2px solid var(--ink); border-radius: 50%; transition: transform 80ms linear; }
.orbit.one { width: 330px; height: 330px; right: -48px; bottom: -70px; background: var(--lime); }
.orbit.two { width: 190px; height: 190px; right: 86px; top: 72px; background: var(--coral); }
.orbit.three { width: 90px; height: 90px; right: 240px; bottom: 52px; background: var(--yellow); }
.motion-stage.effective-reduce .orbit { transform: none !important; transition: none; }
.scroll-control { display: grid; width: min(72%,520px); padding: 13px 15px; position: absolute; left: 46px; bottom: 92px; z-index: 8; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border: 2px solid var(--ink); border-radius: 13px; background: var(--surface); }
.scroll-control label, .scroll-control output { font: 900 10px/1 var(--mono); }
.scroll-control input { width: 100%; accent-color: var(--blue); cursor: grab; }
.scroll-control input:active { cursor: grabbing; }

/* Ticker */
.ticker-scene { height: calc(100% - 56px); padding: 48px 0 100px; overflow: hidden; background: var(--ink); color: white; }
.ticker-copy { padding: 0 46px; }
.ticker-copy .demo-kicker { color: var(--lime); }
.ticker-copy h3 { max-width: 600px; margin: 13px 0 24px; font-size: clamp(38px,4.3vw,64px); line-height: .92; }
.ticker-window { overflow: hidden; border-block: 2px solid white; background: var(--coral); }
.ticker-track { display: flex; width: max-content; }
.ticker-track span { display: block; padding: 19px 25px; font-size: 26px; font-weight: 900; white-space: nowrap; }
.motion-stage.is-playing .ticker-track { animation: ticker 8s linear infinite; }
.motion-stage.effective-reduce .ticker-track { animation: none; }
.ticker-static { display: none; padding: 17px 46px; background: var(--lime); color: var(--ink); font-size: 13px; font-weight: 900; }
.motion-stage.effective-reduce .ticker-static { display: block; }
.motion-stage.effective-reduce .ticker-window { display: none; }
.motion-stage.effective-reduce.is-attempted .ticker-static { box-shadow: inset 0 0 0 5px var(--ink); }
@keyframes ticker { to { transform: translateX(-50%); } }

.inspector { min-width: 0; background: var(--panel); color: white; }
.inspector-heading { display: flex; min-height: 92px; padding: 20px; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #3d413a; }
.inspector-heading strong { display: block; margin-top: 5px; font-size: 17px; }
.inspector-heading > span { padding: 8px 10px; border-radius: 999px; background: var(--lime); color: var(--ink); font: 900 10px/1 var(--mono); white-space: nowrap; }
.motion-values { border-bottom: 1px solid #3d413a; }
.motion-values > div { display: grid; grid-template-columns: 1fr 72px 80px; min-height: 50px; padding: 0 15px; align-items: center; gap: 6px; border-bottom: 1px solid #343832; }
.motion-values > div:last-child { border-bottom: 0; }
.motion-values span { color: #aeb4ac; font-size: 10px; font-weight: 800; }
.motion-values b, .motion-values strong { font: 900 10px/1 var(--mono); }
.motion-values b { color: #c4c9c2; }
.motion-values strong { color: var(--lime); }
.motion-values .value-heading { min-height: 36px; background: #1a1d18; }
.motion-values .value-heading span { color: #7f877e; font: 900 10px/1 var(--mono); }
.decision-block, .code-block { padding: 20px; border-bottom: 1px solid #3d413a; }
.decision-block strong { display: block; margin-top: 12px; color: var(--lime); font-size: 15px; line-height: 1.35; }
.decision-block > span { display: block; margin-top: 8px; color: #b7bdb5; font-size: 11px; line-height: 1.6; }
.inspector-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.inspector-label > div > span { display: block; margin-top: 5px; color: #9ea59d; font: 800 10px/1 var(--mono); }
.inspector-label button { min-height: 32px; padding: 0 10px; border: 1px solid #4d534b; border-radius: 8px; background: transparent; color: white; font-size: 10px; font-weight: 900; cursor: pointer; }
.code-block pre { min-height: 245px; max-height: 290px; margin: 12px 0 0; padding: 14px; overflow: auto; border: 1px solid #4d534b; border-radius: 11px; background: #121510; color: #dce2da; font-size: 10px; line-height: 1.58; white-space: pre-wrap; }
.code-block code .token-media { color: #ffd86d; }

.guide { margin-top: 18px; }
.rule-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.rule-grid article { min-height: 170px; padding: 28px; border-right: 1px solid var(--line); }
.rule-grid article:last-child { border-right: 0; }
.rule-grid article > span { color: var(--coral); font: 900 11px/1 var(--mono); }
.rule-grid h3 { margin: 15px 0 9px; font-size: 20px; }
.rule-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.guide-footer { display: flex; padding: 24px 28px; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); background: #f7f4ec; }
.guide-footer strong { font-size: 14px; }
.guide-footer p { max-width: 820px; margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.guide-footer code { padding: 2px 4px; border-radius: 4px; background: var(--soft); font-size: 11px; }
.guide-footer > div:last-child { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.guide-footer a { padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); font-size: 10px; font-weight: 900; text-decoration: none; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 30; padding: 12px 16px; border-radius: 999px; background: var(--ink); color: white; font-size: 11px; font-weight: 900; opacity: 0; translate: -50% 12px; pointer-events: none; transition: .2s ease; }
.toast.is-visible { opacity: 1; translate: -50% 0; }

@media (max-width: 1360px) {
  .hero { display: block; min-height: 0; padding-top: 28px; }
  .hero-actions { margin-top: 22px; }
  .lab-grid { grid-template-columns: 285px minmax(520px,1fr); }
  .inspector { grid-column: 1 / -1; display: grid; grid-template-columns: 270px 290px 1fr; }
  .inspector-heading { grid-column: 1; grid-row: 1; }
  .motion-values { grid-column: 1; grid-row: 2; }
  .decision-block { grid-column: 2; grid-row: 1 / span 2; border-right: 1px solid #3d413a; }
  .code-block { grid-column: 3; grid-row: 1 / span 2; }
  .code-block pre { min-height: 150px; max-height: 195px; }
}

@media (max-width: 960px) {
  .page { width: min(100% - 24px,820px); padding-top: 18px; }
  h1 { font-size: clamp(40px,8vw,66px); white-space: normal; }
  .lab-grid { display: block; }
  .controls { display: grid; grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 1px solid var(--line); }
  .control-block { border-right: 1px solid var(--line); }
  .control-block:nth-child(2) { border-right: 0; }
  .control-block:nth-child(3) { grid-column: 1 / -1; border-right: 0; }
  .strategy-list { grid-template-columns: repeat(3,1fr); }
  .preview-canvas { min-height: 560px; padding: 24px; }
  .motion-stage { height: 470px; }
  .inspector { display: grid; grid-template-columns: 1fr 1fr; }
  .inspector-heading { grid-column: 1 / -1; }
  .motion-values { grid-column: 1; grid-row: auto; border-right: 1px solid #3d413a; }
  .decision-block { grid-column: 2; grid-row: auto; }
  .code-block { grid-column: 1 / -1; grid-row: auto; }
  .code-block pre { max-height: none; }
  .guide-footer { align-items: flex-start; }
}

@media (max-width: 680px) {
  .page { width: min(100% - 16px,560px); padding-top: 12px; }
  .hero { padding: 18px 8px 22px; }
  .eyebrow { font-size: 10px; }
  h1 { font-size: clamp(38px,12.5vw,56px); line-height: .94; }
  .lead { margin-top: 16px; font-size: 15px; line-height: 1.55; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions button { min-height: 46px; }
  .section-heading { min-height: 92px; padding: 14px; gap: 12px; }
  .section-number { width: 46px; height: 46px; border-radius: 13px; }
  .section-heading h2 { font-size: 22px; }
  .heading-status, .guide-note { display: none; }
  .controls { display: block; }
  .control-block { border-right: 0; }
  .strategy-list { grid-template-columns: 1fr; }
  .browser-bar { padding: 0 12px; }
  .browser-bar > p { max-width: 190px; overflow: hidden; white-space: nowrap; }
  .preview-state span { display: none; }
  .preview-canvas { min-height: 475px; padding: 14px; }
  .motion-stage { height: 408px; border-radius: 16px; }
  .demo-topbar { min-height: 48px; padding: 0 14px; }
  .demo-nav { display: none; }
  .route-card { padding: 25px 22px 84px; grid-template-columns: 1fr; align-content: center; }
  .route-copy h3 { font-size: 38px; }
  .route-art { display: none; }
  .modal-scene { padding: 26px 20px 85px; }
  .modal-scene h3 { font-size: 36px; }
  .demo-backdrop { inset-block-start: 48px; }
  .demo-modal { width: 84%; }
  .parallax-copy { padding: 44px 0 0 24px; }
  .parallax-copy h3 { font-size: 43px; }
  .orbit.one { width: 230px; height: 230px; }
  .orbit.two { width: 125px; height: 125px; right: 25px; top: 110px; }
  .orbit.three { right: 145px; }
  .ticker-copy { padding: 0 24px; }
  .ticker-copy h3 { font-size: 38px; }
  .ticker-track span { font-size: 20px; }
  .stage-caption { width: calc(100% - 28px); bottom: 27px; padding: 11px; }
  .stage-caption p { font-size: 10px; }
  .preview-footer p { max-width: 230px; }
  .inspector { display: block; }
  .motion-values { border-right: 0; }
  .rule-grid { display: block; }
  .rule-grid article { min-height: 0; padding: 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .guide-footer { display: block; padding: 22px; }
  .guide-footer > div:last-child { margin-top: 18px; justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toast { transition: none; }
}
