@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope/Manrope-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

#savings {
  --scanner-accent: #ffd76a;
  --scanner-accent-soft: rgba(255, 215, 106, 0.18);
  --scanner-gauge-progress: 48%;
  --scanner-locator-angle: 172.8deg;
  --scanner-exposed-progress: 32%;
  --scanner-recoverable-progress: 8%;
  --scanner-active-start: 72deg;
  --scanner-active-end: 137deg;
  --selector-accent: var(--scanner-accent);
  --selector-accent-soft: var(--scanner-accent-soft);
}

:root {
  --selector-accent: #65fe09;
  --selector-accent-soft: rgba(101, 254, 9, 0.18);
}

.scanner-summary-console {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
  border: 2.5px solid #ffed29;
  border-radius: 20px;
  padding: clamp(15px, 2vw, 20px);
  background:
    linear-gradient(180deg, rgba(10, 31, 66, 0.96), rgba(4, 18, 45, 0.98)),
    radial-gradient(circle at 50% 10%, color-mix(in srgb, var(--scanner-accent) 14%, transparent), transparent 35%),
    radial-gradient(circle at top right, rgba(40, 171, 214, 0.14), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(232, 245, 255, 0.08),
    inset 0 0 0 1px rgba(255, 237, 41, 0.14),
    0 0 26px rgba(255, 237, 41, 0.14),
    0 14px 34px rgba(0, 0, 0, 0.14);
}

.scanner-summary-console span,
.scanner-summary-console em {
  color: #b8d7f5;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scanner-summary-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.scanner-summary-head strong {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border: 1px solid color-mix(in srgb, var(--scanner-accent) 62%, rgba(255, 255, 255, 0.18));
  border-radius: 999px;
  background: color-mix(in srgb, var(--scanner-accent) 12%, rgba(4, 18, 45, 0.96));
  color: #f8fff1;
  font-size: 0.82rem;
}

.scanner-summary-head strong::before {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      transparent 40%,
      color-mix(in srgb, var(--scanner-accent) 10%, transparent) 46%,
      color-mix(in srgb, var(--scanner-accent) 48%, transparent) 50%,
      color-mix(in srgb, var(--scanner-accent) 10%, transparent) 54%,
      transparent 60%,
      transparent 100%
    );
  content: "";
  transform: translateX(-120%);
  animation: scanner-pill-sweep 5.8s linear infinite;
  pointer-events: none;
}

.scanner-summary-head strong::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 18px color-mix(in srgb, var(--scanner-accent) 14%, transparent);
  content: "";
  pointer-events: none;
}

.scanner-summary-head strong {
  isolation: isolate;
}

.scanner-summary-head strong::before,
.scanner-summary-head strong::after {
  z-index: -1;
}

.scanner-summary-head em {
  margin-left: auto;
  color: #bdd8ef;
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
}

.scanner-summary-results {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.28fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
}

.scanner-summary-results article {
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 104px;
  padding: 14px 16px;
  border: 1px solid rgba(126, 176, 222, 0.18);
  border-radius: 16px;
  background: rgba(5, 21, 50, 0.56);
}

.scanner-summary-results strong {
  color: #f6fdff;
  font-size: clamp(1.04rem, 1.8vw, 1.42rem);
  line-height: 1.12;
}

.scanner-summary-recovery {
  border-color: color-mix(in srgb, var(--scanner-accent) 62%, rgba(126, 176, 222, 0.18)) !important;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--scanner-accent) 12%, rgba(10, 31, 66, 0.92)),
      rgba(5, 21, 50, 0.72)
    ) !important;
  box-shadow: 0 0 24px color-mix(in srgb, var(--scanner-accent) 18%, transparent);
}

.scanner-summary-recovery strong {
  color: color-mix(in srgb, var(--scanner-accent) 82%, #fff);
  font-size: clamp(1.38rem, 2.45vw, 2rem);
}

.scanner-summary-value {
  border-color: color-mix(in srgb, var(--scanner-accent) 42%, rgba(126, 176, 222, 0.18)) !important;
}

.scanner-summary-value strong {
  color: color-mix(in srgb, var(--scanner-accent) 72%, #fff);
  font-size: clamp(1.18rem, 2vw, 1.62rem);
}

.scanner-summary-results em {
  color: color-mix(in srgb, var(--scanner-accent) 54%, #e9f5ff);
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
}

.scanner-summary-path {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.scanner-summary-path span {
  color: #cce2f5;
}

.scanner-summary-path i {
  width: clamp(24px, 4vw, 48px);
  height: 1px;
  background: linear-gradient(90deg, rgba(124, 242, 255, 0.58), var(--scanner-accent));
}

.scanner-summary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scanner-summary-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(126, 176, 222, 0.22);
  border-radius: 999px;
  background: rgba(4, 18, 45, 0.74);
}

.scanner-summary-chips em {
  font-style: normal;
}

.scanner-summary-chips strong {
  color: #f5fbff;
  font-size: 0.75rem;
}

.scanner-shell,
.scanner-main {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.scanner-chamber {
  display: grid;
  grid-template-columns: minmax(300px, 0.98fr) minmax(360px, 1.02fr);
  gap: 12px;
  align-items: start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.scanner-layout,
.scanner-visual-grid,
.scanner-explain-grid,
.scanner-return-grid,
.scanner-compatibility-grid {
  display: grid;
  gap: 12px;
}

.scanner-layout {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
}

.scanner-visual-grid,
.scanner-explain-grid,
.scanner-compatibility-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.scanner-visual-grid {
  grid-template-columns: 1fr;
}

.scanner-return-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scanner-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(78, 189, 228, 0.36);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(10, 31, 66, 0.96), rgba(5, 21, 52, 0.98)),
    radial-gradient(circle at top right, rgba(40, 171, 214, 0.1), transparent 38%);
  box-shadow:
    inset 0 1px 0 rgba(220, 238, 255, 0.12),
    inset 0 0 0 1px rgba(14, 78, 120, 0.22),
    0 20px 50px rgba(0, 0, 0, 0.18);
}

.scanner-leakage-panel,
.scanner-compression-panel,
.scanner-return-panel,
.scanner-compatibility-panel,
.scanner-output-note,
.scanner-controls,
.scanner-gauge-card {
  border-width: 1px;
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(220, 238, 255, 0.06),
    0 12px 28px rgba(0, 0, 0, 0.12);
}

.scanner-compatibility-panel {
  background:
    linear-gradient(180deg, rgba(8, 28, 58, 0.94), rgba(5, 21, 48, 0.98)),
    radial-gradient(circle at top right, rgba(40, 171, 214, 0.07), transparent 36%);
}

.scanner-return-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--scanner-accent) 14%, transparent), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(124, 242, 255, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(8, 28, 58, 0.96), rgba(5, 21, 48, 0.98));
}

.scanner-return-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 44%, rgba(255, 255, 255, 0.035) 50%, transparent 58%),
    repeating-linear-gradient(90deg, rgba(126, 176, 222, 0.026) 0 1px, transparent 1px 36px);
  opacity: 0.7;
  pointer-events: none;
}

.scanner-return-panel > * {
  position: relative;
  z-index: 1;
}

.scanner-controls {
  gap: clamp(28px, 3vw, 40px);
}

.scanner-panel-head,
.scanner-field-head,
.scanner-section-head,
.scanner-card-head {
  display: grid;
  gap: 5px;
}

.scanner-field-head span {
  display: inline-flex;
  align-items: center;
  line-height: 1.15;
}

.scanner-field-head[data-step] {
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 10px;
}

.scanner-field-head[data-step]::before {
  grid-row: 1 / span 2;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  align-self: start;
  border: 1px solid color-mix(in srgb, var(--scanner-accent) 46%, rgba(173, 230, 255, 0.22));
  border-radius: 10px;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--scanner-accent) 10%, rgba(10, 31, 66, 0.94)),
      rgba(5, 21, 50, 0.98)
    );
  color: #f8fff1;
  content: attr(data-step);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 0 10px color-mix(in srgb, var(--scanner-accent) 34%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--scanner-accent) 10%, transparent);
}

.scanner-field-head[data-step] span,
.scanner-field-head[data-step] small {
  grid-column: 2;
}

.scanner-field-head small {
  margin-top: 2px;
}

.scanner-kicker,
.scanner-section-head p,
.scanner-card-head p,
.scanner-capsule-kicker {
  color: #dff5b7;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scanner-panel-head h3,
.scanner-section-head h3 {
  color: #f5fbff;
  font-size: clamp(1.12rem, 2.2vw, 1.5rem);
}

.scanner-panel-head p:last-child,
.scanner-field-head small,
.scanner-section-copy,
.scanner-output-note p,
.scanner-audience-card p,
.scanner-compatibility-panel > p,
.scanner-advanced > p,
.scanner-mode-card span,
.scanner-return-card span,
.scanner-compatibility-card span {
  color: #bad8f7;
  line-height: 1.55;
}

.scanner-group,
.scanner-slider-field,
.scanner-number-field {
  position: relative;
  display: grid;
  gap: clamp(14px, 1.5vw, 18px);
  padding: clamp(14px, 1.8vw, 18px);
  border: 1px solid color-mix(in srgb, var(--scanner-accent) 58%, rgba(126, 176, 222, 0.26));
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--scanner-accent) 5%, transparent), transparent 30%),
    linear-gradient(180deg, rgba(8, 29, 66, 0.28), rgba(4, 18, 45, 0.1));
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--scanner-accent) 14%, rgba(220, 238, 255, 0.04)),
    inset 0 0 0 1px rgba(4, 18, 45, 0.42),
    0 0 16px color-mix(in srgb, var(--scanner-accent) 8%, transparent),
    0 0 0 1px rgba(5, 22, 54, 0.16);
}

.scanner-group + .scanner-group,
.scanner-group + .scanner-slider-field,
.scanner-slider-field + .scanner-group,
.scanner-slider-field + .scanner-number-field,
.scanner-number-field + .scanner-slider-field,
.scanner-group + .scanner-number-field,
.scanner-slider-field + .scanner-slider-field,
.scanner-number-field + .scanner-assumption-card,
.scanner-assumption-card + .scanner-optional-section {
  margin-top: clamp(10px, 1.4vw, 18px);
}

.scanner-group:focus-within,
.scanner-slider-field:focus-within,
.scanner-number-field:focus-within {
  border-color: color-mix(in srgb, var(--scanner-accent) 38%, rgba(126, 176, 222, 0.24));
  box-shadow:
    inset 0 1px 0 rgba(220, 238, 255, 0.06),
    0 0 22px color-mix(in srgb, var(--scanner-accent) 8%, transparent);
}

.scanner-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.scanner-mode-card,
.scanner-choice {
  cursor: pointer;
  transition: 180ms ease;
}

.scanner-mode-card {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 110px;
  padding: 13px 42px 13px 14px;
  border: 1px solid rgba(124, 170, 215, 0.42);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(13, 43, 86, 0.95), rgba(8, 27, 63, 0.98));
  text-align: left;
}

.scanner-mode-card::before {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(185, 216, 245, 0.58);
  border-radius: 50%;
  background: rgba(4, 18, 45, 0.82);
  box-shadow: inset 0 0 0 4px rgba(4, 18, 45, 0.94);
  content: "";
  transition: 180ms ease;
}

.scanner-mode-card::after {
  align-self: end;
  justify-self: start;
  color: rgba(198, 222, 245, 0.72);
  content: "Select this path";
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scanner-mode-card strong {
  color: #f4fbff;
  font-size: 0.95rem;
}

.scanner-mode-card:hover,
.scanner-choice:hover {
  transform: translateY(-1px);
}

.scanner-mode-card:hover {
  border-color: color-mix(in srgb, var(--scanner-accent) 42%, rgba(124, 170, 215, 0.42));
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--scanner-accent) 8%, rgba(13, 43, 86, 0.95)),
      rgba(8, 27, 63, 0.98)
    );
}

.scanner-mode-card.is-active {
  border-color: var(--scanner-accent);
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--scanner-accent) 14%, rgba(13, 43, 86, 0.95)),
      rgba(8, 27, 63, 0.98)
    );
  box-shadow:
    inset 0 0 0 1px rgba(232, 247, 255, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 20px var(--scanner-accent-soft);
}

.scanner-mode-card.is-active::before {
  border-color: var(--scanner-accent);
  background: var(--scanner-accent);
  box-shadow:
    inset 0 0 0 4px rgba(4, 18, 45, 0.94),
    0 0 18px var(--scanner-accent-soft);
}

.scanner-mode-card.is-active::after {
  color: color-mix(in srgb, var(--scanner-accent) 78%, #fff);
  content: "Selected";
}

.scanner-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scanner-choice-row-frequency,
.scanner-choice-row-team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.scanner-choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px 9px 38px;
  border: 1px solid rgba(129, 171, 212, 0.42);
  border-radius: 14px;
  background: rgba(12, 38, 76, 0.92);
  color: #e3f3ff;
  min-width: 0;
  font-size: clamp(0.7rem, 1.45vw, 0.82rem);
  font-weight: 720;
  text-align: center;
  line-height: 1.25;
  white-space: normal;
  text-wrap: balance;
  flex: 1 1 180px;
}

.scanner-choice::before {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(185, 216, 245, 0.58);
  border-radius: 50%;
  background: rgba(4, 18, 45, 0.82);
  box-shadow: inset 0 0 0 4px rgba(4, 18, 45, 0.94);
  content: "";
  transform: translateY(-50%);
  transition: 180ms ease;
}

.scanner-choice.is-active {
  border-color: var(--scanner-accent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--scanner-accent) 22%, rgba(10, 36, 72, 0.98)), rgba(6, 24, 56, 0.98));
  color: #fbfff2;
  box-shadow: 0 0 18px var(--scanner-accent-soft);
}

.scanner-choice.is-active::before {
  border-color: var(--scanner-accent);
  background: var(--scanner-accent);
  box-shadow:
    inset 0 0 0 4px rgba(4, 18, 45, 0.94),
    0 0 18px var(--scanner-accent-soft);
}

.scanner-slider-field input[type="range"],
.scanner-advanced input[type="range"] {
  --slider-fill: 50%;
  appearance: none;
  width: 100%;
  height: 28px;
  background: transparent;
  accent-color: var(--scanner-accent);
}

.team-size-field[hidden] {
  display: none;
}

.scanner-slider-field input[type="range"]::-webkit-slider-runnable-track,
.scanner-advanced input[type="range"]::-webkit-slider-runnable-track {
  height: 10px;
  border: 1px solid rgba(173, 230, 255, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--scanner-accent) 78%, #7cf2ff) 0%,
      var(--scanner-accent) var(--slider-fill),
      rgba(7, 24, 52, 0.96) var(--slider-fill),
      rgba(7, 24, 52, 0.96) 100%
    );
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.4),
    0 0 18px color-mix(in srgb, var(--scanner-accent) 14%, transparent);
}

.scanner-slider-field input[type="range"]::-moz-range-track,
.scanner-advanced input[type="range"]::-moz-range-track {
  height: 10px;
  border: 1px solid rgba(173, 230, 255, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--scanner-accent) 78%, #7cf2ff) 0%,
      var(--scanner-accent) var(--slider-fill),
      rgba(7, 24, 52, 0.96) var(--slider-fill),
      rgba(7, 24, 52, 0.96) 100%
    );
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.4),
    0 0 18px color-mix(in srgb, var(--scanner-accent) 14%, transparent);
}

.scanner-slider-field input[type="range"]::-webkit-slider-thumb,
.scanner-advanced input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -10px;
  border: 3px solid rgba(4, 18, 45, 0.96);
  border-radius: 50%;
  background: var(--scanner-accent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--scanner-accent) 62%, #fff),
    0 0 20px var(--scanner-accent-soft);
}

.scanner-slider-field input[type="range"]::-moz-range-thumb,
.scanner-advanced input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(4, 18, 45, 0.96);
  border-radius: 50%;
  background: var(--scanner-accent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--scanner-accent) 62%, #fff),
    0 0 20px var(--scanner-accent-soft);
}

.scanner-slider-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  color: #9fc5eb;
  font-size: 0.76rem;
}

.scanner-slider-meta output {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 5px 12px;
  border: 1px solid rgba(173, 230, 255, 0.24);
  border-radius: 999px;
  background: rgba(5, 24, 54, 0.94);
  color: #f1fbff;
  font-weight: 760;
}

.scanner-number-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(126, 176, 222, 0.42);
  border-radius: 12px;
  background: rgba(4, 18, 45, 0.96);
}

.scanner-currency {
  color: #cde9ff;
  font-weight: 800;
  font-size: 1rem;
}

.scanner-number-wrap input[type="number"] {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f4fbff;
  font-size: 1rem;
  font-weight: 800;
}

.scanner-assumption-card {
  display: grid;
  gap: 7px;
  padding: 14px 15px;
  border: 1px solid color-mix(in srgb, var(--scanner-accent) 42%, rgba(126, 176, 222, 0.22));
  border-radius: 16px;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--scanner-accent) 8%, rgba(10, 31, 66, 0.94)),
      rgba(5, 21, 50, 0.98)
    );
}

.scanner-assumption-card p {
  color: color-mix(in srgb, var(--scanner-accent) 66%, #eef8ff);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scanner-assumption-card strong {
  color: #f6fdff;
  font-size: clamp(0.94rem, 1.35vw, 1.04rem);
  line-height: 1.35;
}

.scanner-assumption-card output {
  color: color-mix(in srgb, var(--scanner-accent) 78%, #fff);
}

.scanner-assumption-card span {
  color: #bad8f7;
  line-height: 1.5;
}

.scanner-optional-section {
  display: grid;
  gap: 12px;
  padding: clamp(14px, 1.8vw, 18px);
  border: 1px solid color-mix(in srgb, var(--scanner-accent) 58%, rgba(126, 176, 222, 0.26));
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--scanner-accent) 5%, transparent), transparent 30%),
    linear-gradient(180deg, rgba(8, 29, 66, 0.24), rgba(4, 18, 45, 0.1));
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--scanner-accent) 14%, rgba(220, 238, 255, 0.04)),
    inset 0 0 0 1px rgba(4, 18, 45, 0.42),
    0 0 16px color-mix(in srgb, var(--scanner-accent) 8%, transparent);
}

.scanner-advanced-toggle {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: min(100%, 286px);
  min-height: 44px;
  padding: 0 6px 0 14px;
  border-color: color-mix(in srgb, var(--scanner-accent) 42%, rgba(153, 198, 238, 0.38));
  border-radius: 14px;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--scanner-accent) 8%, rgba(10, 31, 66, 0.94)),
      rgba(6, 24, 56, 0.98)
    );
  box-shadow:
    inset 0 1px 0 rgba(220, 238, 255, 0.12),
    0 0 18px color-mix(in srgb, var(--scanner-accent) 12%, transparent);
}

.scanner-toggle-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 176px;
  max-width: 190px;
  overflow: hidden;
  color: #edf6ff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.scanner-toggle-marquee {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  min-width: max-content;
  padding-inline: 2px;
  animation: scannerToggleLabelLoop 8.8s linear infinite;
}

.scanner-toggle-copy {
  display: inline-flex;
  align-items: center;
}

.scanner-toggle-copy--ghost {
  display: inline-flex;
}

.scanner-toggle-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 1.5px solid color-mix(in srgb, var(--scanner-accent) 62%, rgba(151, 204, 246, 0.42));
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--scanner-accent) 14%, rgba(20, 59, 92, 0.86)),
      rgba(10, 39, 69, 0.88)
    );
  box-shadow:
    inset 0 1px 0 rgba(245, 250, 255, 0.12),
    0 0 14px color-mix(in srgb, var(--scanner-accent) 16%, transparent);
}

.scanner-toggle-icon svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: transform 180ms ease;
}

.scanner-advanced-toggle[aria-expanded="true"] .scanner-toggle-icon svg {
  transform: rotate(180deg);
}

@keyframes scannerToggleLabelLoop {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 17px));
  }
}

.scanner-advanced {
  gap: 14px;
  border-color: rgba(181, 220, 255, 0.18);
  background: rgba(3, 18, 48, 0.74);
}

.scanner-advanced label {
  display: grid;
  gap: 7px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(124, 173, 214, 0.14);
}

.scanner-advanced label:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.scanner-advanced label span {
  color: #eef8ff;
  font-weight: 700;
}

.scanner-advanced label small {
  color: #bad8f7;
  line-height: 1.45;
}

.scanner-reset-row {
  display: grid;
  gap: 7px;
  padding-top: 2px;
}

.scanner-reset-row small {
  color: #9fc5eb;
  line-height: 1.45;
}

.scanner-reset-defaults {
  justify-self: start;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(239, 123, 123, 0.68);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(84, 34, 43, 0.9), rgba(48, 20, 33, 0.96));
  color: #ffe7e7;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 224, 206, 0.14),
    0 0 16px rgba(239, 123, 123, 0.1);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.scanner-reset-defaults:hover,
.scanner-reset-defaults:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 64, 64, 0.86);
  background:
    linear-gradient(180deg, rgba(108, 43, 42, 0.96), rgba(62, 25, 35, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 224, 206, 0.2),
    0 0 20px rgba(255, 64, 64, 0.18);
}

.scanner-reset-defaults.is-armed {
  border-color: rgba(255, 64, 64, 0.9);
  background:
    linear-gradient(180deg, rgba(132, 62, 38, 0.98), rgba(80, 35, 38, 1));
  color: #fff2d6;
  box-shadow:
    inset 0 1px 0 rgba(255, 231, 190, 0.24),
    inset 0 0 0 1px rgba(255, 64, 64, 0.36),
    0 0 24px rgba(255, 64, 64, 0.2);
}

.scanner-dashboard {
  display: grid;
  gap: 12px;
}

.scanner-gauge-card {
  overflow: hidden;
}

.scanner-card-head {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.scanner-card-head span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--scanner-accent) 58%, rgba(255, 255, 255, 0.16));
  border-radius: 999px;
  background: color-mix(in srgb, var(--scanner-accent) 12%, rgba(4, 18, 45, 0.96));
  color: #f8fff1;
  font-size: 0.74rem;
  font-weight: 780;
}

.scanner-gauge {
  position: relative;
  width: min(100%, 368px);
  aspect-ratio: 1;
  margin: 6px auto 0;
  padding: clamp(46px, 7vw, 58px);
  border-radius: 50%;
  isolation: isolate;
  background: radial-gradient(circle, rgba(10, 32, 68, 0.96), rgba(3, 15, 39, 0.98) 72%);
  box-shadow:
    inset 0 0 0 1px rgba(196, 229, 255, 0.08),
    inset 0 0 70px rgba(15, 61, 105, 0.22),
    0 0 32px var(--scanner-accent-soft);
  animation: scanner-core-breathe 4.8s ease-in-out infinite;
}

.scanner-gauge::before {
  position: absolute;
  inset: 28%;
  border: 1px dashed rgba(151, 202, 246, 0.14);
  border-radius: 50%;
  content: "";
}

.scanner-gauge-range,
.scanner-gauge-active-band {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.scanner-gauge-ticks,
.scanner-gauge-marker {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.scanner-gauge-range {
  background: rgba(127, 174, 214, 0.1);
  opacity: 1;
}

.scanner-gauge-range::after,
.scanner-gauge-active-band::after {
  position: absolute;
  inset: 7.25%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 32, 68, 0.98), rgba(3, 15, 39, 0.99) 72%);
  content: "";
}

.scanner-gauge-active-band {
  background:
    conic-gradient(
      from -90deg,
      #7cf2ff 0deg,
      #7cf2ff 58deg,
      #ffd76a 96deg,
      #ff9a62 168deg,
      #cf7eff 240deg,
      #b87dff 312deg,
      #b87dff 360deg
  );
  opacity: 1;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--scanner-accent) 28%, transparent));
  -webkit-mask-image:
    conic-gradient(
      from -90deg,
      rgba(0, 0, 0, 0.18) 0deg,
      #000 10deg,
      #000 var(--scanner-gauge-progress),
      transparent var(--scanner-gauge-progress) 100%
    );
  mask-image:
    conic-gradient(
      from -90deg,
      rgba(0, 0, 0, 0.18) 0deg,
      #000 10deg,
      #000 var(--scanner-gauge-progress),
      transparent var(--scanner-gauge-progress) 100%
    );
}

.scanner-gauge-ticks {
  background: repeating-conic-gradient(from -90deg, rgba(224, 244, 255, 0.72) 0deg 1.2deg, transparent 1.2deg 12deg);
  opacity: 0.46;
  -webkit-mask: radial-gradient(circle, transparent 0 80.2%, #000 80.6% 83.2%, transparent 83.6%);
  mask: radial-gradient(circle, transparent 0 80.2%, #000 80.6% 83.2%, transparent 83.6%);
}

.scanner-gauge-marker {
  z-index: 3;
  transform: rotate(var(--scanner-locator-angle));
  transition: transform 520ms ease;
}

.scanner-gauge-marker::before {
  position: absolute;
  top: 0.8%;
  left: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: var(--scanner-accent);
  box-shadow:
    0 0 0 3px rgba(4, 18, 45, 0.96),
    0 0 18px var(--scanner-accent),
    0 0 34px color-mix(in srgb, var(--scanner-accent) 52%, transparent),
    0 0 58px color-mix(in srgb, var(--scanner-accent) 24%, transparent);
  content: "";
  transform: translateX(-50%);
  animation: scanner-marker-glow 2.8s ease-in-out infinite;
}

.scanner-gauge-marker::after {
  position: absolute;
  top: calc(0.8% + 8px);
  left: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--scanner-accent) 42%, transparent), transparent 68%);
  content: "";
  filter: blur(4px);
  opacity: 0.8;
  transform: translate(-50%, -50%);
  animation: scanner-marker-halo 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scanner-marker-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 3px rgba(4, 18, 45, 0.96),
      0 0 18px var(--scanner-accent),
      0 0 34px color-mix(in srgb, var(--scanner-accent) 52%, transparent),
      0 0 58px color-mix(in srgb, var(--scanner-accent) 24%, transparent);
    transform: translateX(-50%) scale(1);
  }
  50% {
    box-shadow:
      0 0 0 4px rgba(4, 18, 45, 0.96),
      0 0 24px var(--scanner-accent),
      0 0 48px color-mix(in srgb, var(--scanner-accent) 58%, transparent),
      0 0 82px color-mix(in srgb, var(--scanner-accent) 32%, transparent);
    transform: translateX(-50%) scale(1.06);
  }
}

@keyframes scanner-marker-halo {
  0%,
  100% {
    opacity: 0.48;
    transform: translate(-50%, -50%) scale(0.82);
  }
  50% {
    opacity: 0.86;
    transform: translate(-50%, -50%) scale(1.18);
  }
}

.scanner-gauge-core {
  position: absolute;
  inset: 28%;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: clamp(16px, 3vw, 26px);
  border-radius: 50%;
  background:
    radial-gradient(circle at top, rgba(34, 211, 238, 0.08), transparent 48%),
    linear-gradient(180deg, rgba(10, 31, 66, 0.98), rgba(4, 18, 45, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(220, 238, 255, 0.08),
    inset 0 0 0 1px rgba(17, 71, 112, 0.18);
  text-align: center;
}

.scanner-gauge-core strong {
  color: #fbfdff;
  font-size: clamp(1.18rem, 2.35vw, 1.86rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.scanner-gauge-core em,
.scanner-gauge-core b {
  display: block;
  font-style: normal;
}

.scanner-gauge-core em {
  display: grid;
  gap: 4px;
  justify-items: center;
  color: #b8d8f4;
}

.scanner-gauge-core em span {
  color: color-mix(in srgb, var(--scanner-accent) 78%, #fff);
  font-size: clamp(1.22rem, 2.8vw, 2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.scanner-gauge-core b {
  display: grid;
  gap: 4px;
  justify-items: center;
  color: #b8d8f4;
}

.scanner-gauge-core b span {
  color: #f7fff0;
  font-size: clamp(0.98rem, 1.72vw, 1.32rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.scanner-gauge-core em small,
.scanner-gauge-core b small {
  color: #b8d8f4;
  font-size: clamp(0.66rem, 0.92vw, 0.76rem);
  font-style: normal;
  font-weight: 720;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.scanner-gauge-legend {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.scanner-gauge-legend > span {
  color: #b7d8f8;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scanner-gauge-legend ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.scanner-gauge-legend li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(126, 176, 222, 0.24);
  border-radius: 999px;
  color: #bdd9f5;
  font-size: 0.72rem;
  font-weight: 720;
}

.scanner-gauge-legend li::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.scanner-gauge-legend li[data-range-key="light"] {
  color: #7cf2ff;
}

.scanner-gauge-legend li[data-range-key="moderate"] {
  color: #ffd76a;
}

.scanner-gauge-legend li[data-range-key="heavy"] {
  color: #ff9a62;
}

.scanner-gauge-legend li[data-range-key="severe"] {
  color: #cf7eff;
}

.scanner-gauge-legend li[data-range-key="critical"] {
  color: #b87dff;
}

.scanner-gauge-explainer {
  margin-top: 10px;
  color: #a9c7e5;
  font-size: clamp(0.72rem, 1.1vw, 0.82rem);
  line-height: 1.45;
}

.scanner-gauge-legend li.is-current {
  border-color: currentColor;
  background: color-mix(in srgb, currentColor 10%, rgba(4, 18, 45, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 20px color-mix(in srgb, currentColor 42%, transparent);
}

.scanner-gauge-legend li.is-current::after {
  color: #effff5;
  content: "current";
  font-size: 0.62rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scanner-gauge-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.scanner-gauge-chip-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(126, 176, 222, 0.22);
  border-radius: 999px;
  background: rgba(4, 18, 45, 0.72);
  color: #bdd9f5;
  font-size: 0.72rem;
  font-weight: 720;
}

.scanner-gauge-chip-row strong {
  color: #f4fbff;
  font-size: 0.75rem;
}

.scanner-gauge-chip-row span:last-child {
  border-color: color-mix(in srgb, var(--scanner-accent) 52%, rgba(126, 176, 222, 0.22));
  background: color-mix(in srgb, var(--scanner-accent) 10%, rgba(4, 18, 45, 0.72));
}

.scanner-gauge-chip-row span:last-child strong {
  color: color-mix(in srgb, var(--scanner-accent) 82%, #fff);
}

.scanner-gauge-note {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--scanner-accent) 34%, rgba(126, 176, 222, 0.22));
  border-radius: 14px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--scanner-accent) 6%, rgba(8, 29, 67, 0.92)), rgba(4, 17, 42, 0.96));
}

.scanner-gauge-note p {
  color: color-mix(in srgb, var(--scanner-accent) 64%, #eef8ff);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scanner-gauge-note span {
  color: #d6e9f6;
  font-size: 0.9rem;
  line-height: 1.5;
}

.scanner-metrics-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.scanner-metric-card,
.scanner-return-card,
.scanner-compatibility-card {
  border: 1px solid rgba(126, 176, 222, 0.28);
  background: linear-gradient(180deg, rgba(10, 31, 66, 0.94), rgba(4, 18, 45, 0.98));
  box-shadow: inset 0 1px 0 rgba(232, 245, 255, 0.08);
}

.scanner-metric-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  grid-column: span 2;
  gap: 7px;
  min-height: 112px;
  padding: 16px 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 12%, rgba(126, 176, 222, 0.13), transparent 38%),
    linear-gradient(180deg, rgba(10, 31, 66, 0.95), rgba(4, 18, 45, 0.98));
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.scanner-metric-card::after {
  content: "";
  position: absolute;
  inset: -45% -12% auto auto;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--scanner-accent) 10%, transparent);
  filter: blur(8px);
  opacity: 0.64;
  pointer-events: none;
}

.scanner-metric-card > * {
  position: relative;
  z-index: 1;
}

.scanner-metric-card:nth-child(1),
.scanner-metric-card-recovery {
  grid-column: span 3;
}

.scanner-metric-card p {
  color: #c6def5;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.68rem, 0.94vw, 0.78rem);
  font-weight: 730;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scanner-metric-card strong {
  color: #f6fdff;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.18;
}

.scanner-metric-card span {
  color: color-mix(in srgb, var(--scanner-accent) 58%, #e9f5ff);
  font-size: 0.84rem;
  font-weight: 740;
}

.scanner-metric-card-recovery {
  border-color: color-mix(in srgb, var(--scanner-accent) 62%, rgba(126, 176, 222, 0.22));
  background:
    radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--scanner-accent) 20%, transparent), transparent 44%),
    linear-gradient(135deg, color-mix(in srgb, var(--scanner-accent) 9%, rgba(10, 31, 66, 0.96)), rgba(4, 18, 45, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(245, 255, 214, 0.08),
    0 0 24px color-mix(in srgb, var(--scanner-accent) 20%, transparent);
}

.scanner-metric-card-recovery strong {
  color: color-mix(in srgb, var(--scanner-accent) 74%, #fff);
}

.scanner-metric-card-value {
  grid-column: 1 / -1;
  min-height: 148px;
  padding: 20px 22px;
  border-color: color-mix(in srgb, var(--scanner-accent) 72%, rgba(126, 176, 222, 0.22));
  background:
    radial-gradient(circle at 18% 50%, color-mix(in srgb, var(--scanner-accent) 22%, transparent), transparent 42%),
    radial-gradient(circle at 86% 12%, rgba(124, 242, 255, 0.13), transparent 34%),
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--scanner-accent) 18%, rgba(10, 31, 66, 0.96)),
      rgba(5, 21, 50, 0.98)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 30px color-mix(in srgb, var(--scanner-accent) 24%, transparent);
}

.scanner-metric-card-value strong {
  color: #ffffff;
  font-size: clamp(1.65rem, 3.15vw, 2.45rem);
  letter-spacing: -0.03em;
}

.scanner-metric-card-value span {
  justify-self: start;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--scanner-accent) 52%, rgba(255, 255, 255, 0.2));
  border-radius: 999px;
  background: color-mix(in srgb, var(--scanner-accent) 12%, rgba(4, 18, 45, 0.76));
  color: color-mix(in srgb, var(--scanner-accent) 72%, #fff);
  font-size: clamp(0.82rem, 1.25vw, 0.98rem);
}

.scanner-metric-card:nth-child(n + 4) {
  min-height: 104px;
  border-color: rgba(126, 176, 222, 0.24);
  background:
    linear-gradient(180deg, rgba(10, 31, 66, 0.88), rgba(4, 18, 45, 0.96));
}

.scanner-output-note strong,
.scanner-return-card strong,
.scanner-compatibility-card strong {
  color: #f5fbff;
}

.leakage-bars,
.compression-rows {
  display: grid;
  gap: 10px;
}

.scanner-compression-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--scanner-accent) 12%, transparent), transparent 38%),
    radial-gradient(circle at 92% 72%, rgba(124, 242, 255, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(10, 31, 66, 0.95), rgba(4, 18, 45, 0.98));
}

.scanner-compression-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 34%, rgba(255, 255, 255, 0.035) 45%, transparent 58%),
    repeating-linear-gradient(90deg, rgba(126, 176, 222, 0.035) 0 1px, transparent 1px 42px);
  opacity: 0.58;
  pointer-events: none;
}

.scanner-compression-panel > * {
  position: relative;
  z-index: 1;
}

.leakage-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border: 1px solid color-mix(in srgb, var(--scanner-accent) 34%, rgba(126, 176, 222, 0.22));
  border-radius: 14px;
  background: color-mix(in srgb, var(--scanner-accent) 7%, rgba(4, 18, 45, 0.72));
}

