@import url("site-v17.css");

/* V18 - ZY Presenca Viva */
html {
  overflow-x: clip;
}

:root,
[data-theme="viva"] {
  --brand: #16705e;
  --brand-strong: #0d5144;
  --brand-soft: #cde5dc;
  --signal: #e26f4f;
  --signal-soft: #f5d8cf;
  --data: #356d8c;
  --hero-bg: #07100e;
  --hero-panel: rgba(14, 28, 24, 0.86);
  --hero-line: rgba(178, 216, 202, 0.2);
  --hero-accent: #64d2ad;
  --hero-signal: #ff8a68;
}

[data-theme="noite"] {
  --brand: #6bd0ad;
  --brand-strong: #a0e6cf;
  --brand-soft: #173d32;
  --signal: #ff7959;
  --signal-soft: #48251d;
  --data: #86a8ff;
  --hero-bg: #080d0b;
  --hero-panel: rgba(18, 29, 25, 0.9);
  --hero-line: rgba(170, 213, 196, 0.2);
  --hero-accent: #74d8b5;
  --hero-signal: #ff8b69;
}

[data-theme="contraste"] {
  --hero-bg: #080b12;
  --hero-panel: rgba(14, 20, 34, 0.9);
  --hero-line: rgba(180, 199, 246, 0.23);
  --hero-accent: #7ea2ff;
  --hero-signal: #ff715b;
}

/* Header over the cinematic hero */
.site-header:not(.is-scrolled) .brand-symbol {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-header:not(.is-scrolled) .brand-name b,
.site-header:not(.is-scrolled) .main-nav a {
  color: #f5f7f5;
}

.site-header:not(.is-scrolled) .brand-name small,
.site-header:not(.is-scrolled) .main-nav a:hover {
  color: var(--hero-accent);
}

.main-nav a.is-active {
  color: var(--ink);
}

.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header:not(.is-scrolled) .main-nav a.is-active {
  color: var(--hero-accent);
}

.site-header:not(.is-scrolled) .theme-picker summary,
.site-header:not(.is-scrolled) .menu-toggle {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(7, 16, 14, 0.58);
  color: #f5f7f5;
  backdrop-filter: blur(14px);
}

.site-header:not(.is-scrolled) .menu-toggle span:not(.sr-only) {
  background: #fff;
}

/* Hero */
.hero-v18 {
  min-height: 960px;
  padding: 132px 0 42px;
  background:
    radial-gradient(circle at 69% 36%, rgba(63, 151, 123, 0.15), transparent 31%),
    linear-gradient(118deg, #07100e 0%, #0b1714 56%, #07100e 100%);
  color: #f5f7f5;
  isolation: isolate;
}

.hero-v18::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 16, 14, 0.95) 0%, rgba(7, 16, 14, 0.54) 49%, rgba(7, 16, 14, 0.14) 100%);
  content: "";
}

.hero-v18 .hero-grid {
  z-index: -2;
  opacity: 0.12;
  background-image: linear-gradient(var(--hero-line) 1px, transparent 1px), linear-gradient(90deg, var(--hero-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 4%, transparent 92%);
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid var(--hero-line);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  top: 145px;
  right: -210px;
  width: 780px;
  height: 780px;
  animation: orbit-breathe 8s ease-in-out infinite;
}

.orbit-two {
  top: 250px;
  right: -85px;
  width: 530px;
  height: 530px;
  border-color: rgba(255, 138, 104, 0.18);
  animation: orbit-breathe 8s 1.2s ease-in-out infinite reverse;
}

.hero-v18 .hero-layout {
  min-height: 650px;
  grid-template-columns: minmax(440px, 0.84fr) minmax(610px, 1.16fr);
  gap: 38px;
}

.hero-v18 .hero-copy {
  position: relative;
  z-index: 4;
  align-self: center;
  padding-bottom: 18px;
}

.hero-v18 .eyebrow {
  color: var(--hero-accent);
}

.hero-v18 .hero-copy h1 {
  max-width: 660px;
  margin-bottom: 25px;
  color: #fff;
  font-size: clamp(58px, 5.8vw, 88px);
  font-weight: 580;
}

.hero-v18 .hero-name {
  display: block;
  margin-bottom: 7px;
  color: var(--hero-accent);
  font-family: "Newsreader", Georgia, serif;
  font-size: 0.76em;
  font-style: italic;
  font-weight: 500;
}

.hero-v18 .platform-name {
  margin-bottom: 14px;
  color: var(--hero-accent);
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  font-size: 0.66em;
  font-style: normal;
  font-weight: 680;
}

.hero-v18 .hero-copy h1 em {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--hero-signal);
  text-decoration-thickness: 3px;
  text-underline-offset: 9px;
}

.hero-v18 .hero-lead {
  max-width: 570px;
  color: #b6c3bd;
  font-size: 18px;
}

.hero-v18 .button-secondary {
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.hero-v18 .button-secondary:hover {
  border-color: var(--hero-accent);
  background: var(--hero-accent);
  color: #08110e;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 28px;
  color: #82938b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust span::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hero-accent);
  content: "";
}

.zy-stage {
  position: relative;
  align-self: stretch;
  min-height: 650px;
  transform: translate3d(var(--stage-x, 0), var(--stage-y, 0), 0);
  transition: transform 400ms ease-out;
}

.stage-dashboard {
  position: absolute;
  top: 8%;
  right: 0;
  width: 98%;
  height: 75%;
  overflow: hidden;
  border: 1px solid var(--hero-line);
  padding: 25px 28px;
  background:
    linear-gradient(90deg, rgba(100, 210, 173, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(100, 210, 173, 0.035) 1px, transparent 1px),
    linear-gradient(145deg, rgba(11, 29, 25, 0.97), rgba(5, 13, 12, 0.94));
  background-size: 38px 38px, 38px 38px, auto;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.4);
  opacity: 0.96;
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
  transform-origin: right center;
}

.stage-dashboard::after {
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    linear-gradient(90deg, rgba(7, 16, 14, 0.46), transparent 32%),
    linear-gradient(to top, rgba(7, 16, 14, 0.76), transparent 42%);
  content: "";
  pointer-events: none;
}

.board-topline,
.board-feed,
.board-route {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.board-topline {
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--hero-line);
  padding-bottom: 14px;
  color: #88a097;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.board-topline span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d7e5df;
}

.board-topline i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hero-accent);
  box-shadow: 0 0 0 5px rgba(100, 210, 173, 0.1);
  animation: live-pulse 2s infinite;
}

.board-topline b {
  color: var(--hero-accent);
}

.board-context {
  position: relative;
  z-index: 2;
  max-width: 62%;
  padding: 26px 0 20px;
}

.board-context p {
  margin: 0 0 6px;
  color: var(--hero-signal);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.board-context strong {
  display: block;
  color: #f4f8f6;
  font-size: 22px;
  font-weight: 570;
  line-height: 1.12;
}

.board-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 78%;
  border-top: 1px solid var(--hero-line);
  border-bottom: 1px solid var(--hero-line);
}

.board-metrics > div {
  min-height: 110px;
  border-right: 1px solid var(--hero-line);
  padding: 16px 14px 14px 0;
}

.board-metrics > div + div {
  padding-left: 14px;
}

.board-metrics > div:last-child {
  border-right: 0;
}

.board-metrics span,
.board-metrics small {
  display: block;
}

.board-metrics span {
  color: #799087;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.board-metrics b {
  display: block;
  margin: 5px 0 3px;
  color: #f7faf8;
  font-family: "Newsreader", Georgia, serif;
  font-size: 32px;
  font-weight: 550;
}

