@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --paper: #f7f9fa;
  --white: #ffffff;
  --ink: #071426;
  --navy: #061629;
  --navy-soft: #0a2238;
  --muted: #65717f;
  --line: #dbe2e6;
  --dark-line: #234158;
  --cyan: #08cde0;
  --cyan-bright: #00e3ef;
  --cyan-dark: #008da2;
  --success: #35e3b6;
  --coral: #ff735f;
  --display: 'Barlow Condensed', Arial, sans-serif;
  --body: 'Inter', Arial, sans-serif;
  --header-height: 66px;
  --content: 1440px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.nav-is-open,
body:has(.video-dialog[open]) {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

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

.svg-sprite,
.pixel-fallback {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.icon-fill {
  fill: currentColor;
  stroke: none;
}

.icon--back {
  transform: rotate(180deg);
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 9px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-inner,
.site-header__inner {
  width: min(calc(100% - 64px), var(--content));
  margin-inline: auto;
}

.section-light {
  background: var(--white);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(7, 20, 38, 0.1);
  background: rgba(247, 249, 250, 0.96);
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 28px rgba(7, 20, 38, 0.07);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand--cognix {
  display: inline-flex;
  align-items: center;
  min-width: 132px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 7px;
}

.brand--cognix strong {
  color: #4269e8;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.main-nav > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  white-space: nowrap;
}

.main-nav > a:not(.nav-demo):not(.nav-login)::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--cyan);
  content: '';
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav > a:hover::after,
.main-nav > a:focus-visible::after {
  transform: scaleX(1);
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-left: auto;
}

.language-switch__link {
  position: relative;
  display: grid;
  min-width: 18px;
  min-height: 32px;
  place-items: center;
  color: #596572;
  font-size: 10px;
  font-weight: 700;
}

.language-switch__link::after {
  position: absolute;
  right: 1px;
  bottom: 1px;
  left: 1px;
  height: 2px;
  background: var(--cyan);
  content: '';
  opacity: 0;
}

.language-switch__link.is-active {
  color: var(--ink);
}

.language-switch__link.is-active::after {
  opacity: 1;
}

.nav-login {
  color: #3b4753;
}

.nav-demo {
  color: #00a9c1;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  place-items: center;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(640px, 1.35fr);
  align-items: center;
  width: min(calc(100% - 64px), var(--content));
  min-height: 700px;
  margin-inline: auto;
  padding: 64px 0 90px;
}

.hero__copy {
  position: relative;
  z-index: 3;
  align-self: center;
  padding: 0 12px 0 0;
}

.hero h1 {
  max-width: 560px;
  margin-bottom: 26px;
  font-family: var(--display);
  font-size: 68px;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero__copy > p {
  max-width: 500px;
  margin-bottom: 34px;
  color: #303b47;
  font-size: 18px;
  line-height: 1.52;
}

.hero__actions,
.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button .icon {
  margin-left: 10px;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--cyan {
  color: var(--ink);
  background: var(--cyan);
  box-shadow: 0 12px 28px rgba(8, 205, 224, 0.18);
}

.button--cyan:hover,
.button--cyan:focus-visible {
  background: var(--cyan-bright);
  box-shadow: 0 16px 34px rgba(8, 205, 224, 0.25);
}

.button--outline-cyan {
  color: #00a6bc;
  border-color: var(--cyan);
  background: transparent;
}

.button--outline-cyan:hover,
.button--outline-cyan:focus-visible {
  color: var(--ink);
  background: rgba(8, 205, 224, 0.08);
}

.button--outline {
  color: var(--white);
  border-color: #456177;
  background: transparent;
}

.hero__media {
  position: relative;
  min-width: 0;
  min-height: 520px;
}

.hero-product-shell {
  position: absolute;
  top: 90px;
  left: 0;
  width: 76%;
  height: 390px;
}

.product-media {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(7, 20, 38, 0.15);
  border-radius: 5px;
  background: var(--navy);
  box-shadow: 0 30px 70px rgba(7, 20, 38, 0.18);
}

.product-media--hero {
  width: 100%;
  height: 100%;
}

.product-media__chrome {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  color: #9dabb7;
  border-bottom: 1px solid #1b3d56;
  background: #082036;
  font-size: 9px;
}

.product-media__chrome > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4f6779;
}

.product-media__chrome b {
  position: absolute;
  left: 50%;
  font-weight: 600;
  transform: translateX(-50%);
}

.product-media__chrome em {
  margin-left: auto;
  color: var(--cyan);
  font-style: normal;
  font-weight: 800;
}

.product-media__viewport,
.workflow-canvas__viewport,
.video-stage__viewport {
  position: relative;
  overflow: hidden;
  height: calc(100% - 34px);
  background: var(--navy);
}

.product-image-crop img {
  width: 118%;
  max-width: none;
  height: auto;
  transform: translate(-15%, -8%);
  transform-origin: top left;
}

.workflow-canvas__viewport.is-contain {
  display: grid;
  background: #061629;
  place-items: center;
}

.workflow-canvas__viewport.is-contain img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}

.hero-output-stack {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 0;
  width: 46%;
  height: 470px;
}

.visual-card {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  aspect-ratio: 0.72;
  overflow: hidden;
  padding: 18px;
  color: var(--white);
  border: 1px solid rgba(126, 173, 203, 0.27);
  border-radius: 6px;
  background: var(--navy);
  box-shadow: 0 24px 48px rgba(2, 12, 23, 0.28);
  isolation: isolate;
  transition: border-color 200ms ease, transform 240ms ease, opacity 200ms ease;
}

.visual-card.visual-card--showcase {
  aspect-ratio: 4 / 5;
  padding: 0;
  background: #061629;
}

.visual-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-card__brand {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 28px;
  color: #ecf8fb;
  font-family: var(--body);
  font-size: 8px;
  font-weight: 700;
}

.visual-card__brand img {
  width: 24px;
  height: 24px;
}

.visual-card__copy {
  position: relative;
  z-index: 4;
  margin-top: auto;
}

.visual-card__copy > span {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.visual-card h3 {
  max-width: 100%;
  margin-bottom: 0;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.02;
}

.visual-card > small {
  position: relative;
  z-index: 4;
  display: block;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(223, 243, 248, 0.3);
  color: #d9e3e8;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.visual-card__photo {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 58%;
  overflow: hidden;
  opacity: 0.84;
}

.visual-card__photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6, 22, 41, 0.12), var(--navy));
  content: '';
}

.visual-card__photo img {
  width: 175%;
  max-width: none;
  transform: translate(-34%, -8%);
}

.visual-card--editorial {
  background: #092365;
}

.visual-card__edition {
  position: absolute;
  top: 28%;
  left: 14px;
  color: var(--cyan-bright);
  font-family: var(--display);
  font-size: 96px;
  font-weight: 600;
  line-height: 0.8;
}

.visual-card__rule {
  position: absolute;
  top: 54%;
  right: 18px;
  left: 18px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.visual-card--grid {
  background: #0a1a2d;
}

.visual-card__grid {
  position: absolute;
  top: 70px;
  right: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  height: 42%;
}

.visual-card__grid span {
  border: 1px solid rgba(8, 205, 224, 0.55);
  background: rgba(8, 205, 224, 0.08);
}

.visual-card__grid span:nth-child(1),
.visual-card__grid span:nth-child(5) {
  background: var(--cyan);
}

.visual-card--data {
  background: #0b2136;
}

.visual-card__metric {
  position: absolute;
  top: 80px;
  left: 18px;
  color: var(--cyan);
  font-family: var(--display);
  font-size: 62px;
  font-weight: 700;
  line-height: 1;
}

.visual-card__bars {
  position: absolute;
  top: 165px;
  right: 18px;
  left: 18px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 66px;
  border-bottom: 1px solid #4c6679;
}

.visual-card__bars i {
  flex: 1;
  height: var(--bar);
  background: var(--cyan);
}

.visual-card--brutalist {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--cyan);
}

.visual-card--brutalist .visual-card__brand,
.visual-card--brutalist .visual-card__copy > span,
.visual-card--brutalist > small {
  color: var(--ink);
}

.visual-card--brutalist > small {
  border-color: rgba(7, 20, 38, 0.4);
}

.visual-card__brutal {
  position: absolute;
  top: 76px;
  left: 15px;
  font-family: var(--display);
  font-size: 54px;
  font-weight: 800;
  line-height: 0.78;
}

.visual-card--terminal {
  background: #020d17;
}

.visual-card__terminal {
  position: absolute;
  top: 86px;
  right: 18px;
  left: 18px;
  display: grid;
  gap: 9px;
  color: #7ea9bd;
  font-family: Consolas, monospace;
  font-size: 9px;
}

.visual-card__terminal .is-ready {
  color: var(--success);
}

.hero-output-card {
  position: absolute;
  top: 0;
  right: 0;
  width: 245px;
}

.hero-output-card--1 {
  z-index: 3;
  right: 16%;
}

.hero-output-card--2 {
  z-index: 2;
  top: 32px;
  right: 2%;
  transform: rotate(2deg) scale(0.94);
}

.hero-output-card--3 {
  z-index: 1;
  top: 66px;
  right: -8%;
  transform: rotate(3deg) scale(0.88);
}

.hero-output-card h3 {
  font-size: 25px;
}

.hero-progress {
  position: absolute;
  right: 4%;
  bottom: 4px;
  left: 1%;
  height: 2px;
  background: #d9e1e5;
}

.hero-progress span {
  display: block;
  width: 10%;
  height: 100%;
  background: var(--cyan);
}

.section-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  transform: translateX(-50%);
}

