@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@1,6..72,300&display=swap");

:root {
  color-scheme: dark;
  --bg: #090a0b;
  --bg-deep: #060607;
  --surface: #0e0f10;
  --surface-2: #131415;
  --surface-3: #191a1c;
  --ink: #f2f0ea;
  --text: #bbb9bd;
  --muted: #96969c;
  --dim: #77787e;
  --line: #242529;
  --line-strong: #34353a;
  --line-soft: rgba(52, 53, 58, .56);
  --panel: #0e0f10;
  --panel-raised: #131415;
  --accent: #536fa6;
  --accent-strong: #6885bd;
  --accent-dark: #3d5682;
  --accent-soft: #171e2b;
  --accent-ink: #f7f8fb;
  --success: #72c99f;
  --danger: #ff9585;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --brand-sans: "Helvetica Neue", Inter, Arial, sans-serif;
  --brand-roman: Newsreader, Georgia, "Times New Roman", serif;
  --serif: "Iowan Old Style", "ITC Iowan Old Style", Newsreader, Palatino, Georgia, ui-serif, serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --shell: 1180px;
  --header-h: 70px;
  --space-section: clamp(144px, 10vw, 168px);
  --space-heading: clamp(72px, 5.2vw, 84px);
  --space-card: clamp(34px, 2.5vw, 40px);
  --type-micro: 12px;
  --type-label: 12px;
  --type-ui-sm: 14px;
  --type-ui: 14px;
  --type-body: 16px;
  --type-body-lg: 18px;
  --type-title-sm: 20px;
  --type-title: 24px;
  --type-title-lg: 24px;
  --type-metric: 28px;
  --type-title-xl: 40px;
  --type-section-sm: 40px;
  --type-section: clamp(40px, 2.6vw, 48px);
  --type-display: clamp(52px, 3.6vw, 64px);
  --ease: cubic-bezier(.2, .75, .25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  background: var(--bg);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.55;
  font-synthesis: none;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  display: none;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

h1,
h2 {
  text-wrap: balance;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

button,
select,
input[type="range"] {
  cursor: pointer;
}

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

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

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

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

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}

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

.page-shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: 28px;
}

.signal-bar {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 11, 11, .9);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .1);
  backdrop-filter: blur(20px) saturate(115%);
  -webkit-backdrop-filter: blur(20px) saturate(115%);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: var(--type-body);
  font-weight: 500;
  letter-spacing: -.018em;
}

.brand-wordmark-compact {
  align-items: baseline;
  gap: 0;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
}

.brand-wordmark-compact .brand-mark {
  margin-right: 10px;
}

.brand-wordmark-standard {
  font-family: var(--brand-sans);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -.045em;
}

.brand-wordmark-thinking {
  margin-left: 0;
  color: inherit;
  font-family: var(--brand-roman);
  font-size: 1em;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -.035em;
}

.brand small {
  margin-left: 1px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: .12em;
}

.brand-mark {
  width: 25px;
  height: 25px;
  overflow: visible;
}

.brand-mark rect {
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.55;
}

.brand-mark path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.brand-mark .brand-node {
  fill: var(--accent);
  stroke: var(--bg);
  stroke-width: 1.15;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.desktop-nav a,
.text-link {
  position: relative;
  color: #d9dcd9;
  font-size: var(--type-ui);
  font-weight: 400;
  transition: color 180ms ease;
}

.desktop-nav a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--accent);
  content: "";
  transition: transform 240ms var(--ease);
}

.desktop-nav a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.desktop-nav a:hover,
.text-link:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: 29px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-size: var(--type-ui);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    border-color 220ms var(--ease),
    background 220ms var(--ease),
    color 220ms var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button-small {
  min-height: 42px;
  padding-inline: 24px;
}

.button-dark {
  background: var(--ink);
  color: #0a0b0b;
}

.button-dark:hover {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 28px rgba(135, 149, 232, .13);
}

.button-accent {
  background: var(--accent);
  color: var(--accent-ink);
}

.button-accent:hover {
  background: var(--accent-strong);
  box-shadow: 0 10px 28px rgba(135, 149, 232, .16);
}

.button-outline {
  border-color: var(--line-strong);
  color: var(--ink);
}

.button-outline:hover {
  border-color: var(--muted);
  background: rgba(255, 255, 255, .035);
}

.button-light {
  border-color: rgba(7, 17, 31, .12);
  background: var(--ink);
  color: var(--accent-ink);
}

.button-light:hover {
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 17, 31, .14);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.menu-toggle span {
  position: absolute;
  width: 15px;
  height: 1px;
  background: var(--ink);
  transition: transform 200ms ease;
}

.menu-toggle span:first-child {
  transform: translateY(-3px);
}

.menu-toggle span:last-child {
  transform: translateY(3px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  padding: 28px;
  background: rgba(10, 11, 11, .98);
}

.mobile-menu a:not(.button) {
  display: block;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--type-title-lg);
  line-height: 1;
}

.mobile-menu .button {
  width: 100%;
  margin-top: 28px;
}

.models-hero {
  position: relative;
  display: flex;
  min-height: min(720px, calc(100svh - var(--header-h)));
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 80px;
  padding-bottom: 50px;
}

.models-hero::after {
  position: absolute;
  top: 36px;
  right: 28px;
  width: min(36vw, 430px);
  height: 360px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 55% 42%, rgba(135, 149, 232, .055), transparent 68%);
  content: "";
}

.models-hero-label {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 46px;
  color: #c7ccca;
  font-family: var(--mono);
  font-size: var(--type-ui-sm);
  font-weight: 500;
  letter-spacing: .11em;
}

.models-hero-label > span {
  width: 8px;
  height: 8px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(135, 149, 232, .28);
}

.models-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(260px, .75fr);
  gap: clamp(60px, 10vw, 130px);
  align-items: center;
}

.models-hero-primary {
  min-width: 0;
}

.models-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--type-display);
  font-weight: 400;
  letter-spacing: -.052em;
  line-height: .91;
}

.models-hero h1 em {
  color: var(--accent);
  font-weight: 400;
  letter-spacing: -.045em;
}

.models-hero-copy > p {
  max-width: 665px;
  margin: 34px 0 0;
  color: #d4d7d4;
  font-size: var(--type-body-lg);
  line-height: 1.55;
}

.models-hero-aside {
  position: relative;
  max-width: 310px;
  margin: 4px 0 0;
  padding-top: 41px;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.65;
}

.models-hero-aside::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-top: 1px solid var(--line-strong);
  color: var(--accent);
  content: "ONE ENDPOINT · 24 MODELS";
  font-family: var(--mono);
  font-size: var(--type-label);
  letter-spacing: .12em;
  padding-top: 13px;
}

.models-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 42px;
}


.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 64px;
  padding-top: 28px;
}

.hero-metrics > div {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease;
}

.hero-metrics > div:hover {
  background: rgba(255, 255, 255, .018);
}

.hero-metrics > div + div {
  border-left: 1px solid var(--line);
}

.hero-metrics span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: var(--type-label);
  letter-spacing: .1em;
}

.hero-metrics strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--type-title-lg);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1;
}

.hero-metrics small {
  margin-left: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: var(--type-micro);
  letter-spacing: .08em;
}

.models-library {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
  border-top: 1px solid var(--line);
}

.models-library-intro {
  display: grid;
  grid-template-columns: .9fr 1.3fr auto;
  gap: 28px 56px;
  align-items: start;
  margin-bottom: var(--space-heading);
}

.models-library-intro h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--type-section-sm);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .95;
}

.models-library-copy {
  max-width: 540px;
}

.models-library-copy p {
  margin: 0;
  color: var(--text);
  font-size: var(--type-body);
  line-height: 1.6;
}

.models-library-copy p + p {
  margin-top: 12px;
  color: var(--muted);
}

.models-custom-cta {
  min-height: 42px;
  justify-self: end;
  padding-inline: 21px;
}

.filter-row {
  display: inline-flex;
  grid-column: 2 / 4;
  justify-self: start;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.filter-button {
  min-height: 34px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: var(--type-ui-sm);
  transition: background 180ms ease, color 180ms ease;
}

.filter-button:hover {
  color: var(--ink);
}

.filter-button.is-active {
  background: var(--ink);
  color: var(--bg);
}

.model-family-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.model-family-card {
  position: relative;
  min-width: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  transition: background 220ms ease, border-color 220ms ease;
}

.model-family-card:hover {
  background: var(--panel-raised);
}

.model-family-card::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transition: width 320ms var(--ease);
}

.model-family-card:hover::before {
  width: 100%;
}

.model-family-card header {
  min-height: 164px;
  padding: 30px 32px 27px;
}

