@charset "UTF-8";
/*!
 * SIRAYA Model Router: landing page styles
 * --------------------------------------------------------------
 * One stylesheet for index-en.html and index-zh.html.
 * Order matters: sections follow the page from top to bottom, and a few
 * rules intentionally sit after the rules they override.
 *
 *  1. Tokens            colour, type
 *  2. Base              reset, layout primitives, shared labels
 *  3. Header            logo, language switch
 *  4. Hero              headline, CTA, orbit routing visual
 *  5. Trust             logo marquee, key numbers
 *  6. Model ecosystem   model cards, model dialog
 *  7. Why Model Router  benefit cards with line diagrams
 *  8. Smart routing     preset chat demo
 *  9. How it works      capability navigator and illustrative interfaces
 * 10. Customer stories
 * 11. Closing CTA       orbit field
 * 12. Footer
 * 13. Motion            keyframes, card edge signal
 * 14. Traditional Chinese adjustments
 */
:root {
  color-scheme: dark;
  /* Colour (MR Brand Visual Guide v0.7) */
  --bg: #080909; /* page background */
  --ink: #ededed; /* primary text */
  --muted: #ababab; /* secondary text */
  --line: #393939; /* default rule / border */
  --section-label: #b7babd; /* eyebrow labels */
  --accent: #ff6818; /* brand orange: focus, primary action */
  --volt: #aef0ff; /* status blue: data, availability, completion */
  --violet: #7585cf; /* secondary interaction, hover outline */
  /* Type: Latin text uses Manrope (headings, stand-in for Articulat CF) and Roboto (body, stand-in for Acumin Pro);
     Chinese falls through to Noto Sans TC from Google Fonts.
     To switch back to the Adobe Fonts kit, change these two stacks only. */
  --font: "Roboto", "Roboto Fallback", "Noto Sans TC", sans-serif;
  --heading-font: "Manrope", "Manrope Fallback", "Noto Sans TC", sans-serif;
  --type-section: 42px; /* section headings, scales down below */
  --type-label: 12px;
  --type-meta: 11px;
  --type-label-tracking: .06em;
}

@media (max-width: 800px) {
  :root {
    --type-section: 36px;
  }
}
@media (max-width: 480px) {
  :root {
    --type-section: 32px;
  }
}
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial"), local("ArialMT");
  font-weight: 700;
  size-adjust: 99.82%;
  ascent-override: 107.2%;
  descent-override: 30.06%;
  line-gap-override: 0%;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF, U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto Fallback";
  src: local("Arial"), local("ArialMT");
  font-weight: 400;
  size-adjust: 99.02%;
  ascent-override: 93.92%;
  descent-override: 24.24%;
  line-gap-override: 0%;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF, U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root h1,
:root h2,
:root h3 {
  font-family: var(--heading-font);
  font-weight: 700;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.55;
  font-synthesis: none;
  color: var(--ink);
  position: relative;
  font-family: var(--font);
  font-weight: 400;
  transform-origin: top left;
  background: var(--bg);
  transform: none;
  letter-spacing: 0;
}

a {
  text-decoration: none;
}

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

h3 {
  letter-spacing: -0.025em;
}

img,
svg {
  max-width: 100%;
}

svg {
  display: block;
}

.wrap {
  margin-inline: auto;
  width: calc(100% - 96px);
  max-width: 1280px;
}

.eyebrow {
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--section-label);
  font: 400 12px/1.5 var(--font);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: var(--type-label);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: var(--type-label-tracking);
}

.section {
  border-top: 1px solid #333333;
  background: transparent;
  border-top-color: #26282a;
  padding: 70px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  margin-bottom: 34px;
  gap: 60px;
}

.section-head p {
  max-width: 450px;
  justify-self: end;
  font-size: 16px;
  line-height: 1.55;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

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

@media (max-width: 760px) {
  .section-head {
    grid-template-columns: 1fr;
  }
  .section-head p {
    justify-self: start;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
::selection {
  background: #763018;
  color: #fff;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--bg);
}

body > header,
body > main,
body > footer {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3 {
  font-family: var(--heading-font);
  font-weight: 700;
}

p {
  color: var(--muted);
}

html,
body {
  width: 100%;
  min-width: 0;
  overflow-x: clip;
  scroll-behavior: smooth;
}

button,
a,
[role=button] {
  -webkit-tap-highlight-color: transparent;
}

button {
  border-radius: 0;
}

button,
[role=button] {
  cursor: pointer;
}

a,
button,
[role=button] {
  touch-action: manipulation;
}

@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
}
@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .section-head p {
    justify-self: start;
  }
}
@media (max-width: 480px) {
  .section-head {
    margin-bottom: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
}
body > main {
  background: transparent;
}

.eyebrow::before {
  content: "";
  display: block;
  flex: 0 0 11px;
  width: 11px;
  height: 11px;
  background: var(--accent);
  border: 0;
  border-radius: 0;
  clip-path: polygon(50% 0, 64% 35%, 100% 50%, 64% 65%, 50% 100%, 36% 65%, 0 50%, 36% 35%);
}

.section-nebula {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  contain: strict;
}

.section-head h2 {
  font-size: var(--type-section);
  line-height: 1.12;
  letter-spacing: -0.028em;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  font: 400 14px var(--font);
  border: 1px solid #ff4b00;
  padding: 15px 20px;
  gap: 44px;
  position: relative;
  background-blend-mode: soft-light;
  background: var(--accent);
  background-image: none;
  border-color: var(--accent);
  color: var(--bg);
  box-shadow: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  font-family: var(--font);
  line-height: 1.4;
  font-weight: 400;
  font-size: 15px;
}

.btn-primary:hover {
  filter: brightness(1.1);
  background: var(--volt);
  border-color: var(--volt);
  color: var(--bg);
}

.btn-primary span {
  font-size: 21px;
}

.logo-track {
  display: flex;
  width: max-content;
  animation: logo-loop 28s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  flex: 0 0 auto;
  min-height: 54px;
}

.logo-marquee[data-running=true] .logo-track {
  animation-play-state: running;
}

.logo-marquee:hover .logo-track,
.logo-marquee:focus-within .logo-track {
  animation-play-state: paused;
}

.logo-marquee:focus-visible {
  outline: 2px solid #aee2ee;
  outline-offset: 5px;
}

a:focus-visible,
button:focus-visible,
[role=button]:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .logo-group {
    gap: 28px;
    padding-right: 28px;
  }
}
@media (max-width: 480px) {
  .logo-group {
    gap: 26px;
    padding-right: 26px;
    min-height: 46px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track {
    width: 100%;
    animation: none;
    will-change: auto;
  }
  .logo-group {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 24px;
    padding: 8px 0;
    min-height: 0;
  }
  .logo-group[aria-hidden=true] {
    display: none;
  }
}
.logo-marquee:focus-visible {
  outline-color: var(--volt);
}

.workflow-section .section-head h2 {
  max-width: 760px;
  font-size: var(--type-section);
  line-height: 1.12;
  letter-spacing: -0.028em;
}

.workflow-section {
  background: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--bg);
  font: 400 14px/1.4 var(--font);
}

.skip-link:focus-visible {
  top: 16px;
  outline: 2px solid var(--volt);
  outline-offset: 2px;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand-label {
  border-left: 1px solid var(--line);
  padding-left: 20px;
  font-family: var(--font);
  line-height: 1.3;
  font-size: 12px;
  color: #aaa;
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 80px;
    flex-wrap: wrap;
    gap: 0;
    padding-top: 16px;
  }
  .brand-label {
    padding-left: 14px;
  }
}
.brand-wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font: 400 25px/1 var(--font);
  white-space: nowrap;
  font-family: var(--font);
  font-weight: 400;
  font-size: 27px;
  gap: 14px;
}

.site-header {
  border-bottom: 1px solid #363636;
  height: 88px;
  background: var(--bg);
}

.orbit-brand {
  flex: none;
  overflow: visible;
}

.footer-inner .brand-wordmark {
  font-size: 22px;
}

.site-header .brand img.orbit-brand {
  width: 46px;
  height: 45px;
  object-fit: contain;
}

.footer-inner img.orbit-brand {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .brand-wordmark {
    font-size: 24px;
  }
  .brand {
    gap: 16px;
  }
}
@media (max-width: 800px) {
  .site-header,
  .header-inner {
    height: auto;
    min-height: 82px;
  }
  .header-inner {
    flex-wrap: wrap;
    gap: 0;
    padding-top: 18px;
  }
  .brand-wordmark {
    font-size: 23px;
  }
  .site-header .brand img.orbit-brand {
    width: 38px;
    height: 38px;
  }
  .brand-label {
    font-size: 11px;
  }
  .footer-inner .brand-wordmark {
    font-size: 20px;
  }
}
@media (max-width: 480px) {
  .brand {
    gap: 12px;
  }
  .brand-wordmark {
    font-size: 21px;
    gap: 10px;
  }
  .brand-label {
    padding-left: 12px;
  }
  .footer-inner .brand-wordmark {
    font-size: 20px;
  }
}
.brand-wordmark,
.brand-label {
  letter-spacing: 0;
}

.language-switch {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  background: none;
  border: 1px solid #4b4e50;
  padding: 4px 9px;
  height: 30px;
}

.language-option {
  appearance: none;
  -webkit-appearance: none;
  display: inline-block;
  width: auto;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  color: #b7babd;
  font: 400 12px/20px var(--font);
  letter-spacing: 0;
  cursor: pointer;
}

.language-option.is-current {
  color: var(--volt);
  background: none;
}

.language-option::before,
.language-option::after {
  content: none;
}

.language-zh {
  font-family: "Noto Sans TC", sans-serif;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
}

.language-divider {
  font: 400 12px/20px var(--font);
  color: #74797e;
}

.language-option:focus-visible {
  outline: 1px solid var(--volt);
  outline-offset: 5px;
}

.home-hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 560px;
  align-items: center;
  border-inline: 0;
  position: relative;
  isolation: isolate;
}

.home-intro {
  display: flex;
  flex-direction: column;
  background: none;
  justify-content: center;
  padding: 58px 30px 58px 30px;
}

.hero-routing {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0 !important;
  padding: 0;
  align-self: stretch;
  justify-content: center;
  min-height: 0;
}

@media (max-width: 760px) {
  .home-intro {
    border: 0;
  }
}
.hero-action p {
  font-family: var(--font);
  line-height: 1.5;
  font-size: 13px;
  color: #aaaaaa;
  margin-top: 17px;
}