.section-cue span {
  width: 1px;
  height: 28px;
  background: var(--line);
}

.workflow {
  padding: 82px 0 104px;
  border-top: 1px solid #eef2f4;
}

.section-title,
.gallery__intro h2,
.engine__copy h2,
.video-section__copy h2,
.faq h2,
.final-cta h2 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.section-title {
  margin-bottom: 52px;
  font-size: 58px;
  text-align: center;
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.66fr) minmax(620px, 1.5fr);
  gap: 70px;
  align-items: center;
}

.workflow-steps {
  position: relative;
  display: grid;
}

.workflow-steps::before {
  position: absolute;
  top: 38px;
  bottom: 38px;
  left: 31px;
  width: 1px;
  background: #b9c6ce;
  content: '';
}

.workflow-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 116px;
  padding: 9px 18px 9px 0;
  color: inherit;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.workflow-step__number {
  display: grid;
  width: 64px;
  height: 64px;
  color: #34475a;
  border: 1px solid #b9c6ce;
  border-radius: 50%;
  background: var(--white);
  place-items: center;
  font-size: 16px;
  font-weight: 600;
}

.workflow-step__copy {
  display: grid;
  gap: 4px;
}

.workflow-step__copy strong {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 600;
  line-height: 1;
}

.workflow-step__copy > span {
  color: #566575;
  font-size: 13px;
  line-height: 1.55;
}

