.landing-demo-section {
  --demo-bg: #f4f1eb;
  --demo-surface: #ffffff;
  --demo-surface-soft: #faf8f3;
  --demo-text: #17202a;
  --demo-muted: #5e6874;
  --demo-border: #d9d2c6;
  --demo-primary: #244f78;
  --demo-primary-dark: #173856;
}

.landing-demo-intro {
  max-width: 48rem;
  margin: 1rem 0 0;
  color: var(--demo-muted);
  line-height: 1.65;
}

.landing-demo {
  position: relative;
  border: 1px solid rgba(217, 210, 198, 0.92);
  border-radius: 1.1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 248, 243, 0.94)),
    var(--demo-surface-soft);
  box-shadow: 0 1rem 2.5rem rgba(23, 32, 42, 0.08);
  padding: clamp(1rem, 2.5vw, 1.75rem);
  color: var(--demo-text);
}

.landing-demo-toolbar,
.landing-demo-controls,
.landing-demo-scenario-jumps,
.landing-demo-step-head {
  display: flex;
  align-items: center;
}

.landing-demo-toolbar {
  position: sticky;
  top: 0.5rem;
  z-index: 7;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(217, 210, 198, 0.84);
  border-radius: 0.8rem;
  background: rgba(250, 248, 243, 0.96);
  box-shadow: 0 0.45rem 1rem rgba(23, 32, 42, 0.06);
  padding: 0.55rem 0.65rem;
  backdrop-filter: blur(8px);
}

