/* Overlays uses the shared FRAME foundation and its violet destination accent. */
body { background: radial-gradient(ellipse at 90% 3%, rgb(188 161 255 / 8%), transparent 25%), #06151e; }
.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: end; padding-block: 44px 64px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0 0 35px; list-style: none; font: 11px/1.6 var(--mono); color: var(--muted); }
.breadcrumb li { display: flex; gap: 12px; }
.breadcrumb [aria-current] { color: var(--tool-accent); }
.breadcrumb a:hover { color: var(--ice); }
h1 { font-size: clamp(42px, 4.6vw, 65px); }
h1 > span, main .eyebrow { color: var(--tool-accent); }
.hero-copy > p:first-child { margin: 0 0 27px; max-width: 460px; color: #c1d5df; font-size: 17px; line-height: 1.8; }
.hero-copy .hero-note { margin: 23px 0 5px; color: var(--muted); font-size: 12px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading > p { max-width: 360px; color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; }
.example-badge { color: #cbb8f6; font: 10px/1.7 var(--mono); text-align: right; }
#overlays-demo { --example-accent: #6cdbff; }
#overlays-demo[data-accent="violet"] { --example-accent: #c1a6ff; }
#overlays-demo[data-accent="amber"] { --example-accent: #ffd08b; }
.output-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.output-card { margin: 0; min-width: 0; background: #0b202c; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.output-label { display: flex; gap: 10px; align-items: center; padding: 15px 17px; }
.output-label > .icon { color: var(--tool-accent); width: 18px; height: 18px; }
.output-label h3 { font-size: 14px; }
.output-label > span { margin-left: auto; color: var(--muted); font: 9px/1.5 var(--mono); }
.scene { position: relative; aspect-ratio: 16 / 10; background: #1d312b; isolation: isolate; overflow: hidden; }
.scene > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; z-index: -2; }
.scene::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(3 13 20 / 55%), transparent 35%, rgb(3 13 20 / 22%)); }
.scene-upload > img { object-position: 50% 65%; }
.scene-label { position: absolute; left: 20px; top: 18px; font: 10px/1.5 var(--mono); color: #fff; letter-spacing: .025em; }
.overlay-widget { position: absolute; bottom: 20px; left: 20px; width: min(330px, calc(100% - 40px)); padding: 14px; color: #eef7ff; background: rgb(4 14 24 / 92%); border: 1px solid rgb(220 233 255 / 28%); border-left: 3px solid var(--example-accent); border-radius: 4px; box-shadow: 0 6px 26px rgb(0 0 0 / 22%); }
[data-position="right"] .overlay-widget { left: auto; right: 20px; }
.widget-title { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--example-accent); font-size: 12px; font-weight: 650; }
.widget-title .icon { width: 16px; height: 16px; }
.signal-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--example-accent); }
.connection-state { margin-left: auto; color: #c1d2dd; font-size: 9px; font-weight: 400; }
.stream-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 0; }
.stream-metrics dt { color: #b4c7d3; font-size: 9px; }
.stream-metrics dd { font-size: 19px; margin: 5px 0 0; font-variant-numeric: tabular-nums; letter-spacing: -.035em; white-space: nowrap; }
.stream-metrics small { font-size: 9px; font-weight: 400; color: #b4c7d3; letter-spacing: 0; }
.upload-widget { min-height: 135px; }
.upload-file { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 10px; align-items: center; margin-block: 14px 9px; }
.upload-file strong { font-size: 11px; font-weight: 500; }
.upload-file span { color: #c1d2dd; font: 9px/1.5 var(--mono); }
.upload-widget > p { font-size: 10px; line-height: 1.6; margin: 7px 0 0; color: #c1d2dd; }
#upload-progress { appearance: none; display: block; width: 100%; height: 4px; border: 0; border-radius: 2px; background: #405264; color: var(--example-accent); }
#upload-progress::-webkit-progress-bar { background: #405264; border-radius: 2px; }
#upload-progress::-webkit-progress-value { background: var(--example-accent); border-radius: 2px; }
#upload-progress::-moz-progress-bar { background: var(--example-accent); border-radius: 2px; }
#upload-progress:indeterminate, #upload-progress:indeterminate::-webkit-progress-bar { background: repeating-linear-gradient(120deg, var(--example-accent) 0 7px, #405264 7px 14px); }
#upload-progress:indeterminate::-moz-progress-bar { background: repeating-linear-gradient(120deg, var(--example-accent) 0 7px, #405264 7px 14px); }
.output-card figcaption { color: #b4ccd9; font-size: 12px; line-height: 1.8; padding: 17px 20px 19px; }
.demo-controls-panel { padding: 26px; margin-top: 20px; background: #0b1b29; border: 1px solid var(--line); border-radius: 6px; display: grid; grid-template-columns: 1fr 2fr; gap: 0 35px; }
.controls-intro h3 { font-size: 19px; }
.controls-intro p { max-width: 260px; margin: 10px 0 0; font-size: 13px; line-height: 1.7; color: var(--muted); }
.control-options { display: flex; gap: 18px 30px; flex-wrap: wrap; }
.choice-group legend { font-size: 11px; color: #c1d5df; padding: 0; margin-bottom: 9px; }
.choices { display: flex; flex-wrap: wrap; gap: 7px; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.choices label > span { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; }
.choices input:checked + span { border-color: var(--tool-accent); background: rgb(188 161 255 / 10%); }
.choices input:focus-visible { outline: 0; }
.choices input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 3px; }
.swatch { width: 9px; height: 9px; border-radius: 50%; background: #6cdbff; }
.swatch.violet { background: #c1a6ff; }
.swatch.amber { background: #ffd08b; }
.demo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 19px; }
.reset-button { min-height: 44px; background: transparent; border: 0; padding: 10px 0; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.reset-button:hover { color: var(--ice); }
#overlay-controls:disabled { opacity: .55; }
.demo-status { grid-column: 1 / -1; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); min-height: 39px; font: 11px/1.7 var(--mono); color: #c0adf0; }
.no-script { font-size: 13px; line-height: 1.7; color: var(--gold); }
.example-note, .small-note { color: var(--muted); font-size: 11px; line-height: 1.8; }
.example-note { max-width: 1020px; margin: 17px 0 0; }
.journey-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 25px; margin: 40px 0 17px; }
.journey-heading h3 { font-size: 18px; }
.journey-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.upload-journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.upload-journey li { padding-top: 18px; border-top: 2px solid #6cdbff; }
.upload-journey li:nth-child(2) { border-color: var(--gold); }
.upload-journey li:nth-child(3) { border-color: #e6d879; }
.upload-journey li:nth-child(4) { border-color: #70e0b2; }
.journey-number { color: var(--muted); font: 10px/1.5 var(--mono); }
.upload-journey h4 { font-size: 13px; font-weight: 600; margin: 11px 0 7px; }
.upload-journey p { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0; }
.demo-section > .small-note { margin: 19px 0 0; }
.capabilities, .setup { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; }
.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.capability-grid .icon { color: var(--tool-accent); margin-bottom: 16px; }
.capability-grid p { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 12px 0 0; }
.workflow-diagram { display: grid; grid-template-columns: 1.2fr 44px 1fr 44px 1fr; align-items: center; }
.feed-sources { display: grid; gap: 12px; }
.flow-card { border: 1px solid var(--line); border-left: 2px solid var(--tool-accent, #8caaba); padding: 23px; border-radius: 4px; background: #0a1f2b; }
.flow-card > span { font: 9px/1.7 var(--mono); color: var(--tool-accent, var(--muted)); }
.flow-card h3 { margin-top: 12px; }
.flow-card p { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 9px 0 0; }
a.flow-card:hover { background: #112734; border-color: var(--tool-accent); }
.overlay-flow { background: rgb(188 161 255 / 6%); }
.obs-flow { --tool-accent: #adcaf0; }
.flow-arrow { font-size: 22px; color: #7391a2; text-align: center; }
.workflow-note { color: var(--muted); font-size: 12px; line-height: 1.9; margin: 21px 0 0; }
.workflow-note .text-link { margin-left: 12px; font-size: inherit; }
.setup { border-top: 1px solid var(--line); }
.setup .section-intro > .button { margin-top: 25px; }
.setup-steps { list-style: none; margin: 0; padding: 0; }
.setup-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 15px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.setup-steps li:first-child { padding-top: 0; }
.setup-steps li > span { font: 12px/1.8 var(--mono); color: var(--tool-accent); }
.setup-steps p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.access-note { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; background: #0a1f2b; border-left: 2px solid var(--tool-accent); padding: 24px; }
.access-note h3 { font-size: 15px; }
.access-note p { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0; }
.access-note code { color: #cbddea; font-size: 11px; }
.related { padding-bottom: 65px; }
.related > .eyebrow { margin-bottom: 12px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.related-tool { padding: 25px; border: 1px solid var(--line); border-top: 2px solid var(--tool-accent); border-radius: 4px; background: #0a1f2b; }
.related-tool:hover { border-color: var(--tool-accent); background: #102531; }
.related-tool > .icon { color: var(--tool-accent); margin-bottom: 18px; }
.related-tool p { color: var(--muted); font-size: 13px; line-height: 1.8; margin-block: 12px 20px; }
.related-tool > span { display: flex; justify-content: space-between; align-items: center; gap: 15px; color: var(--tool-accent); font-size: 12px; }
@media (max-width: 1100px) {
  .hero { gap: 35px; }
  .demo-controls-panel { grid-template-columns: 1fr 2.2fr; gap: 0 25px; }
  .output-label > span { display: none; }
  .flow-card { padding: 18px; }
}
@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; gap: 27px; padding-bottom: 45px; }
  .hero h1 br:last-child { display: none; }
  .hero-copy > p:first-child { max-width: 610px; font-size: 16px; }
  .hero-copy .hero-note { margin-bottom: 0; }
  .scene { aspect-ratio: 1; }
  .overlay-widget { left: 12px; bottom: 12px; width: min(285px, calc(100% - 46px)); padding: 12px; }
  [data-position="right"] .overlay-widget { right: 12px; }
  .scene-label { left: 14px; top: 14px; font-size: 9px; }
  .demo-controls-panel { grid-template-columns: 1fr; gap: 22px; }
  .controls-intro p { max-width: none; }
  .demo-status { margin: 0; }
  .upload-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .capabilities, .setup { grid-template-columns: 1fr; gap: 35px; }
  .workflow-diagram { grid-template-columns: 1.1fr 25px 1fr 25px 1fr; }
  .flow-card { padding: 16px; }
  .flow-card h3 { font-size: 15px; }
  .access-note { grid-template-columns: 1fr; gap: 13px; }
  .related-grid { gap: 12px; }
  .related-tool { padding: 20px; }
  .related-tool h3 { line-height: 1.5; }
}
@media (max-width: 640px) {
  .hero { padding-top: 30px; }
  .hero h1 { font-size: clamp(36px, 8vw, 50px); }
  .hero h1 br:last-child { display: initial; }
  .breadcrumb ol { margin-bottom: 28px; }
  .section-heading { flex-direction: column; align-items: start; gap: 14px; }
  .output-grid, .related-grid { grid-template-columns: 1fr; }
  .scene { aspect-ratio: 4 / 3; }
  .overlay-widget { width: min(285px, calc(100% - 46px)); }
  .output-label { padding: 14px; }
  .output-label h3 { font-size: 13px; }
  .output-label > span { display: block; font-size: 8px; }
  .output-card figcaption { padding: 15px; }
  .demo-controls-panel { padding: 21px 18px; }
  .choices label > span { padding-inline: 12px; }
  .demo-actions { gap: 7px 18px; }
  .demo-actions .button { justify-content: center; max-width: 100%; }
  .upload-journey { gap: 22px 18px; }
  .upload-journey h4 { line-height: 1.6; }
  .capability-grid { gap: 28px 22px; }
  .capability-grid h3 { font-size: 15px; line-height: 1.5; }
  .workflow-diagram { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); padding: 8px; }
  .flow-card { padding: 22px; }
  .workflow-note .text-link { margin-left: 0; display: flex; }
  .related-grid { gap: 17px; }
  .related { padding-bottom: 50px; }
}
@media (max-width: 359px) {
  .hero h1 { font-size: 33px; }
  .output-label > span { display: none; }
  .overlay-widget { padding: 10px; }
  .stream-metrics { gap: 5px; }
  .stream-metrics dd { font-size: 16px; }
  .connection-state { font-size: 8px; }
  .upload-journey, .capability-grid { grid-template-columns: 1fr; }
}
@media (forced-colors: active) {
  .choices input:checked + span { border: 3px solid Highlight; }
  .overlay-widget { background: Canvas; border: 1px solid CanvasText; }
  .scene-label { background: Canvas; color: CanvasText; padding: 4px; }
}

/* Actual saved appearance is shown before the separate website illustration. */
.configured-output { padding-bottom: 64px; }
.capture-intro { max-width: 760px; margin: -6px 0 28px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.configured-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding: 32px; background: #0a1f2b; border: 1px solid var(--line); border-radius: 6px; }
.configured-copy { max-width: 430px; }
.configured-copy h3 { font-size: 27px; line-height: 1.25; }
.configured-copy p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 16px 0; }
.configured-copy ul { color: #cadce6; padding-left: 18px; font-size: 13px; line-height: 1.8; }
.configured-copy li { padding-left: 5px; margin-bottom: 10px; }
.configured-copy li::marker { color: var(--tool-accent); }
.configured-copy .small-note { font-size: 12px; margin-bottom: 0; }
.configured-capture { margin: 0; min-width: 0; }
.queue-capture { max-width: 400px; width: 100%; justify-self: center; }
.configured-capture a { display: block; border: 1px solid #486272; border-radius: 4px; overflow: hidden; }
.configured-capture a:hover { border-color: var(--tool-accent); }
.configured-capture img { width: 100%; height: auto; }
.configured-capture figcaption { color: var(--muted); font-size: 12px; line-height: 1.8; padding-top: 12px; }
.configured-capture figcaption strong { color: #d3e2eb; font-weight: 500; }
.queue-capture figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; font: 9px/1.8 var(--mono); }
.queue-capture figcaption span { color: var(--tool-accent); }
.capture-sequence-heading { display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: baseline; margin: 32px 0 24px; }
.capture-sequence-heading h3 { font-size: 20px; }
.capture-sequence-heading p { margin: 0; font-size: 12px; line-height: 1.8; color: var(--muted); }
.capture-sequence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.capture-label { margin-bottom: 14px; }
.capture-label > span { color: var(--tool-accent); font: 9px/1.7 var(--mono); }
.capture-label h4 { margin: 7px 0 0; font-size: 17px; font-weight: 600; }
.configured-capture .capture-surface { min-height: 0; aspect-ratio: 768 / 312; display: grid; place-items: center; background: #0a1f2b; }
.completion-surface img { max-width: 330px; width: 80%; }
.capture-footnote { color: var(--muted); font-size: 11px; line-height: 1.9; margin: 24px 0 0; max-width: 950px; }
.demo-section { border-top: 1px solid var(--line); padding-top: 56px; }
@media (max-width: 850px) {
  .configured-feature { gap: 25px; padding: 24px; }
  .configured-copy h3 { font-size: 24px; }
  .configured-copy p { font-size: 13px; }
  .capture-sequence { gap: 24px; }
}
@media (max-width: 640px) {
  .configured-output { padding-bottom: 40px; }
  .configured-feature { grid-template-columns: 1fr; padding: 20px; }
  .configured-feature .configured-copy { order: 1; }
  .capture-sequence { grid-template-columns: 1fr; gap: 27px; }
  .demo-section { padding-top: 40px; }
}
