.product-studio {
  display: block;
  min-width: 0;
  margin-top: clamp(88px, 11vw, 150px);
  padding-top: clamp(58px, 7vw, 92px);
}

/* Keep the product interface black, white, and silver. */
.product-command-frame {
  background: radial-gradient(circle at 12% 12%, rgba(194,202,210,.13), transparent 30%), linear-gradient(145deg, #20252a, #07090c 68%);
}
.product-command-window,
.product-command-main { background: #e9ebed; }
.product-command-rail {
  background: linear-gradient(170deg, rgba(194,202,210,.09), transparent 42%), #15181c;
}
.product-command-topbar,
.product-command-kpi,
.product-command-panel { background: #f6f7f8; }
.product-command-live,
.product-command-change,
.product-command-event em { color: #58636c; }
.product-command-live::before,
.product-command-bar-fill,
.product-command-event i { background: #858e96; }
.product-command-bar-track { background: #d8dce0; }

.product-studio-intro {
  position: static;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .72fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: end;
}

.product-studio-intro > * { min-width: 0; }

.product-studio-intro h3 {
  max-width: 760px;
  margin: 0;
}

.product-studio-intro p {
  max-width: 560px;
  margin: 0 0 5px;
}

.product-studio-list {
  min-width: 0;
  margin-top: clamp(46px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid rgba(242, 239, 232, .24);
  border-radius: 2px;
  color: #f2efe8;
  background: #080a0d;
  box-shadow: 0 38px 90px rgba(0, 0, 0, .32);
}

.dos-machine {
  min-width: 0;
  --dos-bg: #080a0d;
  --dos-panel: #0d1014;
  --dos-panel-2: #11151a;
  --dos-line: rgba(235, 239, 242, .15);
  --dos-line-strong: rgba(235, 239, 242, .34);
  --dos-paper: #f1f0eb;
  --dos-silver: #b6bdc4;
  --dos-muted: #7f8891;
  --dos-green: #aab1b7;
  color: var(--dos-paper);
  background: var(--dos-bg);
}

.dos-topbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 22px clamp(20px, 3vw, 38px);
  border-bottom: 1px solid var(--dos-line);
  color: var(--dos-silver);
  font: 600 10px/1.4 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dos-live {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.dos-live::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dos-green);
  box-shadow: 0 0 0 4px rgba(157, 184, 166, .1);
  content: "";
}

.dos-pipeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-bottom: 1px solid var(--dos-line);
}

.dos-step {
  position: relative;
  min-height: 94px;
  padding: 19px 18px 16px;
  border-right: 1px solid var(--dos-line);
  color: var(--dos-muted);
  background: var(--dos-panel);
  transition: color .45s ease, background .45s ease;
}

.dos-step:last-child { border-right: 0; }

.dos-step::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--dos-paper);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s ease;
}

.dos-step.is-active {
  color: var(--dos-paper);
  background: #191d22;
}

.dos-step.is-active::after { transform: scaleX(1); }

.dos-step small {
  display: block;
  margin-bottom: 17px;
  font: 500 9px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .11em;
}

.dos-step b {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: .01em;
}

.dos-step span {
  display: block;
  color: var(--dos-muted);
  font-size: 9px;
}

.dos-body {
  display: block;
}

.dos-mobile-summary { display: none; }

.dos-map {
  position: relative;
  overflow: hidden;
  padding: 30px clamp(24px, 4vw, 52px) clamp(42px, 5vw, 64px);
  background: #090c10;
}

.dos-map-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.dos-map-head h4 {
  margin: 0 0 8px;
  color: var(--dos-paper);
  font-size: 16px;
  font-weight: 650;
}

.dos-map-head p {
  max-width: 540px;
  margin: 0;
  color: var(--dos-muted);
  font-size: 11px;
  line-height: 1.55;
}

.dos-question-count {
  color: var(--dos-silver);
  font: 500 9px/1.55 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

.dos-ecosystem {
  display: grid;
  grid-template-columns: minmax(190px, .9fr) 150px minmax(330px, 1.45fr);
  gap: clamp(38px, 6vw, 86px);
  align-items: center;
  min-height: 360px;
  margin-top: 28px;
}

.dos-source-cluster,
.dos-engine-cluster {
  position: relative;
  min-width: 0;
}

.dos-source-cluster::after,
.dos-engine-cluster::before {
  position: absolute;
  top: 50%;
  width: clamp(38px, 6vw, 86px);
  height: 1px;
  background: linear-gradient(90deg, rgba(241,240,235,.08), rgba(241,240,235,.72), rgba(241,240,235,.08));
  background-size: 200% 100%;
  content: "";
  animation: dos-flow-x 2.8s linear infinite;
}

.dos-source-cluster::after { left: calc(100% + 1px); }
.dos-engine-cluster::before { right: calc(100% + 1px); }

.dos-cluster-label {
  display: block;
  margin-bottom: 13px;
  color: var(--dos-muted);
  font: 500 9px/1.3 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.dos-source-stack,
.dos-engine-grid { display: grid; gap: 9px; }
.dos-engine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.dos-source-stack > div,
.dos-engine-grid > div {
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid var(--dos-line);
  color: var(--dos-silver);
  background: rgba(255, 255, 255, .018);
  font-size: 11px;
  line-height: 1.25;
  animation: dos-engine-receive 7.2s ease-in-out infinite;
}

.dos-engine-grid > div:nth-child(2) { animation-delay: 1.2s; }
.dos-engine-grid > div:nth-child(3) { animation-delay: 2.4s; }
.dos-engine-grid > div:nth-child(4) { animation-delay: 3.6s; }
.dos-engine-grid > div:nth-child(5) { animation-delay: 4.8s; }
.dos-engine-grid > div:nth-child(6) { animation-delay: 6s; }

.dos-engine-grid > div:first-child {
  border-color: rgba(241, 240, 235, .48);
  color: var(--dos-paper);
  background: rgba(255, 255, 255, .045);
}

.dos-core-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 142px;
  height: 142px;
  margin: auto;
  border: 1px solid var(--dos-paper);
  border-radius: 50%;
  color: #080a0d;
  background: var(--dos-paper);
  text-align: center;
  box-shadow: 0 0 0 18px rgba(241, 240, 235, .035), 0 0 0 42px rgba(241, 240, 235, .025);
  animation: dos-core-pulse 3.6s ease-in-out infinite;
}

.dos-core-node small,
.dos-core-node strong {
  font: 700 10px/1.25 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dos-graph {
  position: absolute;
  inset: 96px 0 0;
  width: 100%;
  height: calc(100% - 96px);
}

.dos-graph-line {
  fill: none;
  stroke: rgba(217, 225, 231, .21);
  stroke-width: 1;
  stroke-dasharray: 3 7;
  animation: dos-travel 9s linear infinite;
}

.dos-graph-line.is-strong {
  stroke: rgba(241, 240, 235, .66);
  stroke-width: 1.35;
}

.dos-halo {
  fill: none;
  stroke: rgba(241, 240, 235, .2);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: dos-breathe 3.5s ease-in-out infinite;
}

.dos-node circle {
  fill: #11161b;
  stroke: rgba(241, 240, 235, .52);
  stroke-width: 1;
}

.dos-node text {
  fill: var(--dos-silver);
  font: 500 9px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.dos-node.is-core circle { fill: var(--dos-paper); stroke: var(--dos-paper); }
.dos-node.is-core text { fill: #080a0d; font-weight: 750; font-size: 10px; }
.dos-node.is-hot circle { fill: #d9e1e7; stroke: #fff; }
.dos-node.is-hot text { fill: var(--dos-paper); }

.dos-signal {
  fill: var(--dos-paper);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, .72));
}

.dos-rail {
  display: grid;
  grid-template-rows: auto auto 1fr;
  background: var(--dos-panel);
}

.dos-metric {
  padding: 27px 29px;
  border-bottom: 1px solid var(--dos-line);
}

.dos-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--dos-muted);
  font: 500 9px/1.35 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dos-value {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.dos-value strong {
  color: var(--dos-paper);
  font: 400 60px/.86 "Iowan Old Style", Baskerville, "Times New Roman", serif;
  letter-spacing: -.05em;
}

.dos-value span {
  color: var(--dos-green);
  font: 500 10px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.dos-bars { display: grid; gap: 11px; }

.dos-bar {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 24px;
  gap: 9px;
  align-items: center;
  color: var(--dos-silver);
  font-size: 9px;
}

.dos-track { height: 4px; overflow: hidden; background: rgba(255, 255, 255, .09); }
.dos-fill { display: block; height: 100%; background: var(--dos-silver); transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.dos-bar:first-child .dos-fill { background: var(--dos-paper); }

.dos-activity { padding: 26px 29px 28px; }
.dos-activity h4 { margin: 0 0 18px; color: var(--dos-paper); font-size: 13px; }

.dos-event {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--dos-line);
}

.dos-event i {
  width: 6px;
  height: 6px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--dos-muted);
}

.dos-event:first-of-type i {
  background: var(--dos-green);
  box-shadow: 0 0 0 4px rgba(157, 184, 166, .1);
}

.dos-event b { display: block; margin-bottom: 4px; color: var(--dos-paper); font-size: 10px; font-weight: 600; }
.dos-event span, .dos-event time { color: var(--dos-muted); font-size: 8px; line-height: 1.45; }
.dos-event time { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; white-space: nowrap; }

.dos-footer {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  border-top: 1px solid var(--dos-line);
  background: var(--dos-panel-2);
}

.dos-footer-panel {
  min-height: 142px;
  padding: 23px 26px;
  border-right: 1px solid var(--dos-line);
}

.dos-footer-panel:last-child { border-right: 0; }
.dos-footer-panel h4 { margin: 0 0 17px; color: var(--dos-silver); font: 500 8px/1.3 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; letter-spacing: .09em; text-transform: uppercase; }

.dos-chart { width: 100%; height: 70px; overflow: visible; }
.dos-chart path { fill: none; stroke: var(--dos-paper); stroke-width: 2; vector-effect: non-scaling-stroke; }
.dos-chart .dos-baseline { stroke: rgba(255,255,255,.12); stroke-width: 1; }
.dos-chart circle { fill: var(--dos-paper); }

.dos-loop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 64px;
}

.dos-loop span {
  position: relative;
  color: var(--dos-muted);
  font: 500 8px/1.3 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-align: center;
  text-transform: uppercase;
}

.dos-loop span::before {
  display: block;
  width: 7px;
  height: 7px;
  margin: 0 auto 9px;
  border: 1px solid var(--dos-line-strong);
  border-radius: 50%;
  content: "";
}

.dos-loop span:not(:last-child)::after {
  position: absolute;
  top: 4px;
  left: calc(50% + 8px);
  width: calc(100% - 16px);
  border-top: 1px solid var(--dos-line);
  content: "";
}

.dos-loop span.is-active { color: var(--dos-paper); }
.dos-loop span.is-active::before { border-color: var(--dos-paper); background: var(--dos-paper); box-shadow: 0 0 0 4px rgba(255,255,255,.07); }

.dos-proof-number {
  color: var(--dos-paper);
  font: 400 46px/1 "Iowan Old Style", Baskerville, "Times New Roman", serif;
  letter-spacing: -.04em;
}

.dos-proof-number small { color: var(--dos-muted); font: 500 10px/1.3 ui-sans-serif, system-ui, sans-serif; letter-spacing: 0; }
.dos-proof-copy { margin-top: 10px; color: var(--dos-muted); font-size: 9px; line-height: 1.5; }

.dos-caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 18px;
  border-top: 1px solid var(--dos-line);
  color: var(--dos-muted);
  font: 500 8px/1.35 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}

@keyframes dos-travel { to { stroke-dashoffset: -90; } }
@keyframes dos-breathe { 0%,100% { opacity: .3; transform: scale(.92); } 50% { opacity: .82; transform: scale(1.1); } }
@keyframes dos-flow-x { to { background-position: -200% 0; } }
@keyframes dos-flow-y { to { background-position: 0 -200%; } }
@keyframes dos-core-pulse {
  0%, 100% { box-shadow: 0 0 0 18px rgba(241,240,235,.035), 0 0 0 42px rgba(241,240,235,.025); }
  50% { box-shadow: 0 0 0 22px rgba(241,240,235,.055), 0 0 0 48px rgba(241,240,235,.018); }
}
@keyframes dos-engine-receive {
  0%, 13%, 100% { border-color: var(--dos-line); color: var(--dos-silver); background: rgba(255,255,255,.018); }
  6% { border-color: rgba(241,240,235,.5); color: var(--dos-paper); background: rgba(255,255,255,.05); }
}

@media (max-width: 980px) {
  .product-studio-intro { grid-template-columns: 1fr; }
  .product-studio-intro p { max-width: 720px; }
  .dos-ecosystem {
    grid-template-columns: minmax(160px, .8fr) 118px minmax(280px, 1.3fr);
    gap: 38px;
  }
  .dos-source-cluster::after,
  .dos-engine-cluster::before { width: 38px; }
  .dos-core-node { width: 112px; height: 112px; }
}

@media (max-width: 620px) {
  .product-studio {
    position: relative;
    z-index: 1;
    clear: both;
    margin-top: 56px;
    padding-top: 34px;
  }
  .product-studio-intro { gap: 16px; }
  .product-studio-intro h3 {
    max-width: 13ch;
    font-size: clamp(36px, 10vw, 44px);
    line-height: .98;
  }
  .product-studio-intro p {
    max-width: 33ch;
    font-size: 16px;
    line-height: 1.55;
  }
  .product-studio-list {
    width: 100%;
    max-width: 100%;
    margin: 28px 0 0;
    border-right: 1px solid rgba(242, 239, 232, .2);
    border-left: 1px solid rgba(242, 239, 232, .2);
  }
  .dos-topbar { align-items: flex-start; padding: 18px; }
  .dos-topbar > span:first-child { max-width: 19ch; }
  .dos-live { flex: 0 0 auto; font-size: 8px; }
  .dos-map { padding: 22px 18px 28px; }
  .dos-map-head {
    display: block;
  }
  .dos-map-head h4 { font-size: 15px; }
  .dos-map-head p { max-width: 31ch; font-size: 10px; }
  .dos-question-count { display: none; }
  .dos-ecosystem {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    margin-top: 26px;
  }
  .dos-source-cluster,
  .dos-engine-cluster { width: 100%; }
  .dos-source-cluster::after,
  .dos-engine-cluster::before {
    top: auto;
    right: 50%;
    left: auto;
    width: 1px;
    height: 30px;
    border-top: 0;
    border-left: 0;
    background: linear-gradient(180deg, rgba(241,240,235,.08), rgba(241,240,235,.72), rgba(241,240,235,.08));
    background-size: 100% 200%;
    animation-name: dos-flow-y;
  }
  .dos-source-cluster::after { bottom: -30px; }
  .dos-engine-cluster::before { top: -30px; }
  .dos-source-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .dos-source-stack > div,
  .dos-engine-grid > div {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px 7px;
    font-size: 9px;
    text-align: center;
  }
  .dos-core-node {
    width: 96px;
    height: 96px;
    margin: 42px auto;
    box-shadow: 0 0 0 13px rgba(241, 240, 235, .035), 0 0 0 28px rgba(241, 240, 235, .025);
  }
  .dos-engine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dos-machine *, .dos-machine *::before, .dos-machine *::after { animation: none !important; transition: none !important; }
}
