.docs-page {
  background: var(--cream);
}

.docs-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}

.docs-hero::before,
.docs-hero::after {
  position: absolute;
  border-radius: 999px;
  background: var(--orange);
  content: "";
  opacity: 0.9;
}

.docs-hero::before {
  top: 48px;
  right: -110px;
  width: 280px;
  height: 18px;
  transform: rotate(-12deg);
}

.docs-hero::after {
  right: 25%;
  bottom: 26px;
  width: 88px;
  height: 8px;
  transform: rotate(8deg);
}

.docs-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 72px;
  padding-top: 82px;
  padding-bottom: 78px;
}

.docs-hero-copy {
  max-width: 720px;
}

.docs-hero-copy h1 {
  max-width: 700px;
  margin: 22px 0 20px;
  color: var(--cream);
  font-size: clamp(48px, 7vw, 78px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.docs-hero-lede {
  max-width: 610px;
  margin: 0;
  color: rgb(255 248 232 / 78%);
  font-size: 18px;
  line-height: 28px;
}

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

.docs-hero-note {
  position: relative;
  padding: 26px 28px 24px;
  border: 1px solid var(--cream);
  border-radius: var(--radius-card);
  background: var(--cream);
  box-shadow: 8px 8px 0 var(--orange);
  color: var(--ink);
  transform: rotate(1.5deg);
}

.docs-note-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.docs-note-top img {
  width: 48px;
  height: 48px;
}

.docs-note-version,
.docs-note-label,
.docs-toc-label,
.docs-panel-label,
.docs-flow-label,
.docs-code-head,
.docs-kicker {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 16px;
  text-transform: uppercase;
}

.docs-note-version {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: none;
}

.docs-note-label {
  margin: 22px 0 8px;
  color: var(--muted);
}

.docs-hero-note ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-hero-note li {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.docs-hero-note li > span {
  grid-row: span 2;
  color: var(--orange-hover);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}

.docs-hero-note li strong {
  font-size: 15px;
  font-weight: 850;
}

.docs-hero-note li small {
  color: var(--muted);
  font-size: 13px;
  line-height: 19px;
}

.docs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 72px;
  padding-top: 72px;
  padding-bottom: 88px;
}

.docs-sidebar {
  min-width: 0;
}

.docs-toc-desktop {
  position: sticky;
  top: 104px;
}

.docs-toc-label {
  margin: 0 0 14px;
  color: var(--muted);
}

.docs-toc a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.docs-toc a:hover,
.docs-toc a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.docs-sidebar-note {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.docs-sidebar-note-mark {
  display: grid;
  width: 26px;
  height: 26px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  font-size: 14px;
  font-weight: 900;
}

.docs-sidebar-note strong {
  display: block;
  font-size: 14px;
  font-weight: 850;
  line-height: 19px;
}

.docs-sidebar-note p {
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
}

.docs-sidebar-note a {
  padding: 4px 0;
  font-size: 12px;
}

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

.docs-content {
  min-width: 0;
}

.docs-section {
  padding-bottom: 92px;
  border-bottom: 1px solid var(--border);
}

.docs-section + .docs-section {
  padding-top: 84px;
}

.docs-section-last {
  border-bottom: 0;
  padding-bottom: 16px;
}

.docs-section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.docs-section-heading h2 {
  max-width: 760px;
  margin: 10px 0 16px;
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.docs-section-heading > p:last-child {
  max-width: 710px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 27px;
}

.docs-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--orange-hover);
}

.docs-kicker span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
}

.docs-kicker-small {
  font-size: 10px;
}

.docs-kicker-small span {
  display: none;
}

.docs-card-grid {
  display: grid;
  gap: 18px;
}

.docs-card-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.docs-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--border);
  border-top: 4px solid var(--ink);
  border-radius: var(--radius-card);
  background: var(--white);
}

.docs-card-owner {
  border-top-color: var(--orange);
}

.docs-card-agent {
  background: var(--surface);
}

.docs-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.docs-badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 15px;
}

.docs-badge-orange {
  background: var(--orange);
  color: var(--ink);
}

.docs-badge-ink {
  background: var(--ink);
  color: var(--cream);
}

