:root {
  color-scheme: light;
  --bg: #f8faf9;
  --surface: #ffffff;
  --surface-muted: #f1f5f3;
  --ink: #111312;
  --muted: #66706b;
  --line: #dfe7e2;
  --line-strong: #cbd8d1;
  --accent: #2fb67c;
  --accent-dark: #126b46;
  --danger: #c2414b;
  --warning: #a16207;
  --shadow: 0 1px 2px rgba(17, 19, 18, 0.06), 0 18px 42px rgba(17, 19, 18, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
  padding: 0 max(24px, 6vw);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 250, 249, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
}

.brand span {
  display: inline;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 0 14px;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.nav-link.active,
.nav-link:hover {
  background: #101312;
  color: #ffffff;
}

.nav-cta {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.admin-link {
  display: inline-flex;
  align-items: center;
}

.page-section {
  display: none;
  padding: 56px max(24px, 6vw) 88px;
}

.page-section.active {
  display: block;
}

.docs-page {
  padding: 56px max(24px, 6vw) 88px;
}

.docs-hero {
  max-width: 980px;
  margin-bottom: 34px;
}

.docs-hero h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
}

.docs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.docs-downloads {
  padding: 0 22px 22px;
}

.docs-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.docs-toc {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.docs-toc a {
  border-radius: 8px;
  color: var(--muted);
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 650;
}

.docs-toc a:hover {
  background: var(--surface-muted);
  color: var(--ink);
}

.docs-content {
  display: grid;
  gap: 18px;
}

.doc-block,
.endpoint-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.doc-block {
  padding: 24px;
}

.doc-block h2,
.endpoint-card h2 {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.15;
}

.endpoint-card {
  overflow: hidden;
}

.endpoint-card p {
  color: var(--muted);
  line-height: 1.65;
  padding: 0 22px;
  text-wrap: pretty;
}

.endpoint-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 20px 22px 4px;
}

.endpoint-head h2 {
  min-width: 0;
  overflow-wrap: anywhere;
}

.method-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  background: #101312;
  color: #ffffff;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.method-pill.get {
  background: #e5f8ee;
  color: var(--accent-dark);
}

.method-pill.post {
  background: #eef2ff;
  color: #3949a3;
}

.step-grid,
.docs-two-col {
  display: grid;
  gap: 14px;
}

.step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-grid article {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-muted);
}

.step-grid span {
  color: var(--accent-dark);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
}

.step-grid strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 18px;
}

.step-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.docs-two-col {
  grid-template-columns: 1fr 1fr;
  padding: 0 22px 18px;
}

.docs-two-col h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.docs-content pre {
  font-size: 13px;
  line-height: 1.65;
}

.error-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.error-table div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.error-table div:last-child {
  border-bottom: 0;
}

.error-table strong {
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 13px;
}

.error-table span {
  color: var(--muted);
  line-height: 1.5;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 152px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(46px, 6.4vw, 86px);
  font-weight: 760;
  line-height: 0.98;
  text-wrap: pretty;
}

.section-head h2 {
  margin-bottom: 14px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  text-wrap: pretty;
}

.lead,
.section-head p {
  max-width: 820px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.ghost-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  padding: 0 16px;
  font-weight: 650;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
}

.hero-proof span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-proof strong {
  color: var(--ink);
}

.primary,
.secondary {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 650;
}

.primary {
  background: var(--accent);
  color: #062216;
}

.primary:hover {
  background: #55c894;
}

.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.block {
  width: 100%;
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 30px;
  margin-top: 6px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.text-button:hover {
  color: var(--ink);
}

.hidden {
  display: none !important;
}

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 20px 0 16px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-muted);
}

.login-tabs button {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-weight: 650;
}

.login-tabs button.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(17, 19, 18, 0.08);
}

.login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 20px;
}

.login-shell {
  width: min(420px, 100%);
}

.login-brand {
  justify-content: center;
  margin-bottom: 20px;
}

.login-brand img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

.login-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin-bottom: 10px;
  font-size: 40px;
  letter-spacing: 0;
}

.login-card p {
  color: var(--muted);
  line-height: 1.55;
}

.login-card label {
  margin: 14px 0;
}

.product-shell,
.side-panel,
.panel,
.code-panel,
.status-map {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-shell {
  overflow: hidden;
}

.shell-head {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 13px;
}

.shell-head span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--line-strong);
}

.shell-head strong {
  margin-left: 8px;
}

