/* EzRouter landing page: premium rebuild. Shared reset/nav tokens load first. */

:root {
  --bg: #010101;
  --surface: #0a0b0d;
  --surface-2: #111215;
  --surface-3: #191b20;
  --text: #f4f4f0;
  --text-muted: #b7b7b4;
  --text-faint: #777977;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --brand: #f3f3ed;
  --brand-hover: #ffffff;
  --brand-soft: rgba(255, 255, 255, 0.1);
  --success: #4bd19b;
  --warn: #ffbf5f;
  --danger: #ff6b6b;
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", Times, serif;
  --font-mono: "SFMono-Regular", "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
  --radius: 8px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --radius-pill: 9999px;
  --container: 1180px;
  --container-wide: 1360px;
  --nav-height: 64px;
  --post-hero-bg: #060707;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 30%, rgba(255, 255, 255, 0.08), transparent 31%),
    radial-gradient(circle at 49% 78%, rgba(255, 255, 255, 0.045), transparent 28%),
    linear-gradient(90deg, #020202 0%, #080909 46%, #111213 72%, #050505 100%);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.27;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 3px 3px;
  mask-image: radial-gradient(circle at 50% 34%, black, transparent 78%);
}

main {
  flex: 1 0 auto;
  overflow: hidden;
}

.landing-main {
  position: relative;
}

img {
  max-width: 100%;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  position: relative;
  padding: 108px 0;
}

.section + .section {
  border-top: 1px solid rgba(214, 228, 255, 0.08);
}

.terminal-section,
.statement-section,
.routing-section,
.model-section,
.playground-section,
.calculator-section,
.ai-products-section,
.docs-preview-section,
.dashboard-control-section,
.faq-section {
  background: var(--post-hero-bg);
}

h1,
h2,
h3,
h4,
p {
  letter-spacing: 0;
}

h1 {
  font-size: clamp(56px, 4.7vw, 88px);
  line-height: 1.02;
  font-family: var(--font-display);
  font-weight: 500;
  max-width: 760px;
  word-break: keep-all;
  overflow-wrap: normal;
}

h2 {
  font-size: 44px;
  line-height: 1.05;
  font-weight: 620;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.btn {
  height: 42px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.11),
    0 0 0 1px rgba(255, 255, 255, 0.035);
  transition: transform 160ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn:focus-visible,
.landing-language__select:focus-visible + .landing-language__current,
.site-nav__auth-link:focus-visible,
.terminal button:focus-visible,
.calc-select:focus-visible,
.calc-range:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(71, 163, 255, 0.34);
}

.btn-primary {
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.055));
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.18),
    inset 0 -1px rgba(0, 0, 0, 0.36),
    0 10px 34px rgba(0, 0, 0, 0.36);
}

.btn-primary:hover {
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.22),
    inset 0 -1px rgba(0, 0, 0, 0.34),
    0 14px 40px rgba(0, 0, 0, 0.42);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-lg {
  height: 58px;
  padding: 0 30px;
  font-size: 18px;
  font-weight: 620;
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: max-content;
  color: var(--brand-hover);
  font-weight: 620;
  border-bottom: 1px solid rgba(71, 163, 255, 0.45);
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.text-link:hover {
  color: var(--text);
  border-color: var(--text);
  transform: translateY(-1px);
}

/* Header */
.site-nav {
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-nav.is-scrolled {
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.58));
  border-bottom-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.site-nav__inner {
  max-width: var(--container-wide);
  padding: 0 28px;
}

.site-nav__logo {
  color: var(--text);
  font-size: 20px;
  font-weight: 760;
}

.site-nav__links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  gap: 34px;
  margin-left: 0;
  color: rgba(244, 244, 240, 0.58);
  font-size: 16px;
  font-weight: 590;
}

.site-nav__links a:hover {
  color: rgba(244, 244, 240, 0.92);
}

.site-nav__action-link,
.site-nav__status-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 8px;
  color: rgba(244, 244, 240, 0.68);
  font-size: 14px;
  font-weight: 590;
  line-height: 1;
  white-space: nowrap;
}

.site-nav__action-link:hover,
.site-nav__status-link:hover {
  color: var(--text);
}

.landing-language {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.landing-language__current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(244, 244, 240, 0.7);
  font-size: 14px;
  font-weight: 560;
  line-height: 1;
  white-space: nowrap;
  transition: border-color 160ms ease, background 160ms ease;
}

.landing-language__select {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.landing-language:hover .landing-language__current,
.landing-language:focus-within .landing-language__current {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
}

.btn-nav-cta,
.hero__actions .btn-primary {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(244, 244, 240, 0.9);
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
}

.btn-nav-cta:hover,
.hero__actions .btn-primary:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
  box-shadow: none;
}

.site-nav__auth {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  height: 40px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 160ms ease, background 160ms ease;
}

.site-nav__auth:hover,
.site-nav__auth:focus-within {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
}

.site-nav__auth-link {
  height: 100%;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(244, 244, 240, 0.7);
  font-size: 14px;
  font-weight: 560;
  line-height: 1;
  white-space: nowrap;
}

.site-nav__auth-link + .site-nav__auth-link {
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.site-nav__auth-link:hover {
  color: var(--text);
}

.site-nav__auth-link--strong {
  color: rgba(244, 244, 240, 0.9);
  font-weight: 700;
}

.btn-nav-cta {
  height: 40px;
  padding: 0 16px;
  border-radius: 14px;
}

/* Hero */
.hero-shell {
  position: relative;
  min-height: calc(100dvh - var(--nav-height) + 1px);
  padding: 34px 0 28px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-shell::before,
.hero-shell::after {
  content: "";
  position: absolute;
  inset: auto;
  z-index: -1;
  pointer-events: none;
}

.hero-shell::before {
  right: -9%;
  top: 0;
  width: 62vw;
  height: 62vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 62%);
  filter: blur(2px);
}

.hero-shell::after {
  left: -8vw;
  right: -8vw;
  bottom: -140px;
  height: 300px;
  background:
    radial-gradient(ellipse at 61% 28%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.13) 50%, transparent 100%);
  filter: blur(28px);
  opacity: 0.62;
  transform: rotate(-3deg);
}

.hero {
  position: relative;
  max-width: 1660px;
  min-height: calc(100dvh - var(--nav-height) - 156px);
  display: grid;
  grid-template-columns: minmax(470px, 0.98fr) minmax(500px, 1.02fr);
  align-items: center;
  gap: clamp(22px, 3.6vw, 64px);
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding-left: clamp(28px, 5vw, 92px);
}

.hero__announcement,
.section-kicker {
  margin: 0 0 18px;
  color: var(--brand-hover);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 620;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero__announcement {
  width: max-content;
  max-width: min(100%, 430px);
  min-height: 41px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(#050505, #050505) padding-box,
    linear-gradient(102deg, rgba(94, 235, 215, 0.7), rgba(245, 184, 97, 0.55), rgba(190, 92, 255, 0.68)) border-box;
  border-color: transparent;
  color: rgba(244, 244, 240, 0.88);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 560;
  text-transform: none;
  box-shadow: 0 0 34px rgba(150, 80, 255, 0.1);
}

.hero__sub {
  margin-top: 28px;
  max-width: 42ch;
  color: rgba(244, 244, 240, 0.66);
  font-size: 22px;
  line-height: 1.48;
  text-wrap: pretty;
}

.hero__actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
}

.hero__actions .btn-primary {
  height: 48px;
  padding: 0 24px;
  border-radius: 14px;
}

.hero-doc-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: rgba(244, 244, 240, 0.72);
  font-size: 17px;
  font-weight: 620;
  transition: color 160ms ease, transform 160ms ease;
}

.hero-doc-link:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.hero__visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0 clamp(28px, 5vw, 92px) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-leaderboard {
  width: min(100%, 760px);
  justify-self: end;
  display: block;
  padding: 14px 26px 22px;
  overflow: hidden;
  border: 1px solid rgba(244, 244, 240, 0.12);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018) 44%, rgba(255, 255, 255, 0.006)),
    rgba(6, 7, 7, 0.66);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 36px 95px rgba(0, 0, 0, 0.34),
    0 0 88px rgba(108, 238, 214, 0.06);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}