.board-metrics small {
  color: #789087;
  font-size: 8px;
  line-height: 1.35;
}

.board-route {
  max-width: 78%;
  gap: 8px;
  padding-top: 19px;
  color: #8ca198;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.board-route span {
  white-space: nowrap;
}

.board-route i {
  position: relative;
  width: 34px;
  height: 1px;
  overflow: hidden;
  background: var(--hero-line);
}

.board-route i::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--hero-accent), transparent);
  content: "";
  transform: translateX(-110%);
  animation: data-travel 2.3s linear infinite;
}

.board-route i:nth-of-type(2)::after {
  animation-delay: 0.65s;
}

.board-activity {
  position: absolute;
  right: 24px;
  bottom: 69px;
  z-index: 2;
  display: flex;
  width: 43%;
  height: 76px;
  align-items: flex-end;
  gap: 5px;
  border-bottom: 1px solid var(--hero-line);
  opacity: 0.78;
}

.board-activity span {
  width: 100%;
  height: var(--activity);
  background: linear-gradient(to top, rgba(100, 210, 173, 0.08), rgba(100, 210, 173, 0.6));
  transform-origin: bottom;
  animation: activity-bars 3.8s ease-in-out infinite alternate;
}

.board-activity span:nth-child(2n) { animation-delay: -1.1s; }
.board-activity span:nth-child(3n) { animation-delay: -2.2s; }

.board-feed {
  position: absolute;
  right: 28px;
  bottom: 23px;
  left: 28px;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--hero-line);
  padding-top: 12px;
  color: #74887f;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.board-feed span {
  color: var(--hero-accent);
}

.stage-dashboard.is-updating .board-context,
.stage-dashboard.is-updating .board-metrics,
.stage-dashboard.is-updating .board-feed {
  animation: board-update 480ms ease;
}

.stage-scan {
  position: absolute;
  top: 9%;
  right: 3%;
  z-index: 2;
  width: 66%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hero-accent), transparent);
  opacity: 0.7;
  animation: scan-dashboard 6s ease-in-out infinite;
}

.zy-hero-figure {
  position: absolute;
  right: -5%;
  bottom: -4px;
  z-index: 3;
  width: min(70%, 490px);
  height: 96%;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(-20px 28px 35px rgba(0, 0, 0, 0.45));
  transform-origin: bottom center;
  animation: zy-presence 7s ease-in-out infinite;
}

.zy-presence {
  position: absolute;
  top: 4%;
  left: 3%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--hero-line);
  padding: 11px 14px;
  background: rgba(7, 16, 14, 0.76);
  backdrop-filter: blur(14px);
}

.zy-presence div {
  display: grid;
}

.zy-presence b {
  color: #fff;
  font-size: 12px;
}

.zy-presence small {
  color: #91a39a;
  font-size: 10px;
}

.live-pulse {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--hero-accent);
  box-shadow: 0 0 0 0 rgba(100, 210, 173, 0.5);
  animation: live-pulse 2s infinite;
}

.live-briefing {
  position: absolute;
  bottom: 3%;
  left: -3%;
  z-index: 6;
  width: min(59%, 390px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 18px 20px;
  background: var(--hero-panel);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
}

.live-briefing.is-updating {
  animation: briefing-change 420ms ease;
}

.live-briefing header,
.live-briefing footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #8da198;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.live-briefing header {
  margin-bottom: 18px;
  border-bottom: 1px solid var(--hero-line);
  padding-bottom: 11px;
}

.live-briefing header b,
.live-briefing footer b {
  color: var(--hero-accent);
}

.briefing-kicker {
  margin-bottom: 5px;
  color: var(--hero-signal);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.live-briefing h2 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.08;
}

.live-briefing > p:not(.briefing-kicker) {
  margin-bottom: 18px;
  color: #b7c4be;
  font-size: 13px;
  line-height: 1.55;
}

.signal-chip {
  position: absolute;
  z-index: 5;
  border: 1px solid var(--hero-line);
  padding: 7px 10px;
  background: rgba(7, 16, 14, 0.7);
  color: #c5d2cc;
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.chip-one {
  top: 20%;
  right: -2%;
  animation: chip-drift 5s ease-in-out infinite;
}

.chip-two {
  top: 48%;
  right: 5%;
  animation: chip-drift 5s 1.4s ease-in-out infinite reverse;
}

.scenario-controls {
  position: relative;
  z-index: 7;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
  border-top: 1px solid var(--hero-line);
  border-bottom: 1px solid var(--hero-line);
}

.scenario-controls button {
  display: grid;
  min-height: 88px;
  cursor: pointer;
  grid-template-columns: 32px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 8px;
  border: 0;
  border-right: 1px solid var(--hero-line);
  padding: 16px 22px;
  background: transparent;
  color: #71857b;
  text-align: left;
  transition: background-color 220ms ease, color 220ms ease;
}

.scenario-controls button:nth-child(3) {
  border-right: 0;
}

.scenario-controls button span {
  grid-row: 1 / 3;
  color: #53655d;
  font-family: "Newsreader", Georgia, serif;
  font-size: 18px;
}

.scenario-controls button b {
  color: #b6c3bd;
  font-size: 14px;
}

.scenario-controls button small {
  font-size: 11px;
}

.scenario-controls button[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.045);
  color: #aebdb6;
}

.scenario-controls button[aria-selected="true"] b,
.scenario-controls button[aria-selected="true"] span {
  color: var(--hero-accent);
}

.scenario-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  overflow: hidden;
}

.scenario-progress i {
  display: block;
  width: 33.333%;
  height: 100%;
  background: var(--hero-accent);
  transform-origin: left;
  animation: scenario-progress 5s linear infinite;
}

.hero-v18 .operation-flow {
  margin-top: 36px;
  color: #6f8279;
}

.hero-v18 .operation-flow i {
  position: relative;
  overflow: hidden;
  background: var(--hero-line);
}

.hero-v18 .operation-flow i::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--hero-accent), transparent);
  content: "";
  transform: translateX(-110%);
  animation: data-travel 3.4s linear infinite;
}

.hero-v18 [data-flow-step] {
  transition: color 300ms ease;
}

.hero-v18 [data-flow-step].is-active {
  color: var(--hero-accent);
}

/* Platform architecture */
.platform-architecture {
  display: grid;
  grid-template-columns: 1.08fr 72px 0.7fr 72px 1.18fr;
  align-items: stretch;
  margin-top: 86px;
}

.architecture-layer {
  min-height: 220px;
  border: 1px solid var(--line);
  padding: 28px;
  background: var(--surface);
}