.model-family-card h3 {
  margin: 0 0 17px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--type-title-lg);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}

.model-family-card header p {
  max-width: 455px;
  margin: 0;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.6;
}

.model-family-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.model-family-list li {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 26px 16px 32px;
  border-bottom: 1px solid rgba(39, 44, 44, .75);
  transition: background 180ms ease;
}

.model-family-list li:hover {
  background: rgba(135, 149, 232, .035);
}

.model-family-list li:last-child {
  border-bottom: 0;
}

.model-family-list strong,
.model-family-list small {
  display: block;
}

.model-family-list strong {
  color: #e3e5e1;
  font-size: var(--type-ui);
  font-weight: 500;
  letter-spacing: -.01em;
}

.model-family-list small {
  margin-top: 5px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: var(--type-label);
  letter-spacing: .02em;
}

.model-row-links {
  display: flex;
  gap: 7px;
  opacity: .85;
  transition: opacity 180ms ease;
}

.model-family-list li:hover .model-row-links {
  opacity: 1;
}

.model-row-links a {
  min-width: 52px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: var(--type-ui-sm);
  text-align: center;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.model-row-links a:hover {
  border-color: var(--accent);
  background: rgba(135, 149, 232, .05);
  color: var(--accent);
}

.custom-model-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  min-height: 120px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-top: 0;
  background: linear-gradient(100deg, rgba(135, 149, 232, .065), rgba(16, 18, 18, .72) 48%, rgba(16, 18, 18, .9));
  transition: border-color 200ms ease, background 200ms ease;
}

.custom-model-card:hover {
  border-color: var(--line-strong);
  background: linear-gradient(100deg, rgba(135, 149, 232, .085), rgba(16, 18, 18, .8) 48%, rgba(16, 18, 18, .94));
}

.custom-model-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--type-title);
  font-weight: 400;
}

.custom-model-card p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: var(--type-ui);
}

.inline-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  color: var(--ink);
  font-size: var(--type-ui);
  font-weight: 500;
}

.inline-arrow-link span {
  color: var(--accent);
  font-size: var(--type-body-lg);
  transition: transform 200ms ease;
}

.inline-arrow-link:hover span {
  transform: translateX(4px);
}

.performance-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 18, 18, .96), rgba(13, 15, 15, .98));
}

.performance-layout {
  display: grid;
  grid-template-columns: minmax(250px, .78fr) minmax(0, 1.72fr);
  gap: 72px;
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #b7bebb;
  font-family: var(--mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: .09em;
  line-height: 1.35;
}

.section-kicker::before {
  width: 7px;
  height: 7px;
  background: var(--accent);
  content: "";
}

.performance-intro h2 {
  max-width: 360px;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--type-section-sm);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .98;
}

.performance-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  max-width: 680px;
  margin-bottom: 44px;
}

.performance-copy p {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.65;
}

.performance-tabs {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.performance-tabs button {
  min-height: 35px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: var(--type-ui-sm);
}

.performance-tabs button:hover {
  color: var(--ink);
}

.performance-tabs button.is-active {
  background: var(--ink);
  color: var(--bg);
}

.benchmark-panel {
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, .018), var(--bg-deep));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .12);
}

.benchmark-toolbar {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
}

.benchmark-toolbar > span {
  color: #d2d6d3;
  font-size: var(--type-ui);
  font-weight: 500;
}

.benchmark-toolbar > div {
  display: flex;
  gap: 5px;
}

.benchmark-toolbar b,
.benchmark-toolbar > div span {
  min-width: 37px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: var(--type-label);
  font-weight: 400;
  text-align: center;
}

.benchmark-toolbar b {
  border-color: var(--accent-dark);
  color: var(--accent);
}

.benchmark-chart {
  width: 100%;
  height: 330px;
  padding: 22px 24px 0;
}

.chart-grid path {
  fill: none;
  stroke: #202525;
  stroke-width: 1;
}

.chart-axis-labels {
  fill: #69716f;
  font-family: var(--mono);
  font-size: var(--type-label);
}

.chart-x-title {
  fill: #7d8583;
  font-size: var(--type-micro);
  letter-spacing: .15em;
}

.chart-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: 300ms var(--ease);
}

.chart-line-primary {
  stroke: #e3e5e1;
}

.chart-line-accent {
  stroke: var(--accent);
}

.chart-points circle {
  fill: var(--bg-deep);
  stroke-width: 2;
  transition: 300ms var(--ease);
}

.chart-points-primary circle {
  stroke: #e3e5e1;
}

.chart-points-accent circle {
  stroke: var(--accent);
}

.benchmark-legend {
  display: flex;
  gap: 28px;
  padding: 0 24px 19px;
  color: var(--muted);
  font-size: var(--type-ui-sm);
}

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

.benchmark-legend i {
  width: 19px;
  height: 1px;
  background: #e3e5e1;
}

.benchmark-legend span:last-child i {
  background: var(--accent);
}

.benchmark-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.benchmark-metrics > div {
  min-height: 104px;
  padding: 20px 22px;
}

.benchmark-metrics > div + div {
  border-left: 1px solid var(--line);
}

.benchmark-metrics span {
  display: block;
  color: var(--dim);
  font-family: var(--mono);
  font-size: var(--type-micro);
  letter-spacing: .11em;
}

.benchmark-metrics strong {
  display: block;
  margin-top: 16px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--type-metric);
  font-weight: 400;
  line-height: 1;
}

.benchmark-metrics strong b {
  font-weight: inherit;
}

.benchmark-metrics small {
  margin-left: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: var(--type-label);
}

.section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(280px, .65fr);
  gap: 72px;
  align-items: end;
  margin-bottom: var(--space-heading);
}

.section-heading-title h2,
.status-header h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--type-section);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .95;
}

.section-heading-title h2 em,
.status-header h2 em {
  color: var(--accent);
  font-weight: 400;
}

.section-heading-copy {
  max-width: 320px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.65;
}

.api-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(310px, .7fr);
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .1);
}

.code-window {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  background: var(--bg-deep);
}

.code-toolbar {
  display: flex;
  min-height: 53px;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.code-tabs {
  display: flex;
}

.code-tabs button {
  min-width: 100px;
  padding: 0 18px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--dim);
  font-family: var(--mono);
  font-size: var(--type-label);
}

.code-tabs button:hover,
.code-tabs button[aria-selected="true"] {
  color: var(--ink);
}

.code-tabs button[aria-selected="true"] {
  box-shadow: inset 0 2px var(--accent);
}

.copy-button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: var(--type-ui-sm);
}

.copy-button:hover {
  color: var(--accent);
}

.copy-button b {
  font-weight: 500;
}

.copy-icon {
  position: relative;
  width: 11px;
  height: 11px;
  border: 1px solid currentColor;
}

.copy-icon::after {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  content: "";
}

.code-meta,
.code-footer {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: var(--type-micro);
  font-weight: 500;
  letter-spacing: .065em;
  line-height: 1.35;
}

.code-meta {
  border-bottom: 1px solid #202424;
}

.code-window pre {
  min-height: 362px;
  max-width: 100%;
  margin: 0;
  overflow: auto;
  overscroll-behavior-inline: contain;
  padding: 27px 26px;
  color: #cfd3d0;
  font-family: var(--mono);
  font-size: var(--type-ui-sm);
  line-height: 1.85;
  tab-size: 2;
}

.code-window code {
  font-family: inherit;
}

.code-key {
  color: #d7c8ff;
}

.code-string {
  color: #c5df92;
}

.code-variable {
  color: var(--accent);
}

.code-bool {
  color: #f5a092;
}

.code-footer {
  border-top: 1px solid var(--line);
}

.code-footer span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}

.code-footer i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px rgba(114, 201, 159, .5);
}

.quick-steps {
  display: grid;
  grid-template-rows: repeat(3, minmax(122px, 1fr)) 58px;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line-strong);
  list-style: none;
}

.quick-steps li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: start;
  padding: 27px 26px;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 18, 18, .8);
  transition: background 180ms ease;
}

.quick-steps li:hover {
  background: rgba(135, 149, 232, .04);
}

.quick-steps li > span,
.quick-steps li > b {
  padding-top: 3px;
  font-family: var(--mono);
  font-size: var(--type-micro);
  font-weight: 400;
}

.quick-steps li > span {
  color: var(--accent);
}

.quick-steps li > b {
  color: var(--dim);
}

.quick-steps h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--type-title-sm);
  font-weight: 400;
  line-height: 1;
}

.quick-steps p {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-ui);
  line-height: 1.55;
}

.quick-steps .docs-link-item {
  display: block;
  padding: 0;
  border-bottom: 0;
  background: var(--accent-soft);
}