.hero-leaderboard__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 14px;
}

.hero-leaderboard__head span {
  color: rgba(244, 244, 240, 0.42);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
}

.hero-leaderboard__head strong {
  color: rgba(244, 244, 240, 0.96);
  font-family: var(--font-sans);
  font-size: clamp(25px, 2.3vw, 36px);
  line-height: 1;
  font-weight: 640;
}

.hero-leaderboard__table {
  margin: -10px -6px 0;
  padding: 0 6px;
  overflow-x: hidden;
  max-height: min(58vh, 560px);
}

.hero-leaderboard .leaderboard__table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.hero-lb-col-rank {
  width: 44px;
}

.hero-lb-col-model {
  width: 19%;
}

.hero-lb-col-provider {
  width: 14%;
}

.hero-lb-col-score {
  width: 12%;
}

.hero-lb-col-price {
  width: 47%;
}

.hero-leaderboard .leaderboard__table th,
.hero-leaderboard .leaderboard__table td {
  padding: 12px 10px;
  border-top-color: rgba(244, 244, 240, 0.09);
}

.hero-leaderboard .leaderboard__table thead th {
  border-top: 0;
}

.hero-leaderboard .leaderboard__table th {
  color: rgba(244, 244, 240, 0.34);
  font-size: 10px;
  text-transform: uppercase;
}

.hero-leaderboard .lb-price-head small {
  display: block;
  margin-top: 2px;
  color: rgba(244, 244, 240, 0.26);
  font-size: 9px;
  line-height: 1;
}

.hero-leaderboard .lb-price-head > span {
  display: block;
}

.hero-leaderboard .lb-price-head > span,
.hero-leaderboard .lb-price-head > small {
  transform: translateX(clamp(34px, 3.8vw, 72px));
}

.hero-leaderboard .lb-head-short {
  display: none;
}

.hero-leaderboard .leaderboard__table td {
  color: rgba(244, 244, 240, 0.62);
  font-size: 12px;
}

.hero-leaderboard .leaderboard__table th:first-child,
.hero-leaderboard .leaderboard__table td:first-child {
  padding-left: 0;
}

.hero-leaderboard .leaderboard__table th:last-child,
.hero-leaderboard .leaderboard__table td:last-child {
  padding-right: 0;
}

.hero-leaderboard .lb-rank {
  color: rgba(244, 244, 240, 0.38);
  font-family: var(--font-mono);
  font-size: 12px;
}

.hero-leaderboard .lb-rank.is-top {
  color: #68f5d5;
}

.hero-leaderboard .lb-model,
.hero-leaderboard .lb-price {
  color: rgba(244, 244, 240, 0.94);
}

.hero-leaderboard .lb-model {
  font-size: 13px;
  font-weight: 650;
}

.hero-leaderboard .lb-provider {
  height: 25px;
  padding: 0 10px;
  border-color: rgba(244, 244, 240, 0.11);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(244, 244, 240, 0.58);
  font-size: 11px;
}

.hero-leaderboard .lb-score {
  min-width: 70px;
}

.hero-leaderboard .lb-score__bar {
  height: 5px;
  background: rgba(244, 244, 240, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.hero-leaderboard .lb-score__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: rgba(244, 244, 240, 0.9);
}

.hero-leaderboard tbody tr:first-child .lb-score__bar span {
  background: linear-gradient(90deg, #62f3d2, #8db8ff);
}

.hero-leaderboard .lb-price {
  display: grid;
  grid-template-columns: minmax(112px, 0.86fr) minmax(128px, 1fr);
  column-gap: clamp(18px, 2.6vw, 44px);
  row-gap: 4px;
  padding-left: clamp(24px, 3vw, 58px);
  white-space: normal;
}

.hero-leaderboard .lb-price__item {
  display: inline-flex;
  min-width: 0;
  align-items: baseline;
  justify-self: start;
  gap: 5px;
}

.hero-leaderboard .lb-price__item:nth-child(odd) {
  transform: translateX(clamp(8px, 0.8vw, 14px));
}

.hero-leaderboard .lb-price__label {
  flex: 0 0 auto;
  min-width: 36px;
  color: rgba(244, 244, 240, 0.38);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1;
  text-transform: uppercase;
}

.hero-leaderboard .lb-price__value {
  min-width: 0;
  color: rgba(244, 244, 240, 0.9);
  text-align: left;
}

.hero-leaderboard .lb-price__value--cache-read,
.hero-leaderboard .lb-price__value--cache-write {
  color: #8be7cb;
}

.hero-leaderboard .lb-price__sep {
  display: none;
}

.hero-leaderboard__footnote {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(244, 244, 240, 0.42);
  font-size: 12px;
}

.hero-leaderboard__footnote a {
  color: rgba(244, 244, 240, 0.68);
  border-bottom: 1px solid rgba(244, 244, 240, 0.16);
}

/* Provider logos */
.provider-cloud {
  position: relative;
  padding: clamp(78px, 9vw, 124px) 0 52px;
  border-top: 0;
  background:
    linear-gradient(180deg, #020202 0%, var(--post-hero-bg) 58%, var(--post-hero-bg) 100%),
    var(--post-hero-bg);
  overflow: hidden;
  isolation: isolate;
}

.provider-cloud::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: -1;
  height: 1px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(214, 226, 242, 0.2) 28%, rgba(244, 244, 240, 0.32) 50%, rgba(214, 226, 242, 0.2) 72%, rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    0 -1px 0 rgba(0, 0, 0, 0.88),
    0 1px 0 rgba(255, 255, 255, 0.025);
}

.provider-cloud::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 1px;
  z-index: -1;
  width: min(760px, 72vw);
  height: clamp(190px, 18vw, 300px);
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.095), transparent 61%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012) 55%, transparent);
  filter: blur(22px);
  opacity: 0.74;
  mask-image: linear-gradient(90deg, transparent, black 22%, black 78%, transparent);
}

.provider-cloud__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  gap: clamp(40px, 4.4vw, 64px);
}

.provider-cloud__title {
  width: min(700px, 100%);
  max-width: 700px;
  margin: 0 auto;
  color: rgba(244, 244, 240, 0.58);
  font-size: clamp(25px, 2.1vw, 34px);
  line-height: 1.35;
  font-weight: 590;
  text-align: center;
  overflow-wrap: break-word;
  text-shadow: 0 1px 22px rgba(255, 255, 255, 0.08);
}

.provider-cloud__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

.provider-logo {
  width: 164px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: rgba(244, 244, 240, 0.92);
  opacity: 0.78;
  filter: grayscale(1);
}

.provider-logo img {
  width: clamp(26px, 2vw, 38px);
  height: clamp(26px, 2vw, 38px);
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.provider-logo__name {
  min-width: 0;
  color: currentColor;
  font-size: clamp(17px, 1.12vw, 23px);
  line-height: 1;
  font-weight: 740;
  letter-spacing: 0;
  white-space: nowrap;
}

/* Statement */
.statement {
  display: grid;
  gap: 46px;
}

.statement__line {
  max-width: 960px;
  color: var(--text);
  font-size: 46px;
  line-height: 1.1;
  font-weight: 610;
}

.statement__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(214, 228, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(214, 228, 255, 0.12);
}

.statement-card {
  padding: 30px;
  background: rgba(15, 18, 24, 0.92);
}

.statement-card__num {
  display: block;
  margin-bottom: 46px;
  color: var(--brand-hover);
  font-family: var(--font-mono);
  font-size: 13px;
}

.statement-card h2 {
  font-size: 25px;
  line-height: 1.2;
}

.statement-card p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.65;
}

/* Routing */
.routing-section {
  padding: 72px 0 104px;
  background: var(--post-hero-bg);
}

.routing-layout {
  display: grid;
  max-width: 1080px;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
}

.calculator-copy h2,
.terminal-copy h2,
.faq-copy h2 {
  max-width: 10ch;
}

