:root {
  color-scheme: dark;
  --bg: #050608;
  --bg-soft: #090d11;
  --surface: rgba(14, 18, 23, 0.84);
  --surface-strong: rgba(17, 23, 30, 0.96);
  --surface-ink: rgba(3, 6, 9, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f6f8fb;
  --muted: #9aa7b7;
  --muted-strong: #c1cad6;
  --cyan: #36d6ff;
  --red: #ff385c;
  --green: #65f0a2;
  --amber: #f6b64a;
  --steel: #8fa7ff;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.22), #050608 76%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 82px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 82px);
}

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

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header[data-scrolled="true"] {
  background: rgba(5, 6, 8, 0.84);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.brand-copy,
.nav-links,
.hero-actions,
.registry-header,
.panel-topline,
.endpoint-row,
.checkbox-row,
.panel-heading,
.console-tabs,
.code-tabs,
.key-actions,
.pricing-card-header,
.price-row,
.billing-panel {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 188px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(54, 214, 255, 0.58);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(54, 214, 255, 0.18), rgba(255, 56, 92, 0.2)),
    #0b1117;
  box-shadow: 0 0 28px rgba(54, 214, 255, 0.24);
  transform: rotate(45deg);
}

.brand-copy {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.brand-copy strong {
  font-size: 15px;
  line-height: 1.1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.nav-links {
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 14, 18, 0.58);
}

.nav-links a {
  padding: 8px 11px;
  color: var(--muted-strong);
  border-radius: 6px;
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.header-action,
.primary-action,
.secondary-action,
.api-tab,
.console-tab,
.icon-button,
.code-tab,
.filter-pill,
.plan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.header-action,
.primary-action,
.plan-button.is-selected {
  color: #071014;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 14px 34px rgba(54, 214, 255, 0.2);
  font-weight: 780;
}

.header-action {
  padding: 0 14px;
  white-space: nowrap;
}

.primary-action,
.secondary-action,
.plan-button {
  padding: 0 16px;
}

.secondary-action,
.plan-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-strong);
}

.secondary-action:hover,
.secondary-action:focus-visible,
.api-tab:hover,
.api-tab:focus-visible,
.console-tab:hover,
.console-tab:focus-visible,
.icon-button:hover,
.icon-button:focus-visible,
.code-tab:hover,
.code-tab:focus-visible,
.filter-pill:hover,
.filter-pill:focus-visible,
.plan-button:hover,
.plan-button:focus-visible {
  border-color: rgba(54, 214, 255, 0.45);
  outline: none;
}

.primary-action:hover,
.plan-button.is-selected:hover {
  transform: translateY(-1px);
}

.small {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.full-width {
  width: 100%;
}

.lucide {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 86vh;
  padding: 96px max(24px, calc((100vw - var(--max)) / 2)) 44px;
  overflow: hidden;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.93;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.97) 0%, rgba(5, 6, 8, 0.78) 42%, rgba(5, 6, 8, 0.16) 100%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.1) 0%, rgba(5, 6, 8, 0.94) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 860px);
  min-width: 0;
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

