:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #eef6f9;
  --surface-warm: #f6f4ef;
  --text: #172033;
  --muted: #5d6b80;
  --muted-strong: #35445a;
  --border: #d8e1ec;
  --border-strong: #b8c6d7;
  --brand: #00a7d4;
  --brand-dark: #087ea4;
  --accent: #356b5b;
  --accent-soft: #dceee8;
  --warning-soft: #f4ead7;
  --link: #006fbf;
  --shadow: 0 20px 70px rgba(23, 32, 51, 0.08);
  --shadow-soft: 0 14px 44px rgba(23, 32, 51, 0.07);
  --radius: 8px;
  --radius-lg: 10px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(0, 167, 212, 0.36);
  outline-offset: 3px;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(216, 225, 236, 0.92);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 154px;
  height: auto;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius);
  padding: 9px 11px;
  cursor: pointer;
}

.nav-toggle-lines {
  display: block;
  width: 20px;
  height: 14px;
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after,
.nav-toggle-lines span {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 99px;
}

.nav-toggle-lines::before {
  top: 0;
}

.nav-toggle-lines span {
  top: 6px;
}

.nav-toggle-lines::after {
  bottom: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: var(--radius);
}

.site-nav a:hover {
  background: var(--surface-soft);
  color: var(--text);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  position: relative;
  color: var(--text);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  border-radius: 99px;
  background: var(--brand);
}

.site-nav .nav-action {
  color: var(--brand-dark);
}

.site-nav .nav-primary {
  margin-left: 4px;
  background: var(--text);
  color: #ffffff;
}

.site-nav .nav-primary:hover {
  background: #25334b;
  color: #ffffff;
}

.site-nav .nav-primary[aria-current="page"]::after {
  display: none;
}

.legal-page {
  padding-top: 38px;
}

.legal-shell {
  width: min(980px, calc(100% - 40px));
}

.legal-document {
  padding: 32px 0 56px;
}

.legal-document h1,
.legal-document h2,
.legal-document h3 {
  line-height: 1.22;
  color: var(--text);
  letter-spacing: 0;
}

.legal-document h1 {
  margin: 0 0 8px;
  font-size: 34px;
}

.legal-document h2 {
  margin: 36px 0 12px;
  padding-top: 4px;
  font-size: 22px;
}

.legal-document h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

.legal-document .meta {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.legal-document p {
  margin: 0 0 14px;
}

.legal-document ul {
  margin: 8px 0 18px 22px;
  padding: 0;
}

.legal-document li {
  margin: 5px 0;
}

.legal-document code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.95em;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.notice-table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  font-size: 14px;
}

.notice-table th,
.notice-table td {
  border: 1px solid var(--border);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.notice-table th {
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 800;
}

.callout {
  border-left: 4px solid var(--brand);
  background: #f2fbfd;
  padding: 14px 16px;
  margin: 18px 0;
  color: var(--text);
}

.page-main {
  min-height: 60vh;
}

.section {
  padding: 72px 0;
}

.section-tight {
  padding: 48px 0;
}

.section-tint {
  background: #f3f7fb;
}

.section-surface {
  background: #ffffff;
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  padding: 66px 0 42px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.78fr);
  gap: 56px;
  align-items: stretch;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--text);
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted-strong);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  text-decoration: none;
}

.button-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  display: block;
  transform: translateY(-0.5px);
  stroke-width: 2.6;
}

.button-primary {
  background: var(--brand-dark);
  color: #ffffff;
}

.button-primary:hover {
  background: #096f90;
  color: #ffffff;
}

.button-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}

.button-secondary:hover {
  background: var(--surface-soft);
  color: var(--text);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}

.proof-item {
  background: rgba(255, 255, 255, 0.72);
  padding: 16px;
}

.proof-kicker {
  display: block;
  min-height: 32px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.proof-value {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.product-panel-shell {
  position: relative;
  min-height: 0;
}

.product-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #223044;
  border-radius: var(--radius);
  background: #172033;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #d8e7ef;
  font-size: 13px;
}

.panel-toolbar span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.panel-toolbar span:last-child {
  flex: 0 0 auto;
}

.method {
  color: #7ee4ad;
  font-weight: 800;
}

.panel-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 18px;
}