.workflow-step:hover .workflow-step__number,
.workflow-step:focus-visible .workflow-step__number,
.workflow-step.is-active .workflow-step__number {
  color: var(--white);
  border-color: var(--cyan);
  background: var(--navy);
  box-shadow: 0 0 0 4px rgba(8, 205, 224, 0.22);
}

.workflow-step.is-active {
  border-color: var(--cyan);
}

.workflow-step.is-active .workflow-step__copy strong {
  color: #00a9bd;
}

.workflow-canvas,
.video-stage {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid #24435a;
  border-radius: 5px;
  background: var(--navy);
  box-shadow: 0 25px 65px rgba(7, 20, 38, 0.17);
}

.workflow-canvas {
  min-height: 520px;
}

.workflow-canvas__viewport {
  height: 434px;
}

.workflow-live-status {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  min-height: 92px;
  padding: 16px 22px;
  color: var(--white);
  border-top: 1px solid var(--dark-line);
  background: rgba(6, 22, 41, 0.98);
}

.workflow-live-status > span {
  color: var(--cyan);
  font-family: var(--display);
  font-size: 36px;
  font-weight: 700;
}

.workflow-live-status strong {
  display: block;
  font-size: 14px;
}

.workflow-live-status p {
  margin: 2px 0 0;
  color: #a7b7c3;
  font-size: 11px;
  line-height: 1.45;
}

