:root {
  color-scheme: light;
  --blue: #2563eb;
  --blue-hover: #6180f9;
  --blue-active: #0049df;
  --ink: #111111;
  --text: #353941;
  --muted: #626773;
  --line: rgba(17, 17, 17, 0.08);
  --line-medium: rgba(17, 17, 17, 0.1);
  --line-strong: rgba(17, 17, 17, 0.16);
  --surface: #ffffff;
  --canvas: #fcfcfc;
  --success: #5c991f;
  --warning: #e59100;
  --danger: #f2320c;
  --display-font: "Old Standard TT", "Noto Serif SC", Georgia, serif;
  --body-font: "Inter", "Noto Sans SC", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono-font: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[lang="zh-CN"] {
  --display-font: "Old Standard TT", "Noto Serif SC", "Songti SC", serif;
  --body-font: "Inter", "Noto Sans SC", "PingFang SC", -apple-system, sans-serif;
}

html[lang="zh-TW"] {
  --display-font: "Old Standard TT", "Noto Serif TC", "Songti TC", serif;
  --body-font: "Inter", "Noto Sans TC", "PingFang TC", -apple-system, sans-serif;
}

html[lang="ja"] {
  --display-font: "Old Standard TT", "Noto Serif JP", "Yu Mincho", serif;
  --body-font: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

html[lang="ko"] {
  --display-font: "Old Standard TT", "Noto Serif KR", serif;
  --body-font: "Inter", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
select {
  font: inherit;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

a:hover {
  color: var(--blue-hover);
}

a:active {
  color: var(--blue-active);
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.3);
  outline-offset: 3px;
}

main {
  position: relative;
  overflow: hidden;
}

.section-inner {
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
}

.enterprise-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 0.5px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}

.enterprise-nav-inner {
  display: flex;
  width: min(1264px, 100%);
  min-height: 80px;
  margin: 0 auto;
  padding: 8px 32px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.enterprise-brand {
  display: inline-flex;
  min-width: 0;
  flex: none;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.enterprise-brand:hover,
.enterprise-brand:active {
  color: var(--ink);
}

.enterprise-brand img {
  flex: none;
  border-radius: 50%;
}

.enterprise-brand-name {
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.enterprise-nav-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
}

.enterprise-language-picker {
  position: relative;
}

.enterprise-language-trigger {
  display: inline-flex;
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 12px;
  border: 0.5px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.55;
  transition: border-color 200ms cubic-bezier(0.2, 0.8, 0.2, 1), color 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.enterprise-language-trigger:hover,
.enterprise-language-trigger[aria-expanded="true"] {
  border-color: rgba(37, 99, 235, 0.4);
  color: var(--blue);
}

.enterprise-language-chevron {
  color: var(--muted);
  transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.enterprise-language-trigger[aria-expanded="true"] .enterprise-language-chevron {
  transform: rotate(180deg);
}

.enterprise-language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 61;
  width: 200px;
  max-height: min(380px, calc(100dvh - 104px));
  overflow-y: auto;
  padding: 6px;
  border: 0.5px solid rgba(17, 17, 17, 0.1);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.16);
  overscroll-behavior: contain;
}

.enterprise-language-option {
  display: flex;
  width: 100%;
  min-height: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  text-align: left;
  transition: background-color 150ms ease, color 150ms ease;
}

.enterprise-language-option:hover,
.enterprise-language-option:focus-visible,
.enterprise-language-option[aria-checked="true"] {
  background: rgba(37, 99, 235, 0.06);
  color: var(--blue);
}

.button {
  display: inline-flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: 0;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  transition: background-color 200ms cubic-bezier(0.2, 0.8, 0.2, 1), color 200ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.button-small,
.nav-contact {
  padding: 8px 16px;
  gap: 6px;
  font-size: 13px;
}

.button-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.18);
}

.nav-contact {
  box-shadow: none;
}

.button-primary:hover {
  background: var(--blue-hover);
  color: #ffffff;
}

.button-primary:active {
  background: var(--blue-active);
  color: #ffffff;
}

.button-primary:disabled {
  cursor: wait;
  opacity: 0.55;
}

.button-light {
  padding-inline: 26px;
  background: #ffffff;
  color: var(--blue);
}

.button-light:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue-active);
}

.enterprise-hero {
  position: relative;
  overflow: visible;
  padding: 88px 0 0;
  background: transparent;
}

.enterprise-hero::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 940px;
  background-image: radial-gradient(circle at 1px 1px, rgba(37, 99, 235, 0.18) 1px, transparent 0);
  background-size: 32px 32px;
  content: "";
  opacity: 0.4;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at top, rgba(0, 0, 0, 0.7), transparent 70%);
  mask-image: radial-gradient(ellipse at top, rgba(0, 0, 0, 0.7), transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 54px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy .hero-accent {
  color: var(--blue);
}

.hero-copy p {
  max-width: 540px;
  margin: 20px 0 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-contact {
  margin-top: 28px;
}

.api-workbench {
  min-width: 0;
  overflow: visible;
  border: 0.5px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.api-workbench-heading {
  display: flex;
  min-height: 0;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 0;
  border: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.live-indicator {
  display: none;
}

.api-tabs {
  display: flex;
  grid-template-columns: none;
  gap: 6px;
  padding: 12px 12px 0;
  border: 0;
  background: transparent;
}

.api-tabs button {
  min-width: 0;
  min-height: 0;
  flex: 1;
  padding: 9px 8px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 10px;
  background: #ffffff;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.55;
  transition: background-color 200ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 200ms cubic-bezier(0.2, 0.8, 0.2, 1), color 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.api-tabs button:hover {
  border-color: rgba(37, 99, 235, 0.3);
  color: var(--blue);
}

.api-tabs button[aria-selected="true"] {
  border-color: rgba(37, 99, 235, 0.55);
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  box-shadow: none;
}

.api-toolbar {
  position: relative;
  display: flex;
  min-height: 0;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--body-font);
  font-size: 13px;
}

.api-toolbar label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.api-toolbar select {
  width: 100%;
  min-height: 41px;
  padding: 10px 40px 10px 14px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 12px;
  appearance: none;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23626773' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.api-toolbar select:hover {
  border-color: rgba(37, 99, 235, 0.4);
}

.api-code {
  height: 334px;
  margin: 0;
  overflow: auto;
  padding: 16px 20px 18px;
  border-top: 0.5px solid rgba(17, 17, 17, 0.06);
  border-radius: 0 0 16px 16px;
  background: #ffffff;
  color: var(--text);
  font-family: var(--mono-font);
  font-size: 12.5px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 2;
}

.api-code .token-string,
.api-code .code-string,
.api-code .code-token-string {
  color: #5c991f;
}

.api-code .token-comment,
.api-code .code-comment,
.api-code .code-token-comment {
  color: #94a3b8;
}

.api-code .token-number,
.api-code .code-number,
.api-code .code-token-number {
  color: #c2410c;
}

.api-code .token-boolean,
.api-code .code-boolean,
.api-code .code-token-boolean {
  color: #7c3aed;
}

.api-code .token-keyword,
.api-code .code-keyword,
.api-code .code-token-keyword {
  color: var(--blue);
}

.proof-band {
  position: relative;
  z-index: 1;
  padding: 64px 0 72px;
  border: 0;
  background: transparent;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.stat-item {
  min-width: 0;
  padding-left: 18px;
  border-left: 1px solid rgba(17, 17, 17, 0.12);
}

.stat-number {
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 40px;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1.15;
}

.stat-label {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.provider-heading {
  margin-top: 52px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.provider-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.provider-list > span {
  display: inline-flex;
  min-height: 0;
  align-items: center;
  gap: 8px;
  padding: 7px 15px 7px 11px;
  border: 0.5px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.provider-list img {
  flex: none;
  object-fit: contain;
}

.section-band {
  padding: 88px 0;
}

.section-band h2,
.enterprise-cta h2 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.comparison-section {
  border-top: 0.5px solid rgba(17, 17, 17, 0.06);
  border-bottom: 0.5px solid rgba(17, 17, 17, 0.06);
  background: #ffffff;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
  align-items: stretch;
}

.comparison-panel {
  padding: 28px;
  border: 0.5px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
}

.comparison-panel-muted {
  background: rgba(17, 17, 17, 0.02);
}

.comparison-panel-positive {
  border-color: rgba(37, 99, 235, 0.3);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.comparison-panel h3 {
  margin: 0;
  color: var(--muted);
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0;
}

.comparison-panel-positive h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
}

.comparison-panel-positive h3::before {
  content: none;
}

.comparison-panel-positive h3 img {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
}

.comparison-panel ul {
  display: flex;
  margin: 20px 0 0;
  padding: 0;
  flex-direction: column;
  gap: 15px;
  list-style: none;
}

.comparison-panel li {
  position: relative;
  min-height: 20px;
  padding-left: 32px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.comparison-panel-positive li {
  color: var(--ink);
}

.comparison-panel li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  content: "";
}

.comparison-panel-muted li::before {
  background-color: rgba(242, 80, 48, 0.08);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23F2320C' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E");
}

.comparison-panel-positive li::before {
  background-color: rgba(37, 99, 235, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.features-section {
  background: var(--canvas);
}

.features-section h2 {
  max-width: none;
  white-space: nowrap;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.feature-card {
  min-width: 0;
  padding: 24px;
  border: 0.5px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:nth-child(-n + 2) {
  grid-column: span 2;
}

.feature-card:hover,
.feature-card.is-open {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.feature-icon,
.service-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
}

.infrastructure-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
}

.feature-toggle {
  display: inline-flex;
  min-height: 0;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.55;
}

.feature-toggle:hover {
  color: var(--muted);
}

.feature-toggle svg {
  transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.feature-card.is-open .feature-toggle svg {
  transform: rotate(180deg);
}

.feature-card h3 {
  margin: 16px 0 6px;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.feature-card > p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

.feature-detail {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  border-top: 0 solid rgba(17, 17, 17, 0.06);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
  opacity: 0;
  transition: max-height 400ms cubic-bezier(0.16, 1, 0.3, 1), opacity 300ms ease, margin-top 300ms ease, padding-top 300ms ease;
}

.feature-card.is-open .feature-detail {
  max-height: 260px;
  margin-top: 14px;
  padding-top: 12px;
  border-top-width: 1px;
  opacity: 1;
}

.infrastructure-section {
  border-top: 0.5px solid rgba(17, 17, 17, 0.06);
  border-bottom: 0.5px solid rgba(17, 17, 17, 0.06);
  background: rgba(37, 99, 235, 0.04);
}

.infrastructure-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 44px;
  align-items: stretch;
}

.routing-tool {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 28px;
  border: 0.5px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.routing-tool-copy h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.routing-tool-copy p {
  max-width: 440px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.routing-diagram {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  flex: 1;
  margin: 18px auto 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.routing-diagram .route-app {
  fill: #ffffff;
  stroke: var(--line-strong);
  stroke-width: 1;
}

.routing-diagram .route-gateway {
  fill: var(--blue);
  filter: drop-shadow(0 8px 20px rgba(37, 99, 235, 0.35));
}

.routing-diagram .route-app-label,
.routing-diagram .route-provider-name {
  fill: var(--ink);
}

.routing-diagram .route-app-label {
  font: 600 11px var(--mono-font);
}

.routing-diagram .route-gateway-label {
  fill: #ffffff;
  font: 700 16px var(--body-font);
}

.routing-diagram .route-provider-name {
  font: 600 11.5px var(--body-font);
}

.routing-diagram .route-provider-meta {
  fill: var(--muted);
  font: 500 9.5px var(--mono-font);
}

.routing-diagram .route-path {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.5;
  stroke-dasharray: 3 5;
}

.routing-diagram .route-path-input,
.routing-diagram .route-path-anthropic {
  stroke: var(--blue);
  stroke-width: 2;
  stroke-dasharray: none;
}

.routing-diagram .route-provider rect {
  fill: #ffffff;
  stroke: var(--line-strong);
  stroke-width: 1;
}

.routing-diagram .route-provider-anthropic rect {
  stroke: var(--blue);
  stroke-width: 1.5;
}

.routing-diagram .route-provider-anthropic circle {
  fill: #a4e522;
}

.routing-diagram .route-provider-bedrock circle,
.routing-diagram .route-provider-vertex circle {
  fill: rgba(17, 17, 17, 0.18);
}

.routing-diagram .route-packets circle {
  fill: var(--blue);
}

.routing-diagram .route-packets-input circle {
  offset-path: path("M128,150 L224,150");
  offset-rotate: 0deg;
  animation: routeDot 1s linear infinite;
}

.routing-diagram .route-packets-anthropic circle {
  offset-path: path("M352,150 C396,150 392,54 432,54");
  offset-rotate: 0deg;
  animation: routeDot 1.2s linear infinite;
}

.routing-diagram .route-packets-bedrock {
  display: none;
}

.routing-diagram .route-packets-bedrock circle {
  offset-path: path("M352,150 L432,150");
  offset-rotate: 0deg;
  animation: routeDot 1.2s linear infinite;
}

.routing-diagram .route-packets circle:nth-child(2) {
  animation-delay: -0.6s;
}

.routing-diagram .route-packets-input circle:nth-child(2) {
  animation-delay: -0.5s;
}

.routing-diagram.is-outage .route-path-anthropic {
  stroke: #f25030;
  stroke-width: 1.5;
  stroke-dasharray: 3 5;
  animation: routePulse 1.2s ease-in-out infinite;
}

.routing-diagram.is-outage .route-path-bedrock {
  stroke: var(--blue);
  stroke-width: 2;
  stroke-dasharray: none;
}

.routing-diagram.is-outage .route-provider-anthropic rect {
  fill: rgba(242, 80, 48, 0.05);
  stroke: #f25030;
  stroke-width: 1.5;
}

.routing-diagram.is-outage .route-provider-bedrock rect {
  stroke: var(--blue);
  stroke-width: 1.5;
}

.routing-diagram.is-outage .route-provider-anthropic circle {
  fill: #f25030;
  animation: routePulse 1s ease-in-out infinite;
}

.routing-diagram.is-outage .route-provider-bedrock circle {
  fill: #a4e522;
}

.routing-diagram.is-outage .route-provider-anthropic .route-provider-meta {
  fill: var(--danger);
}

.routing-diagram.is-outage .route-packets-anthropic {
  display: none;
}

.routing-diagram.is-outage .route-packets-bedrock {
  display: inline;
}

.routing-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(17, 17, 17, 0.06);
}

.routing-status {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-family: var(--mono-font);
  font-size: 11.5px;
  line-height: 1.5;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: none;
  margin-top: 4px;
  border-radius: 50%;
  background: #a4e522;
}

.routing-status.is-warning {
  color: var(--warning);
}

.routing-status.is-warning .status-dot {
  background: #f5b627;
}

.routing-status.is-recovered {
  color: var(--success);
}

.routing-status.is-recovered .status-dot {
  background: #a4e522;
}

.routing-controls .button {
  flex: none;
  gap: 7px;
  padding: 10px 18px;
  font-size: 13px;
  box-shadow: none;
}

.routing-controls .button svg {
  width: 13px;
  height: 13px;
}

.infrastructure-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.infrastructure-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 10px;
  align-content: start;
  padding: 22px;
  border: 0.5px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.infrastructure-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.infrastructure-card h3 {
  align-self: center;
  margin: 0;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
}

.infrastructure-card p {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.infrastructure-metrics {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.infrastructure-metrics span {
  padding: 3px 10px;
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.04);
  color: var(--text);
  font-family: var(--mono-font);
  font-size: 11px;
  font-weight: 500;
}

.services-section {
  border-top: 0.5px solid rgba(17, 17, 17, 0.06);
  background: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.service-card {
  padding: 24px;
  border: 0.5px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  background: var(--canvas);
}

.service-card h3 {
  margin: 14px 0 6px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.enterprise-cta {
  padding: 88px 0;
  background: var(--canvas);
  color: #ffffff;
}

.enterprise-cta-inner {
  position: relative;
  display: flex;
  min-height: 0;
  overflow: hidden;
  padding: 72px 48px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 16px;
  background: var(--blue);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.18);
  text-align: center;
}

.enterprise-cta-inner::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.35) 1px, transparent 0);
  background-size: 28px 28px;
  content: "";
  opacity: 0.25;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8), transparent 75%);
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8), transparent 75%);
}

.enterprise-cta h2,
.enterprise-cta .button {
  position: relative;
  z-index: 1;
}

.enterprise-cta h2 {
  max-width: 1040px;
  color: #ffffff;
  font-size: 40px;
  line-height: 1.15;
}

.enterprise-cta .button {
  flex: none;
  margin-top: 16px;
}

.enterprise-footer {
  background: var(--canvas);
}

.footer-grid {
  display: flex;
  padding: 40px 0 56px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.footer-brand-block {
  display: flex;
  width: 240px;
  flex: none;
  flex-direction: column;
  gap: 6px;
}

.footer-brand-name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1a1a1a;
  font-size: 20px;
  font-weight: 800;
  line-height: 28px;
}

.footer-brand-name img {
  flex: none;
  border-radius: 50%;
}

.footer-copyright {
  margin: 0;
  color: #9ca3af;
  font-size: 14px;
  line-height: 17px;
}

.footer-columns {
  display: grid;
  width: min(760px, 100%);
  flex: 0 1 760px;
  grid-template-columns: repeat(4, minmax(120px, 160px));
  column-gap: 40px;
}

.footer-column h2 {
  margin: 0 0 16px;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
}

.footer-link-list {
  display: flex;
  margin: 0;
  padding: 0;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.footer-link-list li {
  line-height: 18px;
}

.footer-column a {
  min-height: 0;
  color: #626773;
  font-size: 15px;
  line-height: 18px;
}

.footer-column a:hover {
  color: var(--blue);
}

@keyframes routePacket {
  from { transform: translateX(0); }
  to { transform: translateX(96px); }
}

@keyframes routePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes routeDot {
  to { offset-distance: 100%; }
}

@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.95fr);
    gap: 36px;
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .features-section h2 {
    white-space: normal;
  }

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

  .feature-card:nth-child(-n + 2) {
    grid-column: auto;
  }

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

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

  .footer-grid {
    flex-direction: column;
    gap: 32px;
  }

  .footer-brand-block,
  .footer-columns {
    width: 100%;
  }

  .footer-columns {
    flex: none;
  }
}

@media (max-width: 820px) {
  .section-inner {
    width: min(720px, calc(100% - 40px));
  }

  .enterprise-nav-inner {
    width: 100%;
    min-height: 72px;
    padding-inline: 20px;
  }

  .nav-contact {
    display: none;
  }

  .enterprise-hero {
    padding-top: 64px;
  }

  .enterprise-hero::before {
    height: 1100px;
  }

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

  .hero-copy {
    max-width: 680px;
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .proof-band {
    padding-top: 56px;
  }

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

  .section-band {
    padding: 72px 0;
  }

  .section-band h2,
  .enterprise-cta h2 {
    font-size: 34px;
  }

  .enterprise-cta {
    padding: 72px 0;
  }

  .enterprise-cta-inner {
    padding: 64px 36px;
  }

}

@media (max-width: 640px) {
  .section-inner {
    width: calc(100% - 32px);
  }

  .enterprise-nav-inner {
    min-height: 64px;
    padding: 8px 16px;
  }

  .enterprise-brand {
    min-height: 44px;
  }

  .enterprise-language-trigger,
  .enterprise-language-option,
  .api-toolbar select,
  .feature-toggle {
    min-height: 44px;
  }

  .enterprise-language-menu {
    position: fixed;
    top: 70px;
    right: 16px;
    left: 16px;
    width: auto;
    max-height: calc(100dvh - 86px);
  }

  .enterprise-hero {
    padding-top: 48px;
  }

  .enterprise-hero::before {
    height: 1160px;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-copy h1 {
    font-size: 39px;
    line-height: 1.12;
  }

  .hero-copy p {
    margin-top: 18px;
    font-size: 16px;
  }

  .hero-contact {
    width: 100%;
    margin-top: 24px;
  }

  .api-code {
    height: 300px;
    padding-inline: 16px;
    font-size: 11.5px;
  }

  .proof-band {
    padding: 48px 0 56px;
  }

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

  .stat-number {
    font-size: 34px;
  }

  .provider-heading {
    margin-top: 40px;
  }

  .provider-list {
    flex-wrap: nowrap;
    margin-right: -16px;
    padding-right: 16px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .provider-list > span {
    flex: none;
  }

  .section-band {
    padding: 60px 0;
  }

  .section-band h2,
  .enterprise-cta h2 {
    font-size: 31px;
    line-height: 1.2;
  }

  .comparison-grid,
  .feature-grid,
  .infrastructure-grid,
  .services-grid {
    margin-top: 32px;
  }

  .comparison-panel,
  .feature-card,
  .service-card {
    padding: 22px;
  }

  .feature-grid,
  .services-grid,
  .infrastructure-cards {
    grid-template-columns: 1fr;
  }

  .routing-tool {
    padding: 20px;
  }

  .routing-diagram {
    margin-top: 14px;
  }

  .routing-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .routing-controls .button {
    width: 100%;
  }

  .enterprise-cta {
    padding: 60px 0;
  }

  .enterprise-cta-inner {
    padding: 52px 22px;
  }

  .enterprise-cta .button {
    width: 100%;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 32px;
  }
}

@media (max-width: 480px) {
  .api-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .api-tabs button {
    min-height: 44px;
  }
}

@media (max-width: 380px) {
  .enterprise-brand-name {
    font-size: 17px;
  }

  .enterprise-language-trigger {
    padding-inline: 10px;
  }

  .hero-copy h1 {
    font-size: 35px;
  }

}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