.code-block {
  margin: 0;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #d7e2ee;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13px;
  line-height: 1.55;
}

.code-block .key {
  color: #79d8ff;
}

.code-block .value {
  color: #afe7c7;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading-wide {
  max-width: none;
}

.section-heading h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.16;
  letter-spacing: 0;
}

.section-heading p {
  margin: 13px 0 0;
  color: var(--muted-strong);
  font-size: 17px;
}

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

.feature-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
}

.accent-card {
  position: relative;
  overflow: hidden;
  padding-top: 28px;
}

.accent-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0, 122, 212, 0.18);
  border-radius: 8px;
  background: rgba(0, 122, 212, 0.08);
  color: var(--accent);
}

.feature-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-icon-text {
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.feature-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: var(--muted-strong);
}

.split-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.stack-list {
  display: grid;
  gap: 14px;
}

.impact-grid .stack-list {
  padding-top: 44px;
}

.stack-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.row-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 900;
}

.row-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(20, 137, 93, 0.2);
  border-radius: 8px;
  background: rgba(20, 137, 93, 0.09);
  color: #14895d;
  margin-top: -2px;
}

.row-check svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
}

.stack-row h3 {
  margin: 0 0 5px;
  font-size: 17px;
}

.stack-row p {
  margin: 0;
  color: var(--muted-strong);
}

.usecase-tabs {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.tab-list {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
  overflow-x: auto;
}

.tab-select-wrap {
  display: none;
}

.tab-select-wrap label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tab-select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-weight: 500;
  padding: 10px 12px;
}

.tab-button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted-strong);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  padding: 11px 14px;
  white-space: nowrap;
}

.tab-button:hover,
.tab-button.is-active {
  border-color: var(--border-strong);
  background: #ffffff;
  color: var(--text);
}

.tab-panel {
  padding: 24px;
}

.usecase-overview {
  margin-bottom: 16px;
  border-left: 4px solid var(--brand);
  border-radius: 6px;
  background: #eef8fb;
  padding: 16px 18px;
}

.usecase-overview h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.25;
}

.usecase-overview p {
  margin: 0;
  color: var(--muted-strong);
}

.mock-app {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  overflow: hidden;
}

.mock-app-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.mock-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mock-app h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.status-pill,
.source-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.status-pill {
  background: rgba(20, 137, 93, 0.1);
  color: #14895d;
}

.source-pill {
  background: var(--accent-soft);
  color: var(--accent);
}

.mock-subsection {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  background: #eef5fb;
}

.mock-subsection h4 {
  margin: 0;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.qualification-grid,
.result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.mock-field,
.result-grid > div {
  min-height: 86px;
  padding: 18px 20px;
  border-right: 1px solid var(--border);
}

.mock-field-wide {
  grid-column: span 2;
}

.mock-field:last-child,
.result-grid > div:last-child {
  border-right: 0;
}

.mock-field span,
.result-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mock-field strong,
.result-grid strong {
  color: var(--text);
  font-size: 16px;
}

.result-grid {
  background: #ffffff;
}

.result-grid strong {
  font-size: 18px;
}

.criteria-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.criteria-row span {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 800;
  padding: 7px 10px;
}

.responsive-table {
  overflow-x: auto;
  background: #ffffff;
}

.mobile-summary-grid {
  display: none;
}

.responsive-table table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.responsive-table th,
.responsive-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  text-align: right;
  white-space: nowrap;
}

.responsive-table th:first-child,
.responsive-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  text-align: left;
  background: #ffffff;
}