.leakage-total span {
  color: #bad8f7;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.leakage-total strong {
  color: color-mix(in srgb, var(--scanner-accent) 76%, #fff);
  font-size: 0.92rem;
}

.leakage-row,
.compression-row {
  display: grid;
  gap: 6px;
}

.leakage-row-head,
.compression-row-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.leakage-row-head span,
.compression-row-head span {
  color: #eff8ff;
  font-size: 0.88rem;
  font-weight: 700;
}

.leakage-row-head strong,
.compression-row-head strong {
  color: color-mix(in srgb, var(--scanner-accent) 68%, #eef8ff);
  font-size: 0.78rem;
  font-weight: 760;
}

.leakage-track,
.compression-track {
  position: relative;
  height: 16px;
  border-radius: 999px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10, 34, 68, 0.96), rgba(7, 24, 52, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(120, 171, 212, 0.22),
    inset 0 1px 3px rgba(0, 0, 0, 0.36);
}

.leakage-fill {
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      #7cf2ff 0%,
      #ffd76a 38%,
      #ff9a62 68%,
      #cf7eff 100%
    );
  background-size: var(--leakage-bg-size, 100%) 100%;
  box-shadow:
    0 0 16px color-mix(in srgb, var(--scanner-accent) 16%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: width 420ms ease;
}

.compression-before,
.compression-after {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
}

.compression-before {
  background: linear-gradient(90deg, rgba(255, 184, 84, 0.84), rgba(255, 121, 87, 0.84));
  opacity: 0.86;
}

.compression-after {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--scanner-accent) 72%, #7cf2ff),
    var(--scanner-accent)
  );
  box-shadow: 0 0 18px var(--scanner-accent-soft);
}

.compression-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 0.84fr);
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}

.compression-side {
  display: grid;
  gap: 10px;
}

.compression-side strong {
  color: #f5fbff;
  font-size: clamp(0.95rem, 1.45vw, 1.16rem);
  letter-spacing: -0.02em;
}

.compression-stack {
  display: grid;
  gap: 9px;
}

.compression-stack span {
  position: relative;
  overflow: hidden;
  display: block;
  padding: 10px 12px 10px 36px;
  border: 1px solid color-mix(in srgb, var(--scanner-accent) 34%, rgba(255, 154, 98, 0.34));
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 50%, color-mix(in srgb, var(--scanner-accent) 18%, transparent), transparent 22%),
    linear-gradient(135deg, rgba(48, 33, 55, 0.62), rgba(13, 18, 42, 0.78));
  color: #ffe8cf;
  font-size: 0.82rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 22px rgba(0, 0, 0, 0.14);
}

.compression-stack span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 13px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7cf2ff, var(--scanner-accent-soft), var(--scanner-accent));
  box-shadow: 0 0 12px color-mix(in srgb, var(--scanner-accent) 42%, transparent);
  transform: translateY(-50%);
}

.compression-stack span::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 36%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--scanner-accent) 8%, transparent));
  pointer-events: none;
}

.compression-arrow {
  position: relative;
  height: 5px;
  border-radius: 999px;
  background: var(--scanner-accent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--scanner-accent) 34%, rgba(255, 255, 255, 0.18)),
    0 0 18px color-mix(in srgb, var(--scanner-accent) 52%, transparent),
    0 0 34px color-mix(in srgb, var(--scanner-accent) 28%, transparent);
  animation: compressionArrowNudgeX 2.4s ease-in-out infinite;
}

.compression-arrow::after {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 16px;
  height: 16px;
  border-top: 5px solid var(--scanner-accent);
  border-right: 5px solid var(--scanner-accent);
  border-radius: 2px;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--scanner-accent) 62%, transparent));
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.compression-arrow::before {
  position: absolute;
  inset: -15px;
  border-radius: 999px;
  background: radial-gradient(circle, color-mix(in srgb, var(--scanner-accent) 24%, transparent), transparent 68%);
  content: "";
  filter: blur(8px);
  opacity: 0.76;
  pointer-events: none;
}

@keyframes compressionArrowNudgeX {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

@keyframes compressionArrowNudgeY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

.compression-foundation {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 9px;
  place-content: center;
  min-height: 188px;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--scanner-accent) 72%, rgba(126, 176, 222, 0.22));
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--scanner-accent) 34%, transparent), transparent 44%),
    radial-gradient(circle at 20% 18%, rgba(124, 242, 255, 0.16), transparent 34%),
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--scanner-accent) 22%, rgba(10, 31, 66, 0.94)),
      rgba(5, 21, 50, 0.98)
    );
  color: #f5ffe8;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 32px color-mix(in srgb, var(--scanner-accent) 24%, transparent);
}

.compression-foundation::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid color-mix(in srgb, var(--scanner-accent-soft) 34%, transparent);
  border-radius: 20px;
  opacity: 0.72;
  pointer-events: none;
}

.compression-foundation::after {
  content: "";
  position: absolute;
  inset: auto 18% -20px;
  height: 54px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--scanner-accent) 28%, transparent);
  filter: blur(20px);
  opacity: 0.82;
  pointer-events: none;
}

.compression-foundation span {
  position: relative;
  z-index: 1;
  font-size: clamp(1rem, 1.85vw, 1.28rem);
  font-weight: 760;
}

.compression-foundation em {
  position: relative;
  z-index: 1;
  justify-self: center;
  padding: 5px 11px;
  border: 1px solid color-mix(in srgb, var(--scanner-accent) 44%, rgba(255, 255, 255, 0.18));
  border-radius: 999px;
  background: color-mix(in srgb, var(--scanner-accent) 12%, rgba(5, 21, 50, 0.78));
  color: color-mix(in srgb, var(--scanner-accent) 72%, #fff);
  font-size: 0.82rem;
  font-weight: 760;
  font-style: normal;
}

.scanner-audience-card-agentic {
  border-color: rgba(184, 125, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(24, 20, 70, 0.96), rgba(10, 16, 53, 0.98)),
    radial-gradient(circle at top right, rgba(184, 125, 255, 0.18), transparent 38%);
}

.scanner-path {
  position: relative;
  display: flex;
  align-items: center;
  width: min(100%, 520px);
  min-height: 84px;
  margin: 4px 0 2px;
  padding: 10px 96px 28px 8px;
  --path-color: #7cf2ff;
  --path-glow: rgba(124, 242, 255, 0.34);
  --path-center-y: 22px;
}

.scanner-path::before {
  position: absolute;
  top: var(--path-center-y);
  left: 17px;
  right: 41px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--path-color) 58%, transparent) 0%,
    color-mix(in srgb, var(--path-color) 58%, transparent) 78%,
    color-mix(in srgb, var(--path-color) 28%, transparent) 92%,
    transparent 100%
  );
  content: "";
  opacity: 0.72;
}

.scanner-path::after {
  position: absolute;
  top: calc(var(--path-center-y) - 6px);
  left: 12px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.76), transparent 0 24%, transparent 45%),
    var(--path-color);
  box-shadow:
    0 0 12px var(--path-color),
    0 0 26px var(--path-glow);
  content: "";
  animation: scannerPathSignal 5.4s cubic-bezier(0.42, 0, 0.2, 1) infinite;
  z-index: 1;
}

.scanner-path-chat::after {
  animation-duration: 4.8s;
}

.scanner-path-agentic {
  --path-color: #b87dff;
  --path-glow: rgba(184, 125, 255, 0.34);
}

.scanner-path-agentic::after {
  animation-duration: 5.8s;
}

.scanner-path span {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--path-color) 62%, #fff);
  background:
    radial-gradient(circle, color-mix(in srgb, var(--path-color) 88%, #fff) 0 42%, rgba(5, 21, 50, 0.98) 45% 100%);
  box-shadow:
    0 0 0 4px rgba(5, 21, 50, 0.94),
    0 0 18px var(--path-glow);
}

.scanner-path span + span {
  margin-left: clamp(42px, 7vw, 68px);
}

.scanner-path span::after {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  color: color-mix(in srgb, var(--path-color) 54%, #dbeeff);
  content: attr(data-path-label);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.58rem, 1vw, 0.68rem);
  font-weight: 760;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

@keyframes scannerPathSignal {
  0% {
    left: 12px;
    top: calc(var(--path-center-y) - 6px);
    opacity: 0;
    transform: scale(0.72);
  }
  12% {
    opacity: 1;
    transform: scale(1);
  }
  58% {
    left: calc(100% - 41px);
    top: calc(var(--path-center-y) - 6px);
    opacity: 1;
    transform: scale(1);
  }
  76% {
    left: calc(100% - 41px);
    top: 40px;
    opacity: 1;
    transform: scale(0.9);
  }
  100% {
    left: calc(100% - 41px);
    top: 46px;
    opacity: 0;
    transform: scale(0.62);
  }
}

.scanner-path-bulb {
  position: absolute;
  top: -2px;
  right: 8px;
  width: 66px;
  height: 66px;
  border: 1px solid color-mix(in srgb, var(--path-color) 56%, rgba(255, 255, 255, 0.22));
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.52), transparent 0 9%, transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(7, 25, 54, 0.36));
  box-shadow:
    inset 0 1px 10px rgba(255, 255, 255, 0.11),
    inset 0 -16px 20px color-mix(in srgb, var(--path-color) 14%, transparent),
    0 0 24px var(--path-glow);
  overflow: hidden;
}

.scanner-path-bulb-label {
  position: absolute;
  top: 68px;
  right: 0;
  width: 82px;
  color: color-mix(in srgb, var(--path-color) 58%, #dbeeff);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.52rem, 0.92vw, 0.62rem);
  font-weight: 760;
  letter-spacing: 0.07em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.scanner-path-bulb::before,
.scanner-path-bulb::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.scanner-path-bulb::before {
  left: -6px;
  right: -6px;
  bottom: -1px;
  height: 58px;
  border-top: 1px solid color-mix(in srgb, var(--path-color) 78%, rgba(255, 255, 255, 0.36));
  border-radius: 46% 54% 0 0 / 22% 34% 0 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--path-color) 84%, rgba(255, 255, 255, 0.16)), var(--path-color));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -14px 18px color-mix(in srgb, #061936 38%, transparent),
    0 0 18px var(--path-glow);
  opacity: 0.78;
  transform-origin: 50% 100%;
  animation: scannerBulbSlosh 5.4s ease-in-out infinite;
}

.scanner-path-bulb::after {
  left: 50%;
  bottom: 11px;
  width: 34px;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--path-color) 38%, transparent);
  filter: blur(6px);
  transform: translateX(-50%);
  animation: scannerBulbImpact 3.6s ease-in-out infinite;
}

.scanner-path-chat .scanner-path-bulb::before,
.scanner-path-chat .scanner-path-bulb::after {
  animation-duration: 4.8s;
}

.scanner-path-agentic .scanner-path-bulb::before,
.scanner-path-agentic .scanner-path-bulb::after {
  animation-duration: 5.8s;
}

.scanner-path-chat .scanner-path-bulb::before {
  animation-duration: 19.2s;
}

.scanner-path-agentic .scanner-path-bulb::before {
  animation-duration: 23.2s;
}

.scanner-path-spill {
  position: absolute;
  top: 58px;
  right: 0;
  width: 88px;
  height: 172px;
  overflow: visible;
  pointer-events: none;
}

.scanner-path-spill i {
  --drip-x: 0px;
  --drip-end-x: 0px;
  --drip-delay: 0%;
  position: absolute;
  top: 0;
  left: 50%;
  width: 7px;
  height: 9px;
  border-radius: 50% 50% 58% 58%;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.45), transparent 0 26%, transparent 48%),
    var(--path-color);
  box-shadow:
    0 0 10px var(--path-color),
    0 0 20px var(--path-glow);
  opacity: 0;
  transform: translateX(calc(-50% + var(--drip-x))) translateY(-6px) scale(0.7);
  animation: scannerBulbDripTrail 19.2s cubic-bezier(0.3, 0.08, 0.24, 1) infinite;
}

.scanner-path-spill i:nth-child(1) {
  --drip-x: -4px;
  --drip-end-x: -34px;
}

.scanner-path-spill i:nth-child(2) {
  --drip-x: 6px;
  --drip-end-x: -10px;
  animation-delay: 0.26s;
}

.scanner-path-spill i:nth-child(3) {
  --drip-x: -2px;
  --drip-end-x: 18px;
  width: 6px;
  height: 8px;
  animation-delay: 0.58s;
}

.scanner-path-spill i:nth-child(4) {
  --drip-x: 8px;
  --drip-end-x: 34px;
  width: 5px;
  height: 7px;
  animation-delay: 0.92s;
}

.scanner-path-spill i:nth-child(5) {
  --drip-x: -8px;
  --drip-end-x: 4px;
  width: 8px;
  height: 10px;
  animation-delay: 1.28s;
}

.scanner-path-agentic .scanner-path-spill i {
  animation-duration: 23.2s;
}

@keyframes scannerBulbSlosh {
  0%,
  18% {
    border-radius: 50% 50% 0 0 / 24% 24% 0 0;
    opacity: 0.38;
    transform: rotate(0deg) scaleY(0.1);
  }
  19% {
    border-radius: 46% 54% 0 0 / 20% 30% 0 0;
    opacity: 0.58;
    transform: rotate(-1.4deg) scaleY(0.2);
  }
  22%,
  43% {
    border-radius: 50% 50% 0 0 / 24% 24% 0 0;
    opacity: 0.54;
    transform: rotate(0deg) scaleY(0.2);
  }
  44% {
    border-radius: 55% 45% 0 0 / 31% 18% 0 0;
    opacity: 0.72;
    transform: rotate(1.5deg) scaleY(0.36);
  }
  47%,
  68% {
    border-radius: 50% 50% 0 0 / 24% 24% 0 0;
    opacity: 0.66;
    transform: rotate(0deg) scaleY(0.36);
  }
  69% {
    border-radius: 46% 54% 0 0 / 20% 32% 0 0;
    opacity: 0.84;
    transform: rotate(-1.4deg) scaleY(0.54);
  }
  72%,
  80% {
    border-radius: 50% 50% 0 0 / 24% 24% 0 0;
    opacity: 0.78;
    transform: rotate(0deg) scaleY(0.54);
  }
  82% {
    border-radius: 55% 45% 0 0 / 32% 18% 0 0;
    opacity: 0.96;
    transform: rotate(1.3deg) scaleY(0.9);
  }
  85%,
  98% {
    border-radius: 50% 50% 0 0 / 24% 24% 0 0;
    opacity: 0.88;
    transform: rotate(0deg) scaleY(0.9);
  }
  99.4% {
    opacity: 0.24;
    transform: rotate(0deg) scaleY(0.08);
  }
  100% {
    border-radius: 50% 50% 0 0 / 24% 24% 0 0;
    opacity: 0.38;
    transform: rotate(0deg) scaleY(0.1);
  }
}

@keyframes scannerBulbDripTrail {
  0%,
  84% {
    opacity: 0;
    transform: translateX(calc(-50% + var(--drip-x))) translateY(-6px) scale(0.62);
  }
  85.5% {
    opacity: 1;
    transform: translateX(calc(-50% + var(--drip-x))) translateY(0) scale(1);
  }
  91% {
    opacity: 0.96;
    transform: translateX(calc(-50% + var(--drip-end-x) * 0.25)) translateY(42px) scale(0.92);
  }
  97% {
    opacity: 0.78;
    transform: translateX(calc(-50% + var(--drip-end-x) * 0.78)) translateY(116px) scale(0.72);
  }
  100% {
    opacity: 0;
    transform: translateX(calc(-50% + var(--drip-end-x) * 1.2)) translateY(158px) scale(0.42);
  }
}

@keyframes scannerBulbImpact {
  0%,
  56% {
    opacity: 0;
    transform: translateX(-50%) scaleX(0.55);
  }
  72% {
    opacity: 0.9;
    transform: translateX(-50%) scaleX(1.12);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scaleX(0.72);
  }
}

.scanner-return-card,
.scanner-compatibility-card {
  display: grid;
  gap: 6px;
  padding: 13px 14px;
  border-radius: 14px;
}

.scanner-return-grid {
  gap: 10px;
}

.scanner-return-card {
  --benefit-color: var(--scanner-accent);
  --benefit-soft: var(--scanner-accent-soft);
  position: relative;
  overflow: hidden;
  align-content: center;
  min-height: 118px;
  padding: 68px 18px 16px;
  border-color: color-mix(in srgb, var(--scanner-accent) 58%, rgba(126, 176, 222, 0.22));
  border-radius: 22px;
  background:
    radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--scanner-accent) 18%, transparent), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--scanner-accent) 8%, rgba(10, 31, 66, 0.96)), rgba(4, 18, 45, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 16px 34px rgba(0, 0, 0, 0.14),
    0 0 22px color-mix(in srgb, var(--scanner-accent) 12%, transparent);
}

.scanner-return-card::before {
  content: attr(data-benefit-index);
  position: absolute;
  top: 13px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid color-mix(in srgb, var(--scanner-accent) 62%, rgba(255, 255, 255, 0.2));
  border-radius: 14px;
  background: color-mix(in srgb, var(--scanner-accent) 12%, rgba(5, 21, 50, 0.86));
  color: color-mix(in srgb, var(--scanner-accent) 72%, #fff);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.05em;
  box-shadow: 0 0 18px color-mix(in srgb, var(--scanner-accent) 22%, transparent);
}

.scanner-return-card::after {
  content: var(--benefit-symbol);
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid color-mix(in srgb, var(--scanner-accent) 58%, rgba(255, 255, 255, 0.2));
  border-radius: 999px;
  background: color-mix(in srgb, var(--scanner-accent) 8%, rgba(5, 21, 50, 0.9));
  color: color-mix(in srgb, var(--scanner-accent) 84%, #fff);
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1;
  box-shadow:
    inset 0 0 0 1px rgba(4, 18, 45, 0.5),
    0 0 12px color-mix(in srgb, var(--scanner-accent) 18%, transparent);
  opacity: 0.92;
  animation: scannerReturnSignal 4.8s ease-in-out infinite;
  pointer-events: none;
}

.scanner-return-card:nth-child(1)::after {
  font-family: sans-serif;
  font-size: 1.45rem;
}

.scanner-return-card:nth-child(n + 3)::after {
  font-size: 1.72rem;
}

.scanner-return-card strong {
  position: absolute;
  top: 23px;
  right: 76px;
  left: 66px;
  color: #f7fcff;
  font-size: clamp(1.08rem, 1.65vw, 1.28rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-align: center;
}

.scanner-return-card span {
  color: #c7def5;
  font-size: clamp(0.86rem, 1.25vw, 0.98rem);
  line-height: 1.42;
}

.scanner-return-card:nth-child(1) {
  --benefit-symbol: "⏱";
}

.scanner-return-card:nth-child(2) {
  --benefit-symbol: "£";
}

.scanner-return-card:nth-child(3) {
  --benefit-symbol: "↯";
}

.scanner-return-card:nth-child(4) {
  --benefit-symbol: "↻";
}

.scanner-return-card:nth-child(5) {
  --benefit-symbol: "★";
}

.scanner-return-card:nth-child(6) {
  --benefit-symbol: "✓";
}

@keyframes scannerReturnSignal {
  0%,
  100% {
    opacity: 0.74;
    transform: translateY(0) scale(0.96);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px) scale(1.05);
  }
}

@keyframes scanner-core-breathe {
  0%,
  100% {
    box-shadow:
      inset 0 0 0 1px rgba(196, 229, 255, 0.08),
      0 0 28px var(--scanner-accent-soft);
  }
  50% {
    box-shadow:
      inset 0 0 0 1px rgba(196, 229, 255, 0.12),
      0 0 42px var(--scanner-accent-soft);
  }
}

@keyframes scanner-pill-sweep {
  0%,
  8% {
    transform: translateX(-120%);
  }
  78% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@media (max-width: 1160px) {
  .scanner-chamber,
  .scanner-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .scanner-summary-results {
    grid-template-columns: 1fr;
  }

  .scanner-visual-grid,
  .scanner-explain-grid,
  .scanner-return-grid,
  .scanner-compatibility-grid,
  .scanner-mode-grid,
  .scanner-metrics-grid {
    grid-template-columns: 1fr;
  }

  .scanner-metric-card,
  .scanner-metric-card:nth-child(1),
  .scanner-metric-card-recovery,
  .scanner-metric-card-value {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .scanner-panel {
    padding: 13px;
    border-radius: 16px;
  }

  .scanner-choice {
    flex-basis: 100%;
  }

  .scanner-choice-row-frequency .scanner-choice,
  .scanner-choice-row-team .scanner-choice {
    min-width: 0;
    padding-right: clamp(10px, 2.2vw, 14px);
    padding-left: clamp(42px, 7vw, 48px);
    font-size: clamp(0.72rem, 2.55vw, 0.82rem);
  }

  .scanner-choice {
    justify-content: flex-start;
    text-align: left;
  }

  .scanner-choice::before {
    left: clamp(14px, 2.6vw, 16px);
  }

  .scanner-card-head {
    grid-template-columns: 1fr;
  }

  .scanner-card-head span {
    justify-self: start;
  }

  .scanner-gauge {
    width: min(100%, 272px);
    padding: 34px;
  }

  .scanner-gauge-core {
    inset: 31%;
    gap: 6px;
    padding: 14px;
  }

  .scanner-gauge-core strong {
    font-size: clamp(0.94rem, 4.5vw, 1.18rem);
    line-height: 1.02;
  }

  .scanner-gauge-core em span {
    font-size: clamp(1rem, 5.4vw, 1.38rem);
  }

  .scanner-gauge-core b span {
    font-size: clamp(0.82rem, 3.9vw, 1rem);
  }

  .scanner-gauge-core em small,
  .scanner-gauge-core b small {
    font-size: clamp(0.56rem, 2.35vw, 0.66rem);
    letter-spacing: 0.07em;
  }

  .compression-story {
    grid-template-columns: 1fr;
  }

  .scanner-summary-head {
    display: grid;
  }

  .scanner-summary-head em {
    margin-left: 0;
  }

  .scanner-summary-recovery {
    order: -1;
  }

  .scanner-summary-value {
    order: 0;
  }

  .scanner-summary-exposed {
    order: 1;
  }

  .scanner-summary-path {
    justify-content: flex-start;
  }

  .compression-arrow {
    width: 5px;
    height: 36px;
    justify-self: center;
    background: var(--scanner-accent);
    animation-name: compressionArrowNudgeY;
  }

  .compression-arrow::after {
    top: auto;
    right: 50%;
    bottom: -1px;
    transform: translateX(50%) rotate(135deg);
  }

}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope/Manrope-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope/Manrope-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope/Manrope-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("./assets/fonts/ibm-plex-mono/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("./assets/fonts/ibm-plex-mono/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("./assets/fonts/ibm-plex-mono/IBMPlexMono-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --font-sans: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --simme-tile-image: url("./assets/tile-simme.svg");
  --bg: #00b8f0;
  --frame: #04132e;
  --frame-2: #0a1d46;
  --section: rgba(4, 18, 45, 0.82);
  --section-strong: rgba(5, 22, 54, 0.95);
  --card: linear-gradient(180deg, rgba(8, 29, 67, 0.96), rgba(4, 17, 42, 0.98));
  --card-soft: linear-gradient(180deg, rgba(8, 29, 67, 0.74), rgba(4, 17, 42, 0.88));
  --line: rgba(34, 211, 238, 0.24);
  --line-strong: rgba(34, 211, 238, 0.46);
  --line-muted: rgba(148, 163, 184, 0.22);
  --text: #eef8ff;
  --muted: #aac5de;
  --muted-2: #c9e5fb;
  --green: #9ee160;
  --green-2: #6dcf54;
  --green-soft: rgba(158, 225, 96, 0.16);
  --cyan: #00dbff;
  --cyan-soft: rgba(0, 219, 255, 0.16);
  --red: #ef7b7b;
  --red-soft: rgba(239, 123, 123, 0.16);
  --shadow-frame: inset 0 0 0 1px rgba(148, 163, 184, 0.08), 0 26px 56px rgba(2, 6, 23, 0.42);
  --shadow-panel: 0 14px 34px rgba(2, 6, 23, 0.24);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 12px;
  --radius-btn: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--text);
  scroll-behavior: smooth;
  cursor: default;
}

body {
  background-color: var(--bg);
  background-image: var(--simme-tile-image);
  background-repeat: repeat;
  background-size: 128px auto;
  overflow-x: hidden;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(1.65rem, 2.7vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  line-height: 1.12;
}

h3 {
  font-size: clamp(0.98rem, 1.1vw, 1.12rem);
  line-height: 1.2;
}

p,
li,
summary,
button,
input,
output,
a {
  font: inherit;
}

p {
  color: var(--muted);
  line-height: 1.58;
}

a {
  color: inherit;
}

button {
  appearance: none;
}

main,
section,
nav,
article,
div {
  cursor: default;
}

a,
button,
summary,
.journey-chip,
.compare-btn,
.tab-btn,
.flow-node,
.advanced-toggle,
.cta-card,
.journey-menu-btn {
  cursor: pointer;
}

input[type="range"] {
  cursor: ew-resize;
}

input[type="number"] {
  cursor: text;
}

.app-shell {
  width: min(1240px, 95vw);
  margin: 18px auto 32px;
  padding: 18px;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(56, 189, 248, 0.34);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--frame) 0%, #071a42 48%, var(--frame-2) 100%);
  box-shadow: var(--shadow-frame);
  overflow-x: visible;
}

.hero,
.journey-nav,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--section);
  box-shadow: var(--shadow-panel);
}

.app-shell > * {
  min-width: 0;
}

.hero,
.panel {
  min-width: 0;
  padding: 16px;
}

.panel-soft {
  background: linear-gradient(180deg, rgba(8, 24, 58, 0.72), rgba(4, 17, 42, 0.82));
}

.panel-showcase {
  background:
    radial-gradient(circle at top right, rgba(0, 219, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(7, 22, 54, 0.92), rgba(4, 17, 42, 0.96));
  border-color: rgba(46, 194, 231, 0.46);
}

.hero {
  --hero-panel-radius: 18px;
  display: grid;
  gap: 14px;
  padding: 20px;
  border-color: rgba(34, 211, 238, 0.4);
  background:
    radial-gradient(circle at top center, rgba(0, 219, 255, 0.1), transparent 40%),
    linear-gradient(180deg, rgba(2, 12, 34, 0.92), rgba(2, 10, 30, 0.84));
}

.hero-brand-wrap {
  display: flex;
  justify-content: center;
}

.brand-mark {
  width: min(190px, 48vw);
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.hero-copy {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: left;
}

.hero-copy > p:not(.hero-kicker) {
  width: min(66ch, 100%);
  max-width: 66ch;
  color: #c5e0f7;
  font-size: 0.94rem;
  line-height: 1.62;
  text-align: left;
}

.hero-copy h1 {
  max-width: 66ch;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.52;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: none;
  justify-self: center;
  text-align: center;
}

.hero-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: calc(100% + 16px);
  margin: -4px -8px 2px;
  padding: 11px 14px 10px;
  border: 1px solid rgba(158, 225, 96, 0.62);
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, rgba(64, 121, 83, 0.3), rgba(35, 80, 58, 0.18));
  color: #efffd8;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 540;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(230, 255, 194, 0.2);
}

.section-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 42px;
  padding: 5px 10px 4px;
  border: 1px solid rgba(255, 88, 88, 0.78);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(72, 14, 20, 0.88), rgba(42, 8, 14, 0.94));
  color: #ffe7e7;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 218, 218, 0.1),
    0 0 16px rgba(255, 72, 72, 0.12);
}

.section-index-inline {
  min-width: 40px;
  padding-inline: 9px;
  border-color: rgba(255, 88, 88, 0.82);
  background: linear-gradient(180deg, rgba(82, 18, 24, 0.86), rgba(46, 8, 14, 0.92));
  color: #fff0f0;
}

.hero-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  width: calc(100% + 40px);
  margin: 12px -20px -20px;
}

.hero-points span,
.offer-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1.5px solid rgba(34, 211, 238, 0.54);
  border-radius: 999px;
  background: linear-gradient(165deg, rgba(10, 57, 91, 0.96), rgba(7, 43, 71, 0.96));
  box-shadow: inset 0 1px 0 rgba(194, 234, 252, 0.16), 0 0 0 1px rgba(9, 128, 170, 0.16);
  color: #dff2ff;
  font-size: 0.94rem;
  font-weight: 700;
  text-align: center;
}

.hero-points span {
  width: 100%;
  min-height: 36px;
  padding: 6px 14px;
  font-size: 0.84rem;
  font-weight: 650;
  border-top-width: 1px;
  border-bottom-width: 1px;
  box-shadow: inset 0 1px 0 rgba(194, 234, 252, 0.1);
  border-left-width: 0;
  border-right-width: 0;
  border-radius: 0;
}

.hero-points span:last-child {
  border-left-width: 0;
  border-right-width: 0;
  border-bottom-width: 0;
  border-bottom-left-radius: calc(var(--hero-panel-radius) - 1px);
  border-bottom-right-radius: calc(var(--hero-panel-radius) - 1px);
}

.journey-nav {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(6, 24, 58, 0.98), rgba(4, 18, 45, 0.96));
  overflow: visible;
  border-radius: 14px;
}

.journey-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 32px;
  padding: 2px 4px;
  text-decoration: none;
}

.journey-brand-logo {
  display: block;
  width: 132px;
  height: auto;
  max-width: 132px;
  object-fit: contain;
}

.journey-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
  width: 100%;
  overflow: visible;
}

.journey-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(210, 230, 255, 0.42);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(10, 31, 67, 0.96), rgba(7, 23, 50, 0.98));
}

.journey-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #dceeff;
}

.journey-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 41px;
  padding: 7px 16px;
  border: 1px solid rgba(212, 232, 255, 0.34);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(9, 28, 62, 0.92), rgba(6, 20, 46, 0.96));
  color: #dceeff;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: 180ms ease;
  box-shadow: inset 0 0 0 1px rgba(134, 171, 214, 0.12), 0 2px 8px rgba(2, 10, 25, 0.22);
}

.journey-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(222, 240, 255, 0.66);
}

.journey-chip.is-current {
  border-color: rgba(158, 225, 96, 0.7);
  background: linear-gradient(160deg, rgba(65, 122, 84, 0.96), rgba(40, 87, 62, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(236, 255, 211, 0.18),
    inset 0 0 0 1px rgba(174, 233, 118, 0.2),
    0 0 14px rgba(132, 204, 22, 0.24);
  color: #f4ffdf;
}

.journey-nav.is-collapsed {
  position: sticky;
  top: 10px;
  flex-wrap: nowrap;
  align-items: center;
}

.journey-nav.is-collapsed .journey-brand {
  order: 1;
}

.journey-nav.is-collapsed .journey-menu-btn {
  display: inline-flex;
  order: 2;
  margin-left: auto;
}

.journey-nav.is-collapsed .journey-links {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  overflow: visible;
  order: 3;
  width: max-content;
  max-width: min(90vw, 440px);
  min-width: 0;
}

.journey-nav.is-collapsed.is-open .journey-links {
  display: grid;
  gap: 8px;
  width: max-content;
  padding: 8px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: rgba(4, 18, 45, 0.92);
  justify-items: stretch;
  box-shadow: 0 14px 28px rgba(2, 8, 24, 0.34);
}

.journey-nav.is-collapsed.is-open .journey-chip {
  width: auto;
  justify-content: flex-start;
  min-width: max-content;
}

.journey-nav.is-collapsed .journey-chip {
  font-size: 0.88rem;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.section-head h2 {
  color: #f1f9ff;
  font-size: clamp(1.55rem, 2.4vw, 2.3rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 640;
  max-width: 14ch;
}

.section-head p {
  max-width: 56ch;
}

.section-head .section-index,
.value-strip-head .section-index {
  margin-bottom: 2px;
}

.compare-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 14px;
  padding: 3px;
  border: 1px solid rgba(189, 214, 244, 0.48);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(46, 63, 93, 0.92), rgba(34, 52, 80, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(226, 237, 252, 0.18),
    0 0 0 1px rgba(163, 188, 224, 0.14),
    0 0 12px rgba(35, 98, 188, 0.12);
  width: min(440px, 100%);
  max-width: 100%;
}

.compare-btn {
  min-width: 0;
  flex: 1 1 0;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #d6e5f8;
  font-size: clamp(0.76rem, 1.3vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: 180ms ease;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}

.compare-btn:hover {
  transform: translateY(-1px);
}

.compare-btn.is-active[data-compare-mode="with"] {
  border-color: #65FE09;
  background: linear-gradient(180deg, #65FE09 0%, #65FE09 100%);
  box-shadow:
    inset 0 0 0 14px #4ECF00,
    inset 0 1px 0 rgba(208, 255, 182, 0.18),
    0 1px 8px rgba(0, 0, 0, 0.28);
  color: #173200;
  text-shadow: none;
}

.compare-btn.is-active[data-compare-mode="without"] {
  border-color: rgba(247, 135, 132, 0.86);
  background: linear-gradient(160deg, rgba(133, 53, 62, 0.98), rgba(107, 41, 48, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 211, 207, 0.28),
    inset 0 -1px 0 rgba(80, 28, 35, 0.48),
    0 1px 8px rgba(0, 0, 0, 0.28);
  color: #ffe7e7;
}

.comparison-grid,
.trust-grid,
.cta-grid {
  display: grid;
  gap: 12px;
}

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

.compare-card,
.layer-detail,
.use-case-panel,
.metric-card,
.trust-grid article,
.cta-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  transition: 180ms ease;
}

.compare-card p,
.layer-detail p,
.use-case-panel p,
.metric-card p,
.trust-grid article p,
.cta-card p {
  color: var(--muted-2);
}

.compare-card h3,
.layer-detail h3,
.use-case-panel h3,
.trust-grid article h3,
.cta-card h3 {
  color: #f1f9ff;
}

.compare-card:hover,
.layer-detail:hover,
.use-case-panel:hover,
.metric-card:hover,
.trust-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.42);
}

.comparison-example {
  margin-top: 12px;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(8, 27, 61, 0.82), rgba(4, 17, 42, 0.92));
}

.comparison-example h3 {
  color: #edffd8;
  font-size: 0.95rem;
}

.comparison-example p {
  color: #d2e8fb;
  font-size: 0.9rem;
}

.comparison-example-block,
.builder-demo {
  display: grid;
  gap: 10px;
}

.example-rotator {
  display: grid;
  gap: 5px;
  min-height: 94px;
  padding: 10px 12px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 10px;
  background: rgba(5, 22, 54, 0.42);
}

.example-label {
  color: #c6def5;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.example-output {
  color: #f3ffd9;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  font-weight: 700;
  line-height: 1.28;
}

.example-support,
.example-core-line {
  color: #d2e8fb;
  font-size: 0.88rem;
  line-height: 1.55;
}

.example-dots,
.builder-demo-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.example-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(178, 202, 233, 0.54);
  border-radius: 999px;
  background: rgba(14, 38, 77, 0.9);
  cursor: pointer;
  transition: 160ms ease;
}

.example-dot.is-active {
  border-color: rgba(158, 225, 96, 0.86);
  background: rgba(109, 207, 84, 0.82);
  box-shadow: 0 0 10px rgba(132, 204, 22, 0.2);
}

.builder-demo {
  padding-top: 4px;
  border-top: 1px solid rgba(34, 211, 238, 0.14);
}

.builder-demo-label {
  color: #e9f8ff;
  font-size: 0.84rem;
  font-weight: 700;
}

.builder-demo-output-label {
  color: #c6def5;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.builder-demo-hint {
  color: #98bdd9;
  font-size: 0.78rem;
  line-height: 1.4;
}

.builder-demo-controls {
  display: block;
}

.builder-demo-input {
  width: 100%;
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 8px;
  background: rgba(2, 15, 41, 0.9);
  color: #ebf8ff;
}

.builder-demo-input::placeholder {
  color: #88aeca;
}

.builder-demo-preset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(34, 211, 238, 0.34);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(10, 34, 72, 0.96), rgba(8, 28, 61, 0.96));
  color: #dff4ff;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
  transition: 160ms ease;
}