.home-intro .lead {
  font-size: 19px;
  line-height: 1.55;
  max-width: 460px;
  margin-top: 30px;
  color: #bfc1c3;
}

.hero-action {
  margin-top: 30px;
}

.orbit-scene {
  width: 100%;
  filter: none;
}

.home-intro h1 span {
  color: var(--accent);
}

.hero-routing .orbit-scene {
  position: relative;
  z-index: 1;
  height: 460px;
  flex: 0 1 auto;
}

.home-intro h1 {
  font-size: clamp(48px, 5.28vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.orbit-scene .hd-svg-label {
  font-family: var(--font);
  font-weight: 400;
}

@media (max-width: 1100px) {
  .home-intro .lead {
    font-size: 18px;
  }
}
@media (max-width: 800px) {
  .home-hero {
    grid-template-columns: 1fr;
  }
  .home-intro h1 {
    font-size: clamp(42px, 7.5vw, 64px);
  }
  .home-intro .lead {
    max-width: 580px;
  }
}
@media (max-width: 480px) {
  .home-intro h1 {
    font-size: 45px;
  }
  .home-intro .lead {
    font-size: 17px;
    line-height: 1.55;
  }
}
.home-hero,
.hero-routing {
  background: transparent !important;
}

.home-intro {
  border-right: 0;
}

@media (max-width: 1100px) and (min-width: 761px) {
  .home-hero {
    min-height: 520px;
  }
  .home-intro {
    padding: 48px 20px 48px 18px;
  }
  .hero-routing .orbit-scene {
    height: 420px;
  }
}
@media (max-width: 760px) {
  .home-hero {
    min-height: 0;
    gap: 0;
  }
  .home-intro {
    padding: 40px 0 14px;
  }
  .hero-routing {
    margin-bottom: 12px;
    min-height: 0;
  }
  .hero-routing .orbit-scene {
    height: 300px;
    max-height: 300px;
  }
}
.home-hero .section-nebula {
  z-index: 0;
}

.home-intro,
.hero-routing {
  position: relative;
  z-index: 1;
}

.hd-svg-label {
  font-size: 10px;
  fill: #BBC3CF;
  letter-spacing: 1.5px;
}

.trust-top {
  justify-content: space-between;
  display: grid;
  align-items: center;
  gap: 36px;
  grid-template-columns: auto minmax(0, 1fr);
}

.customers {
  align-items: center;
  flex: 1;
  gap: 28px;
  justify-content: space-between;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  padding: 30px 0 32px;
}

.stat-row div {
  border-left: 1px solid var(--line);
  padding-left: 20px;
  border-color: #3c3c3c;
}

.stat-row span {
  display: block;
  margin-top: 9px;
  font-family: var(--font);
  line-height: 1.4;
  font-weight: 400;
  font-size: 13px;
  color: #a6a6a6;
}

@media (max-width: 760px) {
  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-row div:last-child {
    grid-column: 1/-1;
  }
  .customers {
    grid-template-columns: repeat(3, 1fr);
  }
}
.stat-row strong {
  line-height: 1.12;
  font-variant-numeric: tabular-nums;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: 0;
}

.trust-section {
  padding: 28px 0 0;
  border-top: 1px solid #363636;
  background: var(--bg);
}

.stat-row strong,
.stat-row div:first-child strong {
  color: var(--volt);
}

.trust-top .eyebrow {
  max-width: none;
  white-space: nowrap;
  margin: 0;
  color: var(--section-label);
  font: 400 12px/1.5 var(--font);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: var(--type-label);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: var(--type-label-tracking);
}

.customers.logo-marquee {
  display: block;
  position: relative;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 22px, #000 calc(100% - 22px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22px, #000 calc(100% - 22px), transparent);
}

.customers .logo-group img {
  display: block;
  flex: 0 0 116px;
  width: 116px;
  max-width: 116px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.86;
  transition: opacity 0.2s;
}

.customers .logo-group img:hover {
  opacity: 1;
}

@media (max-width: 900px) {
  .trust-top {
    gap: 14px;
  }
  .trust-top .eyebrow {
    margin: 0;
  }
  .customers .logo-group img {
    flex-basis: 108px;
    width: 108px;
    max-width: 108px;
    height: 28px;
  }
}
@media (max-width: 480px) {
  .trust-top {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .customers.logo-marquee {
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .customers .logo-group img {
    width: 100%;
    max-width: 116px;
    justify-self: center;
  }
}
@media (max-width: 1100px) {
  .trust-top {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .stat-row {
    gap: 14px;
  }
  .stat-row strong {
    font-size: 35px;
  }
}
@media (max-width: 800px) {
  .stat-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px 12px;
  }
  .stat-row div {
    padding-left: 14px;
  }
  .stat-row strong {
    font-size: 36px;
  }
  .stat-row span {
    font-size: 12px;
  }
}
@media (max-width: 480px) {
  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-row strong {
    font-size: 35px;
  }
  .stat-row div:last-child {
    grid-column: 1/-1;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .customers:not(.logo-marquee) {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 32px;
    height: 54px;
    overflow: hidden;
  }
  .customers:not(.logo-marquee) img {
    flex: 0 0 116px;
    width: 116px;
    height: 30px;
  }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 900px) {
  .customers:not(.logo-marquee) {
    gap: 28px;
  }
  .customers:not(.logo-marquee) img {
    flex-basis: 108px;
    width: 108px;
    height: 28px;
  }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 480px) {
  .customers:not(.logo-marquee) {
    gap: 26px;
    height: 46px;
  }
}
.static-link {
  display: inline-flex;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
  color: #e6e6e6;
  border-color: #737373;
  line-height: 1.4;
  font-weight: 400;
  font-family: var(--font);
  font-size: 14px;
}

.featured-model {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 26px;
  border-right: 1px solid #474747;
  border-bottom: 1px solid #474747;
  gap: 12px;
  outline-offset: -4px;
  background: #101113 !important;
  border-color: #373a3c;
  box-shadow: none;
  transition: border-color 0.22s ease, background 0.22s ease;
}

.model-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.provider-letter {
  display: flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid #777777;
  font: 15px var(--font);
  background: #171717;
  color: var(--volt);
  border-color: var(--volt);
}

.model-tag {
  margin-left: auto;
  text-transform: uppercase;
  font: 10px var(--font);
  border: 1px solid #4d4d4d;
  padding: 3px 6px;
  background: #111111;
  border-color: #454545;
  color: #bcbcbc;
  font-size: var(--type-meta);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.featured-model p {
  flex: 1;
  font-family: var(--font);
  font-size: 15px;
  max-width: 100%;
  color: #b6b6b6;
  letter-spacing: 0;
  line-height: 1.55;
}

.model-prices {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--ink);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  font: 14px var(--font);
  gap: 18px;
  border-color: #3a3a3a;
}

.model-prices span {
  display: block;
  font: 10px var(--font);
  color: #989898;
  margin-bottom: 7px;
}

.market-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 11px var(--font);
  margin-top: 22px;
  color: #989898;
  line-height: 1.45;
  font-weight: 400;
  font-family: var(--font);
  font-size: 11px;
}

@media (max-width: 760px) {
  .market-note {
    align-items: start;
    gap: 12px;
    flex-direction: column;
  }
}
.static-link b {
  font-family: var(--font);
  font-weight: 400;
}

:root .model-prices {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.model-grid {
  border-left: 1px solid #474747;
  border-top: 1px solid #373a3c;
}

.featured-model h3 {
  color: #eeeeee;
}

.model-meta .micro {
  font: 11px var(--font);
  color: #c2c2c2;
}

.featured-model:first-child {
  border-top: 2px solid var(--volt);
  position: relative;
}

.marketplace {
  background: none;
}

.marketplace .eyebrow,
.static-link b {
  color: var(--accent);
}

.featured-model:first-child .model-tag {
  background: #111;
}

.featured-model:hover h3,
.featured-model:has(.model-open:focus-visible) h3 {
  color: var(--accent);
}

.model-dialog {
  width: min(560px, 100% - 32px);
  padding: 30px;
  border: 1px solid var(--accent);
  background: #111;
  color: var(--ink);
  max-height: 85dvh;
  overflow: auto;
}

.model-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6666666667);
  backdrop-filter: blur(5px);
}

.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.dialog-top .eyebrow {
  margin: 0;
}

.dialog-close {
  width: 38px;
  height: 38px;
  border: 1px solid #555;
  background: #111;
  color: var(--ink);
  font: 28px var(--font);
}

.dialog-close:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.model-detail-body h3 {
  font: 700 30px/1.1 var(--heading-font);
  margin: 24px 0 15px;
}

.model-detail-body p {
  font: 16px/1.6 var(--font);
  margin-bottom: 28px;
}

.model-detail-body .model-prices {
  border-top: 1px solid #444;
  padding-top: 22px;
}

.dialog-note {
  font: 12px/1.5 var(--font);
  color: #888;
  margin-top: 28px;
}

@media (max-width: 800px) {
  .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .featured-model {
    padding: 22px;
  }
  .model-prices {
    gap: 10px;
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .model-grid {
    grid-template-columns: 1fr;
  }
  .featured-model {
    min-height: 245px;
  }
  .model-prices {
    font-size: 14px;
  }
}
.featured-model:hover {
  border-color: var(--violet);
  box-shadow: none;
}

.featured-model:has(.model-open:focus-visible) {
  outline: 2px solid var(--violet);
  outline-offset: -3px;
}

.featured-model:first-child {
  border-top-color: #373a3c;
}

.marketplace .eyebrow {
  color: var(--section-label);
  font: 400 12px/1.5 var(--font);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: var(--type-label);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: var(--type-label-tracking);
}

.model-grid .featured-model:first-child {
  border-top: 0;
}

#marketplace {
  position: relative;
  isolation: isolate;
}

#marketplace .section-nebula {
  z-index: 2;
}

#marketplace .eyebrow,
#marketplace .section-head,
#marketplace .market-note,
#marketplace .featured-model > .model-meta,
#marketplace .featured-model > h3,
#marketplace .featured-model > p,
#marketplace .featured-model > .model-prices {
  position: relative;
  z-index: 3;
}

#marketplace .featured-model {
  isolation: auto;
}

.model-grid .featured-model h3 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.model-meta .micro,
.model-prices span,
.market-note > span {
  font-size: var(--type-meta);
  line-height: 1.4;
  letter-spacing: 0.03em;
}

