:root {
  --navy-950: #07122f;
  --navy-900: #111f4c;
  --navy-800: #263572;
  --navy-700: #2d3e86;
  --ink: #141820;
  --muted: #657084;
  --line: #d9dfeb;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --surface-blue: #eaf1fd;
  --accent: #ffe933;
  --accent-2: #29d3a2;
  --danger: #f24b68;
  --shadow: 0 28px 70px rgba(7, 18, 47, 0.18);
  --max: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 0 40px;
  color: #fff;
  background: rgba(7, 18, 47, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(7, 18, 47, 0.96);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(7, 18, 47, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 154px;
  height: auto;
  overflow: visible;
  background: transparent;
}

.brand img {
  width: 154px;
  height: auto;
  box-shadow: 0 10px 26px rgba(7, 18, 47, 0.18);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  font-size: 1.2rem;
  font-weight: 600;
}

.main-nav a {
  opacity: 0.84;
  transition: opacity 160ms ease, color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent);
  opacity: 1;
}

.mobile-contact-link {
  display: none;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.header-cta {
  color: var(--navy-950);
  background: var(--accent);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 46px));
  padding: 168px 40px 84px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--navy-950);
}

.hero-bg,
.hero-overlay,
.cta-bg {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/platform-positions-public-web.jpg");
  background-size: cover;
  background-position: center center;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.08) brightness(0.92);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 18, 47, 0.97), rgba(7, 18, 47, 0.76) 43%, rgba(7, 18, 47, 0.24)),
    linear-gradient(180deg, rgba(7, 18, 47, 0.58), rgba(7, 18, 47, 0.32) 48%, rgba(7, 18, 47, 0.9));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin-left: max(0px, calc((100vw - var(--max)) / 2));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section:not(.dark-section):not(.dark-block):not(.company-section) .eyebrow,
.product-strip .eyebrow {
  position: relative;
  display: inline-block;
  padding-top: 14px;
  color: var(--navy-800);
  font-size: 1.05rem;
  text-shadow: none;
}

.section:not(.dark-section):not(.dark-block):not(.company-section) .eyebrow::before,
.product-strip .eyebrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 4px;
  background: var(--accent);
}

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

h1,
h2 {
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 4rem;
  line-height: 1.02;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy-900);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 2.65rem;
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy-900);
  font-size: 1.05rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.13rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.btn-primary {
  color: var(--navy-950);
  background: var(--accent);
  border-color: var(--accent);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-outline {
  color: var(--navy-900);
  background: #fff;
  border-color: rgba(38, 53, 114, 0.28);
}

.btn-outline:hover {
  border-color: rgba(38, 53, 114, 0.48);
  background: var(--surface-blue);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 720px;
}

.hero-proof span,
.algo-tags span,
.architecture-features span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.section {
  padding: 104px 40px;
}

.section-grid,
.section-heading,
.capability-grid,
.algo-layout,
.algo-stats,
.ai-points,
.diff-grid,
.values-row,
.product-strip {
  width: min(var(--max), calc(100vw - 80px));
  margin-inline: auto;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
}

.align-center {
  align-items: center;
}

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

.section-lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}

.centered {
  max-width: 780px;
  text-align: center;
}

.centered .eyebrow,
.centered h2 {
  margin-left: auto;
  margin-right: auto;
}

.intro-section {
  background: var(--surface-soft);
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metric {
  min-height: 168px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.metric strong {
  display: block;
  margin-bottom: 18px;
  color: var(--navy-800);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: center;
  padding: 76px 0 90px;
}

.product-shell,
.tabs-panel {
  border: 1px solid rgba(7, 18, 47, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.product-shell {
  position: relative;
}

.product-video-shell {
  background: var(--navy-950);
}

.tabs-panel {
  display: flex;
  flex-direction: column;
}

.product-toolbar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.76);
}

.product-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
}

.product-toolbar span:nth-child(2) {
  background: var(--accent);
}

.product-toolbar span:nth-child(3) {
  background: var(--danger);
}

.product-toolbar p {
  margin: 0 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.product-viewport {
  overflow: hidden;
  background: #eff3f8;
}

.product-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-950);
}