.builder-demo-preset:hover,
.example-dot:hover {
  transform: translateY(-1px);
}

.builder-demo-result {
  padding: 10px 12px;
  border: 1px solid rgba(158, 225, 96, 0.3);
  border-radius: 10px;
  background: rgba(109, 207, 84, 0.08);
  color: #f2ffd8;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.45;
}

.compare-tag {
  justify-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-tag.good {
  border: 1px solid rgba(158, 225, 96, 0.72);
  background: var(--green-soft);
  color: #ecffd2;
}

.compare-tag.risk {
  border: 1px solid rgba(239, 123, 123, 0.7);
  background: var(--red-soft);
  color: #ffe0e0;
}

.system-flow,
.offering-row {
  display: grid;
  gap: 10px;
}

#system {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
  overflow-x: hidden;
  overflow-y: auto;
}

.system-flow {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  margin-bottom: 0;
}

.system-route {
  position: absolute;
  inset: 0;
  z-index: 8;
  overflow: visible;
  pointer-events: none;
}

.system-route-line {
  fill: none;
  stroke: rgba(57, 233, 65, 0.96);
  stroke-width: 4;
  stroke-linecap: butt;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(57, 233, 65, 0.5));
  opacity: 0;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.system-route-line.is-animating {
  opacity: 1;
}

.system-route-line.is-drawn {
  opacity: 1;
  stroke-dashoffset: 0;
}

.system-route-dot {
  fill: rgb(57, 233, 65);
  filter:
    drop-shadow(0 0 8px rgba(57, 233, 65, 0.7))
    drop-shadow(0 0 18px rgba(57, 233, 65, 0.34));
  opacity: 0;
}

.system-route-dot.is-visible {
  opacity: 1;
}

@keyframes systemRouteDraw {
  0% {
    opacity: 0;
    stroke-dashoffset: 1;
  }

  10% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

.flow-node {
  position: relative;
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  border: 1.5px solid rgba(108, 154, 204, 0.52);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(13, 39, 78, 0.96), rgba(8, 28, 58, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(228, 239, 255, 0.12),
    inset 0 0 0 1px rgba(20, 52, 93, 0.62),
    0 8px 18px rgba(2, 9, 24, 0.16);
  color: #dff2ff;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.flow-node::before {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(185, 216, 245, 0.58);
  border-radius: 50%;
  background: rgba(4, 18, 45, 0.82);
  box-shadow: inset 0 0 0 4px rgba(4, 18, 45, 0.94);
  content: "";
  transition: 180ms ease;
}

.flow-node:hover,
.flow-node:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(170, 206, 244, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(235, 244, 255, 0.18),
    inset 0 0 0 1px rgba(40, 85, 140, 0.72),
    0 12px 24px rgba(2, 9, 24, 0.24),
    0 0 18px rgba(76, 172, 232, 0.12);
}

.flow-node:focus-visible {
  outline: none;
}

.flow-node strong {
  color: #eef8ff;
}

.flow-node span {
  color: #b8d8f2;
  font-size: 0.9rem;
}

.flow-node.is-active {
  border-color: rgba(57, 233, 65, 0.92);
  background: linear-gradient(180deg, rgba(28, 74, 54, 0.98), rgba(18, 48, 36, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(237, 255, 213, 0.22),
    inset 0 0 0 1px rgba(88, 189, 92, 0.52),
    0 0 0 1px rgba(57, 233, 65, 0.18),
    0 0 18px rgba(57, 233, 65, 0.18);
}

.flow-node.is-active::before {
  border-color: var(--selector-accent);
  background: var(--selector-accent);
  box-shadow:
    inset 0 0 0 4px rgba(4, 18, 45, 0.94),
    0 0 18px var(--selector-accent-soft);
}

.flow-node.is-active::after {
  content: "Details below";
  justify-self: start;
  width: fit-content;
  margin-top: 4px;
  padding: 4px 8px;
  border: 1px solid rgba(158, 225, 96, 0.36);
  border-radius: 999px;
  background: rgba(57, 233, 65, 0.1);
  color: #ddffd1;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-node.is-active:hover,
.flow-node.is-active:focus-visible {
  border-color: rgba(123, 255, 112, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(244, 255, 224, 0.28),
    inset 0 0 0 1px rgba(102, 205, 106, 0.58),
    0 0 0 1px rgba(57, 233, 65, 0.24),
    0 0 22px rgba(57, 233, 65, 0.22);
}

@media (min-width: 1025px) {
  .system-flow .flow-node:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -12px;
    width: 12px;
    height: 2px;
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.5), rgba(158, 225, 96, 0.5));
    transform: translateY(-50%);
  }

  .system-flow .flow-node.is-active::after {
    content: "";
    justify-self: auto;
    width: 12px;
    margin-top: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.5), rgba(158, 225, 96, 0.5));
  }
}

.system-cue {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(158, 225, 96, 0.28);
  border-radius: 12px;
  background: rgba(109, 207, 84, 0.08);
  color: #dbf5cf;
  font-size: 0.9rem;
  line-height: 1.5;
}

.layer-detail ul,
.use-case-panel ul,
.support-details ul {
  margin: 0;
  padding-left: 18px;
  color: #d8ebff;
}

#system .layer-detail {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  padding: clamp(16px, 2.5vw, 24px);
  border: 1.5px solid rgba(57, 233, 65, 0.92);
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.08), transparent 34%),
    var(--card);
}

#system .layer-detail + .system-cue {
  margin-top: 8px;
}

#system .layer-detail::before {
  content: "Selected panel details";
  display: inline-flex;
  width: fit-content;
  margin-bottom: 2px;
  padding: 4px 8px;
  border: 1px solid rgba(34, 211, 238, 0.32);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  color: #bfefff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .system-flow {
    padding-right: clamp(28px, 5vw, 44px);
  }

  #system .layer-detail {
    margin-top: 10px;
  }

  .system-cue {
    margin-top: 0;
    margin-bottom: 22px;
  }

  #system .layer-detail + .system-cue {
    margin-top: 12px;
  }

  #system .layer-detail::after {
    content: none;
  }
}

.best-for {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin: 4px 0 2px;
}

.best-for-label {
  color: #9dbdd8;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.best-for-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 0;
  white-space: normal;
  text-transform: none;
}

.best-term {
  color: #e6f8cf;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.best-term:not(:last-child)::after {
  content: " \2022 ";
  color: rgba(158, 225, 96, 0.88);
  font-weight: 700;
  margin: 0 8px 0 7px;
}

.layer-detail li + li,
.use-case-panel li + li,
.support-details li + li {
  margin-top: 4px;
}

.offering-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.offering-label {
  margin: 4px 0 2px;
  color: #bcd8f0;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: none;
}

.offer-chip {
  min-height: 34px;
  padding: 7px 12px;
  border-color: rgba(158, 225, 96, 0.34);
  background: linear-gradient(165deg, rgba(9, 43, 60, 0.94), rgba(7, 35, 51, 0.94));
  box-shadow: inset 0 1px 0 rgba(204, 252, 194, 0.06), 0 0 0 1px rgba(109, 207, 84, 0.06);
  border-radius: 8px;
  color: #ddf6d1;
  font-size: 0.8rem;
  font-weight: 600;
  justify-content: flex-start;
  text-align: left;
  width: auto;
  flex: 0 1 auto;
}

.tab-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 12px;
  align-items: stretch;
  justify-content: stretch;
  max-width: 100%;
  overflow: visible;
  padding-top: 1px;
}