.featured-model {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.model-open {
  all: unset;
  cursor: pointer;
}

.model-open:focus-visible {
  outline: none;
}

.benefit {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  flex-direction: column;
  min-width: 0;
  gap: 16px;
  background: #101113 !important;
  border-color: #373a3c;
  box-shadow: none;
  transition: border-color 0.22s ease, background 0.22s ease;
}

.benefit svg {
  flex: 1;
}

#why .benefit > .number {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 400;
  display: block;
  line-height: 14px;
}

#why .benefit > h3 {
  letter-spacing: -0.015em;
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  align-self: start;
  overflow-wrap: normal;
}

#why .benefit svg text {
  font-family: var(--font);
  font-weight: 400;
}

#why .benefit svg text[font-size="7.4"],
#why .benefit svg text[font-size="8"] {
  font-size: 9.5px;
  letter-spacing: 0.1px;
}

#why {
  padding-block: 64px;
}

.benefits {
  border-left: 1px solid #494949;
  border-top: 1px solid #494949;
}

.benefit .number {
  font: 12px var(--font);
  color: var(--accent);
}

.benefit svg text {
  font-size: 9px;
}

.benefit h3 {
  color: #e3e3e3;
  font-family: var(--heading-font);
}

#why .benefit {
  display: grid;
  align-content: start;
  padding: 24px;
  aspect-ratio: auto;
  min-height: 265px;
  grid-template-rows: 14px 115px auto;
  row-gap: 18px;
}

#why .benefit:focus-visible {
  outline: 1px solid var(--volt);
  outline-offset: 4px;
}

#why .benefit > svg {
  display: block;
  width: 100%;
  max-height: none;
  min-width: 0;
  margin: 0;
  overflow: visible;
  align-self: center;
  height: 115px;
}

#why .benefit .bm-signal {
  fill: var(--volt);
  stroke: none;
  filter: none;
}

#why .benefit .bm-route {
  fill: none;
  stroke: var(--volt);
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

#why .benefit .bm-usage {
  fill: var(--volt);
  stroke: none;
}

@media (max-width: 960px) {
  #why .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #why .benefit > svg {
    max-width: 280px;
    justify-self: center;
  }
}
@media (max-width: 480px) {
  #why .benefits {
    grid-template-columns: 1fr;
  }
  #why .benefit {
    padding: 22px;
  }
  #why .benefit > svg {
    max-width: 268px;
  }
  #why .benefit > h3 {
    max-width: 290px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #why .benefit .bm-signal {
    filter: none;
  }
}
.benefit .bm-signal,
.benefit .bm-usage {
  filter: none;
}

.benefit:hover {
  border-color: var(--violet);
  box-shadow: none;
}

.ai-example {
  padding: 68px 0 60px;
  background: transparent !important;
}

@media (max-width: 800px) {
  .section {
    padding: 58px 0;
  }
}
.ai-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 36px;
}

.ai-intro > p {
  font-size: 18px;
  line-height: 1.55;
  max-width: 420px;
  color: #b7b7b7;
}

.ai-stage {
  grid-template-columns: 1.36fr 1fr;
  gap: 22px;
  align-items: start;
  position: relative;
}

.ai-app {
  z-index: 2;
  isolation: isolate;
  min-width: 0;
  transition: border-color 0.22s ease, background 0.22s ease;
}

.ai-app-head {
  display: flex;
  align-items: center;
}

.app-symbol {
  display: grid;
  place-items: center;
}

.ai-app-head strong {
  display: block;
}

.ai-app-head small {
  display: block;
}

.msg-mark {
  font-size: 20px;
}

.ai-stage::after {
  content: "✦";
  position: absolute;
  right: 24px;
  top: -49px;
  font: 30px var(--font);
  color: var(--volt);
  display: none;
}

.app-symbol,
.msg-mark {
  color: #e5e5e5;
}

.ai-intro h2 span {
  color: var(--accent);
}

.ai-app[data-flow=complete] .response .msg-mark {
  color: var(--volt);
}

.ai-app .response {
  transition: border-color 0.2s;
}

@media (max-width: 1100px) {
  .ai-intro > p {
    max-width: 350px;
    font-size: 16px;
  }
  .ai-stage {
    grid-template-columns: 1.15fr 1fr;
    gap: 16px;
  }
}
@media (max-width: 800px) {
  .ai-intro {
    display: block;
  }
  .ai-intro > p {
    max-width: 550px;
    margin-top: 22px;
  }
  .ai-stage {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .msg-mark {
    font-size: 16px;
  }
}
#ai-example .ai-stage {
  display: block;
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
}

#ai-example .ai-app {
  margin: 0;
  background: #111;
  border: 1px solid #414141;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

#ai-example .ai-app:hover {
  background: #111;
  border-color: #414141;
}

#ai-example .ai-app-head {
  height: 80px;
  padding: 18px 32px;
  gap: 14px;
  border-top: 0;
  border-bottom: 1px solid #333;
}

#ai-example .app-symbol {
  width: 30px;
  height: 34px;
  flex: 0 0 30px;
  background: transparent;
  border: 0;
  color: var(--accent);
  font-size: 29px;
}

#ai-example .ai-app-head strong {
  font: 700 20px/1.2 var(--heading-font);
  color: var(--ink);
}

#ai-example .ai-app-head small {
  font: 400 12px/1.45 var(--font);
  margin-top: 4px;
  color: #999;
  font-size: 12px;
}

#ai-example .chat-demo-note {
  margin: 0 0 0 auto;
  font: 400 11px/1.4 var(--font);
  color: #999;
  white-space: nowrap;
}

#ai-example .chat-demo-note::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--violet);
  margin-right: 8px;
  vertical-align: 2px;
}

#ai-example .conversation {
  padding: 19px 32px 25px;
}

#ai-example .chat-presets {
  display: flex;
  gap: 24px;
  max-width: 610px;
}

#ai-example .chat-preset {
  flex: 1;
  min-height: 35px;
  padding: 6px 0 10px;
  border: 0;
  border-bottom: 1px solid #414141;
  border-radius: 0;
  background: transparent;
  color: #a4a4a4;
  text-align: left;
  font: 400 13px/1.3 var(--font);
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s;
}

#ai-example .chat-preset[aria-pressed=true] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

#ai-example .chat-preset:not(:disabled):hover {
  color: var(--ink);
  border-bottom-color: var(--violet);
}

#ai-example .chat-preset:disabled {
  cursor: default;
  opacity: 0.65;
}

#ai-example .chat-composer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  padding: 13px 14px 13px 17px;
  background: #191919;
  border: 1px solid #4a4a4a;
  transition: border-color 0.18s;
}

#ai-example .chat-composer:focus-within {
  border-color: var(--violet);
}

#ai-example .chat-request-field {
  flex: 1;
  min-width: 0;
}

#ai-example .chat-request-label {
  display: block;
  margin-bottom: 6px;
  color: #999;
  font: 400 10px/1.3 var(--font);
  font-size: var(--type-meta);
  line-height: 1.4;
  letter-spacing: 0.03em;
}

#ai-example .chat-input {
  display: block;
  width: 100%;
  height: 48px;
  min-height: 24px;
  max-height: 144px;
  resize: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #dedede;
  font: 400 16px/1.45 var(--font);
  caret-color: transparent;
  cursor: default;
  font-size: 16px;
  letter-spacing: 0;
}

#ai-example .chat-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  flex: 0 0 93px;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--accent);
  border-radius: 0;
  background: var(--accent);
  color: var(--bg);
  font: 700 12px/1.25 var(--font);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}

#ai-example .chat-send:not(:disabled):hover {
  background: var(--volt);
  border-color: var(--volt);
}

#ai-example .chat-send:disabled {
  background: #292929;
  border-color: #444;
  color: #a4a4a4;
  cursor: default;
  opacity: 1;
}

#ai-example .chat-send-arrow {
  font-size: 23px;
  line-height: 1;
  font-weight: 400;
}

#ai-example .chat-preset-help {
  margin: 8px 0 0;
  color: #888;
  font: 400 11px/1.4 var(--font);
}

#ai-example .message {
  display: flex;
  width: 100%;
  gap: 16px;
  min-width: 0;
  padding: 23px 0 0;
  margin: 22px 0 0;
  border: 0;
  border-top: 1px solid #2d2d2d;
  border-radius: 0;
  text-align: left;
  background: transparent;
  color: var(--ink);
}

#ai-example .msg-mark {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  height: 30px;
  margin-top: 1px;
}

#ai-example .response .response-brand-mark,
#ai-example .ai-app[data-flow=complete] .response .response-brand-mark {
  border: 0;
  background: transparent;
  overflow: visible;
}

#ai-example .response-brand-logo {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex: none;
}

#ai-example .chat-message-body {
  display: block;
  min-width: 0;
  flex: 1;
}

#ai-example .msg-label {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 9px;
  color: var(--ink);
  font: 700 13px/1.3 var(--heading-font);
}

#ai-example .msg-label small {
  margin: 0;
  color: #929292;
  font: 400 11px/1.4 var(--font);
}

#ai-example .message p {
  display: block;
  min-height: 0;
  margin: 0;
  color: #d7d7d7;
  font: 400 18px/1.5 var(--font);
  overflow-wrap: anywhere;
}

#ai-example .chat-response-space {
  display: grid;
  min-height: 54px;
  max-width: 790px;
}

#ai-example .chat-response-space > p {
  grid-area: 1/1;
}

#ai-example .chat-response-measure {
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}

#ai-example .ai-app[data-flow=ready] .chat-response-copy {
  color: #808080;
  font-size: 16px;
}

#ai-example .chat-routing-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 58px;
  padding: 14px 32px;
  border-top: 1px solid #333;
  background: #151515;
  font: 400 12px/1.4 var(--font);
}

#ai-example .chat-route-path {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

#ai-example .chat-router-name {
  padding-right: 15px;
  margin-right: 3px;
  border-right: 1px solid #444;
  color: #b8b8b8;
}

#ai-example .chat-route-policy {
  color: #969696;
}

#ai-example .chat-route-arrow {
  color: var(--violet);
  font-size: 17px;
}

#ai-example .chat-route-model {
  color: var(--ink);
}

#ai-example .chat-route-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: #a5a5a5;
  min-width: 121px;
}