.calculator-copy p,
.terminal-copy p,
.faq-copy p {
  margin-top: 18px;
  max-width: 48ch;
  font-size: 17px;
  line-height: 1.65;
}

.model-board .text-link {
  margin-top: 26px;
}

.routing-copy {
  max-width: 820px;
}

.routing-copy h2 {
  max-width: 16ch;
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(40px, 4.2vw, 64px);
  line-height: 1.06;
  font-weight: 640;
}

.routing-copy p {
  max-width: 700px;
  margin-top: 18px;
  color: rgba(244, 244, 240, 0.58);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
}

.routing__panel,
.calculator__panel,
.terminal,
.model-board,
.model-visual {
  border: 1px solid rgba(214, 228, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(15, 18, 24, 0.74);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.routing__panel {
  padding: 22px;
}

.routing-feature {
  overflow: visible;
  border: 0;
  border-radius: 22px;
  background: transparent;
  box-shadow: none;
}

.routing-feature__visual {
  position: relative;
  min-height: 282px;
  padding: clamp(24px, 3.4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  background: var(--post-hero-bg);
}

.routing-feature__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(244, 244, 240, 0.2) 0%,
      rgba(244, 244, 240, 0.12) 42%,
      rgba(244, 244, 240, 0.02) 76%,
      transparent 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.routing-feature .routing__panel {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  padding: 16px;
  border-color: transparent;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}

.routing-feature__body {
  display: block;
  width: min(620px, calc(100% - (clamp(24px, 3.4vw, 40px) * 2)));
  margin: 0 auto;
  padding: 26px 16px 32px;
  border-top: 0;
}

.routing-feature__body h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.15;
  font-weight: 620;
}

.routing-feature__body p {
  max-width: 560px;
  margin-top: 14px;
  color: rgba(244, 244, 240, 0.58);
  font-size: 16px;
  line-height: 1.6;
}

.routing-feature__body .text-link {
  margin-top: 20px;
}

.routing__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(214, 228, 255, 0.1);
}

.routing__header strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  font-weight: 620;
}

.routing__label,
.routing__live,
.routing__pick-label {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 12px;
}

.routing__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-hover);
}

.routing__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: ezr-live-pulse 1.8s ease-out infinite;
}

.routing__rows {
  display: grid;
  gap: 8px;
  padding: 16px 0;
}

.routing-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 68px 62px;
  align-items: center;
  gap: 12px;
  padding: 11px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  transition: background 260ms ease, border-color 260ms ease, opacity 260ms ease, transform 260ms ease;
}

.routing-row.is-picked {
  border-color: rgba(71, 163, 255, 0.55);
  background: rgba(71, 163, 255, 0.12);
  transform: translateX(2px);
}

.routing-row.is-warn {
  opacity: 0.58;
}

.routing-row__name {
  color: var(--text);
  font-size: 13px;
  font-weight: 620;
}

.routing-row__name small {
  display: block;
  margin-top: 3px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
}

.routing-row__bar {
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.routing-row__bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand-hover));
  transition: width 850ms cubic-bezier(0.22, 1, 0.36, 1);
}

.routing-row.is-warn .routing-row__bar span {
  background: var(--warn);
}

.routing-row__ms,
.routing-row__status {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.routing-row__ms small {
  margin-left: 2px;
  color: var(--text-faint);
}

.routing-row__status {
  color: var(--text-faint);
}

.routing-row.is-picked .routing-row__status {
  color: var(--brand-hover);
}

.routing-row.is-warn .routing-row__status {
  color: var(--warn);
}

.routing__footer {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(214, 228, 255, 0.1);
}

.routing__pick-value {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
}

.routing__reason {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.55;
}

/* Model catalog */
.model-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: stretch;
}

.model-visual {
  margin: 0;
  overflow: hidden;
  min-height: 580px;
}

.model-visual img {
  width: 100%;
  height: 100%;
  min-height: 580px;
  display: block;
  object-fit: cover;
}

.model-board {
  padding: 28px;
}

.model-board__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
}

.model-board__head h2 {
  max-width: 12ch;
  font-size: 38px;
}

.model-board__head p {
  margin-top: 16px;
  max-width: 48ch;
  font-size: 16px;
  line-height: 1.6;
}

.leaderboard {
  overflow-x: auto;
}

.leaderboard__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.leaderboard__table th,
.leaderboard__table td {
  padding: 18px 0;
  border-top: 1px solid rgba(214, 228, 255, 0.1);
  text-align: left;
}

.leaderboard__table th {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 520;
}

.leaderboard__table td {
  color: var(--text-muted);
  font-size: 14px;
}

.lb-model,
.lb-price {
  color: var(--text);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.lb-price {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.lb-model {
  font-size: 14px;
  white-space: nowrap;
}

.lb-provider {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(214, 228, 255, 0.12);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-muted);
  font-size: 12px;
}

.lb-score {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 160px;
}

.lb-score__bar {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(214, 228, 255, 0.1);
  overflow: hidden;
}

.lb-score__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--text);
}

.lb-score__num {
  width: 32px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.lb-price__value {
  display: inline-block;
  min-width: 44px;
}

.lb-price__value--in {
  text-align: right;
}

.lb-price__value--out {
  text-align: left;
}

.lb-price__value--cache {
  text-align: center;
  color: var(--brand-hover);
}

.lb-price__sep {
  display: inline-block;
  margin: 0 8px;
  color: var(--text-faint);
}

.leaderboard__footnote {
  margin-top: 18px;
  color: var(--text-faint);
  font-size: 13px;
  line-height: 1.55;
}

/* Playground showcase */
.playground-section {
  padding: 84px 0 116px;
}

.playground-showcase {
  max-width: 1080px;
  display: grid;
  gap: 42px;
}

.playground-copy {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.playground-copy h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.04;
  font-weight: 640;
}

.playground-copy p {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(244, 244, 240, 0.58);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.52;
}

.playground-frame {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012) 18%, transparent 42%),
    var(--post-hero-bg);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.24);
}

.playground-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(244, 244, 240, 0.24) 0%,
      rgba(244, 244, 240, 0.12) 18%,
      rgba(244, 244, 240, 0.03) 48%,
      transparent 76%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.playground-frame > * {
  position: relative;
  z-index: 1;
}