.docs-link-item a {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: var(--accent);
  font-size: var(--type-ui-sm);
  font-weight: 500;
  transition: background 180ms ease, color 180ms ease;
}

.docs-link-item a:hover {
  background: rgba(135, 149, 232, .06);
  color: var(--accent-strong);
}

.pricing-section {
  padding: var(--space-section) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 18, 18, .96), rgba(14, 16, 16, .98));
}

.cost-calculator {
  display: grid;
  grid-template-columns: 1.05fr .9fr 1.5fr .72fr;
  margin-bottom: 40px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 10, 10, .94);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .1);
}

.cost-calculator > * {
  min-width: 0;
  min-height: 130px;
  padding: 26px;
}

.cost-calculator > * + * {
  border-left: 1px solid var(--line);
}

.calculator-title > span,
.cost-calculator label > span,
.model-control > span,
.cost-output > span {
  display: block;
  color: #a1a9a6;
  font-family: var(--sans);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: .055em;
  line-height: 1.35;
}

.calculator-title h3 {
  margin: 22px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--type-title-sm);
  font-weight: 400;
}

.cost-calculator label,
.model-control {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.model-control {
  position: relative;
  z-index: 20;
}

.cost-calculator select {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  color-scheme: dark;
  font-size: var(--type-ui);
}

.cost-calculator select:focus-visible {
  border-bottom-color: var(--accent);
}

.cost-calculator select option {
  background: #111414;
  color: #f1f3f2;
}

.cost-calculator select option:checked {
  background: #8795e8;
  color: #07111f;
}

.model-control > .native-model-select {
  display: none !important;
}

.model-picker {
  position: relative;
  display: block;
}

.model-picker-trigger {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 3px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 430 var(--type-ui)/1 var(--sans);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 180ms var(--ease),
    background 180ms var(--ease),
    color 180ms var(--ease);
}

.model-picker-trigger:hover,
.model-picker-trigger[aria-expanded="true"] {
  border-bottom-color: rgba(135, 149, 232, .82);
  color: #fff;
}

.model-picker-trigger:focus-visible {
  border-bottom-color: var(--accent);
  box-shadow: 0 2px 0 rgba(135, 149, 232, .14);
}

.model-picker-trigger > i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-right: 3px;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms var(--ease);
}

.model-picker-trigger[aria-expanded="true"] > i {
  transform: translateY(2px) rotate(225deg);
}

.model-picker-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -12px;
  z-index: 70;
  width: max(calc(100% + 24px), 310px);
  padding: 0;
  border: 1px solid rgba(140, 153, 149, .26);
  border-top-color: rgba(135, 149, 232, .76);
  background: #0b0e0e;
  box-shadow:
    0 28px 68px rgba(0, 0, 0, .58),
    inset 0 1px 0 rgba(255, 255, 255, .025);
  transform-origin: 50% 0;
  animation: model-picker-in 170ms var(--ease) both;
}

.model-picker-menu[hidden] {
  display: none;
}

.model-picker-menu-head {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid rgba(77, 87, 84, .42);
  color: #7f8986;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .09em;
  line-height: 1;
  text-transform: uppercase;
}

.model-picker-menu-head small {
  color: var(--accent);
  font: inherit;
}

.model-picker-option {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 64px;
  grid-template-columns: minmax(0, 1fr) 14px;
  align-items: center;
  gap: 18px;
  padding: 0 16px;
  border: 0;
  border-bottom: 1px solid rgba(66, 74, 72, .42);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: var(--type-ui);
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition:
    background 160ms var(--ease),
    color 160ms var(--ease);
}

.model-picker-option:last-child {
  border-bottom: 0;
}

.model-picker-option:hover,
.model-picker-option:focus-visible {
  background: rgba(255, 255, 255, .032);
  color: var(--ink);
}

.model-picker-option.is-selected {
  background: linear-gradient(90deg, rgba(135, 149, 232, .105), rgba(135, 149, 232, .018) 72%);
  box-shadow: inset 2px 0 0 var(--accent);
  color: var(--ink);
}

.model-picker-option-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.model-picker-option-copy strong {
  overflow: hidden;
  color: inherit;
  font-size: 14px;
  font-weight: 450;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.model-picker-option-copy small {
  color: #77817e;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .045em;
  line-height: 1;
}

.model-picker-option > i {
  position: relative;
  width: 12px;
  height: 12px;
  border: 1px solid #3e4744;
  border-radius: 50%;
  transition:
    border-color 160ms var(--ease),
    background 160ms var(--ease);
}

.model-picker-option > i::after {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scale(.2);
  transition:
    opacity 160ms var(--ease),
    transform 160ms var(--ease);
}

.model-picker-option.is-selected > i {
  border-color: rgba(135, 149, 232, .68);
}

.model-picker-option.is-selected > i::after {
  opacity: 1;
  transform: scale(1);
}

@keyframes model-picker-in {
  from {
    opacity: 0;
    transform: translateY(-5px) scaleY(.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

.token-control > .range-heading,
.estimator-range-head {
  display: flex !important;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.token-control > .range-heading b,
.estimator-range-head b {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .82;
  text-align: right;
}

.range-field {
  --range-progress: 9%;
  position: relative;
  display: flex !important;
  height: 34px;
  align-items: center;
  isolation: isolate;
}

.range-field::before {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 0;
  height: 2px;
  background:
    linear-gradient(90deg, var(--accent) 0 var(--range-progress), transparent var(--range-progress)),
    rgba(143, 153, 150, .28);
  content: "";
}

.range-ticks {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 0;
  height: 8px;
  border-right: 1px solid rgba(143, 153, 150, .42);
  border-left: 1px solid rgba(143, 153, 150, .42);
  pointer-events: none;
  background: none;
}

.token-control input,
.price-estimator input[type="range"] {
  --range-progress: 9%;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 34px;
  margin: 0;
  appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  cursor: pointer;
}

.token-control input::-webkit-slider-runnable-track,
.price-estimator input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  background: transparent;
}

.token-control input::-webkit-slider-thumb,
.price-estimator input[type="range"]::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  margin-top: -7px;
  appearance: none;
  border: 3px solid var(--bg-deep);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 4px 16px rgba(0, 0, 0, .4);
  transition: transform 180ms var(--ease), box-shadow 180ms ease;
}

.token-control input::-moz-range-track,
.price-estimator input[type="range"]::-moz-range-track {
  height: 2px;
  background: transparent;
}

.token-control input::-moz-range-progress,
.price-estimator input[type="range"]::-moz-range-progress {
  height: 2px;
  background: transparent;
}

.token-control input::-moz-range-thumb,
.price-estimator input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 3px solid var(--bg-deep);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 4px 16px rgba(0, 0, 0, .4);
  transition: transform 180ms var(--ease), box-shadow 180ms ease;
}

.token-control input:hover::-webkit-slider-thumb,
.price-estimator input[type="range"]:hover::-webkit-slider-thumb {
  transform: scale(1.08);
  box-shadow: 0 0 0 1px var(--accent), 0 0 0 5px rgba(135, 149, 232, .1), 0 5px 18px rgba(0, 0, 0, .42);
}

.token-control input:focus-visible,
.price-estimator input[type="range"]:focus-visible {
  outline: 0;
}

.token-control input:focus-visible::-webkit-slider-thumb,
.price-estimator input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 1px var(--accent), 0 0 0 6px rgba(135, 149, 232, .16);
}

.token-control small,
.range-caption {
  color: #9ca4a1;
  font-family: var(--sans);
  font-size: var(--type-label);
  font-weight: 400;
  line-height: 1.35;
}

.range-caption {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  letter-spacing: .01em;
}

.range-caption span:nth-child(2) {
  color: #a5adaa;
  text-align: center;
}

.cost-output {
  background: var(--accent);
  color: var(--accent-ink);
}

.cost-output > span {
  color: rgba(7, 17, 31, .65);
}

.cost-output strong {
  display: block;
  margin-top: 28px;
  font-size: var(--type-metric);
  font-weight: 500;
  letter-spacing: -.04em;
}

.cost-output strong b {
  font-weight: inherit;
}

.cost-output small {
  margin-left: 4px;
  font-family: var(--sans);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: .04em;
}

@media (min-width: 961px) and (max-width: 1080px) {
  .cost-output {
    padding-inline: 20px;
  }

  .cost-output strong {
    font-size: clamp(30px, 3.35vw, 36px);
    white-space: nowrap;
  }

  .cost-output small {
    display: block;
    margin: 7px 0 0;
  }
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.plan-card {
  position: relative;
  display: flex;
  min-height: 488px;
  flex-direction: column;
  padding: 36px 35px 33px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 11, 11, .9);
  transition: background 200ms ease;
}

.plan-card:hover {
  background: rgba(13, 15, 15, .96);
}

.plan-card-featured {
  background: linear-gradient(180deg, rgba(135, 149, 232, .085), rgba(10, 12, 12, .96) 48%);
}

.plan-card-featured::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
}

