/* Signal Factory: visual story, procedural 3D and synthetic product demo. */
.signal-hero { padding-top: 58px; }
.signal-hero .hero-layout { grid-template-columns: 1fr 1.1fr; gap: 18px; }
.signal-hero h1 { font-size: clamp(46px, 5vw, 72px); line-height: 1.04; letter-spacing: -3.5px; }
.signal-hero .hero-lead { font-size: 15px; line-height: 1.8; max-width: 475px; color: #bacbd7; }
.signal-hero .hero-audience { font-size: 12px; margin-top: 26px; }
.signal-hero .hero-actions { gap: 22px; }
.signal-hero .hero-actions .button { font-size: 12px; padding: 15px 21px; }
.signal-hero .hero-actions .text-link { font-size: 12px; }
.signal-hero .experience { margin-top: 38px; }
.factory-visual { position: relative; min-width: 0; width: 100%; }
.scene-meta { display: flex; justify-content: space-between; gap: 15px; font: 9px/1.6 var(--mono); color: var(--muted); letter-spacing: .6px; }
.factory-stage { position: relative; aspect-ratio: 760 / 620; }
.factory-fallback { display: block; width: 100%; height: 100%; overflow: visible; }
.factory-canvas { position: absolute; inset: 0; }
.factory-canvas canvas { width: 100%; height: 100%; display: block; }
[data-renderer=webgl] .factory-fallback { opacity: 0; pointer-events: none; }
.svg-label { font: 11px var(--mono); letter-spacing: .8px; }
.svg-small { font: 10px var(--mono); }
.signal-paths { stroke: #376b7b; stroke-width: 2; }
.signal-travel { stroke: var(--blue); stroke-width: 3; stroke-dasharray: 10 190; stroke-linecap: round; }
.scene-readout { position: absolute; right: 0; bottom: 100px; display: flex; flex-direction: column; align-items: flex-start; background: #102430ed; border: 1px solid #52788a; padding: 14px 17px; color: var(--ink); text-align: left; cursor: pointer; }
.scene-readout > span:first-child { font: 8px var(--mono); letter-spacing: .6px; color: #bcdae6; }
.scene-readout > span:last-child { font-size: 9px; color: var(--muted); }
.scene-readout strong { font-size: 30px; font-weight: 500; letter-spacing: -1px; margin: 5px 0; }
.scene-readout small { font-size: 12px; color: var(--muted); }
.scene-readout:hover { border-color: var(--blue); }
.scene-controls { min-height: 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.scene-controls .plain-button { font-size: 10px; padding: 9px 12px; min-height: 36px; }
.scene-caption { color: var(--muted); font-size: 10px; margin-bottom: 0; }
[data-scene-node].is-active { filter: drop-shadow(0 0 5px #6eddf577); }
[data-motion=running] .signal-travel { animation: signal-flow 4s linear infinite; }
@keyframes signal-flow { to { stroke-dashoffset: -400; } }
.signal-section { background: #0b141d; }
.signal-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: start; }
.signal-sticky { position: sticky; top: 24px; }
.signal-chapters { padding-top: 10px; }
.signal-chapter { min-height: 340px; padding: 35px 0 60px 22px; border-left: 1px solid var(--line); position: relative; }
.signal-chapter::before { content: ''; position: absolute; width: 7px; height: 7px; top: 40px; left: -4px; background: #172c3d; border: 1px solid #597587; }
.signal-chapter.is-active::before { background: var(--blue); border-color: var(--blue); }
.signal-chapter h3 { font-size: 28px; font-weight: 500; letter-spacing: -.9px; margin: 16px 0; }
.signal-chapter > p { color: #b1c2cf; font-size: 14px; }
.technical-note { font-size: 11px; line-height: 1.8; padding: 12px 14px; background: #10222e; border-left: 2px solid #426d82; color: #b7cedc; margin-top: 22px; }
.signal-navigation { display: flex; gap: 10px; margin-top: 22px; }
.signal-navigation button { flex: 1; min-height: 42px; border: 1px solid var(--line); background: #10202d; color: #b3c9d8; font: 11px var(--mono); cursor: pointer; }
.signal-navigation button[aria-current] { border-color: var(--blue); color: var(--blue); background: #17313c; }
.signal-cta, .demo-cta { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-top: 30px; border-top: 1px solid var(--line); margin-top: 30px; }
.signal-cta p, .demo-cta p { font-size: 20px; letter-spacing: -.5px; }
.service-art { min-height: 105px; margin-bottom: 25px; display: flex; align-items: center; justify-content: center; }
.board-art { position: relative; width: 130px; height: 95px; min-height: 95px; background: #17413f; border: 1px solid #548d83; transform: skewY(-12deg); margin: 0 auto 35px; }
.board-art span { display: grid; place-items: center; width: 49px; height: 45px; font: 17px var(--mono); background: #101e2a; border: 1px solid #8bbac2; margin: auto; color: #aee9eb; z-index: 1; }
.board-art i { position: absolute; height: 1px; width: 95px; background: #72b8ab; left: 12px; top: 25px; }
.board-art i:nth-child(3) { top: 55px; }
.board-art i:nth-child(4) { top: 75px; }
.api-art { gap: 10px; }
.api-art i { font: 10px var(--mono); font-style: normal; border: 1px solid #50778e; background: #122939; padding: 15px 10px; color: #a9d7e6; }
.api-art > span { color: var(--blue); }
.graph-art svg { width: 95%; max-width: 240px; height: 80px; fill: none; stroke: #73e4f2; stroke-width: 2; border-bottom: 1px solid var(--line); }
.service-card { background: #0f1b25; transition: border-color .2s, background .2s; }
.service-card:hover, .service-card:focus-visible { background: #122532; }
[data-motion=running] .service-card:hover .board-art, [data-motion=running] .service-card:focus-visible .board-art { translate: 0 -4px; transition: translate .2s; }
[data-motion=running] .service-card:hover .graph-art path { stroke-dasharray: 300; animation: draw-chart 1.5s ease both; }
@keyframes draw-chart { from { stroke-dashoffset: 300; } to { stroke-dashoffset: 0; } }
.demo-section { background: #0b151e; }
.demo-shell { border: 1px solid #3d596e; background: #0f1d29; box-shadow: 0 24px 80px #0002; }
.demo-toolbar { min-height: 69px; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 22px; background: #132332; border-bottom: 1px solid #344e63; }
.demo-toolbar > span:first-child { font: 10px var(--mono); letter-spacing: 1px; color: #c4dbe8; }
.demo-badge { font: 8px var(--mono); color: #b2d2d9; padding: 5px 10px; border: 1px solid #4e7180; }
.demo-toolbar button { font-size: 10px; min-height: 36px; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: #8ae6c8; border-radius: 50%; margin: 0 7px 1px 0; }
.status-dot.offline { background: #b1bcc5; }
.demo-body { display: grid; grid-template-columns: 235px minmax(0, 1fr); }
.demo-devices { padding: 24px 18px; border-right: 1px solid #344e63; background: #101c28; min-width: 0; }
.demo-devices legend { float: left; width: 100%; display: flex; justify-content: space-between; gap: 8px; font-size: 13px; margin-bottom: 23px; }
.demo-devices legend span { font: 8px/2 var(--mono); color: #aac8d6; }
.demo-device { display: flex; gap: 9px; padding: 15px 10px; border: 1px solid #324a5e; margin: 0 0 10px; background: #122433; cursor: pointer; }
.demo-device:has(input:checked) { border-color: #73e4f2; background: #16303d; }
.demo-device input { width: 12px; height: 12px; padding: 0; margin: 4px 0 0; flex-shrink: 0; accent-color: #73e4f2; }
.demo-device > span { display: flex; flex-direction: column; gap: 7px; }
.demo-device small { font: 8px var(--mono); color: #a4bfce; }
.demo-device strong { color: #dcebf4; font-size: 12px; font-weight: 500; }
.device-status { font: 9px var(--mono); color: #bdd1de; }
.demo-sidebar-note { font-size: 10px; line-height: 1.8; color: #a6bac9; margin: 24px 10px 0; }
.demo-content { padding: 26px; min-width: 0; }
.demo-content-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.demo-content-top .eyebrow { font-size: 8px; letter-spacing: 1px; }
.demo-content-top h3 { font-size: 23px; margin: 9px 0 22px; }
.demo-period { display: flex; gap: 4px; flex-shrink: 0; }
.demo-period button { font-size: 10px; padding: 8px 12px; background: transparent; color: #c2d1df; border: 1px solid #456176; cursor: pointer; }
.demo-period button[aria-pressed=true] { background: #24495b; border-color: #71bfd1; color: #e8fbff; }
.demo-statistics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #365166; margin-bottom: 20px; }
.demo-statistics > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; padding: 20px; border-right: 1px solid #365166; }
.demo-statistics > div:last-child { border-right: 0; }
.demo-statistics div > span { width: 100%; font-size: 11px; color: #b2c4d2; margin-bottom: 10px; }
.demo-statistics strong { font-size: 33px; line-height: 1.1; letter-spacing: -1px; font-weight: 500; }
.demo-statistics small { color: #b3c9d6; font-size: 9px; }
#demo-online { color: #8ae6c8; font-size: 20px; letter-spacing: -.4px; }
#demo-update { width: 100%; font-size: 8px; margin-top: 6px; }
.demo-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.demo-chart-card { border: 1px solid #365166; margin: 0; padding: 14px 12px; min-width: 0; background: #112230; }
.demo-chart-card figcaption { display: flex; justify-content: space-between; gap: 6px; font-size: 11px; color: #d1e1eb; padding: 0 4px; }
.demo-chart-card figcaption > span:last-child { font: 7px/2 var(--mono); color: #aac2d1; }
.telemetry-chart { display: block; width: 100%; height: auto; touch-action: pan-y; }
.chart-grid { stroke: #2b4356; fill: none; stroke-width: 1; }
.chart-series { fill: none; stroke: #73e4f2; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
[data-chart=vibration] .chart-series { stroke: #8ae6c8; }
.chart-cursor { stroke: #7899ac; stroke-width: 1; stroke-dasharray: 4 5; }
.chart-point { fill: #73e4f2; }
.telemetry-chart text { fill: #c4d7e4; font: 10px var(--mono); }
.chart-range-label { font-size: 10px; color: #bbcfdd; margin-top: 18px; }
#demo-point { padding: 0; width: 100%; height: 24px; accent-color: #73e4f2; }
#demo-point-info { display: block; font: 9px/1.8 var(--mono); color: #c5dce8; margin: 6px 0 20px; }
.demo-events { border-top: 1px solid #365166; padding-top: 16px; }
.demo-events h4 { margin: 0 0 15px; font-size: 12px; font-weight: 500; }
.demo-events ul { list-style: none; padding: 0; margin: 0; }
.demo-events li { font-size: 10px; color: #b4cbd9; margin-bottom: 9px; }
.demo-events li span { color: #8eafc3; font: 9px var(--mono); margin-right: 10px; }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.audience-grid article { border-right: 1px solid var(--line); padding: 25px; display: flex; flex-direction: column; min-width: 0; }
.audience-grid article:last-child { border-right: 0; }
.audience-icon { color: #9ad8e5; font: 18px var(--mono); display: inline-block; padding: 24px 0; }
.audience-grid h3 { font-size: 19px; margin: 20px 0 14px; }
.audience-grid p { font-size: 12px; color: var(--muted); margin: 0 0 25px; }
.audience-grid a { font-size: 11px; margin-top: auto; text-decoration: none; color: #bce6f0; }
.partnership-section { background: #0d1c27; }
.partnership-visual { display: flex; flex-direction: column; align-items: center; padding: 16px 0; }
.partner-module { min-width: 230px; padding: 20px; border: 1px solid #3b6074; text-align: center; background: #132938; font-size: 13px; }
.partner-module small { font: 9px var(--mono); color: #b3d4df; display: block; margin-top: 9px; }
.missing-module { border-color: var(--blue); color: #c5f4fa; }
.partner-line { width: 1px; height: 30px; background: #477889; position: relative; overflow: hidden; }
.partner-line::after { content: ''; position: absolute; width: 1px; height: 8px; background: #9aeeef; top: -8px; }
[data-motion=running] .partner-line::after { animation: partner-signal 2s linear infinite; }
@keyframes partner-signal { to { translate: 0 40px; } }
.process-step.is-active .step-number { color: #a7eff9; border-color: #73e4f2; }
.no-js .scene-controls, .no-js .signal-navigation, .no-js .demo-period, .no-js .chart-range-label, .no-js #demo-point, .no-js #demo-point-info { display: none; }
.no-js .demo-devices input { display: none; }
@media (max-width: 1150px) {
  .signal-hero h1 { font-size: 57px; letter-spacing: -2.5px; }
  .signal-hero .hero-actions { gap: 15px; }
  .signal-hero .hero-actions .button { padding-inline: 16px; font-size: 11px; }
  .signal-hero .hero-actions .text-link { font-size: 11px; }
  .signal-layout { gap: 40px; }
  .scene-meta { font-size: 8px; }
  .demo-body { grid-template-columns: 200px minmax(0, 1fr); }
  .demo-content { padding: 20px; }
  .demo-content-top h3 { font-size: 20px; }
  .demo-statistics > div { padding: 15px; }
  .demo-statistics strong { font-size: 27px; }
  .demo-charts { grid-template-columns: 1fr; }
  .telemetry-chart { max-height: 200px; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .audience-grid article:nth-child(2) { border-right: 0; }
  .audience-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .signal-hero .hero-layout { grid-template-columns: 1fr 1fr; gap: 18px; }
  .signal-hero h1 { font-size: 46px; letter-spacing: -2px; }
  .signal-hero .hero-lead { font-size: 13px; }
  .scene-meta { font-size: 7px; letter-spacing: .2px; }
  .scene-readout { padding: 10px; bottom: 90px; }
  .scene-readout strong { font-size: 24px; }
  .scene-readout > span:first-child { font-size: 6px; }
  .scene-readout > span:last-child { font-size: 8px; }
  .scene-controls .plain-button { font-size: 9px; }
  .signal-layout { grid-template-columns: 1fr 1fr; gap: 30px; }
  .signal-chapter { min-height: 300px; }
  .signal-chapter h3 { font-size: 24px; }
  .signal-chapter > p { font-size: 13px; }
  .demo-toolbar { flex-wrap: wrap; gap: 12px; padding: 14px 18px; }
  .demo-toolbar > span:first-child { font-size: 9px; }
  .demo-toolbar .demo-badge { font-size: 7px; }
  .demo-body { grid-template-columns: 175px minmax(0, 1fr); }
  .demo-devices { padding: 20px 12px; }
  .demo-devices legend { display: block; }
  .demo-devices legend span { display: block; }
  .demo-device { padding: 12px 8px; }
  .demo-device strong { font-size: 11px; }
  .demo-content-top { flex-direction: column; align-items: flex-start; }
  .demo-content-top h3 { margin-bottom: 15px; }
  .demo-period { margin-bottom: 20px; }
  .demo-statistics { grid-template-columns: 1fr 1fr; }
  .demo-statistics > div:last-child { grid-column: 1/-1; border-top: 1px solid #365166; }
  .demo-statistics > div:nth-child(2) { border-right: 0; }
}
@media (max-width: 700px) {
  .signal-hero { padding-top: 42px; }
  .signal-hero .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .signal-hero h1 { font-size: clamp(40px, 9vw, 60px); letter-spacing: -2.2px; }
  .signal-hero .hero-lead { font-size: 15px; }
  .signal-hero .hero-audience { font-size: 12px; }
  .scene-meta { font-size: 8px; }
  .scene-readout { bottom: 100px; padding: 12px; }
  .scene-readout > span:first-child { font-size: 7px; }
  .scene-controls .plain-button { font-size: 10px; }
  .signal-layout { display: block; }
  .signal-sticky { top: 0; z-index: 3; padding: 10px 0; background: #0b141df5; border-bottom: 1px solid var(--line); }
  .signal-sticky .factory-visual { display: none; }
  .signal-navigation { margin-top: 0; }
  #signal-status { font-size: 10px; margin-bottom: 0; }
  .signal-chapter { min-height: 0; padding: 28px 0 35px 20px; }
  .signal-chapter::before { top: 34px; }
  .signal-chapter h3 { font-size: 25px; }
  .technical-note { font-size: 11px; }
  .signal-cta, .demo-cta { align-items: flex-start; flex-direction: column; gap: 12px; }
  .signal-cta p, .demo-cta p { font-size: 20px; margin-bottom: 0; }
  .service-art { min-height: 90px; }
  .demo-body { grid-template-columns: 1fr; }
  .demo-devices { border-right: 0; border-bottom: 1px solid #344e63; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 18px; }
  .demo-devices legend { float: none; display: flex; margin-bottom: 15px; padding-top: 18px; }
  .demo-device { margin: 0; }
  .demo-device:last-of-type { grid-column: 1/-1; }
  .demo-sidebar-note { grid-column: 1/-1; margin: 10px 0 0; font-size: 9px; }
  .demo-sidebar-note br { display: none; }
  .demo-content { padding: 18px; }
  .demo-content-top { flex-direction: row; align-items: flex-start; flex-wrap: wrap; gap: 10px; }
  .demo-content-top h3 { font-size: 21px; }
  .demo-statistics strong { font-size: 30px; }
  .demo-chart-card { padding: 14px 7px; }
  .demo-chart-card figcaption { font-size: 11px; }
  .demo-toolbar .plain-button { margin-left: 0; }
  .demo-badge { font-size: 7px; }
  .chart-range-label { font-size: 10px; line-height: 1.8; }
  .audience-grid article { padding: 22px; }
  .audience-grid h3 { font-size: 18px; }
  .audience-grid p { font-size: 12px; }
  .audience-icon { font-size: 15px; padding-top: 10px; }
}
@media (max-width: 420px) {
  .signal-hero h1 { font-size: 40px; }
  .signal-hero .hero-actions { gap: 16px; }
  .signal-hero .hero-actions .button { padding: 14px; font-size: 11px; gap: 18px; }
  .signal-hero .hero-actions .text-link { font-size: 10px; gap: 6px; }
  .scene-meta { font-size: 6px; }
  .scene-readout { right: -2px; bottom: 110px; padding: 8px; }
  .scene-readout > span:first-child { font-size: 5px; }
  .scene-readout > span:last-child { font-size: 7px; }
  .scene-readout strong { font-size: 22px; }
  .scene-caption { font-size: 9px; }
  .scene-controls .plain-button { font-size: 9px; padding-inline: 10px; }
  .demo-devices { padding: 14px; }
  .demo-device { padding: 10px 7px; gap: 6px; }
  .demo-device strong { font-size: 10px; }
  .demo-content { padding: 14px; }
  .demo-statistics > div { padding: 14px; }
  .demo-statistics strong { font-size: 26px; }
  .demo-chart-card figcaption > span:last-child { font-size: 6px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .audience-grid article:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.scene-readout:disabled { opacity: 1; cursor: default; }
.case-network { padding-bottom: 18px; }
.case-network-caption { display: flex; justify-content: space-between; gap: 15px; font: 9px var(--mono); color: #b6d6e2; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.case-network-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; align-items: center; padding: 25px 0 18px; }
.case-node-pool { display: grid; grid-template-columns: repeat(6, 1fr); gap: 13px; }
.case-sensor-dot { display: block; height: 13px; width: 13px; background: #164052; border: 1px solid #7dbac7; box-shadow: 3px 3px 0 #0a1823; }
.case-node-pool p { grid-column: 1/-1; font-size: 11px; color: var(--muted); margin-bottom: 0; }
.case-route { display: flex; flex-direction: column; gap: 0; }
.case-route button { border: 1px solid #4b7185; background: #142c3b; color: #d2e9f2; padding: 10px 12px; text-align: left; font-size: 12px; cursor: pointer; }
.case-route button .index { margin-right: 8px; color: #a7c9d8; }
.case-route button[aria-pressed=true] { border-color: #73e4f2; background: #173a45; }
.case-route-link { align-self: center; color: #7bb9c8; font-size: 14px; line-height: 1.4; }
#case-network-fact { color: #bad6e3; font-size: 12px; margin-top: 10px; min-height: 40px; }
.case-network-note { font-size: 9px; color: var(--muted); }
.case-evidence { padding-top: 16px; border-top: 1px solid var(--line); }
.case-evidence > summary { font-size: 11px; color: #d2e2ec; }
.case-evidence .dashboard-figure { margin-top: 20px; }
[data-motion=running] .case-sensor-dot:nth-child(4n) { animation: node-indication 4s ease-in-out infinite; }
[data-motion=running] .case-sensor-dot:nth-child(7n) { animation: node-indication 4s 1s ease-in-out infinite; }
@keyframes node-indication { 50% { background: #73e4f2; } }
@media(max-width:900px) { .case-network-flow { gap: 18px; } .case-node-pool { gap: 8px; } .case-sensor-dot { height: 10px; width: 10px; } .case-route button { font-size: 10px; padding: 10px; } }
@media(max-width:420px) { .case-network-flow { grid-template-columns: .9fr 1.1fr; gap: 20px; } .case-route button { padding: 9px; } .case-node-pool { gap: 10px; } .case-network-caption { font-size: 8px; } }

.case-route button:disabled { opacity: 1; cursor: default; }

.process-select { color: inherit; font: inherit; text-align: left; background: transparent; border: 0; padding: 0; cursor: pointer; }
.process-select:disabled { opacity: 1; cursor: default; }
.process-select:hover { color: var(--blue); }
.process-step.is-active .process-select { color: #b5edf6; }