.product-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.product-video-frame::before,
.product-video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.product-video-frame::before {
  background:
    radial-gradient(circle at 78% 14%, rgba(255, 233, 51, 0.18), transparent 24%),
    linear-gradient(110deg, rgba(7, 18, 47, 0.42), rgba(7, 18, 47, 0.05) 44%, rgba(7, 18, 47, 0.48));
}

.product-video-frame::after {
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0,
    rgba(255, 255, 255, 0.08) 1px,
    transparent 1px,
    transparent 8px
  );
  opacity: 0.14;
  mix-blend-mode: soft-light;
  animation: scanlines 6s linear infinite;
}

@keyframes scanlines {
  to {
    transform: translateY(8px);
  }
}

.product-track {
  display: flex;
  transition: transform 620ms ease;
  will-change: transform;
}

.product-slide {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 2 / 1;
  margin: 0;
  background: #eff3f8;
}

.product-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.product-slide figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  color: #fff;
  background: rgba(7, 18, 47, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
}

.product-dots {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
}

.product-dots button {
  width: 30px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.product-dots button.is-active {
  background: var(--accent);
}

.strip-copy p:not(.eyebrow) {
  color: var(--muted);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.capability-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: rgba(38, 53, 114, 0.35);
  box-shadow: 0 18px 48px rgba(7, 18, 47, 0.12);
}

.card-index {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--navy-800);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
}

.capability-card p,
.diff-grid p,
.values-row p,
.company-copy p {
  color: var(--muted);
}

.showcase-section {
  background: var(--surface-blue);
}

.dark-block {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 18, 47, 0.98), rgba(17, 31, 76, 0.95));
}

.dark-block h2,
.dark-block h3 {
  color: #fff;
}

.dark-block .section-lead,
.dark-block .showcase-copy p,
.dark-block .algo-list p,
.dark-block .market-groups p,
.dark-block .cost-points p {
  color: rgba(255, 255, 255, 0.74);
}

.showcase-section.dark-block {
  background:
    linear-gradient(135deg, rgba(7, 18, 47, 0.9), rgba(17, 31, 76, 0.82)),
    url("assets/platform-positions-public-web.jpg");
  background-size: cover;
  background-position: left top;
}

.showcase-copy {
  align-self: center;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--navy-900);
  font-weight: 700;
}

.showcase-section.dark-block .check-list li {
  color: rgba(255, 255, 255, 0.9);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--accent);
}

.tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy-900);
}

.tab {
  position: relative;
  min-height: 48px;
  overflow: hidden;
  border: 0;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 900;
  transition: color 180ms ease, background 220ms ease;
}

.tab.is-active {
  color: var(--navy-950);
  background: var(--accent);
}

.tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(7, 18, 47, 0.34);
  transform: scaleX(0);
  transform-origin: left center;
}

.tab.is-active::after {
  animation: tab-progress 4600ms linear both;
}

.tab-image {
  position: relative;
  flex: 1 1 auto;
  aspect-ratio: 2 / 1;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-950);
}

.tab-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  transform: scale(1.01);
  will-change: transform, opacity, clip-path;
}

.oms-frame.is-current {
  z-index: 1;
}

.oms-frame.is-next {
  z-index: 2;
  opacity: 0;
  transform: translateX(3.5%) scale(1.07);
  clip-path: inset(0 0 0 28%);
}

.tab-image.is-reverse .oms-frame.is-next {
  transform: translateX(-3.5%) scale(1.07);
  clip-path: inset(0 28% 0 0);
}