.workflow-canvas.is-changing img {
  animation: product-switch 320ms ease;
}

.gallery {
  overflow: hidden;
  padding: 92px 0 72px;
}

.gallery__intro {
  margin-bottom: 38px;
}

.gallery__intro h2 {
  max-width: 840px;
  margin-bottom: 14px;
  font-size: 58px;
}

.gallery__intro p {
  max-width: 560px;
  margin-bottom: 0;
  color: #3c4854;
  font-size: 16px;
  line-height: 1.5;
}

.gallery-showcase {
  position: relative;
  min-height: 520px;
  padding: 45px 0 34px;
  background: var(--navy);
}

.gallery-rail {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  overflow-x: auto;
  padding: 24px max(56px, calc((100vw - 1320px) / 2)) 28px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.gallery-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.gallery-rail::-webkit-scrollbar {
  display: none;
}

.gallery-rail .visual-card {
  width: 286px;
  scroll-snap-align: center;
  opacity: 0.7;
  transform: scale(0.92);
}

.gallery-rail .visual-card.is-active {
  z-index: 2;
  border-color: var(--cyan);
  opacity: 1;
  transform: translateY(-8px) scale(1);
}

.gallery-arrow {
  position: absolute;
  z-index: 8;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--white);
  border: 1px solid #456177;
  border-radius: 50%;
  background: rgba(6, 22, 41, 0.88);
  cursor: pointer;
  place-items: center;
  transform: translateY(-50%);
}

.gallery-arrow--previous {
  left: 18px;
}

.gallery-arrow--next {
  right: 18px;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  color: var(--ink);
  border-color: var(--cyan);
  background: var(--cyan);
}

.gallery__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 70px;
  color: #3b4753;
  font-size: 12px;
}

.gallery__hint .icon {
  width: 16px;
}

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gallery-controls > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #00a9bd;
  font-size: 12px;
  font-weight: 700;
}

.gallery-controls > span .icon {
  width: 14px;
}

.style-tabs {
  display: flex;
  align-items: stretch;
  gap: 34px;
  min-height: 66px;
}

.style-tab {
  position: relative;
  padding: 0;
  color: #2e3944;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.style-tab::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--cyan);
  content: '';
  opacity: 0;
}

.style-tab.is-active::after {
  opacity: 1;
}

.style-description {
  margin-top: 16px;
  margin-bottom: 0;
  color: #55616c;
  font-size: 12px;
}

.engine {
  overflow: hidden;
  padding: 96px 0 72px;
  color: var(--white);
  background: var(--navy);
}

.engine__copy {
  margin-bottom: 42px;
  text-align: center;
}

.engine__eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.engine__copy h2 {
  max-width: 1100px;
  margin: 0 auto 12px;
  font-size: 50px;
}

.engine__copy p {
  max-width: 940px;
  margin: 0 auto;
  color: #8fa2b0;
  font-size: 15px;
  line-height: 1.6;
}

.engine__copy .engine__value {
  max-width: 860px;
  margin-top: 16px;
  color: #dbe7ed;
  font-size: 14px;
  font-weight: 600;
}

.engine-system {
  display: grid;
  grid-template-columns: 215px minmax(620px, 1fr) 220px;
  gap: 28px;
  align-items: center;
  width: 100%;
}

.engine-panel-title {
  display: block;
  color: #9ab0bf;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.brief-panel {
  padding: 20px;
  border: 1px solid var(--dark-line);
  border-radius: 4px;
  background: #081c30;
}

.brief-panel > .engine-panel-title {
  margin-bottom: 18px;
}

.brief-panel > div {
  display: grid;
  gap: 2px;
  margin-bottom: 13px;
}

.brief-panel > div:last-child {
  margin-bottom: 0;
}

.brief-panel span {
  color: #728b9c;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.brief-panel strong {
  color: #e5eef3;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.45;
}

.engine-core {
  min-width: 0;
}

.foundation-panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr 72px;
  gap: 0;
  align-items: center;
  min-height: 78px;
  margin: 0 auto 34px;
  padding: 12px 16px;
  border: 1px solid var(--dark-line);
  border-radius: 4px;
  background: #081c30;
}

