.page-shell { margin: 0 auto; max-width: var(--max); padding: 90px 32px 140px; }
.page-heading { border-bottom: 1px solid var(--line); padding-bottom: 58px; }
.page-heading h1 { font-size: clamp(58px, 8vw, 108px); margin-bottom: 28px; }
.page-heading > p:last-child { color: var(--muted); font-size: 15px; line-height: 1.8; max-width: 720px; }
.environment-label { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 42px; }
.dashboard-card { border: 1px solid var(--line); min-height: 280px; padding: 34px; }
.dashboard-card + .dashboard-card { border-left: 0; }
.dashboard-label { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.balance { font-size: clamp(58px, 8vw, 88px); font-weight: 650; letter-spacing: -.075em; line-height: 1; margin: 48px 0 10px; }
.dashboard-help { color: var(--muted); font-size: 10px; }
.text-button { background: none; border: 0; color: var(--white); font-size: 9px; letter-spacing: .08em; padding: 0; text-decoration: underline; text-transform: uppercase; }
.account-number { font-size: 25px; font-weight: 550; letter-spacing: .08em; margin: 48px 0 20px; }
.key-row { align-items: center; border: 1px solid var(--line); display: flex; gap: 12px; justify-content: space-between; padding: 13px; }
.key-row code { color: var(--white); font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.key-row button, .compact-actions button { background: none; border: 0; color: var(--muted); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.compact-actions { display: flex; gap: 8px; margin-top: 14px; }
.compact-actions button { border: 1px solid var(--line); padding: 9px 11px; }
.purchase-section { border-top: 1px solid var(--line); margin-top: 90px; padding-top: 90px; }
.purchase-section h2, .integration-card h2 { font-size: clamp(34px, 4vw, 52px); font-weight: 650; letter-spacing: -.06em; line-height: 1; margin: 18px 0; }
.purchase-section > div:first-child > p:last-child { color: var(--muted); font-size: 13px; line-height: 1.8; max-width: 690px; }
.purchase-section .catalog-status { margin-top: 24px; }
.location-attestation { border: 1px solid var(--line); margin: 30px 0 0; padding: 22px 24px; }
.location-attestation:disabled { opacity: .58; }
.location-attestation legend { color: var(--white); font-size: 9px; font-weight: 700; letter-spacing: .12em; padding: 0 8px; text-transform: uppercase; }
.location-attestation label { align-items: flex-start; color: var(--white); display: flex; font-size: 11px; gap: 10px; line-height: 1.65; }
.location-attestation input { flex: 0 0 auto; margin-top: 3px; }
.location-attestation p { color: var(--muted); font-size: 9px; line-height: 1.7; margin: 12px 0 0 24px; max-width: 760px; }
.purchase-grid { border-left: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 42px; }
.purchase-grid article { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; padding: 28px; }
.purchase-grid article.selected { background: var(--white); color: var(--black); }
.purchase-grid strong { font-size: 44px; font-weight: 650; letter-spacing: -.06em; }
.purchase-grid span { color: var(--muted); font-size: 10px; line-height: 1.7; }
.purchase-grid article.selected span { color: #555; }
.purchase-grid article > div { display: grid; gap: 7px; grid-template-columns: 1fr 1fr; margin-top: auto; }
.purchase-grid button { background: transparent; border: 1px solid currentColor; color: inherit; font-size: 8px; font-weight: 700; letter-spacing: .08em; padding: 11px 6px; text-transform: uppercase; }
.purchase-grid button:hover { background: var(--white); color: var(--black); }
.purchase-grid article.selected button:hover { background: var(--black); color: var(--white); }
.purchase-grid button:disabled { cursor: not-allowed; opacity: .45; }
.payment-message { color: var(--warning); font-size: 9px; min-height: 18px; }
.integration-card { align-items: center; border: 1px solid var(--line); display: grid; gap: 48px; grid-template-columns: .82fr 1.18fr; margin-top: 90px; padding: 44px; }
.integration-card pre { border: 1px solid var(--line); font-size: 9px; }
.danger-zone { align-items: center; border-top: 1px solid var(--line); display: flex; justify-content: space-between; margin-top: 90px; padding-top: 34px; }
.danger-zone p { color: var(--muted); font-size: 10px; line-height: 1.7; margin: 7px 0; max-width: 680px; }
.danger-zone button { background: transparent; border: 1px solid var(--white); color: var(--white); font-size: 8px; font-weight: 700; letter-spacing: .08em; padding: 11px 13px; text-transform: uppercase; }
.prose { max-width: 800px; }
.prose h2 { border-top: 1px solid var(--line); font-size: 30px; font-weight: 650; letter-spacing: -.04em; margin: 60px 0 20px; padding-top: 40px; }
.prose h3 { font-size: 17px; margin-top: 34px; }
.prose p, .prose li { color: #b0b0b0; font-size: 13px; line-height: 1.85; }
.prose a { color: var(--white); text-decoration: underline; }
.prose code { color: var(--white); }
.prose pre { border: 1px solid var(--line); font-size: 12px; margin: 22px 0; }
.prose .notice { border-left: 1px solid var(--white); color: var(--white); padding-left: 18px; }
.prose .lede { color: #d0d0d0; font-size: 15px; }
.code-example { border: 1px solid var(--line); margin: 22px 0; }
.code-example pre { border: 0; margin: 0; }
.code-example-bar { align-items: center; border-bottom: 1px solid var(--line); color: var(--muted); display: flex; font-size: 9px; font-weight: 650; justify-content: space-between; letter-spacing: .1em; min-height: 42px; padding: 0 14px; text-transform: uppercase; }
.code-example-bar button { background: transparent; border: 1px solid var(--line); color: var(--white); font-size: 9px; min-height: 30px; padding: 5px 10px; text-transform: uppercase; }
.support-table { border-collapse: collapse; margin: 24px 0; width: 100%; }
.support-table th, .support-table td { border: 1px solid var(--line); color: #b0b0b0; font-size: 11px; line-height: 1.65; padding: 14px; text-align: left; vertical-align: top; }
.support-table th { color: var(--white); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.status-label { color: var(--white); display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.resource-list { display: grid; gap: 0; list-style: none; margin: 28px 0; padding: 0; }
.resource-list li { border-bottom: 1px solid var(--line); padding: 22px 0; }
.resource-list strong { color: var(--white); display: block; font-size: 16px; margin-bottom: 5px; }
.page-footer { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 18px; margin-top: 80px; padding-top: 28px; }
.page-footer a { color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.page-footer a:hover { color: var(--white); }
.doc-toc { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 34px 0 0; padding: 0 0 24px; }
.doc-toc a { align-items: center; color: var(--muted); display: inline-flex; font-size: 9px; font-weight: 650; letter-spacing: .08em; min-height: 32px; text-decoration: none; text-transform: uppercase; }
.doc-toc a:hover { color: var(--white); }
@media (max-width: 760px) {
  .page-shell { padding: 72px 20px 110px; }
  .page-heading h1 { font-size: clamp(40px, 13.5vw, 58px); overflow-wrap: anywhere; }
  .dashboard-grid, .purchase-grid, .integration-card { grid-template-columns: 1fr; }
  .dashboard-card + .dashboard-card { border-left: 1px solid var(--line); border-top: 0; }
  .purchase-grid article { border-left: 0; }
  .danger-zone { align-items: flex-start; flex-direction: column; gap: 20px; }
  .account-number { font-size: 18px; }
  .integration-card { padding: 28px 20px; }
  .purchase-grid article > div { grid-template-columns: 1fr; }
  .location-attestation { padding: 20px 16px; }
  .location-attestation p { margin-left: 0; }
  .support-table { display: block; overflow-x: auto; }
}

/* Shared reading and account surfaces. */
.page-shell { padding:42px 32px 90px; }
.page-shell.prose { max-width:864px; }
.page-heading { padding-bottom:34px; }
.page-heading h1 { font-size:clamp(42px,5.2vw,64px); line-height:1.09; letter-spacing:-.055em; margin:22px 0; }
.page-heading > p:last-child { font-size:16px; line-height:1.85; }
.breadcrumbs { gap:10px; align-items:center; font-size:11px; color:var(--muted); line-height:1.6; margin-bottom:38px; flex-wrap:wrap; }
.breadcrumbs a { min-height:30px; font-size:11px; }
.prose h2 { font-size:29px; line-height:1.25; padding-top:34px; margin:48px 0 22px; font-weight:600; }
.prose h3 { font-size:21px; line-height:1.4; }
.prose p, .prose li { font-size:15px; color:var(--muted); line-height:1.9; }
.prose .lede { font-size:17px; color:#dedede; }
.prose a { text-underline-offset:4px; }
.prose pre { font-size:13px; line-height:1.85; background:#111; padding:22px; }
.prose .notice { padding:16px 20px; background:#151515; border-left:2px solid #ddd; font-size:14px; margin:26px 0; }
.prose .button-primary { color:var(--black); text-decoration:none; }
.prose .button-secondary { text-decoration:none; }
.doc-toc { margin-top:25px; padding-bottom:22px; gap:5px 20px; }
.doc-toc a { font-size:12px; min-height:40px; text-transform:none; letter-spacing:0; }
.code-example-bar { font-size:11px; letter-spacing:.03em; min-height:48px; gap:14px; }
.code-example-bar button { min-width:44px; min-height:44px; border:0; font-size:11px; }
.support-table { table-layout:auto; }
.support-table th, .support-table td { font-size:13px; line-height:1.8; padding:15px; }
.support-table th { font-size:11px; letter-spacing:.03em; }
.support-table code { overflow-wrap:anywhere; }
.status-label { font-size:11px; line-height:1.8; }
.resource-list strong { font-size:20px; font-weight:600; }
.resource-list li { padding:22px 0; }
.guide-links { font-size:12px !important; }
.catalog-model { border:1px solid #666; background:linear-gradient(135deg,#222,#101010); padding:30px; margin-top:32px; box-shadow:7px 7px 0 #333; }
.catalog-model h2 { border:0; padding:0; margin:22px 0; font-size:36px; }
.prose .pricing-grid { margin-top:28px; }
.prose .price-card p.price { color:inherit; font-size:60px; line-height:1; }
.prose .price-card .pack-name { font-size:12px; }
.prose .price-card .tokens { font-size:12px; line-height:1.8; }
.prose .price-card.featured .tokens, .prose .price-card.featured .pack-name { color:#555; }
.status-toolbar { display:flex; align-items:center; gap:20px; flex-wrap:wrap; margin:28px 0; }
.status-toolbar p { margin:0; font-size:12px; }
.status-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.status-grid > div { border:1px solid #555; padding:22px; background:#111; }
.status-grid dt { color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.07em; }
.status-grid dd { margin:15px 0 0; font-size:19px; font-weight:600; line-height:1.5; }
.status-grid p { margin:12px 0 0; font-size:12px; }
.article-date { font-size:12px !important; }
.dashboard-label, .dashboard-help, .text-button, .key-row code, .key-row button, .compact-actions button { font-size:12px; }
.text-button, .key-row button, .compact-actions button { min-height:44px; }
.dashboard-help { line-height:1.8; }
.dashboard-card { background:#111; }
.dashboard-grid { margin-top:35px; }
.account-number { font-size:24px; overflow-wrap:anywhere; }
.key-row { gap:8px; }
.key-row button { flex-shrink:0; }
.compact-actions { flex-wrap:wrap; }
.purchase-section { margin-top:65px; padding-top:65px; }
.purchase-section > div:first-child > p:last-child { font-size:15px; }
.location-attestation legend { font-size:11px; }
.location-attestation label { font-size:14px; }
.location-attestation p { font-size:12px; }
.purchase-grid span { font-size:13px; }
.purchase-grid button { font-size:11px; text-transform:none; letter-spacing:0; min-height:44px; }
.purchase-grid button:disabled { opacity:1; color:#aaa; }
.purchase-grid article.selected button:disabled { color:#555; }
.payment-message { font-size:13px; }
.integration-card pre { font-size:12px; }
.danger-zone p { font-size:13px; }
.danger-zone button { font-size:11px; text-transform:none; min-height:44px; }
.account-backup-panel { padding:24px; margin-top:24px; border:1px solid #555; background:#111; }
.account-backup-panel h2 { font-size:24px; line-height:1.3; margin:0 0 12px; }
.account-backup-panel label { display:block; font-size:13px; }
.account-backup-panel input { display:block; color:var(--white); background:#151515; border:1px solid #777; padding:12px; margin-top:10px; width:100%; max-width:420px; }
.account-backup-panel p { font-size:13px; color:var(--muted); }
.account-backup-panel button { margin-top:14px; }
@media (max-width:760px) { .page-shell { padding:32px 20px 65px; } .page-heading h1 { font-size:clamp(36px,8.8vw,52px); line-height:1.1; overflow-wrap:anywhere; } .page-heading > p:last-child { font-size:15px; } .breadcrumbs { margin-bottom:25px; } .prose h2 { font-size:26px; } .support-table { display:block; overflow-x:auto; max-width:100%; } .support-table td { min-width:145px; } .prose pre { padding:18px; font-size:12px; } .dashboard-card { padding:25px; } .account-number { font-size:20px; } .status-grid { grid-template-columns:1fr; } .catalog-model { padding:23px; margin-right:7px; } .catalog-model h2 { font-size:30px; } .prose .pricing-grid { grid-template-columns:1fr; } }

/* Bitcoin checkout progress timeline */
.checkout-progress { margin-top: 28px; min-height: 0; }
.checkout-progress-title { font-size: clamp(22px, 3vw, 30px); font-weight: 650; letter-spacing: -.04em; margin: 10px 0 8px; }
.checkout-progress-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.checkout-progress-steps li { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.checkout-progress-steps li .step-marker {
  width: 12px; height: 12px; border-radius: 50%; border: 1px solid #777; background: transparent; flex-shrink: 0;
}
.checkout-progress-steps li[data-state="done"] { color: var(--white); }
.checkout-progress-steps li[data-state="done"] .step-marker { background: #ddd; border-color: #ddd; }
.checkout-progress-steps li[data-state="current"] { color: var(--white); font-weight: 600; }
.checkout-progress-steps li[data-state="current"] .step-marker {
  border-color: var(--white); box-shadow: 0 0 0 3px rgba(255,255,255,.15);
}


/* Partnership promo: list price struck through, pay price emphasized */
[data-pack-price] {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35em;
}
[data-pack-price] .pack-price-list {
  color: var(--muted, #888);
  font-size: 0.72em;
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: currentColor;
}
[data-pack-price] .pack-price-pay {
  color: var(--white, #fff);
  font-weight: 700;
}


/* Account: API key usage docs beside the key */
.key-usage {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line, #2a2a2a);
}
.key-usage-title {
  color: var(--muted, #9a9a9a);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.key-usage-steps {
  color: var(--white, #fff);
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
  padding-left: 1.15rem;
}
.key-usage-steps li + li { margin-top: 8px; }
.key-usage-steps code {
  font-size: 12px;
  word-break: break-word;
}
.key-usage-example {
  background: #0c0c0c;
  border: 1px solid var(--line, #2a2a2a);
  color: #ddd;
  font-size: 12px;
  line-height: 1.55;
  margin: 14px 0 12px;
  overflow-x: auto;
  padding: 12px 14px;
}
.key-usage-example code {
  background: transparent;
  padding: 0;
}
.key-usage-links {
  color: var(--muted, #9a9a9a);
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}
.key-usage-links a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 760px) {
  .key-usage-steps { font-size: 14px; }
  .key-usage-example { font-size: 12px; }
}

/* Live capacity indicator (20260924cap1) */
.capacity-indicator:empty { display: none; margin: 0; padding: 0; border: 0; min-height: 0; }
.capacity-indicator {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px;
  border-left: 1px solid var(--white); color: var(--white);
  font-size: 12px; line-height: 1.7; margin: 18px 0 0; max-width: 760px;
  padding-left: 14px;
}
.capacity-indicator .capacity-primary { font-weight: 600; }
.capacity-indicator .capacity-vision { color: var(--muted, #999); font-size: 11px; }
.capacity-indicator .capacity-link { color: var(--muted, #999); font-size: 11px; text-decoration: underline; text-underline-offset: 2px; }
.capacity-indicator[data-capacity-tone="ok"] { border-left-color: #c8c8c8; }
.capacity-indicator[data-capacity-tone="busy"] { border-left-color: #e0c070; }
.capacity-indicator[data-capacity-tone="very-busy"] { border-left-color: #e09060; }
.capacity-indicator[data-capacity-tone="maintenance"] { border-left-color: #e07070; }
.capacity-indicator[data-capacity-tone="unknown"] { border-left-color: #777; }
.prose .capacity-indicator { margin: 18px 0 8px; }
.hero-copy .capacity-indicator { margin-top: 14px; max-width: 520px; }
.pricing-section .capacity-indicator,
.purchase-section .capacity-indicator { margin-top: 16px; }
