/* Shared app visual language for documentation, legal, and account surfaces. */
:root {
  color-scheme: dark;
  --bg: #06080f;
  --bg-2: #0b0f19;
  --bg-3: #171e2d;
  --surface: #171e2d;
  --surface-strong: #171e2d;
  --surface-elevated: #21293b;
  --surface-deep: #0b0f19;
  --ink: #f0f5ff;
  --ink-soft: #d4dff0;
  --muted: #a3b3cc;
  --muted-strong: #a3b3cc;
  --line: rgba(240, 245, 255, 0.13);
  --line-strong: rgba(240, 245, 255, 0.24);
  --brand: #73adff;
  --brand-2: #73adff;
  --accent: #61dbc2;
  --hero-text: #f0f5ff;
  --hero-muted: #a3b3cc;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-lg: none;
  --shadow-md: none;
  --shadow-sm: none;
}
html {
  scroll-padding-top: 24px;
}
body,
body.checkout {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}
body:before,
body:after {
  display: none;
}
.shell {
  width: min(1120px, calc(100% - 64px));
  padding: 0 0 48px;
}
.topbar {
  position: relative;
  top: auto;
  min-height: 104px;
  padding: 24px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  gap: 20px;
}
.brand {
  padding: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-transform: none;
}
.brand-mark {
  height: 36px;
  width: 36px;
  object-fit: contain;
  border-radius: 10px;
  filter: none;
}
.brand a {
  gap: 12px;
}
.nav {
  gap: 24px;
}
.nav a {
  font-size: 13px;
  padding: 14px 0;
  border: 0;
  border-radius: 0;
  background: none;
  transform: none;
  box-shadow: none;
}
.nav a:hover {
  background: none;
  transform: none;
  color: var(--brand);
}
.nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.legacy-path {
  padding: 18px 0;
  font-size: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  margin: 0;
}
.legacy-path a {
  color: var(--muted);
}
.hero {
  padding: 52px 0 36px;
  margin: 0;
  border: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  min-height: 0;
  animation: none;
}
.hero:before,
.hero:after,
.card:before,
.card:after,
.integration-tile:before {
  display: none;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--ink);
  background: none;
  -webkit-text-fill-color: var(--ink);
  max-width: 920px;
  text-shadow: none;
}
.hero p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 760px;
}
.eyebrow,
.kicker {
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.grid {
  gap: 16px;
}
.card,
.hero-panel,
.surface-card,
.integration-tile,
.integration-mini-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: none;
  transform: none;
  backdrop-filter: none;
  min-width: 0;
}
.card {
  padding: 28px;
}
.card:hover,
.hero-panel:hover,
.integration-tile:hover,
.surface-card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
h2 {
  font-size: 27px;
}
h3 {
  font-size: 21px;
}
.card p,
.card li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}
.card p a,
.card li a {
  color: var(--brand);
  text-underline-offset: 4px;
}
.btn,
.integration-actions a,
.integration-mini-card a {
  border-radius: 14px;
  min-height: 44px;
  box-shadow: none;
  font-weight: 600;
  font-size: 14px;
  transform: none;
}
.btn-primary {
  background: var(--brand);
  color: var(--bg);
  border: 1px solid var(--brand);
}
.btn-primary:hover {
  background: #96c2ff;
  color: var(--bg);
  transform: none;
  box-shadow: none;
}
.btn-ghost {
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  color: var(--ink);
}
.codeblock {
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: none;
  min-width: 0;
}
.codeblock pre,
pre {
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 100%;
  text-shadow: none;
}
.codeblock pre {
  padding-top: 56px;
}
.copy-btn {
  border-radius: 10px;
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 40px;
  min-width: 64px;
}
.table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-radius: 14px;
}
.table th,
.table td {
  padding: 14px;
  font-size: 13px;
  border-color: var(--line);
}
.table th {
  background: var(--surface-elevated);
}
.footer-site {
  margin-top: 64px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.footer-brand-block strong {
  font-size: 17px;
  letter-spacing: -0.02em;
  text-transform: none;
}
.footer-brand-block p {
  font-size: 13px;
  max-width: 500px;
}
.footer-links {
  gap: 18px;
}
.footer-links a {
  font-size: 13px;
  padding: 12px 0;
  background: none;
  border: 0;
}
.footer-meta {
  font-size: 11px;
  color: var(--muted);
}
.checkout-shell {
  max-width: 520px;
  padding: 40px 24px;
}
.checkout-shell h1 {
  margin-top: 40px;
  font-size: 32px;
  letter-spacing: -0.04em;
}
.checkout-wordmark {
  gap: 12px;
}
.checkout-wordmark span {
  letter-spacing: -0.02em;
  font-size: 20px;
  color: var(--ink);
  text-transform: none;
}
.checkout-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
}
.checkout-plan {
  padding: 24px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.checkout-plan:hover {
  background: var(--surface-elevated);
}
.checkout-plan strong {
  font-size: 18px;
}
.checkout-plan span {
  font-size: 14px;
  display: block;
  margin-top: 8px;
}
.reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.type-cursor {
  display: none;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}
p,
li {
  overflow-wrap: anywhere;
}
.integration-band {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
}
.skip-docs {
  position: fixed;
  top: 8px;
  left: 8px;
  padding: 12px;
  background: var(--brand);
  color: var(--bg);
  z-index: 100;
  transform: translateY(-200%);
}
.skip-docs:focus {
  transform: none;
}
.copy-result {
  font-size: 12px;
  padding: 0 16px 12px;
  color: var(--muted);
}
@media (max-width: 760px) {
  .shell {
    width: calc(100% - 48px);
  }
  .topbar {
    min-height: 84px;
    padding: 20px 0;
    gap: 16px;
  }
  .nav {
    gap: 20px;
    width: 100%;
  }
  .hero {
    padding: 32px 0;
  }
  .hero p {
    font-size: 16px;
  }
  .card {
    padding: 24px;
  }
  .grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .grid > [class*="span-"] {
    grid-column: auto !important;
  }
  .integration-band,
  .integration-surface-grid,
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero h1 {
    font-size: 40px;
  }
  .table th,
  .table td {
    min-width: 110px;
  }
  .footer-main {
    display: block;
  }
  .footer-links {
    margin-top: 20px;
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .card,
  .topbar,
  .checkout-plan {
    backdrop-filter: none;
    background: var(--surface);
  }
}

.hero > *,
.card {
  animation: none !important;
  opacity: 1;
  transform: none;
}
.hero p {
  font-weight: 400;
}