#ai-example .chat-route-status::before {
  content: "";
  flex: 0 0 4px;
  width: 4px;
  height: 4px;
  background: var(--violet);
}

#ai-example .ai-app[data-flow=routing] .chat-route-status::before,
#ai-example .ai-app[data-flow=responding] .chat-route-status::before {
  background: var(--accent);
}

#ai-example .ai-app[data-flow=complete] .chat-route-status::before {
  background: var(--volt);
}

#ai-example button:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 4px;
}

#ai-example .chat-typing {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  height: 27px;
}

#ai-example .chat-typing i {
  width: 4px;
  height: 4px;
  background: var(--accent);
  animation: chat-demo-type 0.65s ease-in-out infinite alternate;
}

#ai-example .chat-typing i:nth-child(2) {
  animation-delay: 0.13s;
}

#ai-example .chat-typing i:nth-child(3) {
  animation-delay: 0.26s;
}

#ai-example .chat-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
  padding: 0;
  border: 0;
}

@media (max-width: 760px) {
  #ai-example .ai-app-head {
    padding-inline: 24px;
  }
  #ai-example .conversation {
    padding: 18px 24px 24px;
  }
  #ai-example .chat-presets {
    gap: 18px;
  }
  #ai-example .chat-composer {
    gap: 14px;
  }
  #ai-example .message p {
    font-size: 17px;
  }
  #ai-example .chat-routing-strip {
    padding-inline: 24px;
    gap: 14px;
    flex-wrap: wrap;
  }
  #ai-example .chat-route-status {
    min-width: 0;
  }
}
@media (max-width: 560px) {
  #ai-example .ai-app-head {
    height: auto;
    min-height: 84px;
    padding: 17px 20px;
    gap: 10px;
    flex-wrap: wrap;
  }
  #ai-example .app-symbol {
    flex-basis: 26px;
    width: 26px;
    font-size: 25px;
  }
  #ai-example .ai-app-head strong {
    font-size: 18px;
  }
  #ai-example .ai-app-head small {
    margin-top: 3px;
  }
  #ai-example .chat-demo-note {
    width: 100%;
    margin: 0 0 0 36px;
  }
  #ai-example .conversation {
    padding: 16px 20px 22px;
  }
  #ai-example .chat-presets {
    gap: 13px;
  }
  #ai-example .chat-preset {
    min-height: 39px;
    padding: 5px 0 9px;
    line-height: 1.4;
    font-size: 12px;
  }
  #ai-example .chat-composer {
    gap: 12px;
    margin-top: 15px;
    padding: 12px;
  }
  #ai-example .chat-input {
    line-height: 1.45;
    max-height: 174px;
  }
  #ai-example .chat-send {
    flex-basis: 40px;
    min-height: 40px;
    padding: 8px;
  }
  #ai-example .chat-send-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
  #ai-example .chat-send-arrow {
    font-size: 24px;
  }
  #ai-example .message {
    gap: 12px;
    padding-top: 21px;
    margin-top: 20px;
  }
  #ai-example .msg-mark {
    flex-basis: 25px;
    height: 25px;
  }
  #ai-example .response-brand-logo {
    width: 25px;
    height: 25px;
  }
  #ai-example .msg-label {
    margin-bottom: 7px;
    font-size: 12px;
    gap: 8px;
  }
  #ai-example .message p {
    font-size: 16px;
    line-height: 1.5;
  }
  #ai-example .ai-app[data-flow=ready] .chat-response-copy {
    font-size: 15px;
  }
  #ai-example .chat-routing-strip {
    gap: 8px 12px;
    padding: 13px 20px;
    font-size: 12px;
  }
  #ai-example .chat-route-path {
    flex: 0 0 100%;
    gap: 10px;
  }
  #ai-example .chat-router-name {
    padding-right: 12px;
    margin-right: 0;
  }
  #ai-example .chat-route-status {
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  #ai-example .chat-typing i {
    animation: none;
  }
}
.ai-intro h2 {
  font-size: var(--type-section);
  line-height: 1.12;
  letter-spacing: -0.028em;
}

#ai-example .ai-app-head strong,
#ai-example .msg-label {
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: 0;
}

#ai-example .chat-demo-note,
#ai-example .chat-preset-help,
#ai-example .msg-label small,
#ai-example .chat-route-status {
  font-size: var(--type-meta);
  line-height: 1.4;
  letter-spacing: 0;
}

#ai-example .chat-preset,
#ai-example .chat-send,
#ai-example .chat-routing-strip {
  font-weight: 400;
  letter-spacing: 0;
}

.mrx-how {
  color: #f5f7f9;
  border-radius: 0;
  font-family: var(--font);
  --mrx-line: #414141;
}

.mrx-how * {
  box-sizing: border-box;
}

.mrx-how button {
  font: inherit;
  cursor: pointer;
}

.mrx-how button:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: -3px;
}

.mrx-how [hidden] {
  display: none !important;
}

.mrx-panel {
  display: grid;
}

.mrx-copy {
  border-right: 1px solid var(--mrx-line);
}

.mrx-eyebrow {
  display: block;
  color: var(--accent);
  margin-bottom: 18px;
  font-family: var(--font);
  font-size: var(--type-label);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: var(--type-label-tracking);
}

.mrx-copy h3 {
  color: #f7f9fb;
  margin: 0 0 17px;
}

.mrx-copy p {
  margin: 0 0 23px;
}

.mrx-copy ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.mrx-copy li {
  position: relative;
  padding-left: 14px;
}

.mrx-copy li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border: 1px solid var(--volt);
}

.mrx-display {
  display: flex;
  align-items: center;
}

.mrx-interface {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(158, 184, 205, 0.2);
  border-radius: 0;
  overflow: hidden;
}

.mrx-interface-head {
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--mrx-line);
  gap: 10px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 400;
}

.mrx-interface-head > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mrx-interface-head small {
  font-weight: 400;
  white-space: nowrap;
  font-family: var(--font);
}

.mrx-live-dot {
  height: 5px;
  width: 5px;
  background: var(--volt);
  display: inline-block;
}

.mrx-segment {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 18px 18px 0;
}

.mrx-segment button {
  border: 1px solid transparent;
  color: #a7b5c2;
  background: transparent;
  padding: 7px 12px;
  border-radius: 0;
  font-weight: 400;
}

.mrx-segment button[aria-pressed=true] {
  background: rgba(255, 75, 22, 0.1);
  color: #ff875e;
  border-color: rgba(255, 75, 22, 0.45);
}

.mrx-segment button:hover {
  color: #fff;
}

.mrx-route-map {
  position: relative;
}

.mrx-route-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  overflow: visible;
  fill: none;
}

.mrx-request-point {
  fill: var(--volt);
  stroke: transparent;
  animation: mrx-pulse 2s ease-in-out infinite;
}

.mrx-routing[data-mrx-route=performance] [data-mrx-path=performance],
.mrx-routing[data-mrx-route=cost] [data-mrx-path=cost],
.mrx-routing[data-mrx-route=availability] [data-mrx-path=availability] {
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 5 3;
  animation: mrx-flow 1.6s linear infinite;
}

.mrx-map-request {
  position: absolute;
  text-align: center;
  border: 1px solid #314453;
}

.mrx-code-symbol {
  color: var(--volt);
  font-size: 21px;
  line-height: 1;
  margin-bottom: 9px;
}

.mrx-map-request strong,
.mrx-map-router strong {
  display: block;
}

.mrx-map-request small,
.mrx-map-router small {
  display: block;
  margin-top: 4px;
}

.mrx-map-router {
  position: absolute;
  text-align: center;
}

.mrx-router-symbol {
  font-size: 28px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 7px;
}

.mrx-map-model {
  position: absolute;
  border: 1px solid #263643;
  display: flex;
  align-items: center;
  transition: border-color 0.3s, background 0.3s;
}

.mrx-map-model > span {
  display: grid;
  place-items: center;
  border: 1px solid #384957;
  font-size: 13px;
}

.mrx-map-model strong {
  display: block;
}

.mrx-map-model small {
  display: block;
  margin-top: 2px;
}

.mrx-routing[data-mrx-route=performance] .mrx-model-a,
.mrx-routing[data-mrx-route=cost] .mrx-model-b,
.mrx-routing[data-mrx-route=availability] .mrx-model-c {
  border-color: rgba(255, 75, 22, 0.7);
  background: #271c18;
}

.mrx-routing[data-mrx-route=performance] .mrx-model-a small,
.mrx-routing[data-mrx-route=cost] .mrx-model-b small,
.mrx-routing[data-mrx-route=availability] .mrx-model-c small {
  color: var(--accent);
}

.mrx-decision {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 43px;
  padding: 11px 16px;
  border-top: 1px solid var(--mrx-line);
  background: rgba(154, 196, 218, 0.03);
}

.mrx-decision-key {
  color: #7790a2;
  text-transform: uppercase;
}

.mrx-log-mark {
  color: var(--accent);
  margin-left: auto;
}

.mrx-fail-summary {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 22px 0;
  align-items: center;
}

.mrx-fail-state {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4;
}

.mrx-response-pill {
  font: 10px var(--font);
  padding: 5px 7px;
  border-radius: 0;
  line-height: 1.25;
  font-size: 12px;
}

.mrx-endpoints {
  display: grid;
  grid-template-columns: 1fr 30% 1fr;
  align-items: center;
  margin: 27px 24px 25px;
}

.mrx-endpoint {
  min-width: 0;
  padding: 14px 6px 12px;
  border: 1px solid #334451;
  text-align: center;
  transition: all 0.3s;
}

.mrx-endpoint-label {
  text-transform: uppercase;
}

.mrx-endpoint-icon {
  margin: 13px auto 8px;
  width: 45px;
  height: 45px;
}

.mrx-endpoint-icon svg {
  stroke: currentColor;
  fill: none;
}

.mrx-endpoint strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 400;
}

.mrx-endpoint small {
  color: #8c9fac;
  display: block;
  margin-top: 7px;
}

.mrx-fail-bridge {
  text-align: center;
  color: #647a8b;
}

.mrx-fail-bridge svg {
  fill: none;
  stroke: currentColor;
  width: 100%;
  height: 30px;
  display: block;
}

.mrx-fail-bridge span {
  display: block;
  padding: 0 4px;
}

.mrx-failover[data-mrx-fail=healthy] [data-mrx-endpoint=primary] {
  border-color: rgba(175, 231, 244, 0.5);
}