.foundation-panel > .engine-panel-title {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.foundation-item {
  position: relative;
  display: grid;
  gap: 2px;
  min-height: 32px;
  padding: 0 12px;
  border-left: 1px solid #1d3c53;
}

.foundation-item span,
.foundation-logo span {
  color: #718c9f;
  font-size: 7px;
}

.foundation-item strong {
  font-size: 9px;
  font-weight: 500;
}

.foundation-item i {
  display: flex;
  gap: 3px;
  margin-top: 2px;
}

.foundation-item i b {
  width: 13px;
  height: 10px;
  border: 1px solid #38566c;
  background: #071426;
}

.foundation-item i b:nth-child(2) {
  background: var(--cyan);
}

.foundation-item i b:nth-child(3) {
  background: #5ca4cf;
}

.foundation-item i b:nth-child(4) {
  background: var(--white);
}

.foundation-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 12px;
  border-left: 1px solid #1d3c53;
}

.agent-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.agent-track::before,
.agent-track::after {
  position: absolute;
  top: 34px;
  height: 2px;
  background: var(--cyan);
  content: '';
}

.agent-track::before {
  right: 8%;
  left: 8%;
}

.agent-track::after {
  right: -30px;
  width: 30px;
}

.agent-node {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: 0 4px;
  color: var(--white);
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: center;
}

.agent-node__icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin-bottom: 12px;
  color: var(--white);
  border: 1px solid #557086;
  border-radius: 50%;
  background: var(--navy);
  place-items: center;
  transition: color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.agent-node__icon .icon {
  width: 27px;
  height: 27px;
}

.agent-node strong {
  min-height: 32px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.agent-node small {
  color: #9aadb9;
  font-size: 8px;
  line-height: 1.45;
}

.agent-node:hover .agent-node__icon,
.agent-node:focus-visible .agent-node__icon,
.agent-node.is-active .agent-node__icon {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(8, 205, 224, 0.12), 0 0 28px rgba(8, 205, 224, 0.25);
}

.agent-node.is-active strong {
  color: var(--cyan);
}

.agent-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  width: min(470px, 72%);
  min-height: 118px;
  margin: 28px auto 0;
  padding: 16px 18px;
  border: 1px solid var(--dark-line);
  border-radius: 4px;
  background: #0a2238;
}

.agent-detail > span,
.agent-detail small {
  color: #728b9d;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.agent-detail > strong {
  color: var(--cyan);
  font-size: 11px;
}

.agent-detail > p {
  margin: 0;
  color: #d6e1e7;
  font-size: 9px;
  line-height: 1.55;
}

.agent-detail > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding-top: 7px;
  border-top: 1px solid #1c4059;
}

.agent-detail b {
  color: #9fd1dd;
  font-size: 7px;
  font-weight: 500;
}

.engine-output {
  align-self: center;
  min-width: 0;
}

.engine-output > .engine-panel-title {
  margin-bottom: 12px;
  text-align: center;
}

.engine-output__stack {
  position: relative;
  width: 180px;
  height: 286px;
  margin: 0 auto 18px;
}

.engine-output-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 174px;
  padding: 12px;
}

.engine-output-card .visual-card__brand img {
  width: 18px;
  height: 18px;
}

.engine-output-card h3 {
  font-size: 18px;
}

.engine-output-card--front {
  z-index: 2;
}

.engine-output-card--back {
  z-index: 1;
  top: 12px;
  left: 18px;
  opacity: 0.45;
  transform: scale(0.95);
}

.engine-output > p {
  margin: 0;
  color: #9cafbc;
  font-size: 10px;
  text-align: center;
}

.engine__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 36px 0 0;
  color: #7f96a6;
  font-size: 9px;
}

.engine__note .icon {
  width: 14px;
  color: var(--cyan);
  transform: rotate(90deg);
}

.video-section {
  padding: 100px 0;
  background: var(--paper);
}

.video-section__layout {
  display: grid;
  grid-template-columns: minmax(620px, 1.35fr) minmax(320px, 0.65fr);
  gap: 70px;
  align-items: center;
}

.video-stage {
  min-height: 500px;
}