.plan-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 5px 9px;
  border: 1px solid var(--accent-dark);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: .055em;
}

.plan-number,
.plan-type {
  color: #9da5a2;
  font-family: var(--sans);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: .055em;
  line-height: 1.35;
}

.plan-type {
  margin: 42px 0 14px;
  color: var(--accent);
}

.plan-card h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--type-title);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.plan-card > p:not(.plan-type) {
  max-width: 290px;
  margin: 0;
  color: var(--muted);
  font-size: var(--type-ui);
  line-height: 1.65;
}

.plan-price {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.plan-price strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--type-title-lg);
  font-weight: 400;
  letter-spacing: -.035em;
}

.plan-price span {
  color: #a1a9a6;
  font-family: var(--sans);
  font-size: var(--type-label);
  letter-spacing: .01em;
  line-height: 1.35;
}

.plan-card ul {
  margin: 24px 0 32px;
  padding: 0;
  color: var(--muted);
  font-size: var(--type-ui-sm);
  line-height: 2.05;
  list-style: none;
}

.plan-card li::before {
  margin-right: 9px;
  color: var(--accent);
  content: "└";
}

.plan-card .button {
  width: 100%;
  min-height: 46px;
  margin-top: auto;
}

.status-section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.status-header {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(280px, .65fr);
  gap: 72px;
  align-items: end;
  margin-bottom: var(--space-heading);
}

.status-heading-copy > p {
  max-width: 300px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.65;
}

.uptime-number {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.uptime-number > span {
  color: #aeb5b2;
  font-family: var(--mono);
  font-size: var(--type-micro);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.35;
}

.uptime-number strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--type-metric);
  font-weight: 400;
  line-height: .9;
}

.uptime-number small {
  color: var(--accent);
  font-family: var(--mono);
  font-size: var(--type-ui-sm);
}

.status-board {
  border: 1px solid var(--line-strong);
  background: #0b0e0d;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .16);
}

.status-summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  font-family: var(--sans);
  font-size: var(--type-micro);
  letter-spacing: .065em;
  line-height: 1.4;
}

.status-summary {
  border-bottom: 1px solid var(--line);
  background: #0e1110;
}

.status-summary > span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c6ceca;
  font-weight: 500;
}

.status-summary i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px rgba(114, 201, 159, .52);
}

.status-summary time {
  color: #8d9692;
  font-weight: 500;
}

.status-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
  background: #090b0b;
}

.status-kpi {
  min-width: 0;
  padding: 17px 18px 15px;
  border: 1px solid #29302e;
  background: #111514;
}

.status-kpi span {
  display: block;
  margin-bottom: 9px;
  color: #858e8a;
  font-family: var(--sans);
  font-size: var(--type-ui-sm);
  font-weight: 400;
}

.status-kpi strong {
  color: #e2e6e3;
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -.02em;
}

.status-kpi:last-child strong {
  color: #00c985;
}

.status-kpi small {
  margin-left: 5px;
  color: #89918e;
  font-size: 12px;
  letter-spacing: 0;
}

.uptime-monitor {
  --uptime-title-size: 18px;
  --uptime-meta-size: 16px;
  padding: 28px 24px 24px;
  border-bottom: 1px solid var(--line);
}

.uptime-monitor-top,
.uptime-monitor-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.uptime-monitor h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #e4e8e5;
  font-family: var(--sans);
  font-size: var(--uptime-title-size);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.35;
}

.uptime-info {
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid #747d79;
  border-radius: 50%;
  color: #a7afac;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
}

.uptime-status-cta {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid #3a4340;
  color: #e1e5e2;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.uptime-status-cta:hover {
  border-color: #69736f;
  background: rgba(255, 255, 255, .035);
  color: #00c985;
}

.uptime-monitor-meta {
  align-items: baseline;
  margin-top: 28px;
  margin-bottom: 24px;
}

.uptime-monitor p {
  margin: 0;
  color: #7f8884;
  font-family: var(--sans);
  font-size: var(--uptime-meta-size);
  letter-spacing: -.01em;
  line-height: 1.4;
}

.uptime-monitor-meta > strong {
  color: #00c985;
  font-family: var(--sans);
  font-size: var(--uptime-meta-size);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.4;
}

.uptime-timeline {
  position: relative;
  display: grid;
  height: 52px;
  grid-template-columns: repeat(72, minmax(0, 1fr));
  gap: 3px;
  overflow: hidden;
  background: #08100e;
  box-shadow: inset 0 0 0 1px #153c31;
}

.uptime-timeline > i {
  min-width: 0;
  height: 100%;
  background: #00c985;
}

.uptime-timeline > i.is-incident {
  background: #dfa408;
  box-shadow: 0 0 0 1px rgba(223, 164, 8, .35);
}

.uptime-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  color: #7f8884;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
}

.service-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.service-status {
  display: flex;
  min-width: 0;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 24px;
  border-top: 1px solid var(--line);
}

.service-status:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.service-status span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: #cbd1ce;
  font-size: var(--type-ui-sm);
}

.service-status span i {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00c985;
  box-shadow: 0 0 9px rgba(0, 201, 133, .32);
}

.service-status b {
  color: #99a19e;
  font-family: var(--sans);
  font-size: var(--type-ui-sm);
  font-weight: 400;
}

.final-cta {
  position: relative;
  display: flex;
  min-height: 480px;
  flex-direction: column;
  justify-content: center;
  margin-top: 32px;
  margin-bottom: 32px;
  padding: 70px 72px;
  overflow: hidden;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 22px 72px rgba(0, 0, 0, .16);
}

.final-cta::after {
  position: absolute;
  top: -150px;
  right: -90px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(7, 17, 31, .17);
  border-radius: 50%;
  box-shadow:
    0 0 0 62px rgba(7, 17, 31, .045),
    0 0 0 125px rgba(7, 17, 31, .035);
  content: "";
}

.final-cta > * {
  position: relative;
  z-index: 1;
}

.final-cta .cta-grid,
.final-cta .cta-orb {
  display: none;
}

.final-cta > p {
  margin: 0 0 52px;
  font-family: var(--mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: .11em;
}

.final-cta h2 {
  max-width: 800px;
  margin: 0;
  font-family: var(--serif);
  font-size: var(--type-section);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .92;
}

.final-cta > div:not(.cta-grid, .cta-orb) {
  display: flex;
  gap: 12px;
  margin-top: 46px;
}

.final-cta .button-dark {
  background: var(--accent-ink);
  color: var(--ink);
}

.final-cta .button-dark:hover {
  background: #10233f;
}

.final-cta .button-outline {
  border-color: rgba(7, 17, 31, .38);
  color: var(--accent-ink);
}

.final-cta .button-outline:hover {
  border-color: var(--accent-ink);
  background: rgba(7, 17, 31, .06);
}

.brand-finale {
  scroll-margin-top: var(--header-h);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
}

.brand-finale-inner {
  display: flex;
  min-height: 500px;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 24px;
  padding-bottom: 48px;
}

.brand-finale-wordmark {
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding-bottom: .12em;
  color: var(--ink);
  font-size: clamp(82px, 12.1vw, 180px);
  line-height: .76;
  opacity: .9;
  white-space: nowrap;
}

.brand-finale-wordmark span {
  font-family: var(--brand-sans);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -.057em;
}

.brand-finale-wordmark em {
  margin-left: 0;
  color: inherit;
  font-family: var(--brand-roman);
  font-size: .96em;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -.045em;
}

.site-footer {
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  padding-inline: 0;
  border: 1px solid var(--line);
  border-bottom: 0;
}

.footer-grid > div {
  min-height: 280px;
  padding: 40px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.footer-grid > div:last-child {
  border-right: 0;
}

.brand-finale + .site-footer .footer-grid {
  border-top: 0;
}

.footer-brand p {
  margin: 33px 0 30px;
  color: var(--muted);
  font-size: var(--type-ui);
  line-height: 1.6;
}

.footer-brand > span,
.footer-grid h3 {
  color: var(--dim);
  font-family: var(--mono);
  font-size: var(--type-micro);
  font-weight: 400;
  letter-spacing: .1em;
}

.footer-grid h3 {
  margin: 3px 0 32px;
}

.footer-grid > div:not(.footer-brand) a {
  display: block;
  width: fit-content;
  margin-bottom: 15px;
  color: var(--muted);
  font-size: var(--type-ui);
  transition: color 180ms ease, transform 180ms ease;
}

.footer-grid > div:not(.footer-brand) a:hover {
  color: var(--accent);
  transform: translateX(2px);
}

.footer-bottom {
  display: grid;
  min-height: 76px;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 0;
  align-items: stretch;
  padding-inline: 0;
  border: 1px solid var(--line);
  border-top: 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: var(--type-micro);
  letter-spacing: .05em;
}

.footer-bottom > * {
  display: flex;
  min-width: 0;
  min-height: 75px;
  align-items: center;
  padding: 0 30px;
  border-right: 1px solid var(--line);
}

.footer-bottom nav {
  gap: 18px;
  white-space: nowrap;
}

.footer-bottom a:hover {
  color: var(--accent);
}

.back-to-top {
  width: auto;
  height: auto;
  justify-content: flex-end;
  border-right: 0;
  color: var(--ink);
  font-size: var(--type-body);
}

.password-field {
  position: relative;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
}

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

/* Archived experimental composition. Kept out of the cascade so the original
   Liquid-inspired editorial grid remains the active homepage system. */
@media not all {
.models-hero {
  display: grid;
  min-height: auto;
  grid-template-columns: minmax(0, 1.18fr) minmax(430px, .82fr);
  grid-template-rows: auto auto;
  gap: 54px 74px;
  align-items: stretch;
  padding-top: 92px;
  padding-bottom: 84px;
}

.models-hero::after {
  top: 84px;
  right: 9%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(135, 149, 232, .055), transparent 66%);
}

.models-hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 8px;
}

.models-hero h1 {
  max-width: 690px;
  margin-top: 42px;
  font-size: clamp(72px, 7.35vw, 98px);
  letter-spacing: -.062em;
  line-height: .84;
}

.hero-overline {
  color: var(--accent);
  font-family: var(--mono);
  font-size: var(--type-micro);
  letter-spacing: .12em;
}

.hero-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  max-width: 690px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-copy-row p {
  max-width: 500px;
  margin: 0;
  color: #c4c9c6;
  font-size: var(--type-body-lg);
  font-weight: 300;
  line-height: 1.65;
}

.hero-copy-row > span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: var(--type-micro);
  letter-spacing: .08em;
  white-space: nowrap;
}