.landing-demo-scenario-label {
  margin: 0;
  color: var(--demo-primary);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-demo-scenario-navigation {
  display: grid;
  gap: 0.55rem;
}

.landing-demo-scenario-jumps {
  gap: 0.35rem;
  flex-wrap: wrap;
}

.landing-demo-scenario-jump {
  display: inline-grid;
  place-items: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  border: 1px solid rgba(36, 79, 120, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--demo-primary-dark);
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
}

.landing-demo-scenario-jump:hover,
.landing-demo-scenario-jump:focus-visible {
  border-color: rgba(36, 79, 120, 0.48);
  background: var(--demo-surface-soft);
}

.landing-demo-scenario-jump[aria-pressed="true"] {
  border-color: var(--demo-primary);
  background: var(--demo-primary);
  color: #ffffff;
}

.landing-demo-scenario-jump:focus-visible {
  outline: 3px solid rgba(36, 79, 120, 0.22);
  outline-offset: 2px;
}

.landing-demo-scenario-jump:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.landing-demo-controls {
  gap: 0.55rem;
  flex-wrap: wrap;
}

.landing-demo-toolbar-progress {
  display: grid;
  flex: 1 1 100%;
  grid-template-columns: auto minmax(8rem, 1fr);
  align-items: center;
  gap: 0.55rem;
  border-top: 1px solid rgba(36, 79, 120, 0.1);
  padding-top: 0.45rem;
}

.landing-demo-step-label {
  color: var(--demo-muted);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.landing-demo-toolbar-progress-track {
  height: 0.22rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(36, 79, 120, 0.12);
}

.landing-demo-toolbar-progress-track span {
  display: block;
  width: 10%;
  height: 100%;
  border-radius: inherit;
  background: var(--demo-primary);
  transition: width 0.25s ease;
}

.landing-demo-button {
  min-height: 2.6rem;
  width: fit-content;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  background: var(--demo-primary);
  color: #ffffff;
  box-shadow: 0 0.6rem 1.2rem rgba(36, 79, 120, 0.18);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.landing-demo-button-secondary {
  border-color: rgba(36, 79, 120, 0.28);
  background: #ffffff;
  box-shadow: none;
  color: var(--demo-primary-dark);
}

.landing-demo-button:hover,
.landing-demo-button:focus-visible {
  background: var(--demo-primary-dark);
}

.landing-demo-button-secondary:hover,
.landing-demo-button-secondary:focus-visible {
  background: var(--demo-surface-soft);
}

.landing-demo-button:focus-visible {
  outline: 3px solid rgba(36, 79, 120, 0.22);
  outline-offset: 2px;
}

.landing-demo-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.landing-demo-workspace {
  display: grid;
  grid-template-columns: minmax(18rem, 27rem) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.landing-demo-panel,
.landing-demo-result,
.landing-demo-source-check {
  border: 1px solid rgba(217, 210, 198, 0.92);
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0.75rem 1.75rem rgba(23, 32, 42, 0.04);
}

.landing-demo-intake {
  scroll-margin-top: 7rem;
}

.landing-demo-source-check {
  max-height: clamp(32rem, 68vh, 64rem);
  overflow: auto;
}

.landing-demo-panel {
  position: relative;
  padding: clamp(1rem, 2vw, 1.45rem);
}

.landing-demo-panel-heading {
  margin-bottom: 1rem;
}

.landing-demo-panel-heading h3 {
  margin: 0;
  color: #152130;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.2;
}

.landing-demo-panel-heading p:not(.landing-demo-kicker) {
  margin: 0.6rem 0 0;
  color: var(--demo-muted);
  line-height: 1.55;
}

.landing-demo-kicker {
  margin: 0 0 0.65rem;
  color: var(--demo-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.landing-demo-field-group,
.landing-demo-document-list,
.landing-demo-steps {
  display: grid;
  gap: 0.55rem;
}

.landing-demo-field-group + .landing-demo-field-group {
  margin-top: 0.9rem;
}

.landing-demo-label {
  color: #152130;
  font-size: 0.92rem;
  font-weight: 700;
}

.landing-demo-question {
  position: relative;
  min-height: 10.5rem;
  overflow: auto;
  border: 1px solid rgba(94, 104, 116, 0.36);
  border-radius: 0.55rem;
  background: #ffffff;
  padding: 0.78rem 0.85rem;
  line-height: 1.5;
}

.landing-demo-question-typing {
  border-color: rgba(36, 79, 120, 0.58);
  box-shadow: 0 0 0 0.2rem rgba(36, 79, 120, 0.1);
}

.landing-demo-question-typing::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1.05em;
  margin-left: 0.12rem;
  background: var(--demo-primary);
  vertical-align: -0.12em;
  animation: landing-demo-caret 0.48s steps(1) infinite;
}

@keyframes landing-demo-caret {
  50% { opacity: 0; }
}

.landing-demo-choose-button {
  display: inline-flex;
  cursor: default;
}

.landing-demo-choose-button-active {
  border-color: var(--demo-primary);
  background: var(--demo-primary-dark);
  box-shadow: 0 0 0 0.25rem rgba(36, 79, 120, 0.14);
  color: #ffffff;
  animation: landing-demo-choose-document 0.7s ease-out;
}

@keyframes landing-demo-choose-document {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(0.98); }
}

.landing-demo-document-status {
  margin: 0;
  color: var(--demo-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.landing-demo-document-hint {
  margin: 0;
  color: var(--demo-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.landing-demo-document-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-demo-document-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
  border: 1px solid rgba(217, 210, 198, 0.85);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.74);
  padding: 0.6rem 0.75rem;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
}

.landing-demo-document-item-ok {
  border-color: rgba(20, 101, 59, 0.42);
  background: rgba(247, 252, 248, 0.78);
}

.landing-demo-document-checkbox {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.12rem 0 0;
  accent-color: #14653b;
  opacity: 1;
}

.landing-demo-document-details {
  display: grid;
  min-width: 0;
  gap: 0.18rem;
  color: #25313d;
  line-height: 1.35;
}

.landing-demo-document-title {
  font-weight: 700;
}

.landing-demo-document-preflight {
  color: var(--demo-muted);
  font-size: 0.84rem;
}

.landing-demo-start-button {
  display: inline-flex;
  margin-top: 1rem;
  cursor: default;
}

.landing-demo-document-dialog {
  position: absolute;
  z-index: 3;
  right: 1rem;
  bottom: 4.6rem;
  left: 1rem;
  border: 1px solid rgba(36, 79, 120, 0.24);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1rem 2.5rem rgba(23, 32, 42, 0.18);
  padding: 1rem;
  animation: landing-demo-dialog 0.18s ease-out;
}

.landing-demo-document-dialog[hidden] {
  display: none;
}

.landing-demo-document-dialog-title {
  margin: 0 0 0.7rem;
  color: #152130;
  font-weight: 800;
}

.landing-demo-document-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(20, 101, 59, 0.28);
  border-radius: 0.55rem;
  background: rgba(247, 252, 248, 0.94);
  padding: 0.7rem;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.landing-demo-document-option-state {
  flex: 0 0 auto;
  color: #14653b;
  font-size: 0.8rem;
}

@keyframes landing-demo-dialog {
  from {
    opacity: 0;
    transform: translateY(0.35rem) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.landing-demo-status-card {
  margin-bottom: 0.9rem;
  border: 1px solid rgba(217, 210, 198, 0.85);
  border-radius: 0.75rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 248, 243, 0.96));
  padding: 0.9rem;
}

.landing-demo-status-line {
  min-height: 1.3rem;
  margin: 0;
  font-weight: 800;
}

.landing-demo-summary {
  margin: 0.4rem 0 0;
  color: var(--demo-muted);
  line-height: 1.45;
}

.landing-demo-step {
  border: 1px solid rgba(217, 210, 198, 0.85);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.8rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.landing-demo-step-afgerond {
  border-color: rgba(20, 101, 59, 0.28);
  background: rgba(247, 252, 248, 0.78);
}

.landing-demo-step-bezig {
  border-color: rgba(36, 79, 120, 0.34);
  background: rgba(255, 255, 255, 0.94);
}

.landing-demo-step-head {
  justify-content: space-between;
  gap: 0.75rem;
  color: #152130;
  font-weight: 700;
}

.landing-demo-step-state {
  flex: 0 0 auto;
  border: 1px solid rgba(94, 104, 116, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--demo-muted);
  padding: 0.16rem 0.5rem;
  font-size: 0.78rem;
}

.landing-demo-step-afgerond .landing-demo-step-state {
  color: #14653b;
}

.landing-demo-step-bezig .landing-demo-step-state {
  color: var(--demo-primary-dark);
}

.landing-demo-step p {
  margin: 0.55rem 0 0;
  color: var(--demo-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.landing-demo-fast-forward {
  margin: 0;
  color: var(--demo-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.landing-demo-step-sequenced {
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.landing-demo-activity {
  position: relative;
  height: 0.4rem;
  margin-top: 0.6rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(36, 79, 120, 0.12);
}

.landing-demo-activity::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(36, 79, 120, 0.1), rgba(36, 79, 120, 0.76), rgba(36, 79, 120, 0.1));
  animation: landing-demo-activity 1.55s ease-in-out infinite;
}

@keyframes landing-demo-activity {
  from { transform: translateX(-110%); }
  to { transform: translateX(265%); }
}

.landing-demo-result,
.landing-demo-source-check {
  margin-top: 1rem;
  padding: 1rem;
  scroll-margin-top: 7rem;
  animation: landing-demo-reveal 0.28s ease-out;
}

.landing-demo-result-body {
  max-height: clamp(32rem, 68vh, 64rem);
  overflow: auto;
  border-top: 1px solid rgba(217, 210, 198, 0.85);
  padding-top: 0.9rem;
  color: #25313d;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.landing-demo-result-body h3,
.landing-demo-result-body h4,
.landing-demo-result-body h5,
.landing-demo-result-body h6,
.landing-demo-sources h4,
.landing-demo-source-documents h4,
.landing-demo-media h3,
.landing-demo-result-media h3,
.landing-demo-source-entry h5,
.landing-demo-result-source-item h5,
.statutory-media-card h4 {
  margin: 0;
  color: #152130;
}

.landing-demo-result-body h3:not(:first-child),
.landing-demo-result-body h4:not(:first-child),
.landing-demo-result-body h5:not(:first-child),
.landing-demo-result-body h6:not(:first-child) {
  margin-top: 1rem;
}

.landing-demo-result-body p,
.landing-demo-result-body ul,
.landing-demo-result-body ol {
  margin: 0.65rem 0 0;
}

.landing-demo-result-caveat {
  border-left: 3px solid #cfc4b5;
  padding-left: 0.75rem;
  color: var(--demo-muted);
  font-size: 0.92rem;
}

.landing-demo-result-body ul,
.landing-demo-result-body ol {
  padding-left: 1.35rem;
}

.landing-demo-result-body li + li {
  margin-top: 0.3rem;
}

.landing-demo-sources,
.landing-demo-source-documents,
.landing-demo-media,
.landing-demo-result-media {
  border-top: 1px solid rgba(217, 210, 198, 0.85);
  padding-top: 1rem;
  color: #25313d;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.landing-demo-media,
.landing-demo-result-media {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.2rem;
  border-top: 1px solid rgba(33, 61, 85, 0.14);
  padding-top: 1.1rem;
}

.landing-demo-source-documents {
  margin-top: 1.2rem;
}

.landing-demo-result[hidden],
.landing-demo-source-check[hidden],
.landing-demo-sources[hidden],
.landing-demo-source-documents[hidden],
.landing-demo-media[hidden],
.landing-demo-result-media[hidden],
.landing-demo-coachmark[hidden],
.landing-demo-scenario-intro[hidden],
.landing-demo-error[hidden] {
  display: none;
}

.statutory-media-card {
  border: 1px solid rgba(36, 79, 120, 0.18);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.82);
  padding: 1rem;
  animation: landing-demo-reveal 0.28s ease-out;
}

.statutory-media-card:focus-visible {
  outline: 3px solid rgba(36, 79, 120, 0.22);
  outline-offset: 3px;
}

.statutory-media-match-summary,
.statutory-media-unmatched {
  margin: 0;
  color: var(--demo-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.statutory-media-unmatched {
  margin-top: 0.35rem;
  font-style: italic;
}

.statutory-media-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  min-height: 1.35rem;
  margin-left: 0.4rem;
  border: 1px solid rgba(36, 79, 120, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
  color: var(--demo-primary-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
  padding: 0 0.28rem;
  vertical-align: -0.12em;
}

.statutory-media-chip:hover {
  border-color: rgba(36, 79, 120, 0.42);
  background: rgba(235, 244, 251, 0.95);
}

.statutory-media-chip:focus-visible {
  outline: 3px solid rgba(36, 79, 120, 0.22);
  outline-offset: 3px;
}

.statutory-media-chip.landing-demo-scripted-chip-focus {
  border-color: rgba(36, 79, 120, 0.42);
  background: rgba(235, 244, 251, 0.95);
  box-shadow: 0 0 0 0.2rem rgba(36, 79, 120, 0.1);
}

.statutory-media-chip-icon {
  display: block;
  flex: 0 0 auto;
  width: 0.72rem;
  height: 0.72rem;
}

.statutory-media-card h4 {
  margin: 0;
  color: #152130;
  font-size: 1rem;
  line-height: 1.3;
}

.landing-demo-sources h4,
.landing-demo-source-documents h4,
.landing-demo-media h3,
.landing-demo-result-media h3 {
  margin: 0;
  color: #152130;
  font-size: 1.05rem;
  line-height: 1.3;
}

.landing-demo-sources > p {
  margin: 0.85rem 0 0;
}

.landing-demo-source-entry h5 {
  margin: 1.2rem 0 0.55rem;
  color: #152130;
  line-height: 1.25;
}

.landing-demo-source-passage {
  margin: 0;
  white-space: pre-wrap;
  color: #25313d;
  line-height: 1.6;
}

.landing-demo-result-source-item {
  margin-top: 1rem;
  border: 1px solid rgba(33, 61, 85, 0.14);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.85rem;
}

.landing-demo-result-source-item h5 {
  margin: 0;
}

.landing-demo-result-source-meta {
  margin: 0.35rem 0 0;
  color: var(--demo-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.landing-demo-extracted-snapshot-panel {
  max-height: 28rem;
  margin: 0.75rem 0 0;
  overflow: auto;
  border-top: 1px solid rgba(33, 61, 85, 0.12);
  padding-top: 0.75rem;
  white-space: pre-wrap;
  color: #25313d;
  line-height: 1.6;
}

.statutory-media-source {
  margin: 0.45rem 0 0;
  color: #25313d;
  font-weight: 700;
}

.statutory-media-explanation,
.statutory-media-alt {
  margin: 0.45rem 0 0;
  color: var(--demo-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.statutory-media-details {
  margin-top: 0.75rem;
}

.statutory-media-details summary {
  width: fit-content;
  cursor: pointer;
  color: var(--demo-primary-dark);
  font-weight: 700;
}

.statutory-media-details summary:focus-visible {
  border-radius: 0.2rem;
  outline: 3px solid rgba(36, 79, 120, 0.22);
  outline-offset: 3px;
}

.statutory-media-image {
  display: block;
  max-width: min(100%, 44rem);
  max-height: 32rem;
  margin-top: 0.75rem;
  border: 1px solid rgba(36, 79, 120, 0.14);
  border-radius: 0.4rem;
  background: #ffffff;
  object-fit: contain;
}

.landing-demo-coachmark {
  position: absolute;
  z-index: 8;
  width: min(19rem, calc(100% - 2rem));
  border: 1px solid rgba(36, 79, 120, 0.2);
  border-radius: 0.65rem;
  background: rgba(250, 248, 243, 0.98);
  box-shadow: 0 0.85rem 1.8rem rgba(23, 32, 42, 0.14);
  padding: 0.75rem 0.85rem;
  color: #25313d;
  pointer-events: none;
  animation: landing-demo-reveal 0.2s ease-out;
}

.landing-demo-coachmark::before {
  content: "";
  position: absolute;
  top: -0.42rem;
  left: var(--coachmark-pointer-x, 1.15rem);
  width: 0.75rem;
  height: 0.75rem;
  border-top: 1px solid rgba(36, 79, 120, 0.2);
  border-left: 1px solid rgba(36, 79, 120, 0.2);
  background: rgba(250, 248, 243, 0.98);
  transform: translateX(-50%) rotate(45deg);
}

.landing-demo-coachmark-above::before {
  top: auto;
  bottom: -0.42rem;
  border: 0;
  border-right: 1px solid rgba(36, 79, 120, 0.2);
  border-bottom: 1px solid rgba(36, 79, 120, 0.2);
}

.landing-demo-coachmark-side::before {
  top: var(--coachmark-pointer-y, 50%);
  right: -0.42rem;
  bottom: auto;
  left: auto;
  border: 0;
  border-top: 1px solid rgba(36, 79, 120, 0.2);
  border-right: 1px solid rgba(36, 79, 120, 0.2);
  transform: translateY(-50%) rotate(45deg);
}

.landing-demo-coachmark-label {
  margin: 0;
  color: var(--demo-primary);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.landing-demo-coachmark-text {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.landing-demo-coachmark-target {
  outline: 3px solid rgba(36, 79, 120, 0.15);
  outline-offset: 3px;
}

.landing-demo-scenario-intro {
  position: absolute;
  z-index: 6;
  top: clamp(11rem, 24%, 14rem);
  left: 50%;
  width: min(32rem, calc(100% - 2rem));
  border: 1px solid rgba(36, 79, 120, 0.18);
  border-radius: 0.8rem;
  background: rgba(250, 248, 243, 0.95);
  box-shadow: 0 1rem 2.25rem rgba(23, 32, 42, 0.13);
  padding: clamp(1rem, 2.5vw, 1.35rem);
  color: #25313d;
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
  pointer-events: none;
  animation: landing-demo-intro-reveal 0.22s ease-out;
}

.landing-demo-scenario-intro-kicker {
  margin: 0;
  color: var(--demo-primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.landing-demo-scenario-intro-title {
  margin: 0.35rem 0 0;
  color: #152130;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.3;
}

.landing-demo-scenario-intro-text {
  margin: 0.55rem 0 0;
  color: var(--demo-muted);
  line-height: 1.55;
}

.landing-demo-error {
  margin: 1rem 0 0;
  color: #9d1c1c;
  font-weight: 700;
}

@keyframes landing-demo-reveal {
  from {
    opacity: 0;
    transform: translateY(0.35rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes landing-demo-intro-reveal {
  from {
    opacity: 0;
    transform: translate(-50%, 0.3rem);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 960px) {
  .landing-demo-workspace {
    grid-template-columns: 1fr;
  }

  .landing-demo-question {
    min-height: 8rem;
  }
}

@media (max-width: 560px) {
  .landing-demo-toolbar {
    position: static;
  }

  .landing-demo-controls,
  .landing-demo-button {
    width: 100%;
  }

  .landing-demo-button {
    justify-content: center;
  }

  .landing-demo-scenario-intro {
    top: 22rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-demo-toolbar-progress-track span,
  .landing-demo-step {
    transition: none;
  }

  .landing-demo-activity::before,
  .landing-demo-question-typing::after,
  .landing-demo-choose-button-active,
  .landing-demo-document-dialog,
  .landing-demo-result,
  .landing-demo-source-check,
  .statutory-media-card,
  .landing-demo-coachmark {
    animation: none;
  }

  .landing-demo-scenario-intro {
    animation: none;
  }

  .landing-demo-activity::before {
    transform: translateX(80%);
  }
}