.mrx-failover[data-mrx-fail=detecting] [data-mrx-endpoint=primary] {
  border-color: var(--accent);
  background: rgba(255, 75, 22, 0.06);
}

.mrx-failover[data-mrx-fail=detecting] [data-mrx-primary-status] {
  color: #ff8559;
}

.mrx-failover[data-mrx-fail=backup] [data-mrx-endpoint=backup] {
  border-color: var(--volt);
  background: rgba(175, 231, 244, 0.06);
}

.mrx-failover[data-mrx-fail=backup] .mrx-fail-bridge {
  color: var(--accent);
}

.mrx-failover[data-mrx-fail=backup] .mrx-fail-bridge svg {
  stroke-dasharray: 6 4;
  animation: mrx-flow 1.5s linear infinite;
}

.mrx-failover[data-mrx-fail=backup] [data-mrx-endpoint=primary] {
  opacity: 0.45;
}

.mrx-failover[data-mrx-fail=detecting] .mrx-response-pill {
  color: #ff875e;
  border-color: rgba(255, 75, 22, 0.5);
}

.mrx-fail-log {
  padding: 13px 20px;
  border-top: 1px solid var(--mrx-line);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mrx-fail-log .mrx-log-mark {
  margin: 0;
}

.mrx-budget {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 16px;
}

.mrx-budget strong {
  display: block;
  margin-top: 7px;
}

.mrx-budget strong span {
  font-size: 21px;
  color: #829aa9;
  margin-left: 3px;
  font-family: var(--font);
  font-weight: 400;
}

.mrx-budget-status {
  text-align: right;
  padding-bottom: 2px;
}

.mrx-budget-status > span {
  color: var(--volt);
  display: block;
}

.mrx-budget-status small {
  display: block;
  margin-top: 7px;
  color: #8799a8;
}

.mrx-budget-track {
  height: 7px;
  position: relative;
  margin: 0 24px 22px;
}

.mrx-budget-track i {
  display: block;
  width: 70%;
  height: 100%;
  transform-origin: left;
  animation: mrx-reveal 0.65s ease-out;
}

.mrx-budget-track b {
  position: absolute;
  left: 80%;
  height: 13px;
  width: 1px;
  top: -3px;
  background: var(--accent);
}

.mrx-cost-table {
  margin: 0 24px 17px;
}

.mrx-cost-table-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  color: #748a9d;
  border-bottom: 1px solid var(--mrx-line);
}

.mrx-cost-row {
  display: grid;
  grid-template-columns: 42% 1fr 42px;
  gap: 10px;
  align-items: center;
  padding-top: 13px;
}

.mrx-cost-row > div {
  height: 3px;
}

.mrx-cost-row i {
  height: 100%;
  display: block;
  width: var(--mrx-bar);
  transform-origin: left;
  animation: mrx-reveal 0.65s ease-out;
}

.mrx-cost-row strong {
  text-align: right;
  font: 10px var(--font);
  color: #c2d7e4;
}

.mrx-invoice {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 12px 24px;
  border-top: 1px solid var(--mrx-line);
  font-size: 12px;
  line-height: 1.35;
}

.mrx-invoice svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--volt);
}

.mrx-invoice > span:last-child {
  margin-left: auto;
  color: #78909f;
  font-size: 11px;
  line-height: 1.35;
}

.mrx-role-tabs {
  display: flex;
  gap: 8px;
  padding: 22px 22px 18px;
}

.mrx-role-tabs button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 8px;
  border: 1px solid #293c4b;
  min-width: 0;
  border-radius: 0;
  font-weight: 400;
}

.mrx-role-tabs button > span {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 1px solid currentColor;
  font-family: var(--font);
  font-size: 10px;
  line-height: 1;
}

.mrx-permissions {
  margin: 0 24px;
}

.mrx-permissions > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--mrx-line);
  padding: 12px 0;
}

.mrx-permissions strong {
  text-align: right;
}

.mrx-allowlist {
  padding: 19px 24px 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.mrx-allowlist > div {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 1px;
}

.mrx-allowlist small {
  color: #7c93a3;
  font-size: 11px;
  line-height: 1.35;
}

.mrx-allowlist > span {
  padding: 5px 9px;
  border: 1px solid #2c4351;
}

.mrx-allowlist b {
  font-weight: 400;
  color: var(--volt);
  margin-right: 4px;
}

.mrx-restricted b {
  color: #6f818e;
}

.mrx-policy-note {
  display: flex;
  gap: 8px;
  padding: 12px 24px;
  border-top: 1px solid var(--mrx-line);
}

.mrx-policy-check {
  color: var(--accent);
}

@media (max-width: 850px) {
  .mrx-interface-head {
    padding: 0 13px;
  }
  .mrx-segment button {
    padding: 7px 9px;
  }
  .mrx-endpoints {
    margin-left: 14px;
    margin-right: 14px;
  }
  .mrx-fail-summary {
    padding-left: 16px;
    padding-right: 16px;
  }
  .mrx-role-tabs {
    padding-left: 14px;
    padding-right: 14px;
    gap: 5px;
  }
  .mrx-role-tabs button {
    gap: 5px;
    padding-left: 4px;
    padding-right: 4px;
  }
}
@media (max-width: 660px) {
  .mrx-copy {
    border-right: 0;
    border-bottom: 1px solid var(--mrx-line);
  }
  .mrx-eyebrow {
    margin-bottom: 12px;
  }
  .mrx-copy h3 br {
    display: initial;
  }
  .mrx-copy p {
    max-width: 500px;
  }
  .mrx-copy ul {
    gap: 7px;
  }
  .mrx-map-model > span {
    display: none;
  }
  .mrx-decision {
    padding: 10px;
  }
  .mrx-segment {
    gap: 0;
  }
  .mrx-endpoints {
    grid-template-columns: 1fr 25% 1fr;
  }
  .mrx-budget {
    padding: 20px;
  }
  .mrx-budget-track {
    margin-left: 20px;
    margin-right: 20px;
  }
  .mrx-cost-table {
    margin-left: 20px;
    margin-right: 20px;
  }
  .mrx-cost-row {
    grid-template-columns: 47% 1fr 36px;
    gap: 7px;
  }
  .mrx-invoice {
    padding: 12px 17px;
    flex-wrap: wrap;
  }
  .mrx-permissions {
    margin: 0 18px;
  }
  .mrx-allowlist {
    padding: 18px;
  }
  .mrx-policy-note {
    padding: 12px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mrx-how * {
    animation: none !important;
    transition: none !important;
  }
}
.mrx-how.mrx-stack {
  border: 0;
  background: transparent;
  overflow: visible;
  isolation: isolate;
  --mrx-pin-base: 16px;
  --mrx-stack-step: 50px;
}

.mrx-stack-card {
  z-index: calc(1 + var(--card-order));
  overflow: hidden;
  border: 1px solid #4d4d4d;
  box-shadow: none;
  background: #121212;
  position: sticky;
  top: calc(var(--mrx-pin-base) + var(--card-order) * var(--mrx-stack-step));
  transform: none;
  scroll-margin-top: calc(var(--mrx-pin-base) + var(--card-order) * var(--mrx-stack-step));
  margin-top: 26px;
}

.mrx-stack-card + .mrx-stack-card {
  margin-top: 30px;
}

.mrx-stack-card:nth-of-type(2) {
  background: #111b23;
}

.mrx-stack-card:nth-of-type(3) {
  background: #101b24;
}

.mrx-stack-card:nth-of-type(4) {
  background: #111a22;
}

.mrx-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  border-bottom: 1px solid #4d4d4d;
  min-height: 50px;
  background: #1b1b1b;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 50px;
}

.mrx-card-number {
  font: 11px/1 var(--font);
  font-family: var(--font);
  color: var(--accent);
}

.mrx-card-head h3 {
  color: #cedae2;
  letter-spacing: -0.01em;
  font: 700 17px var(--heading-font);
}

.mrx-card-total {
  margin-left: auto;
  font: 10px/1 var(--font);
  color: #838383;
  font-family: var(--font);
}

.mrx-stack-card.is-current .mrx-card-number {
  color: var(--accent);
}

.mrx-stack-card.is-current .mrx-card-head {
  box-shadow: inset 3px 0 var(--accent);
}

.mrx-stack-card.is-current .mrx-card-head h3 {
  color: #fff;
}

.mrx-stack .mrx-copy p {
  margin-bottom: 20px;
  font: 15px/1.5 var(--font);
  color: #aaaaaa;
}

.mrx-stack-card:not(.is-current) * {
  animation-play-state: paused !important;
}

.mrx-card-head:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: -3px;
}

.mrx-stack .mrx-interface {
  box-shadow: none;
  border-color: #545454;
  background: #0c0d0d;
  min-height: 343px;
}

.mrx-stack .mrx-live-dot {
  border-radius: 0;
  box-shadow: none;
}

.mrx-stack .mrx-segment button[aria-pressed=true],
.mrx-stack .mrx-role-tabs button[aria-pressed=true] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

.mrx-stack .mrx-route-map {
  height: 248px;
  margin: 0 18px;
  background-size: 24px 24px;
  background-image: linear-gradient(rgba(56, 56, 56, 0.2509803922) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 56, 56, 0.2509803922) 1px, transparent 1px);
}

.mrx-stack .mrx-route-lines {
  stroke-width: 1.2;
  stroke-linejoin: miter;
  stroke-linecap: butt;
  stroke: #777;
}

.mrx-stack .mrx-route-in {
  stroke: var(--volt);
  stroke-opacity: 0.75;
}