.models-hero-stage {
  position: relative;
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(0, 1fr) 126px;
  grid-template-rows: minmax(0, 1fr) 72px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(rgba(135, 149, 232, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135, 149, 232, .035) 1px, transparent 1px),
    rgba(7, 8, 8, .92);
  background-size: 40px 40px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .2);
}

.models-hero-stage::before,
.models-hero-stage::after {
  position: absolute;
  z-index: 2;
  background: var(--accent);
  content: "";
}

.models-hero-stage::before {
  top: -1px;
  left: -1px;
  width: 84px;
  height: 2px;
}

.models-hero-stage::after {
  right: -1px;
  bottom: -1px;
  width: 2px;
  height: 84px;
}

.hero-stage-core {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px 38px 38px;
}

.hero-stage-core > span,
.hero-stage-core > small,
.hero-stage-rail span,
.hero-stage-rail small {
  color: var(--dim);
  font-family: var(--mono);
  font-size: var(--type-micro);
  font-weight: 500;
  letter-spacing: .1em;
}

.hero-stage-core > span::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(135, 149, 232, .35);
  content: "";
}

.hero-stage-core > strong {
  max-width: 330px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(43px, 4vw, 57px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .9;
}

.hero-stage-core > strong em {
  color: var(--accent);
  font-weight: 400;
}

.hero-stage-core > small {
  color: var(--accent);
}

.hero-stage-rail {
  display: grid;
  min-width: 0;
}

.hero-stage-inputs {
  grid-template-rows: repeat(4, 1fr);
  border-left: 1px solid var(--line);
}

.hero-stage-inputs span {
  display: flex;
  align-items: center;
  padding-inline: 20px;
  color: var(--muted);
}

.hero-stage-inputs span + span {
  border-top: 1px solid var(--line);
}

.hero-stage-inputs span::after {
  width: 18px;
  height: 1px;
  margin-left: auto;
  background: var(--accent-dark);
  content: "";
}

.hero-stage-output {
  grid-column: 1 / -1;
  grid-template-columns: .7fr 1fr 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  background: rgba(16, 18, 18, .8);
}

.hero-stage-output > * {
  display: flex;
  height: 100%;
  align-items: center;
  padding-inline: 22px;
}

.hero-stage-output > * + * {
  border-left: 1px solid var(--line);
}

.hero-stage-output > span {
  color: var(--success);
}

.hero-stage-output > span::before {
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px rgba(114, 201, 159, .5);
  content: "";
}

.hero-stage-output strong {
  justify-content: space-between;
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--type-title);
  font-weight: 400;
}

.hero-stage-output strong small {
  font-family: var(--mono);
  font-size: var(--type-micro);
  font-weight: 400;
}

.models-hero-footer {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .62fr);
  gap: 60px;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.models-hero-actions {
  margin-top: 0;
}

.models-hero-footer > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: var(--type-ui);
  font-weight: 300;
  line-height: 1.65;
}

.models-library {
  padding-top: clamp(150px, 11vw, 184px);
}

.models-library-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(260px, .72fr);
  gap: 48px 76px;
  align-items: end;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.models-library-heading {
  display: grid;
  grid-template-columns: minmax(330px, .95fr) minmax(260px, .65fr);
  gap: 52px;
  align-items: end;
}

.models-library-intro h2 {
  font-size: clamp(56px, 5.15vw, 68px);
  line-height: .9;
}

.models-library-intro h2 em {
  color: var(--accent);
  font-weight: 400;
}

.models-library-heading > p {
  max-width: 390px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: var(--type-body);
  font-weight: 300;
  line-height: 1.65;
}

.models-library-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.models-custom-cta {
  justify-self: auto;
}

.models-library-index {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.models-library-index span {
  padding: 14px 16px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: var(--type-micro);
  letter-spacing: .09em;
}

.models-library-index span + span {
  border-left: 1px solid var(--line);
}

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

.model-family-card:first-child {
  grid-row: auto;
}

.model-family-card:nth-child(4) {
  grid-column: auto;
}

.model-family-card:first-child header,
.model-family-card:nth-child(4) header {
  min-height: 174px;
}

.model-family-card header {
  min-height: 174px;
}

.model-family-card h3 {
  font-size: var(--type-metric);
}

.performance-section {
  background: var(--bg);
}

.performance-layout {
  position: relative;
  grid-template-columns: minmax(330px, .82fr) minmax(0, 1.18fr);
  gap: 52px 86px;
}

.performance-layout::before {
  position: absolute;
  top: var(--space-section);
  bottom: var(--space-section);
  left: calc(41% + 4px);
  width: 1px;
  background: var(--line);
  content: "";
}

.performance-intro {
  position: sticky;
  top: calc(var(--header-h) + 42px);
  align-self: start;
}

.performance-intro h2 {
  max-width: 470px;
  font-size: clamp(56px, 5.15vw, 68px);
  line-height: .9;
}

.performance-intro h2 em {
  color: var(--accent);
  font-weight: 400;
}

.performance-intro > p {
  max-width: 300px;
  margin: 28px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.performance-copy {
  max-width: none;
  margin-bottom: 38px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.api-section .section-heading {
  grid-template-columns: minmax(360px, .86fr) minmax(0, 1.14fr);
  align-items: start;
}

.api-section .section-heading-copy {
  max-width: 560px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.api-section .section-heading-title h2,
.pricing-section .section-heading-title h2,
.status-header h2 {
  font-size: clamp(56px, 5.15vw, 68px);
  line-height: .9;
}

.pricing-section {
  background:
    linear-gradient(90deg, rgba(135, 149, 232, .018) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 18, 18, .98), rgba(12, 14, 14, .99));
  background-size: calc((min(100vw, var(--shell))) / 4) 100%;
}

.status-section {
  padding-top: clamp(164px, 11vw, 188px);
  padding-bottom: clamp(164px, 11vw, 188px);
}

.api-grid {
  grid-template-columns: minmax(0, 1fr);
  border: 0;
  box-shadow: none;
}

.code-window {
  position: relative;
  width: calc(100% - 110px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .1);
}

.quick-steps {
  position: relative;
  z-index: 2;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto 58px;
  width: calc(100% - 110px);
  margin-top: -64px;
  margin-left: 110px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: -24px 28px 70px rgba(0, 0, 0, .18);
}

.quick-steps li {
  min-height: 132px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.quick-steps li:nth-child(3) {
  border-right: 0;
}

.quick-steps .docs-link-item {
  grid-column: 1 / -1;
  min-height: 58px;
  border-top: 1px solid var(--line);
}
}

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 21px;
  }

  .header-actions {
    gap: 18px;
    margin-left: 22px;
  }

  .brand small {
    display: none;
  }

  .models-hero-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, .72fr);
    gap: 52px;
  }

  .models-library-intro {
    grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr);
  }

  .models-library-intro h2,
  .models-custom-cta {
    grid-column: 1;
  }

  .models-library-copy,
  .filter-row {
    grid-column: 2;
  }

  .models-custom-cta {
    justify-self: start;
  }

  .performance-layout {
    gap: 60px;
  }

}