.tab-btn {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 9px 10px 9px 36px;
  border: 1px solid rgba(127, 183, 228, 0.6);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(14, 46, 88, 0.96), rgba(10, 34, 72, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(220, 238, 255, 0.16),
    inset 0 -1px 0 rgba(9, 24, 51, 0.52),
    0 0 0 1px rgba(146, 177, 214, 0.16);
  color: #dff4ff;
  font-size: clamp(0.82rem, 1.18vw, 1rem);
  font-weight: 650;
  letter-spacing: 0.002em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  cursor: pointer;
  transition: 180ms ease;
}

.tab-btn:hover {
  transform: none;
  border-color: rgba(160, 198, 236, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(220, 238, 255, 0.2),
    inset 0 -1px 0 rgba(9, 24, 51, 0.52),
    0 0 0 1px rgba(146, 177, 214, 0.2),
    0 4px 12px rgba(4, 16, 37, 0.22);
}

.tab-btn.is-active {
  border-color: #65FE09;
  background: linear-gradient(180deg, #4ECF00 0%, #4ECF00 100%);
  box-shadow:
    inset 0 0 0 2px #4ECF00,
    0 0 0 2px #65FE09,
    inset 0 1px 0 rgba(208, 255, 182, 0.18),
    0 0 16px rgba(132, 204, 22, 0.2);
  color: #173200;
  text-shadow: none;
}

.savings-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 12px;
}

.savings-primer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.savings-card {
  display: grid;
  gap: 8px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.savings-card-label {
  color: #eef8ff;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.savings-help,
.controls-intro,
.directional-note {
  color: #b7dbff;
  font-size: 0.84rem;
  line-height: 1.52;
}

.selector-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.selector-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px 8px 36px;
  border: 1px solid rgba(127, 183, 228, 0.6);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(14, 46, 88, 0.96), rgba(10, 34, 72, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(220, 238, 255, 0.16),
    inset 0 -1px 0 rgba(9, 24, 51, 0.52),
    0 0 0 1px rgba(146, 177, 214, 0.16);
  color: #dff4ff;
  font-size: 0.8rem;
  font-weight: 650;
  cursor: pointer;
  transition: 180ms ease;
  flex: 1 1 180px;
}

.selector-pill::before,
.choice-pill::before,
.tab-btn::before,
.hero-toggle-btn::before,
.workflow-toggle-btn::before {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(185, 216, 245, 0.58);
  border-radius: 50%;
  background: rgba(4, 18, 45, 0.82);
  box-shadow: inset 0 0 0 4px rgba(4, 18, 45, 0.94);
  content: "";
  transform: translateY(-50%);
  transition: 180ms ease;
}

.selector-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(160, 198, 236, 0.78);
}

.selector-pill.is-active {
  border-color: rgba(158, 225, 96, 0.92);
  background: linear-gradient(160deg, rgba(56, 108, 74, 0.96), rgba(34, 77, 56, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(233, 255, 204, 0.22),
    inset 0 -1px 0 rgba(24, 55, 35, 0.44),
    0 0 16px rgba(132, 204, 22, 0.2);
  color: #f4ffdf;
}

.selector-pill.is-active::before,
.choice-pill.is-active::before,
.tab-btn.is-active::before,
.hero-toggle-btn.is-active::before,
.workflow-toggle-btn.is-active::before {
  border-color: var(--selector-accent);
  background: var(--selector-accent);
  box-shadow:
    inset 0 0 0 4px rgba(4, 18, 45, 0.94),
    0 0 18px var(--selector-accent-soft);
}

.savings-controls,
.savings-output {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.savings-controls {
  display: grid;
  gap: 13px;
}

.savings-controls h3 {
  color: #eef8ff;
}

.savings-controls label {
  display: grid;
  gap: 6px;
  padding-bottom: 11px;
  border-bottom: 1px dashed rgba(125, 211, 252, 0.18);
  color: #d2ebff;
  font-weight: 650;
}

.savings-controls label span {
  color: #eef8ff;
  font-weight: 700;
}

.savings-controls label small {
  color: #b7dbff;
  line-height: 1.45;
}

.savings-controls label:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.savings-controls output {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 9px;
  border: 1px solid rgba(158, 225, 96, 0.24);
  border-radius: 999px;
  background: rgba(109, 207, 84, 0.1);
  color: #f6fdff;
  font-weight: 800;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--scanner-accent, var(--green-2));
}

.savings-controls input[type="number"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(125, 211, 252, 0.54);
  border-radius: 8px;
  background: rgba(2, 15, 41, 0.9);
  color: #e9f8ff;
  font-weight: 600;
}

.advanced-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(127, 183, 228, 0.46);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(10, 34, 72, 0.96), rgba(8, 28, 61, 0.96));
  color: #e8f7ff;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: 180ms ease;
  box-shadow:
    inset 0 1px 0 rgba(220, 238, 255, 0.12),
    inset 0 -1px 0 rgba(9, 24, 51, 0.42);
}

.advanced-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(158, 225, 96, 0.54);
}

.advanced-panel {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 12px;
  background: rgba(7, 27, 60, 0.5);
}

.advanced-panel h4 {
  color: #eef8ff;
}

.choice-group {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.choice-group-label {
  color: #eef8ff;
  font-weight: 700;
}

.choice-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px 7px 36px;
  border: 1px solid rgba(127, 183, 228, 0.56);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(14, 46, 88, 0.96), rgba(10, 34, 72, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(220, 238, 255, 0.16),
    inset 0 -1px 0 rgba(9, 24, 51, 0.52),
    0 0 0 1px rgba(146, 177, 214, 0.16);
  color: #dff4ff;
  font-size: 0.8rem;
  font-weight: 650;
  cursor: pointer;
  transition: 180ms ease;
  flex: 1 1 180px;
}

.choice-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(160, 198, 236, 0.78);
}

.choice-pill.is-active {
  border-color: rgba(158, 225, 96, 0.92);
  background: linear-gradient(160deg, rgba(56, 108, 74, 0.96), rgba(34, 77, 56, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(233, 255, 204, 0.22),
    inset 0 -1px 0 rgba(24, 55, 35, 0.44),
    0 0 16px rgba(132, 204, 22, 0.2);
  color: #f4ffdf;
}

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

.savings-output {
  display: grid;
  gap: 12px;
}

.results-head {
  display: grid;
  gap: 6px;
}

.results-head h3 {
  color: #eef8ff;
}

.results-head p {
  color: #c6def5;
  line-height: 1.55;
  max-width: 58ch;
}

.results-hero {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.team-view {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mini-stat {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(7, 30, 62, 0.82), rgba(4, 18, 42, 0.94));
}

.mini-stat span {
  color: #c6def5;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mini-stat strong {
  color: #f6fdff;
  font-size: clamp(0.98rem, 1.6vw, 1.35rem);
  font-weight: 800;
}

.metric-card.small strong {
  font-size: clamp(1rem, 1.55vw, 1.45rem);
}

.metric-card strong {
  display: block;
  font-size: clamp(1.22rem, 2vw, 1.95rem);
  font-weight: 800;
  color: #f6fdff;
}

.metric-card > p:first-child {
  color: #c6def5;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.metric-card.highlight {
  border-color: rgba(158, 225, 96, 0.66);
  background: linear-gradient(180deg, rgba(12, 42, 57, 0.94), rgba(6, 24, 34, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(158, 225, 96, 0.12),
    0 0 18px rgba(109, 207, 84, 0.1);
}

.metric-card.accent {
  border-color: rgba(158, 225, 96, 0.76);
  background: linear-gradient(180deg, rgba(13, 47, 46, 0.96), rgba(7, 29, 36, 0.98));
  box-shadow: 0 0 22px rgba(109, 207, 84, 0.16);
  transform: scale(1.015);
}

.metric-card.accent strong {
  color: #f1ffd7;
  font-size: clamp(1.42rem, 2.2vw, 2.2rem);
}

.metric-card.value-bump {
  animation: valueBump 380ms ease;
}

@keyframes valueBump {
  0% {
    transform: scale(1.015);
  }
  38% {
    transform: scale(1.045);
  }
  100% {
    transform: scale(1.015);
  }
}

.bars {
  display: grid;
  gap: 10px;
}

.bar-panel,
.interpretation-panel,
.summary-strip {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.bar-panel h3,
.interpretation-panel h3 {
  color: #eef8ff;
}

.interpretation-panel p {
  color: #d6ebff;
}

.bar-row {
  display: grid;
  gap: 7px;
}

.bar-row span,
.subnote {
  color: #b7dbff;
  font-size: 0.88rem;
}

.subnote {
  padding-top: 4px;
}

.bar-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(71, 85, 105, 0.82);
}

.bar-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  transition: width 260ms ease;
}

.bar-loss {
  background: linear-gradient(90deg, #f97316 0%, #facc15 100%);
}

.bar-gain {
  background: linear-gradient(90deg, #22c55e 0%, #a3e635 100%);
}

.summary-strip p {
  color: #dbf5cf;
  line-height: 1.55;
  font-weight: 650;
}

.directional-note {
  font-size: 0.82rem;
  max-width: 64ch;
}

.trust-grid,
.cta-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trust-lead {
  margin: -2px 0 12px;
  color: #d3e9fb;
}

.support {
  opacity: 0.94;
}

.support-details {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  background: rgba(4, 18, 45, 0.54);
  padding: 0 14px 14px;
}

.support-details summary {
  padding: 14px 0;
  cursor: pointer;
  color: #edf9ff;
  font-weight: 700;
}

.support-details[open] summary {
  color: #f4ffdf;
}

.cta {
  border-color: rgba(158, 225, 96, 0.44);
  background: linear-gradient(135deg, rgba(101, 254, 8, 0.08), rgba(8, 145, 178, 0.1));
}

.cta-support {
  margin: -2px 0 12px;
  color: #dbf5cf;
}

.cta-card {
  text-decoration: none;
  transition: 180ms ease;
}

.cta-card:not(.is-disabled):hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.5);
}

.cta-card.primary {
  border-color: rgba(158, 225, 96, 0.74);
  background: linear-gradient(180deg, rgba(30, 77, 49, 0.96), rgba(22, 57, 37, 0.98));
  box-shadow: inset 0 1px 0 rgba(236, 255, 211, 0.2), 0 0 20px rgba(132, 204, 22, 0.2);
}

.cta-card.primary h3,
.cta-card.primary p {
  color: #f3ffd9;
}

.cta-card.is-disabled {
  opacity: 0.86;
  cursor: default;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 500ms ease, transform 500ms ease;
  pointer-events: auto;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .comparison-grid,
  .system-flow,
  .savings-layout,
  .trust-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .savings-primer,
  .results-hero,
  .result-grid,
  .team-view {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
  }

  .hero-points {
    gap: 10px;
  }

  .metric-card.accent,
  .metric-card.value-bump {
    transform: none;
    animation: none;
  }
}

@media (max-width: 820px) {
  .app-shell {
    width: min(96vw, 760px);
    margin: 10px auto 20px;
    padding: 12px;
    border-radius: 18px;
  }

  .hero,
  .panel {
    padding: 12px;
    border-radius: 14px;
  }

  .hero {
    --hero-panel-radius: 14px;
  }

  .hero-kicker {
    width: 100%;
    margin: 0 0 2px;
    border-radius: 14px 14px 0 0;
    font-size: 0.74rem;
    letter-spacing: 0.05em;
  }

  .brand-mark {
    width: min(170px, 52vw);
  }

  h2 {
    font-size: clamp(1.04rem, 4.9vw, 1.26rem);
  }

  .hero-copy h1 {
    font-size: 0.92rem;
    max-width: 98%;
    line-height: 1.52;
  }

  .hero-copy > p:not(.hero-kicker) {
    font-size: 0.92rem;
    max-width: 98%;
    line-height: 1.62;
  }

  .hero-points,
  .tab-row {
    width: 100%;
  }

  .hero-points {
    width: calc(100% + 24px);
    margin: 10px -12px -12px;
  }

  .hero-points span {
    width: 100%;
  }

  .tab-row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .tab-btn {
    min-width: 0;
    font-size: clamp(0.72rem, 1.35vw, 0.9rem);
    padding: 8px 8px;
  }
}

@media (max-width: 640px) {
  .hero-copy {
    gap: 10px;
  }

  .hero-copy h1 {
    font-size: 0.9rem;
    line-height: 1.52;
  }

  .hero-copy > p:not(.hero-kicker) {
    font-size: 0.9rem;
  }

  .hero-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }

  .savings-controls,
  .savings-output,
  .savings-card,
  .bar-panel,
  .interpretation-panel,
  .summary-strip {
    padding: 12px;
  }

  .selector-row,
  .choice-options {
    gap: 6px;
  }

  .compare-toggle {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 4px;
    gap: 4px;
  }

  .compare-btn {
    min-height: 36px;
    font-size: 0.8rem;
  }

  .tab-btn {
    min-width: 0;
    width: 100%;
    min-height: 40px;
    padding: 8px 8px;
    font-size: clamp(0.78rem, 2.4vw, 0.94rem);
    white-space: nowrap;
  }

  .selector-pill,
  .choice-pill {
    flex-basis: 100%;
    font-size: 0.78rem;
  }

  .results-hero {
    gap: 8px;
  }

  .mini-stat {
    padding: 10px;
  }

  .builder-demo-controls {
    display: block;
  }

  .example-rotator {
    min-height: 0;
  }
}

/* Thin story header: logo + current page title. Page dots/arrows now handle navigation. */
.story-mode .journey-nav {
  position: sticky;
  top: 8px;
  z-index: 70;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(10px, 1.7vw, 18px);
  min-height: 52px;
  padding: 7px clamp(10px, 1.5vw, 16px);
  border: 1.5px solid rgba(119, 156, 199, 0.72);
  border-radius: 24px 24px 12px 12px;
  background:
    linear-gradient(90deg, rgba(236, 244, 255, 0.07), transparent 30%, rgba(115, 151, 194, 0.13)),
    linear-gradient(180deg, rgba(16, 34, 67, 0.98), rgba(7, 22, 51, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(245, 250, 255, 0.14),
    inset 0 -1px 0 rgba(80, 116, 157, 0.32),
    0 12px 24px rgba(2, 8, 24, 0.24);
  max-height: 84px;
  overflow: clip;
  transform: translateY(0);
  transform-origin: top;
  opacity: 1;
  transition:
    max-height 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 220ms ease,
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    margin 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    padding 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.story-mode .journey-nav::before {
  inset: 6px;
  border-radius: 18px 18px 8px 8px;
  border-color: rgba(210, 232, 255, 0.09);
}

.story-mode .journey-brand {
  min-height: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.story-mode .journey-brand-logo {
  width: clamp(94px, 10vw, 126px);
  max-width: clamp(94px, 10vw, 126px);
}

.journey-page-title {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  padding-left: clamp(16px, 2vw, 30px);
  padding-right: clamp(118px, 14vw, 156px);
  color: #e7f1ff;
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 1.18vw, 1rem);
  font-weight: 500;
  letter-spacing: clamp(0.05em, 0.28vw, 0.12em);
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.story-mode .journey-menu-btn,
.story-mode .journey-links {
  display: none !important;
}

.story-mode .story-progress-title {
  display: none;
}

.story-mode .story-progress-meta {
  justify-content: flex-start;
}

.story-nav-toggle {
  position: absolute;
  top: 4px;
  right: 12px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 108px;
  height: 32px;
  padding: 0 3px 0 11px;
  border: 1.5px solid rgba(213, 236, 255, 0.76);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(10, 25, 49, 0.84), rgba(7, 20, 40, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(245, 250, 255, 0.08),
    0 10px 20px rgba(2, 8, 24, 0.22);
  color: #eaf4ff;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.story-nav-toggle:hover,
.story-nav-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(239, 248, 255, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(250, 252, 255, 0.12),
    0 12px 24px rgba(2, 8, 24, 0.24);
}

.story-nav-toggle:focus-visible {
  outline: 2px solid rgba(164, 214, 255, 0.95);
  outline-offset: 2px;
}

.story-nav-toggle:active {
  transform: translateY(1px) scale(0.98);
}

.story-nav-toggle-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 68px;
  max-width: 74px;
  padding: 0 3px;
  overflow: hidden;
  color: #edf6ff;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.story-nav-toggle-marquee {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: var(--nav-toggle-gap, 18px);
  padding-inline: 2px;
  will-change: transform;
  animation: storyNavLabelNudge 1.9s ease-in-out infinite alternate;
}

.story-nav-toggle-copy {
  display: inline-flex;
  align-items: center;
}

.story-nav-toggle-copy--ghost {
  display: none;
}

.story-nav-toggle.is-marquee .story-nav-toggle-marquee {
  animation: storyNavLabelLoop 4.6s linear infinite;
}

.story-nav-toggle.is-marquee .story-nav-toggle-copy--ghost {
  display: inline-flex;
}

.story-nav-toggle-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 1.5px solid rgba(151, 204, 246, 0.72);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(20, 59, 92, 0.86), rgba(10, 39, 69, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(245, 250, 255, 0.12);
}

.story-nav-toggle-icon svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

@keyframes storyNavLabelNudge {
  0% {
    transform: translateX(3px);
  }

  100% {
    transform: translateX(calc(-1 * var(--nav-toggle-nudge-distance, 10px)));
  }
}

@keyframes storyNavLabelLoop {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-1 * var(--nav-toggle-loop-distance, 96px)));
  }
}

.story-mode.story-nav-collapsed .journey-nav,
.story-mode.story-nav-collapsed .story-progress {
  position: absolute;
  left: 14px;
  right: 14px;
  max-height: 0;
  min-height: 0;
  opacity: 0;
  transform: translateY(-18px);
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-top-width: 0;
  border-bottom-width: 0;
  overflow: hidden;
  pointer-events: none;
}

.story-mode.story-nav-collapsed .story-nav-toggle {
  top: 4px;
  right: 12px;
  min-width: 110px;
  height: 32px;
  padding-left: 11px;
  background:
    linear-gradient(180deg, rgba(10, 25, 49, 0.84), rgba(7, 20, 40, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(245, 250, 255, 0.08),
    0 12px 24px rgba(2, 8, 24, 0.24);
}

.story-mode.story-nav-collapsed .story-nav-toggle-icon svg {
  transform: rotate(180deg);
}

@media (max-width: 640px) {
  .story-mode .journey-nav {
    min-height: 46px;
    gap: 8px;
    padding: 6px 9px;
  }

  .story-mode .journey-brand-logo {
    width: clamp(82px, 27vw, 106px);
    max-width: clamp(82px, 27vw, 106px);
  }

  .journey-page-title {
    padding-left: clamp(10px, 2.6vw, 16px);
    padding-right: clamp(102px, 31vw, 126px);
    font-size: clamp(0.6rem, 2vw, 0.8rem);
    letter-spacing: clamp(0.035em, 0.16vw, 0.07em);
  }

  .story-nav-toggle {
    top: 3px;
    right: 8px;
    min-width: 96px;
    height: 30px;
    gap: 7px;
    padding: 0 3px 0 9px;
  }

  .story-nav-toggle-label {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    min-width: 60px;
    max-width: 62px;
  }

  .story-nav-toggle-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .story-nav-toggle-icon svg {
    width: 11px;
    height: 11px;
  }
}

@media (max-width: 460px) {
  .compare-toggle {
    grid-template-columns: 1fr;
  }

  .compare-btn {
    white-space: normal;
    line-height: 1.2;
    padding: 9px 12px;
  }
}

.hero-copy {
  justify-items: center;
}

.hero-copy h1 {
  max-width: 22ch;
  font-size: clamp(2rem, 4.4vw, 4.15rem);
  font-weight: 760;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #f5fbff;
  text-wrap: balance;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero-subhead {
  width: min(72ch, 100%);
  max-width: 72ch;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.6;
  color: #d8edff;
  text-align: left;
}

.hero-support-line {
  width: min(72ch, 100%);
  max-width: 72ch;
  color: #edffd3;
  font-size: 0.98rem;
  font-weight: 760;
  text-align: left;
}

.hero-bridge-line {
  width: min(72ch, 100%);
  max-width: 72ch;
  color: #c6def5;
  font-size: 0.92rem;
  line-height: 1.58;
  text-align: left;
}

.section-head-wide p {
  max-width: 72ch;
}

.hero-toggle,
.workflow-toggle,
.domain-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(72ch, 100%);
}

.hero-toggle {
  margin-top: 6px;
}

.hero-toggle-btn,
.workflow-toggle-btn,
.friction-trigger,
.output-card-trigger,
.hero-cta {
  appearance: none;
  border: 1px solid rgba(127, 183, 228, 0.52);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(12, 42, 82, 0.96), rgba(8, 30, 63, 0.96));
  color: #e5f4ff;
  box-shadow:
    inset 0 1px 0 rgba(220, 238, 255, 0.14),
    inset 0 -1px 0 rgba(8, 22, 50, 0.58),
    0 0 0 1px rgba(148, 163, 184, 0.08);
  transition: 180ms ease;
}

.hero-toggle-btn,
.workflow-toggle-btn {
  position: relative;
  min-height: 40px;
  padding: 8px 14px 8px 38px;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-toggle-btn.is-active[data-hero-mode="without"] {
  --selector-accent: #f0aa42;
  --selector-accent-soft: rgba(240, 170, 66, 0.18);
}

.hero-toggle-btn.is-active,
.workflow-toggle-btn.is-active,
.output-card.is-open .output-card-trigger {
  border-color: rgba(158, 225, 96, 0.88);
  background: linear-gradient(160deg, rgba(58, 117, 76, 0.96), rgba(42, 92, 64, 0.98));
  color: #f0ffd7;
  box-shadow:
    inset 0 1px 0 rgba(230, 255, 194, 0.28),
    0 0 14px rgba(132, 204, 22, 0.18);
}

.hero-story {
  width: min(72ch, 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

.hero-diagram,
.hero-state-card,
.problem-copy-block,
.problem-visual,
.workflow-panel,
.architecture-card,
.output-card,
.support-feature-grid article {
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(9, 30, 68, 0.92), rgba(4, 18, 45, 0.95));
  box-shadow: var(--shadow-panel);
}

.hero-diagram {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(0, 219, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(6, 22, 54, 0.96), rgba(3, 15, 39, 0.96));
}

.hero-core-wrap {
  position: relative;
  width: 228px;
  height: 228px;
  display: grid;
  place-items: center;
}

.hero-core {
  position: relative;
  z-index: 2;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(158, 225, 96, 0.78);
  border-radius: 999px;
  background: radial-gradient(circle at 35% 30%, rgba(158, 225, 96, 0.28), rgba(38, 78, 60, 0.94));
  color: #f2ffd9;
  font-size: 0.88rem;
  font-weight: 750;
  text-align: center;
  box-shadow: 0 0 30px rgba(132, 204, 22, 0.18);
}

.hero-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px dashed rgba(127, 183, 228, 0.35);
}

.hero-orbit-1 {
  inset: 20px;
}

.hero-orbit-2 {
  inset: 0;
  animation: pulse-orbit 4.6s ease-in-out infinite;
}

.hero-output-grid {
  position: absolute;
  inset: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-content: space-between;
}

.hero-output {
  justify-self: center;
  align-self: center;
  padding: 7px 12px;
  border: 1px solid rgba(34, 211, 238, 0.42);
  border-radius: 999px;
  background: rgba(10, 35, 72, 0.88);
  color: #dcf4ff;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-state-card {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.hero-story[data-mode="without"] .hero-core {
  border-color: rgba(127, 183, 228, 0.74);
  background: radial-gradient(circle at 35% 30%, rgba(120, 174, 226, 0.24), rgba(27, 58, 97, 0.94));
  color: #e9f4ff;
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.12);
}

.hero-story[data-mode="without"] .hero-output {
  border-color: rgba(239, 123, 123, 0.28);
  color: #dfeaf5;
  opacity: 0.72;
}

.hero-state-label,
.compare-column-label,
.output-card-label {
  color: #d0e5f8;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-state-card h2 {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.14;
}

.hero-state-card p {
  color: #d2e6f8;
}

.hero-state-card {
  position: relative;
  padding-right: clamp(86px, 13vw, 130px);
}

.hero-state-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: clamp(54px, 6.8vw, 76px);
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  opacity: 0.96;
  z-index: 2;
}

.hero-state-icon-without {
  display: none;
}

.hero-story[data-mode="with"] .hero-state-icon-with {
  display: block;
}

.hero-story[data-mode="with"] .hero-state-icon-without {
  display: none;
}

.hero-story[data-mode="without"] .hero-state-icon-with {
  display: none;
}

.hero-story[data-mode="without"] .hero-state-icon-without {
  display: block;
}

.hero-story[data-mode="with"] .hero-state-card {
  border-color: #39e941;
  background:
    radial-gradient(circle at top right, rgba(57, 233, 65, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(9, 31, 67, 0.96), rgba(5, 18, 44, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(57, 233, 65, 0.12),
    inset 0 0 0 3px rgba(7, 22, 46, 0.55),
    0 0 24px rgba(57, 233, 65, 0.16),
    0 18px 38px rgba(2, 8, 24, 0.28);
}

.hero-story[data-mode="without"] .hero-state-card {
  border-color: rgba(240, 170, 66, 0.9);
  background:
    radial-gradient(circle at top right, rgba(240, 170, 66, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(44, 27, 16, 0.22), rgba(7, 22, 46, 0.96) 32%, rgba(5, 18, 44, 0.98));
  animation: without-panel-warning-border 4.2s ease-in-out infinite;
}

.value-strip {
  display: grid;
  gap: 14px;
  padding: 6px 4px 2px;
}

.value-strip-head {
  display: grid;
  gap: 6px;
}

.value-strip-head h2 {
  color: #f3fbff;
  font-size: clamp(1.55rem, 2.4vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 640;
  max-width: 18ch;
  text-wrap: balance;
}

.value-strip-head p {
  max-width: 66ch;
}

.value-strip-lead {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 20px 18px 16px;
  border: 2px solid rgba(46, 194, 231, 0.52);
  border-radius: 12px;
  background:
    radial-gradient(circle at top right, rgba(57, 233, 65, 0.1), transparent 24%),
    radial-gradient(circle at left center, rgba(0, 219, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(8, 30, 64, 0.94), rgba(5, 18, 44, 0.98));
  box-shadow: 0 18px 38px rgba(2, 8, 24, 0.18);
  overflow: visible;
}

.value-strip-lead::before {
  content: none;
}

.value-strip-lead-label {
  display: block;
  color: #e4ffd4;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.value-strip-lead h3 {
  color: #f3fbff;
  font-size: clamp(1.1rem, 1.6vw, 1.42rem);
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.value-strip-lead p:last-of-type {
  max-width: 72ch;
  color: #d3e8fa;
}

.value-strip-pulse {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding-top: 2px;
}

.value-strip-pulse span {
  display: inline;
  color: #efffd8;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.value-strip-pulse span:not(:last-child)::after {
  content: " • ";
  color: rgba(158, 225, 96, 0.9);
  margin: 0 8px;
}

.value-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.value-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "body body"
    "note note";
  align-items: center;
  gap: 8px 10px;
  padding: 14px;
  border: 2px solid rgba(46, 194, 231, 0.52);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(8, 28, 63, 0.88), rgba(4, 18, 45, 0.94));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
  box-shadow: 0 14px 28px rgba(2, 8, 24, 0.18);
}

.value-card:hover,
.value-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(122, 223, 255, 0.74);
  box-shadow: 0 18px 32px rgba(2, 8, 24, 0.22);
}

.value-card-icon {
  grid-area: icon;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 2px solid rgba(158, 225, 96, 0.82);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(52, 104, 70, 0.36), rgba(17, 39, 29, 0.28));
  color: #efffd7;
  font-size: 0.78rem;
  font-weight: 800;
}

.value-card h3 {
  grid-area: title;
  color: #f4fbff;
  align-self: center;
  justify-self: start;
  text-align: left;
  margin: 0;
}

.value-card p {
  grid-area: body;
  color: #cfe5f8;
  font-size: 0.86rem;
  line-height: 1.55;
  margin-top: 2px;
}

.value-card-note {
  grid-area: note;
  color: #e7ffd2;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
}

.value-card-green {
  background:
    radial-gradient(circle at top right, rgba(57, 233, 65, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(8, 30, 64, 0.94), rgba(5, 18, 44, 0.98));
}

.value-card-cyan {
  border-color: rgba(46, 194, 231, 0.52);
}

.value-card-blue {
  background:
    radial-gradient(circle at bottom left, rgba(107, 178, 221, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(8, 30, 64, 0.94), rgba(5, 18, 44, 0.98));
}

.value-card-purple {
  background:
    radial-gradient(circle at top left, rgba(149, 116, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(8, 30, 64, 0.94), rgba(5, 18, 44, 0.98));
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.preview-card {
  display: grid;
  gap: 10px;
  min-height: 188px;
  padding: 18px;
  border: 2px solid rgba(46, 194, 231, 0.52);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(8, 28, 63, 0.9), rgba(4, 17, 42, 0.96));
  box-shadow: 0 14px 26px rgba(2, 8, 24, 0.16);
}

.preview-card-label,
.journey-step-kicker {
  color: #bdd8ef;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-card h3,
.journey-step h3 {
  color: #f4fbff;
}

.preview-card p,
.journey-step p {
  color: #cfe3f6;
}

.preview-card-builder {
  background:
    radial-gradient(circle at top right, rgba(0, 219, 255, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(9, 33, 71, 0.92), rgba(4, 17, 42, 0.98));
}

.preview-card-structure {
  background:
    linear-gradient(180deg, rgba(10, 41, 80, 0.92), rgba(5, 22, 54, 0.98));
}

.preview-card-talents {
  border-color: rgba(221, 170, 88, 0.62);
  background:
    radial-gradient(circle at top right, rgba(225, 169, 84, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(54, 37, 17, 0.92), rgba(22, 15, 8, 0.98));
}

.preview-card-export {
  border-color: rgba(162, 123, 247, 0.62);
  background:
    radial-gradient(circle at top right, rgba(162, 123, 247, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(32, 22, 60, 0.92), rgba(10, 9, 32, 0.98));
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 28px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 560;
  letter-spacing: 0;
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(27, 49, 84, 0.98), rgba(11, 31, 63, 1));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(26, 52, 88, 0.72),
    0 10px 22px rgba(2, 9, 24, 0.18);
}

.hero-cta.primary {
  border-color: rgba(158, 225, 96, 0.88);
  background: linear-gradient(160deg, rgba(58, 117, 76, 0.96), rgba(42, 92, 64, 0.98));
  color: #f0ffd7;
}

.hero-cta:not(.is-disabled):hover,
.hero-cta:not(.is-disabled):focus-visible {
  border-color: rgba(218, 232, 247, 0.8);
  background: linear-gradient(180deg, rgba(42, 70, 111, 0.98), rgba(18, 42, 80, 1));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(48, 90, 138, 0.72),
    0 0 22px rgba(86, 173, 235, 0.18);
}

.hero-cta.primary:not(.is-disabled):hover,
.hero-cta.primary:not(.is-disabled):focus-visible {
  border-color: #93ff76;
  background: linear-gradient(180deg, rgba(76, 149, 97, 0.98), rgba(50, 112, 76, 1));
  box-shadow:
    inset 0 1px 0 rgba(242, 255, 223, 0.24),
    inset 0 0 0 1px rgba(95, 182, 118, 0.62),
    0 0 24px rgba(112, 214, 78, 0.22);
}

.hero-cta.is-disabled {
  opacity: 0.8;
  cursor: default;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(24, 46, 77, 0.62),
    0 8px 18px rgba(2, 9, 24, 0.14);
}

.problem-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.problem-copy-block,
.problem-visual,
.workflow-panel {
  padding: 18px;
}

.problem-copy-block {
  max-width: 72ch;
}

.problem-highlight {
  color: #efffd7;
  font-size: 1.02rem;
  font-weight: 620;
  letter-spacing: -0.01em;
  line-height: 1.28;
  margin-bottom: 10px;
}

.agentic-warning {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(158, 225, 96, 0.24);
  border-radius: 14px;
  background: rgba(109, 207, 84, 0.08);
}

.agentic-warning h3 {
  color: #f2ffd8;
}

.friction-stack {
  display: grid;
  gap: 8px;
  min-height: 266px;
  align-content: start;
}

.friction-card,
.workflow-step,
.output-tag,
.trust-stack span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(127, 183, 228, 0.38);
  border-radius: 12px;
  background: rgba(7, 30, 63, 0.9);
  color: #e3f3ff;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
  transition: 180ms ease;
}

.friction-stack.is-reduced {
  min-height: 160px;
  place-items: center;
}

.friction-stack.is-reduced .friction-card {
  max-width: 280px;
  transform: scale(0.84);
  opacity: 0;
  margin-top: -44px;
}

.friction-stack.is-reduced .friction-card:first-child {
  opacity: 1;
  transform: scale(1);
  margin-top: 0;
  border-color: rgba(158, 225, 96, 0.82);
  background: linear-gradient(160deg, rgba(58, 117, 76, 0.94), rgba(42, 92, 64, 0.96));
  color: #f0ffd7;
}

.friction-trigger {
  min-height: 40px;
  padding: 8px 12px;
  margin-top: 12px;
  font-size: 0.86rem;
  font-weight: 750;
}

.friction-result {
  margin-top: 10px;
  color: #e8ffd4;
  font-size: 0.9rem;
  font-weight: 700;
}

.domain-tabs {
  margin-bottom: 14px;
}

.domain-tabs .tab-btn,
.tab-row .tab-btn {
  flex: 1 1 180px;
  width: auto;
}

.tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.compare-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.compare-column {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(127, 183, 228, 0.32);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8, 29, 67, 0.94), rgba(4, 17, 42, 0.98));
}

.compare-column.is-positive {
  border-color: rgba(158, 225, 96, 0.42);
  box-shadow: inset 0 0 0 1px rgba(158, 225, 96, 0.08);
}

.section-head-compact {
  margin-bottom: 10px;
}

.compare-column-list,
.output-card-detail ul,
.workflow-copy + .workflow-steps,
.compare-column ul {
  margin: 0;
  padding-left: 18px;
}

.compare-column-list li + li,
.output-card-detail li + li {
  margin-top: 5px;
}

.story-flow {
  margin-bottom: 12px;
}

.architecture-notes,
.output-grid,
.support-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.architecture-notes {
  position: relative;
  gap: 16px;
  grid-template-columns: 1fr;
}

.architecture-notes::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(50% - 11px);
  z-index: 0;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(101, 254, 9, 0.08), rgba(101, 254, 9, 0.72), rgba(34, 211, 238, 0.08));
  box-shadow: 0 0 14px rgba(101, 254, 9, 0.2);
  transform: translateY(-50%);
}

.journey-stepper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.journey-step {
  display: grid;
  gap: 8px;
  min-height: 184px;
  padding: 16px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8, 28, 63, 0.9), rgba(4, 17, 42, 0.96));
}

.journey-step-gold {
  border-color: rgba(221, 170, 88, 0.34);
  background: linear-gradient(180deg, rgba(52, 37, 16, 0.92), rgba(21, 15, 8, 0.98));
}

.journey-step-purple {
  border-color: rgba(162, 123, 247, 0.34);
  background: linear-gradient(180deg, rgba(34, 23, 66, 0.92), rgba(12, 10, 34, 0.98));
}

.journey-step-trust {
  position: relative;
  border-color: rgba(158, 225, 96, 0.34);
  background: linear-gradient(180deg, rgba(24, 49, 36, 0.9), rgba(9, 21, 14, 0.98));
}

.journey-step-guardian-logo {
  position: absolute;
  top: clamp(16px, 2.2vw, 28px);
  right: clamp(16px, 2.4vw, 32px);
  width: clamp(48px, 7vw, 82px);
  height: auto;
  opacity: 0.9;
  filter:
    drop-shadow(0 0 12px rgba(190, 255, 220, 0.14))
    drop-shadow(0 12px 24px rgba(2, 8, 24, 0.24));
  pointer-events: none;
}

.journey-step-trust > .journey-step-kicker,
.journey-step-trust > h3,
.journey-step-trust > p {
  max-width: calc(100% - clamp(70px, 10vw, 112px));
}

.architecture-card,
.support-feature-grid article {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.architecture-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 0;
  align-content: stretch;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.58fr);
  align-items: start;
  gap: 16px;
  border-color: rgba(101, 254, 9, 0.42);
  background:
    radial-gradient(circle at 88% 16%, rgba(101, 254, 9, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(10, 39, 68, 0.96), rgba(5, 18, 45, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(235, 255, 217, 0.1),
    0 0 18px rgba(101, 254, 9, 0.08),
    var(--shadow-panel);
}

.architecture-card-talents {
  border-color: rgba(255, 214, 104, 0.62);
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 214, 104, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(41, 35, 21, 0.96), rgba(6, 18, 43, 0.98));
}

.architecture-card-nodes {
  border-color: rgba(190, 207, 224, 0.56);
  background:
    radial-gradient(circle at 78% 24%, rgba(220, 231, 243, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(34, 46, 63, 0.96), rgba(6, 18, 43, 0.98));
}

.architecture-card-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
}

.architecture-card-kicker {
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid rgba(101, 254, 9, 0.34);
  border-radius: 999px;
  background: rgba(101, 254, 9, 0.08);
  color: #dfffd0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.architecture-card h3 {
  margin: 2px 0 0;
  color: #f5fff1;
}

.architecture-card p {
  max-width: 54ch;
}

.architecture-card-detail {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(101, 254, 9, 0.28);
  border-radius: 16px;
  background:
    radial-gradient(circle at 10% 30%, rgba(101, 254, 9, 0.1), transparent 34%),
    rgba(6, 21, 44, 0.58);
}

.architecture-card-detail p {
  flex-basis: 100%;
  max-width: 72ch;
  margin: 0 0 2px;
  color: #d8f8cf;
  font-size: clamp(0.9rem, 1.15vw, 1rem);
  font-weight: 700;
  line-height: 1.35;
}

.architecture-card-detail span {
  padding: 7px 10px;
  border: 1px solid rgba(101, 254, 9, 0.28);
  border-radius: 999px;
  background: rgba(101, 254, 9, 0.08);
  color: #e6ffdb;
  font-size: 0.78rem;
  font-weight: 800;
}

.architecture-screen-window {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  justify-self: center;
  width: min(100%, 420px);
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 8px;
}

.architecture-screen-scroll {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  overscroll-behavior: contain;
  border: 2px solid rgba(101, 254, 9, 0.74);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(216, 229, 242, 0.1), rgba(4, 17, 42, 0.36)),
    rgba(4, 17, 42, 0.76);
  box-shadow:
    inset 0 0 0 1px rgba(223, 255, 208, 0.12),
    0 0 20px rgba(101, 254, 9, 0.14),
    0 18px 30px rgba(0, 0, 0, 0.2);
  scrollbar-color: rgba(158, 225, 96, 0.72) rgba(8, 28, 63, 0.82);
  scrollbar-width: thin;
}

.architecture-card-talents .architecture-screen-scroll {
  border-color: rgba(255, 214, 104, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(255, 241, 184, 0.14),
    0 0 22px rgba(255, 214, 104, 0.16),
    0 18px 30px rgba(0, 0, 0, 0.2);
  scrollbar-color: rgba(255, 214, 104, 0.78) rgba(8, 28, 63, 0.82);
}

.architecture-card-nodes .architecture-screen-scroll {
  border-color: rgba(187, 220, 244, 0.88);
  box-shadow:
    inset 0 0 0 1px rgba(245, 250, 255, 0.12),
    0 0 22px rgba(187, 220, 244, 0.16),
    0 18px 30px rgba(0, 0, 0, 0.2);
  scrollbar-color: rgba(187, 220, 244, 0.78) rgba(8, 28, 63, 0.82);
}

.layer-peek-window {
  grid-column: 1 / -1;
  grid-row: auto;
  width: min(100%, 460px);
  margin-top: 12px;
}

.layer-peek-window .architecture-screen-scroll {
  aspect-ratio: 1 / 1;
}

.layer-peek-window-green .architecture-screen-scroll {
  border-color: rgba(57, 233, 65, 0.98);
  box-shadow:
    inset 0 0 0 1px rgba(216, 255, 207, 0.16),
    0 0 24px rgba(57, 233, 65, 0.22),
    0 18px 30px rgba(0, 0, 0, 0.2);
  scrollbar-color: rgba(57, 233, 65, 0.82) rgba(8, 28, 63, 0.82);
}

.layer-peek-window-green .architecture-scroll-toggle {
  border-color: rgba(57, 233, 65, 0.9);
  background:
    linear-gradient(180deg, rgba(24, 73, 31, 0.94), rgba(8, 43, 19, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(216, 255, 207, 0.16),
    0 0 20px rgba(57, 233, 65, 0.2);
}

.journey-peek-window {
  grid-column: 1 / -1;
  grid-row: auto;
  width: min(100%, 260px);
  margin: 8px auto 0;
}

.journey-peek-window .architecture-screen-scroll {
  border-color: rgba(34, 211, 238, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(211, 244, 255, 0.14),
    0 0 22px rgba(34, 211, 238, 0.18),
    0 14px 24px rgba(0, 0, 0, 0.18);
  scrollbar-color: rgba(34, 211, 238, 0.78) rgba(8, 28, 63, 0.82);
}

.journey-peek-window .architecture-scroll-toggle {
  min-width: 138px;
  border-color: rgba(34, 211, 238, 0.84);
  background:
    linear-gradient(180deg, rgba(12, 58, 82, 0.94), rgba(7, 31, 57, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(211, 244, 255, 0.14),
    0 0 18px rgba(34, 211, 238, 0.16);
}

.architecture-screen-scroll.is-scroll-enabled {
  overflow: auto;
}

.architecture-screen-scroll:focus-visible {
  outline: 2px solid rgba(101, 254, 9, 0.82);
  outline-offset: 4px;
}

.architecture-screen-scroll::after {
  content: "";
  position: sticky;
  bottom: 0;
  display: block;
  height: 34px;
  margin-top: -34px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(4, 17, 42, 0.86));
}

.architecture-screen-scroll img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

.architecture-scroll-toggle {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 156px;
  height: 34px;
  padding: 0 4px 0 12px;
  border: 1.5px solid rgba(101, 254, 9, 0.76);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(24, 62, 30, 0.9), rgba(7, 35, 18, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(223, 255, 208, 0.14),
    0 0 18px rgba(101, 254, 9, 0.16);
  color: #eaffdf;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.architecture-card-talents .architecture-scroll-toggle {
  border-color: rgba(255, 214, 104, 0.82);
  background:
    linear-gradient(180deg, rgba(82, 60, 20, 0.92), rgba(38, 26, 9, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 184, 0.14),
    0 0 18px rgba(255, 214, 104, 0.16);
}

.architecture-card-nodes .architecture-scroll-toggle {
  border-color: rgba(187, 220, 244, 0.82);
  background:
    linear-gradient(180deg, rgba(28, 50, 74, 0.92), rgba(8, 24, 48, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(245, 250, 255, 0.12),
    0 0 18px rgba(187, 220, 244, 0.14);
}

.architecture-scroll-toggle:hover,
.architecture-scroll-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(239, 255, 231, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(250, 255, 248, 0.14),
    0 0 24px rgba(101, 254, 9, 0.2);
}

.architecture-scroll-toggle:focus-visible {
  outline: 2px solid rgba(101, 254, 9, 0.86);
  outline-offset: 3px;
}

.architecture-scroll-toggle-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 104px;
  max-width: 108px;
  height: 1.5em;
  overflow: hidden;
  color: inherit;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.architecture-scroll-toggle-flip {
  position: relative;
  display: grid;
  gap: 0;
  min-width: max-content;
  animation: scrollToggleTextRoll 7.8s linear infinite;
  will-change: transform;
}

.architecture-scroll-toggle-copy {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: 1.5em;
  transform-origin: center;
  transition:
    opacity 180ms ease,
    filter 180ms ease;
}

.architecture-scroll-toggle-copy--ghost {
  opacity: 0.78;
}

.architecture-scroll-toggle-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(20, 59, 92, 0.82), rgba(10, 39, 69, 0.86));
  box-shadow:
    inset 0 1px 0 rgba(245, 250, 255, 0.12);
  color: currentColor;
}

.architecture-scroll-toggle-icon svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: transform 220ms ease;
}

.architecture-scroll-toggle.is-unlocked {
  opacity: 0.72;
}

.architecture-scroll-toggle.is-unlocked .architecture-scroll-toggle-icon svg {
  transform: rotate(180deg);
}

@keyframes scrollToggleTextRoll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-3em);
  }
}

.architecture-screen-window figcaption {
  color: #dfffd0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.workflow-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
  background:
    linear-gradient(90deg, rgba(10, 39, 74, 0.9) 0%, rgba(8, 28, 63, 0.96) 52%, rgba(12, 37, 71, 0.9) 100%);
}

.workflow-copy h3 {
  color: #f4fbff;
  margin-bottom: 8px;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.workflow-step {
  flex-direction: column;
  gap: 6px;
  min-height: 112px;
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8, 30, 63, 0.96), rgba(5, 20, 48, 0.98));
}

.workflow-step-number {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(158, 225, 96, 0.76);
  color: #efffd7;
  font-size: 0.8rem;
  font-weight: 800;
}

.workflow-strip {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(158, 225, 96, 0.28);
  border-radius: 14px;
  background: rgba(109, 207, 84, 0.08);
  color: #e2f8d5;
  font-size: 0.92rem;
  font-weight: 650;
}

.workflow-toggle {
  margin-bottom: 14px;
}

.output-grid {
  align-items: start;
}

.output-card {
  padding: 16px;
  display: grid;
  gap: 10px;
  background:
    radial-gradient(circle at top right, rgba(109, 207, 84, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(8, 29, 67, 0.94), rgba(4, 17, 42, 0.98));
}

.output-card-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  text-align: left;
}

.output-card-trigger h3 {
  color: #f6fbff;
}

.output-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(127, 183, 228, 0.36);
  border-radius: 999px;
  color: #d6ecff;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.output-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.output-tag {
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.output-card-detail {
  padding-top: 2px;
}

.output-why {
  color: #e8ffd4;
  font-size: 0.88rem;
  line-height: 1.55;
}

.output-why strong {
  color: #f2ffd8;
}

.trust-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.trust-stack span {
  min-height: 34px;
  border-radius: 999px;
  font-size: 0.78rem;
}

.trust-stack-deploy span {
  border-color: rgba(158, 225, 96, 0.38);
  background: linear-gradient(180deg, rgba(26, 51, 35, 0.9), rgba(10, 22, 15, 0.98));
  color: #e8ffd0;
}

.support-feature-grid article h3 {
  color: #f3fbff;
}

.support-feature-grid article p {
  color: #cbe2f7;
}

.support-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.diagnostic-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(158, 225, 96, 0.24);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(40, 82, 61, 0.2), rgba(8, 29, 67, 0.72));
}

.diagnostic-card p {
  color: #b8d4ea;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.diagnostic-card strong {
  color: #f3ffd9;
  font-size: clamp(1.12rem, 2vw, 1.5rem);
  line-height: 1.1;
}

.diagnostic-card span {
  color: #d6e9f6;
  font-size: 0.9rem;
  line-height: 1.5;
}

.results-cta {
  margin-top: 12px;
}

@keyframes pulse-orbit {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.66;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .value-strip-grid,
  .hero-story,
  .problem-layout,
  .compare-split,
  .journey-stepper,
  .workflow-steps,
  .architecture-notes,
  .output-grid,
  .support-feature-grid {
    grid-template-columns: 1fr;
  }

  .architecture-card {
    grid-template-columns: 1fr;
  }

  .architecture-card-detail,
  .architecture-screen-window {
    grid-column: 1;
  }

  .architecture-screen-window {
    grid-row: auto;
    width: min(100%, 420px);
  }

  .hero-copy h1 {
    max-width: 14ch;
  }
}

@media (max-width: 820px) {
  .hero-subhead,
  .hero-support-line,
  .hero-bridge-line,
  .hero-toggle,
  .hero-story {
    width: 100%;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(1.8rem, 8.2vw, 3rem);
  }

  .hero-output-grid {
    position: static;
    inset: auto;
    width: 100%;
    padding: 0 16px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-diagram {
    min-height: 320px;
    align-content: center;
    gap: 18px;
    padding-top: 18px;
  }

  .hero-output {
    width: 100%;
  }

  .preview-card,
  .journey-step {
    min-height: auto;
  }

  .domain-tabs .tab-btn,
  .tab-row .tab-btn {
    flex-basis: 100%;
  }
}

@media (max-width: 640px) {
  .hero,
  .panel {
    padding: 14px;
  }

  .app-shell {
    gap: 20px;
  }

  .hero-kicker {
    width: 100%;
    margin: 0 0 4px;
  }

  .hero-toggle,
  .workflow-toggle {
    flex-direction: column;
  }

  .hero-cta,
  .hero-toggle-btn,
  .workflow-toggle-btn,
  .friction-trigger {
    width: 100%;
  }

  .value-strip {
    gap: 12px;
  }

  .value-strip-lead {
    gap: 8px;
    padding: 14px 14px 13px;
  }

  .value-strip-lead h3 {
    font-size: 1rem;
  }

  .value-strip-pulse {
    gap: 0;
  }

  .value-strip-pulse span {
    font-size: 0.72rem;
  }

  .value-strip-pulse span:not(:last-child)::after {
    margin: 0 6px;
  }

  .value-strip-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .value-card {
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "body body"
      "note note";
    align-items: center;
    gap: 6px 10px;
    min-height: auto;
    padding: 12px 14px;
  }

  .value-card-icon {
    grid-area: icon;
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-width: 2px;
    border-radius: 999px;
    font-size: 0.74rem;
  }

  .value-card h3 {
    font-size: 0.98rem;
    line-height: 1.15;
    justify-self: start;
    text-align: left;
  }

  .value-card p {
    font-size: 0.82rem;
    line-height: 1.42;
  }

  .value-card-note {
    font-size: 0.72rem;
    line-height: 1.32;
  }

  .support-feature-grid {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    min-height: 84px;
  }

  .trust-stack span,
  .output-tag,
  .friction-card {
    width: 100%;
  }
}

/* Keep comparison tabs in a fixed 2-row layout on all devices */
.domain-tabs#comparisonTabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  gap: 8px;
}

.domain-tabs#comparisonTabs .tab-btn {
  width: 100%;
  min-width: 0;
  flex: 0 0 auto;
}

/* App-showroom refinement pass */
:root {
  --gold: #d8aa55;
  --gold-soft: rgba(216, 170, 85, 0.18);
  --purple: #9d7cff;
  --purple-soft: rgba(157, 124, 255, 0.18);
  --shell-stroke: rgba(201, 235, 255, 0.22);
  --shell-glow: 0 28px 60px rgba(2, 8, 26, 0.48), 0 0 28px rgba(0, 197, 255, 0.14);
  --module-shadow:
    inset 0 1px 0 rgba(238, 247, 255, 0.1),
    inset 0 0 0 1px rgba(11, 55, 88, 0.7),
    0 18px 40px rgba(1, 9, 24, 0.34);
}

body {
  background-image:
    radial-gradient(circle at 50% -10%, rgba(185, 246, 255, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(4, 25, 52, 0.24), rgba(4, 25, 52, 0)),
    var(--simme-tile-image);
  background-attachment: fixed, fixed, fixed;
}

.app-shell {
  width: min(1280px, 96vw);
  margin: 16px auto 38px;
  padding: 26px;
  gap: 42px;
  border: 1.5px solid rgba(33, 205, 243, 0.46);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(8, 29, 67, 0.16), rgba(8, 29, 67, 0)) border-box,
    linear-gradient(135deg, #06152f 0%, #071a42 42%, #06162f 100%) padding-box;
  box-shadow:
    inset 0 0 0 1px rgba(191, 232, 255, 0.08),
    inset 0 0 0 7px rgba(6, 16, 36, 0.42),
    var(--shell-glow);
}

.hero,
.journey-nav,
.panel,
.value-strip {
  position: relative;
  border: 1.5px solid rgba(45, 199, 236, 0.42);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(7, 22, 54, 0.98), rgba(5, 18, 44, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(230, 241, 255, 0.06),
    inset 0 0 0 3px rgba(6, 23, 49, 0.55),
    var(--module-shadow);
}

.app-shell > .hero,
.app-shell > .journey-nav,
.app-shell > .value-strip,
.app-shell > .panel {
  scroll-margin-top: 110px;
}

.journey-nav {
  border-radius: 14px;
}

.hero::before,
.journey-nav::before,
.panel::before,
.value-strip::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 235, 255, 0.07);
  border-radius: inherit;
  pointer-events: none;
}

.hero {
  --hero-pad-x: 24px;
  gap: 18px;
  padding: 26px 24px 22px;
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 219, 255, 0.12), transparent 24%),
    radial-gradient(circle at 100% 50%, rgba(0, 219, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(6, 20, 48, 0.98), rgba(5, 17, 41, 0.98));
}

.hero-kicker {
  width: calc(100% + 24px);
  margin: -10px -12px 4px;
}

.hero-brand-wrap {
  width: 100%;
  justify-content: center;
  padding: 2px 4px 0;
}

.brand-mark {
  width: min(190px, 48vw);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.34));
}

.hero-copy {
  width: 100%;
  gap: 14px;
}

.hero-copy h1 {
  max-width: 24ch;
  font-size: clamp(1.72rem, 3vw, 2.7rem);
  font-weight: 670;
  line-height: 1.05;
  letter-spacing: -0.018em;
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  text-wrap: balance;
}

.hero-subhead {
  font-size: clamp(1.02rem, 1.6vw, 1.28rem);
  line-height: 1.58;
}

.hero-copy > p.hero-support-line {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% + (var(--hero-pad-x) * 2));
  max-width: none;
  justify-self: stretch;
  box-sizing: border-box;
  margin-left: calc(var(--hero-pad-x) * -1);
  margin-right: calc(var(--hero-pad-x) * -1);
  padding: 12px 18px;
  border: 1.5px solid #39e941;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(46, 142, 72, 0.3), rgba(23, 69, 46, 0.16));
  box-shadow:
    inset 0 1px 0 rgba(236, 255, 208, 0.2),
    0 0 18px rgba(57, 233, 65, 0.14);
  color: #e6f1fb;
  font-size: clamp(0.94rem, 1.35vw, 1.12rem);
  font-weight: 560;
  line-height: 1.32;
  letter-spacing: -0.01em;
  text-shadow: none;
}

.hero-bridge-line {
  padding-left: 2px;
}

.hero-toggle,
.workflow-toggle {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  padding: 6px;
  gap: 6px;
  border: 1.5px solid rgba(189, 218, 246, 0.32);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(38, 56, 90, 0.74), rgba(18, 35, 69, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(8, 21, 47, 0.72);
}

.hero-toggle-btn,
.workflow-toggle-btn,
.friction-trigger,
.output-card-trigger,
.hero-cta,
.choice-pill,
.selector-chip,
.journey-chip,
.cta-card {
  border: 1.5px solid rgba(188, 219, 245, 0.42);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(26, 47, 82, 0.94), rgba(12, 32, 64, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 0 0 1px rgba(18, 43, 79, 0.68),
    0 8px 20px rgba(3, 11, 29, 0.22);
}

.hero-toggle-btn,
.workflow-toggle-btn {
  min-height: 44px;
  padding: 9px 16px;
  font-size: 0.88rem;
}

/* Shared selector language: rounded rectangles with a visible selection control. */
.hero-toggle-btn,
.workflow-toggle-btn,
.tab-btn,
.selector-pill,
.choice-pill,
.scanner-choice {
  border-radius: 14px;
  min-width: 0;
  line-height: 1.2;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero-toggle-btn,
.workflow-toggle-btn {
  padding-left: 40px;
}

.hero-toggle-btn,
.workflow-toggle-btn,
.selector-pill,
.choice-pill,
.tab-btn {
  font-size: clamp(0.72rem, 1.2vw, 0.88rem);
}

.hero-toggle-btn,
.workflow-toggle-btn,
.tab-btn,
.selector-pill,
.choice-pill {
  position: relative;
}

.hero-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-toggle-icon {
  width: clamp(30px, 2.8vw, 42px);
  height: clamp(30px, 2.8vw, 42px);
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.hero-toggle-btn:hover,
.workflow-toggle-btn:hover,
.hero-toggle-btn:focus-visible,
.workflow-toggle-btn:focus-visible {
  border-color: rgba(211, 230, 249, 0.74);
  background: linear-gradient(180deg, rgba(45, 73, 114, 0.96), rgba(21, 45, 82, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(250, 254, 255, 0.2),
    inset 0 0 0 1px rgba(38, 81, 133, 0.74),
    0 0 18px rgba(76, 172, 232, 0.16);
}

.hero-toggle-btn.is-active,
.workflow-toggle-btn.is-active,
.output-card.is-open .output-card-trigger,
.choice-pill.is-active,
.selector-chip.is-active,
.journey-chip.is-active {
  border-color: rgba(158, 225, 96, 0.9);
  background: linear-gradient(180deg, rgba(64, 130, 86, 0.96), rgba(45, 101, 67, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(241, 255, 220, 0.22),
    inset 0 0 0 1px rgba(72, 153, 95, 0.5),
    0 0 24px rgba(112, 214, 78, 0.18);
}

.hero-toggle-btn.is-active[data-hero-mode="without"] {
  border-color: rgba(240, 170, 66, 0.92);
  color: #fff2d6;
  animation: without-toggle-warning 3.8s ease-in-out infinite;
}

.hero-toggle-btn.is-active:hover,
.workflow-toggle-btn.is-active:hover,
.hero-toggle-btn.is-active:focus-visible,
.workflow-toggle-btn.is-active:focus-visible {
  border-color: #8fff72;
  background: linear-gradient(180deg, rgba(72, 147, 96, 0.98), rgba(50, 112, 76, 1));
  box-shadow:
    inset 0 1px 0 rgba(244, 255, 224, 0.28),
    inset 0 0 0 1px rgba(94, 182, 118, 0.58),
    0 0 22px rgba(126, 226, 88, 0.24);
}

.hero-toggle-btn.is-active[data-hero-mode="without"]:hover,
.hero-toggle-btn.is-active[data-hero-mode="without"]:focus-visible {
  border-color: rgba(255, 64, 64, 0.9);
  background: linear-gradient(180deg, rgba(132, 62, 38, 0.98), rgba(80, 35, 38, 1));
  box-shadow:
    inset 0 1px 0 rgba(255, 231, 190, 0.28),
    inset 0 0 0 1px rgba(255, 105, 72, 0.5),
    0 0 24px rgba(255, 64, 64, 0.2);
}

.journey-menu-btn {
  border-radius: 7px;
}

.journey-chip {
  border-radius: 7px;
}

.hero-story {
  gap: 16px;
  grid-template-columns: 1fr;
}

.hero-diagram,
.hero-state-card,
.problem-copy-block,
.problem-visual,
.workflow-panel,
.architecture-card,
.output-card,
.support-feature-grid article,
.value-card,
.preview-card,
.journey-step,
.diagnostic-card,
.metric-card,
.savings-card,
.results-hero .metric-card,
.team-view .mini-stat,
.result-grid .metric-card,
.cta-card {
  border: 1.5px solid rgba(46, 194, 231, 0.32);
  border-radius: 22px;
  box-shadow:
    inset 0 0 0 1px rgba(228, 241, 255, 0.06),
    inset 0 0 0 3px rgba(6, 22, 46, 0.55),
    0 18px 40px rgba(2, 8, 24, 0.28);
}

.value-strip .value-strip-lead,
.value-strip .value-card {
  border: 2px solid rgba(46, 194, 231, 0.52);
  box-shadow: 0 16px 30px rgba(2, 8, 24, 0.18);
}

.value-strip .value-strip-lead::before,
.value-strip .value-card::before {
  content: none;
}

.value-strip-head .section-index {
  width: 42px;
  height: 42px;
  min-width: 42px;
  padding: 0;
  border-radius: 50%;
  border-color: rgba(158, 225, 96, 0.72);
  background: linear-gradient(180deg, rgba(30, 67, 42, 0.42), rgba(10, 30, 18, 0.3));
  color: #efffd8;
  letter-spacing: 0.08em;
}

.value-strip .value-strip-lead,
.value-strip .value-card {
  border-radius: 10px;
  box-shadow: 0 14px 26px rgba(2, 8, 24, 0.16);
}

.value-strip .value-strip-lead::before,
.value-strip .value-card::before {
  display: none !important;
}

.panel-showcase .preview-card::before {
  display: none !important;
}

.value-strip .value-strip-pulse {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.value-strip .value-strip-pulse span {
  display: inline;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.value-strip .value-card-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  flex-basis: 42px;
  border-width: 2px;
  border-radius: 50%;
}

.value-strip .value-card h3 {
  margin-left: 2px;
}

@media (max-width: 780px) {
  .value-strip-head .section-index {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .value-strip .value-card-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    flex-basis: 34px;
    border-radius: 50%;
  }
}

.hero-diagram {
  min-height: 380px;
  border-color: rgba(46, 194, 231, 0.42);
  background:
    radial-gradient(circle at center, rgba(0, 219, 255, 0.18), transparent 22%),
    radial-gradient(circle at center, rgba(0, 219, 255, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(8, 26, 58, 0.98), rgba(5, 17, 41, 0.98));
}

.hero-diagram::before {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 24px;
  border: 1px solid rgba(111, 177, 224, 0.14);
  background:
    linear-gradient(rgba(19, 65, 112, 0.08), rgba(19, 65, 112, 0.08)) 50% 50% / 1px 100% no-repeat,
    linear-gradient(90deg, rgba(19, 65, 112, 0.08), rgba(19, 65, 112, 0.08)) 50% 50% / 100% 1px no-repeat;
  pointer-events: none;
}

.hero-core-wrap {
  width: 270px;
  height: 270px;
}

.hero-core {
  width: 156px;
  height: 156px;
  border-width: 1.5px;
  background: radial-gradient(circle at 35% 30%, rgba(158, 225, 96, 0.34), rgba(27, 66, 49, 0.96));
  box-shadow:
    0 0 0 10px rgba(16, 36, 29, 0.36),
    0 0 36px rgba(120, 226, 80, 0.22);
}

.hero-orbit {
  border-color: rgba(127, 183, 228, 0.2);
}

.hero-output-grid {
  inset: 20px;
  gap: 16px;
}

.hero-output {
  min-width: 104px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1.5px solid rgba(156, 200, 239, 0.34);
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(16, 39, 74, 0.94), rgba(8, 27, 55, 0.98));
  box-shadow: inset 0 1px 0 rgba(241, 248, 255, 0.08);
  font-size: 0.8rem;
}

.hero-state-card {
  padding: 20px;
  background:
    radial-gradient(circle at top right, rgba(109, 207, 84, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(10, 31, 68, 0.96), rgba(5, 18, 44, 0.98));
}

.hero-points {
  gap: 8px;
  width: calc(100% + (var(--hero-pad-x) * 2));
  margin: 12px calc(var(--hero-pad-x) * -1) calc(var(--hero-pad-x) * -1);
}

.hero-points span {
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  border-width: 1.5px;
  border-left-width: 0;
  border-right-width: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(10, 56, 82, 0.96), rgba(8, 37, 62, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(240, 248, 255, 0.08),
    inset 0 0 0 1px rgba(19, 75, 99, 0.52);
}

.offer-chip {
  justify-content: flex-start;
  min-height: 52px;
  padding: 12px 18px;
  border-width: 1.5px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10, 56, 82, 0.96), rgba(8, 37, 62, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(240, 248, 255, 0.08),
    inset 0 0 0 1px rgba(19, 75, 99, 0.52);
}

.hero-points span:last-child {
  border-bottom-left-radius: calc(var(--hero-panel-radius) - 1px);
  border-bottom-right-radius: calc(var(--hero-panel-radius) - 1px);
}

.value-strip {
  gap: 18px;
  padding: 10px 6px 2px;
}

.value-strip-grid {
  gap: 12px;
}

.value-card {
  position: relative;
  min-height: 156px;
  padding: 18px 16px;
  background:
    radial-gradient(circle at top right, rgba(0, 219, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(9, 31, 67, 0.96), rgba(5, 18, 44, 0.98));
}

.value-card::before,
.preview-card::before,
.journey-step::before,
.output-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 219, 255, 0), rgba(0, 219, 255, 0.72), rgba(0, 219, 255, 0));
  opacity: 0.78;
}

.value-card-icon {
  width: 40px;
  height: 40px;
  border-width: 1.5px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(63, 130, 86, 0.34), rgba(23, 54, 38, 0.2));
}

.preview-grid,
.journey-stepper,
.output-grid {
  gap: 16px;
}

.preview-card,
.journey-step,
.output-card {
  position: relative;
  border-radius: 24px;
}

.preview-card {
  align-content: start;
  gap: 6px;
  min-height: 186px;
  padding: 20px 18px 18px;
}

.preview-card-label {
  margin-bottom: 2px;
}

.preview-card h3 {
  margin: 0;
  line-height: 1.15;
}

.preview-card p {
  margin: 0;
  line-height: 1.42;
}

.preview-card-builder {
  border-color: rgba(49, 201, 237, 0.4);
  background:
    linear-gradient(180deg, rgba(21, 233, 68, 0.08), rgba(21, 233, 68, 0) 22%),
    radial-gradient(circle at top right, rgba(0, 219, 255, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(8, 29, 65, 0.96), rgba(4, 17, 42, 0.98));
}

.preview-card-builder::before {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(118, 226, 78, 0.92), rgba(0, 0, 0, 0));
}

.preview-card-structure {
  background:
    radial-gradient(circle at top right, rgba(0, 219, 255, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(10, 41, 80, 0.96), rgba(5, 22, 54, 0.98));
}

.preview-card-talents {
  border-color: rgba(216, 170, 85, 0.42);
  background:
    linear-gradient(180deg, rgba(216, 170, 85, 0.1), rgba(216, 170, 85, 0) 22%),
    radial-gradient(circle at top right, rgba(225, 169, 84, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(57, 40, 18, 0.96), rgba(22, 15, 8, 0.98));
}

.preview-card-talents::before,
.journey-step-gold::before {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(216, 170, 85, 0.9), rgba(0, 0, 0, 0));
}

.preview-card-export {
  border-color: rgba(157, 124, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(157, 124, 255, 0.08), rgba(157, 124, 255, 0) 22%),
    radial-gradient(circle at top right, rgba(162, 123, 247, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(33, 23, 63, 0.96), rgba(10, 9, 32, 0.98));
}

.preview-card-export::before,
.journey-step-purple::before {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(157, 124, 255, 0.9), rgba(0, 0, 0, 0));
}

/* Keep each showcase panel border aligned to its own colour family. */
.preview-card-builder {
  border-color: rgba(96, 236, 120, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(208, 255, 218, 0.12),
    0 0 0 1px rgba(70, 194, 96, 0.24);
}

.preview-card-structure {
  border-color: rgba(84, 215, 255, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(211, 245, 255, 0.12),
    0 0 0 1px rgba(65, 171, 226, 0.22);
}

.preview-card-talents {
  border-color: rgba(234, 186, 92, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 183, 0.12),
    0 0 0 1px rgba(176, 131, 47, 0.22);
}

.preview-card-export {
  border-color: rgba(176, 138, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(233, 221, 255, 0.12),
    0 0 0 1px rgba(129, 92, 214, 0.24);
}

.preview-card-label,
.journey-step-kicker,
.hero-state-label,
.compare-column-label,
.output-card-label {
  color: #d8e8f5;
  letter-spacing: 0.12em;
}

.panel-showcase .preview-grid {
  position: relative;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 42px);
  isolation: isolate;
  max-width: 980px;
  margin-inline: auto;
}

.panel-showcase .preview-grid::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 50%;
  width: 4px;
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      transparent,
      color-mix(in srgb, var(--scanner-accent, #7cf2ff) 64%, transparent) 12%,
      color-mix(in srgb, var(--scanner-accent, #7cf2ff) 64%, transparent) 88%,
      transparent
    );
  box-shadow:
    0 0 18px color-mix(in srgb, var(--scanner-accent, #7cf2ff) 34%, transparent),
    0 0 34px color-mix(in srgb, var(--scanner-accent, #7cf2ff) 18%, transparent);
  opacity: 0.9;
  transform: translateX(-50%);
  z-index: 0;
}

.panel-showcase .preview-grid::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(4, 18, 45, 0.96);
  border-radius: 50%;
  background: var(--scanner-accent, #7cf2ff);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--scanner-accent, #7cf2ff) 58%, #fff),
    0 0 20px color-mix(in srgb, var(--scanner-accent, #7cf2ff) 62%, transparent),
    0 0 42px color-mix(in srgb, var(--scanner-accent, #7cf2ff) 28%, transparent);
  transform: translate(-50%, 0);
  animation: previewFlowDot 28s ease-in-out infinite;
  z-index: 1;
}

.panel-showcase .preview-card {
  z-index: 2;
  min-height: 132px;
  padding: 18px clamp(18px, 3vw, 28px);
  border-color: color-mix(in srgb, var(--scanner-accent, #7cf2ff) 54%, rgba(126, 176, 222, 0.22));
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--scanner-accent, #7cf2ff) 0%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(9, 31, 67, 0.97), rgba(5, 18, 44, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(220, 238, 255, 0.1),
    0 0 0 1px color-mix(in srgb, var(--scanner-accent, #7cf2ff) 14%, transparent),
    0 16px 34px rgba(0, 0, 0, 0.16);
  animation: previewCardPulse 28s ease-in-out infinite;
}

.panel-showcase .preview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--scanner-accent, #7cf2ff) 44%, transparent), transparent 58%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), transparent 48%);
  opacity: 0;
  pointer-events: none;
  animation: previewCardBloom 28s ease-in-out infinite;
}

.panel-showcase .preview-card:nth-child(2) {
  animation-delay: 7s;
}

.panel-showcase .preview-card:nth-child(2)::after {
  animation-delay: 7s;
}

.panel-showcase .preview-card:nth-child(3) {
  animation-delay: 14s;
}

.panel-showcase .preview-card:nth-child(3)::after {
  animation-delay: 14s;
}

.panel-showcase .preview-card:nth-child(4) {
  animation-delay: 21s;
}

.panel-showcase .preview-card:nth-child(4)::after {
  animation-delay: 21s;
}

.panel-showcase .preview-card-label {
  color: color-mix(in srgb, var(--scanner-accent, #7cf2ff) 58%, #d8e8f5);
}

@keyframes previewFlowDot {
  0%,
  3% {
    top: 20px;
    opacity: 0;
  }
  6% {
    top: 34px;
    opacity: 1;
  }
  11%,
  20% {
    top: 74px;
    opacity: 0.08;
  }
  25% {
    top: calc(25% + 4px);
    opacity: 1;
  }
  31%,
  45% {
    top: calc(33% + 18px);
    opacity: 0.08;
  }
  50% {
    top: calc(50% + 2px);
    opacity: 1;
  }
  56%,
  70% {
    top: calc(58% + 8px);
    opacity: 0.08;
  }
  75% {
    top: calc(75% + 1px);
    opacity: 1;
  }
  81%,
  95% {
    top: calc(100% - 34px);
    opacity: 0.08;
  }
  100% {
    top: calc(100% - 20px);
    opacity: 0;
  }
}

@keyframes previewCardPulse {
  0%,
  5%,
  23%,
  100% {
    border-color: color-mix(in srgb, var(--scanner-accent, #7cf2ff) 54%, rgba(126, 176, 222, 0.22));
    background:
      radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--scanner-accent, #7cf2ff) 0%, transparent), transparent 34%),
      linear-gradient(180deg, rgba(9, 31, 67, 0.97), rgba(5, 18, 44, 0.99));
    box-shadow:
      inset 0 1px 0 rgba(220, 238, 255, 0.1),
      0 0 0 1px color-mix(in srgb, var(--scanner-accent, #7cf2ff) 14%, transparent),
      0 16px 34px rgba(0, 0, 0, 0.16);
  }
  7% {
    border-color: color-mix(in srgb, var(--scanner-accent, #7cf2ff) 68%, rgba(255, 255, 255, 0.24));
    background:
      radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--scanner-accent, #7cf2ff) 0%, transparent), transparent 34%),
      linear-gradient(180deg, rgba(9, 31, 67, 0.97), rgba(5, 18, 44, 0.99));
    box-shadow:
      inset 0 1px 0 rgba(230, 247, 255, 0.14),
      0 0 0 1px color-mix(in srgb, var(--scanner-accent, #7cf2ff) 20%, transparent),
      0 0 18px color-mix(in srgb, var(--scanner-accent, #7cf2ff) 12%, transparent),
      0 16px 34px rgba(0, 0, 0, 0.16);
  }
  11%,
  17% {
    border-color: color-mix(in srgb, var(--scanner-accent, #7cf2ff) 92%, rgba(255, 255, 255, 0.32));
    background:
      radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--scanner-accent, #7cf2ff) 0%, transparent), transparent 34%),
      linear-gradient(180deg, rgba(9, 31, 67, 0.97), rgba(5, 18, 44, 0.99));
    box-shadow:
      inset 0 1px 0 rgba(240, 252, 255, 0.22),
      0 0 0 1px color-mix(in srgb, var(--scanner-accent, #7cf2ff) 36%, transparent),
      0 0 42px color-mix(in srgb, var(--scanner-accent, #7cf2ff) 32%, transparent),
      0 16px 34px rgba(0, 0, 0, 0.16);
  }
  21% {
    border-color: color-mix(in srgb, var(--scanner-accent, #7cf2ff) 68%, rgba(255, 255, 255, 0.24));
    background:
      radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--scanner-accent, #7cf2ff) 0%, transparent), transparent 34%),
      linear-gradient(180deg, rgba(9, 31, 67, 0.97), rgba(5, 18, 44, 0.99));
    box-shadow:
      inset 0 1px 0 rgba(230, 247, 255, 0.14),
      0 0 0 1px color-mix(in srgb, var(--scanner-accent, #7cf2ff) 20%, transparent),
      0 0 18px color-mix(in srgb, var(--scanner-accent, #7cf2ff) 12%, transparent),
      0 16px 34px rgba(0, 0, 0, 0.16);
  }
}

@keyframes previewCardBloom {
  0%,
  5%,
  23%,
  100% {
    opacity: 0;
  }
  8% {
    opacity: 0.18;
  }
  11% {
    opacity: 0.42;
  }
  14% {
    opacity: 0.72;
  }
  17% {
    opacity: 0.42;
  }
  20% {
    opacity: 0.18;
  }
}

.problem-layout,
.compare-split {
  gap: 18px;
}

.problem-copy-block,
.problem-visual {
  padding: 22px;
}

.friction-card {
  justify-content: flex-start;
  min-height: 44px;
  border-width: 1.5px;
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(16, 39, 74, 0.96), rgba(8, 27, 55, 0.98));
}

.friction-stack.is-reduced .friction-card:first-child {
  border-width: 1.5px;
}

.compare-column {
  position: relative;
  border-width: 1.5px;
  border-radius: 22px;
  padding: 20px 20px 20px;
  padding-right: clamp(88px, 12vw, 120px);
  box-shadow:
    inset 0 0 0 1px rgba(228, 241, 255, 0.05),
    inset 0 0 0 3px rgba(7, 22, 46, 0.55),
    0 18px 38px rgba(2, 8, 24, 0.28);
}

.compare-label-svg {
  position: absolute;
  top: 14px;
  right: 14px;
  width: clamp(52px, 6.8vw, 72px);
  max-width: none;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  z-index: 2;
  opacity: 0.96;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.compare-column.is-positive {
  background:
    radial-gradient(circle at top right, rgba(109, 207, 84, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(9, 31, 67, 0.96), rgba(5, 18, 44, 0.98));
}

.compare-column.is-negative {
  border-color: rgba(240, 170, 66, 0.9);
  background:
    radial-gradient(circle at top right, rgba(240, 170, 66, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(44, 27, 16, 0.22), rgba(7, 22, 46, 0.96) 30%, rgba(5, 18, 44, 0.98));
  animation: without-panel-warning-border 4.2s ease-in-out infinite;
}

.compare-column.is-positive {
  border-color: #39e941;
  box-shadow:
    inset 0 0 0 1px rgba(57, 233, 65, 0.12),
    inset 0 0 0 3px rgba(7, 22, 46, 0.55),
    0 0 24px rgba(57, 233, 65, 0.16),
    0 18px 38px rgba(2, 8, 24, 0.28);
}

.compare-column.is-negative .comparison-example {
  border-color: rgba(240, 170, 66, 0.62);
  box-shadow: inset 0 0 0 1px rgba(240, 170, 66, 0.12);
}

.compare-column.is-positive .comparison-example {
  border-color: rgba(57, 233, 65, 0.72);
  box-shadow: inset 0 0 0 1px rgba(57, 233, 65, 0.14);
}

.journey-step {
  min-height: 210px;
  padding: 18px;
}

.journey-step-gold {
  border-color: rgba(216, 170, 85, 0.42);
  background:
    linear-gradient(180deg, rgba(216, 170, 85, 0.1), rgba(216, 170, 85, 0) 20%),
    linear-gradient(180deg, rgba(56, 39, 17, 0.96), rgba(22, 15, 8, 0.98));
}

.journey-step-purple {
  border-color: rgba(157, 124, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(157, 124, 255, 0.1), rgba(157, 124, 255, 0) 20%),
    linear-gradient(180deg, rgba(34, 23, 66, 0.96), rgba(12, 10, 34, 0.98));
}

.journey-step-trust {
  position: relative;
  border-color: rgba(158, 225, 96, 0.42);
  background:
    linear-gradient(180deg, rgba(118, 226, 78, 0.08), rgba(118, 226, 78, 0) 20%),
    linear-gradient(180deg, rgba(24, 49, 36, 0.94), rgba(9, 21, 14, 0.98));
}

#journey .journey-stepper {
  position: relative;
  isolation: isolate;
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(22px, 4vw, 34px);
  max-width: 980px;
  margin-inline: auto;
}

#journey .journey-stepper::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 50%;
  z-index: 0;
  width: 4px;
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(124, 242, 255, 0.64) 12%,
      rgba(124, 242, 255, 0.64) 88%,
      transparent
    );
  box-shadow:
    0 0 18px rgba(124, 242, 255, 0.34),
    0 0 34px rgba(124, 242, 255, 0.18);
  opacity: 0.9;
  transform: translateX(-50%);
}

#journey .journey-stepper::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 1;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(4, 18, 45, 0.96);
  border-radius: 50%;
  background: #7cf2ff;
  box-shadow:
    0 0 0 1px color-mix(in srgb, #7cf2ff 58%, #fff),
    0 0 20px rgba(124, 242, 255, 0.62),
    0 0 42px rgba(124, 242, 255, 0.28);
  transform: translate(-50%, 0);
  top: var(--journey-dot-y, 20px);
  animation: none;
}

#journey .journey-step {
  --journey-accent: #32e33d;
  --journey-border: rgba(50, 227, 61, 0.7);
  --journey-glow: rgba(50, 227, 61, 0.22);
  --journey-sheen: rgba(50, 227, 61, 0.12);
  --scanner-accent: var(--journey-accent);
  position: relative;
  z-index: 2;
  isolation: isolate;
  overflow: hidden;
  min-height: 126px;
  align-content: start;
  gap: 10px;
  padding: clamp(16px, 1.65vw, 20px) clamp(18px, 2vw, 22px);
  border: 1px solid var(--journey-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--journey-accent) 0%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(9, 31, 67, 0.97), rgba(5, 18, 44, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(220, 238, 255, 0.1),
    0 0 calc(44px * var(--journey-bloom, 0)) color-mix(in srgb, var(--journey-accent) 34%, transparent),
    0 16px 34px rgba(0, 0, 0, 0.16);
  animation: none;
}

#journey .journey-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--journey-accent) 72%, transparent), transparent);
  opacity: 0.78;
}

#journey .journey-step::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--journey-accent) 44%, transparent), transparent 58%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), transparent 48%);
  opacity: var(--journey-bloom, 0);
  pointer-events: none;
  transition: opacity 120ms linear;
}

#journey .journey-step:nth-child(2) {
  --journey-accent: #f3c958;
  --journey-border: rgba(243, 201, 88, 0.74);
  --journey-glow: rgba(243, 201, 88, 0.2);
  --journey-sheen: rgba(243, 201, 88, 0.12);
}

#journey .journey-step:nth-child(3) {
  --journey-accent: #9fb7d6;
  --journey-border: rgba(159, 183, 214, 0.66);
  --journey-glow: rgba(159, 183, 214, 0.18);
  --journey-sheen: rgba(159, 183, 214, 0.1);
}

#journey .journey-step:nth-child(4) {
  --journey-accent: #74ff26;
  --journey-border: rgba(116, 255, 38, 0.72);
  --journey-glow: rgba(116, 255, 38, 0.22);
  --journey-sheen: rgba(116, 255, 38, 0.12);
}

#journey .journey-step:nth-child(5) {
  --journey-accent: #24d2c5;
  --journey-border: rgba(36, 210, 197, 0.66);
  --journey-glow: rgba(36, 210, 197, 0.18);
  --journey-sheen: rgba(36, 210, 197, 0.1);
}

#journey .journey-step:nth-child(6) {
  --journey-accent: #6ee7ff;
  --journey-border: rgba(110, 231, 255, 0.7);
  --journey-glow: rgba(110, 231, 255, 0.2);
  --journey-sheen: rgba(110, 231, 255, 0.11);
}

#journey .journey-step-kicker {
  justify-self: start;
  padding: 6px 11px;
  border: 1.5px solid color-mix(in srgb, var(--journey-accent) 62%, rgba(255, 255, 255, 0.18));
  border-radius: 999px;
  background: color-mix(in srgb, var(--journey-accent) 11%, rgba(5, 21, 50, 0.88));
  color: color-mix(in srgb, var(--journey-accent) 64%, #f5fff2);
  box-shadow: 0 0 16px color-mix(in srgb, var(--journey-accent) 16%, transparent);
}

#journey .journey-step h3 {
  max-width: 16rem;
  margin: 0;
  color: #f7fcff;
  font-size: clamp(1.18rem, 1.6vw, 1.48rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

#journey .journey-step p {
  max-width: 30rem;
  color: #c8dcf3;
  font-size: clamp(0.94rem, 1.12vw, 1.06rem);
  line-height: 1.44;
}

#journey .journey-step-export-shot {
  display: block;
  width: clamp(315px, 42vw, 495px);
  max-width: 100%;
  margin: 6px auto 0;
  object-fit: contain;
  border: 1.5px solid rgba(116, 255, 38, 0.62);
  border-radius: 10px;
  background: rgba(3, 12, 30, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 16px rgba(116, 255, 38, 0.1),
    0 10px 20px rgba(0, 0, 0, 0.16);
}

.deploy-logo-carousel {
  position: relative;
  overflow: hidden;
  align-self: end;
  width: 100%;
  min-height: 74px;
  margin-top: auto;
  padding: 13px 0;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: #000;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 22px rgba(96, 236, 120, 0.14),
    0 14px 24px rgba(0, 0, 0, 0.26);
}

.deploy-logo-carousel::before,
.deploy-logo-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 42px;
  pointer-events: none;
}

.deploy-logo-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0));
}

.deploy-logo-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0));
}

.deploy-logo-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  will-change: transform;
  animation: deployLogoSlide 44s linear infinite;
}

.deploy-logo-track img {
  display: block;
  flex: 0 0 auto;
  height: clamp(34px, 4.4vw, 48px);
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: saturate(1.04) contrast(1.04);
}

@keyframes deployLogoSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 17px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .deploy-logo-track {
    animation: none;
    transform: translateX(0);
  }
}

#journey .journey-peek-window {
  width: min(100%, 320px);
  margin-top: 2px;
}

#journey .journey-peek-window .architecture-screen-scroll {
  border-color: color-mix(in srgb, var(--journey-accent) 68%, rgba(190, 230, 255, 0.32));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 20px color-mix(in srgb, var(--journey-accent) 14%, transparent);
}

@media (max-width: 1180px) {
  #journey .journey-stepper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  #journey .journey-stepper {
    grid-template-columns: 1fr;
  }

  #journey .journey-step {
    min-height: 132px;
  }
}

.workflow-panel {
  padding: 22px;
  border-width: 1.5px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 219, 255, 0.08), transparent 24%),
    linear-gradient(90deg, rgba(10, 39, 74, 0.94) 0%, rgba(8, 28, 63, 0.98) 52%, rgba(12, 37, 71, 0.94) 100%);
}

.workflow-steps {
  gap: 12px;
}

.workflow-step {
  border-width: 1.5px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(18, 42, 76, 0.98), rgba(8, 27, 55, 0.98));
}

.workflow-step-number {
  width: 30px;
  height: 30px;
  border-width: 1.5px;
}

.workflow-strip {
  border-width: 1.5px;
  border-radius: 18px;
  padding: 14px 16px;
}

.output-card {
  padding: 18px;
  border-radius: 24px;
}

.output-card[data-output-card="clean"] {
  background:
    linear-gradient(180deg, rgba(109, 207, 84, 0.1), rgba(109, 207, 84, 0) 22%),
    radial-gradient(circle at top right, rgba(109, 207, 84, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(8, 29, 67, 0.96), rgba(4, 17, 42, 0.98));
}

.output-card[data-output-card="working"] {
  background:
    linear-gradient(180deg, rgba(0, 219, 255, 0.08), rgba(0, 219, 255, 0) 22%),
    linear-gradient(180deg, rgba(8, 29, 67, 0.96), rgba(4, 17, 42, 0.98));
}

.output-card[data-output-card="guardian"] {
  background:
    linear-gradient(180deg, rgba(157, 124, 255, 0.08), rgba(157, 124, 255, 0) 22%),
    radial-gradient(circle at top right, rgba(109, 207, 84, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(8, 29, 67, 0.96), rgba(4, 17, 42, 0.98));
}

.output-card-trigger {
  border-width: 1.5px;
  border-radius: 18px;
}

.output-card-icon {
  min-width: 76px;
  min-height: 38px;
  border-width: 1.5px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(24, 49, 85, 0.9), rgba(8, 24, 48, 0.98));
}

.output-tag,
.trust-stack span {
  min-height: 34px;
  border-width: 1.5px;
  border-radius: 14px;
}

.support-feature-grid {
  gap: 14px;
}

.support-feature-grid article {
  min-height: 138px;
  padding: 18px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(0, 219, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(8, 29, 67, 0.96), rgba(4, 17, 42, 0.98));
}

.support-feature-grid article:nth-child(4n + 1) {
  border-color: rgba(46, 194, 231, 0.42);
}

.support-feature-grid article:nth-child(4n + 2) {
  border-color: rgba(158, 225, 96, 0.34);
}

.support-feature-grid article:nth-child(4n + 3) {
  border-color: rgba(216, 170, 85, 0.34);
}

.support-feature-grid article:nth-child(4n + 4) {
  border-color: rgba(157, 124, 255, 0.34);
}

.diagnostic-card {
  padding: 18px;
  border-width: 1.5px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(92, 169, 74, 0.18), rgba(92, 169, 74, 0.02) 24%),
    linear-gradient(180deg, rgba(10, 31, 68, 0.96), rgba(4, 17, 42, 0.98));
}

.metric-card,
.mini-stat,
.savings-card {
  border-radius: 20px;
  border: 1.5px solid rgba(46, 194, 231, 0.26);
  background:
    linear-gradient(180deg, rgba(8, 29, 67, 0.96), rgba(4, 17, 42, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(228, 241, 255, 0.05),
    inset 0 0 0 3px rgba(7, 22, 46, 0.5);
}

.metric-card.highlight {
  border-color: rgba(158, 225, 96, 0.44);
  background:
    linear-gradient(180deg, rgba(118, 226, 78, 0.1), rgba(118, 226, 78, 0) 24%),
    linear-gradient(180deg, rgba(8, 29, 67, 0.96), rgba(4, 17, 42, 0.98));
}

.metric-card.accent {
  border-color: rgba(157, 124, 255, 0.4);
  background:
    linear-gradient(180deg, rgba(157, 124, 255, 0.1), rgba(157, 124, 255, 0) 24%),
    linear-gradient(180deg, rgba(8, 29, 67, 0.96), rgba(4, 17, 42, 0.98));
}

.cta {
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 219, 255, 0.12), transparent 24%),
    radial-gradient(circle at 100% 100%, rgba(158, 225, 96, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(6, 20, 48, 0.98), rgba(5, 17, 41, 0.98));
}

.cta-brand-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.cta-brand-mark {
  width: min(190px, 48vw);
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.28));
}

.cta-grid {
  gap: 14px;
}

.cta-card {
  min-height: 164px;
  padding: 18px;
  text-decoration: none;
}

.cta-card.primary {
  border-color: rgba(158, 225, 96, 0.8);
  background:
    linear-gradient(180deg, rgba(118, 226, 78, 0.12), rgba(118, 226, 78, 0) 24%),
    linear-gradient(180deg, rgba(10, 31, 68, 0.96), rgba(4, 17, 42, 0.98));
}

.cta-console {
  display: grid;
  gap: clamp(14px, 2.2vw, 22px);
}

.cta-product-row,
.cta-paper-row {
  display: grid;
  gap: clamp(12px, 1.8vw, 18px);
}

.cta-product-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cta-paper-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cta-asset-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(118px, 0.72fr) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 22px);
  align-items: center;
  min-height: 236px;
  padding: clamp(14px, 2vw, 22px);
  overflow: hidden;
  border: 1px solid rgba(36, 210, 244, 0.32);
  border-radius: clamp(18px, 2.4vw, 28px);
  background:
    radial-gradient(circle at 12% 12%, color-mix(in srgb, var(--cta-accent, #24d2f4) 18%, transparent), transparent 32%),
    linear-gradient(145deg, rgba(6, 29, 55, 0.96), rgba(4, 14, 35, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(217, 246, 255, 0.09),
    inset 0 0 0 1px rgba(217, 246, 255, 0.04),
    0 18px 36px rgba(0, 0, 0, 0.22);
  color: inherit;
  text-decoration: none;
}

.cta-asset-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid color-mix(in srgb, var(--cta-accent, #24d2f4) 22%, transparent);
  border-radius: inherit;
  pointer-events: none;
}

.cta-asset-card:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--cta-pill-accent, var(--cta-accent, #24d2f4)) 76%, #fff);
  outline-offset: 4px;
}

.cta-asset-card.is-free {
  --cta-accent: #39e941;
  --cta-pill-accent: #ff9a16;
}

.cta-asset-card.is-full {
  --cta-accent: #ff9a16;
  --cta-pill-accent: #39e941;
}

.cta-asset-card.is-public {
  --cta-accent: #dff3ff;
}

.cta-asset-card.is-technical {
  --cta-accent: #b5d6ff;
}

.cta-asset-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: clamp(8px, 1.3vw, 13px);
  border-radius: clamp(14px, 1.8vw, 20px);
  background:
    radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--cta-accent, #24d2f4) 16%, transparent), transparent 54%),
    rgba(0, 5, 15, 0.5);
}

.cta-asset-visual img {
  display: block;
  width: min(100%, 230px);
  max-height: 260px;
  object-fit: contain;
  filter:
    drop-shadow(0 18px 24px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 20px color-mix(in srgb, var(--cta-accent, #24d2f4) 13%, transparent));
}

.cta-product-card .cta-asset-visual img {
  width: min(100%, 250px);
}

.cta-asset-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  align-content: center;
}

.cta-asset-copy span {
  width: max-content;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--cta-pill-accent, var(--cta-accent, #24d2f4)) 58%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cta-pill-accent, var(--cta-accent, #24d2f4)) 10%, rgba(0, 8, 20, 0.86));
  color: color-mix(in srgb, var(--cta-pill-accent, var(--cta-accent, #24d2f4)) 55%, #f5fff1);
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1.1vw, 0.84rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-asset-copy h3 {
  margin: 0;
  color: #f6fbff;
  font-size: clamp(1.28rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.cta-asset-copy p {
  margin: 0;
  color: #c8d9ee;
  font-size: clamp(0.96rem, 1.45vw, 1.14rem);
  line-height: 1.55;
}

.cta-paper-card {
  min-height: 236px;
}

@media (max-width: 980px) {
  .cta-product-row,
  .cta-paper-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .cta-asset-card,
  .cta-paper-card {
    grid-template-columns: 1fr;
    min-height: 0;
    text-align: left;
  }

  .cta-asset-visual,
  .cta-paper-card .cta-asset-visual {
    min-height: 0;
  }

  .cta-asset-visual img,
  .cta-product-card .cta-asset-visual img {
    width: min(74vw, 230px);
    max-height: 248px;
  }

}

@media (min-width: 960px) {
  .hero {
    padding: 28px 28px 24px;
  }

  .hero-kicker {
    width: calc(100% + 32px);
    margin: -10px -16px 4px;
  }
}

@media (max-width: 1024px) {
  .app-shell {
    padding: 18px;
    gap: 34px;
  }

  .brand-mark {
    width: min(175px, 48vw);
  }

  .hero-story {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .hero {
    --hero-pad-x: 24px;
  }

  .hero-copy > p.hero-support-line {
    width: calc(100% + (var(--hero-pad-x) * 2));
    max-width: none;
  }

  .hero-copy h1 {
    max-width: 18ch;
  }

  .hero-toggle,
  .workflow-toggle {
    width: 100%;
  }

  .hero-diagram {
    min-height: 340px;
  }

  .hero-core-wrap {
    width: 232px;
    height: 232px;
  }

  .hero-core {
    width: 136px;
    height: 136px;
  }
}

@media (max-width: 640px) {
  .app-shell {
    width: min(100vw - 14px, 100%);
    margin: 8px auto 26px;
    padding: 12px;
    gap: 28px;
    border-radius: 20px;
  }

  .hero,
  .panel {
    border-radius: 20px;
  }

  .hero::before,
  .journey-nav::before,
  .panel::before {
    inset: 8px;
  }

  .brand-mark,
  .cta-brand-mark {
    width: min(150px, 48vw);
  }

  .hero-copy h1 {
    max-width: 20ch;
    font-size: clamp(1.5rem, 7vw, 2.08rem);
  }

  .hero-copy > p.hero-support-line {
    width: calc(100% + (var(--hero-pad-x) * 2));
    max-width: none;
    margin-left: calc(var(--hero-pad-x) * -1);
    margin-right: calc(var(--hero-pad-x) * -1);
  }

  .hero-points span {
    min-height: 48px;
    justify-content: center;
    text-align: center;
  }

  .value-card,
  .preview-card,
  .journey-step,
  .output-card,
  .support-feature-grid article,
  .cta-card {
    min-height: auto;
    padding: 16px;
  }

  .hero-toggle-btn,
  .workflow-toggle-btn,
  .hero-cta,
  .friction-trigger {
    min-height: 46px;
  }
}

/* Hero system diagram: keep the orbital layout on every screen size */
.hero-diagram {
  min-height: clamp(320px, 44vw, 520px);
  aspect-ratio: 16 / 9;
  isolation: isolate;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  contain: layout paint;
}

.hero-links {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: visible;
  pointer-events: none;
}

.hero-links line {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  transition: opacity 220ms ease, stroke 220ms ease, stroke-width 220ms ease;
}

.hero-link-line {
  fill: none;
  stroke-width: 1.3;
  opacity: 0.92;
}

.hero-link-dot {
  filter: drop-shadow(0 0 6px rgba(0, 219, 255, 0.22));
}

.hero-link-orb {
  fill: #eaffd8;
  stroke: rgba(226, 255, 198, 0.94);
  stroke-width: 1.45;
  filter:
    drop-shadow(0 0 8px rgba(248, 255, 231, 1))
    drop-shadow(0 0 22px rgba(57, 233, 65, 0.96))
    drop-shadow(0 0 42px rgba(57, 233, 65, 0.56));
  pointer-events: none;
}

.hero-links-with line {
  stroke: rgba(113, 204, 255, 0.62);
  stroke-width: 1.15;
}

.hero-links-without line {
  stroke: rgba(132, 155, 191, 0.34);
  stroke-width: 0.95;
}

.hero-core-wrap {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  display: grid;
  place-items: center;
  z-index: 4;
  pointer-events: none;
  will-change: transform;
  transition: none;
}

.hero-core-wrap.is-returning {
  transition: transform 620ms cubic-bezier(0.22, 1.35, 0.34, 1);
}

.hero-core {
  width: clamp(118px, 21%, 170px);
  height: clamp(118px, 21%, 170px);
  border-radius: 999px;
  font-size: clamp(0.82rem, 1.25vw, 1.05rem);
  line-height: 1.14;
  text-wrap: balance;
  text-align: center;
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  box-shadow:
    0 0 0 10px rgba(16, 36, 29, 0.28),
    0 0 42px rgba(64, 182, 243, 0.2);
}

.hero-core:active,
.hero-core-wrap.is-dragging .hero-core {
  cursor: grabbing;
}

.hero-output-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.hero-output {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(88px, 15%, 142px);
  min-height: clamp(52px, 11%, 76px);
  padding: 8px 12px;
  border: 1.5px solid rgba(171, 107, 122, 0.48);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(16, 39, 74, 0.96), rgba(8, 27, 55, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(241, 248, 255, 0.08),
    0 10px 18px rgba(2, 9, 24, 0.16);
  color: #dce8f4;
  font-size: clamp(0.68rem, 1.06vw, 0.96rem);
  font-weight: 720;
  line-height: 1.16;
  text-align: center;
  text-wrap: balance;
  transform: translate(-50%, -50%);
}

.hero-output-chat {
  left: 16%;
  top: 13%;
}

.hero-output-content {
  left: 50%;
  top: 13%;
}

.hero-output-agents {
  left: 84%;
  top: 13%;
}

.hero-output-workflows {
  left: 16%;
  top: 87%;
}

.hero-output-tools {
  left: 50%;
  top: 87%;
}

.hero-output-local {
  left: 84%;
  top: 87%;
}

.hero-story[data-mode="with"] .hero-links-with {
  opacity: 1;
}

.hero-story[data-mode="with"] .hero-links-without {
  opacity: 0.16;
}

.hero-story[data-mode="with"] .hero-output {
  border-color: rgba(102, 181, 226, 0.48);
}

.hero-story[data-mode="without"] .hero-links-with {
  opacity: 0;
}

.hero-story[data-mode="without"] .hero-links-without {
  opacity: 1;
}

.hero-story[data-mode="without"] .hero-output {
  border-color: rgba(171, 107, 122, 0.48);
  opacity: 0.94;
}

@media (max-width: 820px) {
  .hero-diagram {
    min-height: clamp(300px, 60vw, 420px);
  }

  .hero-output {
    width: clamp(76px, 16.5%, 120px);
    min-height: clamp(46px, 10%, 64px);
    font-size: clamp(0.62rem, 1.85vw, 0.82rem);
  }

  .hero-core {
    width: clamp(106px, 20%, 138px);
    height: clamp(106px, 20%, 138px);
    font-size: clamp(0.74rem, 1.8vw, 0.9rem);
  }
}

@media (max-width: 640px) {
  .compare-column {
    padding-right: clamp(62px, 17vw, 82px);
  }

  .compare-label-svg {
    top: 10px;
    right: 10px;
    width: clamp(38px, 9vw, 52px);
  }

  .hero-diagram {
    min-height: clamp(280px, 76vw, 360px);
    aspect-ratio: 1 / 1;
  }

  .hero-output {
    width: clamp(68px, 18.5%, 98px);
    min-height: 42px;
    padding: 6px 8px;
    font-size: clamp(0.56rem, 2.3vw, 0.72rem);
  }

  .hero-core {
    width: 106px;
    height: 106px;
    font-size: 0.72rem;
  }
}

/* Hero foundation motion states */
.hero-diagram {
  overflow: hidden;
}

.hero-link-line {
  stroke-width: 2;
}

.hero-link-line.is-structured {
  stroke: #39e941 !important;
  stroke-width: 3.35 !important;
  opacity: 0.98;
  filter: drop-shadow(0 0 12px rgba(57, 233, 65, 0.48));
  animation: structured-line-pulse 2.8s ease-in-out infinite;
}

.hero-link-line.is-random {
  stroke: #f0aa42;
  stroke-width: 3 !important;
  opacity: 0.82;
  filter: drop-shadow(0 0 9px rgba(240, 170, 66, 0.28));
  transition: opacity 240ms ease, stroke 240ms ease, stroke-width 240ms ease;
}

.hero-link-line.is-random.is-entering {
  filter: drop-shadow(0 0 12px rgba(255, 64, 64, 0.42));
  animation: random-line-enter 980ms ease-in-out both;
}

.hero-link-line.is-random.is-leaving {
  filter: drop-shadow(0 0 12px rgba(255, 64, 64, 0.38));
  animation: random-line-leave 980ms ease-in-out both;
}

.hero-link-dot {
  opacity: 1;
  stroke: rgba(232, 255, 240, 0.32);
  stroke-width: 1.2;
  filter: drop-shadow(0 0 8px rgba(0, 219, 255, 0.34));
}

.hero-link-dot.is-structured {
  fill: #39e941 !important;
  stroke: rgba(235, 255, 224, 0.52);
  filter: drop-shadow(0 0 14px rgba(57, 233, 65, 0.72));
  animation: structured-dot-pulse 2.8s ease-in-out infinite;
}

.hero-link-orb {
  fill: #efffe7;
  stroke: rgba(226, 255, 198, 0.94);
  stroke-width: 1.45;
  filter:
    drop-shadow(0 0 9px rgba(248, 255, 231, 1))
    drop-shadow(0 0 24px rgba(57, 233, 65, 0.98))
    drop-shadow(0 0 46px rgba(57, 233, 65, 0.58));
}

.hero-link-dot.is-random {
  fill: #f0aa42;
  stroke: rgba(255, 232, 186, 0.46);
  filter: drop-shadow(0 0 10px rgba(240, 170, 66, 0.46));
  transition: opacity 240ms ease, fill 240ms ease;
}

.hero-link-dot.is-random.is-entering {
  stroke: rgba(255, 224, 224, 0.5);
  filter: drop-shadow(0 0 10px rgba(255, 64, 64, 0.48));
  animation: random-dot-enter 980ms ease-in-out both;
}

.hero-link-dot.is-random.is-leaving {
  stroke: rgba(255, 224, 224, 0.5);
  filter: drop-shadow(0 0 10px rgba(255, 64, 64, 0.42));
  animation: random-dot-leave 980ms ease-in-out both;
}

.hero-output {
  --hero-bubble-size: clamp(80px, 10.2vw, 110px);
  width: var(--hero-bubble-size);
  height: var(--hero-bubble-size);
  aspect-ratio: 1 / 1;
  min-height: 0;
  min-width: 0;
  max-width: var(--hero-bubble-size);
  max-height: var(--hero-bubble-size);
  border-radius: 999px;
  padding: 10px;
  border-color: rgba(99, 166, 207, 0.56);
  background:
    radial-gradient(circle at 42% 32%, rgba(35, 78, 116, 0.92), rgba(7, 28, 59, 0.98) 68%),
    linear-gradient(180deg, rgba(16, 39, 74, 0.96), rgba(8, 27, 55, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(241, 248, 255, 0.1),
    inset 0 -10px 22px rgba(2, 10, 28, 0.18),
    0 12px 22px rgba(2, 9, 24, 0.18);
}

.hero-core {
  position: relative;
  overflow: hidden;
  --hero-core-size: clamp(104px, 13.2vw, 142px);
  width: var(--hero-core-size);
  height: var(--hero-core-size);
  aspect-ratio: 1 / 1;
  min-width: 0;
  min-height: 0;
  max-width: var(--hero-core-size);
  max-height: var(--hero-core-size);
  border: 2px solid rgba(107, 178, 221, 0.82);
  border-radius: 999px;
  background:
    radial-gradient(circle at 42% 34%, rgba(55, 104, 145, 0.92), rgba(21, 62, 97, 0.94) 64%, rgba(11, 38, 69, 0.98));
  box-shadow:
    0 0 0 12px rgba(9, 39, 68, 0.34),
    0 0 48px rgba(0, 219, 255, 0.2);
  align-content: center;
  justify-items: center;
  padding: clamp(10px, 1.4vw, 16px);
  font-size: clamp(0.78rem, 1vw, 0.96rem);
  line-height: 1.08;
}

.hero-core-text {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.02em;
  justify-items: center;
  max-width: 86%;
  text-align: center;
}

.hero-core-text span {
  display: block;
}

.hero-core::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: -8%;
  right: -8%;
  top: 50%;
  height: 7px;
  border-radius: 999px;
  background: transparent;
  transform: translateY(-50%) rotate(43deg) scaleX(0);
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.hero-story[data-mode="with"] .hero-core {
  border-color: #8eea59;
  background:
    radial-gradient(circle at 42% 34%, rgba(84, 150, 93, 0.94), rgba(42, 103, 65, 0.96) 64%, rgba(19, 59, 42, 0.98));
  box-shadow:
    0 0 0 12px rgba(20, 74, 45, 0.34),
    0 0 58px rgba(57, 233, 65, 0.24);
  animation:
    foundation-stability-pulse 3s ease-in-out infinite,
    foundation-float 4.4s ease-in-out infinite;
}

.hero-story[data-mode="with"] .hero-output {
  border-color: rgba(94, 187, 239, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(241, 248, 255, 0.1),
    0 0 20px rgba(0, 219, 255, 0.12);
}

.hero-story[data-mode="without"] .hero-output {
  border-color: rgba(171, 107, 122, 0.58);
}

.hero-story[data-mode="without"] .hero-core {
  border-color: rgba(240, 170, 66, 0.9);
  background:
    radial-gradient(circle at 42% 34%, rgba(130, 77, 44, 0.94), rgba(90, 48, 36, 0.96) 62%, rgba(56, 28, 36, 0.98));
  box-shadow:
    0 0 0 10px rgba(66, 31, 24, 0.32),
    0 0 50px rgba(240, 170, 66, 0.2);
  animation: without-core-warning 4.2s ease-in-out infinite;
}

.hero-story[data-mode="without"] .hero-core::after {
  opacity: 1;
  transform: translateY(-50%) rotate(43deg) scaleX(1);
  animation: without-core-strike 4.2s ease-in-out infinite;
}

@keyframes foundation-stability-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 10px rgba(20, 74, 45, 0.28),
      0 0 42px rgba(57, 233, 65, 0.2);
  }
  50% {
    box-shadow:
      0 0 0 15px rgba(20, 74, 45, 0.38),
      0 0 72px rgba(57, 233, 65, 0.34);
  }
}

@keyframes structured-line-pulse {
  0%,
  100% {
    opacity: 0.84;
  }
  50% {
    opacity: 1;
  }
}

@keyframes structured-dot-pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(57, 233, 65, 0.62));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(57, 233, 65, 0.88));
  }
}

@keyframes random-line-flicker {
  from {
    opacity: 0.22;
  }
  to {
    opacity: 0.68;
  }
}

@keyframes random-line-enter {
  0% {
    opacity: 0;
    stroke: #f0aa42;
  }
  42%,
  58% {
    opacity: 0.94;
    stroke: #ff4040;
  }
  100% {
    opacity: 0.82;
    stroke: #f0aa42;
  }
}

@keyframes random-line-leave {
  0% {
    opacity: 0.82;
    stroke: #f0aa42;
  }
  42%,
  58% {
    opacity: 0.74;
    stroke: #ff4040;
  }
  100% {
    opacity: 0;
    stroke: #ff4040;
  }
}

@keyframes random-dot-enter {
  0% {
    opacity: 0;
    fill: #f0aa42;
  }
  42%,
  58% {
    opacity: 1;
    fill: #ff4040;
  }
  100% {
    opacity: 1;
    fill: #f0aa42;
  }
}

@keyframes random-dot-leave {
  0% {
    opacity: 1;
    fill: #f0aa42;
  }
  42%,
  58% {
    opacity: 1;
    fill: #ff4040;
  }
  100% {
    opacity: 0;
    fill: #ff4040;
  }
}

@keyframes without-toggle-warning {
  0%,
  100% {
    border-color: rgba(240, 170, 66, 0.92);
    background: linear-gradient(180deg, rgba(122, 82, 39, 0.98), rgba(76, 50, 37, 0.98));
    box-shadow:
      inset 0 1px 0 rgba(255, 231, 190, 0.24),
      inset 0 0 0 1px rgba(240, 170, 66, 0.42),
      0 0 20px rgba(240, 170, 66, 0.18);
  }
  50% {
    border-color: rgba(255, 64, 64, 0.82);
    background: linear-gradient(180deg, rgba(124, 54, 40, 0.98), rgba(72, 35, 41, 0.98));
    box-shadow:
      inset 0 1px 0 rgba(255, 224, 206, 0.24),
      inset 0 0 0 1px rgba(255, 64, 64, 0.38),
      0 0 22px rgba(255, 64, 64, 0.18);
  }
}

@keyframes without-panel-warning-border {
  0%,
  100% {
    border-color: rgba(240, 170, 66, 0.9);
    box-shadow:
      inset 0 0 0 1px rgba(240, 170, 66, 0.12),
      inset 0 0 0 3px rgba(7, 22, 46, 0.55),
      0 0 18px rgba(240, 170, 66, 0.14),
      0 18px 38px rgba(2, 8, 24, 0.28);
  }
  50% {
    border-color: rgba(255, 64, 64, 0.86);
    box-shadow:
      inset 0 0 0 1px rgba(255, 64, 64, 0.14),
      inset 0 0 0 3px rgba(7, 22, 46, 0.55),
      0 0 20px rgba(255, 64, 64, 0.15),
      0 18px 38px rgba(2, 8, 24, 0.28);
  }
}

@keyframes without-core-warning {
  0%,
  100% {
    border-color: rgba(240, 170, 66, 0.9);
    box-shadow:
      0 0 0 10px rgba(66, 31, 24, 0.32),
      0 0 42px rgba(240, 170, 66, 0.2);
  }
  50% {
    border-color: rgba(255, 64, 64, 0.86);
    box-shadow:
      0 0 0 12px rgba(72, 22, 28, 0.34),
      0 0 52px rgba(255, 64, 64, 0.22);
  }
}

@keyframes without-core-strike {
  0%,
  100% {
    background: #f0aa42;
    box-shadow: 0 0 16px rgba(240, 170, 66, 0.24);
  }
  50% {
    background: #ff4040;
    box-shadow: 0 0 18px rgba(255, 64, 64, 0.28);
  }
}

@keyframes foundation-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -6px, 0);
  }
}

@media (max-width: 820px) {
  .hero-output {
    --hero-bubble-size: clamp(70px, 12.2vw, 92px);
    font-size: clamp(0.6rem, 1.75vw, 0.78rem);
  }

  .hero-core {
    --hero-core-size: clamp(96px, 16vw, 120px);
  }
}

@media (max-width: 640px) {
  .hero-output {
    --hero-bubble-size: clamp(56px, 16.8vw, 76px);
    font-size: clamp(0.5rem, 1.9vw, 0.64rem);
  }

  .hero-core {
    --hero-core-size: clamp(84px, 20vw, 100px);
    font-size: 0.64rem;
  }

  .hero-link-line.is-structured {
    stroke-width: 3 !important;
  }

  .hero-link-line.is-random {
    stroke-width: 2.6 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-link-orb {
    display: none;
  }

  .story-progress-fill::before,
  .story-progress-fill::after {
    animation: none;
  }
}

/* App-aligned typography: Manrope for content, IBM Plex Mono for labels and technical UI. */
.hero-kicker,
.journey-chip,
.journey-menu-btn,
.hero-state-label,
.compare-column-label,
.output-card-label,
.preview-card-label,
.journey-step-kicker,
.workflow-step-number,
.output-tag,
.value-card-icon,
.compare-tag,
.best-for-label,
.offering-label,
.savings-card-label,
.choice-group-label,
.mini-stat span,
.metric-card > p:first-child,
.builder-demo-label,
.builder-demo-output-label,
.example-label,
.proof-card h3,
.trust-item strong {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hero-toggle-btn,
.hero-cta,
.selector-chip,
.workflow-toggle-btn,
.flow-node,
.tab-row button,
.domain-tabs button,
.choice-pill,
.advanced-toggle,
.value-card h3,
.preview-card h3,
.journey-step h3,
.output-card h3,
.metric-card strong,
.mini-stat strong {
  font-family: var(--font-sans);
}

input,
output,
.yaml-preview,
.live-preview,
.file-preview,
.metric-card strong,
.mini-stat strong {
  font-variant-numeric: tabular-nums;
}

/* Keep all With/Without state panels visually aligned with the comparison cards. */
.hero-state-card {
  position: relative;
  padding: 20px clamp(86px, 13vw, 130px) 20px 20px;
}

.hero-state-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: clamp(54px, 6.8vw, 76px);
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  opacity: 0.96;
  z-index: 2;
}

.hero-state-icon-without {
  display: none;
}

.hero-story[data-mode="with"] .hero-state-icon-with {
  display: block;
}

.hero-story[data-mode="with"] .hero-state-icon-without {
  display: none;
}

.hero-story[data-mode="without"] .hero-state-icon-with {
  display: none;
}

.hero-story[data-mode="without"] .hero-state-icon-without {
  display: block;
}

.hero-story[data-mode="with"] .hero-state-card {
  border-color: #39e941;
  background:
    radial-gradient(circle at top right, rgba(57, 233, 65, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(9, 31, 67, 0.96), rgba(5, 18, 44, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(57, 233, 65, 0.12),
    inset 0 0 0 3px rgba(7, 22, 46, 0.55),
    0 0 24px rgba(57, 233, 65, 0.16),
    0 18px 38px rgba(2, 8, 24, 0.28);
}

.hero-story[data-mode="without"] .hero-state-card {
  border-color: rgba(240, 170, 66, 0.9);
  background:
    radial-gradient(circle at top right, rgba(240, 170, 66, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(44, 27, 16, 0.22), rgba(7, 22, 46, 0.96) 32%, rgba(5, 18, 44, 0.98));
  animation: without-panel-warning-border 4.2s ease-in-out infinite;
}
  .hero {
    --hero-pad-x: 12px;
  }

/* Always keep the pitch navigation in the app-style burger state. */
.journey-nav {
  position: sticky;
  top: 10px;
  z-index: 60;
  display: flex;
  align-items: center;
  overflow: visible;
  border-radius: 12px;
}

.journey-nav .journey-menu-btn {
  display: inline-flex;
  margin-left: auto;
}

.journey-nav:not(.is-open) .journey-links {
  display: none;
}

.journey-nav .journey-links {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: max-content;
  min-width: 0;
  max-width: min(90vw, 360px);
  padding: 8px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: rgba(4, 18, 45, 0.94);
  box-shadow: 0 14px 28px rgba(2, 8, 24, 0.34);
}

.journey-nav.is-open .journey-links {
  display: grid;
  gap: 8px;
}

.journey-nav .journey-chip {
  width: auto;
  min-width: max-content;
  justify-content: flex-start;
}

/* Story-style pitch mode: each major section becomes one horizontal page. */
html:has(.story-mode),
body:has(.story-mode) {
  overflow: hidden;
}

.app-shell.story-mode {
  position: relative;
  height: calc(100dvh - 16px);
  min-height: 600px;
  margin: 6px auto 8px;
  padding: 14px;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 8px;
  overflow: hidden;
  transition: gap 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.app-shell.story-mode.story-nav-collapsed {
  gap: 0;
}

.app-shell.story-mode.story-nav-collapsed-complete {
  grid-template-rows: 0 0 minmax(0, 1fr) auto;
  gap: 0;
}

.story-mode .journey-nav {
  position: relative;
  top: auto;
}

.story-stage {
  min-height: 0;
  overflow: hidden;
}

.story-recovery-ribbon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 5px 8px;
  border: 2px solid #ffed29;
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(8, 30, 61, 0.96), rgba(5, 21, 49, 0.98)),
    radial-gradient(circle at 78% 50%, rgba(255, 237, 41, 0.14), transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(232, 245, 255, 0.09),
    inset 0 0 0 1px rgba(255, 237, 41, 0.16),
    0 0 22px rgba(255, 237, 41, 0.14),
    0 10px 24px rgba(0, 0, 0, 0.16);
}

.story-recovery-readings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
}

.story-recovery-chip {
  display: grid;
  gap: 1px;
  min-width: 0;
  padding: 4px 8px;
  border: 1px solid rgba(118, 167, 214, 0.18);
  border-radius: 10px;
  background: rgba(6, 23, 48, 0.52);
}

.story-recovery-chip small {
  color: rgba(198, 222, 245, 0.8);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.story-recovery-chip strong {
  min-width: 0;
  color: #f5fbff;
  font-size: clamp(0.76rem, 0.9vw, 0.92rem);
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.story-recovery-chip-wide strong {
  color: #dfffc7;
}

.story-recovery-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  min-height: 30px;
  padding: 0 12px;
  border: 2px solid #ffed29;
  border-radius: 9px;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 237, 41, 0.42), transparent 44%),
    linear-gradient(180deg, rgba(112, 102, 19, 0.98), rgba(64, 58, 12, 0.98));
  color: #fffce6;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 253, 206, 0.36),
    inset 0 0 0 1px rgba(255, 237, 41, 0.24),
    0 0 18px rgba(255, 237, 41, 0.32);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.story-recovery-action:hover,
.story-recovery-action:focus-visible {
  transform: translateY(-1px);
  border-color: #ffed29;
  box-shadow:
    inset 0 1px 0 rgba(255, 253, 206, 0.44),
    inset 0 0 0 1px rgba(255, 237, 41, 0.34),
    0 0 26px rgba(255, 237, 41, 0.42);
  outline: none;
}

.story-recovery-action[hidden] {
  display: none;
}

.story-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  touch-action: pan-x;
  border-radius: 20px;
}

.story-track::-webkit-scrollbar {
  display: none;
}

.story-page {
  --story-page-pad: 16px;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scrollbar-gutter: auto;
}

.story-page.hero,
.story-page.panel,
.story-page.value-strip {
  --story-page-pad: 16px;
  padding: var(--story-page-pad);
}

.story-page.hero {
  gap: 14px;
}

.story-page.value-strip {
  gap: 12px;
}

.story-page.hero .story-page-ribbon {
  min-height: calc(clamp(46px, 4.2vw, 54px) + 2px);
  padding-top: clamp(8px, 1.05vw, 12px);
  padding-bottom: clamp(7px, 1vw, 10px);
}

.story-page.hero .story-page-ribbon-number {
  transform: translateY(1px);
}

.story-page:focus {
  outline: none;
}

.story-page-ribbon {
  --story-ribbon-inset: 0px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(10px, 1.1vw, 13px);
  min-height: clamp(46px, 4.2vw, 54px);
  margin: calc(var(--story-page-pad) * -1) calc(var(--story-page-pad) * -1) clamp(22px, 2.2vw, 28px);
  padding: clamp(7px, 0.95vw, 11px) clamp(14px, 1.4vw, 18px);
  border: 1.5px solid rgba(170, 199, 232, 0.74);
  border-left-color: rgba(196, 221, 246, 0.82);
  border-right-color: rgba(196, 221, 246, 0.82);
  border-bottom-color: rgba(156, 188, 224, 0.84);
  border-radius: 22px 22px 0 0;
  background:
    linear-gradient(90deg, rgba(231, 240, 252, 0.08), transparent 18%, rgba(94, 135, 184, 0.12) 100%),
    linear-gradient(180deg, rgba(29, 48, 78, 0.96), rgba(12, 30, 58, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(246, 250, 255, 0.18),
    inset 0 -1px 0 rgba(82, 119, 164, 0.34),
    0 10px 24px rgba(2, 8, 24, 0.18);
}

.story-page-ribbon-number {
  display: inline-grid;
  place-items: center;
  width: clamp(28px, 2.6vw, 34px);
  height: clamp(28px, 2.6vw, 34px);
  border: 1.5px solid rgba(196, 221, 246, 0.82);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 25%, rgba(42, 70, 108, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(6, 20, 48, 0.99), rgba(5, 18, 44, 0.99));
  color: #edf6ff;
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 0.72vw, 0.74rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  box-shadow:
    inset 0 0 0 1px rgba(236, 244, 255, 0.08);
}

.story-page-ribbon-title {
  min-width: 0;
  color: #edf6ff;
  font-family: var(--font-mono);
  font-size: clamp(0.66rem, 0.94vw, 0.82rem);
  font-weight: 600;
  letter-spacing: clamp(0.055em, 0.34vw, 0.11em);
  line-height: 1.06;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.24);
}

.story-mode .hero-kicker,
.story-mode .section-head > .section-index,
.story-mode .value-strip-head > .section-index {
  display: none;
}

.story-page#savings .section-head {
  margin-top: clamp(10px, 1.2vw, 16px);
}

.story-progress {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(7px, 1vw, 12px);
  padding: 8px;
  border: 1.5px solid rgba(45, 199, 236, 0.38);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(7, 22, 54, 0.96), rgba(5, 18, 44, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(230, 241, 255, 0.08),
    0 14px 30px rgba(2, 8, 24, 0.24);
  max-height: 120px;
  overflow: clip;
  transform: translateY(0);
  transform-origin: top;
  opacity: 1;
  transition:
    max-height 340ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 220ms ease,
    transform 340ms cubic-bezier(0.2, 0.8, 0.2, 1),
    margin 340ms cubic-bezier(0.2, 0.8, 0.2, 1),
    padding 340ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.story-progress-main {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.story-progress-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.story-progress-count {
  color: #ffe7e7;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.story-progress-title {
  overflow: hidden;
  color: #d8ecff;
  font-size: 0.86rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-progress-rail {
  position: relative;
  height: 5px;
  overflow: visible;
  border: 1px solid rgba(127, 183, 228, 0.24);
  border-radius: 999px;
  background: rgba(4, 17, 42, 0.9);
}

.story-progress-fill {
  position: relative;
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff5757, #f0aa42, #39e941);
  transition: width 240ms ease;
}

.story-progress-fill::before,
.story-progress-fill::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  pointer-events: none;
}

.story-progress-fill::before {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(230, 255, 200, 0.95) 0 12%, rgba(57, 233, 65, 0.46) 24%, transparent 68%);
  filter: blur(0.2px);
  opacity: 0.72;
  transform: translate(-50%, -50%);
  animation: progressSparkGlow 2.6s ease-in-out infinite;
}

.story-progress-fill::after {
  width: 12px;
  height: 12px;
  background:
    linear-gradient(90deg, transparent 42%, #f6ffe4 42% 58%, transparent 58%),
    linear-gradient(0deg, transparent 42%, #f6ffe4 42% 58%, transparent 58%),
    linear-gradient(45deg, transparent 44%, rgba(255, 238, 172, 0.94) 44% 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, rgba(255, 238, 172, 0.94) 44% 56%, transparent 56%);
  clip-path: polygon(50% 0, 58% 38%, 100% 50%, 58% 62%, 50% 100%, 42% 62%, 0 50%, 42% 38%);
  opacity: 0.92;
  transform: translate(-50%, -50%) scale(0.82) rotate(0deg);
  animation: progressSparkTwinkle 2.6s ease-in-out infinite;
}

@keyframes progressSparkGlow {
  0%,
  100% {
    opacity: 0.46;
    transform: translate(-50%, -50%) scale(0.78);
  }

  45% {
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes progressSparkTwinkle {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.64) rotate(0deg);
  }

  45% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(45deg);
  }
}

.story-progress-dots {
  display: flex;
  gap: clamp(5px, 0.7vw, 8px);
  min-width: 0;
  padding: 2px 1px 3px;
  overflow-x: auto;
  scrollbar-width: none;
}

.story-progress-dots::-webkit-scrollbar {
  display: none;
}

.story-dot {
  display: grid;
  place-items: center;
  width: clamp(24px, 2.25vw, 32px);
  height: clamp(24px, 2.25vw, 32px);
  flex: 0 0 clamp(24px, 2.25vw, 32px);
  padding: 0;
  border: 1.4px solid rgba(86, 158, 220, 0.66);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(132, 207, 255, 0.14), transparent 42%),
    rgba(12, 42, 82, 0.92);
  color: #cfe8ff;
  font-family: var(--font-mono);
  font-size: clamp(0.52rem, 0.7vw, 0.64rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  box-shadow:
    inset 0 0 0 1px rgba(230, 241, 255, 0.04),
    0 0 0 rgba(57, 233, 65, 0);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.story-dot.is-active {
  border-color: #39e941;
  background:
    radial-gradient(circle at 34% 24%, rgba(232, 255, 215, 0.34), transparent 38%),
    linear-gradient(180deg, rgba(57, 233, 65, 0.98), rgba(26, 174, 52, 0.94));
  color: #05172b;
  box-shadow:
    0 0 15px rgba(57, 233, 65, 0.36),
    inset 0 0 0 1px rgba(230, 255, 217, 0.28);
  transform: scale(1.08);
}

.story-step-btn {
  display: grid;
  place-items: center;
  width: clamp(36px, 3.5vw, 46px);
  height: clamp(36px, 3.5vw, 46px);
  min-width: clamp(36px, 3.5vw, 46px);
  min-height: clamp(36px, 3.5vw, 46px);
  padding: 0;
  border: 1.5px solid rgba(127, 183, 228, 0.5);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(15, 44, 82, 0.98), rgba(8, 29, 60, 0.98));
  color: #e5f4ff;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(230, 241, 255, 0.1),
    0 10px 24px rgba(2, 8, 24, 0.18);
  transition: border-color 180ms ease, transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
}

.story-step-btn:hover:not(:disabled),
.story-step-btn:focus-visible:not(:disabled) {
  border-color: rgba(158, 225, 96, 0.82);
  transform: translateY(-1px);
}

.story-step-btn:disabled {
  opacity: 0.34;
  cursor: default;
}

.swipe-hint {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 18;
  width: clamp(96px, 11.4vw, 140px);
  height: clamp(196px, 38vh, 346px);
  pointer-events: auto;
  transform: translate(112%, -50%);
  opacity: 0;
  filter:
    drop-shadow(0 0 16px rgba(255, 255, 255, 0.34))
    drop-shadow(0 0 38px rgba(255, 255, 255, 0.24))
    drop-shadow(0 18px 42px rgba(2, 8, 24, 0.46));
  transition:
    transform 520ms cubic-bezier(0.18, 0.88, 0.22, 1),
    opacity 260ms ease,
    filter 260ms ease;
}

.swipe-hint.is-visible {
  transform: translate(2%, -50%);
  opacity: 1;
  animation: swipeHintGlowPulse 1.15s ease-in-out infinite;
}

.swipe-hint.is-dismissed {
  transform: translate(148%, -50%);
  opacity: 0;
  animation: none;
}

.swipe-hint-art {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.swipe-hint-dismiss {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 50%;
  padding: 0;
  border: 0;
  border-radius: 0 0 999px 999px;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: none;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}

.swipe-hint-dismiss::after {
  content: none;
}

.swipe-hint-dismiss:hover,
.swipe-hint-dismiss:focus-visible {
  transform: translateY(-1px) scale(1.03);
  box-shadow: none;
}

.swipe-hint-dismiss:active {
  transform: translateY(1px) scale(0.98);
}

.swipe-hint-dismiss:focus-visible {
  outline: 2px solid rgba(125, 255, 79, 0.95);
  outline-offset: 2px;
}

@keyframes swipeGotItButtonGlow {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.98);
  }

  50% {
    opacity: 0.78;
    transform: scale(1.04);
  }
}

@keyframes swipeHintGlowPulse {
  0%,
  100% {
    filter:
      drop-shadow(0 0 14px rgba(255, 255, 255, 0.28))
      drop-shadow(0 0 28px rgba(255, 255, 255, 0.16))
      drop-shadow(0 18px 42px rgba(2, 8, 24, 0.42));
  }

  50% {
    filter:
      drop-shadow(0 0 24px rgba(255, 255, 255, 0.62))
      drop-shadow(0 0 54px rgba(255, 255, 255, 0.38))
      drop-shadow(0 18px 44px rgba(2, 8, 24, 0.5));
  }
}

@media (max-width: 820px) {
  .app-shell.story-mode {
    height: calc(100dvh - 10px);
    min-height: 560px;
    margin: 8px auto 10px;
    padding: 12px;
    gap: 8px;
  }

  .story-progress {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 7px;
    padding: 8px;
  }

  .story-page-ribbon {
    min-height: 39px;
    gap: 7px;
    margin-bottom: 16px;
    padding: 5px 11px;
  }

  .story-page.hero,
  .story-page.panel,
  .story-page.value-strip {
    --story-page-pad: 12px;
    padding: var(--story-page-pad);
  }

  .story-page.hero .story-page-ribbon {
    min-height: 42px;
    padding-top: 7px;
    padding-bottom: 6px;
  }

  .story-page-ribbon-title {
    font-size: clamp(0.56rem, 2.2vw, 0.68rem);
    letter-spacing: 0.06em;
  }

  .story-recovery-ribbon {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
    min-height: 40px;
    padding: 4px 7px;
  }

  .story-recovery-readings {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .story-recovery-chip {
    padding: 4px 6px;
  }

  .story-recovery-action {
    min-width: 132px;
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.7rem;
  }

  .swipe-hint {
    width: clamp(84px, 21vw, 118px);
    height: clamp(168px, 34vh, 296px);
  }
}

@media (max-width: 640px) {
  .app-shell.story-mode {
    height: calc(100dvh - 6px);
    min-height: 520px;
    margin: 4px auto 6px;
    padding: 9px;
    gap: 6px;
  }

  .story-progress-title {
    font-size: 0.78rem;
  }

  .story-dot {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    font-size: 0.48rem;
  }

  .story-step-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    font-size: 1.35rem;
  }

  .story-page-ribbon {
    min-height: 40px;
    padding: 6px 10px;
  }

  .story-page.hero,
  .story-page.panel,
  .story-page.value-strip {
    --story-page-pad: 10px;
    padding: var(--story-page-pad);
  }

  .story-page.hero .story-page-ribbon {
    min-height: 42px;
    padding-top: 7px;
    padding-bottom: 6px;
  }

  .story-page-ribbon-number {
    width: 25px;
    height: 25px;
    font-size: 0.56rem;
  }

  .value-strip-head h2 {
    font-size: clamp(1.7rem, 7vw, 2.05rem);
    line-height: 1.1;
    max-width: 20ch;
  }

  .story-recovery-ribbon {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    min-height: 38px;
    padding: 4px 6px;
    border-radius: 12px;
  }

  .story-recovery-readings {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  .story-recovery-chip {
    padding: 4px 5px;
  }

  .story-recovery-chip strong {
    font-size: 0.68rem;
  }

  .story-recovery-action {
    width: auto;
    min-width: 112px;
    min-height: 28px;
    font-size: 0.64rem;
  }

  .swipe-hint {
    width: clamp(70px, 24vw, 92px);
    height: clamp(140px, 30vh, 230px);
  }
}

@media (max-height: 900px) {
  .app-shell.story-mode {
    height: calc(100dvh - 8px);
    min-height: 0;
    margin: 4px auto 6px;
    padding: 10px;
    gap: 6px;
  }

  .story-progress {
    padding: 7px;
  }

  .story-progress-main {
    gap: 6px;
  }

  .story-page-ribbon {
    min-height: 40px;
    margin-bottom: 10px;
    padding: 6px 10px;
  }

  .story-page.hero,
  .story-page.panel,
  .story-page.value-strip {
    --story-page-pad: 12px;
    padding: var(--story-page-pad);
  }

  .story-page.hero .story-page-ribbon {
    min-height: 42px;
    padding-top: 7px;
    padding-bottom: 6px;
  }

  .story-page-ribbon-number {
    width: 25px;
    height: 25px;
    font-size: 0.56rem;
  }

  .story-page-ribbon-title {
    font-size: 0.6rem;
    letter-spacing: 0.055em;
  }

  .story-recovery-ribbon {
    min-height: 38px;
    padding: 4px 7px;
  }

  .story-recovery-chip {
    padding: 4px 6px;
  }

  .story-recovery-chip strong {
    font-size: 0.72rem;
  }

  .story-recovery-action {
    min-height: 28px;
  }

  .value-strip {
    gap: 12px;
    padding-top: 2px;
  }

  .value-strip-head {
    gap: 5px;
  }

  .value-strip-head h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.02rem);
    line-height: 1.1;
    max-width: 19ch;
  }

  .value-strip-head p,
  .value-strip-lead p:last-of-type,
  .value-card p {
    line-height: 1.46;
  }

  .value-strip-lead {
    gap: 8px;
    padding: 15px 15px 12px;
  }

  .value-strip-grid {
    gap: 10px;
  }

  .value-card {
    min-height: 144px;
    padding: 13px;
  }
}

@media (max-height: 760px) {
  .app-shell.story-mode {
    height: calc(100dvh - 4px);
    margin: 4px auto 6px;
    padding: 8px;
    gap: 6px;
  }

  .story-page-ribbon {
    min-height: 36px;
    margin-bottom: 9px;
    padding: 5px 9px;
  }

  .story-page.hero,
  .story-page.panel,
  .story-page.value-strip {
    --story-page-pad: 10px;
    padding: var(--story-page-pad);
  }

  .story-page.hero .story-page-ribbon {
    min-height: 38px;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .story-page-ribbon-number {
    width: 23px;
    height: 23px;
    font-size: 0.52rem;
  }

  .story-page-ribbon-title {
    font-size: 0.56rem;
    letter-spacing: 0.055em;
  }

  .value-strip {
    gap: 10px;
    padding-top: 2px;
  }

  .value-strip-head {
    gap: 4px;
  }

  .value-strip-head h2 {
    font-size: clamp(1.48rem, 2.15vw, 1.86rem);
    line-height: 1.1;
    max-width: 18ch;
  }

  .value-strip-head p,
  .value-strip-lead p:last-of-type,
  .value-card p {
    line-height: 1.42;
  }

  .value-strip-lead {
    gap: 7px;
    padding: 14px 14px 11px;
  }

  .value-strip-lead h3 {
    font-size: clamp(0.98rem, 1.3vw, 1.16rem);
    line-height: 1.1;
  }

  .value-strip-pulse {
    padding-top: 0;
  }

  .value-strip-pulse span {
    font-size: 0.72rem;
  }

  .value-strip-grid {
    gap: 8px;
  }

  .value-card {
    min-height: 132px;
    gap: 6px 8px;
    padding: 12px;
  }

  .value-card-icon,
  .value-strip .value-card-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    flex-basis: 34px;
    font-size: 0.68rem;
  }

  .value-card h3 {
    font-size: 0.98rem;
  }

  .value-card p {
    font-size: 0.8rem;
  }

  .value-card-note {
    font-size: 0.7rem;
  }
}

/* Page 3 value badges: match the bright active-button styling. */
.story-page.value-strip .value-card-icon,
.story-page.value-strip .value-strip .value-card-icon {
  width: clamp(36px, 4.1vw, 48px);
  height: clamp(36px, 4.1vw, 48px);
  min-width: clamp(36px, 4.1vw, 48px);
  flex-basis: clamp(36px, 4.1vw, 48px);
  border: 2px solid #65fe09;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 24%, rgba(238, 255, 210, 0.42), transparent 36%),
    linear-gradient(180deg, #65fe09 0%, #43d800 100%);
  color: #061021;
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 0.9vw, 0.86rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -2px 0 rgba(4, 34, 7, 0.18),
    0 0 16px rgba(101, 254, 9, 0.26),
    0 0 34px rgba(101, 254, 9, 0.12);
}

.story-page.value-strip .value-card:hover .value-card-icon,
.story-page.value-strip .value-card:focus-within .value-card-icon {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -2px 0 rgba(4, 34, 7, 0.16),
    0 0 22px rgba(101, 254, 9, 0.4),
    0 0 46px rgba(101, 254, 9, 0.2);
}

/* Page 3 value badges: flatter active-button green, no radial shading. */
.story-page.value-strip .value-card-icon,
.story-page.value-strip .value-strip .value-card-icon {
  background: #65fe09;
  color: #061021;
  border-color: #65fe09;
  box-shadow:
    0 0 0 2px rgba(101, 254, 9, 0.16),
    0 0 16px rgba(101, 254, 9, 0.3);
}

.story-page.value-strip .value-card:hover .value-card-icon,
.story-page.value-strip .value-card:focus-within .value-card-icon {
  background: #65fe09;
  border-color: #65fe09;
  box-shadow:
    0 0 0 2px rgba(101, 254, 9, 0.22),
    0 0 20px rgba(101, 254, 9, 0.42);
}

/* Page 3 green controls: darker flat fill, bright green edge, no shaded button skin. */
.story-page.value-strip .value-card-icon,
.story-page.value-strip .value-strip .value-card-icon {
  background: #43d800;
  color: #061021;
  border: 2px solid #65fe09;
  box-shadow:
    0 0 0 1px rgba(101, 254, 9, 0.18),
    0 0 14px rgba(101, 254, 9, 0.22);
}

.story-page.value-strip .value-card:hover .value-card-icon,
.story-page.value-strip .value-card:focus-within .value-card-icon {
  background: #43d800;
  border-color: #65fe09;
  box-shadow:
    0 0 0 1px rgba(101, 254, 9, 0.2),
    0 0 18px rgba(101, 254, 9, 0.34);
}

.story-dot.is-active {
  background: #43d800;
  color: #061021;
  border-color: #65fe09;
  box-shadow:
    0 0 0 1px rgba(101, 254, 9, 0.2),
    0 0 14px rgba(101, 254, 9, 0.28);
}

/* Page 3 card artwork: scalable prompt icon on the right of the first card. */
.story-page.value-strip .value-card {
  position: relative;
  overflow: hidden;
}

.story-page.value-strip .value-card-art {
  position: absolute;
  right: clamp(14px, 2vw, 28px);
  top: 50%;
  width: clamp(58px, 10vw, 116px);
  max-width: 22%;
  height: auto;
  transform: translateY(-50%);
  object-fit: contain;
  pointer-events: none;
  filter:
    drop-shadow(0 0 18px rgba(101, 254, 9, 0.16))
    drop-shadow(0 12px 28px rgba(2, 8, 24, 0.28));
}

.story-page.value-strip .value-card:has(.value-card-art) {
  padding-right: clamp(84px, 16vw, 146px);
}

@media (max-width: 780px) {
  .story-page.value-strip .value-card-art {
    right: 12px;
    width: clamp(52px, 16vw, 84px);
    max-width: 18%;
    opacity: 0.9;
  }

  .story-page.value-strip .value-card:has(.value-card-art) {
    padding-right: clamp(70px, 18vw, 104px);
  }
}

@media (max-width: 520px) {
  .story-page.value-strip .value-card-art {
    width: clamp(46px, 14vw, 68px);
    max-width: 16%;
  }

  .story-page.value-strip .value-card:has(.value-card-art) {
    padding-right: clamp(62px, 16vw, 82px);
  }
}

.advanced-toggle.scanner-advanced-toggle {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: min(100%, 286px);
  min-height: 44px;
  padding: 0 6px 0 14px;
  border-radius: 14px;
}

/* Section 08: premium two-route product journey chooser. */
.product-journey-section {
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-margin-top: 190px;
  border-color: rgba(73, 210, 255, 0.46);
  background:
    radial-gradient(circle at 48% -8%, rgba(54, 175, 255, 0.16), transparent 38%),
    radial-gradient(circle at 84% 26%, rgba(111, 86, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(8, 25, 52, 0.96), rgba(3, 10, 24, 0.985));
  box-shadow:
    inset 0 0 0 1px rgba(73, 210, 255, 0.12),
    inset 0 0 54px rgba(49, 191, 255, 0.06),
    0 24px 70px rgba(0, 0, 0, 0.36);
}

.story-track {
  touch-action: pan-x pan-y;
}

.product-journey-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(108, 230, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 230, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 18%, #000 0%, transparent 62%);
  opacity: 0.55;
}

.product-journey-section > * {
  position: relative;
  z-index: 1;
}

.workflow-section-head .section-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.workflow-section-head .section-index span,
.workflow-route-eyebrow,
.journey-route-card .route-card-label,
.workflow-key-takeaway span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.journey-route-selector.workflow-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: none;
  gap: 16px;
  margin: 24px 0 34px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.journey-route-card.workflow-toggle-btn {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: start;
  min-height: 188px;
  padding: 18px;
  border-radius: 22px;
  text-align: left;
  color: #eaf8ff;
  white-space: normal;
  cursor: pointer;
  background:
    radial-gradient(circle at 84% 16%, rgba(73, 210, 255, 0.13), transparent 30%),
    linear-gradient(180deg, rgba(13, 38, 77, 0.96), rgba(5, 19, 45, 0.98));
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.journey-route-card.workflow-toggle-btn::before {
  display: none;
}

.journey-route-card.workflow-toggle-btn:hover,
.journey-route-card.workflow-toggle-btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(117, 229, 255, 0.72);
}

.journey-route-card.workflow-toggle-btn:focus-visible {
  outline: 2px solid rgba(158, 225, 96, 0.96);
  outline-offset: 4px;
}

.journey-route-card strong {
  grid-column: 1 / -1;
  margin-top: 24px;
  color: #ffffff;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  line-height: 1.12;
}

.journey-route-card > span:not(.route-card-label):not(.route-card-icon),
.journey-route-card small {
  grid-column: 1 / -1;
}

.journey-route-card > span:not(.route-card-label):not(.route-card-icon) {
  margin-top: 8px;
  color: #dfffd0;
  font-weight: 750;
}

.journey-route-card small {
  margin-top: 8px;
  color: #b8cbe2;
  font-size: 0.88rem;
  line-height: 1.45;
}

.journey-route-card em {
  grid-column: 1 / -1;
  width: fit-content;
  margin-top: 14px;
  padding: 5px 8px;
  border: 1px solid rgba(158, 225, 96, 0.42);
  border-radius: 999px;
  color: #efffd7;
  background: rgba(109, 207, 84, 0.12);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
  text-transform: uppercase;
}

.journey-route-card.is-active em {
  opacity: 1;
  transform: translateY(0);
}

.route-card-icon {
  display: inline-grid;
  place-items: center;
  min-width: 0;
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid rgba(73, 210, 255, 0.38);
  border-radius: 999px;
  color: #d9f7ff;
  background: rgba(73, 210, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.route-card-icon-insert {
  border-color: rgba(164, 135, 255, 0.48);
  color: #dacdff;
  background: rgba(118, 86, 255, 0.12);
  font-size: 1.25rem;
}

.journey-route-card.workflow-toggle-btn.is-active {
  border-color: rgba(158, 225, 96, 0.92);
  background:
    radial-gradient(circle at 84% 16%, rgba(109, 207, 84, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(20, 66, 74, 0.98), rgba(7, 34, 45, 0.99));
  box-shadow:
    inset 0 0 0 1px rgba(158, 225, 96, 0.18),
    0 0 34px rgba(109, 207, 84, 0.18),
    0 18px 42px rgba(2, 8, 24, 0.32);
}

.journey-route-panel.workflow-panel {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 22px;
  padding: clamp(20px, 3vw, 30px);
  overflow: hidden;
  border-color: rgba(73, 210, 255, 0.42);
  background:
    radial-gradient(circle at 16% 0%, rgba(0, 219, 255, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(10, 39, 74, 0.94) 0%, rgba(8, 28, 63, 0.98) 52%, rgba(12, 37, 71, 0.94) 100%);
}

.workflow-route-trace {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: visible;
  pointer-events: none;
}

.workflow-route-trace-line {
  fill: none;
  stroke: rgba(57, 233, 65, 0.96);
  stroke-width: 5;
  stroke-linecap: butt;
  stroke-linejoin: round;
  filter:
    drop-shadow(0 0 8px rgba(57, 233, 65, 0.52))
    drop-shadow(0 0 18px rgba(57, 233, 65, 0.24));
  opacity: 0;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.workflow-route-trace-line.is-animating,
.workflow-route-trace-line.is-drawn {
  opacity: 1;
}

.workflow-route-trace-line.is-drawn {
  stroke-dashoffset: 0;
}

.workflow-route-trace-dot {
  fill: rgb(57, 233, 65);
  filter:
    drop-shadow(0 0 9px rgba(57, 233, 65, 0.76))
    drop-shadow(0 0 24px rgba(57, 233, 65, 0.38));
  opacity: 0;
}

.workflow-route-trace-dot.is-visible {
  opacity: 1;
}

.journey-route-panel.is-existing {
  background:
    radial-gradient(circle at 20% 0%, rgba(118, 86, 255, 0.16), transparent 28%),
    radial-gradient(circle at 70% 42%, rgba(109, 207, 84, 0.12), transparent 22%),
    linear-gradient(90deg, rgba(12, 34, 72, 0.95) 0%, rgba(11, 25, 61, 0.98) 48%, rgba(10, 45, 54, 0.95) 100%);
}

.workflow-route-eyebrow {
  margin: 0 0 8px;
  color: #8ff4ff;
}

.journey-route-panel.is-existing .workflow-route-eyebrow {
  color: #d9ccff;
}

.journey-map.workflow-steps {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.journey-map::before {
  content: "";
  position: absolute;
  left: 35px;
  right: 35px;
  top: 34px;
  height: 2px;
  background: rgb(57, 233, 65);
  box-shadow:
    0 0 10px rgba(57, 233, 65, 0.58),
    0 0 20px rgba(57, 233, 65, 0.24);
}

.journey-route-panel.is-existing .journey-map::before {
  background: rgb(57, 233, 65);
}

.journey-route-panel.is-existing .journey-map::after {
  content: "insert here";
  position: absolute;
  top: -8px;
  left: calc(62.5% - 45px);
  padding: 5px 8px;
  border: 1px solid rgba(158, 225, 96, 0.5);
  border-radius: 999px;
  color: #efffd7;
  background: rgba(10, 28, 42, 0.92);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(109, 207, 84, 0.18);
}

.journey-map .workflow-step {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 168px;
  padding: 18px;
  border-color: rgba(73, 210, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(18, 42, 76, 0.98), rgba(8, 27, 55, 0.98));
  animation: journey-step-in 420ms ease both;
  animation-delay: calc(var(--step-index, 0) * 70ms);
}

.journey-map .workflow-step.is-featured {
  border-color: rgba(158, 225, 96, 0.84);
  background:
    radial-gradient(circle at top, rgba(109, 207, 84, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(20, 58, 68, 0.98), rgba(8, 30, 48, 0.99));
  box-shadow:
    inset 0 0 0 1px rgba(158, 225, 96, 0.16),
    0 0 26px rgba(109, 207, 84, 0.16);
}

.journey-map .workflow-step-number {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-color: rgb(57, 233, 65);
  background: #061c31;
  box-shadow: 0 0 18px rgba(109, 207, 84, 0.18);
}

.journey-map .workflow-step strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.18;
}

.journey-map .workflow-step p {
  margin-top: 8px;
  color: #b9cbe1;
  font-size: 0.87rem;
  line-height: 1.45;
}

.workflow-why-strip {
  margin: 14px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(73, 210, 255, 0.34);
  border-radius: 16px;
  color: #d8f8ff;
  background:
    linear-gradient(90deg, rgba(73, 210, 255, 0.09), rgba(109, 207, 84, 0.08));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  font-size: 0.94rem;
  line-height: 1.5;
}

.workflow-key-takeaway.workflow-strip {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding: 18px;
  border-color: rgba(158, 225, 96, 0.48);
  background:
    radial-gradient(circle at 8% 0%, rgba(109, 207, 84, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(12, 43, 48, 0.96), rgba(6, 22, 35, 0.98));
}

.workflow-key-takeaway strong {
  color: #ffffff;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.22;
}

.workflow-key-takeaway p {
  margin: 0;
  color: #c9dded;
  font-size: 0.92rem;
  line-height: 1.45;
}

.journey-route-panel.is-switching .workflow-copy,
.journey-route-panel.is-switching .journey-map {
  animation: journey-panel-in 260ms ease both;
}

@keyframes journey-step-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes journey-panel-in {
  from {
    opacity: 0.4;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .journey-route-selector.workflow-toggle,
  .journey-map.workflow-steps {
    grid-template-columns: 1fr;
  }

  .journey-route-selector.workflow-toggle {
    --route-trace-gutter: clamp(30px, 8vw, 52px);
    padding-right: var(--route-trace-gutter);
  }

  .journey-route-card.workflow-toggle-btn {
    min-height: 0;
  }

  .journey-map.workflow-steps {
    gap: 14px;
  }

  .journey-map::before {
    left: 52px;
    right: auto;
    top: 18px;
    bottom: 18px;
    width: 2px;
    height: auto;
    background: rgb(57, 233, 65);
  }

  .journey-route-panel.is-existing .journey-map::before {
    background: rgb(57, 233, 65);
  }

  .journey-route-panel.is-existing .journey-map::after {
    top: calc(50% + 8px);
    left: 8px;
  }

  .journey-map .workflow-step {
    min-height: 0;
    padding-left: 64px;
  }

  .journey-map .workflow-step-number {
    position: absolute;
    left: 18px;
    top: 18px;
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey-route-card.workflow-toggle-btn,
  .journey-route-card em,
  .workflow-route-trace-line,
  .journey-map .workflow-step,
  .journey-route-panel.is-switching .workflow-copy,
  .journey-route-panel.is-switching .journey-map {
    animation: none;
    transition: none;
  }
}

/* Section 09: export asset console. */
#outputs.export-assets-section {
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  border-color: rgba(54, 202, 241, 0.44);
  background:
    radial-gradient(circle at 52% 0%, rgba(34, 211, 238, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(7, 25, 53, 0.98), rgba(3, 12, 28, 0.99));
  box-shadow:
    inset 0 0 0 1px rgba(34, 211, 238, 0.1),
    inset 0 0 58px rgba(34, 211, 238, 0.04),
    0 22px 56px rgba(0, 0, 0, 0.3);
}

#outputs.export-assets-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.48;
  background:
    linear-gradient(rgba(66, 226, 244, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66, 226, 244, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 34%, #000, transparent 66%);
}

#outputs.export-assets-section > * {
  position: relative;
  z-index: 1;
}

#outputs .export-assets-header {
  margin-bottom: 20px;
}

#outputs .export-asset-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 56px;
}

#outputs .export-asset-tile {
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 116px;
  padding: 16px;
  border: 1.5px solid rgba(99, 156, 206, 0.42);
  border-radius: 17px;
  color: #f4fbff;
  text-align: left;
  cursor: pointer;
  background:
    radial-gradient(circle at 90% 0%, rgba(34, 211, 238, 0.1), transparent 36%),
    linear-gradient(180deg, rgba(13, 38, 78, 0.98), rgba(5, 19, 45, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(230, 244, 255, 0.1),
    inset 0 0 0 1px rgba(14, 43, 76, 0.68);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

#outputs .export-asset-tile[data-output-card="clean"] {
  --asset-accent: #39e941;
  border-color: rgba(57, 233, 65, 0.42);
}

#outputs .export-asset-tile[data-output-card="working"] {
  --asset-accent: #24d2f4;
  border-color: rgba(36, 210, 244, 0.42);
}

#outputs .export-asset-tile[data-output-card="guardian"] {
  --asset-accent: #b18aff;
  border-color: rgba(177, 138, 255, 0.42);
}

#outputs .export-asset-tile:hover,
#outputs .export-asset-tile:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--asset-accent) 72%, #dff8ff);
  outline: none;
}

#outputs .export-asset-tile:focus-visible {
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--asset-accent) 44%, transparent),
    0 0 0 2px #06172c,
    0 0 0 4px color-mix(in srgb, var(--asset-accent) 78%, #e8ffff);
}

#outputs .export-asset-tile.is-active {
  border-color: color-mix(in srgb, var(--asset-accent) 84%, #ffffff);
  background:
    radial-gradient(circle at 92% 0%, color-mix(in srgb, var(--asset-accent) 20%, transparent), transparent 40%),
    linear-gradient(180deg, rgba(16, 51, 73, 0.98), rgba(5, 25, 43, 1));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--asset-accent) 20%, transparent),
    0 0 25px color-mix(in srgb, var(--asset-accent) 16%, transparent);
}

#outputs .export-tile-label,
#outputs .export-active-label,
#outputs .export-detail-label,
#outputs .export-takeaway > span,
#outputs .export-file-type {
  color: #afeef8;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

#outputs .export-asset-tile.is-active .export-tile-label {
  color: color-mix(in srgb, var(--asset-accent) 56%, #e7fff1);
}

#outputs .export-asset-tile .export-tile-label {
  color: color-mix(in srgb, var(--asset-accent) 44%, #c9f4fb);
}

#outputs .export-asset-tile strong {
  margin-top: 6px;
  color: #ffffff;
  font-size: clamp(1.04rem, 1.45vw, 1.2rem);
  line-height: 1.16;
}

#outputs .export-tile-purpose {
  color: #c5d9ef;
  font-size: 0.88rem;
  line-height: 1.3;
}

#outputs .export-asset-tile em {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 7px;
  border: 1px solid color-mix(in srgb, var(--asset-accent) 54%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--asset-accent) 64%, #ffffff);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  opacity: 0;
  text-transform: uppercase;
}

#outputs .export-asset-tile.is-active em {
  opacity: 1;
}

#outputs .export-route-trace {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: visible;
  pointer-events: none;
}

#outputs .export-route-line {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.36;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: opacity 180ms ease, stroke-width 180ms ease;
}

#outputs .export-route-line.is-clean {
  stroke: rgb(57, 233, 65);
  filter: drop-shadow(0 0 8px rgba(57, 233, 65, 0.32));
}

#outputs .export-route-line.is-working {
  stroke: rgb(36, 210, 244);
  filter: drop-shadow(0 0 8px rgba(36, 210, 244, 0.32));
}

#outputs .export-route-line.is-guardian {
  stroke: rgb(177, 138, 255);
  filter: drop-shadow(0 0 8px rgba(177, 138, 255, 0.32));
}

#outputs .export-route-line.is-active {
  stroke-width: 4;
  opacity: 1;
}

#outputs .export-route-line.is-animating,
#outputs .export-route-line.is-drawn {
  visibility: visible;
}

#outputs .export-route-dot {
  fill: var(--asset-accent, #39e941);
  filter:
    drop-shadow(0 0 9px color-mix(in srgb, var(--asset-accent, #39e941) 76%, transparent))
    drop-shadow(0 0 21px color-mix(in srgb, var(--asset-accent, #39e941) 38%, transparent));
  opacity: 0;
}

#outputs .export-route-dot.is-visible {
  opacity: 1;
}

#outputs .export-assets-header,
#outputs .export-asset-selector,
#outputs .export-asset-detail,
#outputs .export-logic-strip,
#outputs .export-takeaway {
  z-index: 3;
}

#outputs .export-asset-detail {
  --asset-accent: #39e941;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(212px, 32%);
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  min-height: 248px;
  padding: clamp(20px, 2.5vw, 28px);
  border: 1.5px solid color-mix(in srgb, var(--asset-accent) 46%, rgba(34, 211, 238, 0.24));
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 36%, color-mix(in srgb, var(--asset-accent) 15%, transparent), transparent 30%),
    linear-gradient(110deg, rgba(8, 32, 65, 0.98), rgba(5, 18, 43, 0.99));
  box-shadow:
    inset 0 0 0 1px rgba(233, 248, 255, 0.05),
    0 17px 38px rgba(2, 8, 24, 0.22);
}

#outputs .export-asset-detail[data-active-asset="working"] {
  --asset-accent: #24d2f4;
}

#outputs .export-asset-detail[data-active-asset="guardian"] {
  --asset-accent: #b18aff;
}

#outputs .export-asset-detail.is-switching .export-detail-copy,
#outputs .export-asset-detail.is-switching .export-detail-visual {
  animation: export-panel-enter 250ms ease both;
}

#outputs .export-detail-copy {
  display: grid;
  gap: 10px;
}

#outputs .export-detail-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}

#outputs .export-detail-title h3 {
  margin-top: 5px;
  color: #ffffff;
  font-size: clamp(1.34rem, 2.3vw, 1.7rem);
  line-height: 1.1;
}

#outputs .export-status-pill {
  min-height: 31px;
  padding: 7px 11px;
  border: 1px solid color-mix(in srgb, var(--asset-accent) 58%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--asset-accent) 48%, #f2ffff);
  background: color-mix(in srgb, var(--asset-accent) 10%, rgba(5, 20, 45, 0.72));
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

#outputs .export-description {
  max-width: 560px;
  color: #ccdeef;
  font-size: clamp(0.9rem, 1.18vw, 1rem);
  line-height: 1.48;
}

#outputs .export-detail-label {
  margin-top: 4px;
}

#outputs .export-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

#outputs .export-detail-tags span {
  padding: 5px 9px;
  border: 1px solid color-mix(in srgb, var(--asset-accent) 36%, rgba(169, 205, 240, 0.28));
  border-radius: 999px;
  color: #d8eaff;
  background: rgba(9, 32, 62, 0.72);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

#outputs .export-detail-why {
  color: color-mix(in srgb, var(--asset-accent) 32%, #eefaff);
  font-size: clamp(0.94rem, 1.2vw, 1.04rem);
  line-height: 1.36;
}

#outputs .export-detail-visual {
  display: grid;
  place-items: center;
  min-height: 185px;
}

#outputs .export-file-object {
  position: relative;
  display: grid;
  align-content: end;
  gap: 8px;
  width: min(100%, 236px);
  height: 168px;
  padding: 18px;
  overflow: hidden;
  border: 1.5px solid color-mix(in srgb, var(--asset-accent) 62%, #e6ffff);
  border-radius: 17px;
  background:
    radial-gradient(circle at 50% 16%, color-mix(in srgb, var(--asset-accent) 20%, transparent), transparent 44%),
    linear-gradient(150deg, rgba(14, 43, 78, 0.98), rgba(4, 15, 35, 1));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--asset-accent) 14%, transparent),
    0 0 32px color-mix(in srgb, var(--asset-accent) 14%, transparent);
}

#outputs .export-asset-readout {
  position: relative;
  display: grid;
  align-content: center;
  gap: 10px;
  width: min(100%, 244px);
  min-height: 168px;
  padding: 20px;
  border: 1.5px solid color-mix(in srgb, var(--asset-accent) 62%, #e6ffff);
  border-radius: 17px;
  background:
    radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--asset-accent) 24%, transparent), transparent 44%),
    linear-gradient(150deg, rgba(14, 43, 78, 0.98), rgba(4, 15, 35, 1));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--asset-accent) 14%, transparent),
    0 0 32px color-mix(in srgb, var(--asset-accent) 14%, transparent);
}

#outputs .export-readout-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: color-mix(in srgb, var(--asset-accent) 64%, #f3ffff);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 800;
  text-transform: uppercase;
}

#outputs .export-readout-state i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--asset-accent);
  box-shadow: 0 0 10px var(--asset-accent);
}

#outputs .export-asset-readout strong {
  color: #ffffff;
  font-size: 1.32rem;
  line-height: 1.1;
}

#outputs .export-readout-purpose,
#outputs .export-readout-cue {
  color: color-mix(in srgb, var(--asset-accent) 54%, #ffffff);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  font-weight: 800;
  text-transform: uppercase;
}

#outputs .export-readout-route {
  display: flex;
  align-items: center;
  gap: 6px;
}

#outputs .export-readout-route i {
  width: 74px;
  height: 2px;
  background: var(--asset-accent);
  box-shadow: 0 0 8px color-mix(in srgb, var(--asset-accent) 68%, transparent);
}

#outputs .export-readout-route b {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--asset-accent);
}

#outputs .export-file-object::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 46px;
  height: 46px;
  border-left: 1px solid color-mix(in srgb, var(--asset-accent) 42%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--asset-accent) 42%, transparent);
  background: rgba(4, 17, 37, 0.76);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

#outputs .export-file-object strong {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.1;
}

#outputs .export-file-object .export-file-type {
  position: relative;
  z-index: 1;
  color: color-mix(in srgb, var(--asset-accent) 60%, #f3ffff);
}

#outputs .export-file-cue {
  position: relative;
  z-index: 1;
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--asset-accent) 58%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--asset-accent) 54%, #ffffff);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

#outputs .export-file-object i {
  position: absolute;
  left: 18px;
  right: 60px;
  top: 42px;
  height: 2px;
  background: color-mix(in srgb, var(--asset-accent) 26%, transparent);
}

#outputs .export-file-object i:nth-of-type(2) {
  top: 54px;
  right: 96px;
}

#outputs .export-file-object i:nth-of-type(3) {
  top: 66px;
  right: 74px;
}

#outputs .export-file-object.is-guardian {
  align-content: center;
  justify-items: center;
  gap: 13px;
}

#outputs .export-file-object.is-guardian img {
  width: 66px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(177, 138, 255, 0.25));
}

#outputs .export-file-object.is-guardian span {
  padding: 5px 9px;
  border: 1px solid rgba(177, 138, 255, 0.48);
  border-radius: 999px;
  color: #e8ddff;
  font-family: var(--font-mono);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

#outputs .export-logic-strip {
  display: grid;
  grid-template-columns: minmax(145px, 0.32fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(13px, 2vw, 25px);
  margin-top: 13px;
  padding: 15px 16px;
  border: 1px solid rgba(34, 211, 238, 0.34);
  border-radius: 17px;
  background:
    radial-gradient(circle at 7% 52%, rgba(57, 233, 65, 0.09), transparent 27%),
    linear-gradient(105deg, rgba(7, 30, 58, 0.97), rgba(4, 16, 37, 0.98));
  box-shadow: inset 0 0 0 1px rgba(36, 210, 244, 0.06);
}

#outputs .export-logic-head {
  display: grid;
  align-content: center;
  gap: 6px;
}

#outputs .export-logic-head span {
  color: #7ee4f7;
  font-family: var(--font-mono);
  font-size: 0.59rem;
  font-weight: 800;
  text-transform: uppercase;
}