.playground-frame__bar {
  min-height: 62px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(244, 244, 240, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.playground-model-control {
  min-width: 0;
  height: 36px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid rgba(244, 244, 240, 0.14);
  border-radius: 10px;
  color: rgba(244, 244, 240, 0.68);
  background: rgba(255, 255, 255, 0.025);
}

.playground-model-control span {
  color: rgba(244, 244, 240, 0.42);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.playground-model-control strong {
  min-width: 0;
  color: rgba(244, 244, 240, 0.86);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 620;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playground-frame__spacer {
  min-width: 0;
}

.playground-frame__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.playground-frame__action {
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(244, 244, 240, 0.12);
  border-radius: 10px;
  color: rgba(244, 244, 240, 0.58);
  background: transparent;
  font-size: 13px;
  font-weight: 620;
  white-space: nowrap;
}

.playground-frame__action.is-active {
  color: rgba(244, 244, 240, 0.94);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(244, 244, 240, 0.18);
}

.playground-frame__body {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  background: #f7f7f5;
}

.playground-chat-preview {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 38px;
  color: #101112;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(247, 247, 245, 1));
}

.playground-message-preview {
  max-width: 640px;
  display: grid;
  gap: 8px;
}

.playground-message-preview--user {
  width: min(560px, 86%);
  margin-left: auto;
}

.playground-message-preview--assistant {
  width: min(620px, 92%);
}

.playground-message-preview__meta {
  color: #8b8d91;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.playground-message-preview__bubble {
  padding: 16px 18px;
  border: 1px solid rgba(13, 17, 23, 0.11);
  border-radius: 14px;
  background: #ffffff;
  color: #151618;
  font-size: 15px;
  line-height: 1.58;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.055);
}

.playground-message-preview--user .playground-message-preview__bubble {
  background: #eef0f2;
}

.playground-usage-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #6c7076;
  font-family: var(--font-mono);
  font-size: 11px;
}

.playground-usage-row span {
  padding: 5px 8px;
  border: 1px solid rgba(13, 17, 23, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.playground-composer-preview {
  margin-top: auto;
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 12px;
  align-items: center;
  padding: 8px 8px 8px 18px;
  border: 1px solid rgba(13, 17, 23, 0.16);
  border-radius: 14px;
  background: #ffffff;
  color: #9a9da1;
  font-size: 15px;
}

.playground-composer-preview button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  color: #070707;
  background: #f4f4f0;
  font-size: 17px;
}

.playground-config-preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 22px;
  border-left: 1px solid rgba(13, 17, 23, 0.1);
  background: #fbfbfa;
  color: #17181a;
}

.playground-config-preview__head {
  display: grid;
  gap: 5px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(13, 17, 23, 0.1);
}

.playground-config-preview__head span {
  font-size: 16px;
  font-weight: 660;
}

.playground-config-preview__head small,
.playground-field-preview span,
.playground-range-preview span,
.playground-request-preview-mini span {
  color: #85888d;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.playground-field-preview {
  display: grid;
  gap: 8px;
}

.playground-field-preview strong {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(13, 17, 23, 0.12);
  border-radius: 10px;
  background: #ffffff;
  color: #17181a;
  font-family: var(--font-mono);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playground-range-preview {
  display: grid;
  gap: 10px;
}

.playground-range-preview div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.playground-range-preview strong {
  color: #17181a;
  font-family: var(--font-mono);
  font-size: 12px;
}

.playground-range-preview i {
  height: 6px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #17181a var(--value), rgba(13, 17, 23, 0.12) 0);
}

.playground-request-preview-mini {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.playground-request-preview-mini pre {
  margin: 0;
  min-height: 112px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(13, 17, 23, 0.12);
  border-radius: 12px;
  background: #ffffff;
  color: #242629;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.65;
}

/* Calculator */
.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1.28fr);
  gap: 54px;
  align-items: center;
}

.calculator__panel {
  padding: 28px;
}

.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 26px;
}

.calc-inputs {
  display: grid;
  gap: 24px;
}

.calc-field {
  display: grid;
  gap: 12px;
}

.calc-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 12px;
}

.calc-value {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.calc-select {
  width: 100%;
  height: 48px;
  padding: 0 42px 0 14px;
  border: 1px solid rgba(214, 228, 255, 0.18);
  border-radius: var(--radius);
  color: var(--text);
  background:
    linear-gradient(45deg, transparent 50%, var(--text-muted) 50%) right 18px center / 7px 7px no-repeat,
    rgba(255, 255, 255, 0.04);
  appearance: none;
  -webkit-appearance: none;
}

.calc-range {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
}

.calc-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #07111f;
  background: var(--brand);
  cursor: pointer;
}

.calc-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #07111f;
  background: var(--brand);
  cursor: pointer;
}

.calc-outputs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.calc-out {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(214, 228, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.calc-out:hover {
  transform: translateY(-3px);
  border-color: rgba(214, 228, 255, 0.22);
  background: rgba(255, 255, 255, 0.055);
}

.calc-out--best {
  border-color: rgba(71, 163, 255, 0.55);
  background: rgba(71, 163, 255, 0.12);
}

.calc-out__label {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 12px;
}

.calc-out--best .calc-out__label,
.calc-out--best .calc-out__sub {
  color: var(--brand-hover);
}

.calc-out__amount {
  margin-top: 18px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.calc-out__sub {
  margin-top: 24px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.calc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(214, 228, 255, 0.1);
}

.calc-footer__copy {
  display: grid;
  gap: 8px;
}

.calc-footer__headline {
  color: var(--text);
  font-size: 23px;
  font-weight: 620;
}

.calc-footer__note {
  color: var(--text-faint);
  font-size: 13px;
  line-height: 1.55;
}

.calculator-section {
  padding: 72px 0 104px;
}

.pricing-layout {
  max-width: 1080px;
  display: grid;
  gap: 34px;
}

.pricing-layout .calculator-copy {
  max-width: 820px;
}

.pricing-layout .calculator-copy h2 {
  max-width: 20ch;
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(40px, 4.2vw, 64px);
  line-height: 1.06;
  font-weight: 640;
}

.pricing-layout .calculator-copy p {
  max-width: 700px;
  margin-top: 18px;
  color: rgba(244, 244, 240, 0.58);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
}

.pricing-feature {
  overflow: visible;
  border: 0;
  border-radius: 22px;
  background: transparent;
  box-shadow: none;
}

.pricing-feature__visual {
  position: relative;
  min-height: 282px;
  padding: clamp(24px, 3.4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  background: var(--post-hero-bg);
}

.pricing-feature__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(244, 244, 240, 0.2) 0%,
      rgba(244, 244, 240, 0.12) 42%,
      rgba(244, 244, 240, 0.02) 76%,
      transparent 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.pricing-feature .calculator__panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: 18px;
  border-color: transparent;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}

.pricing-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(214, 228, 255, 0.1);
}

.pricing-panel__head strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 20px;
  font-weight: 620;
}

.pricing-panel__eyebrow {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 12px;
}

.pricing-model-select {
  width: min(220px, 48%);
  height: 36px;
  padding: 0 32px 0 12px;
  border: 1px solid rgba(244, 244, 240, 0.14);
  border-radius: 10px;
  color: rgba(244, 244, 240, 0.82);
  background:
    linear-gradient(45deg, transparent 50%, rgba(244, 244, 240, 0.58) 50%) right 14px center / 7px 7px no-repeat,
    rgba(255, 255, 255, 0.025);
  font-family: var(--font-mono);
  font-size: 12px;
  appearance: none;
  -webkit-appearance: none;
}

.pricing-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 0;
}

.pricing-metric {
  min-width: 0;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.pricing-metric--primary {
  border-color: rgba(244, 244, 240, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.pricing-metric span,
.pricing-metric small {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 11px;
}

.pricing-metric strong {
  display: block;
  margin-top: 14px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1;
  font-weight: 680;
}

.pricing-metric small {
  display: block;
  margin-top: 14px;
  line-height: 1.35;
}

.pricing-controls {
  display: grid;
  gap: 15px;
  padding-top: 14px;
  border-top: 1px solid rgba(214, 228, 255, 0.1);
}

.pricing-control {
  display: grid;
  gap: 10px;
}

.pricing-control > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 12px;
}

.pricing-control strong {
  color: var(--text);
  font-weight: 520;
}

.pricing-feature__body {
  display: block;
  width: min(720px, calc(100% - (clamp(24px, 3.4vw, 40px) * 2)));
  margin: 0 auto;
  padding: 26px 18px 32px;
  border-top: 0;
}

.pricing-feature__body h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.15;
  font-weight: 620;
}

.pricing-feature__body p {
  max-width: 620px;
  margin-top: 14px;
  color: rgba(244, 244, 240, 0.58);
  font-size: 16px;
  line-height: 1.6;
}

.pricing-feature__body .text-link {
  margin-top: 20px;
}

/* AI product integrations */
.ai-products-section {
  padding: 86px 0 104px;
}

.ai-products-layout {
  max-width: 1080px;
  display: grid;
  gap: 48px;
}

.ai-products-copy {
  max-width: 900px;
}

.ai-products-copy h2 {
  max-width: 17ch;
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(40px, 4.35vw, 66px);
  line-height: 1.04;
  font-weight: 640;
}

.ai-products-copy p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(244, 244, 240, 0.58);
  font-size: clamp(16px, 1.22vw, 20px);
  line-height: 1.58;
}

.ai-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 58px;
  row-gap: 46px;
}

.ai-product-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 17px;
  align-items: flex-start;
  color: inherit;
}