@media (max-width: 960px) {
  :root {
    --header-h: 66px;
    --space-section: 120px;
    --space-heading: 64px;
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .models-hero {
    min-height: auto;
    gap: 0;
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .models-hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .models-hero-copy {
    padding: 0;
  }

  .models-hero h1 {
    max-width: 720px;
    font-size: clamp(68px, 10vw, 88px);
  }

  .models-hero-aside {
    max-width: 560px;
  }

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

  .model-family-card:first-child,
  .model-family-card:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .model-family-card:first-child header,
  .model-family-card:nth-child(4) header {
    min-height: 184px;
  }

  .performance-layout {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .performance-layout::before {
    display: none;
  }

  .performance-intro {
    position: static;
  }

  .performance-intro h2 {
    max-width: 600px;
  }

  .section-heading,
  .status-header {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .api-section .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading-copy,
  .status-heading-copy > p {
    max-width: 560px;
  }

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

  .code-window,
  .quick-steps {
    width: 100%;
  }

  .quick-steps {
    grid-template-rows: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: -1px;
    margin-left: 0;
    border: 1px solid var(--line-strong);
    box-shadow: none;
  }

  .quick-steps li {
    min-height: 135px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .quick-steps .docs-link-item {
    grid-column: 1 / -1;
    min-height: 52px;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

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

  .cost-calculator > *:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .cost-calculator > *:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .brand-finale-inner {
    min-height: 320px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
    min-height: 180px !important;
  }

  .footer-bottom {
    position: relative;
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-bottom .back-to-top {
    position: absolute;
    top: 0;
    right: 0;
    width: 56px;
    padding: 0 24px 0 0;
    border: 0;
  }

  .footer-service-links {
    padding-right: 68px;
    border-right: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --space-section: 104px;
    --space-heading: 54px;
    --space-card: 28px;
    --type-section-sm: clamp(36px, 9.75vw, 42px);
    --type-section: clamp(42px, 11.3vw, 50px);
    --type-display: clamp(50px, 13.3vw, 60px);
  }

  .page-shell {
    padding-inline: 20px;
  }

  .models-hero {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .models-hero-label {
    margin-bottom: 40px;
  }

  .models-hero h1 {
    margin-top: 0;
    font-size: clamp(54px, 14.7vw, 68px);
    line-height: .88;
  }

  .hero-copy-row {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 34px;
  }

  .hero-copy-row p {
    font-size: var(--type-body);
  }

  .hero-copy-row > span {
    white-space: normal;
  }

  .models-hero-actions {
    flex-wrap: wrap;
  }

  .models-hero-stage {
    min-height: 540px;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto auto;
  }

  .hero-stage-core {
    min-height: 340px;
    padding: 30px 26px;
  }

  .hero-stage-core > strong {
    font-size: clamp(42px, 11vw, 54px);
  }

  .hero-stage-inputs {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 52px);
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-stage-inputs span {
    padding-inline: 16px;
  }

  .hero-stage-inputs span + span {
    border-top: 0;
  }

  .hero-stage-inputs span:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .hero-stage-inputs span:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .hero-stage-output {
    grid-column: 1;
    grid-template-columns: 1fr 1fr;
  }

  .hero-stage-output > span {
    grid-column: 1 / -1;
    min-height: 46px;
    border-bottom: 1px solid var(--line);
  }

  .hero-stage-output strong {
    min-height: 62px;
    padding-inline: 16px;
  }

  .models-hero-footer > p {
    max-width: 520px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 64px;
    padding-top: 0;
  }

  .hero-metrics > div {
    min-height: 54px;
    border-bottom: 0;
  }

  .hero-metrics > div + div {
    border-left: 0;
  }

  .hero-metrics > div:last-child {
    border-bottom: 1px solid var(--line);
  }

  .models-library {
    padding-top: var(--space-section);
    padding-bottom: 100px;
  }

  .models-library-intro {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: var(--space-heading);
  }

  .models-library-intro h2,
  .models-library-copy,
  .models-custom-cta,
  .filter-row {
    grid-column: 1;
  }

  .models-library-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .models-library-intro h2 {
    font-size: clamp(50px, 13vw, 58px);
  }

  .models-library-controls {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
  }

  .filter-row {
    width: fit-content;
    justify-self: start;
  }

  .models-library-index {
    grid-template-columns: 1fr;
  }

  .models-library-index span + span {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .model-family-grid {
    grid-template-columns: 1fr;
  }

  .model-family-card header {
    min-height: 166px;
    padding: 30px 24px;
  }

  .model-family-list li {
    min-height: 86px;
    padding-left: 24px;
  }

  .custom-model-card {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 32px 24px;
  }

  .performance-layout,
  .section,
  .status-section {
    padding-top: var(--space-section);
    padding-bottom: 104px;
  }

  .performance-intro h2 {
    font-size: clamp(50px, 13vw, 58px);
  }

  .performance-copy {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .performance-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .performance-tabs button {
    padding-inline: 8px;
  }

  .benchmark-chart {
    height: 285px;
    padding-inline: 10px;
  }

  .benchmark-metrics > div {
    min-height: 90px;
    padding: 17px 12px;
  }

  .benchmark-metrics strong {
    font-size: var(--type-title);
  }

  .section-heading-title h2,
  .status-header h2 {
    font-size: var(--type-section);
  }

  .api-section .section-heading-title h2,
  .pricing-section .section-heading-title h2,
  .status-header h2 {
    font-size: clamp(50px, 13vw, 58px);
  }

  .code-tabs button {
    min-width: 78px;
    padding-inline: 12px;
  }

  .code-window pre {
    min-height: 330px;
    padding: 23px 19px;
    font-size: var(--type-ui-sm);
  }

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

  .quick-steps li {
    min-height: 124px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-steps .docs-link-item {
    grid-column: 1;
    border-top: 0;
    border-bottom: 0;
  }

  .pricing-section {
    padding: var(--space-section) 0 104px;
  }

  .cost-calculator {
    grid-template-columns: 1fr;
  }

  .cost-calculator > * {
    min-height: 116px;
  }

  .cost-calculator > * + *,
  .cost-calculator > *:nth-child(4) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .plan-card {
    min-height: 450px;
    padding: 32px 26px;
  }

  .status-kpis {
    grid-template-columns: 1fr;
  }

  .uptime-timeline {
    height: 40px;
    gap: 2px;
  }

  .service-status-grid {
    grid-template-columns: 1fr;
  }

  .service-status:nth-child(odd) {
    border-right: 0;
  }

  .status-summary {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 14px;
  }

  .final-cta {
    min-height: 460px;
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 54px 30px;
  }

  .final-cta h2 {
    font-size: var(--type-section);
  }

  .brand-finale-inner {
    min-height: 300px;
  }

  .brand-finale-wordmark {
    align-items: baseline;
    flex-direction: row;
    font-size: clamp(43px, 11.1vw, 84px);
    line-height: .78;
  }

  .brand-finale-wordmark em {
    margin-top: 0;
    margin-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    padding-inline: 0;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
    min-height: 190px;
  }

  .footer-bottom {
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }

  .footer-bottom > * {
    min-height: 64px;
    padding: 0 20px;
  }

  .footer-copyright {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .footer-bottom nav {
    flex-wrap: wrap;
  }

  .footer-legal-links {
    grid-column: 1;
  }

  .footer-service-links {
    grid-column: 2;
    padding-right: 52px;
    border-right: 0;
  }
}

/* Shared sliding indicator for segmented tab controls */
.sliding-tabs {
  --tab-x: 4px;
  --tab-y: 4px;
  --tab-width: 48px;
  --tab-height: 34px;
  --tab-indicator-bg: var(--ink);
  --tab-indicator-radius: 999px;
  --tab-indicator-shadow: 0 4px 14px rgba(0, 0, 0, .24);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.sliding-tabs::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: var(--tab-width);
  height: var(--tab-height);
  border-radius: var(--tab-indicator-radius);
  background: var(--tab-indicator-bg);
  box-shadow: var(--tab-indicator-shadow);
  content: "";
  opacity: 0;
  transform: translate3d(var(--tab-x), var(--tab-y), 0);
}

.sliding-tabs.is-ready::before {
  opacity: 1;
  transition:
    width 280ms cubic-bezier(.22, 1, .36, 1),
    height 280ms cubic-bezier(.22, 1, .36, 1),
    transform 280ms cubic-bezier(.22, 1, .36, 1),
    opacity 140ms ease;
}

.sliding-tabs > button {
  position: relative;
  z-index: 1;
  background: transparent;
  box-shadow: none;
  transition:
    color 200ms ease,
    transform 180ms cubic-bezier(.22, 1, .36, 1);
}

.sliding-tabs.is-ready > button.is-active,
.sliding-tabs.is-ready > button[aria-selected="true"],
.sliding-tabs.is-ready > button[aria-pressed="true"] {
  background: transparent;
  color: var(--bg);
  box-shadow: none;
}

.filter-row > button:hover,
.performance-tabs > button:hover,
.catalogue-filters > button:hover,
.segmented-control > button:hover {
  transform: translateY(-1px);
}

.sliding-tabs > button:active {
  transform: scale(.97);
}

.sliding-tabs > button:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: -2px;
}

.code-tabs.sliding-tabs,
.code-sample-tabs.sliding-tabs {
  --tab-indicator-bg: linear-gradient(180deg, rgba(135, 149, 232, .11), rgba(135, 149, 232, .015));
  --tab-indicator-radius: 0;
  --tab-indicator-shadow: inset 0 2px var(--accent);
}

.code-tabs.sliding-tabs.is-ready > button[aria-selected="true"],
.code-sample-tabs.sliding-tabs.is-ready > button[aria-selected="true"] {
  color: var(--ink);
}

@media (max-width: 480px) {
  .brand {
    font-size: var(--type-body);
  }

  .models-hero-actions .button {
    min-width: calc(50% - 6px);
    padding-inline: 17px;
  }

  .models-hero-actions .button:last-child {
    min-width: 100%;
  }

  .hero-stage-output strong {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  .model-family-list li {
    align-items: flex-start;
    flex-direction: column;
  }

  .model-row-links {
    opacity: 1;
  }

  .benchmark-toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 14px;
  }

  .benchmark-chart {
    height: 240px;
  }

  .benchmark-legend {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

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

  .benchmark-metrics > div {
    min-height: 75px;
  }

  .benchmark-metrics > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .code-tabs button {
    min-width: 0;
  }

  .copy-button b {
    display: none;
  }

  .final-cta > div:not(.cta-grid, .cta-orb) {
    align-items: stretch;
    flex-direction: column;
  }

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

  .footer-grid > div,
  .footer-grid > div:last-child {
    grid-column: 1;
    min-height: 170px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-copyright,
  .footer-bottom nav {
    grid-column: 1;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .footer-service-links {
    padding-right: 56px;
  }
}

/* Restrained layout variation: the original visual language stays intact while
   the information flow moves away from the reference site's exact composition. */
.models-hero {
  min-height: min(680px, calc(100svh - var(--header-h)));
  padding-top: 84px;
  padding-bottom: 70px;
}

.models-hero-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .72fr);
  gap: clamp(72px, 9vw, 118px);
  align-items: stretch;
}

.models-hero-primary {
  align-self: center;
}

.models-hero-rail {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.models-hero-rail .models-hero-aside {
  max-width: none;
  margin-top: 0;
}

.models-hero-rail .hero-metrics {
  grid-template-columns: 1fr;
  margin-top: auto;
  padding-top: 24px;
}

.models-hero-rail .hero-metrics > div {
  min-height: 56px;
  padding: 14px 0;
  border-bottom: 0;
}

.models-hero-rail .hero-metrics > div + div {
  border-left: 0;
}

.models-hero-rail .hero-metrics > div:last-child {
  border-bottom: 1px solid var(--line);
}

.models-library-intro {
  grid-template-columns: .82fr 1.25fr auto;
}

.models-library-intro .filter-row {
  grid-column: 1;
  grid-row: 2;
}

.models-library-intro .models-custom-cta {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
}

.model-family-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.model-family-card:nth-child(1),
.model-family-card:nth-child(4) {
  grid-column: span 7;
}

.model-family-card:nth-child(2),
.model-family-card:nth-child(3) {
  grid-column: span 5;
}

.api-grid {
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.8fr);
}

.api-grid > .quick-steps {
  border-right: 1px solid var(--line-strong);
  border-left: 0;
}

@media (max-width: 1080px) {
  .models-hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(270px, .74fr);
    gap: 58px;
  }

  .models-library-intro {
    grid-template-columns: minmax(230px, .75fr) minmax(0, 1.25fr);
  }

  .models-library-intro .filter-row {
    grid-column: 1;
    grid-row: 2;
  }

  .models-library-intro .models-custom-cta {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }
}

@media (max-width: 960px) {
  .models-hero {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .models-hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .models-hero-rail {
    min-height: auto;
    padding-left: 0;
    border-left: 0;
  }

  .models-hero-rail .models-hero-aside {
    max-width: 560px;
  }

  .models-hero-rail .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 42px;
    padding-top: 0;
  }

  .models-hero-rail .hero-metrics > div {
    padding-inline: 16px;
    border-bottom: 1px solid var(--line);
  }

  .models-hero-rail .hero-metrics > div + div {
    border-left: 1px solid var(--line);
  }

  .models-library-intro {
    grid-template-columns: 1fr;
  }

  .models-library-intro h2,
  .models-library-intro .models-library-copy,
  .models-library-intro .filter-row,
  .models-library-intro .models-custom-cta {
    grid-column: 1;
  }

  .models-library-intro h2,
  .models-library-intro .models-library-copy {
    grid-row: auto;
  }

  .models-library-intro .filter-row {
    grid-row: 3;
  }

  .models-library-intro .models-custom-cta {
    grid-row: 4;
    justify-self: start;
  }

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

  .model-family-card:nth-child(1),
  .model-family-card:nth-child(2),
  .model-family-card:nth-child(3),
  .model-family-card:nth-child(4) {
    grid-column: auto;
  }

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

  .api-grid > .quick-steps {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }
}

@media (max-width: 760px) {
  .models-hero {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .models-hero-rail .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 54px;
  }

  .models-hero-rail .hero-metrics > div {
    padding-inline: 20px;
    border-bottom: 0;
  }

  .models-hero-rail .hero-metrics > div + div {
    border-left: 0;
  }

  .models-hero-rail .hero-metrics > div:last-child {
    border-bottom: 1px solid var(--line);
  }

  .model-family-grid {
    grid-template-columns: 1fr;
  }
}

/* Aesthetic refinement: a quieter line hierarchy, clearer panel depth, and
   one consistent accent gesture across interactive/data-heavy surfaces. */
:root {
  --line: #29302e;
  --line-strong: #414a48;
  --line-soft: rgba(65, 74, 72, .44);
}

.site-header {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .012),
    0 16px 38px rgba(0, 0, 0, .12);
}

.button {
  letter-spacing: -.012em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.button-dark,
.button-accent {
  border-color: rgba(255, 255, 255, .08);
}

.button-outline {
  background: rgba(255, 255, 255, .008);
}

.models-hero-rail {
  position: relative;
  background: linear-gradient(90deg, rgba(135, 149, 232, .026), transparent 58%);
}

.models-hero-rail::before {
  position: absolute;
  top: 0;
  left: -1px;
  width: 1px;
  height: 82px;
  background: linear-gradient(var(--accent), rgba(135, 149, 232, 0));
  content: "";
}

.models-hero-rail .models-hero-aside {
  color: #b0b7b4;
}

.models-hero-rail .hero-metrics > div {
  transition: color 180ms ease, background 180ms ease;
}

.models-hero-rail .hero-metrics > div:hover {
  background: linear-gradient(90deg, rgba(135, 149, 232, .045), transparent);
}

.filter-row,
.performance-tabs {
  background: rgba(255, 255, 255, .012);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .018);
}

.filter-button.is-active,
.performance-tabs button.is-active {
  box-shadow: 0 2px 10px rgba(0, 0, 0, .22);
}

.model-family-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .018), transparent 42%),
    var(--panel);
}

.model-family-card:nth-child(2),
.model-family-card:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(135, 149, 232, .022), transparent 46%),
    var(--panel);
}

.model-family-card:hover {
  background:
    linear-gradient(135deg, rgba(135, 149, 232, .045), transparent 48%),
    var(--panel-raised);
}

.model-family-card header {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .012), transparent);
}

.model-family-card h3 {
  line-height: 1.04;
}

.model-family-list li {
  border-bottom-color: var(--line-soft);
}

.model-family-list li:hover {
  background: linear-gradient(90deg, rgba(135, 149, 232, .055), transparent 72%);
}

.model-family-list small {
  color: #939b98;
}

.plan-price span,
.token-control small {
  color: #a1a9a6;
}

.custom-model-card {
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .018);
}

.custom-model-card::before {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: -1px;
  width: 2px;
  background: var(--accent);
  content: "";
}

.performance-section {
  background:
    radial-gradient(circle at 76% 34%, rgba(135, 149, 232, .026), transparent 29rem),
    linear-gradient(180deg, rgba(16, 18, 18, .96), rgba(13, 15, 15, .98));
}

.benchmark-panel,
.code-window,
.cost-calculator,
.status-board {
  position: relative;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, .16),
    inset 0 1px 0 rgba(255, 255, 255, .018);
}

.benchmark-toolbar,
.code-toolbar,
.status-summary {
  background: rgba(255, 255, 255, .012);
}

.benchmark-toolbar b {
  background: rgba(135, 149, 232, .065);
}

.quick-steps li {
  position: relative;
}

.quick-steps li:first-child {
  background: linear-gradient(90deg, rgba(135, 149, 232, .052), rgba(16, 18, 18, .8) 72%);
}

.quick-steps li:first-child::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background: var(--accent);
  content: "";
}