.responsive-table thead th {
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.responsive-table thead th:first-child {
  background: var(--surface-soft);
}

.responsive-table tbody th {
  color: var(--text);
  font-weight: 900;
}

.mock-note {
  margin: 0;
  padding: 14px 20px 18px;
  color: var(--muted);
  font-size: 13px;
}

.data-table {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.data-row {
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.8fr;
  gap: 16px;
  padding: 15px 18px;
  border-top: 1px solid var(--border);
}

.data-row:first-child {
  border-top: 0;
}

.data-row.header {
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.data-row strong {
  display: block;
}

.data-row span {
  color: var(--muted-strong);
}

.docs-main {
  background: #ffffff;
}

.docs-subheader {
  position: sticky;
  top: 72px;
  z-index: 30;
  border-bottom: 1px solid #2d3a52;
  background: #111827;
  color: #ffffff;
}

.docs-subheader-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  padding: 8px 24px;
}

.docs-subheader span {
  display: block;
  color: #4cc3df;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.docs-subheader strong {
  display: block;
  margin-top: 2px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.25;
}

.docs-subheader code {
  min-width: 0;
  color: #cbd5e1;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.docs-shell {
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
}

.docs-sidebar {
  position: sticky;
  top: 116px;
  align-self: start;
  max-height: calc(100vh - 116px);
  padding: 28px 16px 28px 0;
  overflow-y: auto;
}

.docs-sidebar::after {
  content: "";
  position: fixed;
  top: 116px;
  bottom: 0;
  width: 1px;
  background: var(--border);
  transform: translateX(295px);
}

.docs-nav {
  display: grid;
  gap: 2px;
  padding-right: 10px;
}

.docs-nav a,
.docs-nav-group > span,
.docs-nav-group-toggle {
  display: block;
  border-radius: 7px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  padding: 8px 10px;
}

.docs-nav a:hover {
  background: var(--surface-soft);
  color: var(--text);
  text-decoration: none;
}

.docs-nav a.is-active {
  background: #e8f7fb;
  color: var(--brand-dark);
}

.docs-nav-group {
  display: grid;
  gap: 1px;
  margin: 8px 0;
}

.docs-nav-group > span {
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-nav-root {
  margin: 14px 0 4px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.docs-nav-utility {
  display: grid;
  gap: 2px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.docs-nav-root ~ .docs-nav-collapsible {
  margin-left: 10px;
  padding-left: 8px;
  border-left: 2px solid #d9e8ef;
}

.docs-nav-group-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.docs-nav-group-toggle span {
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-nav-group-toggle svg {
  flex: 0 0 auto;
  transition: transform 0.16s ease;
}

.docs-nav-group-toggle:hover {
  background: var(--surface-soft);
  color: var(--text);
}

.docs-nav-collapsible:not(.is-open) .docs-nav-group-toggle svg {
  transform: rotate(-90deg);
}

.docs-nav-group-panel {
  display: grid;
  gap: 1px;
}

.docs-nav-collapsible:not(.is-open) .docs-nav-group-panel {
  display: none;
}

.docs-nav-group-panel a {
  padding-left: 18px;
}

.docs-nav-group-panel a.docs-endpoint-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding-left: 18px;
}

.docs-mobile-nav {
  display: none;
}

.docs-content {
  min-width: 0;
  padding: 44px 0 72px;
}

.docs-section {
  scroll-margin-top: 142px;
  padding: 38px 0;
  border-bottom: 1px solid var(--border);
}

.docs-section:first-child {
  padding-top: 0;
}

.docs-section:last-child {
  border-bottom: 0;
}

.docs-intro h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.08;
}

.docs-lead {
  margin: 18px 0 0;
  color: var(--muted-strong);
  font-size: 19px;
}

.docs-section h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.16;
}

.docs-section h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

.docs-section p {
  color: var(--muted-strong);
}

.docs-fact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.25fr) minmax(0, 0.8fr);
  gap: 14px;
  margin-top: 28px;
}

.docs-fact-grid > div {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 16px;
}

.docs-fact-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.docs-fact-grid code,
.endpoint-card code {
  color: var(--text);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13px;
}

.docs-fact-grid code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.docs-steps {
  margin: 18px 0;
  padding-left: 22px;
  color: var(--muted-strong);
}

.docs-steps li {
  margin: 6px 0;
}

.docs-code-panel {
  margin: 20px 0 0;
  overflow: hidden;
  border: 1px solid #2d3a52;
  border-radius: var(--radius);
  background: #172033;
}

.docs-code-title {
  border-bottom: 1px solid #33415a;
  background: #202b3f;
  color: #d7e2f0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 10px 14px;
  text-transform: uppercase;
}

.docs-code-panel pre {
  margin: 0;
  overflow-x: auto;
  padding: 16px;
}

.docs-code-panel code {
  color: #f4f8fb;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre;
}

.endpoint-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.endpoint-card {
  scroll-margin-top: 142px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 18px;
}

.endpoint-card-full {
  margin-top: 20px;
}

.endpoint-card p {
  margin: 0 0 12px;
  color: var(--muted-strong);
}

.endpoint-card code {
  display: block;
  overflow-x: auto;
  border-radius: 6px;
  background: var(--surface-soft);
  padding: 9px 10px;
  white-space: nowrap;
}

.endpoint-detail {
  scroll-margin-top: 142px;
  margin: 36px 0 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.endpoint-detail-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.endpoint-detail-header h3 {
  margin: 0 0 8px;
}

.endpoint-detail-header p {
  margin: 0;
}

.endpoint-detail-header > code {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--text);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13px;
  padding: 9px 10px;
  white-space: nowrap;
}

.endpoint-detail h4 {
  margin: 22px 0 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.endpoint-detail .docs-code-panel {
  max-width: none;
}

.endpoint-detail .docs-code-panel pre {
  max-height: 430px;
}

.docs-endpoint-table {
  width: 100%;
  margin: 0;
}

.docs-param-table {
  width: 100%;
  margin: 22px 0;
  border-collapse: collapse;
  font-size: 14px;
}

.docs-param-table th,
.docs-param-table td {
  border: 1px solid var(--border);
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
}

.docs-param-table th {
  background: var(--surface-soft);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.docs-param-table code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.docs-sample-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: fixed;
}

.docs-sample-table th,
.docs-sample-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.docs-sample-table th {
  background: var(--surface-soft);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.docs-sample-table code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  overflow-wrap: anywhere;
}

.docs-sample-table th:first-child,
.docs-sample-table td:first-child {
  width: 240px;
}

.api-console {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.api-console-topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: #f7fbfd;
  padding: 12px;
}

.api-console-topbar > code {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  padding: 9px 10px;
  white-space: normal;
}

.api-method-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 6px;
  background: #e8f7ef;
  color: #087443;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 0 10px;
}

.api-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid #aac8d8;
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  padding: 0 12px;
  white-space: nowrap;
}