.architecture-layer > span {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 42px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.architecture-layer h3 {
  margin-bottom: 12px;
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 600;
}

.architecture-layer p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.architecture-platform {
  border-top: 3px solid var(--brand);
}

.architecture-zy {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.architecture-zy > span,
.architecture-zy p {
  color: rgba(255, 255, 255, 0.75);
}

.architecture-zy .live-pulse {
  background: #fff;
}

.architecture-systems {
  border-top: 3px solid var(--signal);
}

.architecture-connector {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.architecture-connector::before {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line);
  content: "";
}

.architecture-connector i {
  z-index: 1;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  animation: architecture-data 2.4s ease-in-out infinite;
}

.architecture-connector i:nth-child(2) { animation-delay: 0.22s; }
.architecture-connector i:nth-child(3) { animation-delay: 0.44s; }

@keyframes architecture-data {
  0%, 100% { opacity: 0.25; transform: translateX(-4px) scale(0.75); }
  50% { opacity: 1; transform: translateX(4px) scale(1.2); }
}

/* From searching to knowing */
.retrieval-section {
  background: var(--surface);
}

.retrieval-heading {
  display: grid;
  grid-template-columns: 0.58fr 1.12fr 0.78fr;
  gap: 52px;
  align-items: end;
  margin-bottom: 62px;
}

.retrieval-heading h2 {
  margin: 0;
  font-size: clamp(48px, 5.3vw, 76px);
  font-weight: 570;
}

.retrieval-heading h2 em {
  color: var(--brand);
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
}

.retrieval-heading > p:last-child {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 16px;
}

.retrieval-scene {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #07100e;
  box-shadow: var(--shadow);
}

.retrieval-scene::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 26%, rgba(5, 12, 11, 0.14) 52%, rgba(5, 12, 11, 0.82) 78%, rgba(5, 12, 11, 0.96) 100%);
  content: "";
  pointer-events: none;
}

.retrieval-scene > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.search-fragment {
  position: absolute;
  z-index: 2;
  display: grid;
  min-width: 122px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 9px 11px;
  background: rgba(7, 16, 14, 0.66);
  color: #879991;
  font-size: 9px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  animation: fragment-search 4.8s ease-in-out infinite;
}

.search-fragment b {
  margin-top: 2px;
  color: #d8e1dd;
  font-size: 11px;
  text-transform: none;
}

.fragment-one { top: 15%; left: 4%; }
.fragment-two { top: 42%; left: 34%; animation-delay: 0.8s; }
.fragment-three { bottom: 18%; left: 9%; animation-delay: 1.6s; }

.zy-delivery {
  position: absolute;
  top: 50%;
  right: 4%;
  z-index: 4;
  width: min(41%, 470px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 24px;
  background: rgba(11, 25, 21, 0.9);
  color: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(20px);
  transform: translateY(-50%);
}

.zy-delivery::before {
  position: absolute;
  inset: -1px auto -1px -1px;
  width: 3px;
  background: var(--hero-accent);
  content: "";
  animation: delivery-line 3.2s ease-in-out infinite;
}

.zy-delivery header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--hero-line);
  padding-bottom: 14px;
}

.zy-delivery header b {
  color: var(--hero-accent);
  font-size: 11px;
  text-transform: uppercase;
}

.zy-delivery header small {
  color: #82948b;
  font-size: 9px;
  text-transform: uppercase;
}

.zy-delivery > p,
.zy-delivery > div span {
  margin-bottom: 7px;
  color: #81938a;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.zy-delivery h3 {
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(24px, 2.5vw, 35px);
  font-weight: 540;
  line-height: 1.15;
}

.zy-delivery > div {
  display: grid;
  border-left: 2px solid var(--hero-signal);
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.05);
}

.zy-delivery > div span {
  margin: 0;
}

.zy-delivery > div b {
  color: #e8eeeb;
  font-size: 13px;
}

.zy-delivery footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  color: #73867c;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.zy-delivery footer strong {
  color: var(--hero-accent);
}

.context-route {
  position: absolute;
  top: 50%;
  left: 46%;
  z-index: 3;
  display: flex;
  width: 11%;
  justify-content: space-between;
  transform: translateY(-50%);
}

.context-route i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hero-accent);
  opacity: 0.22;
  animation: route-signal 2.4s ease-in-out infinite;
}

.context-route i:nth-child(2) { animation-delay: 0.2s; }
.context-route i:nth-child(3) { animation-delay: 0.4s; }
.context-route i:nth-child(4) { animation-delay: 0.6s; }

.retrieval-caption {
  position: absolute;
  right: 24px;
  bottom: 18px;
  left: 24px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: #84968d;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.retrieval-caption span {
  color: var(--hero-signal);
}

.retrieval-caption strong {
  color: var(--hero-accent);
}

.retrieval-caption i {
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, var(--hero-signal), var(--hero-accent));
}

@keyframes fragment-search {
  0%, 100% { opacity: 0.52; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-5px); }
}

@keyframes delivery-line {
  0%, 100% { opacity: 0.45; transform: scaleY(0.42); }
  50% { opacity: 1; transform: scaleY(1); }
}

@keyframes route-signal {
  0%, 100% { opacity: 0.18; transform: scale(0.7); }
  45%, 60% { opacity: 1; transform: scale(1.25); }
}

.search-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(390px, 0.78fr);
  min-height: 650px;
  overflow: hidden;
  border: 1px solid #26352f;
  background: #07100e;
  box-shadow: var(--shadow);
}

.search-chaos {
  position: relative;
  min-width: 0;
  min-height: 650px;
  overflow: hidden;
  border-right: 1px solid #26352f;
  background: #080e0d;
}

.search-chaos::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(4, 10, 9, 0.12) 30%, rgba(4, 10, 9, 0.9) 100%);
  content: "";
  pointer-events: none;
}

.search-chaos > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}

.story-label {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 13px;
  background: rgba(6, 14, 12, 0.78);
  color: #fff;
  backdrop-filter: blur(14px);
}

.story-label > span {
  color: var(--hero-signal);
  font-family: "Newsreader", Georgia, serif;
  font-size: 22px;
}

.story-label div {
  display: grid;
  gap: 2px;
}

.story-label b {
  font-size: 12px;
}

.story-label small {
  color: #889a91;
  font-size: 9px;
  text-transform: uppercase;
}

.source-counter {
  position: absolute;
  right: 24px;
  bottom: 108px;
  left: 24px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 12, 10, 0.75);
  backdrop-filter: blur(14px);
}

.source-counter span {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: #9aaba2;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  animation: source-urgency 3.6s ease-in-out infinite;
}

.source-counter span:nth-child(2) { animation-delay: 0.45s; }
.source-counter span:nth-child(3) { border-right: 0; animation-delay: 0.9s; }

.source-counter b {
  color: #fff;
  font-family: "Newsreader", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
}

.search-waiting {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 3;
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 13px;
  border-left: 3px solid var(--hero-signal);
  padding: 10px 14px;
  background: rgba(8, 17, 15, 0.9);
}

.search-waiting > i {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border: 2px solid var(--hero-signal);
  border-radius: 50%;
  animation: waiting-alert 1.4s ease-in-out infinite;
}

.search-waiting div {
  display: grid;
  gap: 2px;
}

.search-waiting b {
  color: #fff;
  font-size: 12px;
}

.search-waiting small {
  color: #8fa097;
  font-size: 10px;
}

.story-bridge {
  position: absolute;
  top: 50%;
  left: 61%;
  z-index: 8;
  display: grid;
  width: 88px;
  min-height: 118px;
  place-content: center;
  justify-items: center;
  gap: 8px;
  border: 1px solid var(--hero-line);
  background: #0b1915;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
}

.story-bridge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hero-accent);
  animation: bridge-data 1.9s ease-in-out infinite;
}

.story-bridge span:nth-child(2) { animation-delay: 0.2s; }
.story-bridge span:nth-child(3) { animation-delay: 0.4s; }

.story-bridge b {
  margin-top: 2px;
  color: var(--hero-accent);
  font-size: 8px;
  text-transform: uppercase;
}

.search-answer {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 650px;
  flex-direction: column;
  padding: 108px 36px 28px 56px;
  background:
    linear-gradient(rgba(100, 210, 173, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 210, 173, 0.05) 1px, transparent 1px),
    #0a1613;
  background-size: 42px 42px;
  color: #fff;
}