.video-stage__viewport {
  height: 466px;
}

.video-stage__viewport img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.video-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 84px;
  height: 84px;
  padding: 0;
  color: var(--ink);
  border: 0;
  border-radius: 50%;
  background: var(--cyan);
  cursor: pointer;
  place-items: center;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, background-color 180ms ease;
}

.video-play:hover,
.video-play:focus-visible {
  background: var(--cyan-bright);
  transform: translate(-50%, -50%) scale(1.06);
}

.video-play .icon {
  width: 30px;
  height: 30px;
}

.section-label {
  display: block;
  margin-bottom: 16px;
  color: #00a9bd;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.video-section__copy h2 {
  margin-bottom: 22px;
  font-size: 50px;
}

.video-section__copy p {
  margin-bottom: 30px;
  color: #52606d;
}

.faq {
  padding: 100px 0 110px;
}

.faq__layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 90px;
  align-items: start;
}

.faq h2 {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  font-size: 54px;
}

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

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__icon {
  display: grid;
  width: 32px;
  height: 32px;
  color: #5b6b78;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
}

.faq-item__icon .icon {
  width: 15px;
  transition: transform 180ms ease;
}

.faq-item[open] .faq-item__icon {
  color: var(--ink);
  border-color: var(--cyan);
  background: var(--cyan);
}

.faq-item[open] .faq-item__icon .icon {
  transform: rotate(45deg);
}

.faq-item > p {
  max-width: 730px;
  margin: -8px 60px 30px 0;
  color: #5f6d79;
}

.final-cta {
  padding: 100px 0;
  color: var(--white);
  background: var(--navy);
}

.final-cta__inner {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 34px;
  align-items: center;
}

.final-cta__mark {
  display: grid;
  width: 72px;
  height: 72px;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  place-items: center;
  font-family: var(--display);
  font-size: 42px;
  font-weight: 700;
}

.final-cta h2 {
  max-width: 720px;
  margin: 0;
  font-size: 52px;
}