.docs-card-arrow {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.docs-card h3 {
  margin: 23px 0 9px;
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.docs-card-lede {
  min-height: 54px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 23px;
}

.docs-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0 0 22px 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}

.docs-steps li::marker {
  color: var(--orange-hover);
  font-family: var(--mono);
  font-weight: 800;
}

.docs-steps strong {
  color: var(--ink);
  font-weight: 800;
}

.docs-card a,
.docs-content a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.docs-card-link {
  align-self: flex-start;
  margin-top: auto;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.docs-callout {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  margin-top: 20px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.docs-callout-orange {
  border-color: var(--orange);
  background: #fff0e2;
}

.docs-callout-ink {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.docs-callout-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 900;
}

.docs-callout strong {
  display: block;
  margin: 2px 0 4px;
  font-size: 15px;
  font-weight: 850;
}

.docs-callout p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}

.docs-callout-ink p {
  color: rgb(255 248 232 / 76%);
}

.docs-flow {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-flow-step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 22px;
  padding: 30px 0;
  border-top: 1px solid var(--border);
}

.docs-flow-step:last-child {
  border-bottom: 1px solid var(--border);
}

.docs-flow-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
}

.docs-flow-body {
  min-width: 0;
}

.docs-flow-label {
  margin: 1px 0 7px;
  color: var(--orange-hover);
}

.docs-flow-body h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.docs-flow-body > p:not(.docs-flow-label) {
  max-width: 700px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 24px;
}

.docs-flow-body > p:last-child {
  margin-bottom: 0;
}

code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

.docs-code-block code,
.docs-api-panel-dark code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.docs-code-block {
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid rgb(6 23 23 / 20%);
  border-radius: 12px;
  background: var(--ink);
  color: var(--cream);
}

.docs-code-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 10px 16px;
  border-bottom: 1px solid rgb(255 248 232 / 16%);
  color: rgb(255 248 232 / 66%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.docs-code-head span:last-child {
  color: var(--orange);
}

.docs-code-block pre {
  margin: 0;
  padding: 17px 18px 19px;
  font: 13px/1.65 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.docs-code-note {
  margin: 0;
  padding: 12px 16px 15px;
  border-top: 1px solid rgb(255 248 232 / 16%);
  color: rgb(255 248 232 / 66%);
  font-size: 12px;
  line-height: 18px;
}

.docs-inline-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.docs-inline-facts span {
  display: block;
  padding: 12px 14px;
  border-left: 3px solid var(--orange);
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  line-height: 19px;
}

.docs-inline-facts strong {
  display: block;
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-host-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 18px;
}

.docs-host-list {
  display: grid;
  gap: 12px;
}

.docs-mini-card {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}

.docs-mini-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--orange-hover);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
}

.docs-mini-card h3 {
  margin: 1px 0 4px;
  font-size: 15px;
  font-weight: 850;
  line-height: 20px;
}

.docs-mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}

.docs-code-block-tall {
  margin-top: 0;
}

.docs-subsection {
  margin-top: 48px;
}

.docs-subsection h3 {
  margin: 8px 0 20px;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.035em;
}

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

.docs-checklist > div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.docs-checklist > div > span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.docs-checklist p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
}

.docs-checklist strong {
  color: var(--ink);
}

.docs-heading-with-action {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.docs-heading-with-action > div {
  min-width: 0;
}

.docs-quiet-link {
  flex: 0 0 auto;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.docs-api-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.docs-api-meta span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.docs-api-meta strong {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.docs-api-meta code {
  width: 100%;
  background: transparent;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.docs-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}

.docs-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 20px;
}

.docs-table caption {
  padding: 16px 18px 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  text-align: left;
}

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

.docs-table th {
  background: var(--surface);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.docs-table th:nth-child(2),
.docs-table td:nth-child(2) {
  width: 250px;
}

.docs-table td:last-child {
  color: var(--muted);
}

.docs-table td code {
  display: inline-block;
  max-width: 100%;
  background: var(--surface);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.method {
  display: inline-flex;
  min-width: 48px;
  justify-content: center;
  padding: 3px 6px;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.method-get {
  background: #e0f0e7;
  color: var(--success);
}

.method-post {
  background: #ffe0cb;
  color: var(--orange-hover);
}

.docs-api-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.docs-api-panel {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.docs-api-panel-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.docs-panel-label {
  margin: 0 0 12px;
  color: var(--orange-hover);
}

.docs-api-panel-dark .docs-panel-label {
  color: var(--orange);
}

.docs-api-panel h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.docs-api-panel > p:not(.docs-panel-label) {
  min-height: 48px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}

.docs-api-panel-dark > p:not(.docs-panel-label) {
  color: rgb(255 248 232 / 72%);
}

.docs-retry-callout {
  margin-top: 20px;
}

.docs-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  align-items: stretch;
  gap: 18px;
}

.docs-intro-steps {
  display: grid;
  gap: 12px;
}

.docs-intro-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}

.docs-intro-step > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
}

.docs-intro-step h3 {
  margin: 1px 0 4px;
  font-size: 16px;
  font-weight: 850;
  line-height: 21px;
}

.docs-intro-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}

.docs-intro-limit {
  padding: 24px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-card);
  background: var(--orange);
  color: var(--ink);
}

.docs-intro-limit .docs-panel-label {
  color: rgb(6 23 23 / 68%);
}

.docs-limit-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 17px 0;
  border-top: 1px solid rgb(6 23 23 / 25%);
}

.docs-limit-value strong {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.docs-limit-value span {
  max-width: 120px;
  font-size: 12px;
  font-weight: 750;
  line-height: 17px;
}

.docs-limit-note {
  margin: 12px 0 0;
  color: rgb(6 23 23 / 74%);
  font-size: 12px;
  line-height: 18px;
}

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

.docs-rule-grid article {
  min-width: 0;
  padding: 21px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}

.docs-rule-number {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
}

.docs-rule-grid h3 {
  margin: 17px 0 6px;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.docs-rule-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 21px;
}

.docs-resource-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 1.15fr);
  align-items: center;
  gap: 28px;
  margin-top: 20px;
  padding: 26px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-card);
  background: var(--ink);
  color: var(--cream);
}