.tab-image.is-animating .oms-frame.is-current {
  animation: oms-current-out 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tab-image.is-animating .oms-frame.is-incoming {
  animation: oms-next-in 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tab-image.is-reverse.is-animating .oms-frame.is-current {
  animation-name: oms-current-out-reverse;
}

.tab-image.is-reverse.is-animating .oms-frame.is-incoming {
  animation-name: oms-next-in-reverse;
}

.tab-image::before,
.tab-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tab-image::before {
  z-index: 4;
  opacity: 0;
  background: linear-gradient(112deg, transparent 0%, rgba(255, 232, 34, 0.2) 46%, rgba(32, 214, 160, 0.16) 52%, transparent 62%);
  transform: translateX(-130%);
  mix-blend-mode: screen;
}

.tab-image::after {
  z-index: 3;
  background:
    linear-gradient(110deg, rgba(7, 18, 47, 0.18), rgba(7, 18, 47, 0) 44%, rgba(7, 18, 47, 0.18)),
    repeating-linear-gradient(0deg, rgba(7, 18, 47, 0.11) 0, rgba(7, 18, 47, 0.11) 1px, transparent 1px, transparent 4px);
}

.tab-image.is-animating::before {
  animation: oms-sweep 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes oms-current-out {
  from {
    opacity: 1;
    transform: translateX(0) scale(1.01);
  }
  to {
    opacity: 0.18;
    transform: translateX(-2.4%) scale(1.065);
  }
}

@keyframes oms-current-out-reverse {
  from {
    opacity: 1;
    transform: translateX(0) scale(1.01);
  }
  to {
    opacity: 0.18;
    transform: translateX(2.4%) scale(1.065);
  }
}

@keyframes oms-next-in {
  from {
    opacity: 0;
    clip-path: inset(0 0 0 28%);
    transform: translateX(3.5%) scale(1.07);
  }
  to {
    opacity: 1;
    clip-path: inset(0);
    transform: translateX(0) scale(1.01);
  }
}

@keyframes oms-next-in-reverse {
  from {
    opacity: 0;
    clip-path: inset(0 28% 0 0);
    transform: translateX(-3.5%) scale(1.07);
  }
  to {
    opacity: 1;
    clip-path: inset(0);
    transform: translateX(0) scale(1.01);
  }
}

@keyframes oms-sweep {
  0% {
    opacity: 0;
    transform: translateX(-130%);
  }
  35% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateX(130%);
  }
}

@keyframes tab-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.dark-section {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7, 18, 47, 0.9), rgba(17, 31, 76, 0.92)),
    url("assets/platform-marketdata.jpg");
  background-size: cover;
  background-position: center;
}

.dark-section h2,
.dark-section h3 {
  color: #fff;
}

.dark-section .section-lead {
  color: rgba(255, 255, 255, 0.76);
}

.architecture-map {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.arch-node {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
}

.arch-node.strong,
.arch-node.bus {
  color: var(--navy-950);
  background: var(--accent);
}

.arch-node.bus {
  background: var(--accent-2);
}

.arch-line {
  width: 1px;
  height: 28px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.3);
}

.arch-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.architecture-features {
  width: min(var(--max), calc(100vw - 80px));
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px auto 0;
}

