

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--page);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--page);
}

a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

.content-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  min-height: calc(100vh - clamp(40px, 8vw, 108px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(17, 19, 15, 0.2);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.content-header {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 0 28px;
}

.content-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.content-header nav a {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.content-header nav a:hover,
.footer nav a:hover {
  color: var(--blue);
}

.content-run {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--blue);
  padding: 11px 14px;
  color: white;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.content-main {
  display: grid;
  grid-template-columns: minmax(380px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(44px, 6vw, 84px);
  padding: clamp(58px, 9vw, 110px) clamp(28px, 7vw, 86px);
}

.content-hero {
  position: sticky;
  top: 44px;
  min-width: 0;
  align-self: start;
}


.content-hero h1 {
  max-width: min(560px, 100%);
  margin: 0;
  overflow-wrap: break-word;
  font-family: "Arial Narrow", "Avenir Next Condensed", Impact, sans-serif;
  font-size: clamp(48px, 6vw, 82px);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.88;
  hyphens: auto;
  text-wrap: balance;
  text-transform: uppercase;
  word-break: normal;
}

.content-hero > p:not(.content-eyebrow) {
  max-width: 420px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.content-hero small {
  display: block;
  margin-top: 22px;
  color: #92958b;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  text-transform: uppercase;
}

.prose {
  min-width: 0;
  max-width: 700px;
  font-size: 15px;
  line-height: 1.8;
}

.prose > :first-child {
  margin-top: 0;
}

.prose h2 {
  margin: 54px 0 14px;
  border-top: 1px solid var(--ink);
  padding-top: 16px;
  font-family: "Arial Narrow", "Avenir Next Condensed", Impact, sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: uppercase;
}

.prose p {
  color: #3e413a;
}

.prose a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose ul {
  margin: 14px 0;
  padding-left: 18px;
  color: #3e413a;
}

.prose li {
  margin: 7px 0;
  padding-left: 4px;
}

.prose li::marker {
  color: var(--blue);
}

.prose code {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  padding: 1px 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  word-break: break-word;
}

.text-cta {
  display: inline-flex;
  margin: 14px 14px 0 0;
  background: var(--blue);
  padding: 11px 14px;
  color: white !important;
  font-size: 10px;
  font-weight: 750;
  text-decoration: none !important;
}

.contact-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--ink);
  gap: 1px;
}

.contact-grid > :last-child:nth-child(odd),
.article-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.contact-grid a,
.article-grid a {
  min-height: 190px;
  background: var(--paper);
  padding: 22px;
  color: var(--ink);
  text-decoration: none;
}

.contact-grid span,
.article-grid span {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  text-transform: uppercase;
}

.contact-grid strong,
.platform-logo {
  display: block;
  width: 26px;
  height: 26px;
  margin-top: 22px;
  border-radius: 5px;
  object-fit: contain;
}

.article-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.25;
}

.article-grid a:not(:has(.platform-logo)) strong {
  margin-top: 38px;
}

.contact-grid p,
.article-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.endpoint-list {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.endpoint-list code {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  border-left: 4px solid var(--lime);
  background: #111512;
  padding: 13px 15px;
  color: white;
  font-size: 10px;
  white-space: nowrap;
}

.comparison-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--ink);
}

.comparison-table div {
  padding: 24px;
}

.comparison-table div + div {
  border-left: 1px solid var(--ink);
  background: var(--lime);
}

.comparison-table strong {
  font-size: 15px;
}

.comparison-table p {
  margin-bottom: 0;
  font-size: 11px;
}

.content-footer nav {
  justify-content: flex-end;
}

.content-breadcrumb {
  grid-column: 1 / -1;
  margin: -14px 0 -18px;
}

.content-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.content-breadcrumb li + li::before {
  margin-right: 10px;
  color: var(--line);
  content: "/";
}

.content-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.content-breadcrumb a:hover {
  color: var(--blue);
}

.content-breadcrumb span {
  color: var(--ink);
  font-weight: 700;
}

.content-faq {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--ink);
  gap: 1px;
}

.content-faq details {
  background: var(--paper);
}

.content-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.content-faq summary::-webkit-details-marker {
  display: none;
}

.content-faq summary span {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
}

.content-faq details[open] summary span {
  transform: rotate(45deg);
}

.content-faq summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.content-faq p {
  margin: 0;
  padding: 0 20px 19px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.content-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.content-links a {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 940px) {
  .page-stage {
    padding: 18px;
    background: linear-gradient(180deg, var(--blue) 0 260px, var(--page) 260px 100%);
  }

  .stage-grid {
    width: 100%;
    height: 260px;
  }

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

  .content-hero {
    position: static;
  }

  .content-breadcrumb {
    margin: 0 0 -20px;
  }

  .content-header nav {
    display: none;
  }
}

@media (max-width: 560px) {
  .page-stage {
    padding: 10px;
  }

  .content-shell {
    min-height: calc(100vh - 20px);
    border-radius: 13px;
  }

  .content-shell {
    width: calc(100% - 20px);
    min-height: calc(100vh - 20px);
    margin: 10px;
    border-radius: 12px;
  }

  .content-header {
    min-height: 68px;
    padding: 0 16px;
  }

  .content-main {
    gap: 48px;
    padding: 52px 20px 72px;
  }

  .content-hero h1 {
    font-size: clamp(34px, 10vw, 60px);
  }

  .contact-grid,
  .article-grid,
  .comparison-table {
    grid-template-columns: 1fr;
  }

  .comparison-table div + div {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .content-footer {
    padding: 18px 20px;
  }

  .content-footer .footer-top {
    flex-direction: column;
  }

  .content-footer .footer-aside {
    justify-items: start;
  }

  .content-footer nav {
    justify-content: flex-start;
  }

  .content-footer .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .content-footer .footer-bottom > span {
    flex: 0 0 auto;
  }

  .maker-credit {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