#outputs .export-logic-head strong {
  color: #eef9ff;
  font-size: clamp(0.83rem, 1vw, 0.95rem);
  line-height: 1.3;
}

#outputs .export-logic-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 12px);
}

#outputs .export-logic-flow::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 16.5%;
  right: 16.5%;
  height: 2px;
  background: linear-gradient(90deg, #39e941, #24d2f4 52%, #b18aff);
  box-shadow: 0 0 9px rgba(36, 210, 244, 0.28);
}

#outputs .export-logic-node {
  --logic-accent: #24d2f4;
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  min-height: 83px;
  padding: 9px 7px 10px;
  border: 1px solid color-mix(in srgb, var(--logic-accent) 45%, rgba(49, 104, 148, 0.48));
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 5%, color-mix(in srgb, var(--logic-accent) 11%, transparent), transparent 54%),
    rgba(4, 17, 39, 0.84);
  color: #daebfd;
}

#outputs .export-logic-node i {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--logic-accent);
  border-radius: 50%;
  background: #071b34;
  font-family: var(--font-mono);
  font-size: 0.57rem;
  font-style: normal;
  font-weight: 800;
  box-shadow: 0 0 11px color-mix(in srgb, var(--logic-accent) 28%, transparent);
}

#outputs .export-logic-node small {
  color: color-mix(in srgb, var(--logic-accent) 52%, #ecfbff);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 800;
  text-transform: uppercase;
}