.mrx-stack .mrx-map-request {
  top: 8px;
  left: 31.5%;
  transform: none;
  width: 37%;
  height: 48px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mrx-stack .mrx-code-symbol,
.mrx-stack .mrx-router-symbol {
  display: none;
}

.mrx-stack .mrx-map-router {
  top: 84px;
  left: 31.5%;
  transform: none;
  width: 37%;
  height: 52px;
  padding: 7px 6px;
  border: 1px solid var(--accent);
  border-left-width: 3px;
}

.mrx-stack .mrx-map-model {
  top: 180px;
  right: auto;
  width: 29%;
  height: 54px;
  padding: 7px 9px;
  gap: 8px;
}

.mrx-stack .mrx-model-a {
  left: 2.5%;
}

.mrx-stack .mrx-model-b {
  left: 35.5%;
}

.mrx-stack .mrx-model-c {
  left: 68.5%;
}

.mrx-stack .mrx-map-model > span {
  width: 23px;
  height: 26px;
  color: var(--volt);
  border-color: var(--volt);
}

.mrx-stack .mrx-routing[data-mrx-route=performance] [data-mrx-path=performance],
.mrx-stack .mrx-routing[data-mrx-route=cost] [data-mrx-path=cost],
.mrx-stack .mrx-routing[data-mrx-route=availability] [data-mrx-path=availability] {
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
}

.mrx-stack .mrx-routing[data-mrx-route=performance] .mrx-model-a,
.mrx-stack .mrx-routing[data-mrx-route=cost] .mrx-model-b,
.mrx-stack .mrx-routing[data-mrx-route=availability] .mrx-model-c {
  border-color: var(--accent);
  background: #201811;
}

.mrx-stack .mrx-routing[data-mrx-route=performance] .mrx-model-a small,
.mrx-stack .mrx-routing[data-mrx-route=cost] .mrx-model-b small,
.mrx-stack .mrx-routing[data-mrx-route=availability] .mrx-model-c small {
  color: var(--accent);
}

.mrx-stack .mrx-endpoint-icon svg,
.mrx-stack .mrx-fail-bridge svg,
.mrx-stack .mrx-invoice svg {
  stroke-width: 1.2;
  stroke-linejoin: miter;
  stroke-linecap: butt;
}

.mrx-stack .mrx-failover[data-mrx-fail=detecting] [data-mrx-primary-status],
.mrx-stack .mrx-failover[data-mrx-fail=detecting] .mrx-response-pill {
  color: var(--accent);
}

@media (max-width: 660px) {
  .mrx-stack-card + .mrx-stack-card {
    margin-top: 22px;
  }
  .mrx-card-head {
    padding-inline: 21px;
    gap: 12px;
  }
  .mrx-stack .mrx-panel {
    display: block;
  }
  .mrx-stack .mrx-route-map {
    margin-inline: 10px;
  }
  .mrx-stack .mrx-map-model {
    padding: 7px 3px;
    justify-content: center;
  }
}
.mrx-card-number,
.mrx-card-total {
  font-size: 11px;
  line-height: 1.45;
  font-weight: 400;
}

.mrx-stack .mrx-copy h3 {
  letter-spacing: -0.025em;
  font: 700 31px/1.05 var(--heading-font);
  margin-bottom: 18px;
}

.mrx-code-symbol,
.mrx-map-model > span,
.mrx-decision-key,
.mrx-response-pill,
.mrx-cost-row strong {
  font-family: var(--font);
  font-weight: 400;
}

.mrx-stack .mrx-map-request strong,
.mrx-stack .mrx-map-router strong,
.mrx-stack .mrx-map-model strong {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.15;
  font-weight: 400;
}

.mrx-stack .mrx-map-request small,
.mrx-stack .mrx-map-router small,
.mrx-stack .mrx-map-model small {
  font-family: var(--font);
  font-size: 11px;
  line-height: 1.15;
}

.mrx-decision,
.mrx-fail-log {
  font-size: 12px;
  line-height: 1.4;
}

.mrx-ui-label,
.mrx-budget-status > span {
  font-size: 12px;
  line-height: 1.4;
}

.mrx-stack .mrx-budget strong {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: 0;
}

.mrx-budget-status small,
.mrx-cost-table-head {
  font-size: 11px;
  line-height: 1.35;
}

.mrx-cost-row,
.mrx-cost-row strong {
  font-family: var(--font);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.mrx-permissions > div,
.mrx-permissions strong {
  font-weight: 400;
}

.mrx-allowlist > span,
.mrx-policy-note {
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 660px) {
  .mrx-interface-head {
    font-size: 13px;
  }
  .mrx-interface-head small {
    white-space: normal;
    text-align: right;
    max-width: 7em;
  }
  .mrx-role-tabs button {
    gap: 5px;
    padding-inline: 5px;
  }
  .mrx-role-tabs button > span {
    width: 16px;
    height: 17px;
  }
  .mrx-stack .mrx-map-model strong {
    font-size: 12px;
  }
  .mrx-stack .mrx-map-model small {
    font-size: 11px;
  }
  .mrx-allowlist > div {
    flex-wrap: wrap;
    gap: 4px 10px;
  }
}
.mrx-stack-card:first-child {
  margin-top: 0;
}

.mrx-stack .mrx-panel {
  min-height: 332px;
  grid-template-columns: 0.82fr 1.4fr;
}

.mrx-stack .mrx-copy {
  padding: 30px 32px;
  min-width: 0;
}

.mrx-stack .mrx-copy li {
  font: 13px/1.5 var(--font);
  color: #aaaaaa;
  margin-top: 7px;
}

.mrx-stack .mrx-display {
  padding: 22px;
  border-left: 1px solid #393939;
  min-width: 0;
}

.mrx-stack .mrx-interface-head {
  border-color: #3f3f3f;
  color: #d5d5d5;
}

.mrx-stack .mrx-interface-head small {
  color: #838383;
}

.mrx-stack .mrx-map-request,
.mrx-stack .mrx-map-model {
  border-color: #6d6d6d;
}

.mrx-stack .mrx-endpoint,
.mrx-stack .mrx-role-tabs button {
  border-color: #444444;
}

.mrx-stack .mrx-endpoint-label {
  color: #a5a5a5;
}

.mrx-stack .mrx-fail-bridge span {
  color: #8f8f8f;
}

.mrx-stack .mrx-cost-row {
  border-color: #383838;
}

.mrx-stack .mrx-decision,
.mrx-stack .mrx-fail-log,
.mrx-stack .mrx-invoice,
.mrx-stack .mrx-policy-note {
  border-color: #404040;
  color: #9c9c9c;
}

.mrx-stack .mrx-budget-track i {
  background-blend-mode: soft-light;
}

.mrx-stack .mrx-endpoint-icon {
  color: #bcbcbc;
}

.mrx-stack .mrx-map-model small,
.mrx-stack .mrx-map-request small,
.mrx-stack .mrx-map-router small {
  color: #9b9b9b;
}

.mrx-stack .mrx-allowlist > span {
  border-color: #4d4d4d;
  color: #c8c8c8;
}

.mrx-stack .mrx-role-tabs button {
  color: #b9b9b9;
}

.mrx-stack .mrx-role-tabs button > span {
  color: inherit;
}

.mrx-stack .mrx-permissions > div {
  color: #aaaaaa;
}

.mrx-stack .mrx-permissions strong {
  color: #e4e4e4;
}

.mrx-stack .mrx-ui-label {
  color: #ababab;
}

.mrx-stack-card:nth-of-type(n),
.mrx-stack .mrx-copy,
.mrx-stack .mrx-display {
  background: #121212;
}

.mrx-stack .mrx-map-request,
.mrx-stack .mrx-map-model,
.mrx-stack .mrx-endpoint,
.mrx-stack .mrx-role-tabs button,
.mrx-stack .mrx-response-pill {
  background: #191919;
}

.mrx-stack .mrx-budget-track,
.mrx-stack .mrx-cost-row > div {
  background: #303030;
}

.mrx-stack .mrx-budget-track i,
.mrx-stack .mrx-cost-row i,
.mrx-stack .mrx-cost-row:nth-child(3) i {
  background: var(--volt);
  background-image: none;
  opacity: 1;
}

.mrx-stack .mrx-cost-row:nth-child(4) i {
  background: var(--accent);
}

.mrx-stack .mrx-response-pill {
  color: var(--volt);
  border: 1px solid var(--volt);
}

.mrx-stack .mrx-copy li::before {
  color: var(--volt);
}

.mrx-stack .mrx-map-router,
.mrx-routing[data-mrx-route=performance] .mrx-model-a,
.mrx-routing[data-mrx-route=cost] .mrx-model-b,
.mrx-routing[data-mrx-route=availability] .mrx-model-c {
  background: #111111;
  border-color: var(--accent);
  box-shadow: none;
}

.mrx-stack .mrx-segment button:hover,
.mrx-stack .mrx-role-tabs button:hover {
  border-color: var(--accent);
}

.mrx-stack .mrx-segment button[aria-pressed=true],
.mrx-stack .mrx-role-tabs button[aria-pressed=true] {
  border-color: var(--accent);
}

.mrx-stack .mrx-routing[data-mrx-route] .mrx-map-model {
  background: #191919;
  border-color: #555;
}

.mrx-stack .mrx-routing[data-mrx-route=performance] .mrx-model-a,
.mrx-stack .mrx-routing[data-mrx-route=cost] .mrx-model-b,
.mrx-stack .mrx-routing[data-mrx-route=availability] .mrx-model-c {
  background: #111;
  border-color: var(--accent);
}

.mrx-stack .mrx-failover[data-mrx-fail=detecting] [data-mrx-endpoint=primary],
.mrx-stack .mrx-failover[data-mrx-fail=backup] [data-mrx-endpoint=backup] {
  background: #191919;
}

.mrx-stack .mrx-failover[data-mrx-fail=detecting] [data-mrx-endpoint=primary] {
  border-color: var(--accent);
}

.mrx-stack .mrx-failover[data-mrx-fail=backup] [data-mrx-endpoint=backup],
.mrx-stack .mrx-failover[data-mrx-fail=healthy] [data-mrx-endpoint=primary] {
  border-color: var(--volt);
}

.mrx-stack .mrx-failover[data-mrx-fail=backup] [data-mrx-endpoint=primary] {
  opacity: 1;
  border-color: #555;
}

@media (max-width: 1100px) {
  .mrx-stack .mrx-panel {
    grid-template-columns: 32% minmax(0, 1fr);
  }
  .mrx-stack .mrx-copy {
    padding: 25px 22px;
  }
  .mrx-stack .mrx-copy h3 {
    font-size: 28px;
  }
  .mrx-stack .mrx-display {
    padding: 20px 15px;
  }
}
@media (max-width: 800px) {
  .mrx-stack .mrx-panel {
    grid-template-columns: 1fr;
  }
  .mrx-stack .mrx-copy {
    padding: 25px;
  }
  .mrx-stack .mrx-copy p {
    margin-bottom: 16px;
  }
  .mrx-stack .mrx-copy ul {
    display: flex;
    gap: 12px 24px;
    flex-wrap: wrap;
  }
  .mrx-stack .mrx-display {
    border-left: 0;
    padding: 0 20px 22px;
  }
  .mrx-stack-card {
    position: relative;
    top: auto;
    scroll-margin-top: 16px;
  }
}
@media (max-width: 480px) {
  .mrx-stack .mrx-copy {
    padding: 24px 20px;
  }
  .mrx-stack .mrx-copy h3 {
    font-size: 29px;
  }
  .mrx-stack .mrx-copy li {
    font-size: 13px;
  }
  .mrx-stack .mrx-display {
    padding: 0 10px 15px;
  }
  .mrx-stack .mrx-interface-head {
    padding-inline: 12px;
    font-size: 12px;
  }
  .mrx-stack .mrx-endpoints {
    margin: 24px 10px;
    grid-template-columns: 1fr 22% 1fr;
  }
  .mrx-stack .mrx-endpoint strong {
    font-size: 12px;
  }
  .mrx-stack .mrx-fail-state {
    font-size: 12px;
  }
  .mrx-stack .mrx-fail-summary {
    padding-inline: 12px;
  }
  .mrx-stack .mrx-role-tabs {
    padding: 18px 10px;
    gap: 5px;
  }
  .mrx-stack .mrx-role-tabs button {
    padding: 9px 5px;
  }
  .mrx-stack .mrx-permissions {
    margin-inline: 12px;
  }
  .mrx-stack .mrx-map-model > span {
    width: 18px;
    height: 22px;
    font-size: 11px;
  }
  .mrx-stack .mrx-map-model {
    gap: 4px;
  }
}
@media (max-height: 740px) {
  .mrx-stack-card {
    position: relative;
    top: auto;
  }
}
.mrx-how[data-showcase-ready] {
  display: grid;
  align-items: start;
  border: 0;
  background: transparent;
  overflow: visible;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 36px;
}

.mrx-how[data-showcase-ready] .mrx-showcase-nav {
  display: grid;
  isolation: isolate;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  min-width: 0;
  padding: 12px 0;
}

.mrx-how[data-showcase-ready] .mrx-showcase-option {
  appearance: none;
  width: 100%;
  border-radius: 0;
  text-align: left;
  font: 400 14px/1.45 var(--font);
  cursor: pointer;
  position: relative;
}

.mrx-how[data-showcase-ready] .mrx-showcase-label {
  display: grid;
  min-width: 0;
  gap: 9px;
  padding-top: 0;
}

.mrx-how[data-showcase-ready] .mrx-showcase-option[aria-pressed=true]::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 23px;
  width: 3px;
  height: 20px;
  background: var(--accent);
}

.mrx-how[data-showcase-ready] .mrx-showcase-option:hover {
  border-color: #797b7c;
}

.mrx-how[data-showcase-ready] .mrx-showcase-option:focus-visible {
  outline-offset: 3px;
  outline: 0;
}

.mrx-how[data-showcase-ready] .mrx-showcase-display {
  height: var(--showcase-height, 650px);
  min-width: 0;
  border: 1px solid #454748;
  background: #111212;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mrx-how[data-showcase-ready] .mrx-showcase-display > article[data-mrx-card] {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  border: 0 !important;
  transform: none !important;
  box-shadow: none !important;
  background: transparent;
  overflow: hidden;
}

.mrx-how[data-showcase-ready] article[data-mrx-card][hidden],
.mrx-how[data-showcase-ready] [data-mrx-panel][hidden] {
  display: none !important;
}

.mrx-how[data-showcase-ready] article[data-mrx-card] > .mrx-card-head {
  display: none !important;
}

.mrx-how[data-showcase-ready] article[data-mrx-card]::before,
.mrx-how[data-showcase-ready] article[data-mrx-card]::after {
  display: none !important;
}

.mrx-how[data-showcase-ready] .mrx-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  background: #111212;
}

