/* Illustrated DMA connection diagram: a desk scene with the real devices and the cables between them.
   Strict CSP (no inline styles, no external files). Modes are pure CSS: four radios (:checked).
   Motion is pure CSS too (see "motion" at the end): only transform, opacity and stroke-dashoffset
   move; every element's BASE style is its final static state, so reduced motion / pause = the static diagram.
   Colour roles: amber = the DMA card and its data path (the one bright thing); cool light = video;
   muted dashed = USB to the aim device; muted dotted = mouse/keyboard input and power. Devices are graphite. */
.dd {
  container-type: inline-size;
  margin-block: 8px 40px;
  --dd-line: rgba(246, 242, 234, .26);
  --dd-edge: rgba(246, 242, 234, .16);
  --dd-video: #cfd8e6;
  --dd-usb: #9aa3b2;
  --dd-muted: var(--muted, #a9b0bd);
  --dd-coal: var(--coal, #0a0b0e);
}
.dd-title { margin: 0 0 14px; font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.25 }
.dd-input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none }

/* mode switch: plain text with an amber underline, not buttons-in-a-box */
.dd-modes { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-bottom: 18px }
.dd-modes label {
  min-height: 44px; display: inline-flex; align-items: center; cursor: pointer;
  color: var(--dd-muted); font-weight: 600; font-size: .95rem; line-height: 1.3;
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.dd-modes label:hover { color: var(--paper) }
#dd-d:checked ~ .dd-modes label[for="dd-d"], #dd-a:checked ~ .dd-modes label[for="dd-a"],
#dd-f:checked ~ .dd-modes label[for="dd-f"], #dd-x:checked ~ .dd-modes label[for="dd-x"] {
  color: var(--warm, #ffd389); border-bottom-color: var(--amber, #f5a623);
}
.dd-input:focus-visible ~ .dd-modes label { outline: 0 }
#dd-d:focus-visible ~ .dd-modes label[for="dd-d"], #dd-a:focus-visible ~ .dd-modes label[for="dd-a"],
#dd-f:focus-visible ~ .dd-modes label[for="dd-f"], #dd-x:focus-visible ~ .dd-modes label[for="dd-x"] {
  outline: 2px solid var(--amber, #f5a623); outline-offset: 4px; border-radius: 2px;
}

/* the stage takes the full content width; the landscape scene needs room for its labels */
.dd-stage { max-width: 1200px }
.dd-svg { display: block; width: 100%; height: auto; overflow: hidden }
.dd-l { display: none; aspect-ratio: 1200 / 584 }
.dd-p { max-width: 460px }
@container (min-width: 860px) {
  .dd-l { display: block }
  .dd-p { display: none }
}

/* portrait: the viewBox is the full setup; smaller modes crop the bottom after the rows move up */
#dd-d:checked ~ .dd-stage .dd-p { aspect-ratio: 360 / 630 }
#dd-a:checked ~ .dd-stage .dd-p { aspect-ratio: 360 / 760 }
#dd-f:checked ~ .dd-stage .dd-p { aspect-ratio: 360 / 760 }
#dd-x:checked ~ .dd-stage .dd-p { aspect-ratio: 360 / 890 }

/* what each mode shows: v-a aim device, v-f fuser, v-fo fuser without aim device, v-x fuser with aim device,
   v-nf direct display (landscape), v-d / v-ao direct display in portrait for DMA only / + aim device */
.dd .v-a, .dd .v-f, .dd .v-fo, .dd .v-x, .dd .v-nf, .dd .v-d, .dd .v-ao { display: none; animation: dd-in .5s var(--ease, ease) }
#dd-d:checked ~ .dd-stage .v-nf, #dd-d:checked ~ .dd-stage .v-d,
#dd-a:checked ~ .dd-stage .v-nf, #dd-a:checked ~ .dd-stage .v-ao, #dd-a:checked ~ .dd-stage .v-a,
#dd-f:checked ~ .dd-stage .v-f, #dd-f:checked ~ .dd-stage .v-fo,
#dd-x:checked ~ .dd-stage .v-a, #dd-x:checked ~ .dd-stage .v-f, #dd-x:checked ~ .dd-stage .v-x { display: inline }
#dd-d:checked ~ .dd-stage li.v-nf, #dd-a:checked ~ .dd-stage li.v-nf, #dd-a:checked ~ .dd-stage li.v-a,
#dd-f:checked ~ .dd-stage li.v-f, #dd-x:checked ~ .dd-stage li.v-a, #dd-x:checked ~ .dd-stage li.v-f { display: grid }

/* portrait: the monitor and the fuser row move up into the rows a smaller mode leaves empty */
#dd-d:checked ~ .dd-stage .dd-p .g-monitor { transform: translate(0, -260px) }
#dd-a:checked ~ .dd-stage .dd-p .g-monitor { transform: translate(0, -130px) }
#dd-f:checked ~ .dd-stage .dd-p .g-monitor, #dd-f:checked ~ .dd-stage .dd-p .g-fuser { transform: translate(0, -130px) }

/* ---------------------------------------------------------------- devices */
.dv-desk { stroke: var(--dd-edge); stroke-width: 1 }
.dv-deskedge { fill: #0c0d11 }
.dv-shadow { fill: #000; opacity: .45 }
.dv-foot { fill: #0c0d10 }
.dd-box { stroke: var(--dd-line); stroke-width: 1.6; transition: stroke .2s }
.dv-glass { stroke: rgba(246, 242, 234, .1); stroke-width: 1.2 }
.dv-reflect { fill: #fff; opacity: .035 }
.dv-board { fill: #12151b; stroke: rgba(246, 242, 234, .06) }
.dv-fanring { fill: #0e1015; stroke: rgba(246, 242, 234, .22); stroke-width: 1.4 }
.dv-fan { fill: none; stroke: rgba(246, 242, 234, .12); stroke-width: 1 }
.dv-hub { fill: #242833; stroke: rgba(246, 242, 234, .25) }
.dv-blade { fill: none; stroke: rgba(246, 242, 234, .2); stroke-width: 2; stroke-linecap: round }
.dv-ram { fill: #1d2129; stroke: rgba(246, 242, 234, .18) }
.dv-slot { fill: #050608; stroke: rgba(246, 242, 234, .12) }
.dv-gpu { stroke: rgba(246, 242, 234, .26); stroke-width: 1.4 }
.dv-gpuline { fill: rgba(246, 242, 234, .14) }
.dv-bracket { fill: #3a3f4a; stroke: rgba(246, 242, 234, .3); stroke-width: 1 }
.dv-bracket-dma { fill: #4a3a1c; stroke: rgba(245, 166, 35, .6) }
.dv-accent { fill: rgba(246, 242, 234, .18) }
.dv-led { fill: #7ee0a1; opacity: .9 }
.dv-panel { fill: rgba(0, 0, 0, .25); stroke: rgba(246, 242, 234, .07) }
.dv-bay { fill: #0a0b0e; stroke: rgba(246, 242, 234, .14) }
.dv-vent { fill: none; stroke: rgba(246, 242, 234, .1); stroke-width: 2; stroke-linecap: round }
.dv-frame { fill: #101217 }
.dv-screen { stroke: rgba(0, 0, 0, .6) }
.dv-hills { fill: #0f1219; opacity: .9 }
.dv-sun { fill: #ffd389; opacity: .35 }
.dv-chin { fill: rgba(246, 242, 234, .25) }
.dv-neck { fill: #1b1e25; stroke: rgba(246, 242, 234, .14) }
.dv-base { fill: #1b1e25; stroke: rgba(246, 242, 234, .2) }
.dv-pcb { fill: #131519 }
.dv-silk { fill: none; stroke: rgba(246, 242, 234, .1); stroke-dasharray: 2 3 }
.dv-kb { fill: #15171c }
.dv-key { fill: #22262e; stroke: rgba(0, 0, 0, .5); stroke-width: .5 }
.dv-split { fill: none; stroke: rgba(246, 242, 234, .16); stroke-width: 1.2 }
.dv-wheel { fill: #2c313b }

/* the DMA card: amber PCB, gold fingers, a glow on the glass */
.dd-box-dma { stroke: var(--amber, #f5a623); stroke-width: 2 }
.dv-chip { fill: #0b0b0d; stroke: rgba(245, 166, 35, .7) }
.dv-chipdot { fill: rgba(245, 166, 35, .55) }
.dv-gold { fill: #d9a43a }
.dv-cardled { fill: var(--amber, #f5a623) }
.dv-glow { opacity: .55; pointer-events: none }

/* text */
.dd-name { fill: var(--paper, #f6f2ea); font-size: 18px; font-weight: 700 }
.dd-name-s { font-size: 15px }
.dd-sub { fill: var(--warm, #ffd389); font-size: 16px; font-weight: 700 }
.dd-cap { fill: var(--dd-muted); font-size: 15px }
.dd-cap-s { font-size: 12px }
.dd-edgelbl { fill: var(--dd-muted); font-size: 14px; paint-order: stroke; stroke: var(--dd-coal); stroke-width: 5px; stroke-linejoin: round }
.dd-p .dd-name { font-size: 15px }
.dd-p .dd-sub { font-size: 13px }
.dd-p .dd-cap, .dd-p .dd-edgelbl { font-size: 12px }
.dd-p .dd-edgelbl { stroke-width: 4px }
.dd-text, .dd-name, .dd-sub, .dd-cap, .dd-edgelbl { pointer-events: none }

/* ports: the plug end of every cable */
.dd-port { fill: #2a2e37; stroke: rgba(246, 242, 234, .45); stroke-width: 1.2 }
.dd-port-data { fill: var(--amber, #f5a623); stroke: var(--warm, #ffd389) }
.dd-port-jtag { fill: #1a1c22; stroke: rgba(245, 166, 35, .7); stroke-dasharray: 3 2.5 }

/* cables: a dark sheath under a coloured core; the wide transparent path is the hover target */
.dd-hit { fill: none; stroke: transparent; stroke-width: 18; pointer-events: stroke }
.dd-sheath { fill: none; stroke: #050507; stroke-linecap: round; stroke-linejoin: round; stroke-width: 9; opacity: .9 }
.dd-line { fill: none; stroke-linecap: round; stroke-linejoin: round; transition: stroke-width .2s, stroke .2s }
.e-data .dd-sheath { stroke-width: 11 }
.e-data .dd-line { stroke: var(--amber, #f5a623); stroke-width: 5 }
.e-video .dd-line { stroke: var(--dd-video); stroke-width: 3.4 }
.e-usb .dd-line { stroke: var(--dd-usb); stroke-width: 3; stroke-dasharray: 10 6 }
.e-in .dd-line { stroke: var(--dd-usb); stroke-width: 3.2; stroke-dasharray: 1 7 }
.e-power .dd-line { stroke: var(--dd-usb); stroke-width: 2.4; stroke-dasharray: 3 5 }
.e-power .dd-sheath { stroke-width: 6 }
.dd-p .dd-sheath { stroke-width: 7 }
.dd-p .e-data .dd-sheath { stroke-width: 8 }
.dd-p .e-data .dd-line { stroke-width: 3.6 }
.dd-p .e-video .dd-line { stroke-width: 2.6 }
.dd-p .e-usb .dd-line, .dd-p .e-in .dd-line { stroke-width: 2.4 }

/* the device a product page is about gets the amber outline */
.dd[data-focus="aim"] .dd-node[data-n="aim"] .dd-box,
.dd[data-focus="fuser"] .dd-node[data-n="fuser"] .dd-box { stroke: var(--amber, #f5a623); stroke-width: 2.6 }
.dd[data-focus="card"] .dd-card .dd-box { stroke-width: 3 }

/* plain-text legend: two columns when the scene is wide */
.dd-legend { list-style: none; margin: 26px 0 0; padding: 0; max-width: 78ch; display: grid; gap: 4px }
.dd-legend li {
  display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: baseline;
  padding: 7px 0; color: var(--dd-muted); font-size: .95rem; line-height: 1.55; border-radius: 3px; transition: color .2s;
}
@container (min-width: 1000px) {
  .dd-legend { max-width: none; grid-template-columns: 1fr 1fr; column-gap: 48px }
}
.dd-legend li:focus-visible { outline: 2px solid var(--amber, #f5a623); outline-offset: 3px }
.dd-sw { display: block; align-self: center; height: 0; border-top: 3px solid var(--dd-muted); border-radius: 2px }
.dd-sw-data { border-top-color: var(--amber, #f5a623); border-top-width: 5px }
.dd-sw-video { border-top-color: var(--dd-video) }
.dd-sw-usb { border-top-style: dashed }
.dd-sw-in { border-top-style: dotted; border-top-width: 4px }
.dd-sw-power { border-top-style: dotted; border-top-width: 2px }
.dd-sw-jtag { width: 14px; height: 14px; border: 2px dashed rgba(245, 166, 35, .7); border-radius: 2px; justify-self: center }
.dd-sw-note { visibility: hidden }

/* hover / keyboard focus: cable, device and legend row light up together */
.dd-node:hover .dd-box { stroke: var(--paper, #f6f2ea) }
.dd:has(:is(.dd-edge, .dd-legend li)[data-k="data"]:is(:hover, :focus-visible)) .dd-edge[data-k="data"] .dd-line { stroke-width: 7 }
.dd:has(:is(.dd-edge, .dd-legend li)[data-k="direct"]:is(:hover, :focus-visible)) .dd-edge[data-k="direct"] .dd-line,
.dd:has(:is(.dd-edge, .dd-legend li)[data-k="vgame"]:is(:hover, :focus-visible)) .dd-edge[data-k="vgame"] .dd-line,
.dd:has(:is(.dd-edge, .dd-legend li)[data-k="vpc2"]:is(:hover, :focus-visible)) .dd-edge[data-k="vpc2"] .dd-line,
.dd:has(:is(.dd-edge, .dd-legend li)[data-k="vout"]:is(:hover, :focus-visible)) .dd-edge[data-k="vout"] .dd-line { stroke-width: 5; stroke: #fff }
.dd:has(:is(.dd-edge, .dd-legend li)[data-k="aim_game"]:is(:hover, :focus-visible)) .dd-edge[data-k="aim_game"] .dd-line,
.dd:has(:is(.dd-edge, .dd-legend li)[data-k="aim_pc2"]:is(:hover, :focus-visible)) .dd-edge[data-k="aim_pc2"] .dd-line,
.dd:has(:is(.dd-edge, .dd-legend li)[data-k="mouse"]:is(:hover, :focus-visible)) .dd-edge[data-k="mouse"] .dd-line,
.dd:has(:is(.dd-edge, .dd-legend li)[data-k="power"]:is(:hover, :focus-visible)) .dd-edge[data-k="power"] .dd-line { stroke-width: 4.6; stroke: var(--paper, #f6f2ea) }
.dd:has(:is(.dd-edge, .dd-legend li)[data-k="data"]:is(:hover, :focus-visible)) .dd-legend li[data-k="data"],
.dd:has(:is(.dd-edge, .dd-legend li)[data-k="jtag"]:is(:hover, :focus-visible)) .dd-legend li[data-k="jtag"],
.dd:has(:is(.dd-edge, .dd-legend li)[data-k="direct"]:is(:hover, :focus-visible)) .dd-legend li[data-k="direct"],
.dd:has(:is(.dd-edge, .dd-legend li)[data-k="aim_game"]:is(:hover, :focus-visible)) .dd-legend li[data-k="aim_game"],
.dd:has(:is(.dd-edge, .dd-legend li)[data-k="aim_pc2"]:is(:hover, :focus-visible)) .dd-legend li[data-k="aim_pc2"],
.dd:has(:is(.dd-edge, .dd-legend li)[data-k="mouse"]:is(:hover, :focus-visible)) .dd-legend li[data-k="mouse"],
.dd:has(:is(.dd-edge, .dd-legend li)[data-k="vgame"]:is(:hover, :focus-visible)) .dd-legend li[data-k="vgame"],
.dd:has(:is(.dd-edge, .dd-legend li)[data-k="vpc2"]:is(:hover, :focus-visible)) .dd-legend li[data-k="vpc2"],
.dd:has(:is(.dd-edge, .dd-legend li)[data-k="vout"]:is(:hover, :focus-visible)) .dd-legend li[data-k="vout"],
.dd:has(:is(.dd-edge, .dd-legend li)[data-k="power"]:is(:hover, :focus-visible)) .dd-legend li[data-k="power"],
.dd:has(.dd-node[data-n="card"]:hover) .dd-legend li[data-n~="card"],
.dd:has(.dd-node[data-n="game"]:hover) .dd-legend li[data-n~="game"],
.dd:has(.dd-node[data-n="pc2"]:hover) .dd-legend li[data-n~="pc2"],
.dd:has(.dd-node[data-n="aim"]:hover) .dd-legend li[data-n~="aim"],
.dd:has(.dd-node[data-n="mouse"]:hover) .dd-legend li[data-n~="mouse"],
.dd:has(.dd-node[data-n="fuser"]:hover) .dd-legend li[data-n~="fuser"],
.dd:has(.dd-node[data-n="monitor"]:hover) .dd-legend li[data-n~="monitor"],
.dd:has(.dd-node[data-n="adapter"]:hover) .dd-legend li[data-n~="adapter"] { color: var(--paper, #f6f2ea) }
.dd:has(:is(.dd-edge, .dd-legend li)[data-k="data"]:is(:hover, :focus-visible)) .dd-legend li[data-k="data"] .dd-sw { border-top-width: 7px }

@container (max-width: 480px) {
  .dd-modes { gap: 0 18px }
  .dd-legend li { grid-template-columns: 40px 1fr; gap: 10px }
}

/* ---------------------------------------------------------------- motion */
.dd { --dd-cycle: 16s }
.dd-jump { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; padding-inline: 4px; color: var(--warm, #ffd389); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: transparent; transition: text-decoration-color .2s }
.dd-jump span { margin-left: 5px }
.dd-jump:hover, .dd-jump:focus-visible { text-decoration-color: currentColor }
.dd-jump:focus-visible { outline: 2px solid var(--amber, #f5a623); outline-offset: 2px; border-radius: 3px }
.hardware-page > .dd { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line-soft, rgba(255, 255, 255, .08)) }

/* step sequence + pause switch (the checkbox is visually hidden like the mode radios) */
.dd-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 24px; margin-bottom: 14px; max-width: 1200px }
.dd-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 20px; color: var(--dd-muted); font-size: .88rem }
.dd-steps li { position: relative; padding-block: 12px 14px; line-height: 1.3; --lo: .7 }
.dd-steps b { color: var(--amber, #f5a623); font-variant-numeric: tabular-nums }
.dd-steps li::after { content: ""; position: absolute; inset: auto 0 6px; height: 2px; background: var(--amber, #f5a623); opacity: 0; --lo: 0 }
#dd-d:checked ~ .dd-tools li[data-s="input"] { display: none }
.dd-pausebtn { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--dd-muted); font-size: .88rem; font-weight: 600; transition: color .2s }
.dd-pausebtn::before { content: "\275A\275A"; font-size: .7rem; letter-spacing: -1px }
.dd-pausebtn:hover { color: var(--paper, #f6f2ea) }
#dd-pause:checked ~ .dd-tools .dd-pausebtn { color: var(--warm, #ffd389) }
#dd-pause:checked ~ .dd-tools .dd-pausebtn::before { content: "\25B6" }
#dd-pause:focus-visible ~ .dd-tools .dd-pausebtn { outline: 2px solid var(--amber, #f5a623); outline-offset: 4px; border-radius: 2px }

/* smooth mode changes: the portrait crop glides, the monitor / fuser row slide into place, added parts fade in */
.dd-l, .dd-p { transition: width .45s var(--ease, ease), aspect-ratio .45s var(--ease, ease) }
.dd .g-monitor, .dd .g-fuser { transition: transform .5s var(--ease, ease) }
@keyframes dd-in { from { opacity: 0 } }

/* flowing data: bright packets travel along the cable (amber = DMA data path, light = video) */
.dd-flow { fill: none; stroke-linecap: round; stroke-linejoin: round; pointer-events: none }
.e-data .dd-flow { stroke: #fff3d6; stroke-width: 5.6; stroke-dasharray: 8 42; --dd-per: -50; animation: dd-flow 1.4s linear infinite, dd-act-data var(--dd-cycle) linear infinite }
.e-video .dd-flow { stroke: #fff; stroke-width: 3.6; stroke-dasharray: 12 52; --dd-per: -64; animation: dd-flow 2.4s linear infinite, dd-act-video var(--dd-cycle) linear infinite }
.dd-p .e-data .dd-flow { stroke-width: 4 }
.dd-p .e-video .dd-flow { stroke-width: 2.8 }
@keyframes dd-flow { to { stroke-dashoffset: var(--dd-per) } }
/* USB, input and power are marching dashes in their muted colour (a second animation = the step dimming below) */
.e-usb .dd-line { --dd-per: -16 }
.e-in .dd-line { --dd-per: -8 }
.e-power .dd-line { --dd-per: -8 }
.e-usb .dd-line, .e-in .dd-line { animation: dd-march 1.6s linear infinite, dd-act-input var(--dd-cycle) linear infinite }
.e-in .dd-line { animation-duration: 1.9s, var(--dd-cycle) }
.e-power .dd-line { animation: dd-march 1.6s linear infinite, dd-act-power var(--dd-cycle) linear infinite }
/* input travels from the aim device / mouse towards the PC, so those cables flow the other way */
[data-k="aim_game"] .dd-line, [data-k="mouse"] .dd-line { animation-direction: reverse, normal }
@keyframes dd-march { to { stroke-dashoffset: var(--dd-per) } }

/* soft pulses on the plugs, staggered */
.dd-edge .dd-port, .dd-card .dd-port { transform-box: fill-box; transform-origin: center; animation: dd-port 2.6s ease-in-out infinite }
.dd-edge:nth-child(3n) .dd-port { animation-delay: -.9s }
.dd-edge:nth-child(3n + 1) .dd-port { animation-delay: -1.7s }
@keyframes dd-port { 50% { transform: scale(1.25); opacity: .75 } }

/* heartbeat on the DMA card: a double beat in a soft amber halo behind the PCB */
.dd-halo { fill: var(--amber, #f5a623); opacity: 0; pointer-events: none; transform-box: fill-box; transform-origin: center; animation: dd-beat 2.4s ease-in-out infinite }
@keyframes dd-beat {
  0% { opacity: 0; transform: scale(1) }
  12% { opacity: .4; transform: scale(1.06, 1.3) }
  24% { opacity: .1; transform: scale(1.01) }
  36% { opacity: .3; transform: scale(1.05, 1.24) }
  56%, 100% { opacity: 0; transform: scale(1) }
}

/* the loop: power -> card in the gaming PC -> data path -> video -> input. One 16 s cycle; the step
   in play is at full strength, every other device rests dimmed (--lo). Labels never dim. */
.dd-node { --lo: .55 }
.dd-card { --lo: .7 }
.dd-node[data-n="adapter"], .dd-steps li[data-s="power"], .dd-steps li[data-s="power"]::after { animation: dd-act-power var(--dd-cycle) linear infinite }
.dd-card, .dd-steps li[data-s="card"], .dd-steps li[data-s="card"]::after { animation: dd-act-card var(--dd-cycle) linear infinite }
.e-data .dd-line, .dd-steps li[data-s="data"], .dd-steps li[data-s="data"]::after { animation: dd-act-data var(--dd-cycle) linear infinite }
.e-video .dd-line, .dd-node[data-n="monitor"], .dd-node[data-n="fuser"], .dd-steps li[data-s="video"], .dd-steps li[data-s="video"]::after { animation: dd-act-video var(--dd-cycle) linear infinite }
.dd-node[data-n="aim"], .dd-node[data-n="mouse"], .dd-steps li[data-s="input"], .dd-steps li[data-s="input"]::after { animation: dd-act-input var(--dd-cycle) linear infinite }
.dd-node[data-n="game"] { animation: dd-act-pc var(--dd-cycle) linear infinite }
.dd-node[data-n="pc2"] { animation: dd-act-pc2 var(--dd-cycle) linear infinite }
@keyframes dd-act-power { 0%, 15% { opacity: 1 } 19%, 96% { opacity: var(--lo, .42) } 100% { opacity: 1 } }
@keyframes dd-act-card { 0%, 15% { opacity: var(--lo, .42) } 19%, 34% { opacity: 1 } 38%, 100% { opacity: var(--lo, .42) } }
@keyframes dd-act-data { 0%, 34% { opacity: var(--lo, .42) } 38%, 59% { opacity: 1 } 63%, 100% { opacity: var(--lo, .42) } }
@keyframes dd-act-video { 0%, 59% { opacity: var(--lo, .42) } 63%, 78% { opacity: 1 } 82%, 100% { opacity: var(--lo, .42) } }
@keyframes dd-act-input { 0%, 78% { opacity: var(--lo, .42) } 82%, 94% { opacity: 1 } 98%, 100% { opacity: var(--lo, .42) } }
@keyframes dd-act-pc { 0%, 34% { opacity: 1 } 38%, 100% { opacity: var(--lo, .42) } }
@keyframes dd-act-pc2 { 0%, 15% { opacity: 1 } 19%, 34% { opacity: var(--lo, .42) } 38%, 59% { opacity: 1 } 63%, 96% { opacity: var(--lo, .42) } 100% { opacity: 1 } }
/* the product the page is about is never dimmed */
.dd[data-focus="card"] .dd-card, .dd[data-focus="aim"] .dd-node[data-n="aim"], .dd[data-focus="fuser"] .dd-node[data-n="fuser"] { animation: none }

/* paused (switch) = the static diagram; off-screen = the loop is held */
#dd-pause:checked ~ .dd-stage *, #dd-pause:checked ~ .dd-tools .dd-steps li, #dd-pause:checked ~ .dd-tools .dd-steps li::after { animation: none }
#dd-pause:checked ~ .dd-stage .dd-flow { display: none }
.dd-off .dd-stage *, .dd-off .dd-steps li, .dd-off .dd-steps li::after { animation-play-state: paused !important }

@container (max-width: 480px) {
  .dd-steps { gap: 0 14px; font-size: .82rem }
}
@media (prefers-reduced-motion: reduce) {
  .dd *, .dd *::after, .dd-modes label, .dd-jump { animation: none !important; transition: none !important }
  .dd .dd-flow { display: none !important }
  .dd-tools { display: none }
}
