.live-hero {
  padding: var(--space-hero-y) 0;
  background: var(--paper);
  color: var(--ink);
}

.live-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  align-items: center;
  gap: 64px;
}

.live-hero h1 {
  max-width: 820px;
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: var(--type-hero);
  font-weight: 650;
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: wrap;
}

.live-hero h1 em {
  color: #bd7620;
  font-style: normal;
}

.live-hero-layout > div > p {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted-paper);
  font-size: var(--type-lead);
  line-height: 1.65;
}

.live-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.plain-link {
  color: #4d514f;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.execution-replay {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 28px 80px rgba(9, 10, 11, 0.16);
}

.replay-head {
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.replay-head span {
  color: var(--white);
}

.replay-head i {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  display: inline-block;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(111, 217, 160, 0.72);
}

.replay-head b {
  color: #919598;
  font-weight: 500;
}

.replay-head b span {
  color: var(--amber);
}

.replay-job {
  padding: 18px 18px 17px;
  border-bottom: 1px solid var(--line-dark);
}

.replay-job > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.replay-job > div span,
.replay-job > div b,
.replay-result > span {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.replay-job > div span {
  color: var(--amber);
}

.replay-job > div b {
  color: #9da1a4;
}

.replay-job > strong {
  max-width: 390px;
  margin-top: 13px;
  display: block;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.08;
}

.replay-job > p {
  margin: 9px 0 0;
  color: #a9adaf;
  font-size: 12px;
  line-height: 1.45;
}

.replay-steps {
  padding: 8px;
}

.replay-step {
  min-height: 52px;
  padding: 8px 10px;
  border-radius: var(--radius-small);
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  color: #73777a;
  transition: color 240ms ease, background 240ms ease, transform 240ms var(--ease);
}

.replay-step.is-active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  transform: translateX(2px);
}

.replay-step.is-complete {
  color: #b8bcbe;
}

.replay-step > span,
.replay-step > i {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
}

.replay-step > span {
  color: var(--amber);
}

.replay-step > div b {
  display: block;
  color: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}

.replay-step > div p {
  margin: 3px 0 0;
  color: #858a8d;
  font-size: 10px;
  line-height: 1.3;
}

.replay-step > i {
  min-width: 55px;
  color: #707477;
  font-style: normal;
  text-align: right;
}

.replay-step.is-active > i {
  color: var(--amber);
}

.replay-step.is-complete > i {
  color: var(--mint);
}

.replay-result {
  padding: 16px 18px;
  border-top: 1px solid var(--line-dark);
  background: rgba(111, 217, 160, 0.055);
  transition: opacity 220ms ease, background 220ms ease;
}

.replay-result.is-pending {
  background: rgba(255, 255, 255, 0.025);
  opacity: 0.48;
}

.replay-result > span {
  color: var(--mint);
}

.replay-result > strong {
  margin-top: 8px;
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.25;
}

.replay-result > div {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.replay-result > div b {
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: #aeb2b4;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  text-transform: uppercase;
}

.replay-note {
  margin: 0;
  padding: 12px 18px 14px;
  border-top: 1px solid var(--line-dark);
  color: #909497;
  font-size: 9px;
  line-height: 1.5;
}

.live-snapshot {
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.snapshot-grid > div {
  min-height: 126px;
  padding: 26px 24px;
  border-right: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.snapshot-grid > div:last-child {
  border-right: 0;
}

.snapshot-grid strong {
  font-family: var(--font-display);
  font-size: 31px;
  line-height: 1;
}

.snapshot-grid span {
  margin-top: 10px;
  color: #7d8184;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live-demo {
  padding: var(--space-section-y) 0;
  border-bottom: 1px solid var(--line-dark);
  background: var(--ink);
  color: var(--white);
}

.live-demo-heading {
  margin-bottom: 40px;
}

.live-demo-heading h2 {
  color: var(--white);
}

.live-demo-heading > p {
  color: var(--muted-dark);
}

.demo-frame {
  height: 760px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: #0b0c0d;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.demo-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #0b0c0d;
}

.demo-frame-note {
  min-height: 68px;
  padding: 18px 0 0;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: start;
  gap: 28px;
  color: #969a9d;
}

.demo-frame-note span {
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.demo-frame-note p {
  max-width: 680px;
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

.demo-frame-note a {
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
}

.live-content {
  padding: 32px 0 var(--space-section-y);
  background: var(--paper);
  color: var(--ink);
}

.evidence-toolbar {
  position: sticky;
  top: calc(var(--header-height) + 12px);
  z-index: 20;
  padding: 9px;
  border: 1px solid rgba(9, 10, 11, 0.16);
  border-radius: var(--radius);
  background: rgba(232, 229, 221, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: minmax(180px, 0.62fr) minmax(0, 1.38fr);
  align-items: stretch;
  gap: 9px;
  box-shadow: 0 12px 34px rgba(9, 10, 11, 0.08);
}

.evidence-toolbar-copy {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.evidence-toolbar-copy p {
  margin: 7px 0 0;
  color: var(--muted-paper);
  font-size: 12px;
}

.live-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.live-tabs button {
  min-height: 64px;
  padding: 10px 14px;
  border: 1px solid rgba(9, 10, 11, 0.12);
  border-radius: 4px;
  background: var(--paper);
  color: #5f625f;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  cursor: pointer;
}

.live-tabs button span {
  color: #9c6e33;
  font-family: var(--font-mono);
  font-size: 9px;
}

.live-tabs button strong {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
}

.live-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.live-tabs button[aria-selected="true"] span {
  color: var(--amber);
}

.live-panel {
  padding-top: 64px;
}

.live-panel[hidden] {
  display: none;
}

.panel-heading {
  margin-bottom: 46px;
  display: grid;
  grid-template-columns: 1fr 380px;
  align-items: end;
  gap: 70px;
}

.panel-heading h2 {
  max-width: 760px;
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: var(--type-section);
  font-weight: 650;
  line-height: 1;
}

.panel-heading > p {
  margin: 0;
  color: var(--muted-paper);
  font-size: 14px;
}

.live-demo .live-demo-heading > p {
  color: #b3b6b8;
}

.case-list {
  border-top: 1px solid var(--line-paper);
}

.case-row {
  min-height: 156px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-paper);
  display: grid;
  grid-template-columns: 0.7fr 1fr 1.2fr 1fr;
  align-items: center;
  gap: 32px;
}

.case-index {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-index span,
.case-row small {
  color: #81591f;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-index b {
  font-family: var(--font-display);
  font-size: 17px;
}

.case-row p {
  margin: 7px 0 0;
  color: var(--muted-paper);
  font-size: 12px;
  line-height: 1.55;
}

.case-row h3 {
  margin: 7px 0 0;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.13;
}

.snapshot-note {
  margin-top: 46px;
  padding: 28px 0;
  border-top: 1px solid var(--line-paper);
  border-bottom: 1px solid var(--line-paper);
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  gap: 34px;
}

.snapshot-note span {
  color: #81591f;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.snapshot-note p {
  max-width: 720px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.25;
}

.snapshot-note a {
  font-size: 12px;
  font-weight: 600;
}

.health-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-paper);
  border-left: 1px solid var(--line-paper);
}

.health-grid article {
  min-height: 224px;
  padding: 28px;
  border-right: 1px solid var(--line-paper);
  border-bottom: 1px solid var(--line-paper);
  display: flex;
  flex-direction: column;
}

.health-grid article > span {
  color: #8e6a37;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.health-grid strong {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
}

.health-grid p {
  margin: 18px 0 0;
  color: var(--muted-paper);
  font-size: 13px;
}

.health-grid small {
  margin-top: auto;
  padding-top: 18px;
  color: #8a8d89;
  font-family: var(--font-mono);
  font-size: 9px;
}

.scorecard {
  margin-top: 72px;
}

.scorecard-head {
  margin-bottom: 26px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.scorecard-head h3 {
  max-width: 700px;
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.08;
}

.scorecard-head a {
  color: var(--muted-paper);
  font-size: 11px;
}

.score-row {
  min-height: 72px;
  border-top: 1px solid var(--line-paper);
  display: grid;
  grid-template-columns: 1fr 1fr 70px;
  align-items: center;
  gap: 28px;
  font-size: 13px;
}

.score-row > div {
  height: 5px;
  background: rgba(9, 10, 11, 0.09);
}

.score-row i {
  display: block;
  height: 100%;
  background: #319367;
}

.score-row b {
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: right;
}

.rollout-list {
  border-top: 1px solid var(--line-paper);
}

.rollout-row {
  min-height: 126px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-paper);
  display: grid;
  grid-template-columns: 160px 1fr 100px;
  align-items: center;
  gap: 34px;
}

.rollout-state {
  width: max-content;
  padding: 6px 8px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.rollout-row h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
}

.rollout-row p {
  margin: 7px 0 0;
  color: var(--muted-paper);
  font-size: 12px;
}

.rollout-row > b {
  color: #777b77;
  font-family: var(--font-mono);
  font-size: 9px;
  text-align: right;
  text-transform: uppercase;
}

.current-gate {
  margin-top: 46px;
  padding: 30px;
  border: 1px solid var(--line-paper);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.current-gate span {
  color: #9b7139;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.current-gate strong {
  margin-top: 12px;
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
}

.current-gate p {
  margin: 10px 0 0;
  color: var(--muted-paper);
  font-size: 12px;
}

.live-next {
  padding: 74px 0;
  background: var(--amber);
  color: var(--ink);
}

.live-next-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 70px;
}

.live-next .section-index {
  color: #6f4b17;
}

.live-next h2 {
  margin: 13px 0 0;
  font-family: var(--font-display);
  font-size: var(--type-section);
  line-height: 1;
}

.live-next p {
  max-width: 680px;
  margin: 16px 0 0;
  color: rgba(9, 10, 11, 0.66);
  font-size: 13px;
}

.live-next-layout > div:last-child {
  display: flex;
  gap: 9px;
}

@media (max-width: 1100px) {
  .live-hero-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .execution-replay {
    width: min(100%, 620px);
  }
}

@media (max-width: 900px) {
  .live-hero-layout,
  .panel-heading,
  .live-next-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .live-hero h1 {
    font-size: var(--type-hero);
  }

  .execution-replay {
    max-width: 520px;
  }

  .snapshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .snapshot-grid > div:nth-child(2) {
    border-right: 0;
  }

  .snapshot-grid > div:nth-child(n + 3) {
    border-top: 1px solid var(--line-dark);
  }

  .case-row {
    grid-template-columns: 0.55fr 1fr 1fr;
  }

  .case-row > div:last-child {
    grid-column: 2 / -1;
  }

  .snapshot-note {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .health-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .live-next-layout > div:last-child {
    justify-content: flex-start;
  }

  .demo-frame-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .evidence-toolbar {
    grid-template-columns: 1fr;
  }

  .evidence-toolbar-copy {
    padding-bottom: 4px;
  }
}

@media (max-width: 560px) {
  .live-hero {
    padding: var(--space-hero-y) 0;
  }

  .live-hero h1 {
    font-size: var(--type-hero);
  }

  .live-hero-layout > div > p {
    font-size: var(--type-lead);
  }

  .live-demo-heading {
    margin-bottom: 28px;
  }

  .demo-frame {
    height: 760px;
    margin-inline: calc(var(--site-pad) * -1);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .live-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .snapshot-grid > div {
    min-height: 92px;
    padding: 18px 12px;
  }

  .snapshot-grid strong {
    font-size: 23px;
  }

  .snapshot-grid span {
    font-size: 8px;
  }

  .live-content {
    padding: 20px 0 72px;
  }

  .evidence-toolbar {
    position: static;
    margin-inline: calc(var(--site-pad) * -0.35);
    padding: 7px;
    gap: 7px;
    box-shadow: none;
  }

  .evidence-toolbar-copy {
    padding: 8px;
  }

  .evidence-toolbar-copy p {
    display: none;
  }

  .live-tabs {
    gap: 4px;
  }

  .live-tabs button {
    min-height: 54px;
    padding: 8px 6px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    line-height: 1.2;
  }

  .live-tabs button strong {
    font-size: 9px;
  }

  .live-tabs button span {
    font-size: 8px;
  }

  .live-panel {
    padding-top: 54px;
  }

  .panel-heading {
    margin-bottom: 32px;
  }

  .panel-heading h2 {
    font-size: 36px;
  }

  .panel-heading > p {
    font-size: 12px;
  }

  .case-row {
    min-height: 0;
    padding: 24px 0;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .case-row > div:last-child {
    grid-column: 1;
  }

  .case-row h3 {
    font-size: 21px;
  }

  .snapshot-note p {
    font-size: 18px;
  }

  .health-grid {
    grid-template-columns: 1fr;
  }

  .health-grid article {
    min-height: 176px;
    padding: 24px;
  }

  .scorecard-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .scorecard-head h3 {
    font-size: 26px;
  }

  .score-row {
    min-height: 84px;
    grid-template-columns: 1fr 55px;
    gap: 12px;
  }

  .score-row > div {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .rollout-row {
    min-height: 0;
    padding: 24px 0;
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .rollout-row > b {
    text-align: left;
  }

  .current-gate {
    padding: 24px;
  }

  .current-gate strong {
    font-size: 23px;
  }

  .live-next h2 {
    font-size: 36px;
  }

  .live-next-layout > div:last-child {
    align-items: stretch;
    flex-direction: column;
  }
}