.mrx-how[data-showcase-ready] .mrx-copy {
  padding: 28px 32px 23px;
  border: 0;
  border-bottom: 1px solid #343637;
  background: transparent;
}

.mrx-how[data-showcase-ready] .mrx-eyebrow {
  display: none;
}

.mrx-how[data-showcase-ready] .mrx-copy h3 {
  font: 700 30px/1.1 var(--heading-font);
  color: var(--ink);
  letter-spacing: -0.025em;
  margin: 0 0 13px;
  line-height: 1.16;
}

.mrx-how[data-showcase-ready] .mrx-copy h3 br {
  display: none;
}

.mrx-how[data-showcase-ready] .mrx-copy h3 br::after {
  content: " ";
}

.mrx-how[data-showcase-ready] .mrx-copy p {
  font: 400 16px/1.5 var(--font);
  color: #b4b7b7;
  margin: 0 0 16px;
  max-width: 710px;
  letter-spacing: 0;
  line-height: 1.55;
}

.mrx-how[data-showcase-ready] .mrx-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 23px;
}

.mrx-how[data-showcase-ready] .mrx-copy li {
  font: 400 12px/1.5 var(--font);
  color: #949a9b;
  margin: 0;
  padding-left: 11px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0;
}

.mrx-how[data-showcase-ready] .mrx-copy li::before {
  width: 3px;
  height: 3px;
  top: 7px;
  border-color: #909597;
}

.mrx-how[data-showcase-ready] .mrx-display {
  padding: 25px 32px 29px;
  border: 0;
  background: transparent;
}

.mrx-how[data-showcase-ready] .mrx-interface {
  min-height: 343px;
  background: #0d0f0f;
  box-shadow: none;
  border: 1px solid #414546;
  transition: border-color 0.2s ease;
}

.mrx-how[data-showcase-ready] .mrx-showcase-display > article[data-showcase-measure] {
  display: block !important;
  position: absolute !important;
  inset: 0 auto auto 0 !important;
  width: 100% !important;
  height: auto !important;
  visibility: hidden !important;
}

.mrx-how[data-showcase-ready] article[data-showcase-measure] > [data-mrx-panel] {
  display: grid !important;
}

@media (max-width: 1000px) {
  .mrx-how[data-showcase-ready] .mrx-copy {
    padding: 25px 23px 21px;
  }
  .mrx-how[data-showcase-ready] .mrx-copy h3 {
    font-size: 27px;
  }
  .mrx-how[data-showcase-ready] .mrx-display {
    padding: 22px;
  }
}
@media (max-width: 760px) {
  .mrx-how[data-showcase-ready] .mrx-showcase-option {
    font-size: 12px;
  }
  .mrx-how[data-showcase-ready] .mrx-showcase-option[aria-pressed=true]::before {
    top: 17px;
    height: 17px;
  }
  .mrx-how[data-showcase-ready] .mrx-copy {
    padding: 25px 21px 22px;
  }
  .mrx-how[data-showcase-ready] .mrx-copy h3 {
    font-size: 27px;
  }
  .mrx-how[data-showcase-ready] .mrx-copy p {
    font-size: 15px;
  }
  .mrx-how[data-showcase-ready] .mrx-copy ul {
    display: grid;
    gap: 6px;
  }
  .mrx-how[data-showcase-ready] .mrx-display {
    padding: 18px 12px 24px;
  }
}
.mrx-how[data-showcase-ready] .mrx-showcase-option,
.mrx-how[data-showcase-ready] .mrx-showcase-option[aria-pressed=true] {
  color: #90969b;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-width: 0;
  min-height: 122px;
  padding: 17px 8px 17px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mrx-how[data-showcase-ready] .mrx-showcase-option::before {
  display: none !important;
}

.mrx-how[data-showcase-ready] .mrx-showcase-option[aria-pressed=true] .mrx-showcase-label strong,
.mrx-how[data-showcase-ready] .mrx-showcase-option:focus-visible .mrx-showcase-label strong {
  color: var(--ink);
  transform: scale(1.09);
}

.mrx-how[data-showcase-ready] .mrx-showcase-option:focus-visible .mrx-showcase-label strong {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 7px;
}

.mrx-how[data-showcase-ready] .mrx-showcase-display:focus-within {
  border-color: var(--accent);
}

@media (hover: hover) and (pointer: fine) {
  .mrx-how[data-showcase-ready] .mrx-showcase-display:hover {
    border-color: var(--violet);
    box-shadow: 0 0 0 1px var(--violet);
  }
  .mrx-how[data-showcase-ready] .mrx-interface:hover {
    border-color: var(--accent);
  }
}
@media (max-width: 800px) {
  .mrx-how[data-showcase-ready] {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
.mrx-how[data-showcase-ready] .mrx-showcase-orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: -1;
}

.mrx-how[data-showcase-ready] .mrx-showcase-orbit path {
  fill: none;
  stroke: #555363;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.mrx-how[data-showcase-ready] .mrx-showcase-anchor {
  display: grid;
  place-items: center;
  width: 6px;
  height: 26.4px;
  margin-left: 8px;
}

.mrx-how[data-showcase-ready] .mrx-showcase-option[data-orbit-position="1"] .mrx-showcase-anchor,
.mrx-how[data-showcase-ready] .mrx-showcase-option[data-orbit-position="2"] .mrx-showcase-anchor {
  margin-left: 22px;
}

.mrx-how[data-showcase-ready] .mrx-showcase-dot {
  display: block;
  width: 6px;
  height: 6px;
  border: 0;
  border-radius: 50%;
  background: #8a8699;
  box-shadow: none;
  transition: background-color 0.2s ease;
}

.mrx-how[data-showcase-ready] .mrx-showcase-label strong {
  width: max-content;
  max-width: 100%;
  font: 700 22px/1.2 var(--heading-font);
  letter-spacing: -0.02em;
  color: #979da1;
  transform: scale(1);
  transform-origin: left center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mrx-how[data-showcase-ready] .mrx-showcase-label > span {
  max-width: 205px;
  color: #8d9499;
  font: 400 14px/1.45 var(--font);
}

.mrx-how[data-showcase-ready] .mrx-showcase-option[aria-pressed=true] .mrx-showcase-dot {
  background: var(--accent);
}

.mrx-how[data-showcase-ready] .mrx-showcase-option[aria-pressed=true] .mrx-showcase-label strong {
  color: var(--ink);
  transform: scale(1);
}

.mrx-how[data-showcase-ready] .mrx-showcase-option:focus-visible .mrx-showcase-label strong {
  color: #fff;
  transform: scale(1.1);
}

@media (hover: hover) and (pointer: fine) {
  .mrx-how[data-showcase-ready] .mrx-showcase-option:hover .mrx-showcase-label strong {
    color: #fff;
    transform: scale(1.1);
  }
}
@media (max-width: 1000px) and (min-width: 801px) {
  .mrx-how[data-showcase-ready] .mrx-showcase-option,
  .mrx-how[data-showcase-ready] .mrx-showcase-option[aria-pressed=true] {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
  }
}
@media (max-width: 800px) {
  .mrx-how[data-showcase-ready] .mrx-showcase-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 4px 0;
  }
  .mrx-how[data-showcase-ready] .mrx-showcase-option,
  .mrx-how[data-showcase-ready] .mrx-showcase-option[aria-pressed=true] {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    min-height: 88px;
    padding: 12px 12px 12px 0;
  }
  .mrx-how[data-showcase-ready] .mrx-showcase-anchor {
    margin-left: 5px;
  }
  .mrx-how[data-showcase-ready] .mrx-showcase-option[data-orbit-position="1"] .mrx-showcase-anchor,
  .mrx-how[data-showcase-ready] .mrx-showcase-option[data-orbit-position="2"] .mrx-showcase-anchor {
    margin-left: 17px;
  }
  .mrx-how[data-showcase-ready] .mrx-showcase-label {
    gap: 6px;
  }
  .mrx-how[data-showcase-ready] .mrx-showcase-label > span {
    max-width: 400px;
    font-size: 13px;
  }
}
#how-it-works {
  position: relative;
  isolation: isolate;
}

#how-it-works .section-nebula {
  z-index: 2;
}