.ai-product-card__logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 244, 240, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.026);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.ai-product-card__logo img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.ai-product-card__logo--light img {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.ai-product-card__body {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.ai-product-card__name {
  color: rgba(244, 244, 240, 0.94);
  font-size: 20px;
  line-height: 1.16;
  font-weight: 620;
  text-decoration: none;
  transition: color 180ms ease;
}

.ai-product-card__type {
  color: rgba(244, 244, 240, 0.38);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.35;
  text-transform: uppercase;
}

.ai-product-card__desc {
  color: rgba(244, 244, 240, 0.54);
  font-size: 15px;
  line-height: 1.58;
}

.ai-product-card__logo:hover,
.ai-product-card__logo:focus-visible {
  border-color: rgba(244, 244, 240, 0.24);
  background: rgba(255, 255, 255, 0.052);
  transform: translateY(-2px);
}

.ai-product-card__name:hover,
.ai-product-card__name:focus-visible {
  color: #ffffff;
}

/* Docs preview */
.docs-preview-section {
  padding: 82px 0 104px;
}

.docs-preview-showcase {
  max-width: 1040px;
  display: grid;
  gap: 44px;
}

.docs-preview-copy {
  width: min(780px, 100%);
  margin: 0 auto;
  text-align: center;
}

.docs-preview-copy h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(42px, 4.7vw, 68px);
  line-height: 1.02;
  font-weight: 640;
}

.docs-preview-copy p {
  max-width: 690px;
  margin: 18px auto 0;
  color: rgba(244, 244, 240, 0.58);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
}

.docs-preview-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
}

.docs-window {
  position: relative;
  width: min(100%, 980px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(244, 244, 240, 0.12);
  border-radius: 20px;
  background: #050606;
}

.docs-window::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03) 64px, transparent 150px);
}

.docs-window__chrome {
  position: relative;
  z-index: 2;
  height: 48px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 92px;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(244, 244, 240, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.docs-window__lights {
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-window__lights span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(244, 244, 240, 0.34);
}

.docs-window__lights span:nth-child(1) {
  background: #ff5f57;
}

.docs-window__lights span:nth-child(2) {
  background: #ffbd2e;
}

.docs-window__lights span:nth-child(3) {
  background: #28c840;
}

.docs-window__title {
  overflow: hidden;
  color: rgba(244, 244, 240, 0.6);
  font-size: 14px;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-window__body {
  position: relative;
  z-index: 0;
  height: clamp(430px, 43vw, 535px);
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr) 138px;
  overflow: hidden;
  background: #f7f9fc;
  color: #1f2937;
}

.docs-window__body::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 92px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(247, 249, 252, 0), #f7f9fc 72%);
}

.docs-window__sidebar {
  overflow: hidden;
  padding: 24px 18px;
  border-right: 1px solid #dce3ed;
  background: #f7f9fc;
}

.docs-window__group {
  margin: 0 0 10px;
  color: #64748b;
  font-size: 10px;
  font-weight: 720;
  line-height: 1;
  text-transform: uppercase;
}

.docs-window__group:not(:first-child) {
  margin-top: 24px;
}

.docs-window__sidebar a {
  display: block;
  overflow: hidden;
  padding: 6px 0;
  color: #263341;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-window__sidebar a.is-active {
  color: #0f172a;
  font-weight: 650;
}

.docs-window__content {
  overflow: hidden;
  padding: 28px 26px 44px;
  background: #f7f9fc;
}

.docs-window__kicker {
  margin: 0;
  color: #64748b;
  font-size: 11px;
  font-weight: 720;
  line-height: 1;
  text-transform: uppercase;
}

.docs-window__content h3 {
  margin: 18px 0 0;
  color: #1f2937;
  font-family: var(--font-sans);
  font-size: clamp(32px, 3.2vw, 45px);
  line-height: 1;
  font-weight: 720;
}

.docs-window__intro {
  max-width: 570px;
  margin: 16px 0 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.5;
}

.docs-window__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.docs-window__cards a,
.docs-window__list a {
  display: block;
  min-width: 0;
  border: 1px solid #d7e0eb;
  border-radius: 8px;
  background: #ffffff;
  color: #1f2937;
  text-decoration: none;
}

.docs-window__cards a {
  min-height: 88px;
  padding: 16px;
}

.docs-window__cards span {
  display: block;
  color: #667085;
  font-size: 10px;
  font-weight: 720;
  line-height: 1;
  text-transform: uppercase;
}

.docs-window__cards strong {
  display: block;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 720;
}

.docs-window__section {
  margin-top: 30px;
}

.docs-window__section h4 {
  margin: 0 0 12px;
  color: #1f2937;
  font-size: 20px;
  line-height: 1;
  font-weight: 720;
}

.docs-window__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.docs-window__list a {
  overflow: hidden;
  padding: 13px 14px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-window__toc {
  overflow: hidden;
  padding: 24px 16px;
  background: #f7f9fc;
}

.docs-window__toc div {
  color: #64748b;
  font-size: 11px;
  font-weight: 720;
  line-height: 1;
  text-transform: uppercase;
}

.docs-window__toc a {
  display: block;
  margin-top: 14px;
  color: #667085;
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
}

/* Dashboard preview */
.dashboard-control-section {
  padding: 84px 0 112px;
}

.dashboard-control-showcase {
  max-width: 1120px;
  display: grid;
  gap: 42px;
}

.dashboard-control-copy {
  width: min(850px, 100%);
  margin: 0 auto;
  text-align: center;
}

.dashboard-control-copy h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(46px, 5.1vw, 76px);
  line-height: 1.02;
  font-weight: 640;
}

.dashboard-control-copy p {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(244, 244, 240, 0.56);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.55;
}

.dashboard-control-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 10px;
}

.control-card {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  overflow: hidden;
  border: 1px solid rgba(244, 244, 240, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.012);
  color: rgba(244, 244, 240, 0.82);
  font-size: 15px;
  font-weight: 560;
}

.control-card::after {
  content: "";
  position: absolute;
  inset: auto 16px 0;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(75, 209, 155, 0.7), transparent);
}

.control-card.is-active::after {
  opacity: 1;
}

.control-card__icon {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 244, 240, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.control-card__icon--bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding-bottom: 9px;
}

.control-card__icon--bars i {
  width: 3px;
  border-radius: 999px 999px 0 0;
  background: #4bd19b;
}

.control-card__icon--bars i:nth-child(1) {
  height: 10px;
}

.control-card__icon--bars i:nth-child(2) {
  height: 16px;
}

.control-card__icon--bars i:nth-child(3) {
  height: 12px;
}

.control-card__icon--key i {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(244, 244, 240, 0.78);
  border-radius: 999px;
}

.control-card__icon--key i::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 2px;
  right: 6px;
  bottom: 10px;
  background: rgba(244, 244, 240, 0.78);
  box-shadow: 5px 4px 0 -1px rgba(244, 244, 240, 0.78);
  transform: rotate(-38deg);
  transform-origin: right center;
}

.control-card__icon--logs {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.control-card__icon--logs i {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: rgba(244, 244, 240, 0.7);
}

.control-card__icon--logs i:nth-child(2) {
  width: 13px;
}

.control-card__icon--logs i:nth-child(3) {
  width: 16px;
}

.dashboard-preview {
  position: relative;
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(244, 244, 240, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 76% 16%, rgba(255, 255, 255, 0.055), transparent 34%),
    #050606;
  box-shadow: none;
}

.dashboard-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 170px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045), transparent 230px);
}

.dashboard-preview::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, #050606 78%);
}

.dashboard-preview__sidebar,
.dashboard-preview__main {
  position: relative;
  z-index: 1;
}

.dashboard-preview__sidebar {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 28px;
  padding: 24px 16px;
  border-right: 1px solid rgba(244, 244, 240, 0.1);
  background: rgba(255, 255, 255, 0.015);
}

.dashboard-preview__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(244, 244, 240, 0.9);
  font-size: 14px;
  font-weight: 640;
}

.dashboard-preview__brand img {
  width: 24px;
  height: 24px;
}

.dashboard-preview__nav {
  display: grid;
  align-content: start;
  gap: 7px;
}

.dashboard-preview__nav-label {
  margin: 12px 0 4px;
  color: rgba(244, 244, 240, 0.34);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
}

.dashboard-preview__nav a {
  display: block;
  padding: 9px 11px;
  border-radius: 8px;
  color: rgba(244, 244, 240, 0.55);
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
}