.site-footer {
  padding: 36px 0;
  color: #a7b3bc;
  border-top: 1px solid #20384c;
  background: var(--navy);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.site-footer__brand {
  color: var(--white);
  font-weight: 800;
}

.site-footer__brand strong {
  color: var(--cyan);
}

.site-footer p {
  margin: 0;
  font-size: 11px;
}

.site-footer__links {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  font-size: 11px;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.site-footer__links .icon {
  width: 13px;
  height: 13px;
}

.video-dialog {
  width: min(1000px, calc(100% - 32px));
  padding: 0;
  color: var(--white);
  border: 1px solid var(--dark-line);
  border-radius: 5px;
  background: var(--navy);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.video-dialog::backdrop {
  background: rgba(2, 10, 18, 0.84);
}

.video-dialog__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid var(--dark-line);
}

.video-dialog__bar button {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--white);
  border: 0;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.video-dialog__frame {
  aspect-ratio: 16 / 9;
}

.video-dialog__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.reveal-block {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@keyframes product-switch {
  0% { opacity: 0.55; transform: translate(-15%, -8%) scale(0.985); }
  100% { opacity: 1; transform: translate(-15%, -8%) scale(1); }
}

@media (max-width: 1260px) {
  .main-nav {
    gap: 22px;
  }

  .hero {
    grid-template-columns: minmax(330px, 0.78fr) minmax(560px, 1.22fr);
  }

  .hero h1 {
    font-size: 60px;
  }

  .hero-output-card {
    width: 220px;
  }

  .workflow-layout {
    gap: 42px;
  }

  .engine-system {
    grid-template-columns: 180px minmax(570px, 1fr) 190px;
    gap: 18px;
  }

  .agent-node small {
    display: none;
  }

  .agent-detail {
    width: min(470px, 88%);
  }
}

@media (max-width: 1040px) {
  .section-inner,
  .site-header__inner,
  .hero {
    width: min(calc(100% - 40px), var(--content));
  }

  .main-nav {
    gap: 14px;
    font-size: 10px;
  }

  .language-switch {
    gap: 10px;
  }

  .hero {
    grid-template-columns: 0.78fr 1.22fr;
    min-height: 0;
    padding: 44px 0 50px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero__copy > p {
    font-size: 15px;
  }

  .hero__actions {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .hero__actions .button {
    min-height: 46px;
    padding-inline: 20px;
    font-size: 12px;
  }

  .hero__media {
    min-height: 420px;
  }

  .hero-product-shell {
    top: 70px;
    height: 300px;
  }

  .hero-output-card {
    width: 175px;
  }

  .workflow {
    padding-top: 24px;
  }

  .workflow-layout,
  .video-section__layout {
    grid-template-columns: 1fr;
  }

  .workflow-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .workflow-steps::before {
    display: none;
  }

  .engine-system {
    grid-template-columns: 150px minmax(0, 1fr) 160px;
    gap: 14px;
  }

  .engine {
    padding: 44px 0 48px;
  }

  .engine__copy {
    margin-bottom: 22px;
  }

  .engine__copy h2 {
    font-size: 40px;
  }

  .engine__copy p {
    font-size: 11px;
  }

  .foundation-panel {
    margin-bottom: 22px;
  }

  .agent-track::before,
  .agent-track::after {
    top: 28px;
  }

  .agent-node__icon {
    width: 56px;
    height: 56px;
  }

  .agent-node__icon .icon {
    width: 22px;
    height: 22px;
  }

  .agent-node strong {
    font-size: 9px;
  }

  .agent-detail {
    min-height: 100px;
    margin-top: 18px;
  }

  .engine__note {
    margin-top: 20px;
  }

  .engine-output__stack {
    width: 145px;
    height: 232px;
  }

  .engine-output-card {
    width: 140px;
  }

  .engine-output-card h3 {
    font-size: 14px;
  }

  .video-stage {
    min-height: 470px;
  }

  .video-stage__viewport {
    height: 436px;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    z-index: 99;
    inset: var(--header-height) 0 0;
    display: none;
    align-content: center;
    justify-items: center;
    gap: 14px;
    padding: 34px 24px 50px;
    overflow-y: auto;
    background: rgba(247, 249, 250, 0.99);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav > a {
    min-height: 46px;
    font-family: var(--display);
    font-size: 28px;
  }

  .language-switch {
    margin: 12px 0 0;
  }

  .language-switch__link {
    font-family: var(--body);
    font-size: 12px;
  }

  .engine-system {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .engine {
    padding: 74px 0 64px;
  }

  .engine__copy {
    margin-bottom: 42px;
  }

  .engine__copy h2 {
    font-size: 50px;
  }

  .engine__copy p {
    font-size: 14px;
  }

  .brief-panel {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }

  .brief-panel > .engine-panel-title {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .brief-panel > div {
    margin-bottom: 0;
  }

  .agent-node__icon {
    width: 68px;
    height: 68px;
  }

  .agent-node strong {
    font-size: 11px;
  }

  .agent-track::before,
  .agent-track::after {
    top: 34px;
  }

  .engine-output {
    display: grid;
    grid-template-columns: 1fr 220px 1fr;
    gap: 28px;
    align-items: center;
  }

  .engine-output > .engine-panel-title {
    text-align: right;
  }

  .engine-output > p {
    text-align: left;
  }

  .engine-output__stack {
    width: 180px;
    height: 286px;
  }

  .engine-output-card {
    width: 174px;
  }

  .engine-output-card h3 {
    font-size: 18px;
  }

  .agent-detail {
    min-height: 118px;
    margin-top: 28px;
  }

  .engine__note {
    margin-top: 36px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 62px;
  }

  .section-inner,
  .site-header__inner,
  .hero {
    width: min(calc(100% - 30px), var(--content));
  }

  .brand--cognix {
    font-size: 19px;
    letter-spacing: 5px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 48px 0 42px;
  }

  .hero__copy {
    padding: 0;
    text-align: left;
  }

  .hero h1 {
    max-width: 100%;
    margin-bottom: 20px;
    font-size: 50px;
  }

  .hero__copy > p {
    max-width: 100%;
    margin-bottom: 26px;
    font-size: 15px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__media {
    min-height: 315px;
    margin-top: 30px;
  }

  .hero-product-shell {
    top: 62px;
    width: 88%;
    height: 215px;
  }

  .hero-output-stack {
    width: 53%;
    height: 285px;
  }

  .hero-output-card {
    width: 120px;
    padding: 9px;
  }

  .hero-output-card--1 {
    right: 18%;
  }

  .hero-output-card h3 {
    font-size: 15px;
  }

  .hero-output-card .visual-card__copy > span,
  .hero-output-card > small,
  .hero-output-card .visual-card__brand span {
    font-size: 4px;
  }

  .hero-output-card .visual-card__brand img {
    width: 18px;
    height: 18px;
  }

  .hero-progress {
    right: 0;
    left: 0;
  }

  .section-cue {
    display: none;
  }

  .workflow,
  .gallery,
  .video-section,
  .faq {
    padding-top: 72px;
    padding-bottom: 78px;
  }

  .section-title,
  .gallery__intro h2,
  .engine__copy h2,
  .video-section__copy h2,
  .faq h2,
  .final-cta h2 {
    font-size: 43px;
  }

  .section-title {
    margin-bottom: 34px;
    text-align: left;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    grid-template-columns: 52px 1fr;
    min-height: 100px;
    padding-right: 10px;
  }

  .workflow-step__number {
    width: 52px;
    height: 52px;
  }

  .workflow-step__copy strong {
    font-size: 24px;
  }

  .workflow-canvas {
    min-height: 390px;
  }

  .workflow-canvas__viewport {
    height: 316px;
  }

  .product-image-crop img {
    width: 176%;
    transform: translate(-31%, -8%);
  }

  .workflow-live-status {
    grid-template-columns: 44px 1fr;
    padding: 12px 14px;
  }

  .workflow-live-status > span {
    font-size: 30px;
  }

  .gallery__intro {
    margin-bottom: 28px;
  }

  .gallery-showcase {
    min-height: 470px;
  }

  .gallery-rail {
    padding-inline: calc(50vw - 126px);
  }

  .gallery-rail .visual-card {
    width: 252px;
  }

  .gallery-arrow {
    display: none;
  }

  .gallery-controls {
    display: block;
    overflow-x: auto;
    padding: 0;
  }

  .gallery-controls > span {
    display: none;
  }

  .style-tabs {
    min-width: max-content;
    padding: 0 15px;
  }

  .style-description {
    min-height: 48px;
  }

  .engine {
    padding: 74px 0 64px;
  }

  .engine__copy {
    text-align: left;
  }

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

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

  .foundation-item:nth-of-type(3),
  .foundation-logo {
    border-left: 1px solid #1d3c53;
  }

  .agent-track {
    grid-template-columns: repeat(5, 114px);
    overflow-x: auto;
    padding: 6px 6px 16px;
    scrollbar-width: none;
  }

  .agent-track::-webkit-scrollbar {
    display: none;
  }

  .agent-track::before {
    right: 54px;
    left: 54px;
    min-width: 450px;
  }

  .agent-track::after {
    display: none;
  }

  .agent-detail {
    width: 100%;
  }

  .engine-output {
    grid-template-columns: 1fr;
  }

  .engine-output > .engine-panel-title,
  .engine-output > p {
    text-align: center;
  }

  .video-stage {
    min-height: 360px;
  }

  .video-stage__viewport {
    height: 326px;
  }

  .video-play {
    width: 66px;
    height: 66px;
  }

  .faq__layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .faq h2 {
    position: static;
  }

  .faq-item summary {
    min-height: 74px;
    font-size: 23px;
  }

  .faq-item > p {
    margin-right: 0;
  }

  .final-cta {
    padding: 74px 0;
  }

  .final-cta__inner {
    grid-template-columns: 1fr;
  }

  .final-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 44px;
  }

  .hero__media {
    min-height: 300px;
  }

  .hero-product-shell {
    top: 55px;
    height: 205px;
  }

  .hero-output-card {
    width: 112px;
  }

  .visual-card__edition {
    font-size: 74px;
  }

  .gallery-rail {
    padding-inline: calc(50vw - 118px);
  }

  .gallery-rail .visual-card {
    width: 236px;
  }

  .brief-panel {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-block {
    opacity: 1;
    transform: none;
  }
}