#how-it-works .eyebrow,
#how-it-works .section-head,
#how-it-works .mrx-showcase-label,
#how-it-works .mrx-showcase-display {
  position: relative;
  z-index: 3;
}

#how-it-works .mrx-showcase-nav {
  position: relative;
  z-index: 3;
}

.mrx-stack .mrx-interface-head small,
.mrx-stack .mrx-endpoint-label,
.mrx-stack .mrx-endpoint small,
.mrx-stack .mrx-fail-bridge span,
.mrx-stack .mrx-decision-key {
  font-size: var(--type-meta);
  line-height: 1.35;
}

.mrx-stack .mrx-endpoint-label,
.mrx-stack .mrx-decision-key {
  letter-spacing: 0.03em;
}

.mrx-stack .mrx-segment button,
.mrx-stack .mrx-role-tabs button,
.mrx-stack .mrx-permissions > div,
.mrx-stack .mrx-permissions strong {
  font-family: var(--font);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0;
}

.stories-head h2 {
  margin-bottom: 18px;
  max-width: 780px;
  font-size: var(--type-section);
  line-height: 1.12;
  letter-spacing: -0.028em;
}

.story {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 28px;
  min-height: 275px;
  background: #101113 !important;
  border-color: #373a3c;
  box-shadow: none;
  transition: border-color 0.22s ease, background 0.22s ease;
}

.quote-mark {
  font: 32px/1 var(--font);
  margin-bottom: 15px;
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--accent);
}

.story blockquote {
  margin: 0 0 32px;
  flex: 1;
  font: 16px/1.5 var(--font);
  color: #c7c7c7;
  letter-spacing: 0;
  line-height: 1.55;
}

.byline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  height: 34px;
  width: 34px;
  flex: 0 0 34px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 12px var(--font);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1;
  font-weight: 400;
  background: #171717;
  border-color: #454545;
  color: #e5e5e5;
}

.byline strong {
  display: block;
  font: 14px var(--font);
}

.stories-head > p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.55;
}

.stories-head {
  margin-bottom: 30px;
  max-width: 850px;
}

.stories {
  border-top: 1px solid #454545;
  border-left: 1px solid #454545;
}

.byline small {
  font: 12px var(--font);
  color: #989898;
}

@media (max-width: 800px) {
  .stories {
    grid-template-columns: 1fr;
  }
  .story {
    min-height: 0;
    gap: 25px;
  }
  .story blockquote {
    font-size: 17px;
  }
  .stories-head h2 br {
    display: none;
  }
}
.story:hover {
  border-color: var(--violet);
  box-shadow: none;
}

.closing {
  color: var(--ink);
  border-top: 1px solid #393939;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  height: auto;
  min-height: 410px;
  padding: 64px 0;
  border-block: 1px solid #343537;
  overflow: hidden;
  background: transparent !important;
}

.closing-title-link {
  display: inline-block;
  color: inherit;
  outline-offset: 8px;
}

.closing-arrow {
  margin-left: 0.12em;
  font-size: 0.82em;
  line-height: 1;
  font-family: var(--font);
  font-weight: 400;
  display: inline-block;
  transition: transform 0.25s ease;
  color: var(--accent);
}

.closing-title-link:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 9px;
}

.closing-inner {
  align-items: center;
  grid-template-columns: 1.5fr 1fr;
  gap: 100px;
  position: relative;
  pointer-events: none;
  display: block;
}

.closing h2 {
  margin: 0 0 26px;
  max-width: 730px;
  font-size: clamp(42px, 4.2vw, 62px);
  margin-bottom: 22px;
  line-height: 1.1;
  letter-spacing: -0.028em;
}

.closing-title-link:hover .closing-arrow {
  display: inline-block;
  color: var(--accent);
  transform: translate(5px, -5px);
}

.closing-copy {
  width: 58%;
  max-width: 740px;
  pointer-events: auto;
}

.closing .micro {
  margin-bottom: 25px;
  color: var(--section-label);
  font: 400 12px/1.5 var(--font);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: var(--type-label);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: var(--type-label-tracking);
}

.closing p {
  max-width: 430px;
  font-size: 17px;
  line-height: 1.5;
  color: #aaaeb0;
}

.closing-last-line {
  white-space: nowrap;
}

.closing > .cta-motion {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 800px) {
  .closing {
    align-items: flex-start;
    padding: 50px 0 245px;
    min-height: 585px;
  }
  .closing-copy {
    width: 100%;
    max-width: 600px;
  }
  .closing h2 {
    font-size: 48px;
  }
}
@media (max-width: 480px) {
  .closing {
    padding: 42px 0 245px;
    min-height: 580px;
  }
  .closing h2 {
    font-size: 38px;
  }
  .closing p {
    font-size: 16px;
    max-width: 340px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .closing-title-link:hover .closing-arrow {
    transform: none;
  }
}
.closing > .cta-ellipse-field {
  width: 62%;
  height: auto;
  aspect-ratio: 800/520;
  top: 50%;
  right: -4%;
  bottom: auto;
  transform: translateY(-50%);
  overflow: visible;
}

.cta-ellipse-field,
.cta-ellipse-field .cta-ellipse-bundle {
  animation: none !important;
}

.cta-ellipse-field ellipse {
  fill: none;
  vector-effect: non-scaling-stroke;
}

@media (max-width: 800px) {
  .closing > .cta-ellipse-field {
    width: 100%;
    height: auto;
    top: auto;
    bottom: -75px;
    right: -12%;
    transform: none;
  }
  .closing {
    padding-bottom: 280px;
  }
}
@media (max-width: 480px) {
  .closing > .cta-ellipse-field {
    width: 132%;
    height: auto;
    right: -27%;
    bottom: -32px;
  }
  .closing {
    padding-bottom: 275px;
  }
}
.closing > .cta-sand-foreground {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.closing .closing-inner {
  z-index: 3;
}

.closing .micro::before {
  content: "";
  display: block;
  flex: 0 0 11px;
  width: 11px;
  height: 11px;
  background: var(--accent);
  border: 0;
  border-radius: 0;
  clip-path: polygon(50% 0, 64% 35%, 100% 50%, 64% 65%, 50% 100%, 36% 65%, 0 50%, 36% 35%);
}

.site-footer {
  border-top: 1px solid var(--line);
  border-color: #3a3a3a;
  padding: 26px 0;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 760px) {
  .footer-inner {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }
}
.footer-inner p {
  font: 11px var(--font);
  color: #858585;
}

@media (max-width: 800px) {
  .footer-inner {
    flex-wrap: wrap;
    gap: 18px;
  }
  .footer-inner p {
    font-size: 11px;
  }
}
@media (max-width: 480px) {
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
@keyframes mrx-flow {
  to {
    stroke-dashoffset: -32;
  }
}
@keyframes mrx-pulse {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
}
@keyframes mrx-reveal {
  from {
    transform: scaleX(0.1);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes logo-loop {
  to {
    transform: translateX(calc(-1 * var(--logo-loop-width, 888px)));
  }
}
.edge-signal {
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 44px;
  background: var(--violet);
  opacity: 0;
  pointer-events: none;
  z-index: 9;
  transition: opacity 0.2s ease;
}

.signal-host {
  position: relative;
  overflow: hidden;
}

.signal-host:hover > .edge-signal {
  opacity: 1;
  animation: edge-travel 3.5s ease-in-out infinite alternate;
}

@keyframes edge-travel {
  from {
    left: 0;
  }
  to {
    left: calc(100% - 44px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .signal-host:hover > .edge-signal {
    animation: none !important;
  }
}
@keyframes chat-demo-type {
  from {
    transform: translateY(1px);
  }
  to {
    transform: translateY(-2px);
  }
}
/* Applied only on index-zh.html (<html lang="zh-Hant">). CJK text needs looser leading,
   no negative tracking, and wrapping that avoids a single character on the last line. */
:lang(zh-Hant) h1,
:lang(zh-Hant) h2,
:lang(zh-Hant) h3 {
  text-wrap: balance;
}

:lang(zh-Hant) .home-intro h1,
:lang(zh-Hant) .section-head h2,
:lang(zh-Hant) .ai-intro h2,
:lang(zh-Hant) .stories-head h2,
:lang(zh-Hant) .closing h2 {
  letter-spacing: 0;
  line-height: 1.22;
}

:lang(zh-Hant) p,
:lang(zh-Hant) li,
:lang(zh-Hant) blockquote,
:lang(zh-Hant) #why .benefit > h3 {
  text-wrap: pretty;
}

:lang(zh-Hant) .home-intro .lead,
:lang(zh-Hant) .ai-intro > p,
:lang(zh-Hant) .featured-model p,
:lang(zh-Hant) .story blockquote,
:lang(zh-Hant) .mrx-how[data-showcase-ready] .mrx-copy p,
:lang(zh-Hant) .closing p {
  line-height: 1.75;
}

:lang(zh-Hant) .eyebrow {
  letter-spacing: 0.08em;
}

:lang(zh-Hant) .home-intro h1 {
  font-size: clamp(42px, 4.4vw, 64px);
}