.dashboard-preview__nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
}

.dashboard-preview__user {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(244, 244, 240, 0.7);
  font-size: 12px;
}

.dashboard-preview__user span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 244, 240, 0.16);
  border-radius: 999px;
  color: var(--text);
  background: #111315;
  font-weight: 680;
}

.dashboard-preview__user strong {
  overflow: hidden;
  font-weight: 520;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-preview__main {
  min-width: 0;
  padding: 24px 26px 34px;
}

.dashboard-preview__topbar {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  color: rgba(244, 244, 240, 0.45);
  font-size: 13px;
}

.dashboard-preview__topbar span:last-child {
  padding: 5px 10px;
  margin-top: -5px;
  border: 1px solid rgba(244, 244, 240, 0.12);
  border-radius: 8px;
  color: rgba(244, 244, 240, 0.58);
  background: rgba(255, 255, 255, 0.035);
}

.dashboard-preview__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
}

.dashboard-preview__head h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(26px, 3.1vw, 42px);
  line-height: 1.05;
  font-weight: 650;
}

.dashboard-preview__head p {
  max-width: 610px;
  margin: 12px 0 0;
  color: rgba(244, 244, 240, 0.52);
  font-size: 15px;
  line-height: 1.45;
}

.dashboard-preview__refresh {
  flex: 0 0 auto;
  min-width: 86px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(244, 244, 240, 0.16);
  border-radius: 999px;
  color: rgba(244, 244, 240, 0.8);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
}

.dashboard-preview__kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.dashboard-preview__kpis section,
.dashboard-panel {
  min-width: 0;
  border: 1px solid rgba(244, 244, 240, 0.12);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.18);
}

.dashboard-preview__kpis section {
  padding: 18px;
}

.dashboard-preview__kpis span,
.dashboard-panel header span {
  color: rgba(244, 244, 240, 0.42);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
}

.dashboard-preview__kpis strong {
  display: block;
  margin-top: 16px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1;
  font-weight: 700;
}

.dashboard-preview__kpis small {
  display: block;
  margin-top: 14px;
  color: rgba(244, 244, 240, 0.45);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.45;
}

.dashboard-preview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.9fr);
  gap: 16px;
  margin-top: 22px;
}

.dashboard-panel {
  overflow: hidden;
}

.dashboard-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(244, 244, 240, 0.09);
}

.dashboard-panel header strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 620;
}

.activity-preview {
  display: grid;
  font-family: var(--font-mono);
  font-size: 12px;
}

.activity-preview__row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 52px;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-top: 1px solid rgba(244, 244, 240, 0.075);
}

.activity-preview__row:first-child {
  border-top: 0;
}

.activity-preview__row span {
  color: rgba(244, 244, 240, 0.38);
}

.activity-preview__row strong {
  overflow: hidden;
  color: rgba(244, 244, 240, 0.76);
  font-weight: 520;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-preview__row em {
  color: rgba(244, 244, 240, 0.55);
  font-style: normal;
  text-align: right;
}

.dashboard-model-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px;
}

.dashboard-model-chips span {
  padding: 7px 9px;
  border: 1px solid rgba(244, 244, 240, 0.11);
  border-radius: 7px;
  color: rgba(244, 244, 240, 0.7);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
}

/* Terminal */
.terminal-section {
  padding: 72px 0 104px;
}

.terminal-layout {
  display: grid;
  max-width: 1080px;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

.terminal-copy {
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;
}

.terminal-copy h2 {
  max-width: none;
  margin: 0 auto;
  font-family: var(--font-sans);
  font-size: clamp(42px, 4.6vw, 70px);
  line-height: 1.02;
  font-weight: 650;
}

.terminal-copy__brand {
  color: transparent;
  background: linear-gradient(90deg, #9fe7c2 0%, #f1f58a 46%, #ffcf7d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 34px rgba(159, 231, 194, 0.16);
}

.terminal-copy h2 [data-i18n="terminal.titleSuffix"] {
  white-space: pre-line;
}

.terminal-copy p {
  max-width: 700px;
  margin: 18px auto 0;
  color: rgba(244, 244, 240, 0.56);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.5;
}

.terminal {
  width: 100%;
  overflow: hidden;
  border-color: rgba(244, 244, 240, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 18%),
    #000;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.08),
    0 22px 70px rgba(0, 0, 0, 0.32);
}

.terminal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(244, 244, 240, 0.11);
  background: rgba(255, 255, 255, 0.018);
}

.terminal__tabs,
.terminal__providers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.terminal__tab,
.terminal__copy,
.terminal__provider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 244, 240, 0.13);
  border-radius: var(--radius-pill);
  color: rgba(244, 244, 240, 0.62);
  background: rgba(255, 255, 255, 0.022);
  font-size: 12px;
  font-weight: 620;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.terminal__tab {
  gap: 8px;
}

.terminal__tab::before {
  content: "";
  width: 13px;
  height: 13px;
  display: none;
  border: 1px solid rgba(241, 245, 138, 0.62);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(159, 231, 194, 0.2), rgba(255, 207, 125, 0.18));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.46);
}

.terminal__tab,
.terminal__copy {
  height: 34px;
  padding: 0 12px;
}

.terminal__provider-btn {
  height: 32px;
  padding: 0 11px;
  font-family: var(--font-mono);
}

.terminal__tab:hover,
.terminal__copy:hover,
.terminal__provider-btn:hover {
  color: var(--text);
  border-color: rgba(244, 244, 240, 0.22);
  background: rgba(255, 255, 255, 0.055);
}

.terminal__tab:active,
.terminal__copy:active,
.terminal__provider-btn:active {
  transform: translateY(1px);
}

.terminal__tab.is-active,
.terminal__provider-btn.is-active {
  color: rgba(244, 244, 240, 0.94);
  border-color: rgba(241, 245, 138, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.11),
    0 0 22px rgba(159, 231, 194, 0.055);
}

.terminal__tab.is-active::before {
  display: inline-block;
}

.terminal__copy.is-copied {
  color: #07150f;
  border-color: var(--success);
  background: var(--success);
}

.terminal__viewport {
  min-height: 390px;
  background:
    radial-gradient(circle at 18% 0%, rgba(159, 231, 194, 0.05), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 30%),
    #000;
}

.terminal__body {
  margin: 0;
  min-height: 390px;
  padding: 26px 30px;
  overflow: auto;
  color: #e7edf6;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.72;
  white-space: normal;
  word-break: normal;
}

.terminal__line {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  min-height: 22px;
}

.terminal__line-num {
  padding-right: 16px;
  color: rgba(244, 244, 240, 0.24);
  text-align: right;
  user-select: none;
}

.terminal__line-code {
  min-width: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.terminal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border-top: 1px solid rgba(244, 244, 240, 0.1);
  background: rgba(255, 255, 255, 0.015);
}

.terminal__chooser-label {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 12px;
}