.search-answer .story-label {
  right: 24px;
  left: 24px;
  border-color: rgba(100, 210, 173, 0.25);
}

.story-label-answer > span {
  color: var(--hero-accent);
}

.answer-sources {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: #778b81;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.answer-sources i {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: #33473e;
}

.answer-sources i::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--hero-accent), transparent);
  content: "";
  animation: data-travel 2.5s linear infinite;
}

.answer-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--hero-line);
  padding-bottom: 16px;
  color: var(--hero-accent);
  font-size: 10px;
  text-transform: uppercase;
}

.search-answer > p {
  margin-bottom: 8px;
  color: #7d9187;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.search-answer > h3 {
  margin-bottom: 28px;
  color: #fff;
  font-size: clamp(27px, 2.5vw, 37px);
  font-weight: 550;
  line-height: 1.12;
}

.search-answer dl {
  display: grid;
  gap: 1px;
  margin: auto 0 0;
}

.search-answer dl > div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  border-left: 2px solid #405149;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.035);
}

.search-answer dt {
  color: #7e9087;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.search-answer dd {
  margin: 0;
  color: #cbd5d0;
  font-size: 11px;
  font-weight: 600;
}

.search-answer .answer-next {
  border-left-color: var(--hero-signal);
  background: rgba(255, 255, 255, 0.07);
}

.search-answer .answer-next dd {
  color: #fff;
}

.search-answer footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  border-top: 1px solid var(--hero-line);
  padding-top: 16px;
  color: #75887f;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.search-answer footer strong {
  color: var(--hero-accent);
}

@keyframes source-urgency {
  0%, 100% { background: transparent; }
  50% { background: rgba(255, 138, 104, 0.09); }
}

@keyframes waiting-alert {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 138, 104, 0.35); opacity: 0.65; }
  50% { box-shadow: 0 0 0 7px rgba(255, 138, 104, 0); opacity: 1; }
}

@keyframes bridge-data {
  0%, 100% { opacity: 0.2; transform: translateY(-3px); }
  50% { opacity: 1; transform: translateY(3px); }
}

/* ZY scenarios */
.zy-action-section {
  --inverse-ink: #f5f7f5;
  --inverse-muted: #aeb9b3;
  overflow: hidden;
  background: #07100e;
  color: #f5f7f5;
}

.zy-action-section .eyebrow-light {
  color: #ff8a68;
}

.zy-action-section .zy-action-heading > p {
  color: #aeb9b3;
}

.zy-action-section .action-console {
  border-color: rgba(178, 216, 202, 0.2);
  background: #0a1512;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
}

.zy-action-section .action-rail {
  border-color: rgba(178, 216, 202, 0.16);
  background: #08110f;
}

.zy-action-section .action-detail {
  background:
    linear-gradient(rgba(100, 210, 173, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 210, 173, 0.035) 1px, transparent 1px),
    #0b1714;
  background-size: 48px 48px;
}

.zy-action-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}

.zy-action-heading h2 {
  margin: 0;
  font-size: clamp(52px, 5.8vw, 82px);
  font-weight: 570;
}

.zy-action-heading h2 em {
  color: var(--hero-accent);
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
}

.zy-action-heading > p {
  max-width: 500px;
  margin: 0 0 6px;
  color: var(--inverse-muted);
  font-size: 17px;
}

.action-console {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.025);
}

.action-rail {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.action-rail button {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 120px;
  cursor: pointer;
  grid-template-columns: 40px 1fr 18px;
  align-items: center;
  gap: 14px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 20px;
  background: transparent;
  color: var(--inverse-muted);
  text-align: left;
  transition: background-color 220ms ease;
}

.action-rail button:last-child {
  border-bottom: 0;
}

.action-rail button > span {
  color: #66756e;
  font-family: "Newsreader", Georgia, serif;
  font-size: 19px;
}

.action-rail button div {
  display: grid;
  gap: 5px;
}

.action-rail button b {
  color: #dbe2de;
  font-size: 15px;
}

.action-rail button small {
  color: var(--inverse-muted);
  font-size: 11px;
}

.action-rail button i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #42504a;
}

.action-rail button.is-active {
  background: rgba(255, 255, 255, 0.06);
}

.action-rail button.is-active::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--hero-accent);
  content: "";
}

.action-rail button.is-active > span,
.action-rail button.is-active b {
  color: var(--hero-accent);
}

.action-rail button.is-active i {
  background: var(--hero-accent);
  box-shadow: 0 0 0 5px rgba(100, 210, 173, 0.12);
}

.action-detail {
  min-width: 0;
}

.action-detail.is-updating {
  animation: briefing-change 420ms ease;
}

.action-detail > header,
.action-detail > footer {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 24px;
  color: var(--inverse-muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.action-detail > header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.action-detail > header span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.action-detail > footer {
  justify-content: flex-start;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.action-detail > footer b {
  color: #d8e0dc;
}

.action-detail > footer strong {
  margin-left: auto;
  color: var(--hero-accent);
  font-size: 10px;
}

.action-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.action-metrics div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 5px 16px;
  padding: 24px;
}

.action-metrics div:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.action-metrics small {
  color: var(--inverse-muted);
  font-size: 11px;
  text-transform: uppercase;
}

.action-metrics strong {
  grid-row: 1 / 3;
  grid-column: 2;
  color: #fff;
  font-family: "Newsreader", Georgia, serif;
  font-size: 52px;
  font-weight: 500;
  line-height: 0.9;
}

.action-metrics span {
  color: #7f8f87;
  font-size: 11px;
}

.action-evidence {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 28px 24px;
}

.action-evidence span,
.zy-orientation > span {
  color: var(--inverse-muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.action-evidence p {
  margin: 0;
  color: #d5ddd9;
  font-size: 16px;
}

.action-path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 24px;
}

.action-path i {
  height: 2px;
  background: #33423b;
  animation: path-signal 2.8s ease-in-out infinite;
}

.action-path i:nth-child(2) { animation-delay: 0.22s; }
.action-path i:nth-child(3) { animation-delay: 0.44s; }
.action-path i:nth-child(4) { animation-delay: 0.66s; }

.zy-orientation {
  margin: 24px;
  border-left: 3px solid var(--hero-signal);
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.055);
}

.zy-orientation h3 {
  max-width: 680px;
  margin: 12px 0 11px;
  color: #fff;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 550;
  line-height: 1.15;
}

.zy-orientation p {
  max-width: 680px;
  margin: 0;
  color: var(--inverse-muted);
  font-size: 14px;
}

/* V19.1 - Living intelligence process */
.process-section {
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), rgba(22, 112, 94, 0.055) 50%, transparent calc(50% + 1px)),
    #f5f6f3;
}

.process-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(60px, 10vw, 170px);
  align-items: end;
  margin-bottom: 64px;
}

.process-heading h2 {
  max-width: 800px;
  margin: 28px 0 0;
  color: #080d0c;
  font-size: clamp(54px, 6.3vw, 96px);
  font-weight: 570;
  line-height: 0.93;
}

.process-heading h2 em {
  color: var(--brand);
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
}

.process-heading-copy {
  padding-bottom: 8px;
}

.process-heading-copy > p {
  max-width: 500px;
  margin: 0 0 30px;
  color: #3e4c48;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
}

.process-live {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 11px;
  align-items: center;
  max-width: 410px;
  border-top: 1px solid rgba(22, 112, 94, 0.25);
  padding-top: 17px;
}