h1 {
  margin-bottom: 18px;
  max-width: 850px;
  font-size: clamp(40px, 4.8vw, 60px);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-copy {
  max-width: 670px;
  margin-bottom: 30px;
  color: var(--muted-strong);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 10px;
  max-width: 610px;
  margin: 0;
}

.hero-stats div,
.metric-tile,
.ops-panel,
.table-panel,
.api-panel,
.key-form,
.key-registry,
.doc-tile,
.launch-list,
.studio-panel,
.pricing-card,
.billing-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-stats div {
  min-height: 82px;
  padding: 14px;
}

.hero-stats dt {
  color: var(--text);
  font-size: 26px;
  font-weight: 860;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 3;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(-50%);
}

.band {
  padding: 90px max(24px, calc((100vw - var(--max)) / 2));
}

.console-section,
.pricing-section,
.docs-section {
  background: linear-gradient(180deg, rgba(10, 14, 18, 0.2), rgba(10, 14, 18, 0.58));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.7fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading > * {
  min-width: 0;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.section-heading h2,
.status-copy h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.03;
  letter-spacing: 0;
}

.section-note {
  margin: 12px 0 0;
  color: var(--muted);
}

.console-tabs,
.code-tabs {
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.console-tab,
.code-tab,
.filter-pill {
  min-height: 42px;
  padding: 0 13px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--line);
}

.console-tab.is-active,
.code-tab.is-active,
.filter-pill.is-active {
  color: var(--text);
  background: rgba(54, 214, 255, 0.12);
  border-color: rgba(54, 214, 255, 0.48);
}

.console-view,
[data-code-panel] {
  display: none;
}

.console-view.is-active,
[data-code-panel].is-active {
  display: block;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.metric-tile {
  min-height: 136px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(54, 214, 255, 0.08), transparent 48%),
    var(--surface);
}

.metric-tile span,
.risk-stack span,
.panel-metrics span,
.price-feature span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.metric-tile strong {
  display: block;
  margin: 12px 0 4px;
  font-size: 30px;
  line-height: 1;
}

.metric-tile small,
.muted-text {
  color: var(--muted);
}

.ops-grid,
.studio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.span-2 {
  grid-column: span 2;
}

.ops-panel,
.table-panel,
.studio-panel,
.billing-panel {
  min-height: 240px;
  padding: 22px;
  background: var(--surface-strong);
}

.panel-heading {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-heading h3,
.ops-panel h3,
.studio-panel h3,
.billing-panel h3 {
  margin-bottom: 0;
  font-size: 22px;
  line-height: 1.1;
}

.status-pill,
.muted-chip {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(101, 240, 162, 0.36);
  border-radius: 999px;
  color: var(--green);
  background: rgba(101, 240, 162, 0.08);
  font-size: 12px;
  font-weight: 780;
  white-space: nowrap;
}

.status-pill.amber {
  border-color: rgba(246, 182, 74, 0.4);
  color: var(--amber);
  background: rgba(246, 182, 74, 0.08);
}

.muted-chip {
  border-color: var(--line);
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.06);
}

.usage-chart {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  min-height: 218px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-ink);
}

.usage-chart span {
  display: block;
  height: var(--h);
  min-height: 24px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(101, 240, 162, 0.4));
}

.risk-stack {
  display: grid;
  gap: 10px;
}

.risk-stack div {
  min-height: 58px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.risk-stack strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
}

.event-list,
.log-feed,
.bucket-list,
.registry-list,
.console-table {
  display: grid;
  gap: 10px;
}

.event-item,
.log-row,
.bucket-row,
.dashboard-key-row,
.key-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.event-item,
.log-row,
.bucket-row,
.dashboard-key-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 12px;
}

.event-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(54, 214, 255, 0.28);
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(54, 214, 255, 0.08);
}

.event-item strong,
.log-row strong,
.bucket-row strong,
.dashboard-key-row strong {
  display: block;
  overflow-wrap: anywhere;
}

.event-item span,
.log-row span,
.bucket-row span,
.dashboard-key-row span {
  color: var(--muted);
  font-size: 13px;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.big-meter {
  height: 18px;
  margin: 26px 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.big-meter span,
.usage-meter span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--green));
}

.billing-panel {
  justify-content: space-between;
  gap: 18px;
  min-height: 210px;
}

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

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(143, 167, 255, 0.08), transparent 44%),
    var(--surface-strong);
}

.pricing-card.is-featured {
  border-color: rgba(54, 214, 255, 0.54);
  box-shadow: 0 24px 90px rgba(54, 214, 255, 0.12), var(--shadow);
}

.pricing-card-header {
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
}

.pricing-card h3 {
  margin: 0;
  font-size: 24px;
}

.tier-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: #081015;
  background: var(--amber);
  font-size: 12px;
  font-weight: 850;
}

.price-row {
  gap: 8px;
  margin: 24px 0 10px;
}

.price {
  font-size: 42px;
  font-weight: 880;
  line-height: 1;
}

.price-unit {
  color: var(--muted);
  font-size: 13px;
}

.pricing-card p {
  color: var(--muted);
}

.price-features {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.price-feature {
  min-height: 48px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.price-feature strong {
  display: block;
  margin-top: 2px;
}

.pricing-card .plan-button {
  width: 100%;
  margin-top: auto;
}

.api-layout,
.key-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.api-tabs {
  display: grid;
  gap: 8px;
}

.api-tab {
  justify-content: flex-start;
  min-height: 56px;
  width: 100%;
  padding: 0 14px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--line);
  text-align: left;
}

.api-tab.is-active {
  color: var(--text);
  background: rgba(54, 214, 255, 0.12);
  border-color: rgba(54, 214, 255, 0.48);
  box-shadow: inset 3px 0 0 var(--cyan);
}

.api-panel {
  min-height: 700px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(54, 214, 255, 0.075), transparent 38%),
    var(--surface-strong);
}

.panel-topline {
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
}

.api-panel h3 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.06;
}

.api-panel p,
.doc-tile p {
  color: var(--muted);
}

.endpoint-row {
  gap: 8px;
  min-height: 56px;
  margin: 28px 0 18px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
}

.endpoint-row span {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 6px;
  color: #081015;
  background: var(--amber);
  font-size: 12px;
  font-weight: 850;
}