.preview-card {
  margin: 18px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(47, 182, 124, 0.08), rgba(47, 182, 124, 0)),
    var(--surface);
}

.preview-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.preview-row:last-child {
  border-bottom: 0;
}

.preview-row span {
  color: var(--muted);
  font-size: 14px;
}

.preview-row strong {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.preview-row b {
  border-radius: 999px;
  background: #e5f8ee;
  color: var(--accent-dark);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 750;
}
.mini-grid,
.stats,
.trust-row,
.work-grid,
.api-grid {
  display: grid;
  gap: 16px;
}

.mini-grid {
  grid-template-columns: repeat(3, 1fr);
  padding: 0 18px 18px;
}

.mini-grid article,
.stat-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-muted);
}

small,
.hint {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.mini-grid strong,
.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
  font-variant-numeric: tabular-nums;
}

.trust-row {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
}

.capability-strip article {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 20px;
  background: var(--surface);
}

.capability-strip strong {
  font-size: 18px;
}

.capability-strip span {
  color: var(--muted);
  line-height: 1.5;
}

.trust-center-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.trust-center-strip h2 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.1;
}

.trust-center-strip p {
  color: var(--muted);
  line-height: 1.6;
}

.trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row article {
  padding: 24px;
  border-top: 1px solid var(--line);
}

.trust-row span {
  color: var(--accent-dark);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 13px;
}

.trust-row h2,
.side-panel h3,
.panel h3,
.status-map h3 {
  margin: 8px 0 10px;
  font-size: 22px;
}

.trust-row p,
.side-panel p,
.panel p,
.status-map p {
  color: var(--muted);
  line-height: 1.6;
}

.section-head {
  margin-bottom: 30px;
}

.price-layout,
.console-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.side-panel {
  position: sticky;
  top: 88px;
  padding: 22px;
}

label {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

input,
select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 0 12px;
}

input::placeholder {
  color: rgba(102, 112, 107, 0.52);
  font-size: 13px;
  font-weight: 500;
}

input:focus,
select:focus {
  outline: 2px solid rgba(47, 182, 124, 0.22);
  border-color: var(--accent);
}

input:focus::placeholder {
  color: rgba(102, 112, 107, 0.34);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.price-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
}

.price-toolbar label {
  width: min(260px, 100%);
  margin: 0;
}