#outputs .export-logic-node strong {
  color: #f0f9ff;
  font-size: clamp(0.66rem, 0.82vw, 0.74rem);
  line-height: 1.15;
  text-align: center;
}

#outputs .export-logic-node.is-clean {
  --logic-accent: #39e941;
}

#outputs .export-logic-node.is-working {
  --logic-accent: #24d2f4;
}

#outputs .export-logic-node.is-guardian {
  --logic-accent: #b18aff;
}

#outputs .export-takeaway {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(13px, 2vw, 20px);
  margin-top: 12px;
  padding: 14px 19px;
  border: 1px solid rgba(57, 233, 65, 0.35);
  border-radius: 14px;
  background:
    radial-gradient(circle at 3% 50%, rgba(57, 233, 65, 0.16), transparent 23%),
    linear-gradient(90deg, rgba(57, 233, 65, 0.07), rgba(34, 211, 238, 0.045));
}

#outputs .export-takeaway::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #39e941;
  box-shadow: 0 0 14px rgba(57, 233, 65, 0.62);
}

#outputs .export-takeaway strong {
  color: #eaf8ff;
  font-size: clamp(0.92rem, 1.2vw, 1rem);
  line-height: 1.36;
}

@keyframes export-panel-enter {
  from {
    opacity: 0.45;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 780px) {
  #outputs .export-asset-selector {
    --export-trace-gutter: clamp(38px, 11vw, 54px);
    grid-template-columns: 1fr;
    gap: 9px;
    margin-bottom: 56px;
    padding-right: var(--export-trace-gutter);
  }

  #outputs .export-asset-tile {
    min-height: 88px;
    padding: 13px 14px;
  }

  #outputs .export-asset-detail {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #outputs .export-detail-visual {
    grid-row: 1;
    min-height: 148px;
  }

  #outputs .export-file-object {
    height: 142px;
  }

  #outputs .export-asset-readout {
    min-height: 142px;
  }

  #outputs .export-logic-strip {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 14px 13px 13px;
  }

  #outputs .export-logic-head {
    gap: 4px;
    padding-inline: 3px;
  }

  #outputs .export-logic-flow {
    gap: 7px;
  }

  #outputs .export-logic-node {
    min-height: 79px;
    padding-inline: 4px;
  }

  #outputs .export-takeaway {
    display: grid;
    gap: 5px;
    padding: 12px 13px 12px 34px;
  }

  #outputs .export-takeaway::before {
    position: absolute;
    top: 18px;
    left: 14px;
  }
}

