/* Hauptverdacht / Blender film. Kept external to preserve the 100 KB HTML budget. */
.handy-demo { --demo-gold: #d6b25e; background: #100f0d; color: #f6f1e6; position: relative; isolation: isolate; }
.demo-track { position: relative; }
.demo-stage { position: relative; min-height: 48rem; height: min(56rem, 100svh); overflow: hidden; background: #100f0d; }
.demo-film, .demo-shade, .demo-poster, .demo-poster img, .demo-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo-film { left: 27%; width: 73%; }
.demo-poster img { object-fit: contain; }
.demo-canvas { opacity: 0; }
.demo-film.is-painted .demo-canvas { opacity: 1; }
.demo-surface { position: absolute; left: 0; top: 0; transform-origin: 0 0; visibility: hidden; backface-visibility: hidden; overflow: hidden; pointer-events: none; }
.demo-phone-screen { width: 360px; height: 744px; border-radius: 25px; background: #eee6d5; color: #26231e; font-family: Georgia, serif; }
.demo-screen-chrome { display: flex; justify-content: space-between; padding: 30px 22px 18px; background: #171b20; color: #e2c487; font: 12px/1 system-ui; letter-spacing: 2px; }
.demo-screen-page, .demo-screen-round { padding: 38px 25px; }
.demo-screen-label { display: block; font: 10px/1.6 system-ui; letter-spacing: 2px; color: #745721; }
.demo-screen-page > strong, .demo-screen-round > strong { display: block; font: 38px/1.05 Georgia, serif; margin: 22px 0; }
.demo-screen-rule { display: block; height: 1px; background: #bda778; margin: 24px 0; }
.demo-screen-page p { font-size: 23px; line-height: 1.55; }
.demo-screen-footer { display: block; margin-top: 20px; font: 12px system-ui; color: #716550; }
.demo-screen-round { display: none; }
.demo-screen-round p { margin-top: 60px; font: 39px/1.4 Georgia, serif; }
.demo-round-dots { display: flex; gap: 25px; font: 24px system-ui; padding: 20px 0; margin: 30px 0; border-block: 1px solid #c9b78f; }
.demo-round-dots span { color: #b1a58c; }
.demo-screen-round small { font: 18px/1.6 system-ui; }
.handy-demo[data-chapter="1"] .demo-screen-page { display: none; }
.handy-demo[data-chapter="1"] .demo-screen-round { display: block; }
.demo-evidence-surface { width: 420px; height: 580px; background: #f0e8d6; color: #26221b; padding: 35px; border: 1px solid #c5b28d; }
.demo-evidence-surface > span { font: 10px system-ui; letter-spacing: 2px; color: #77603a; }
.demo-evidence-surface > strong { display: block; font: 43px/1.1 Georgia, serif; margin: 25px 0; }
.demo-evidence-surface > p { font: 20px/1.5 Georgia, serif; white-space: pre-line; }
.demo-evidence-surface > small { font: 11px system-ui; color: #77603a; }
.demo-shade { pointer-events: none; background: linear-gradient(90deg, #100f0d 0%, #100f0df2 19%, #100f0d85 41%, transparent 65%), linear-gradient(0deg, #100f0d 0%, transparent 24%, transparent 75%, #100f0d80); }
.demo-topline, .demo-bottomline { position: absolute; z-index: 2; left: max(2rem, calc((100vw - 72rem) / 2)); right: max(2rem, calc((100vw - 72rem) / 2)); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.demo-topline { top: 2rem; border-top: 1px solid #d6b25e40; padding-top: 1.15rem; }
.demo-topline p { margin: 0; font: 500 .65rem/1.6 var(--font-label); letter-spacing: .2em; color: #c6bda9; }
.demo-topline a { font-size: .8rem; text-decoration: none; min-height: 44px; display: flex; gap: .7rem; align-items: center; }
.demo-copy { position: absolute; z-index: 2; top: 24%; left: max(2rem, calc((100vw - 72rem) / 2)); width: min(38%, 32rem); }
.demo-eyebrow { display: flex; gap: 1.25rem; align-items: center; color: #e0c282; font: .72rem/1.5 var(--font-label); text-transform: uppercase; letter-spacing: .16em; }
.demo-chapter-number { color: #aa9c80; font: .65rem system-ui; letter-spacing: .06em; }
.demo-copy h2 { font-size: clamp(2.7rem, 4.8vw, 5rem); line-height: 1.04; letter-spacing: -.035em; margin: 1.4rem 0; text-wrap: balance; }
.demo-copy h2 em { font-weight: inherit; color: #e0c282; }
.demo-description { max-width: 25rem; color: #d6cdbb; font-size: 1rem; line-height: 1.75; margin-bottom: 1.15rem; }
.demo-open { display: inline-flex; gap: 1.4rem; align-items: center; padding: .6rem 0; min-height: 44px; color: #f3d99c; text-decoration: none; border-bottom: 1px solid #d6b25e75; font-size: .9rem; }
.demo-example { font-size: .65rem; line-height: 1.6; color: #a99c86; margin: 1.25rem 0 0; }
.demo-bottomline { bottom: 2.6rem; align-items: end; }
.demo-scroll-cue { margin: 0; font: .65rem/1.6 var(--font-label); text-transform: uppercase; letter-spacing: .13em; color: #bdb09b; display: flex; gap: .8rem; }
.demo-chapters { display: flex; gap: 1.6rem; }
.demo-chapters a { display: flex; flex-direction: column; gap: .55rem; min-height: 44px; justify-content: center; font-size: .7rem; color: #b2a58d; text-decoration: none; border-top: 1px solid #a6946f50; padding-top: .6rem; }
.demo-chapters a > span:first-child { font: .65rem system-ui; }
.demo-chapters a[aria-current] { border-color: #e0c282; color: #f3d99c; }
.demo-progress { position: absolute; bottom: 0; width: 100%; height: 2px; background: #d6b25e20; }
.demo-progress > span { display: block; height: 100%; background: #d6b25e; transform: scaleX(var(--demo-progress, 0)); transform-origin: left; }
.demo-markers { display: none; }
.demo-after { background: #f6f1e6; color: #1a1c22; padding: 3.5rem 0 4rem; }
.demo-after-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.demo-after-heading h3 { font-size: clamp(1.65rem, 2.8vw, 2.7rem); line-height: 1.2; }
.demo-after-heading h3 em { font-weight: inherit; color: #7d5f1f; }
.demo-after-heading > p { max-width: 30rem; font-size: .95rem; color: #5e5a52; }
.demo-readers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2.2rem; gap: 1.3rem; }
.demo-document { border-block: 1px solid #d2c6ae; min-width: 0; }
.demo-document > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .9rem; padding: 1.3rem 0; }
.demo-document > summary::-webkit-details-marker, .demo-print > summary::-webkit-details-marker { display: none; }
.demo-document > summary > span:nth-child(2) { flex: 1; }
.demo-doc-number { font: .8rem var(--font-label); color: #7d5f1f; align-self: start; padding-top: .35rem; }
.demo-document strong { display: block; font-family: var(--font-display); font-size: 1.3rem; }
.demo-document small { display: block; color: #655d50; font-size: .68rem; margin-top: .3rem; line-height: 1.5; }
.demo-document-content { padding: 1rem 0 2rem; overflow-wrap: anywhere; }
.demo-document-content h3 { margin-bottom: 1.5rem; }
.demo-transcript { white-space: pre-line; line-height: 1.8; }
.demo-document-content a { display: inline-flex; min-height: 44px; align-items: center; color: #7d5f1f; }
.demo-print { margin-top: 1.6rem; border-bottom: 1px solid #d2c6ae; }
.demo-print > summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; min-height: 44px; padding: .8rem 0; font-size: .85rem; }
.demo-print > div { max-width: 36rem; padding: 1rem 0 2rem; }
.demo-print picture { display: block; max-width: 32rem; margin: 1.5rem 0; }
.demo-print img { width: 100%; height: auto; box-shadow: 0 10px 40px #4b3c1c20; }
.demo-purchase { display: flex; flex-wrap: wrap; gap: .6rem 2rem; align-items: center; margin-top: 2rem; }
.demo-purchase > span { font-size: .75rem; color: #655d50; }
.demo-purchase .price-note { width: 100%; order: 3; margin: 0; }
.demo-fallback-steps { padding-left: 1.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2.5rem; margin-top: 2.5rem; font-size: .9rem; }
.demo-fallback-steps strong { font-family: var(--font-display); font-size: 1.25rem; }
.demo-fallback-steps p { margin: .5rem 0; color: #5e5a52; }
.handy-demo.is-ready .demo-track { height: 285svh; }
.handy-demo.is-ready.handy-demo--compact .demo-track { height: 195svh; }
.handy-demo.is-ready .demo-stage { position: sticky; top: 0; height: 100svh; min-height: 0; max-height: none; }
.handy-demo.is-ready .demo-fallback-steps { display: none; }
.handy-demo.is-ready .demo-markers { display: block; position: absolute; inset: 0; pointer-events: none; }
.demo-markers > span { position: absolute; top: 0; }
.demo-dialog { border: 1px solid #c7b58e; border-radius: 3px; background: #f6f1e6; color: #1a1c22; padding: 0; width: min(40rem, calc(100vw - 2rem)); max-height: calc(100svh - 3rem); box-shadow: 0 40px 120px #0008; }
.demo-dialog::backdrop { background: #080a0ddb; backdrop-filter: blur(7px); }
.demo-dialog > header { position: sticky; top: 0; background: #f6f1e6; display: flex; align-items: center; justify-content: space-between; padding: .8rem 1.5rem; border-bottom: 1px solid #d2c6ae; z-index: 1; }
.demo-dialog > header span { font: .65rem var(--font-label); letter-spacing: .18em; color: #7d5f1f; }
.demo-dialog button { min-height: 44px; padding: .5rem .6rem; border: 0; background: none; color: #383126; font: .8rem system-ui; cursor: pointer; }
.demo-dialog .demo-document-content { padding: 2rem clamp(1.25rem, 4vw, 3rem) 3rem; }
.handy-demo :focus-visible { outline-color: #f3d99c; }
.demo-after :focus-visible { outline-color: #7d5f1f; }
/* The mobile purchase bar must not cover the film's chapter navigation. */
.hv-demo-film-active .sticky-buy { visibility: hidden !important; pointer-events: none; }
@media (max-width: 767px) {
  .demo-stage { height: 52rem; min-height: 0; }
  .demo-film { left: 0; width: 100%; bottom: 15%; height: 85%; }
  .demo-shade { background: linear-gradient(0deg, #100f0d 0%, #100f0df5 16%, #100f0d90 36%, transparent 65%, #100f0d60); }
  .demo-topline, .demo-bottomline { left: 1.25rem; right: 1.25rem; }
  .demo-topline { top: 1rem; padding-top: .6rem; }
  .demo-topline p { max-width: 9rem; font-size: .55rem; }
  .demo-topline a { font-size: .7rem; gap: .35rem; }
  .demo-copy { left: 1.25rem; right: 1.25rem; width: auto; top: auto; bottom: 7.8rem; }
  .demo-copy h2 { font-size: clamp(2rem, 8.7vw, 3.2rem); max-width: 30rem; line-height: 1.05; margin: .7rem 0; }
  .demo-description { max-width: 28rem; font-size: .83rem; line-height: 1.6; margin-bottom: .4rem; }
  .demo-eyebrow { margin-bottom: 0; font-size: .6rem; }
  .demo-open { min-height: 44px; font-size: .8rem; padding: .35rem 0; }
  .demo-example { margin-top: .6rem; font-size: .57rem; }
  .demo-bottomline { bottom: 1.4rem; }
  .demo-scroll-cue { display: none; }
  .demo-chapters { width: 100%; gap: .8rem; }
  .demo-chapters a { flex: 1; font-size: .6rem; gap: .4rem; line-height: 1.5; }
  .demo-after { padding-block: 2.5rem; }
  .demo-after-heading { grid-template-columns: 1fr; gap: .8rem; }
  .demo-readers { grid-template-columns: 1fr; gap: 0; margin-top: 1.3rem; }
  .demo-document + .demo-document { border-top: 0; }
  .demo-document > summary { padding: 1rem 0; }
  .demo-document strong { font-size: 1.15rem; }
  .demo-fallback-steps { grid-template-columns: 1fr; }
  .handy-demo.is-ready .demo-track { height: 240svh; }
  .handy-demo.is-ready.handy-demo--compact .demo-track { height: 195svh; }
  .handy-demo.is-ready .demo-stage { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-scroll-cue { visibility: hidden; }
  .demo-chapters { display: none; }
  .demo-progress { display: none; }
}