.quick-steps .docs-link-item {
  background: linear-gradient(90deg, rgba(135, 149, 232, .105), rgba(135, 149, 232, .045));
}

.token-control {
  background: linear-gradient(180deg, rgba(135, 149, 232, .025), transparent 72%);
}

.range-field::before {
  box-shadow: 0 0 18px rgba(135, 149, 232, .035);
}

.plan-card {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, .014), transparent 42%),
    rgba(9, 11, 11, .9);
}

.plan-card:hover {
  background:
    linear-gradient(155deg, rgba(135, 149, 232, .035), transparent 46%),
    rgba(13, 15, 15, .96);
}

.plan-card-featured {
  background: linear-gradient(180deg, rgba(135, 149, 232, .105), rgba(10, 12, 12, .96) 50%);
}

.final-cta {
  box-shadow:
    0 28px 84px rgba(0, 0, 0, .2),
    inset 0 1px 0 rgba(255, 255, 255, .16);
}

.brand-finale {
  background:
    radial-gradient(circle at 72% 34%, rgba(135, 149, 232, .026), transparent 30rem),
    var(--bg-deep);
}

.footer-grid > div {
  background: linear-gradient(180deg, rgba(255, 255, 255, .009), transparent 48%);
}

.footer-brand {
  background: linear-gradient(135deg, rgba(135, 149, 232, .022), transparent 56%) !important;
}