@media (max-width: 350px) {
  #outputs .export-logic-strip {
    gap: 10px;
    padding: 11px 9px 10px;
    border-radius: 13px;
  }

  #outputs .export-logic-head {
    padding-inline: 2px;
  }

  #outputs .export-logic-head strong {
    font-size: 0.78rem;
  }

  #outputs .export-logic-flow {
    gap: 5px;
  }

  #outputs .export-logic-flow::before {
    top: 18px;
  }

  #outputs .export-logic-node {
    gap: 4px;
    min-height: 71px;
    padding: 6px 2px 7px;
    border-radius: 10px;
  }

  #outputs .export-logic-node i {
    width: 26px;
    height: 26px;
    font-size: 0.52rem;
  }

  #outputs .export-logic-node small {
    font-size: 0.46rem;
  }

  #outputs .export-logic-node strong {
    font-size: 0.59rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #outputs .export-asset-tile,
  #outputs .export-route-line,
  #outputs .export-route-dot,
  #outputs .export-asset-detail.is-switching .export-detail-copy,
  #outputs .export-asset-detail.is-switching .export-detail-visual {
    animation: none;
    transition: none;
  }
}

/* Section 10: inclusive audience console. */
#use-cases.audience-console-section {
  overflow-x: hidden;
  overflow-y: auto;
  border-color: rgba(43, 203, 236, 0.42);
  background:
    radial-gradient(circle at 12% 7%, rgba(57, 233, 65, 0.09), transparent 26%),
    radial-gradient(circle at 88% 4%, rgba(34, 211, 238, 0.13), transparent 31%),
    linear-gradient(180deg, rgba(7, 25, 53, 0.98), rgba(3, 12, 28, 0.99));
  box-shadow:
    inset 0 0 0 1px rgba(34, 211, 238, 0.09),
    0 22px 56px rgba(0, 0, 0, 0.3);
}