.api-copy-button:hover,
.api-copy-button:focus-visible {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.api-console-body {
  display: grid;
  grid-template-columns: minmax(340px, 0.44fr) minmax(0, 1fr);
  gap: 0;
}

.api-console-request {
  display: grid;
  align-content: start;
  gap: 14px;
  border-right: 1px solid var(--border);
  background: #fbfdfe;
  padding: 16px;
}

.api-console-panel h5 {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.api-console-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
}

.api-console-table td {
  border: 1px solid var(--border);
  padding: 9px 10px;
  vertical-align: top;
}

.api-console-table td:first-child {
  width: 42%;
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 800;
}

.api-console-table code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  overflow-wrap: anywhere;
}

.api-console-response {
  min-width: 0;
  padding: 0;
}

.api-console-response .docs-code-panel {
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.api-console-response .docs-code-panel pre {
  overflow: auto;
  max-height: 520px;
}

.api-console-response .docs-code-panel pre::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

.api-console-response .docs-code-panel pre::-webkit-scrollbar-track {
  background: #202b3f;
}

.api-console-response .docs-code-panel pre::-webkit-scrollbar-thumb {
  border: 2px solid #202b3f;
  border-radius: 999px;
  background: #7f8ca3;
}

.api-console-response .docs-code-panel pre::-webkit-scrollbar-thumb:hover {
  background: #a8b4c7;
}

.docs-callout {
  margin-top: 18px;
  border-left: 4px solid var(--brand);
  border-radius: 6px;
  background: #eef8fb;
  color: var(--muted-strong);
  padding: 15px 16px;
}

.docs-callout strong {
  color: var(--text);
}

.docs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-hero {
  padding: 66px 0 54px;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.42fr);
  gap: 54px;
  align-items: start;
}

