/* /ocdelay only: real app screenshots, the try-the-switch demo, the multistream diagram, control + setup pictures.
   Built on site.css tokens. App fragments (screens, OBS fields, Stream Deck keys) keep the app's own dark look in both themes. */
.od-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding-block: 56px 40px; }
.od-hero h1 { font-size: clamp(38px, 5.2vw, 64px); font-weight: 900; line-height: 1; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.od-hero .sub { color: var(--fg-2); margin: 18px 0 0; max-width: 46ch; }
.od-hero .actions { margin-top: 26px; }
.od-hero .notes { margin-top: 14px; }
.od-shot { margin: 0; border-radius: 14px; overflow: hidden; background: #0a0f1c; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); }
.od-shot img, .od-shot video { display: block; width: 100%; height: auto; }
.od-shot figcaption { padding: 10px 14px; font-size: 14px; color: #a7b2cc; background: #111a2e; }

/* try the switch */
.od-demo { display: grid; gap: 18px; }
.od-screens { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.od-screen { position: relative; border-radius: 12px; overflow: hidden; background: #101622; aspect-ratio: 16 / 9; }
.od-screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.od-screen .lbl, .od-screen .clock { position: absolute; top: 10px; z-index: 2; background: rgb(0 0 0 / .6); color: #fff; border-radius: 6px; padding: 4px 9px; font: 700 13px/1.2 'Outfit', sans-serif; }
.od-screen .lbl { left: 10px; }
.od-screen .lbl.live { background: #e5354b; }
.od-screen .clock { right: 10px; font-variant-numeric: tabular-nums; }
.od-screen .slate { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; }
.od-screen.slating .slate { opacity: 1; }
.od-ctl { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: #16244a; border-radius: 16px; padding: 14px 16px; color: #fff; }
.od-ctl.on { background: #1f5fd1; }
.od-sw { position: relative; width: 116px; height: 48px; border-radius: 12px; border: 0; background: rgb(0 0 0 / .35); cursor: pointer; padding: 0; flex: none; }
.od-sw i { position: absolute; top: 5px; left: 5px; width: 38px; height: 38px; border-radius: 9px; background: #fff; transition: left .15s; }
.od-sw span { position: absolute; inset: 0 0 0 44px; display: grid; place-items: center; font: 800 18px/1 'Outfit', sans-serif; color: #fff; }
.od-sw[aria-checked="true"] { background: #f0c040; }
.od-sw[aria-checked="true"] i { left: 73px; }
.od-sw[aria-checked="true"] span { inset: 0 44px 0 0; color: #0b1530; }
.od-seg { display: inline-grid; grid-auto-flow: column; gap: 3px; background: rgb(0 0 0 / .28); border-radius: 10px; padding: 4px; }
.od-seg button { border: 0; background: none; color: rgb(255 255 255 / .75); font: 700 14px/1 'Outfit', sans-serif; padding: 7px 10px; border-radius: 7px; cursor: pointer; }
.od-seg button[aria-pressed="true"] { background: #fff; color: #0b1530; }
.od-sw:focus-visible, .od-seg button:focus-visible { outline: 3px solid #f0c040; outline-offset: 2px; }
.od-status { font: 700 20px/1.2 'Outfit', sans-serif; margin: 0; min-width: 0; }
.od-status .n { display: inline-block; background: rgb(5 14 34 / .55); color: #f0c040; border-radius: 9px; padding: 3px 9px; font-weight: 900; font-variant-numeric: tabular-nums; }
.od-note { color: var(--muted); font-size: 15px; margin: 0; }

/* what viewers see */
.od-viewers { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.od-clips { display: grid; grid-template-columns: minmax(0, 3.15fr) minmax(0, 1fr); gap: 12px; align-items: end; }
.od-clips .cap { grid-column: 1 / -1; color: var(--muted); font-size: 15px; margin: 0; }
.od-states { display: grid; gap: 14px; }
.od-states img { display: block; width: 100%; height: auto; border-radius: 10px; }
.od-states p { font-size: 15px; color: var(--fg-2); margin: 6px 0 0; }

/* multistream */
.od-flow { background: var(--card); border-radius: 16px; padding: 24px; overflow-x: auto; margin-bottom: 28px; }
.od-flow svg { display: block; width: 100%; min-width: 640px; height: auto; }
.od-flow text { font-family: 'Outfit', sans-serif; }
.od-flow .ln { fill: none; stroke-width: 3; stroke-dasharray: 8 8; animation: od-flow 1.2s linear infinite; }
@keyframes od-flow { to { stroke-dashoffset: -16; } }
.od-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.od-facts h3 { font-size: 19px; margin: 0 0 6px; }
.od-facts p { color: var(--fg-2); font-size: 16px; margin: 0; }

/* control it your way */
.od-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.od-way { display: grid; gap: 10px; align-content: start; }
.od-way h3 { font-size: 20px; margin: 0; }
.od-way p { color: var(--fg-2); font-size: 16px; margin: 0; }
.od-dock { border-radius: 10px; overflow: hidden; max-width: 260px; max-height: 250px; background: #0a0f1c; }
.od-dock img { display: block; width: 100%; height: auto; }
.od-deck { display: grid; grid-template-columns: repeat(3, 72px); gap: 10px; background: #1b1b1f; border-radius: 14px; padding: 14px; width: max-content; max-width: 100%; }
.od-key { width: 72px; height: 72px; border-radius: 12px; background: #0c1220; color: #fff; display: grid; place-items: center; align-content: center; gap: 4px; font: 700 11px/1.1 'Outfit', sans-serif; text-align: center; }
.od-key svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.od-key.on { background: #f0c040; color: #0b1530; }
.od-key.blank { background: #141417; }

/* OBS settings fragments */
.od-obs { background: #272a33; color: #e6e6e6; border-radius: 10px; padding: 14px; font: 13.5px/1.4 "Segoe UI", system-ui, sans-serif; display: grid; gap: 9px; }
.od-obs .row { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: center; gap: 8px; }
.od-obs .lab { color: #b8b8b8; text-align: right; }
.od-obs .fld { background: #1d1f26; border: 1px solid #3c3f4a; border-radius: 4px; padding: 5px 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.od-obs .fld.hl { border-color: #f0c040; box-shadow: 0 0 0 2px rgb(240 192 64 / .35); }
.od-obs .chk { display: flex; gap: 7px; align-items: center; }
.od-obs .box { width: 14px; height: 14px; border-radius: 3px; background: #2b7de9; display: grid; place-items: center; color: #fff; font-size: 11px; line-height: 1; }
.od-steps li { display: grid; gap: 12px; align-content: start; }
.od-file { background: var(--card); border-radius: 12px; padding: 16px 18px; display: grid; gap: 4px; }
.od-file small { color: var(--muted); }

@media (max-width: 900px) {
  .od-hero, .od-viewers { grid-template-columns: minmax(0, 1fr); }
  .od-facts, .od-ways { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) { .od-screens { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .od-flow .ln { animation: none; } .od-sw i, .od-screen .slate { transition: none; } }
.od-h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; margin: 0 0 18px; text-wrap: balance; }
