@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic.ttf") format("truetype");
  font-style: italic;
  font-display: swap;
}
:root {
  --paper: #f7f7f2;
  --ink: #181b20;
  --blue: #2648bd;
  --line: #d4d6cf;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body,
p,
h1,
h2,
h3,
figure {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 3px solid #678aff;
  outline-offset: 5px;
}
::selection {
  background: #c4d0ff;
  color: #11172c;
}
.shell {
  width: min(1480px, 90%);
  margin-inline: auto;
}
.skip {
  position: absolute;
  z-index: 5;
  transform: translateY(-140%);
  padding: 1rem;
  background: white;
}
.skip:focus {
  transform: none;
}
header {
  border-bottom: 1px solid var(--line);
}
.topbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand img {
  display: block;
  width: 160px;
  height: auto;
}
footer > a:last-child {
  font-size: 14px;
}
footer a:hover {
  color: var(--blue);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 21px;
  border-radius: 5px;
  background: var(--blue);
  color: white;
  font-size: 14px;
  font-weight: 500;
  padding: 15px 20px;
  transition: background 0.15s;
}
.button:hover {
  background: #172f90;
}
.link-arrow {
  width: 1em;
  height: 1em;
  vertical-align: -.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-cta {
  background: var(--ink);
  padding: 12px 16px;
  gap: 17px;
}
nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
}
nav a:hover, .text-link:hover { color: var(--blue); }
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 25px;
  margin-top: 28px;
}
.text-link { font-size: 14px; font-weight: 500; }
.text-link span { margin-left: 4px; }
.hero {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  align-items: center;
  gap: 2%;
  padding-block: clamp(55px, 6.2vw, 100px);
}
.eyebrow,
figcaption {
  font: 500 10.5px/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.105em;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow i {
  display: block;
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--blue);
}
h1,
h2,
h3 {
  font-weight: 470;
}
h1 {
  font-size: clamp(64px, 6.85vw, 112px);
  line-height: 0.99;
  letter-spacing: -0.069em;
  margin: 28px 0 22px;
}
em {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.037em;
  color: var(--blue);
}
.intro {
  max-width: 440px;
  font-size: clamp(16px, 1.32vw, 20px);
  line-height: 1.52;
  color: #52565b;
  letter-spacing: -0.017em;
}
.surface {
  min-width: 0;
  padding: clamp(13px, 1.4vw, 24px);
  border: 1px solid #d0d8e6;
  background: #f0f3f9;
}
.plot {
  aspect-ratio: 760 / 478;
  isolation: isolate;
  background: radial-gradient(#c8cbc2 .75px, transparent .9px) 0 0 / 17px 17px;
}
.surface figcaption a { color: var(--blue); }
.surface figcaption a:hover { text-decoration: underline; }
.surface img, .surface canvas {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: darken;
}
.surface [hidden] { display: none; }

figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #60646b;
  font-size: 9px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 7px;
}
figcaption b {
  color: var(--blue);
  font-weight: 500;
}
.platform {
  background: #181c22;
  color: #f6f7f4;
  padding-block: 61px 64px;
}
.platform .eyebrow {
  color: #bac4d8;
}
.platform .eyebrow i {
  background: #8ba5ff;
}
.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin: 17px 0 34px;
}
h2 {
  font-size: clamp(43px, 4.65vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}
.section-intro > p {
  max-width: 335px;
  font-size: 15px;
  color: #b5b9c3;
  line-height: 1.5;
}
.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #3a4048;
  border-radius: 3px;
  overflow: hidden;
}
.modules article {
  padding: 18px clamp(19px, 2.3vw, 35px) 24px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.modules article + article {
  border-left: 1px solid #3a4048;
}
.module-art {
  margin-bottom: 15px;
}
.module-art img,
.module-art svg {
  display: block;
  width: 100%;
  height: auto;
}
[data-motion-active] [data-in-view] { --motion-state: running; }
.contour {
  transform-origin: 50% 78%;
  animation: ridge-drift 5s ease-in-out var(--phase) infinite alternate;
  animation-play-state: var(--motion-state, paused);
}
@keyframes ridge-drift {
  from { transform: translateX(-2px) scaleY(.91); }
  to { transform: translateX(4px) scaleY(1.06); stroke: #adc1ff; }
}
.event-bar {
  transform-origin: 0 50px;
  animation: event-wave 2.8s ease-in-out var(--phase) infinite;
  animation-play-state: var(--motion-state, paused);
}
@keyframes event-wave {
  0%, 100% { transform: scaleY(.67); }
  36% { transform: scaleY(1.05); stroke: #c3d2ff; }
  70% { transform: scaleY(.84); }
}
.scan-probe {
  animation: compare-sweep 7s ease-in-out infinite;
  animation-play-state: var(--motion-state, paused);
}
@keyframes compare-sweep {
  0%, 100% { transform: translateX(135px); }
  28% { transform: translateX(250px); }
  74% { transform: translateX(20px); }
}

h3 {
  font-size: clamp(24px, 2vw, 34px);
  letter-spacing: -0.04em;
}
.modules p {
  font-size: 15px;
  line-height: 1.55;
  color: #bfc4ce;
  margin-top: 10px;
}
.modules h3 a:hover { color: #c6d6ff; }
.modules h3 .link-arrow { font-size: .65em; color: #acc1ff; }
.benchmark {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  column-gap: 4%;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
.benchmark h2 { margin: 10px 0 5px; font-size: clamp(22px, 2vw, 32px); letter-spacing: -.045em; }
.benchmark-lead > p:last-child {
  font-size: 13px;
  color: #535a65;
}
.benchmark-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.benchmark-stats > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  padding-left: clamp(12px, 2vw, 36px);
  border-left: 1px solid var(--line);
}
.benchmark-stats dt { font-size: 13px; color: #505661; }
.benchmark-stats dd {
  margin: 0;
  font-size: clamp(36px, 3.5vw, 58px);
  line-height: 1;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.benchmark-stats dd span { font: italic .73em "Instrument Serif", Georgia, serif; color: var(--blue); }
.contact {
  border-block: 1px solid var(--line);
  background: #ecefe9;
}
.contact-inner,
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.contact-inner {
  padding-block: 60px;
}
.contact .intro { margin-top: 14px; }
.contact h2 {
  margin-top: 16px;
}
footer {
  padding-block: 30px;
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr 0.92fr;
  }
  .section-intro > p {
    max-width: 270px;
  }
}
@media (max-width: 720px) {
  .topbar {
    min-height: 64px;
    gap: 16px;
    flex-wrap: wrap;
    padding-block: 12px;
  }
  .brand img { width: 130px; }
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 44px 30px;
  }
  h1 {
    font-size: clamp(64px, 11.5vw, 84px);
    margin: 22px 0 16px;
  }
  .surface {
    width: 100%;
    max-width: 520px;
    justify-self: center;
  }
  .platform {
    padding-block: 40px;
  }
  .section-intro {
    display: grid;
    gap: 14px;
    margin-bottom: 25px;
  }
  .section-intro > p {
    max-width: 420px;
  }
  .modules {
    grid-template-columns: 1fr;
  }
  .modules article {
    padding: 22px;
  }
  .modules article + article {
    border-left: 0;
    border-top: 1px solid #3a4048;
  }
  .module-art {
    max-width: 360px;
    width: 100%;
  }
  .benchmark { grid-template-columns: 1fr; row-gap: 17px; }
  .benchmark-stats dd { font-size: clamp(25px, 6vw, 36px); }
  nav { display: none; }
  .nav-cta { margin-left: auto; }
  .contact-inner {
    align-items: start;
    flex-direction: column;
    padding-block: 42px;
  }
}
@media (max-width: 530px) {
  h1 {
    font-size: clamp(45px, 12.8vw, 67px);
  }
  footer > a:last-child {
    font-size: 12px;
  }
}
@media (max-width: 380px) {
  .topbar { gap: 8px; }
  .nav-cta { padding: 12px 8px; gap: 6px; font-size: 13px; }
}

.feature-spread {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
  padding-block: clamp(64px, 7vw, 112px);
}
.feature-copy h2 {
  margin: 19px 0 22px;
  text-wrap: balance;
}
.feature-copy .intro {
  max-width: 465px;
}
.architecture {
  background: #233fa4;
  color: var(--paper);
}
.architecture em,
.architecture .intro {
  color: #e1e8ff;
}
.architecture .eyebrow i {
  background: #c5d3ff;
}
.architecture-body {
  padding-block: clamp(46px, 6vw, 96px);
}
.architecture-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5%;
  margin-bottom: 36px;
}
.architecture-intro h2 {
  margin-top: 17px;
}
.connections {
  border-top: 1px solid #7186cd;
  margin-top: 16px;
  padding-top: 12px;
}
.connections h3 {
  font: 11px var(--mono);
  color: #d1dcff;
}
.connections p {
  margin-top: 6px;
  font-size: 14px;
}
.schematic {
  --wire: #bdccf6;
  --gap: clamp(22px, 2.4vw, 42px);
  display: grid;
  grid-template-columns: .95fr 1.08fr 1.08fr .97fr 1.12fr;
  grid-template-areas: "history strategy simulator backtest match" "feed strategy venue capture match";
  gap: 16px var(--gap);
  padding: clamp(20px, 2.4vw, 36px);
  border-radius: 8px;
  background: radial-gradient(#b1c1ff29 .75px, transparent 1px) 0 0 / 20px 20px, #20398c;
}
.map-node {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 5px;
  padding: clamp(12px, 1.2vw, 20px);
  border-radius: 5px;
  background: #2a4394;
}
.map-node small {
  font: 10px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: .075em;
}
.map-node strong {
  font-size: clamp(16px, 1.45vw, 23px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.035em;
}
.map-node span { font-size: 14px; color: #d5defb; }
.map-history { grid-area: history; }
.map-feed { grid-area: feed; --wire: #cfdfb9; --departure: .4s; }
.map-simulator { grid-area: simulator; --departure: 2s; }
.map-venue { grid-area: venue; --wire: #cfdfb9; --departure: 2.4s; }
.map-backtest { grid-area: backtest; --departure: 3s; }
.map-capture { grid-area: capture; --wire: #cfdfb9; --departure: 3.4s; }
.map-history small, .map-feed small { color: var(--wire); }
.map-strategy {
  grid-area: strategy;
  background: #e8edfc;
  color: #203678;
}
.map-strategy span { color: #394e85; }
.map-match {
  grid-area: match;
  background: #16295e;
}
.map-signal {
  width: 78px;
  height: 30px;
  margin-bottom: 8px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}
.map-signal > path { opacity: .35; }
.map-signal use {
  stroke-width: 2.4;
  stroke-dasharray: 22 100;
  animation: map-trace 5s linear infinite;
  animation-play-state: var(--motion-state, paused);
}
.map-match .map-signal { color: #d8e7c3; }
@keyframes map-trace { to { stroke-dashoffset: -122; } }
.map-wire {
  position: absolute;
  left: 100%;
  top: 50%;
  width: var(--gap);
  height: 1px;
  transform: translateY(-50%);
  background: color-mix(in srgb, var(--wire) 52%, transparent);
}
.map-wire.incoming { left: calc(-1 * var(--gap)); }
.map-wire::before {
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  background: var(--wire);
  clip-path: polygon(0 0, 100% 50%, 0 100%, 35% 50%);
}
.map-wire::after {
  content: "";
  position: absolute;
  inset: -1px auto -1px 0;
  width: 12px;
  border-radius: 50%;
  background: linear-gradient(to right, transparent, var(--wire) 70%, white);
  opacity: 0;
  animation: route-packet 5s linear var(--departure, 0s) infinite;
  animation-play-state: var(--motion-state, paused);
}
.map-simulator .incoming { --departure: 1s; }
.map-venue .incoming { --departure: 1.4s; }
@keyframes route-packet {
  0% { opacity: 0; transform: translateX(0); }
  3%, 17% { opacity: 1; }
  20%, 100% { opacity: 0; transform: translateX(calc(var(--gap) - 12px)); }
}
.runtime-map figcaption,
.runtime-map figcaption b {
  border-color: #7186cd;
  color: #e0e7ff;
}
.runtime-map figcaption {
  gap: 12px;
  flex-wrap: wrap;
}
.runtime-map figcaption a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 1000px) {
  .schematic {
    --gap: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "history feed" "strategy strategy" "simulator venue" "backtest capture" "match match";
    gap: var(--gap);
  }
  .map-node { justify-items: center; text-align: center; }
  .map-wire {
    left: 50%;
    top: 100%;
    transform-origin: left center;
    transform: translateY(-50%) rotate(90deg);
  }
  .map-wire.incoming {
    left: 50%;
    top: calc(-1 * var(--gap));
  }
}
@media (max-width: 720px) {
  .architecture-intro {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 24px;
  }
  .schematic {
    padding: 14px;
    column-gap: 12px;
  }
}
.desk {
  border-top: 1px solid var(--line);
}
.desk-preview {
  --panel-pad: clamp(18px, 2.2vw, 34px);
  min-width: 0;
  font-variant-numeric: tabular-nums;
}
.portfolio-panel {
  padding: var(--panel-pad);
  border-radius: 8px 8px 0 0;
  color: #f6f8ff;
  background: linear-gradient(118deg, #121e43, #263f86);
}
.panel-heading, .scale-labels, .health-checks > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.panel-heading {
  font: 11px/1.4 var(--mono);
  letter-spacing: .04em;
}
.portfolio-panel .panel-heading {
  padding-bottom: 16px;
  border-bottom: 1px solid #ffffff36;
  color: #d2dcf5;
}
.equity-label { margin-top: 22px; color: #d2dcf5; font-size: 14px; }
.equity-value { margin-top: 3px; font-size: clamp(36px, 4vw, 67px); letter-spacing: -.055em; }
.equity-value small, .capital-stats small {
  color: #d2dcf5;
  font: 11px/1 var(--mono);
  letter-spacing: .02em;
}
.capital-scale { margin: 18px 0 22px; }
.capital-range {
  position: relative;
  height: 20px;
  background: repeating-linear-gradient(90deg, #a5b6df66 0 1px, transparent 1px calc(100% / 30)) left center / 100% 7px no-repeat;
}
.capital-range::before {
  content: "";
  position: absolute;
  /* Initial allocation and current equity on the 20,000–20,600 scale. */
  left: 12.83%;
  right: 11.99%;
  inset-block: 8px;
  background: #b4c6ff;
}
.capital-range::after {
  content: "";
  position: absolute;
  left: 12.83%;
  right: 11.99%;
  inset-block: 2px;
  border-inline: 3px solid #dae4ff;
}
.scale-labels { color: #c6d2ec; font: 10px/1.6 var(--mono); }
.capital-stats { display: flex; flex-wrap: wrap; gap: 12px 8%; margin: 0; }
.capital-stats dt { color: #c6d2ec; font-size: 12px; }
.capital-stats dd { margin: 4px 0 0; font-size: clamp(17px, 1.45vw, 23px); }
.health-panel {
  padding: 20px var(--panel-pad) 8px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #fcfcf9;
}
.health-panel h3 { font: 500 20px/1.2 Inter, Arial, sans-serif; letter-spacing: -.04em; }
.health-panel .panel-heading span { color: #5a626b; }
.health-checks { margin: 14px 0 0; }
.health-checks > div { padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.health-checks dd { margin: 0; color: #246049; }
.health-checks dd::before { content: "✓"; margin-right: 6px; }
.desk-list {
  margin: 24px 0 0;
}
.desk-list > div {
  padding-block: 19px;
  border-top: 1px solid var(--line);
}
.desk-list > div:last-child {
  border-bottom: 1px solid var(--line);
}
.desk-list dt {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.desk-list dd {
  margin: 5px 0 0;
  color: #52565b;
  font-size: 15px;
  line-height: 1.5;
}
@media (max-width: 720px) {
  .feature-spread {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding-block: 50px;
  }
  .feature-copy h2 {
    margin: 15px 0;
  }
}

.lab-example {
  background: #ecefe9;
  border-top: 1px solid var(--line);
}
.lab-capabilities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5em), 1fr));
  gap: 8px 28px;
  max-width: 26em;
  margin: 22px 0 0;
  padding-left: 1.1em;
  list-style-type: square;
  color: #52565b;
  font-size: 15px;
  line-height: 1.5;
}
.lab-capabilities li::marker { color: var(--blue); }
.agent-link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
.agent-workflow {
  padding-block: clamp(42px, 5vw, 80px);
  background: #edf0f8;
  border-block: 1px solid var(--line);
}
.agent-workflow .section-intro > p,
.agent-tasks p {
  color: #46515f;
  font-size: 15px;
  line-height: 1.5;
}
.agent-workflow .section-intro > p { max-width: 46ch; }
.agent-workflow h2 { text-wrap: balance; }
.agent-tasks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
.agent-tasks li {
  border-top: 1px solid #bcc5d8;
  padding-top: 14px;
}
.agent-tasks h3 {
  margin-bottom: 6px;
  font-size: clamp(19px, 1.6vw, 24px);
  letter-spacing: -0.035em;
}
.agent-tasks p { max-width: 43ch; }
.agent-tasks h3 + p {
  color: #243c83;
  margin: 10px 0;
  font: italic clamp(23px, 1.85vw, 30px)/1.18 "Instrument Serif", Georgia, serif;
}
@media (max-width: 1000px) {
  .agent-tasks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .agent-tasks { grid-template-columns: 1fr; gap: 14px; }
}
.research-report {
  margin: 0;
  padding: clamp(18px, 2.4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}
.report-meta {
  color: #535c66;
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}
.research-report h3 {
  margin: 18px 0 4px;
  font-size: clamp(23px, 2.2vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.report-context, .report-results dd {
  color: #52565b;
  font-size: 14px;
  line-height: 1.45;
}
.report-results {
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px clamp(14px, 2vw, 32px);
}
.report-results > div {
  border-top: 1px solid var(--line);
  padding-top: 11px;
}
.report-results dt {
  font-size: 14px;
  font-weight: 600;
}
.report-results dd { margin: 0; }
.report-results b {
  display: block;
  margin: 5px 0;
  color: var(--blue);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 500;
}
.report-results small {
  font-size: 0.48em;
  letter-spacing: -0.02em;
}
.reconciliation {
  background: #181c22;
  color: var(--paper);
}
.reconciliation em {
  color: #cbd7ac;
}
.reconciliation .intro {
  color: #c0c5ce;
}
.reconciliation .eyebrow i {
  background: #cbd7ac;
}
.reconciliation-body {
  padding-block: clamp(32px, 3.5vw, 56px);
  --border: #424953;
  --muted: #c0c6d0;
}
.trade-session {
  padding: clamp(16px, 1.8vw, 27px);
  background: linear-gradient(130deg, #252b33, #20252c);
  border-radius: 8px;
}
.trade-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.trade-header span, .fill-pair dt {
  color: var(--muted);
  font: 11px/1.5 var(--mono);
}
.trade-case {
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.trade-case + .trade-case { margin-top: 18px; }
.trade-case h3 { font-size: clamp(24px, 2vw, 32px); }
.trade-case p {
  margin: 4px 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.fill-pair {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
  margin: 0;
}
.fill-pair dd {
  margin: 2px 0 0;
  font: 13px/1.45 var(--mono);
}