#use-cases .audience-console-header {
  margin-bottom: 18px;
}

#use-cases .section-index span {
  margin-left: 9px;
  color: #b3eef8;
}

#use-cases .audience-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(52px, 6.2vw, 76px);
  row-gap: 10px;
  margin-bottom: 56px;
}

#use-cases .audience-route-trace {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: visible;
  pointer-events: none;
}

#use-cases .audience-route-line {
  fill: none;
  stroke: var(--audience-accent, #39e941);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter:
    drop-shadow(0 0 8px color-mix(in srgb, var(--audience-accent, #39e941) 54%, transparent))
    drop-shadow(0 0 18px color-mix(in srgb, var(--audience-accent, #39e941) 25%, transparent));
}

#use-cases .audience-route-line.is-drawn {
  stroke-dashoffset: 0;
}

#use-cases .audience-route-dot {
  fill: var(--audience-accent, #39e941);
  filter:
    drop-shadow(0 0 9px color-mix(in srgb, var(--audience-accent, #39e941) 75%, transparent))
    drop-shadow(0 0 21px color-mix(in srgb, var(--audience-accent, #39e941) 38%, transparent));
  opacity: 0;
}

#use-cases .audience-route-dot.is-visible {
  opacity: 1;
}

#use-cases .audience-console-header,
#use-cases .audience-selector,
#use-cases .audience-benefit-panel,
#use-cases .audience-scale-strip,
#use-cases .audience-takeaway {
  position: relative;
  z-index: 3;
}

#use-cases .audience-card {
  --audience-accent: #24d2f4;
  position: relative;
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 110px;
  padding: 13px 13px 14px;
  border: 1.5px solid rgba(65, 135, 190, 0.42);
  border-radius: 15px;
  color: #eef7ff;
  text-align: left;
  cursor: pointer;
  background:
    radial-gradient(circle at 94% 6%, color-mix(in srgb, var(--audience-accent) 10%, transparent), transparent 38%),
    linear-gradient(180deg, rgba(12, 38, 78, 0.98), rgba(5, 18, 43, 0.99));
  box-shadow: inset 0 0 0 1px rgba(230, 244, 255, 0.05);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

#use-cases .audience-card[data-use-case="everyday"],
#use-cases .audience-card[data-use-case="founder"] {
  --audience-accent: #39e941;
}

#use-cases .audience-card[data-use-case="creator"],
#use-cases .audience-card[data-use-case="learner"],
#use-cases .audience-card[data-use-case="team"] {
  --audience-accent: #24d2f4;
}

#use-cases .audience-card[data-use-case="adviser"],
#use-cases .audience-card[data-use-case="agentBuilder"],
#use-cases .audience-card[data-use-case="local"] {
  --audience-accent: #b18aff;
}

#use-cases .audience-card:hover,
#use-cases .audience-card:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--audience-accent) 72%, #efffff);
  outline: none;
}

#use-cases .audience-card:focus-visible {
  box-shadow:
    0 0 0 2px #06172c,
    0 0 0 4px color-mix(in srgb, var(--audience-accent) 78%, #efffff);
}

#use-cases .audience-card.is-active {
  border-color: color-mix(in srgb, var(--audience-accent) 86%, #ffffff);
  background:
    radial-gradient(circle at 94% 6%, color-mix(in srgb, var(--audience-accent) 18%, transparent), transparent 42%),
    linear-gradient(180deg, rgba(15, 51, 72, 0.98), rgba(5, 24, 43, 1));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--audience-accent) 16%, transparent),
    0 0 23px color-mix(in srgb, var(--audience-accent) 14%, transparent);
}

#use-cases .audience-card-code,
#use-cases .audience-panel-label,
#use-cases .audience-scale-strip span,
#use-cases .audience-takeaway > span {
  color: color-mix(in srgb, var(--audience-accent, #24d2f4) 44%, #d9f9ff);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

#use-cases .audience-card strong {
  color: #f5fbff;
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  line-height: 1.18;
}

#use-cases .audience-card-copy {
  color: #b9cde2;
  font-size: 0.75rem;
  line-height: 1.34;
}

#use-cases .audience-card em {
  position: absolute;
  top: 11px;
  right: 11px;
  padding: 3px 6px;
  border: 1px solid color-mix(in srgb, var(--audience-accent) 56%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--audience-accent) 58%, #fff);
  font-family: var(--font-mono);
  font-size: 0.51rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  opacity: 0;
}

#use-cases .audience-card.is-active em {
  opacity: 1;
}

#use-cases .audience-benefit-panel.use-case-panel {
  --audience-accent: #39e941;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(236px, 0.8fr);
  gap: clamp(17px, 3vw, 32px);
  min-height: 198px;
  padding: clamp(18px, 2.4vw, 25px);
  border: 1.5px solid color-mix(in srgb, var(--audience-accent) 48%, rgba(34, 211, 238, 0.3));
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--audience-accent) 13%, transparent), transparent 34%),
    linear-gradient(100deg, rgba(8, 32, 65, 0.98), rgba(5, 18, 43, 0.99));
  box-shadow: inset 0 0 0 1px rgba(233, 248, 255, 0.05);
}

#use-cases .audience-benefit-panel[data-active-audience="creator"],
#use-cases .audience-benefit-panel[data-active-audience="learner"],
#use-cases .audience-benefit-panel[data-active-audience="team"] {
  --audience-accent: #24d2f4;
}

#use-cases .audience-benefit-panel[data-active-audience="adviser"],
#use-cases .audience-benefit-panel[data-active-audience="agentBuilder"],
#use-cases .audience-benefit-panel[data-active-audience="local"] {
  --audience-accent: #b18aff;
}

#use-cases .audience-panel-copy {
  display: grid;
  align-content: start;
  gap: 9px;
}

#use-cases .audience-benefit-panel h3 {
  color: #ffffff;
  font-size: clamp(1.13rem, 2vw, 1.43rem);
  line-height: 1.15;
}

#use-cases .audience-benefit-panel p:not(.audience-panel-label) {
  color: #c4d9eb;
  font-size: clamp(0.84rem, 1.1vw, 0.94rem);
  line-height: 1.47;
}

#use-cases .audience-benefit-panel .best-for {
  margin-top: 3px;
}

#use-cases .audience-benefit-panel .best-term {
  color: color-mix(in srgb, var(--audience-accent) 34%, #ecfaff);
  font-size: 0.74rem;
}

#use-cases .audience-benefit-panel .best-term:not(:last-child)::after {
  color: color-mix(in srgb, var(--audience-accent) 70%, #dffaff);
}

#use-cases .audience-benefits {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 14px 15px;
  border: 1px solid color-mix(in srgb, var(--audience-accent) 25%, rgba(116, 165, 202, 0.34));
  border-radius: 13px;
  background: rgba(4, 16, 38, 0.54);
}

#use-cases .audience-benefits ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#use-cases .audience-benefits li {
  position: relative;
  padding-left: 16px;
  color: #d6e9f8;
  font-size: 0.82rem;
  line-height: 1.33;
}

#use-cases .audience-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--audience-accent);
  box-shadow: 0 0 8px color-mix(in srgb, var(--audience-accent) 64%, transparent);
}

#use-cases .audience-benefit-panel.is-switching .audience-panel-copy,
#use-cases .audience-benefit-panel.is-switching .audience-benefits {
  animation: audience-panel-enter 230ms ease both;
}

#use-cases .audience-scale-strip {
  display: grid;
  grid-template-columns: minmax(154px, 0.28fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  margin-top: 12px;
  padding: 15px 16px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 17px;
  background:
    radial-gradient(circle at 7% 34%, rgba(36, 210, 244, 0.11), transparent 28%),
    linear-gradient(105deg, rgba(7, 30, 58, 0.97), rgba(4, 16, 37, 0.98));
  box-shadow: inset 0 0 0 1px rgba(36, 210, 244, 0.06);
}

#use-cases .audience-scale-strip > div:first-child {
  display: grid;
  gap: 4px;
}

#use-cases .audience-scale-strip strong {
  color: #f1fbff;
  font-size: 0.96rem;
}

#use-cases .audience-scale-flow {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(7px, 1.05vw, 12px);
}

#use-cases .audience-scale-flow::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 11%;
  right: 11%;
  height: 2px;
  background: linear-gradient(90deg, #39e941, #24d2f4 54%, #b18aff);
  box-shadow: 0 0 9px rgba(36, 210, 244, 0.3);
}

#use-cases .audience-scale-flow span {
  --scale-accent: #24d2f4;
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  flex: 1 1 0;
  gap: 5px;
  min-height: 73px;
  padding: 7px 5px 8px;
  border: 1px solid color-mix(in srgb, var(--scale-accent) 42%, rgba(49, 104, 148, 0.5));
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 3%, color-mix(in srgb, var(--scale-accent) 11%, transparent), transparent 57%),
    rgba(4, 17, 39, 0.84);
  color: #d8edfd;
}

#use-cases .audience-scale-flow span.is-everyday {
  --scale-accent: #39e941;
}

#use-cases .audience-scale-flow span.is-advanced {
  --scale-accent: #b18aff;
}

#use-cases .audience-scale-flow i {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 2px solid var(--scale-accent);
  border-radius: 50%;
  background: #071b34;
  color: #edfbff;
  font-family: var(--font-mono);
  font-size: 0.53rem;
  font-style: normal;
  font-weight: 800;
  box-shadow: 0 0 10px color-mix(in srgb, var(--scale-accent) 27%, transparent);
}

#use-cases .audience-scale-flow strong {
  color: #eef9ff;
  font-size: clamp(0.58rem, 0.75vw, 0.68rem);
  line-height: 1.12;
  text-align: center;
  white-space: nowrap;
}

#use-cases .audience-scale-flow small {
  color: color-mix(in srgb, var(--scale-accent) 52%, #eafaff);
  font-family: var(--font-mono);
  font-size: 0.48rem;
  font-weight: 800;
  text-transform: uppercase;
}

#use-cases .audience-scale-strip > p {
  grid-column: 1 / -1;
  margin-top: -3px;
  padding-top: 10px;
  border-top: 1px solid rgba(36, 210, 244, 0.14);
  color: #bed4e6;
  font-size: 0.78rem;
  line-height: 1.42;
}

#use-cases .audience-takeaway {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(13px, 2vw, 20px);
  margin-top: 11px;
  padding: 13px 18px;
  border: 1px solid rgba(57, 233, 65, 0.34);
  border-radius: 13px;
  background:
    radial-gradient(circle at 3% 50%, rgba(57, 233, 65, 0.15), transparent 22%),
    linear-gradient(90deg, rgba(57, 233, 65, 0.07), rgba(36, 210, 244, 0.05));
}

#use-cases .audience-takeaway::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #39e941;
  box-shadow: 0 0 14px rgba(57, 233, 65, 0.62);
}

#use-cases .audience-takeaway strong {
  color: #eaf8ff;
  font-size: clamp(0.87rem, 1.1vw, 0.98rem);
  line-height: 1.37;
}

@keyframes audience-panel-enter {
  from {
    opacity: 0.46;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1020px) {
  #use-cases .audience-scale-strip {
    grid-template-columns: 1fr;
  }

  #use-cases .audience-scale-flow {
    justify-content: stretch;
  }
}

@media (max-width: 680px) {
  #use-cases .audience-selector {
    --audience-route-gutter: clamp(40px, 12vw, 54px);
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 56px;
    padding-right: var(--audience-route-gutter);
  }

  #use-cases .audience-route-trace {
    display: block;
  }

  #use-cases .audience-card {
    min-height: 83px;
    padding: 11px 13px;
  }

  #use-cases .audience-card-copy {
    max-width: calc(100% - 76px);
  }

  #use-cases .audience-benefit-panel.use-case-panel {
    grid-template-columns: 1fr;
  }

  #use-cases .audience-scale-flow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  #use-cases .audience-scale-flow::before {
    display: none;
  }

  #use-cases .audience-scale-flow span {
    min-height: 70px;
  }

  #use-cases .audience-scale-flow strong {
    white-space: normal;
  }

  #use-cases .audience-scale-strip {
    gap: 13px;
    padding: 14px 13px;
  }

  #use-cases .audience-takeaway {
    display: grid;
    gap: 5px;
    padding: 12px 13px 12px 34px;
  }

  #use-cases .audience-takeaway::before {
    position: absolute;
    top: 18px;
    left: 14px;
  }
}

@media (max-width: 350px) {
  #use-cases .audience-scale-strip {
    gap: 10px;
    padding: 11px 9px;
    border-radius: 13px;
  }

  #use-cases .audience-scale-strip strong {
    font-size: 0.86rem;
  }

  #use-cases .audience-scale-flow {
    gap: 5px;
  }

  #use-cases .audience-scale-flow span {
    gap: 4px;
    min-height: 63px;
    padding: 5px 3px 6px;
    border-radius: 10px;
  }

  #use-cases .audience-scale-flow i {
    width: 24px;
    height: 24px;
    font-size: 0.47rem;
  }

  #use-cases .audience-scale-flow strong {
    font-size: 0.55rem;
  }

  #use-cases .audience-scale-flow small {
    font-size: 0.44rem;
  }

  #use-cases .audience-scale-strip > p {
    font-size: 0.71rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #use-cases .audience-card,
  #use-cases .audience-route-line,
  #use-cases .audience-route-dot,
  #use-cases .audience-benefit-panel.is-switching .audience-panel-copy,
  #use-cases .audience-benefit-panel.is-switching .audience-benefits {
    animation: none;
    transition: none;
  }
}

/* Section 11: deployment confidence console. */
#trust.deployment-confidence-section {
  overflow-x: hidden;
  overflow-y: auto;
  border-color: rgba(45, 199, 236, 0.46);
  background:
    radial-gradient(circle at 52% 0%, rgba(34, 211, 238, 0.12), transparent 33%),
    radial-gradient(circle at 91% 72%, rgba(177, 138, 255, 0.08), transparent 25%),
    linear-gradient(180deg, rgba(7, 25, 53, 0.98), rgba(3, 12, 28, 0.99));
}

#trust .deployment-header {
  margin-bottom: 18px;
}

#trust .deployment-header .section-index span {
  margin-left: 9px;
  color: #b4f0fa;
}

#trust .deployment-pathway {
  --path-start: calc((100% - 40px) / 10);
  --path-step: calc((100% + 10px) / 5);
  --path-progress: 0px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding-top: 25px;
  margin-bottom: 53px;
}

#trust .deployment-pathway::before,
#trust .deployment-pathway::after {
  content: "";
  position: absolute;
  left: var(--path-start);
  right: var(--path-start);
  top: 10px;
  height: 2px;
  border-radius: 999px;
}

#trust .deployment-pathway::before {
  background: rgba(36, 210, 244, 0.2);
}

#trust .deployment-pathway::after {
  right: auto;
  width: var(--path-progress);
  background: linear-gradient(90deg, #39e941, #24d2f4);
  box-shadow: 0 0 10px rgba(57, 233, 65, 0.28);
  transition: width 260ms ease;
}

#trust .deployment-pathway[data-progress="review"] {
  --path-progress: 0px;
}

#trust .deployment-pathway[data-progress="inspect"] {
  --path-progress: var(--path-step);
}

#trust .deployment-pathway[data-progress="export"] {
  --path-progress: calc(var(--path-step) * 2);
}

#trust .deployment-pathway[data-progress="verify"] {
  --path-progress: calc(var(--path-step) * 3);
}

#trust .deployment-pathway[data-progress="reuse"] {
  --path-progress: calc(var(--path-step) * 4);
}

#trust .deployment-step {
  --stage-accent: #39e941;
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 92px;
  padding: 14px 10px 10px;
  border: 1.5px solid rgba(65, 135, 190, 0.42);
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(12, 37, 76, 0.98), rgba(5, 18, 43, 0.99));
  color: #dceeff;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

#trust .deployment-step::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 2px;
  height: 15px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(36, 210, 244, 0.2);
  transition: background 260ms ease, box-shadow 260ms ease;
}

#trust .deployment-step.is-reached::before {
  background: var(--stage-accent);
  box-shadow: 0 0 9px color-mix(in srgb, var(--stage-accent) 54%, transparent);
}

#trust .deployment-step[data-stage="inspect"],
#trust .deployment-step[data-stage="export"] {
  --stage-accent: #24d2f4;
}

#trust .deployment-step[data-stage="verify"] {
  --stage-accent: #b18aff;
}

#trust .deployment-step:hover,
#trust .deployment-step:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(36, 210, 244, 0.72);
  outline: none;
}

#trust .deployment-step:focus-visible {
  box-shadow: 0 0 0 2px #06172c, 0 0 0 4px rgba(36, 210, 244, 0.72);
}

#trust .deployment-step.is-active {
  border-color: color-mix(in srgb, var(--stage-accent) 86%, transparent);
  background:
    radial-gradient(circle at 50% 12%, color-mix(in srgb, var(--stage-accent) 17%, transparent), transparent 40%),
    linear-gradient(180deg, rgba(16, 52, 67, 0.98), rgba(5, 25, 43, 1));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--stage-accent) 15%, transparent),
    0 0 22px color-mix(in srgb, var(--stage-accent) 13%, transparent);
}

#trust .deployment-step-number {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 2px solid rgba(36, 210, 244, 0.6);
  border-radius: 50%;
  background: #071b34;
  color: #d6f8ff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
}

#trust .deployment-step.is-active .deployment-step-number {
  border-color: var(--stage-accent);
  color: #e6ffde;
  box-shadow: 0 0 14px color-mix(in srgb, var(--stage-accent) 35%, transparent);
}

#trust .deployment-step strong {
  color: #f1f9ff;
  font-size: 0.88rem;
  line-height: 1.1;
}

#trust .deployment-step em {
  color: #aac6dc;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

#trust .deployment-step.is-active em {
  color: color-mix(in srgb, var(--stage-accent) 40%, #f2ffff);
}

#trust .deployment-route-trace {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
  overflow: visible;
  pointer-events: none;
}

#trust .deployment-route-line {
  fill: none;
  stroke: var(--deployment-route-accent, #39e941);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--deployment-route-accent, #39e941) 62%, transparent));
}

#trust .deployment-route-line.is-drawn {
  stroke-dashoffset: 0;
}

#trust .deployment-route-dot {
  fill: var(--deployment-route-accent, #39e941);
  opacity: 0;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--deployment-route-accent, #39e941) 72%, transparent));
  transition: opacity 180ms ease;
}

#trust .deployment-route-dot.is-visible {
  opacity: 1;
}

#trust .deployment-header,
#trust .deployment-pathway,
#trust .deployment-stage-panel,
#trust .deployment-feature-grid,
#trust .deployment-takeaway {
  position: relative;
  z-index: 3;
}

#trust .deployment-stage-panel {
  --deployment-accent: #39e941;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 27%);
  align-items: center;
  gap: clamp(17px, 3vw, 34px);
  min-height: 224px;
  padding: clamp(18px, 2.5vw, 25px);
  border: 1.5px solid color-mix(in srgb, var(--deployment-accent) 50%, rgba(34, 211, 238, 0.28));
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 26%, color-mix(in srgb, var(--deployment-accent) 14%, transparent), transparent 30%),
    linear-gradient(103deg, rgba(8, 32, 65, 0.98), rgba(5, 18, 43, 0.99));
}

#trust .deployment-stage-panel[data-active-stage="inspect"],
#trust .deployment-stage-panel[data-active-stage="export"] {
  --deployment-accent: #24d2f4;
}

#trust .deployment-stage-panel[data-active-stage="verify"] {
  --deployment-accent: #b18aff;
}

#trust .deployment-stage-panel[data-active-stage="reuse"] {
  --deployment-accent: #39e941;
}

#trust .deployment-stage-copy {
  display: grid;
  gap: 9px;
}

#trust .deployment-stage-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: 11px;
}

#trust .deployment-micro-label,
#trust .deployment-feature > span,
#trust .deployment-takeaway > span,
#trust .deployment-visual-label {
  color: color-mix(in srgb, var(--deployment-accent, #24d2f4) 52%, #defaff);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  font-weight: 800;
  text-transform: uppercase;
}

#trust .deployment-stage-title h3 {
  margin-top: 5px;
  color: #fff;
  font-size: clamp(1.17rem, 2vw, 1.45rem);
  line-height: 1.14;
}

#trust .deployment-status {
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, var(--deployment-accent) 55%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--deployment-accent) 51%, #f2ffff);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  font-weight: 800;
  text-transform: uppercase;
}

#trust .deployment-stage-description {
  max-width: 600px;
  color: #c9ddec;
  font-size: clamp(0.85rem, 1.12vw, 0.94rem);
  line-height: 1.47;
}

#trust .deployment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

#trust .deployment-tags span {
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--deployment-accent) 37%, rgba(138, 186, 220, 0.28));
  border-radius: 999px;
  color: #dcf0fe;
  background: rgba(7, 27, 53, 0.7);
  font-family: var(--font-mono);
  font-size: 0.59rem;
  font-weight: 700;
  text-transform: uppercase;
}

#trust .deployment-value {
  color: color-mix(in srgb, var(--deployment-accent) 28%, #ecf7ff);
  font-size: clamp(0.88rem, 1.1vw, 0.97rem);
  line-height: 1.36;
}

#trust .deployment-stage-visual {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  width: min(100%, 206px);
  min-height: 164px;
  margin-inline: auto;
  padding: 18px;
  border: 1.5px solid color-mix(in srgb, var(--deployment-accent) 58%, #e9ffff);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 25%, color-mix(in srgb, var(--deployment-accent) 18%, transparent), transparent 46%),
    rgba(4, 16, 39, 0.76);
}

#trust .deployment-stage-visual strong {
  color: #fff;
  font-size: 1.12rem;
}

#trust .deployment-visual-track {
  display: grid;
  gap: 7px;
  width: 100%;
}

#trust .deployment-visual-track i {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--deployment-accent) 48%, transparent);
}

#trust .deployment-visual-track i:nth-child(2) {
  width: 76%;
}

#trust .deployment-visual-track i:nth-child(3) {
  width: 53%;
}

#trust .deployment-stage-visual.is-verify img {
  width: 60px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(177, 138, 255, 0.28));
}

#trust .deployment-stage-visual.is-verify span {
  padding: 5px 9px;
  border: 1px solid rgba(177, 138, 255, 0.52);
  border-radius: 999px;
  color: #e6d9ff;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
}

#trust .deployment-stage-panel.is-switching .deployment-stage-copy,
#trust .deployment-stage-panel.is-switching .deployment-stage-visual {
  animation: deployment-panel-enter 240ms ease both;
}

#trust .deployment-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

#trust .deployment-feature {
  --feature-accent: #24d2f4;
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 116px;
  padding: 12px 13px;
  border: 1px solid color-mix(in srgb, var(--feature-accent) 32%, rgba(79, 132, 177, 0.38));
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(10, 31, 64, 0.91), rgba(5, 18, 42, 0.96));
}

#trust .deployment-feature.is-ready {
  --feature-accent: #39e941;
}

#trust .deployment-feature.is-guard {
  --feature-accent: #f1c356;
}

#trust .deployment-feature.is-dashboard {
  --feature-accent: #b18aff;
}

#trust .deployment-feature > span {
  color: color-mix(in srgb, var(--feature-accent) 55%, #e8ffff);
}

#trust .deployment-feature h3 {
  color: #f1f9ff;
  font-size: 0.9rem;
  line-height: 1.18;
}

#trust .deployment-feature p {
  color: #bacee1;
  font-size: 0.74rem;
  line-height: 1.42;
}

#trust .deployment-takeaway {
  display: grid;
  gap: 5px;
  margin-top: 11px;
  padding: 12px 15px;
  border: 1px solid rgba(57, 233, 65, 0.35);
  border-radius: 13px;
  background: linear-gradient(90deg, rgba(57, 233, 65, 0.08), rgba(36, 210, 244, 0.06));
}

#trust .deployment-takeaway strong {
  color: #eaf8ff;
  font-size: clamp(0.87rem, 1.1vw, 0.98rem);
  line-height: 1.37;
}

@keyframes deployment-panel-enter {
  from {
    opacity: 0.44;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 680px) {
  #trust .deployment-pathway {
    --path-step: calc((100% - 62px) / 4);
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 57px;
    padding-top: 0;
    padding-left: 25px;
    padding-right: 51px;
  }

  #trust .deployment-pathway::before,
  #trust .deployment-pathway::after {
    left: 10px;
    right: auto;
    top: 31px;
    bottom: 31px;
    width: 2px;
    height: auto;
  }

  #trust .deployment-pathway::after {
    height: var(--path-progress);
    transition: height 260ms ease;
  }

  #trust .deployment-pathway[data-progress="review"] {
    --path-progress: 0px;
  }

  #trust .deployment-pathway[data-progress="inspect"] {
    --path-progress: var(--path-step);
  }

  #trust .deployment-pathway[data-progress="export"] {
    --path-progress: calc(var(--path-step) * 2);
  }

  #trust .deployment-pathway[data-progress="verify"] {
    --path-progress: calc(var(--path-step) * 3);
  }

  #trust .deployment-pathway[data-progress="reuse"] {
    --path-progress: calc(var(--path-step) * 4);
  }

  #trust .deployment-step {
    grid-template-columns: auto 1fr auto;
    justify-items: start;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 10px 12px;
  }

  #trust .deployment-step::before {
    top: 50%;
    right: 100%;
    bottom: auto;
    left: auto;
    width: 15px;
    height: 2px;
    transform: translateY(-50%);
  }

  #trust .deployment-step em {
    justify-self: end;
  }

  #trust .deployment-stage-panel {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #trust .deployment-stage-visual {
    grid-row: 1;
    min-height: 132px;
  }

  #trust .deployment-feature-grid {
    grid-template-columns: 1fr;
  }

  #trust .deployment-feature {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #trust .deployment-step,
  #trust .deployment-step::before,
  #trust .deployment-pathway::after,
  #trust .deployment-route-line,
  #trust .deployment-route-dot,
  #trust .deployment-stage-panel.is-switching .deployment-stage-copy,
  #trust .deployment-stage-panel.is-switching .deployment-stage-visual {
    transition: none;
    animation: none;
  }
}

/* Section 12: screenshot-led product gallery. */
#support.panel-showcase {
  overflow-x: hidden;
  overflow-y: auto;
  border-color: rgba(36, 210, 244, 0.45);
  background:
    radial-gradient(circle at 12% 6%, rgba(36, 210, 244, 0.12), transparent 29%),
    radial-gradient(circle at 92% 44%, rgba(177, 138, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(7, 25, 53, 0.99), rgba(3, 12, 28, 0.99));
}

#support .section-head {
  margin-bottom: 18px;
}

#support .section-head p:last-child {
  max-width: 790px;
}

#support .support-screen-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(13px, 1.8vw, 19px);
}

#support .support-screen-card {
  --screen-accent: #24d2f4;
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
}

#support .support-screen-card.is-continuity,
#support .support-screen-card.is-export {
  --screen-accent: #39e941;
}

#support .support-screen-card.is-shaping,
#support .support-screen-card.is-verify {
  --screen-accent: #b18aff;
}

#support .support-screen-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1.5px solid color-mix(in srgb, var(--screen-accent) 56%, rgba(63, 121, 166, 0.52));
  border-radius: 17px;
  background:
    radial-gradient(circle at 50% 46%, color-mix(in srgb, var(--screen-accent) 7%, transparent), transparent 47%),
    #01040b;
  box-shadow:
    inset 0 0 0 1px rgba(217, 246, 255, 0.04),
    0 0 22px color-mix(in srgb, var(--screen-accent) 10%, transparent);
}

#support .support-screen-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #000;
}

#support .support-screen-frame:has(.support-screen-image)::before,
#support .support-screen-frame:has(.support-screen-image)::after,
#support .support-screen-frame:has(.support-screen-image) .support-screen-target {
  display: none;
}

#support .support-static-screen {
  padding: clamp(14px, 4%, 20px);
  background: #000;
}

#support .support-static-screen .support-screen-image {
  border-radius: clamp(7px, 1.1vw, 11px);
}

#support .support-export-slider {
  isolation: isolate;
  background: #000;
}

#support .support-export-slide {
  position: absolute;
  inset: clamp(14px, 4%, 20px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: clamp(7px, 1.1vw, 11px);
  opacity: 0;
  transform: scale(0.988);
  filter: saturate(0.88) brightness(0.88);
  pointer-events: none;
  transition:
    opacity 1280ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 1600ms cubic-bezier(0.16, 0.78, 0.2, 1),
    filter 1280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

#support .support-export-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  filter: none;
}

#support .support-export-slide.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, transparent 28%, rgba(101, 254, 9, 0.13) 46%, rgba(36, 210, 244, 0.08) 52%, transparent 69%);
  opacity: 0;
  transform: translateX(-68%);
  animation: export-slide-scan 1450ms cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}

#support .support-export-slider .support-screen-image {
  object-fit: contain;
  background: #000;
}

#support .support-export-split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(8px, 2.4%, 14px);
  align-items: center;
}

#support .support-export-split .support-screen-image {
  min-width: 0;
  border-radius: clamp(6px, 0.9vw, 10px);
}

#support .support-export-chrome {
  position: absolute;
  top: 9px;
  left: 10px;
  z-index: 3;
  pointer-events: none;
}

#support .support-export-chrome span {
  padding: 4px 7px;
  border: 1px solid color-mix(in srgb, var(--screen-accent) 34%, transparent);
  border-radius: 999px;
  background: rgba(0, 4, 12, 0.8);
  color: color-mix(in srgb, var(--screen-accent) 48%, #fff);
  font-family: var(--font-mono);
  font-size: 0.48rem;
  font-weight: 800;
  text-transform: uppercase;
}

#support .support-export-controls {
  position: absolute;
  left: 50%;
  bottom: 9px;
  z-index: 3;
  display: flex;
  gap: 5px;
  padding: 4px;
  border: 1px solid rgba(36, 210, 244, 0.19);
  border-radius: 999px;
  background: rgba(0, 4, 12, 0.86);
  transform: translateX(-50%);
}

#support .support-export-controls button {
  position: relative;
  display: block;
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(175, 209, 231, 0.54);
  border-radius: 999px;
  background: rgba(30, 57, 79, 0.7);
  cursor: pointer;
  transition: width 360ms ease, border-color 360ms ease, background 360ms ease, box-shadow 360ms ease;
}

#support .support-export-controls button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

#support .support-export-controls button.is-active {
  width: 25px;
  border-color: color-mix(in srgb, var(--screen-accent) 82%, #fff);
  background: linear-gradient(90deg, var(--screen-accent), #24d2f4);
  box-shadow: 0 0 11px color-mix(in srgb, var(--screen-accent) 43%, transparent);
}

#support .support-export-controls button:focus-visible {
  outline: 2px solid #f0ffe8;
  outline-offset: 2px;
}

#support .support-screen-frame::before {
  content: "SCREEN " attr(data-screen);
  position: absolute;
  top: 13px;
  left: 13px;
  color: color-mix(in srgb, var(--screen-accent) 54%, #e3faff);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 800;
  text-transform: uppercase;
}

#support .support-screen-frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(36, 210, 244, 0.09);
  border-radius: 11px;
}

#support .support-screen-target {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(38px, 5vw, 50px);
  height: clamp(38px, 5vw, 50px);
  border: 1px solid color-mix(in srgb, var(--screen-accent) 44%, transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

#support .support-screen-target::before,
#support .support-screen-target::after {
  content: "";
  position: absolute;
  background: var(--screen-accent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--screen-accent) 60%, transparent);
}

#support .support-screen-target::before {
  top: 50%;
  left: -13px;
  right: -13px;
  height: 1px;
  transform: translateY(-50%);
}

#support .support-screen-target::after {
  top: -13px;
  bottom: -13px;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
}

#support .support-screen-card figcaption {
  display: grid;
  gap: 4px;
  padding-inline: 3px;
}

#support .support-screen-card figcaption > span {
  color: color-mix(in srgb, var(--screen-accent) 58%, #e8faff);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  font-weight: 800;
  text-transform: uppercase;
}

#support .support-screen-card h3 {
  color: #f1f9ff;
  font-size: clamp(0.9rem, 1.2vw, 1.02rem);
  line-height: 1.18;
}

#support .support-screen-card p {
  color: #bdd4e8;
  font-size: clamp(0.7rem, 0.88vw, 0.78rem);
  line-height: 1.35;
}

@keyframes export-slide-scan {
  0% {
    opacity: 0;
    transform: translateX(-68%);
  }
  23% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(68%);
  }
}

@media (max-width: 1020px) {
  #support .support-screen-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  #support .support-screen-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 9px;
  }

  #support .support-screen-frame {
    border-radius: 12px;
  }

  #support .support-screen-frame::before {
    top: 9px;
    left: 9px;
    font-size: 0.49rem;
  }

  #support .support-screen-frame::after {
    inset: 6px;
    border-radius: 8px;
  }

  #support .support-screen-card {
    gap: 7px;
  }

  #support .support-screen-card h3 {
    font-size: clamp(0.74rem, 3.5vw, 0.86rem);
  }

  #support .support-screen-card p {
    font-size: clamp(0.62rem, 2.8vw, 0.7rem);
  }

  #support .support-export-chrome {
    top: 6px;
    left: 7px;
  }

  #support .support-export-chrome span {
    padding: 3px 5px;
    font-size: 0.42rem;
  }

  #support .support-export-controls {
    bottom: 6px;
    gap: 4px;
    padding: 3px;
  }

  #support .support-export-controls button {
    width: 7px;
    height: 7px;
  }

  #support .support-export-controls button.is-active {
    width: 18px;
  }

  #support .support-export-slide {
    inset: clamp(7px, 4%, 10px);
    border-radius: 6px;
  }

  #support .support-static-screen {
    padding: clamp(7px, 4%, 10px);
  }

  #support .support-static-screen .support-screen-image {
    border-radius: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #support .support-export-slide {
    transition: none;
  }

  #support .support-export-slide.is-active::after {
    animation: none;
  }
}