.page-hero h1 {
  max-width: 880px;
  margin: 0;
  color: var(--text);
  font-size: 50px;
  line-height: 1.06;
  letter-spacing: 0;
}

.summary-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 24px;
}

.summary-card strong {
  display: block;
  color: var(--text);
  font-size: 24px;
  line-height: 1.2;
}

.summary-card p {
  margin: 12px 0 0;
  color: var(--muted-strong);
}

.summary-card .button {
  margin-top: 18px;
}

.support-topic-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.support-topic-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted-strong);
  font-weight: 800;
}

.support-boundary-list li {
  align-items: flex-start;
  font-weight: 500;
}

.support-boundary-list li::before {
  margin-top: 8px;
}

.support-topic-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.content-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.content-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 24px;
}

.content-card h3 {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.2;
}

.content-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.content-card-title .feature-icon {
  width: 32px;
  height: 32px;
}

.content-card-title .feature-icon svg {
  width: 18px;
  height: 18px;
}

.support-boundary-list li {
  gap: 10px;
}

.content-card h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.18;
}

.content-card p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted-strong);
}

.content-card .button {
  margin-top: 24px;
}

.support-boundary-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.summary-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
  box-shadow: var(--shadow);
}

.summary-panel > div {
  background: #ffffff;
  padding: 22px;
}

.summary-label {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-panel strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
}

.summary-panel p {
  margin: 8px 0 0;
  color: var(--muted-strong);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 24px;
}

.pricing-card-featured {
  border-color: rgba(0, 167, 212, 0.48);
  box-shadow: 0 22px 68px rgba(0, 122, 212, 0.13);
}

.plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-name {
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  padding: 5px 10px;
  white-space: nowrap;
}

.pricing-card-featured .plan-badge {
  background: rgba(0, 167, 212, 0.11);
}

.plan-tagline {
  min-height: 62px;
  margin: 18px 0 0;
  color: var(--text);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.28;
}

.price-block {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.price {
  color: var(--text);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

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

.plan-note {
  min-height: 100px;
  margin: 16px 0 20px;
  color: var(--muted-strong);
}

.plan-feature-heading {
  margin: 0 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.plan-inclusion-lead {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.plan-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted-strong);
}

.plan-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.18em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(20, 137, 93, 0.12);
  color: #14895d;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.pricing-card .plan-list li::before {
  background: var(--accent);
  color: #ffffff;
}

.pricing-tax-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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

.callout-grid-single {
  grid-template-columns: minmax(0, 660px);
  justify-content: center;
}

.pricing-action-band {
  background: var(--text);
  color: #ffffff;
}

.pricing-action-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.pricing-action-heading .eyebrow {
  color: #8bdff1;
}

.pricing-action-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: 34px;
  line-height: 1.16;
}

.pricing-action-heading p:not(.eyebrow) {
  margin: 12px 0 0;
  color: #cad5e3;
  font-size: 17px;
}

.callout-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 28px;
  color: var(--text);
}

.callout-card-muted {
  background: var(--surface-soft);
}

.callout-card h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.callout-card p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted-strong);
}

.callout-card .plan-list {
  margin-top: 20px;
}

.callout-card .button {
  margin-top: 24px;
}

.cta-band {
  background: var(--text);
  color: #ffffff;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cta-band h2 {
  margin: 0;
  font-size: 30px;
}

.cta-band p {
  margin: 10px 0 0;
  color: #cad5e3;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.footer-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-nav a {
  color: var(--muted-strong);
  font-weight: 700;
}