.endpoint-row code {
  min-width: 0;
  overflow: hidden;
  color: var(--muted-strong);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-button {
  flex: 0 0 auto;
  width: 40px;
  min-height: 40px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line);
}

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.panel-metrics div {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.panel-metrics strong {
  color: var(--text);
}

.code-window {
  overflow: auto;
  min-height: 246px;
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(54, 214, 255, 0.24);
  border-radius: var(--radius);
  background: #040608;
  color: #d6f3ff;
  font-size: 13px;
}

.code-window.tall {
  min-height: 560px;
}

.response-box {
  min-height: 220px;
  margin-top: 16px;
}

.studio-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
}

.test-form,
.key-form {
  display: grid;
  gap: 16px;
}

.key-layout {
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
}

.key-form,
.key-registry {
  padding: 22px;
}

label span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(0, 0, 0, 0.24);
  padding: 0 13px;
}

input:focus,
select:focus {
  border-color: rgba(54, 214, 255, 0.7);
  outline: none;
}

.range-label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.range-label input {
  grid-column: 1 / -1;
  padding: 0;
  accent-color: var(--cyan);
}

output {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.checkbox-row {
  gap: 10px;
  align-items: center;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--cyan);
}

.checkbox-row span {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.registry-header {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.registry-header h3 {
  margin-bottom: 0;
  font-size: 24px;
}

.empty-state {
  display: grid;
  min-height: 180px;
  place-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  text-align: center;
}

.key-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px;
}

.key-main {
  min-width: 0;
}

.key-main strong,
.key-main code {
  display: block;
}

.key-main strong {
  margin-bottom: 6px;
}

.key-main code {
  overflow-wrap: anywhere;
  color: var(--cyan);
  font-size: 13px;
}

.key-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.key-meta span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 12px;
}

.key-actions {
  gap: 8px;
}

.usage-meter {
  height: 8px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

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

.doc-tile {
  min-height: 248px;
  padding: 24px;
}

.doc-tile h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.doc-kicker {
  display: block;
  margin-bottom: 42px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.status-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.85fr);
  gap: 26px;
  align-items: start;
}

.launch-list {
  margin: 0;
  padding: 22px;
  list-style: none;
}

.launch-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 56px;
  color: var(--muted-strong);
}

.launch-list span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  color: #071014;
  background: var(--cyan);
  font-weight: 850;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  max-width: min(360px, calc(100vw - 40px));
  padding: 12px 14px;
  border: 1px solid rgba(101, 240, 162, 0.34);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(8, 12, 16, 0.92);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #040506;
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1080px) {
  .pricing-grid,
  .docs-grid,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-card {
    min-height: 470px;
  }
}

@media (max-width: 920px) {
  .site-header {
    min-height: 70px;
    padding-inline: 18px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 84vh;
    padding-inline: 18px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 6, 8, 0.52) 0%, #050608 84%),
      linear-gradient(90deg, rgba(5, 6, 8, 0.9), rgba(5, 6, 8, 0.42));
  }

  .hero-stats,
  .api-layout,
  .key-layout,
  .status-section,
  .section-heading,
  .ops-grid,
  .studio-grid {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: auto;
  }

  .api-panel {
    min-height: auto;
  }

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

  .api-tab {
    min-height: 52px;
  }

  .billing-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand-copy small,
  .header-action span {
    display: none;
  }

  .hero {
    padding-top: 104px;
  }

  h1 {
    max-width: calc(100vw - 36px);
    font-size: 34px;
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .hero-content,
  .hero-copy {
    width: min(100%, 344px);
    max-width: 344px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-stats div {
    min-height: 76px;
    padding: 11px;
  }

  .hero-stats dt {
    font-size: 22px;
  }

  .hero-stats dd {
    font-size: 11px;
  }

  .band {
    padding: 68px 18px;
  }

  .section-heading,
  .section-heading h2,
  .status-copy h2,
  .band h2 {
    width: 100%;
    max-width: calc(100vw - 36px);
  }

  .section-heading h2,
  .status-copy h2,
  .band h2 {
    font-size: 28px;
    line-height: 1.08;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .pricing-grid,
  .docs-grid,
  .metric-grid,
  .api-tabs,
  .panel-metrics,
  .key-item,
  .event-item,
  .log-row,
  .bucket-row,
  .dashboard-key-row {
    grid-template-columns: 1fr;
  }

  .panel-heading,
  .pricing-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .endpoint-row {
    align-items: flex-start;
  }

  .endpoint-row code {
    white-space: normal;
  }

  .console-tab,
  .code-tab {
    flex: 1 1 calc(50% - 8px);
  }
}