.architecture-features span {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.ai-section {
  background: var(--surface-blue);
}

.ai-section .section-grid {
  align-items: start;
}

.ai-section .section-lead {
  max-width: 660px;
  margin-top: 10px;
}

.ai-lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding: 14px 18px;
  border: 1px solid rgba(38, 53, 114, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}

.ai-lockup img {
  width: 118px;
  background: transparent;
}

.ai-lockup strong,
.ai-lockup span {
  display: block;
}

.ai-lockup strong {
  color: var(--navy-900);
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.ai-lockup span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.ai-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 42px auto 0;
}

.ai-points div {
  min-height: 178px;
  padding: 24px;
  border: 1px solid rgba(38, 53, 114, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.ai-points h3 {
  margin-bottom: 12px;
}

.ai-points p {
  margin-bottom: 0;
  color: var(--muted);
}

.algo-section {
  background: #fff;
}

.algo-section.dark-block {
  background:
    linear-gradient(135deg, rgba(7, 18, 47, 0.9), rgba(17, 31, 76, 0.84)),
    url("assets/algo-ide-real-public-web.jpg");
  background-size: cover;
  background-position: center center;
}

.algo-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.algo-stats div {
  min-height: 168px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--navy-900);
  color: #fff;
}

.algo-section.dark-block .algo-stats div {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.algo-stats strong {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 3rem;
  line-height: 1;
}

.algo-stats span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 700;
}

.algo-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: stretch;
  margin-top: 38px;
}

.algo-layout img,
.algo-media {
  width: 100%;
  min-height: 340px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.algo-layout img {
  object-fit: cover;
}

.algo-media {
  position: relative;
  height: 100%;
  aspect-ratio: auto;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  background: var(--navy-950);
}

.algo-media video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.algo-media .algo-media-logo {
  position: absolute;
  z-index: 3;
  top: 24px;
  right: 24px;
  width: min(118px, 24%);
  min-height: 0;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 8px 14px rgba(7, 18, 47, 0.28));
}

.algo-media-badge {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  left: 24px;
  max-width: calc(100% - 48px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 8px;
  color: #fff;
  background: rgba(7, 18, 47, 0.9);
  box-shadow: 0 16px 30px rgba(7, 18, 47, 0.24);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.algo-media-badge span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent-2);
}

.algo-media-badge strong {
  color: var(--accent);
}

.algo-media-badge em {
  color: #fff;
  font-style: normal;
}

.algo-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.algo-list article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.algo-section.dark-block .algo-list article {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.algo-tags {
  width: min(var(--max), calc(100vw - 80px));
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px auto 0;
}

.algo-tags span {
  color: var(--navy-900);
  background: var(--surface-blue);
  border: 1px solid var(--line);
}

.algo-section.dark-block .algo-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.market-section {
  background: var(--surface-soft);
}

.market-section.dark-block {
  background:
    linear-gradient(135deg, rgba(7, 18, 47, 0.88), rgba(17, 31, 76, 0.8)),
    url("assets/market-growth-web.jpg");
  background-size: cover;
  background-position: center center;
}

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

.market-groups div {
  min-height: 178px;
  padding: 22px;
  border-left: 5px solid var(--accent);
  background: #fff;
}

.market-section.dark-block .market-groups div {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 5px solid var(--accent);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.market-groups p {
  margin-bottom: 0;
  color: var(--muted);
}

.differentiation-section {
  background: #fff;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.diff-grid article {
  padding: 24px 0 0;
  border-top: 4px solid var(--navy-800);
}

.cost-section {
  background: var(--surface-soft);
}

.cost-section.dark-block {
  background:
    linear-gradient(135deg, rgba(7, 18, 47, 0.9), rgba(17, 31, 76, 0.84)),
    url("assets/platform-marketdata.jpg");
  background-size: cover;
  background-position: center center;
}

.cost-points {
  display: grid;
  gap: 14px;
}

.cost-points article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cost-section.dark-block .cost-points article {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.cost-points span {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(7, 18, 47, 0.18);
}

.cost-points p {
  margin-bottom: 0;
  color: var(--muted);
}

.metric,
.ai-points div,
.algo-list article,
.cost-points article {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.metric:hover,
.ai-points div:hover,
.algo-list article:hover,
.cost-points article:hover {
  transform: translateY(-4px);
  border-color: rgba(38, 53, 114, 0.35);
  background: #fff;
  box-shadow: 0 18px 48px rgba(7, 18, 47, 0.12);
}

.dark-block .algo-list article:hover,
.dark-block .cost-points article:hover {
  border-color: rgba(255, 233, 51, 0.42);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.company-section {
  background: #fff;
  color: var(--ink);
}

.company-section .eyebrow {
  position: relative;
  display: inline-block;
  padding-top: 14px;
  color: var(--navy-800);
  font-size: 1.05rem;
  text-shadow: none;
}

.company-section .eyebrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 4px;
  background: var(--accent);
}

.company-section h2,
.company-section h3 {
  color: var(--navy-950);
}

.company-copy p {
  color: var(--muted);
}

.values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.values-row div {
  padding: 22px 22px 0 0;
  border-top: 4px solid var(--accent);
}

.values-row p {
  color: var(--muted);
}

.cta-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 110px 40px;
  color: #fff;
  overflow: hidden;
  background: var(--navy-950);
}

.cta-bg {
  background-image:
    linear-gradient(90deg, rgba(7, 18, 47, 0.94), rgba(7, 18, 47, 0.68) 43%, rgba(7, 18, 47, 0.18)),
    linear-gradient(180deg, rgba(7, 18, 47, 0.5), rgba(7, 18, 47, 0.24) 48%, rgba(7, 18, 47, 0.82)),
    url("assets/platform-trades-public-web.jpg");
  background-size: cover;
  background-position: center center;
}

.cta-content {
  position: relative;
  width: min(760px, 100%);
  margin-left: max(0px, calc((100vw - var(--max)) / 2));
}

.cta-content h2 {
  color: #fff;
}

.cta-content p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.contact-actions {
  margin-top: 30px;
  margin-bottom: 0;
}

.site-footer {
  width: 100%;
  margin-inline: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding: 52px max(40px, calc((100vw - var(--max)) / 2));
  color: rgba(255, 255, 255, 0.76);
  background: var(--navy-950);
}

.site-footer img {
  width: 154px;
  background: transparent;
}

.footer-ai-lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-ai-lockup img {
  flex: 0 0 auto;
  width: 132px;
}

.footer-ai-lockup strong,
.footer-ai-lockup span {
  display: block;
}

.footer-ai-lockup strong {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-ai-lockup span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer address {
  display: grid;
  gap: 6px;
  font-style: normal;
  text-align: right;
}

.site-footer address a {
  color: #fff;
  font-weight: 700;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

@media (max-width: 1080px) {
  .site-header {
    padding: 0 24px;
    gap: 18px;
  }

  .main-nav {
    gap: 13px;
    font-size: 1.08rem;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .two-col,
  .product-strip,
  .algo-layout {
    gap: 44px;
  }

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

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

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

  .brand {
    width: 128px;
    height: auto;
  }

  .brand img {
    width: 128px;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 24px;
    background: rgba(7, 18, 47, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-header.is-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .main-nav .mobile-contact-link {
    display: flex;
    justify-content: center;
    margin-top: 14px;
    padding: 12px 16px;
    border: 0;
    border-radius: 4px;
    color: var(--navy-950);
    background: var(--accent);
    opacity: 1;
    font-weight: 900;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .hero {
    min-height: min(720px, calc(100svh - 36px));
    padding: 132px 24px 72px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 18, 47, 0.94), rgba(7, 18, 47, 0.7)),
      linear-gradient(180deg, rgba(7, 18, 47, 0.38), rgba(7, 18, 47, 0.88));
  }

  .hero-bg,
  .cta-bg {
    background-position: right top;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section {
    padding: 78px 24px;
  }

  .section-grid,
  .section-heading,
  .capability-grid,
  .algo-layout,
.algo-stats,
.ai-points,
.diff-grid,
.values-row,
.product-strip,
.architecture-features,
  .algo-tags {
    width: calc(100vw - 48px);
  }

  .two-col,
  .product-strip,
  .algo-layout {
    grid-template-columns: 1fr;
  }

  .algo-media {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .metrics-row,
  .algo-stats,
  .ai-points,
  .values-row {
    grid-template-columns: 1fr;
  }

  .product-strip {
    padding: 64px 0;
  }

  .site-footer address {
    text-align: left;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 44px 24px;
  }

  .footer-ai-lockup {
    align-items: flex-start;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: min(690px, calc(100svh - 28px));
  }

  h1 {
    font-size: 2.2rem;
    line-height: 1.06;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-copy,
  .section-lead,
  .cta-content p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn,
  .header-cta {
    width: 100%;
  }

  .ai-lockup {
    align-items: flex-start;
    width: 100%;
  }

  .capability-grid,
  .diff-grid,
  .market-groups,
  .algo-list,
  .arch-row {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 220px;
  }

  .algo-layout img,
  .algo-media {
    min-height: 240px;
  }

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

  .tab {
    min-height: 42px;
  }

  .cta-section {
    min-height: 560px;
    padding: 84px 24px;
  }
}