.terminal__body .tk-keyword { color: #a7d2ff; }
.terminal__body .tk-fn { color: #d7dcff; }
.terminal__body .tk-prop { color: #b7d9ff; }
.terminal__body .tk-str { color: #9fe7c2; }
.terminal__body .tk-num { color: #ffcf7d; }
.terminal__body .tk-flag { color: #ffcf7d; }
.terminal__body .tk-comment { color: #656d75; }
.terminal__body .tk-url { color: #f1f58a; }
.terminal__body .tk-plain { color: #e7edf6; }

/* FAQ and footer */
.faq-section {
  padding: 86px 0 110px;
}

.faq-layout {
  position: relative;
  display: grid;
  max-width: 1120px;
  grid-template-columns: minmax(280px, 0.78fr) minmax(560px, 1.22fr);
  gap: 46px;
  align-items: start;
}

.faq-copy {
  position: sticky;
  top: 92px;
}

.faq-copy__eyebrow {
  margin: 0 0 18px;
  color: rgba(244, 244, 240, 0.43);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
}

.faq-copy h2 {
  max-width: 12ch;
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.04;
  font-weight: 640;
}

.faq-copy p:not(.faq-copy__eyebrow) {
  max-width: 420px;
  margin-top: 18px;
  color: rgba(244, 244, 240, 0.56);
  font-size: 17px;
  line-height: 1.62;
}

.faq {
  border-top: 1px solid rgba(214, 228, 255, 0.12);
}

.faq details {
  border-bottom: 1px solid rgba(214, 228, 255, 0.12);
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 610;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.faq summary::after {
  content: "+";
  color: var(--brand-hover);
  font-family: var(--font-mono);
  font-size: 20px;
}

.faq details[open] summary::after {
  content: "-";
}

.faq__answer {
  max-width: 68ch;
  padding: 0 0 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.faq__link {
  color: var(--brand-hover);
  border-bottom: 1px solid rgba(71, 163, 255, 0.45);
}

.site-footer {
  flex: 0 0 auto;
  margin-top: 0;
  padding: 0;
  border-top: 1px solid rgba(214, 228, 255, 0.08);
  background: var(--post-hero-bg);
}

.footer-cta {
  position: relative;
  min-height: clamp(590px, 74vh, 820px);
  display: flex;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(108px, 8vw, 142px) 28px 0;
  border-bottom: 1px solid rgba(214, 228, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 24%),
    linear-gradient(180deg, #060707 0%, #010101 52%, #030303 100%);
}

.footer-cta::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 128px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5) 58%, #050505);
}

.footer-cta__inner {
  position: relative;
  z-index: 3;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.footer-cta__eyebrow {
  margin: 0 0 22px;
  color: rgba(244, 244, 240, 0.42);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
}

.footer-cta h2 {
  max-width: 1100px;
  margin: 0 auto;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 92px);
  line-height: 1.02;
  font-weight: 500;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
}

.footer-cta h2 span {
  display: block;
  white-space: nowrap;
}

.footer-cta p:not(.footer-cta__eyebrow) {
  max-width: 700px;
  margin: 24px auto 0;
  color: rgba(244, 244, 240, 0.58);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
}

.footer-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 36px;
}

.footer-cta__silhouette {
  position: absolute;
  left: 50%;
  bottom: -34px;
  z-index: 1;
  width: max-content;
  color: rgba(244, 244, 240, 0.068);
  font-family: "Helvetica Neue", Helvetica, var(--font-sans);
  font-size: clamp(128px, 18.5vw, 286px);
  font-weight: 900;
  line-height: 0.9;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  transform: translateX(-50%);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.042);
  text-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.07),
    0 -28px 72px rgba(255, 255, 255, 0.035),
    0 34px 92px rgba(0, 0, 0, 0.88);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.84) 52%, rgba(0, 0, 0, 0.28) 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.84) 52%, rgba(0, 0, 0, 0.28) 100%);
}

.site-footer__top {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 58px 28px 54px;
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(150px, 0.42fr));
  gap: 56px;
}

.site-footer__brand {
  display: grid;
  align-content: start;
  gap: 14px;
}

.site-footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 650;
}

.site-footer__brand-line {
  max-width: 30ch;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.site-footer__mail {
  width: fit-content;
  margin-top: 6px;
  color: rgba(244, 244, 240, 0.74);
  font-size: 14px;
  border-bottom: 1px solid rgba(244, 244, 240, 0.18);
}

.site-footer__mail:hover {
  color: var(--text);
  border-bottom-color: rgba(244, 244, 240, 0.36);
}

.site-footer__col h4 {
  margin: 0 0 14px;
  color: rgba(244, 244, 240, 0.42);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 520;
  line-height: 1;
  text-transform: uppercase;
}

.site-footer__col ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.site-footer__col a,
.site-footer__links a {
  color: rgba(244, 244, 240, 0.62);
  font-size: 14px;
}

.site-footer__col a:hover,
.site-footer__links a:hover {
  color: var(--text);
}

.site-footer__bottom {
  border-top: 1px solid rgba(214, 228, 255, 0.1);
}

.site-footer__bottom-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--text-faint);
  font-size: 13px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* Motion */
body.has-motion .site-nav__logo,
body.has-motion .site-nav__actions,
body.has-motion .hero__copy > *,
body.has-motion .hero__visual {
  opacity: 0;
  transform: translateY(16px);
}

body.is-ready .site-nav__logo,
body.is-ready .site-nav__actions,
body.is-ready .hero__copy > *,
body.is-ready .hero__visual {
  opacity: 1;
  transform: none;
  transition: opacity 560ms ease, transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

body.is-ready .site-nav__actions { transition-delay: 60ms; }
body.is-ready .hero__announcement { transition-delay: 90ms; }
body.is-ready .hero h1 { transition-delay: 150ms; }
body.is-ready .hero__sub { transition-delay: 210ms; }
body.is-ready .hero__actions { transition-delay: 270ms; }
body.is-ready .hero__visual { transition-delay: 320ms; }

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 540ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes ezr-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(71, 163, 255, 0.48); }
  100% { box-shadow: 0 0 0 12px rgba(71, 163, 255, 0); }
}

/* Responsive */
@media (max-width: 1080px) {
  h1 {
    font-size: clamp(54px, 8.6vw, 82px);
  }

  h2 {
    font-size: 38px;
  }

  .hero,
  .routing-layout,
  .calculator-layout,
  .terminal-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-copy {
    position: static;
  }

  .faq-copy h2,
  .faq-copy p:not(.faq-copy__eyebrow) {
    max-width: 720px;
  }

  .hero {
    gap: 34px;
  }

  .hero__copy {
    padding-left: clamp(8px, 4vw, 34px);
  }

  .hero__visual {
    min-height: 0;
    justify-self: stretch;
    margin-right: 0;
  }

  .hero-leaderboard {
    width: 100%;
    max-width: 760px;
    justify-self: start;
    padding: 14px 22px 20px;
  }

  .hero-leaderboard__table {
    max-height: none;
  }

  .site-nav__links {
    display: none;
  }

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

  .ai-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 44px;
  }

  .model-visual,
  .model-visual img {
    min-height: 420px;
  }

  .docs-window__body {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .docs-window__toc {
    display: none;
  }

  .dashboard-control-cards {
    gap: 14px;
  }

  .dashboard-preview {
    grid-template-columns: 164px minmax(0, 1fr);
  }

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

  .dashboard-preview__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 78px 0;
  }

  .container,
  .site-nav__inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: clamp(42px, 10vw, 62px);
    max-width: 8.5em;
  }

  h2,
  .statement__line {
    font-size: 34px;
  }

  .hero-shell {
    min-height: auto;
    padding: 28px 0 22px;
  }

  .hero {
    min-height: auto;
    gap: 22px;
  }

  .hero__copy {
    padding-left: 0;
  }

  .hero__sub {
    font-size: 19px;
  }

  .hero__visual {
    margin: 2px -14px 0;
  }

  .hero-leaderboard {
    border-radius: 18px;
    padding: 12px 18px 16px;
  }

  .hero-leaderboard__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .hero-leaderboard__head strong {
    font-size: 27px;
  }

  .hero-leaderboard .leaderboard__table {
    min-width: 640px;
  }

  .hero-leaderboard .leaderboard__table th,
  .hero-leaderboard .leaderboard__table td {
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .provider-cloud {
    padding: 44px 0 46px;
  }

  .provider-cloud__inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .provider-cloud__logos {
    gap: 14px;
  }

  .playground-section {
    padding: 78px 0;
  }

  .playground-showcase {
    gap: 30px;
  }

  .playground-frame__bar {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .playground-frame__actions {
    justify-content: flex-start;
  }

  .playground-frame__body {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .playground-chat-preview {
    min-height: 420px;
    padding: 24px;
  }

  .playground-config-preview {
    border-left: 0;
    border-top: 1px solid rgba(13, 17, 23, 0.1);
  }

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

  .pricing-panel__head {
    flex-direction: column;
  }

  .pricing-model-select {
    width: 100%;
  }

  .ai-products-section {
    padding: 76px 0 86px;
  }

  .ai-products-layout {
    gap: 38px;
  }

  .ai-product-grid {
    column-gap: 28px;
    row-gap: 36px;
  }

  .ai-product-card {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
  }

  .ai-product-card__logo {
    width: 38px;
    height: 38px;
    border-radius: 9px;
  }

  .ai-product-card__logo img {
    width: 23px;
    height: 23px;
  }

  .docs-preview-showcase {
    gap: 34px;
  }

  .docs-window__chrome {
    grid-template-columns: 72px minmax(0, 1fr) 72px;
  }

  .docs-window__body {
    height: auto;
    max-height: 660px;
    grid-template-columns: 1fr;
  }

  .docs-window__sidebar {
    display: none;
  }

  .docs-window__content {
    overflow: hidden;
    padding: 30px 24px 38px;
  }

  .docs-window__content h3 {
    font-size: clamp(34px, 8vw, 50px);
  }

  .docs-window__intro {
    font-size: 16px;
  }

  .docs-window__cards {
    grid-template-columns: 1fr;
  }

  .docs-window__list {
    grid-template-columns: 1fr;
  }

  .dashboard-control-showcase {
    gap: 32px;
  }

  .dashboard-control-cards {
    grid-template-columns: 1fr;
  }

  .dashboard-preview {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .dashboard-preview__sidebar {
    display: none;
  }

  .dashboard-preview__main {
    padding: 20px 18px 30px;
  }

  .dashboard-preview__head {
    flex-direction: column;
    margin-top: 30px;
  }

  .dashboard-preview__kpis,
  .dashboard-preview__grid {
    grid-template-columns: 1fr;
  }

  .statement__grid,
  .calc-grid,
  .calc-outputs {
    grid-template-columns: 1fr;
  }

  .statement-card__num {
    margin-bottom: 24px;
  }

  .routing-row {
    grid-template-columns: 1fr auto auto;
  }

  .routing-row__bar {
    grid-column: 1 / -1;
    order: 3;
  }

  .routing__footer,
  .model-board__head,
  .calc-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    padding-left: 18px;
    padding-right: 18px;
  }

  .footer-cta {
    min-height: 540px;
    padding: 104px 18px 0;
  }

  .footer-cta h2 {
    font-size: clamp(29px, 8vw, 68px);
  }

  .footer-cta__silhouette {
    bottom: -10px;
    font-size: clamp(84px, 22vw, 170px);
    line-height: 0.95;
  }

  .site-footer__bottom-inner {
    padding-left: 18px;
    padding-right: 18px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .site-nav__inner {
    gap: 8px;
  }

  .site-nav__actions {
    gap: 6px;
  }

  .site-nav__language {
    display: none;
  }

  .site-nav__logo span {
    display: none;
  }

  .landing-language__current,
  .site-nav__actions .btn,
  .site-nav__status-link {
    height: 34px;
    font-size: 12px;
  }

  .landing-language__current,
  .btn-nav-cta {
    padding-left: 10px;
    padding-right: 10px;
  }

  .site-nav__auth {
    height: 34px;
    border-radius: 12px;
  }

  .site-nav__auth-link {
    padding: 0 10px;
    font-size: 12px;
  }

  .hero__actions {
    gap: 10px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .provider-cloud__logos {
    gap: 12px;
  }

  .hero-leaderboard {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-leaderboard .leaderboard__table {
    min-width: 0;
    table-layout: fixed;
  }

  .hero-lb-col-rank {
    width: 32px;
  }

  .hero-lb-col-model {
    width: 24%;
  }

  .hero-lb-col-provider {
    width: 18%;
  }

  .hero-lb-col-score {
    width: 34px;
  }

  .hero-lb-col-price {
    width: 41%;
  }

  .hero-leaderboard .leaderboard__table th,
  .hero-leaderboard .leaderboard__table td {
    padding: 10px 4px;
  }

  .hero-leaderboard .leaderboard__table th {
    font-size: 8px;
    line-height: 1.25;
  }

  .hero-leaderboard .lb-price-head small {
    display: none;
  }

  .hero-leaderboard .lb-head-full {
    display: none;
  }

  .hero-leaderboard .lb-head-short {
    display: inline;
  }

  .hero-leaderboard .leaderboard__table td {
    font-size: 10px;
  }

  .hero-leaderboard .lb-model {
    font-size: 10px;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero-leaderboard .lb-provider {
    max-width: 100%;
    height: 22px;
    padding: 0 6px;
    font-size: 9px;
  }

  .hero-leaderboard .lb-score {
    justify-content: flex-start;
    min-width: 0;
  }

  .hero-leaderboard .lb-score__bar {
    display: block;
    width: 26px;
    flex: 0 0 26px;
  }

  .hero-leaderboard .lb-price {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 4px;
    row-gap: 3px;
    padding-left: 0;
    font-size: 9px;
    line-height: 1.08;
  }

  .hero-leaderboard .lb-price-head > span,
  .hero-leaderboard .lb-price-head > small {
    transform: none;
  }

  .hero-leaderboard .lb-price__item {
    gap: 2px;
  }

  .hero-leaderboard .lb-price__label {
    font-size: 7px;
    min-width: 0;
  }

  .hero-leaderboard .lb-price__value,
  .hero-leaderboard .lb-price__value--cache-read,
  .hero-leaderboard .lb-price__value--cache-write {
    min-width: 0;
    text-align: left;
  }

  .hero-leaderboard .lb-price__sep {
    display: none;
  }

  .provider-cloud__title {
    width: min(350px, 100%);
    font-size: 23px;
  }

  .provider-logo {
    width: calc(50% - 6px);
    min-height: 42px;
  }

  .playground-copy h2 {
    font-size: 38px;
  }

  .playground-copy p {
    font-size: 17px;
  }

  .playground-frame__action:last-child {
    display: none;
  }

  .playground-message-preview--user,
  .playground-message-preview--assistant {
    width: 100%;
    max-width: 100%;
  }

  .playground-chat-preview,
  .playground-config-preview {
    padding: 18px;
  }

  .ai-products-copy h2 {
    font-size: 38px;
  }

  .ai-products-copy p {
    font-size: 17px;
  }

  .ai-product-grid {
    grid-template-columns: 1fr;
  }

  .ai-product-card__name {
    font-size: 19px;
  }

  .docs-preview-copy h2 {
    font-size: 38px;
  }

  .docs-preview-copy p {
    font-size: 17px;
  }

  .docs-preview-actions {
    gap: 16px;
  }

  .docs-window {
    border-radius: 18px;
  }

  .docs-window__chrome {
    height: 46px;
    padding: 0 14px;
  }

  .docs-window__lights {
    gap: 6px;
  }

  .docs-window__title {
    font-size: 12px;
  }

  .docs-window__content {
    padding: 24px 18px 34px;
  }

  .dashboard-control-copy h2 {
    font-size: 38px;
  }

  .dashboard-control-copy p {
    font-size: 17px;
  }

  .dashboard-preview__topbar {
    justify-content: flex-start;
    gap: 14px;
    font-size: 12px;
  }

  .dashboard-preview__head h3 {
    font-size: 28px;
  }

  .dashboard-preview__kpis section,
  .dashboard-panel header,
  .dashboard-model-chips {
    padding-left: 14px;
    padding-right: 14px;
  }

  .dashboard-panel header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .faq-copy h2 {
    font-size: 38px;
  }

  .faq summary {
    padding: 20px 0;
    font-size: 15px;
  }

  .faq__answer {
    padding: 0 0 20px;
    font-size: 14px;
  }

  .routing__panel,
  .calculator__panel,
  .model-board {
    padding: 18px;
  }

  .terminal__head,
  .terminal__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .terminal__viewport,
  .terminal__body {
    min-height: 300px;
  }

  .terminal__body {
    padding: 18px;
    font-size: 12px;
  }

  .footer-cta {
    min-height: 500px;
    padding-top: 92px;
  }

  .footer-cta__silhouette {
    bottom: 8px;
    font-size: clamp(66px, 21vw, 116px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  body.has-motion .site-nav__logo,
  body.has-motion .site-nav__actions,
  body.has-motion .hero__copy > *,
  body.has-motion .hero__visual,
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