.process-live i,
.process-console-head i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #55c7a3;
  box-shadow: 0 0 0 5px rgba(85, 199, 163, 0.12);
  animation: v19-live-pulse 1.8s ease-in-out infinite;
}

.process-live span {
  color: #42504c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-live strong {
  grid-column: 2;
  color: var(--brand);
  font-family: "Newsreader", Georgia, serif;
  font-size: 21px;
  font-weight: 500;
  transition: opacity 180ms ease, transform 180ms ease;
}

.process-console {
  position: relative;
  border: 1px solid rgba(118, 143, 135, 0.28);
  background: #0a1311;
  color: #eef5f2;
  box-shadow: 0 34px 80px rgba(19, 48, 40, 0.13);
}

.process-console::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(100, 210, 173, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 210, 173, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  pointer-events: none;
}

.process-console-head {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  min-height: 70px;
  border-bottom: 1px solid rgba(192, 223, 212, 0.15);
  padding: 0 28px;
}

.process-console-head > span {
  display: flex;
  gap: 11px;
  align-items: center;
  color: #78d5b7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-console-head b {
  font-family: "Newsreader", Georgia, serif;
  font-size: 19px;
  font-weight: 500;
}

.process-console-head small {
  justify-self: end;
  color: #8a9d97;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-console ol {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-console ol::before {
  position: absolute;
  top: 40px;
  right: 7%;
  left: 7%;
  height: 1px;
  background: rgba(190, 220, 210, 0.18);
  content: "";
}

.process-console li {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 210px;
  grid-template-rows: 56px 1fr;
  border-right: 1px solid rgba(192, 223, 212, 0.12);
  padding: 24px 22px 27px;
  transition: background-color 380ms ease, transform 380ms ease;
}

.process-console li:last-child {
  border-right: 0;
}

.process-console li > span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(194, 221, 212, 0.3);
  border-radius: 50%;
  background: #0a1311;
  color: #81958e;
  font-size: 10px;
  transition: border-color 380ms ease, background-color 380ms ease, color 380ms ease, box-shadow 380ms ease;
}

.process-console li > div {
  align-self: end;
}

.process-console li b,
.process-console li small {
  display: block;
}

.process-console li b {
  margin-bottom: 13px;
  color: #f3f7f5;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 650;
}

.process-console li small {
  min-height: 36px;
  color: #84968f;
  font-size: 12px;
  line-height: 1.45;
}

.process-console li > i {
  position: absolute;
  top: 39px;
  left: 49px;
  z-index: 3;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #55c7a3, transparent);
  opacity: 0;
  transition: width 600ms ease, opacity 240ms ease;
}

.process-console li.is-current {
  background: rgba(88, 201, 165, 0.08);
  transform: translateY(-6px);
}

.process-console li.is-current > span {
  border-color: #64d2ad;
  background: #64d2ad;
  color: #07100e;
  box-shadow: 0 0 0 7px rgba(100, 210, 173, 0.11), 0 0 25px rgba(100, 210, 173, 0.28);
}

.process-console li.is-current > i {
  width: calc(100% - 49px);
  opacity: 1;
}

.process-console .process-human {
  background: #146856;
}

.process-console .process-human > span {
  border-color: rgba(255, 255, 255, 0.38);
  background: #146856;
  color: #fff;
}

.process-console .process-human small {
  color: rgba(255, 255, 255, 0.68);
}

.process-console .process-human.is-current {
  background: #1b7d68;
}

.process-console .process-human.is-current > span {
  border-color: #fff;
  background: #fff;
  color: #146856;
}

.process-console-foot {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.4fr) auto;
  gap: 34px;
  align-items: center;
  min-height: 105px;
  border-top: 1px solid rgba(192, 223, 212, 0.15);
  padding: 20px 28px;
}

.process-reading span {
  display: block;
  margin-bottom: 6px;
  color: #64d2ad;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-reading p {
  max-width: 690px;
  margin: 0;
  color: #d1ddd9;
  font-size: 14px;
  line-height: 1.45;
  transition: opacity 180ms ease, transform 180ms ease;
}

.process-progress {
  overflow: hidden;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.process-progress i {
  display: block;
  width: 14.285%;
  height: 100%;
  background: #64d2ad;
  box-shadow: 0 0 12px rgba(100, 210, 173, 0.7);
  transition: width 480ms ease;
}

.process-console-foot > strong {
  color: #f2f7f5;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  .process-heading {
    grid-template-columns: 1fr 0.75fr;
    gap: 54px;
  }

  .process-console ol {
    grid-template-columns: repeat(4, 1fr);
  }

  .process-console ol::before,
  .process-console li > i {
    display: none;
  }

  .process-console li {
    min-height: 170px;
    border-bottom: 1px solid rgba(192, 223, 212, 0.12);
  }

  .process-console li:nth-child(4) {
    border-right: 0;
  }
}

@media (max-width: 720px) {
  .process-heading {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 42px;
  }

  .process-heading h2 {
    font-size: clamp(44px, 14vw, 64px);
    line-height: 0.98;
  }

  .process-console-head {
    grid-template-columns: 1fr auto;
    padding: 0 18px;
  }

  .process-console-head b {
    display: none;
  }

  .process-console ol {
    grid-template-columns: 1fr;
  }

  .process-console li {
    min-height: 0;
    grid-template-columns: 42px 1fr;
    grid-template-rows: 1fr;
    gap: 12px;
    align-items: center;
    border-right: 0;
    padding: 17px 18px;
  }

  .process-console li > div {
    align-self: center;
  }

  .process-console li b {
    margin-bottom: 3px;
  }

  .process-console li small {
    min-height: 0;
  }

  .process-console li.is-current {
    transform: translateX(6px);
  }

  .process-console-foot {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 23px 18px;
  }

  .process-console-foot > strong {
    color: #64d2ad;
  }
}

.flow-map-core::after {
  position: absolute;
  inset: -10px;
  border: 1px solid var(--brand);
  content: "";
  opacity: 0;
  animation: core-signal 3s ease-out infinite;
}

.flow-editions {
  display: grid;
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.flow-editions > div {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.flow-editions b {
  color: var(--brand);
  font-size: 13px;
}

.flow-editions span {
  color: var(--muted);
  font-size: 12px;
}

.ecosystem-item {
  grid-template-columns: 100px 1fr auto;
}

.ecosystem-item > a.ecosystem-open {
  display: inline-flex;
  width: auto;
  min-width: 148px;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 15px;
  font-size: 12px;
  font-weight: 700;
}

.ecosystem-open b {
  font-size: 18px;
  font-weight: 500;
}

.zy-section {
  overflow: hidden;
}

.zy-section .zy-portrait {
  height: 710px;
  border: 0;
  background: linear-gradient(150deg, #0b1714, #101b18);
}

.zy-section .zy-portrait img {
  object-fit: contain;
  object-position: center bottom;
  filter: none;
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(100, 210, 173, 0.48); }
  70% { box-shadow: 0 0 0 9px rgba(100, 210, 173, 0); }
  100% { box-shadow: 0 0 0 0 rgba(100, 210, 173, 0); }
}

@keyframes scan-dashboard {
  0%, 100% { transform: translateY(0); opacity: 0; }
  15% { opacity: 0.7; }
  75% { opacity: 0.45; }
  90% { transform: translateY(410px); opacity: 0; }
}

@keyframes zy-presence {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.003); }
}

@keyframes chip-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes orbit-breathe {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50% { transform: scale(1.035); opacity: 0.8; }
}

@keyframes scenario-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(3); }
}

@keyframes data-travel {
  0% { transform: translateX(-110%); }
  60%, 100% { transform: translateX(110%); }
}