.price-card {
  min-height: 142px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.price-card,
.clickable-row {
  cursor: pointer;
}

.price-card:hover,
.clickable-row:hover td {
  background: #f6faf8;
}

.country-line,
.table-country {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.country-line {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.flag,
.flag-img {
  display: inline-grid;
  place-items: center;
  width: 32px;
  min-width: 32px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-muted);
  font-size: 17px;
  line-height: 1;
}

.flag-img {
  display: block;
  object-fit: cover;
}

.price-card small {
  color: var(--muted);
  font-size: 13px;
}

.price-card strong {
  display: block;
  margin: 14px 0 8px;
  font-size: 30px;
  font-variant-numeric: tabular-nums;
}

.table-panel {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 14px;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

th {
  color: var(--muted);
  font-weight: 650;
}

td {
  font-variant-numeric: tabular-nums;
}

.stats {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 16px;
}

.account-stats {
  margin-bottom: 12px;
}

.workspace {
  min-width: 0;
}

.work-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.profile-grid {
  grid-template-columns: 1fr;
}

.panel {
  padding: 20px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.inline-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.quick-actions .secondary {
  min-height: 38px;
}

.inline-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inline-controls select {
  width: 170px;
}

.inline-form button,
.order-form button {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 0 14px;
}

.order-form {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 10px;
  align-items: end;
}

.order-form button {
  grid-column: 1 / -1;
}

.api-grid {
  grid-template-columns: 1fr 1fr;
}

.buy-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.buy-steps,
.channel-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.buy-steps span,
.channel-toggle button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

.buy-steps .active,
.channel-toggle button.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.order-preview {
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: var(--surface-muted);
}

.order-preview p,
.order-guide ol {
  color: var(--muted);
  line-height: 1.6;
}

.order-guide ol {
  margin: 0 0 18px;
  padding-left: 20px;
}

.purchase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.compact-head {
  max-width: 980px;
}

.purchase-panel {
  min-height: 320px;
}

.code-panel {
  overflow: hidden;
}

.code-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.copy-button,
.icon-button,
.stat-action {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 750;
}

.icon-button {
  width: 34px;
  height: 34px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
}

.stat-card {
  position: relative;
  overflow: hidden;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.primary-stat {
  background: linear-gradient(180deg, #e8f8ef 0%, var(--surface-muted) 100%);
}

.stat-action {
  position: absolute;
  right: 14px;
  top: 14px;
}

pre {
  margin: 0;
  overflow: auto;
  max-width: 100%;
  background: #101312;
  color: #edf5ef;
  padding: 20px;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  line-height: 1.7;
}

.docs-content pre {
  border-bottom: 4px solid rgba(47, 182, 124, 0.42);
}

.docs-content pre::after {
  content: "移动端可横向滑动查看完整示例";
  display: block;
  margin-top: 12px;
  color: rgba(237, 245, 239, 0.68);
  font-family: "Segoe UI", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.4;
}

.status-map {
  padding: 22px;
}

.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-list span,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--muted);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
}

.pill.ok {
  background: #e5f8ee;
  color: var(--accent-dark);
}

.pill.warn {
  background: #fff7df;
  color: var(--warning);
}

.pill.danger {
  background: #ffe8ea;
  color: var(--danger);
}

.status-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.status-component {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 18px;
  box-shadow: var(--shadow);
}

.status-component > span {
  margin-bottom: 14px;
}

.status-component strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.status-component p {
  color: var(--muted);
  line-height: 1.55;
}

.status-page,
.trust-page {
  width: min(1680px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.status-hero,
.trust-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.status-hero h1,
.trust-hero h1 {
  max-width: 980px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(54px, 7vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.08em;
  text-wrap: balance;
}

.status-summary-card,
.trust-hero-panel {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 320px;
  padding: 28px;
  border: 1px solid rgba(18, 107, 70, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 12%, rgba(47, 136, 255, 0.18), transparent 32%),
    linear-gradient(145deg, #ffffff 0%, #edf7f1 100%);
  box-shadow: 0 28px 70px rgba(18, 29, 24, 0.12);
}

.status-summary-card::after,
.trust-hero-panel::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(18, 107, 70, 0.12);
}

.status-summary-card p,
.trust-hero-panel span {
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-summary-card strong,
.trust-hero-panel strong {
  display: block;
  max-width: 360px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}

.status-summary-card small,
.trust-hero-panel p {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 360px;
  margin-top: 22px;
  color: var(--muted);
  line-height: 1.65;
}

.status-led {
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-bottom: 30px;
  border-radius: 999px;
  background: var(--accent-dark);
  box-shadow: 0 0 0 9px rgba(18, 107, 70, 0.12), 0 0 32px rgba(18, 107, 70, 0.5);
}

.status-metrics,
.trust-evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.status-metrics article,
.trust-evidence-grid article,
.status-panel,
.status-subscribe,
.control-matrix,
.trust-docs article {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(17, 24, 20, 0.08);
}

.status-metrics article {
  padding: 22px;
}

.status-metrics span,
.trust-evidence-grid span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-metrics strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 46px);
  letter-spacing: -0.06em;
}

.status-metrics p,
.trust-evidence-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.status-section {
  margin-top: 34px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: -0.06em;
}

.section-heading p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.section-heading.compact h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.status-board-pro {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.status-component-pro {
  display: grid;
  gap: 14px;
  min-height: 260px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
  box-shadow: 0 18px 48px rgba(17, 24, 20, 0.08);
}

.status-component-pro.monitoring {
  border-color: rgba(184, 122, 0, 0.28);
  background: linear-gradient(180deg, #ffffff 0%, #fff9ec 100%);
}

.component-topline,
.status-component-pro dl,
.slo-list div,
.matrix-table div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.component-topline > span:last-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.status-component-pro strong {
  color: var(--ink);
  font-size: 22px;
  letter-spacing: -0.03em;
}

.status-component-pro p,
.status-component-pro small {
  color: var(--muted);
  line-height: 1.55;
}

.status-component-pro dl,
.slo-list {
  margin: 0;
}

.status-component-pro dl {
  display: grid;
  gap: 8px;
}

.status-component-pro dl div,
.slo-list div {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.status-component-pro dt,
.slo-list dt {
  color: var(--muted);
  font-size: 12px;
}

.status-component-pro dd,
.slo-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.status-grid,
.trust-docs {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 28px;
}

.status-panel,
.status-subscribe,
.control-matrix,
.trust-docs article {
  padding: 26px;
}

.incident-list {
  display: grid;
  gap: 16px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.incident-list li {
  position: relative;
  padding: 0 0 0 26px;
}

.incident-list li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-dark);
  box-shadow: 0 0 0 7px rgba(18, 107, 70, 0.1);
}

.incident-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.incident-list strong {
  display: block;
  margin: 6px 0;
  color: var(--ink);
}

.incident-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.status-subscribe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  background:
    linear-gradient(135deg, rgba(18, 107, 70, 0.1), rgba(47, 136, 255, 0.08)),
    #ffffff;
}

.status-subscribe h2,
.trust-docs h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 32px;
  letter-spacing: -0.05em;
}

.status-subscribe p,
.trust-docs p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  margin: 0 max(24px, 6vw);
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.site-footer p {
  margin: 0;
  line-height: 1.6;
  text-wrap: pretty;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--ink);
}

.trust-evidence-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-evidence-grid article {
  min-height: 250px;
  padding: 24px;
}

.trust-evidence-grid h2 {
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: 28px;
  letter-spacing: -0.05em;
}

.control-matrix {
  margin-top: 28px;
}

.matrix-table {
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.matrix-table div {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 1px;
  align-items: stretch;
}

.matrix-table div > * {
  padding: 16px;
  background: #ffffff;
  color: var(--muted);
  line-height: 1.5;
}

.matrix-table div:first-child > * {
  background: #f0f6f2;
  color: var(--ink);
}

.trust-docs article {
  display: grid;
  align-content: start;
  gap: 14px;
}

.trust-doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-doc-links a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
}

.empty-state {
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  color: var(--muted);
  background: var(--surface);
}

.api-key-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.api-key-result code {
  color: var(--ink);
  font-family: "Cascadia Mono", Consolas, monospace;
  word-break: break-all;
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.danger-button {
  color: var(--danger);
}

.order-list {
  display: grid;
  gap: 12px;
}

.order-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.order-main,
.order-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-main h3 {
  margin: 5px 0 0;
  font-size: 20px;
}

.order-id {
  color: var(--muted);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
}

.order-fields {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 1.2fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.order-fields div {
  min-width: 0;
  padding: 12px;
  background: var(--surface-muted);
}

.order-fields strong {
  display: block;
  margin-top: 7px;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.order-actions {
  justify-content: flex-end;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 19, 18, 0.34);
  backdrop-filter: blur(10px);
}

.modal-card {
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  max-height: calc(100vh - 48px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(17, 19, 18, 0.2);
}

.wide-modal {
  width: min(720px, 100%);
}

.price-detail-scroll {
  min-height: 0;
  max-height: min(560px, 58vh);
  overflow: auto;
}

.price-detail-scroll thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface);
}

.tier-table {
  min-width: 520px;
}

.recharge-form {
  grid-template-columns: 1fr;
  margin: 14px 0 12px;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.mobile-scroll-hint {
  display: none;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .status-hero,
  .trust-hero,
  .status-grid,
  .trust-docs,
  .docs-layout,
  .docs-two-col,
  .price-layout,
  .console-grid,
  .purchase-layout,
  .buy-flow,
  .api-grid {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }

  .docs-toc {
    position: static;
  }

  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    height: auto;
    align-items: stretch;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand {
    justify-content: center;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .topnav {
    width: 100%;
    justify-content: center;
    border-radius: 18px;
  }

  .page-section {
    padding: 36px 16px 60px;
  }

  .docs-page {
    padding: 36px 16px 60px;
  }

  .status-page,
  .trust-page {
    width: min(100% - 32px, 1680px);
    padding: 36px 0 60px;
  }

  .status-hero h1,
  .trust-hero h1 {
    font-size: 46px;
    letter-spacing: -0.06em;
  }

  .status-summary-card,
  .trust-hero-panel {
    min-height: 240px;
    padding: 22px;
    border-radius: 22px;
  }

  .trust-row,
  .trust-center-strip,
  .capability-strip,
  .status-metrics,
  .trust-evidence-grid,
  .stats,
  .work-grid,
  .mini-grid,
  .step-grid,
  .price-grid,
  .order-form,
  .order-fields {
    grid-template-columns: 1fr;
  }

  .quick-actions,
  .panel-head,
  .status-subscribe,
  .order-main,
  .order-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .matrix-table div {
    grid-template-columns: 1fr;
  }

  .inline-controls {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
    margin: 0 16px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .price-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .inline-controls select {
    width: 100%;
  }

  .error-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .link-button,
  .hero-actions button {
    width: 100%;
    justify-content: center;
  }

  .mobile-scroll-hint {
    display: block;
  }

  .status-board {
    grid-template-columns: 1fr;
  }
}