.docs-resource-card h3 {
  margin: 8px 0 7px;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.docs-resource-card p:last-child {
  margin: 0;
  color: rgb(255 248 232 / 72%);
  font-size: 13px;
  line-height: 20px;
}

.docs-resource-card .docs-kicker {
  color: var(--orange);
}

.docs-resource-links {
  display: grid;
  gap: 8px;
}

.docs-resource-links a {
  display: grid;
  grid-template-columns: minmax(80px, 0.55fr) minmax(0, 1.3fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid rgb(255 248 232 / 20%);
  border-radius: 9px;
  color: var(--cream);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.docs-resource-links a:hover {
  border-color: var(--orange);
  background: rgb(255 248 232 / 7%);
}

.docs-resource-links code {
  min-width: 0;
  background: transparent;
  color: rgb(255 248 232 / 66%);
  font-size: 11px;
}

.docs-resource-links a > span:last-child {
  color: var(--orange);
  font-size: 16px;
  text-align: right;
}

.docs-back-top {
  margin: 32px 0 0;
  text-align: right;
}

.docs-back-top a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .docs-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.65fr);
    gap: 42px;
  }

  .docs-layout {
    gap: 42px;
  }

  .docs-card {
    padding: 22px;
  }

  .docs-checklist {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .docs-hero-inner {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 60px;
    padding-bottom: 58px;
  }

  .docs-hero-note {
    width: min(100%, 440px);
    margin-left: auto;
  }

  .docs-layout {
    display: block;
    padding-top: 28px;
  }

  .docs-toc-desktop {
    display: none;
  }

  .docs-toc-mobile {
    display: block;
    margin-bottom: 44px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
  }

  .docs-toc-mobile summary {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 850;
    list-style: none;
  }

  .docs-toc-mobile summary::-webkit-details-marker {
    display: none;
  }

  .docs-toc-mobile summary span {
    color: var(--orange-hover);
    font-family: var(--mono);
    font-size: 20px;
    font-weight: 500;
  }

  .docs-toc-mobile[open] summary span {
    transform: rotate(45deg);
  }

  .docs-toc-mobile nav {
    padding: 4px 16px 12px;
    border-top: 1px solid var(--border);
  }

  .docs-toc-mobile a {
    padding: 10px 0;
  }

  .docs-section {
    padding-bottom: 64px;
  }

  .docs-section + .docs-section {
    padding-top: 64px;
  }

  .docs-heading-with-action {
    display: block;
  }

  .docs-quiet-link {
    display: inline-block;
    margin-top: 18px;
  }

  .docs-host-grid,
  .docs-resource-card {
    grid-template-columns: 1fr;
  }

  .docs-code-block-tall {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .docs-hero::before {
    right: -165px;
  }

  .docs-hero-copy h1 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .docs-hero-lede {
    font-size: 16px;
    line-height: 25px;
  }

  .docs-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .docs-hero-actions .button {
    width: 100%;
  }

  .docs-hero-note {
    padding: 21px 20px 18px;
  }

  .docs-section-heading {
    margin-bottom: 26px;
  }

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

  .docs-section-heading > p:last-child {
    font-size: 15px;
    line-height: 24px;
  }

  .docs-card-grid-two,
  .docs-api-grid,
  .docs-rule-grid {
    grid-template-columns: 1fr;
  }

  .docs-card {
    padding: 20px;
  }

  .docs-card-lede {
    min-height: 0;
  }

  .docs-callout {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    padding: 16px;
  }

  .docs-callout-icon {
    width: 27px;
    height: 27px;
  }

  .docs-flow-step {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
    padding: 24px 0;
  }

  .docs-flow-number {
    width: 34px;
    height: 34px;
    font-size: 10px;
  }

  .docs-flow-body h3 {
    font-size: 21px;
  }

  .docs-flow-body > p:not(.docs-flow-label) {
    font-size: 14px;
    line-height: 22px;
  }

  .docs-code-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .docs-code-block pre {
    padding: 14px;
    font-size: 11px;
    line-height: 1.6;
  }

  .docs-inline-facts,
  .docs-api-meta {
    grid-template-columns: 1fr;
  }

  .docs-api-panel {
    padding: 20px;
  }

  .docs-api-panel > p:not(.docs-panel-label) {
    min-height: 0;
  }

  .docs-intro-grid {
    grid-template-columns: 1fr;
  }

  .docs-intro-limit {
    padding: 20px;
  }

  .docs-rule-grid article {
    padding: 18px;
  }

  .docs-resource-card {
    padding: 20px;
  }

  .docs-resource-links a {
    grid-template-columns: minmax(74px, 0.6fr) minmax(0, 1.2fr) 16px;
    gap: 7px;
    padding: 10px;
    font-size: 11px;
  }

  .docs-resource-links code {
    font-size: 10px;
  }
}