@keyframes briefing-change {
  0% { opacity: 0.55; transform: translateY(5px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes board-update {
  0% { opacity: 0.35; transform: translateX(8px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes activity-bars {
  0% { transform: scaleY(0.48); opacity: 0.42; }
  100% { transform: scaleY(1); opacity: 0.9; }
}

@keyframes path-signal {
  0%, 100% { background: #33423b; }
  40%, 60% { background: var(--hero-accent); }
}

@keyframes core-signal {
  0% { opacity: 0.5; transform: scale(0.94); }
  100% { opacity: 0; transform: scale(1.14); }
}

@media (max-width: 1120px) {
  .hero-v18 .hero-layout {
    grid-template-columns: minmax(370px, 0.8fr) minmax(0, 1.2fr);
    gap: 10px;
  }

  .hero-v18 .hero-copy h1 {
    font-size: clamp(52px, 5.5vw, 70px);
  }

  .zy-stage {
    min-height: 610px;
  }

  .stage-dashboard {
    right: 0;
    width: 96%;
  }

  .zy-hero-figure {
    right: -1%;
  }

  .chip-one {
    right: 1%;
  }

  .chip-two {
    right: 3%;
  }

  .live-briefing {
    left: 0;
    width: min(64%, 360px);
  }

  .retrieval-heading {
    grid-template-columns: 0.52fr 1.18fr;
  }

  .retrieval-heading > p:last-child {
    grid-column: 2;
  }

  .platform-architecture {
    grid-template-columns: 1fr 48px 0.72fr 48px 1fr;
  }

  .architecture-layer {
    min-height: 240px;
    padding: 22px;
  }
}

@media (max-width: 840px) {
  .hero-v18 {
    min-height: auto;
    padding-top: 120px;
  }

  .hero-v18 .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-v18 .hero-copy {
    max-width: 680px;
  }

  .hero-v18 .hero-copy h1 {
    max-width: 650px;
    font-size: clamp(56px, 10vw, 78px);
  }

  .zy-stage {
    width: min(100%, 680px);
    min-height: 690px;
    margin-inline: auto;
  }

  .stage-dashboard {
    right: 0;
    width: 100%;
  }

  .zy-hero-figure {
    right: -2%;
  }

  .scenario-controls {
    margin-top: 8px;
  }

  .scenario-controls button {
    min-height: 78px;
    padding: 12px;
  }

  .platform-architecture {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .architecture-layer {
    min-height: 190px;
  }

  .architecture-layer > span {
    margin-bottom: 28px;
  }

  .architecture-connector {
    min-height: 58px;
    flex-direction: column;
  }

  .architecture-connector::before {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: auto;
  }

  .retrieval-heading {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .retrieval-heading > p:last-child {
    grid-column: 1;
    max-width: 580px;
  }

  .retrieval-scene {
    min-height: 720px;
  }

  .retrieval-scene::after {
    background: linear-gradient(to bottom, transparent 20%, rgba(5, 12, 11, 0.18) 44%, rgba(5, 12, 11, 0.96) 78%);
  }

  .retrieval-scene > img {
    height: 68%;
    object-position: 42% center;
  }

  .zy-delivery {
    top: auto;
    right: 20px;
    bottom: 54px;
    left: 20px;
    width: auto;
    transform: none;
  }

  .context-route {
    display: none;
  }

  .zy-action-heading {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .action-console {
    grid-template-columns: 1fr;
  }

  .action-rail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .action-rail button {
    min-height: 104px;
    grid-template-columns: 30px 1fr;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 0;
    padding: 14px;
  }

  .action-rail button i {
    display: none;
  }

  .action-rail button.is-active::before {
    inset: auto 0 0;
    width: auto;
    height: 3px;
  }
}

@media (max-width: 560px) {
  .hero-v18 {
    padding-bottom: 30px;
  }

  .hero-v18 .hero-copy h1 {
    font-size: clamp(47px, 14vw, 66px);
  }

  .hero-v18 .hero-name {
    font-size: 0.7em;
  }

  .hero-trust {
    display: grid;
  }

  .zy-stage {
    min-height: 580px;
  }

  .stage-dashboard {
    top: 2%;
    right: -16%;
    width: 112%;
    height: 68%;
    padding: 18px;
    opacity: 0.94;
  }

  .board-context {
    max-width: 72%;
    padding: 18px 0 15px;
  }

  .board-context strong {
    font-size: 18px;
  }

  .board-metrics {
    max-width: 88%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .board-metrics > div {
    min-height: 94px;
    padding-top: 12px;
  }

  .board-metrics > div:nth-child(3),
  .board-activity {
    display: none;
  }

  .board-route {
    max-width: 90%;
    padding-top: 15px;
  }

  .board-feed {
    right: 18px;
    bottom: 17px;
    left: 18px;
  }

  .zy-hero-figure {
    right: -11%;
    width: 91%;
    height: 93%;
  }

  .zy-presence {
    top: 1%;
    left: 0;
  }

  .signal-chip {
    display: none;
  }

  .live-briefing {
    bottom: 0;
    left: 0;
    width: 90%;
    padding: 15px;
  }

  .live-briefing h2 {
    font-size: 21px;
  }

  .scenario-controls {
    grid-template-columns: 1fr;
  }

  .scenario-controls button {
    min-height: 66px;
    border-right: 0;
    border-bottom: 1px solid var(--hero-line);
  }

  .scenario-progress {
    display: none;
  }

  .hero-v18 .operation-flow {
    margin-top: 28px;
  }

  .retrieval-heading h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .retrieval-scene {
    min-height: 710px;
  }

  .search-fragment {
    min-width: 105px;
  }

  .fragment-one { top: 8%; left: 4%; }
  .fragment-two { top: 28%; left: 46%; }
  .fragment-three { top: 45%; left: 8%; }

  .zy-delivery {
    right: 12px;
    bottom: 48px;
    left: 12px;
    padding: 18px;
  }

  .zy-delivery header {
    grid-template-columns: auto 1fr;
  }

  .zy-delivery header small {
    display: none;
  }

  .zy-delivery h3 {
    font-size: 23px;
  }

  .retrieval-caption {
    right: 12px;
    bottom: 16px;
    left: 12px;
    gap: 7px;
    font-size: 8px;
  }

  .retrieval-caption i {
    width: 25px;
  }

  .zy-action-heading h2 {
    font-size: clamp(43px, 12vw, 57px);
  }

  .action-rail {
    grid-template-columns: 1fr;
  }

  .action-rail button {
    min-height: 78px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .action-metrics {
    grid-template-columns: 1fr;
  }

  .action-metrics div:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .action-evidence {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .action-detail > footer {
    display: grid;
    min-height: 96px;
    align-content: center;
  }

  .action-detail > footer strong {
    margin-left: 0;
  }

  .zy-section .zy-portrait {
    height: 590px;
  }
}

@media (max-width: 840px) {
  .search-story {
    grid-template-columns: 1fr;
  }

  .search-chaos {
    min-height: 570px;
    border-right: 0;
    border-bottom: 1px solid #26352f;
  }

  .search-chaos > img {
    object-position: center;
  }

  .story-bridge {
    display: none;
  }

  .search-answer {
    min-height: 610px;
    padding-top: 108px;
  }
}

@media (max-width: 560px) {
  .search-chaos {
    min-height: 500px;
  }

  .search-chaos > img {
    height: 100%;
    object-position: 46% center;
  }

  .story-label {
    top: 12px;
    left: 12px;
  }

  .source-counter {
    right: 12px;
    bottom: 84px;
    left: 12px;
  }

  .source-counter span {
    min-height: 50px;
    flex-direction: column;
    gap: 0;
  }

  .source-counter b {
    font-size: 20px;
  }

  .search-waiting {
    right: 12px;
    bottom: 12px;
    left: 12px;
    min-height: 60px;
  }

  .search-answer {
    min-height: 620px;
    padding: 98px 18px 22px;
  }

  .search-answer .story-label {
    right: 12px;
    left: 12px;
  }

  .answer-sources {
    gap: 5px;
  }

  .search-answer > h3 {
    font-size: 27px;
  }

  .search-answer dl > div {
    grid-template-columns: 68px 1fr;
    gap: 10px;
  }

  .flow-editions > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .ecosystem-item {
    grid-template-columns: 42px 1fr;
  }

  .ecosystem-item > a.ecosystem-open {
    grid-column: 2;
    width: max-content;
    min-width: 138px;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage-scan,
  .zy-hero-figure,
  .live-pulse,
  .signal-chip,
  .hero-orbit,
  .scenario-progress i,
  .operation-flow i::after,
  .action-path i,
  .flow-map-core::after {
    animation: none !important;
  }

  .search-fragment,
  .zy-delivery::before,
  .context-route i,
  .source-counter span,
  .search-waiting > i,
  .story-bridge span,
  .answer-sources i::after {
    animation: none !important;
  }

  .architecture-connector i {
    animation: none !important;
  }
}

/* V19 - Plataforma Viva demonstrada dentro do primeiro sistema */
.hero-v19 {
  min-height: 970px;
  overflow: hidden;
  padding: 132px 0 38px;
  background:
    radial-gradient(circle at 78% 36%, rgba(83, 185, 150, 0.15), transparent 30%),
    radial-gradient(circle at 54% 78%, rgba(255, 138, 104, 0.07), transparent 28%),
    linear-gradient(116deg, #06100d 0%, #0a1713 52%, #050b09 100%);
  color: #f6f8f7;
  isolation: isolate;
}

.hero-v19::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(6, 16, 13, 0.96) 0%, rgba(6, 16, 13, 0.64) 38%, rgba(6, 16, 13, 0.08) 100%);
  content: "";
}

.hero-v19 .hero-grid {
  z-index: -2;
  opacity: 0.14;
  background-image: linear-gradient(var(--hero-line) 1px, transparent 1px), linear-gradient(90deg, var(--hero-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 2%, transparent 94%);
}

.hero-layout-v19 {
  min-height: 650px;
  grid-template-columns: minmax(390px, 0.72fr) minmax(660px, 1.28fr);
  gap: 28px;
}

.hero-copy-v19 {
  position: relative;
  z-index: 8;
  align-self: center;
}

.hero-v19 .eyebrow {
  color: var(--hero-accent);
}

.hero-v19 .hero-copy h1 {
  max-width: 590px;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(54px, 5.1vw, 78px);
  font-weight: 580;
  line-height: 0.98;
}

.hero-v19 .platform-name {
  display: block;
  margin-bottom: 16px;
  color: var(--hero-accent);
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  font-size: 0.62em;
  font-style: normal;
  font-weight: 680;
  line-height: 1;
}

.hero-v19 .hero-copy h1 em {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--hero-signal);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

.hero-v19 .hero-lead {
  max-width: 555px;
  color: #adbbb5;
  font-size: 17px;
  line-height: 1.65;
}

.hero-v19 .button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.hero-hierarchy {
  display: grid;
  max-width: 560px;
  grid-template-columns: 1fr 28px 0.58fr 28px 0.78fr;
  align-items: center;
  margin-top: 32px;
  border-top: 1px solid var(--hero-line);
  border-bottom: 1px solid var(--hero-line);
  padding: 14px 0;
}

.hero-hierarchy span {
  display: grid;
  gap: 3px;
}

.hero-hierarchy small {
  color: #6f827a;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-hierarchy b {
  color: #e5ede9;
  font-size: 12px;
}

.hero-hierarchy i {
  position: relative;
  display: block;
  height: 1px;
  overflow: hidden;
  background: var(--hero-line);
}

.hero-hierarchy i::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--hero-accent), transparent);
  content: "";
  transform: translateX(-110%);
  animation: data-travel 2.4s linear infinite;
}

.v19-stage {
  position: relative;
  min-height: 650px;
  transform: translate3d(var(--stage-x, 0), var(--stage-y, 0), 0);
  transition: transform 400ms ease-out;
}

.v19-app-window {
  position: absolute;
  top: 40px;
  right: 0;
  left: 0;
  height: 540px;
  overflow: hidden;
  border: 1px solid rgba(188, 222, 210, 0.2);
  border-radius: 7px;
  background: rgba(6, 15, 13, 0.94);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.46);
  transform: perspective(1400px) rotateY(-2deg);
  transform-origin: right center;
}

.v19-app-window::after {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(90deg, transparent 56%, rgba(5, 12, 10, 0.72) 82%, rgba(5, 12, 10, 0.94));
  content: "";
  pointer-events: none;
}

.v19-app-bar {
  position: relative;
  z-index: 5;
  display: grid;
  min-height: 48px;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--hero-line);
  padding: 0 16px;
  background: rgba(12, 26, 22, 0.94);
}

.window-controls {
  display: flex;
  gap: 5px;
}

.window-controls i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3d5048;
}

.window-controls i:first-child { background: var(--hero-signal); }
.window-controls i:nth-child(2) { background: #d6b95f; }
.window-controls i:last-child { background: var(--hero-accent); }

.v19-product-mark {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.v19-product-mark b {
  color: #f7faf8;
  font-size: 13px;
}

.v19-product-mark small {
  color: #71867d;
  font-size: 9px;
}

.v19-live-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8fa198;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.v19-live-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hero-accent);
  box-shadow: 0 0 0 0 rgba(100, 210, 173, 0.5);
  animation: live-pulse 2s infinite;
}

.v19-app-body {
  display: grid;
  height: calc(100% - 48px);
  grid-template-columns: 142px 1fr;
}

.v19-sidebar {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-right: 1px solid var(--hero-line);
  padding: 20px 12px;
  background: rgba(7, 18, 15, 0.78);
}

.v19-sidebar > b {
  margin: 0 8px 12px;
  color: #64776f;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.v19-sidebar span {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  border-left: 2px solid transparent;
  padding: 0 8px;
  color: #73867e;
  font-size: 9px;
  font-weight: 650;
  transition: 280ms ease;
}

.v19-sidebar span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #43564e;
}

.v19-sidebar span.is-current {
  border-left-color: var(--hero-accent);
  background: rgba(100, 210, 173, 0.08);
  color: #e5ede9;
  transform: translateX(2px);
}

.v19-sidebar span.is-current i {
  background: var(--hero-accent);
  box-shadow: 0 0 12px rgba(100, 210, 173, 0.52);
}

.v19-workspace {
  position: relative;
  padding: 24px 26px;
  background:
    linear-gradient(var(--hero-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-line) 1px, transparent 1px);
  background-size: 42px 42px;
}

.v19-workspace-head {
  position: relative;
  z-index: 3;
  display: flex;
  max-width: 74%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.v19-workspace-head small {
  display: block;
  margin-bottom: 5px;
  color: var(--hero-signal);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.v19-workspace-head h2 {
  max-width: 330px;
  margin: 0;
  color: #f6faf8;
  font-size: 21px;
  font-weight: 560;
  line-height: 1.12;
}

.v19-workspace-head > b {
  border: 1px solid rgba(100, 210, 173, 0.28);
  padding: 6px 8px;
  color: var(--hero-accent);
  font-size: 7px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.v19-metrics {
  position: relative;
  z-index: 3;
  display: grid;
  max-width: 74%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 23px;
  border-top: 1px solid var(--hero-line);
  border-bottom: 1px solid var(--hero-line);
}

.v19-metrics > div {
  min-height: 92px;
  border-right: 1px solid var(--hero-line);
  padding: 13px 12px 10px 0;
}

.v19-metrics > div + div { padding-left: 12px; }
.v19-metrics > div:last-child { border-right: 0; }

.v19-metrics span,
.v19-metrics small {
  display: block;
  color: #6f827a;
  font-size: 7px;
  line-height: 1.35;
}

.v19-metrics span {
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.v19-metrics b {
  display: block;
  margin: 4px 0 2px;
  color: #f4f8f6;
  font-family: "Newsreader", Georgia, serif;
  font-size: 28px;
  font-weight: 520;
}

.v19-event-path {
  position: relative;
  z-index: 3;
  display: grid;
  max-width: 75%;
  grid-template-columns: auto 24px auto 24px auto 24px auto;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
}

.v19-event-path span {
  position: relative;
  display: grid;
  gap: 2px;
  color: #697c74;
  transition: 260ms ease;
}

.v19-event-path span i {
  position: absolute;
  top: 1px;
  left: -9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #3c5047;
}

.v19-event-path small {
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.v19-event-path b {
  color: inherit;
  font-size: 7px;
  white-space: nowrap;
}

.v19-event-path em {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: var(--hero-line);
}

.v19-event-path em::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--hero-accent), transparent);
  content: "";
  transform: translateX(-110%);
}

.v19-event-path span.is-current {
  color: #dce8e3;
  transform: translateY(-2px);
}

.v19-event-path span.is-current i {
  background: var(--hero-accent);
  box-shadow: 0 0 10px rgba(100, 210, 173, 0.7);
}

.v19-event-path span.is-current + em::after {
  animation: data-travel 1.3s linear infinite;
}

.v19-activity {
  position: absolute;
  right: 24%;
  bottom: 28px;
  left: 26px;
  z-index: 2;
  display: flex;
  height: 82px;
  align-items: flex-end;
  gap: 6px;
  border-bottom: 1px solid var(--hero-line);
  opacity: 0.54;
}

.v19-activity span {
  width: 100%;
  height: var(--activity);
  background: linear-gradient(to top, rgba(100, 210, 173, 0.04), rgba(100, 210, 173, 0.48));
  transform-origin: bottom;
  animation: activity-bars 3.6s ease-in-out infinite alternate;
}

.v19-activity span:nth-child(2n) { animation-delay: -1.2s; }
.v19-activity span:nth-child(3n) { animation-delay: -2.4s; }

.zy-hero-v19 {
  right: -4%;
  bottom: -2px;
  z-index: 7;
  width: min(49%, 360px);
  height: 92%;
  filter: drop-shadow(-16px 25px 30px rgba(0, 0, 0, 0.5));
}

.zy-presence-v19 {
  top: 2px;
  left: 14px;
  z-index: 9;
  max-width: 360px;
}

.zy-presence-v19 small {
  max-width: 290px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-briefing-v19 {
  bottom: 2px;
  left: 18px;
  z-index: 10;
  width: min(56%, 390px);
  border-left: 3px solid var(--hero-accent);
  background: rgba(10, 25, 21, 0.94);
}

.v19-app-window.is-updating .v19-workspace-head,
.v19-app-window.is-updating .v19-metrics,
.v19-app-window.is-updating .v19-event-path {
  animation: board-update 480ms ease;
}

.hero-v19 .scenario-controls {
  margin-top: 16px;
}

.v19-operation-flow {
  margin-top: 28px;
  color: #6f8279;
}

.v19-operation-flow i {
  position: relative;
  overflow: hidden;
  background: var(--hero-line);
}

.v19-operation-flow i::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--hero-accent), transparent);
  content: "";
  transform: translateX(-110%);
  animation: data-travel 3.1s linear infinite;
}

.hero-v19 [data-flow-step] {
  transition: color 300ms ease;
}

.hero-v19 [data-flow-step].is-active {
  color: var(--hero-accent);
}

@media (max-width: 1180px) {
  .hero-layout-v19 {
    grid-template-columns: minmax(350px, 0.72fr) minmax(570px, 1.28fr);
    gap: 10px;
  }

  .hero-v19 .hero-copy h1 {
    font-size: clamp(50px, 5vw, 67px);
  }

  .v19-app-body {
    grid-template-columns: 118px 1fr;
  }

  .v19-workspace {
    padding-inline: 20px;
  }

  .v19-workspace-head,
  .v19-metrics,
  .v19-event-path {
    max-width: 76%;
  }
}

@media (max-width: 920px) {
  .hero-v19 {
    min-height: auto;
    padding-top: 118px;
  }

  .hero-layout-v19 {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-copy-v19 {
    max-width: 720px;
  }

  .hero-v19 .hero-copy h1 {
    max-width: 720px;
    font-size: clamp(55px, 9vw, 78px);
  }

  .v19-stage {
    width: min(100%, 760px);
    min-height: 680px;
    margin-inline: auto;
  }

  .v19-app-window {
    left: 2%;
  }
}

@media (max-width: 620px) {
  .hero-v19 {
    padding-bottom: 30px;
  }

  .hero-v19 .hero-copy h1 {
    font-size: clamp(45px, 13vw, 63px);
  }

  .hero-hierarchy {
    display: none;
  }

  .v19-stage {
    min-height: 650px;
  }

  .v19-app-window {
    top: 46px;
    left: 0;
    height: 500px;
  }

  .v19-app-bar {
    grid-template-columns: 56px 1fr auto;
    padding-inline: 10px;
  }

  .v19-product-mark small,
  .v19-sidebar,
  .v19-live-state {
    display: none;
  }

  .v19-app-body {
    grid-template-columns: 1fr;
  }

  .v19-workspace {
    padding: 22px 14px;
  }

  .v19-workspace-head,
  .v19-metrics,
  .v19-event-path {
    max-width: 80%;
  }

  .v19-workspace-head > b,
  .v19-metrics > div:nth-child(3) {
    display: none;
  }

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

  .v19-event-path {
    grid-template-columns: auto 18px auto 18px auto;
  }

  .v19-event-path span:nth-of-type(4),
  .v19-event-path em:nth-of-type(3) {
    display: none;
  }

  .v19-activity {
    right: 12%;
    left: 14px;
  }

  .zy-hero-v19 {
    right: -16%;
    width: 67%;
    height: 88%;
  }

  .zy-presence-v19 {
    left: 0;
    max-width: 92%;
  }

  .live-briefing-v19 {
    bottom: 0;
    left: 0;
    width: 92%;
    padding: 15px;
  }

  .live-briefing-v19 h2 {
    font-size: 21px;
  }

  .hero-v19 .scenario-controls {
    grid-template-columns: 1fr;
  }

  .hero-v19 .scenario-controls button {
    min-height: 64px;
    border-right: 0;
    border-bottom: 1px solid var(--hero-line);
  }

  .hero-v19 .scenario-progress {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-hierarchy i::after,
  .v19-live-state i,
  .v19-event-path em::after,
  .v19-activity span,
  .v19-operation-flow i::after {
    animation: none !important;
  }
}