@media (max-width: 920px) {
  .nav-shell {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 18px;
    border-bottom: 1px solid var(--border);
    background: #ffffff;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .site-nav .nav-primary {
    margin: 8px 0 0;
    text-align: center;
  }

  .legal-page {
    padding-top: 24px;
  }

  .legal-document {
    padding: 28px 20px;
  }

  .legal-document h1 {
    font-size: 28px;
  }

  .legal-document h2 {
    font-size: 20px;
  }

  .notice-table {
    min-width: 720px;
  }

  .hero {
    padding: 56px 0 38px;
  }

  .hero-grid,
  .page-hero-grid,
  .docs-shell,
  .split-grid,
  .cta-grid,
  .callout-grid {
    grid-template-columns: 1fr;
  }

  .docs-subheader {
    top: 64px;
  }

  .docs-subheader-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    min-height: 60px;
    padding: 10px 20px;
  }

  .docs-subheader code {
    font-size: 12px;
  }

  .docs-shell {
    width: 100%;
    padding: 0;
    gap: 0;
  }

  .docs-sidebar {
    position: sticky;
    top: 124px;
    z-index: 3;
    max-height: none;
    padding: 0;
    overflow: visible;
    background: #ffffff;
  }

  .docs-sidebar::after {
    display: none;
  }

  .docs-nav {
    display: none;
  }

  .docs-mobile-nav {
    display: block;
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
  }

  .docs-mobile-nav label {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .docs-mobile-nav select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: #ffffff;
    color: var(--text);
    font: inherit;
    font-weight: 500;
    padding: 10px 12px;
  }

  .docs-content {
    padding: 14px 20px 72px;
  }

  .docs-fact-grid,
  .endpoint-list {
    grid-template-columns: 1fr;
  }

  .product-panel-shell {
    display: none;
  }

  .hero h1 {
    font-size: 42px;
  }

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

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

  .content-card-grid {
    grid-template-columns: 1fr;
  }

  .support-boundary-grid {
    grid-template-columns: 1fr;
  }

  .impact-grid .stack-list {
    padding-top: 0;
  }

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

  .mock-field:nth-child(2n),
  .result-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .mock-field-wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .shell,
  .footer-shell {
    width: min(100% - 28px, var(--max));
  }

  .brand-logo {
    width: 140px;
  }

  .section {
    padding: 54px 0;
  }

  .hero h1 {
    font-size: 34px;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .docs-intro h1 {
    font-size: 34px;
  }

  .docs-section h2 {
    font-size: 27px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-proof,
  .panel-meta {
    grid-template-columns: 1fr;
  }

  .product-panel-shell {
    margin: 0 -2px;
  }

  .data-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .data-row.header {
    display: none;
  }

  .tab-list {
    display: none;
  }

  .tab-select-wrap {
    display: block;
    padding: 14px;
    border-bottom: 1px solid var(--border);
    background: var(--surface-soft);
  }

  .tab-panel {
    padding: 14px;
  }

  .mock-app-header {
    flex-direction: column;
    padding: 18px;
  }

  .mock-app h3 {
    font-size: 21px;
  }

  .qualification-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .mock-field,
  .result-grid > div,
  .mock-field:nth-child(2n),
  .result-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .mock-field-wide {
    grid-column: auto;
  }

  .mock-field,
  .result-grid > div {
    border-bottom: 1px solid var(--border);
  }

  .mock-field:last-child,
  .result-grid > div:last-child {
    border-bottom: 0;
  }

  .responsive-table table {
    min-width: 720px;
  }

  .docs-param-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .endpoint-detail {
    padding: 18px;
  }

  .endpoint-detail-header {
    grid-template-columns: 1fr;
  }

  .api-console-topbar,
  .api-console-body {
    grid-template-columns: 1fr;
  }

  .api-console-topbar {
    align-items: stretch;
  }

  .api-copy-button {
    width: 100%;
  }

  .api-console-request {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  #income-limits-panel .responsive-table,
  #rent-limits-panel .responsive-table {
    display: none;
  }

  .mobile-summary-grid {
    display: grid;
    gap: 10px;
    padding: 14px;
    background: #ffffff;
  }

  .mobile-summary-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-soft);
    padding: 14px;
  }

  .mobile-summary-card span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .mobile-summary-card strong {
    display: block;
    color: var(--text);
    font-size: 16px;
  }

  .mobile-summary-card small {
    display: block;
    margin-top: 7px;
    color: var(--muted-strong);
    font-size: 13px;
    line-height: 1.45;
  }

  .mobile-summary-grid p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 13px;
  }

  .button {
    width: 100%;
  }
}