@media (max-width: 960px) {
  .models-hero-rail {
    background: transparent;
  }

  .models-hero-rail::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .model-family-card header {
    min-height: auto;
  }

  .custom-model-card::before {
    top: 22px;
    bottom: 22px;
  }
}

/* Wide-screen hero rail repair: reserve enough space for metric suffixes and
   use a non-colliding label/value grid instead of opposing flex items. */
@media (min-width: 1081px) {
  .models-hero-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: clamp(64px, 6vw, 88px);
  }
}

@media (min-width: 961px) and (max-width: 1080px) {
  .models-hero-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 52px;
  }
}

.models-hero-rail .hero-metrics > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}

.models-hero-rail .hero-metrics span {
  min-width: 0;
  white-space: nowrap;
}

.models-hero-rail .hero-metrics strong {
  display: inline-flex;
  min-width: max-content;
  align-items: baseline;
  justify-content: flex-end;
  white-space: nowrap;
}

.models-hero-rail .hero-metrics small {
  flex: 0 0 auto;
}

@media (min-width: 961px) {
  .models-hero-rail {
    min-width: 0;
    min-height: 400px;
    padding-left: 36px;
  }
}

/* Hero insight panel: compact editorial copy with a 2 + 1 metric matrix.
   This replaces the tall, narrow rail without changing the hero hierarchy. */
@media (min-width: 1081px) {
  .models-hero-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: clamp(68px, 6vw, 88px);
  }
}

@media (min-width: 961px) and (max-width: 1080px) {
  .models-hero-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 52px;
  }
}

@media (min-width: 961px) {
  .models-hero-rail {
    min-height: 0;
    align-self: center;
    padding-left: 0;
    border-left: 0;
    background: none;
  }

  .models-hero-rail::before {
    display: block;
    top: 0;
    left: 0;
    width: 68px;
    height: 1px;
    background: var(--accent);
  }

  .models-hero-rail .models-hero-aside {
    margin: 0;
    padding-top: 40px;
    color: #b5bcba;
  }

  .models-hero-rail .hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 42px;
    padding-top: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .models-hero-rail .hero-metrics > div {
    display: flex;
    min-width: 0;
    min-height: 104px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 19px 0 18px;
    overflow: visible;
    border-bottom: 0;
    background: transparent;
  }

  .models-hero-rail .hero-metrics > div:first-child {
    padding-right: 24px;
  }

  .models-hero-rail .hero-metrics > div:nth-child(2) {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }

  .models-hero-rail .hero-metrics > div:last-child {
    display: grid;
    min-height: 72px;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-bottom: 0;
  }

  .models-hero-rail .hero-metrics > div:hover {
    background: transparent;
  }

  .models-hero-rail .hero-metrics strong {
    font-size: 32px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Centered homepage hero: the narrative leads, while context and metrics form
   a full-width information strip beneath it. */
.models-hero {
  min-height: 980px;
  justify-content: center;
  padding-top: 190px;
  padding-bottom: 168px;
}

.models-hero::after {
  top: 8%;
  right: 50%;
  width: min(76vw, 860px);
  height: 500px;
  transform: translateX(50%);
  background: radial-gradient(circle at 50% 42%, rgba(135, 149, 232, .05), transparent 66%);
}

.models-hero-grid {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 72px;
  align-items: stretch;
}

.models-hero-primary {
  display: flex;
  width: min(100%, 900px);
  align-self: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.models-hero h1 {
  max-width: 900px;
}

.models-hero-copy > p {
  max-width: 720px;
  margin-top: 32px;
}

.models-hero-actions {
  justify-content: center;
  margin-top: 38px;
}

.models-hero-rail {
  display: grid;
  width: 100%;
  min-height: 0;
  grid-template-columns: 1fr;
  align-items: stretch;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 0;
  background: rgba(255, 255, 255, .006);
}

.models-hero-rail::before {
  display: none;
}

.models-hero-rail .models-hero-aside {
  max-width: none;
  margin: 0;
  padding: 28px 36px 28px 0;
  color: #b5bcba;
  font-size: var(--type-ui);
  line-height: 1.65;
}

.models-hero-rail .models-hero-aside::before {
  position: static;
  display: block;
  width: auto;
  margin-bottom: 13px;
  padding: 0;
  border: 0;
}

.models-hero-rail .hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border: 0;
}

.models-hero-rail .hero-metrics > div,
.models-hero-rail .hero-metrics > div:first-child,
.models-hero-rail .hero-metrics > div:nth-child(2),
.models-hero-rail .hero-metrics > div:last-child {
  display: flex;
  min-width: 0;
  min-height: 128px;
  grid-column: auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding: 26px 30px;
  overflow: visible;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 1px solid var(--line);
  background: transparent;
}

.models-hero-rail .hero-metrics > div:hover {
  background: rgba(135, 149, 232, .025);
}

.models-hero-rail .hero-metrics > div:first-child {
  border-left: 0;
}

.models-hero-rail .hero-metrics strong {
  font-size: 32px;
}

.models-library {
  border-top: 0;
}

@media (max-width: 960px) {
  .models-hero {
    min-height: auto;
    padding-top: 155px;
    padding-bottom: 136px;
  }

  .models-hero-grid {
    gap: 58px;
  }

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

  .models-hero-rail .models-hero-aside {
    padding: 26px;
  }

  .models-hero-rail .hero-metrics > div:first-child {
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .models-hero {
    padding-top: 120px;
    padding-bottom: 112px;
  }

  .models-hero-primary {
    align-items: flex-start;
    text-align: left;
  }

  .models-hero-actions {
    justify-content: flex-start;
  }

  .models-hero-rail .hero-metrics {
    grid-template-columns: 1fr;
  }

  .models-hero-rail .hero-metrics > div,
  .models-hero-rail .hero-metrics > div:first-child,
  .models-hero-rail .hero-metrics > div:nth-child(2),
  .models-hero-rail .hero-metrics > div:last-child {
    min-height: 78px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}
