.dock-hero canvas {
  mask-image: linear-gradient(#000 78%, transparent);
}
.motion-toggle {
  position: absolute;
  inset: auto max(20px, calc((100% - 1120px) / 2)) 20px auto;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--site-line);
  border-radius: 50%;
  background: var(--forest);
  color: var(--site-muted);
}
.motion-toggle:hover {
  color: var(--white);
  border-color: var(--control-border);
}
.motion-toggle svg {
  width: 19px;
  height: 19px;
}
.home-chapter {
  padding-block: clamp(76px, 8vw, 120px);
  scroll-margin-top: 24px;
}
.page-home .home-chapter .eyebrow {
  color: var(--site-success);
  font-family: var(--font-mono);
  margin-bottom: 18px;
}
.home-chapter h2,
.home-start h2 {
  font-size: clamp(42px, 4.4vw, 64px);
  font-weight: 550;
  line-height: 1.02;
  letter-spacing: -0.065em;
}
.hosted-layout h2,
.api-layout h2 {
  font-size: clamp(42px, 4.1vw, 58px);
}
.chapter-copy > p:not(.eyebrow) {
  max-width: 34ch;
  margin-top: 24px;
  color: var(--site-muted);
  font-size: 17px;
  line-height: 1.65;
}
.chapter-copy > .text-link {
  margin-top: 18px;
  font-weight: 650;
}
.hosted-layout,
.api-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.55fr);
  align-items: center;
  column-gap: clamp(38px, 5.2vw, 78px);
  row-gap: 34px;
}
.hosted-layout > .chapter-copy {
  align-self: center;
}
.checkout-stage {
  min-width: 0;
  padding: 22px 27px 30px;
  border-radius: 15px;
  background: linear-gradient(#b4c6ff0b 1px, transparent 1px), linear-gradient(90deg, #b4c6ff0b 1px, transparent 1px), var(--forest);
  background-size: 24px 24px;
}
.stage-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 23px;
  color: var(--site-muted);
  font: 11px/1.5 var(--font-mono);
  letter-spacing: 0.045em;
}
.checkout-scene {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, 0.9fr);
  align-items: center;
  padding: 0 2px 2px;
}
.brief-sheet,
.checkout-sample {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--site-line);
  border-radius: 10px;
  box-shadow: 0 16px 36px #070e2352;
}
.brief-sheet {
  overflow: hidden;
}
.brief-cover {
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  aspect-ratio: 2.25;
  background: #243d82;
  color: #fff;
  padding: 15px 18px;
  overflow: hidden;
}
.brief-cover img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.62) contrast(1.08);
  mix-blend-mode: luminosity;
}
.brief-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(transparent 34%, #142345e8);
}
.brief-cover > span {
  font: 10px/1.4 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.brief-body {
  min-height: 208px;
  padding: 22px 30px 24px 21px;
}
.brief-body h3 {
  max-width: 17ch;
  font-size: clamp(19px, 2.25vw, 31px);
  font-weight: 650;
  line-height: 1.11;
  letter-spacing: -0.042em;
  overflow-wrap: anywhere;
}
.brief-body > p {
  max-width: 28ch;
  margin-top: 10px;
  color: var(--site-muted);
  font-size: 13px;
  line-height: 1.55;
}
.brief-locked,
.brief-unlocked {
  margin-top: 23px;
}
.brief-locked > span,
.brief-unlocked > span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--site-success);
}
.brief-unlocked > span {
  color: #b0e3ce;
}
.brief-locked svg,
.brief-unlocked svg {
  width: 15px;
  height: 15px;
}
.brief-unlocked h4 {
  margin: 10px 0 4px;
  font-size: 13px;
}
.brief-unlocked p,
.brief-unlocked pre {
  font-size: 12px;
  line-height: 1.5;
}
.brief-unlocked pre {
  margin-top: 9px;
  padding: 8px;
  background: var(--forest);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.checkout-sample {
  position: relative;
  margin-left: -17px;
  margin-top: 46px;
  padding: 17px 17px 14px;
}
.sample-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sample-heading > span {
  width: 35px;
  height: 35px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #23345c;
  color: var(--site-success);
}
.sample-heading svg {
  width: 19px;
  height: 19px;
}
.sample-heading h3 {
  font-size: 16px;
  line-height: 1.2;
}
.sample-heading p {
  color: var(--site-muted);
  font-size: 12px;
}
.sample-currencies {
  min-width: 0;
  border: 0;
  margin: 17px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.sample-currencies label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 550;
}
.sample-currencies label:has(input:checked:not(:disabled)) {
  background: #22345c;
  border-color: #728fcb;
  color: var(--foreground);
}
.sample-currencies label:has(input:disabled) {
  cursor: default;
  color: var(--site-muted);
}
.sample-currencies input {
  margin: 0;
  accent-color: var(--site-success);
}
.sample-total {
  margin: 15px 0 12px;
  display: flex;
  gap: 5px 8px;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  color: var(--site-muted);
  font-size: 12px;
}
.sample-total small {
  font-size: 10px;
}
.sample-total strong {
  color: var(--foreground);
  font: 650 12px/1.5 var(--font-mono);
  overflow-wrap: anywhere;
}
.page-home #studio-run {
  width: 100%;
  min-height: 44px;
  justify-content: space-between;
  gap: 7px;
  background: var(--action);
  border-color: var(--action);
  color: #fff;
  padding: 9px 11px;
  font-size: 12px;
}
.page-home #studio-run:hover {
  background: #1934c9;
  border-color: #1934c9;
}
#studio-run svg {
  flex: none;
  width: 16px;
  height: 16px;
}
.sample-caption {
  min-height: 2.9em;
  padding-top: 9px;
  color: var(--site-muted);
  font-size: 11px;
  line-height: 1.45;
}
.preview-settings {
  margin-top: 8px;
}
.preview-settings summary,
.demo-inspector summary {
  display: list-item;
  align-content: center;
  min-height: 44px;
  cursor: pointer;
  color: var(--site-muted);
  font-size: 13px;
  font-weight: 550;
}
.preview-settings summary:hover,
.demo-inspector summary:hover {
  color: var(--site-success);
}
.preview-settings .form-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 8px 0 12px;
}
.preview-settings .form-stack :is(input, select) {
  background: var(--panel);
}
.preview-settings .form-help {
  align-self: end;
  padding-bottom: 6px;
}
.preview-settings .form-error {
  grid-column: 1 / -1;
  color: var(--site-error);
  font-size: 14px;
}
.preview-settings .text-link {
  justify-self: start;
  font-weight: 650;
}
.api-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
}
.api-layout > .chapter-copy {
  grid-column: 2;
  grid-row: 1;
}
.api-example {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
.api-window {
  border: 1px solid var(--site-line);
  border-radius: 12px;
  background: var(--forest);
  overflow: hidden;
}
.api-window-bar,
.api-window figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #b1c0de;
  font: 12px/1.4 var(--font-mono);
}
.api-window-bar {
  padding: 16px 22px;
  background: var(--panel);
}
.api-window-bar code {
  color: #fff;
}
.api-window-bar code > span,
.code-key {
  color: #a7baff;
}
.api-window figure {
  margin: 0;
  padding: 20px 22px;
}
.api-status {
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 550;
}
.api-status-locked {
  color: #fed4ac;
  background: #f9a85d20;
}
.api-status-paid,
.code-value {
  color: #b0e3ce;
}
.api-status-paid {
  background: #91debe20;
}
.api-window pre {
  margin: 12px 0 0;
  padding: 0;
  background: none;
  border: 0;
  color: #e4ebff;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.demo-inspector {
  margin-top: 9px;
}
.inspector-content {
  padding-bottom: 18px;
}
.inspector-content .button {
  min-height: 44px;
  padding: 9px 12px;
  font-size: 12px;
  margin: 0 10px 8px 0;
}
.inspector-content code,
.inspector-content p,
.inspector-content pre {
  color: var(--site-muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.inspector-content pre {
  max-height: 240px;
  white-space: pre-wrap;
}
.flow-heading {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 50px;
  align-items: end;
  margin-bottom: 44px;
}
.flow-heading > p {
  padding-bottom: 5px;
}
.home-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px clamp(26px, 4vw, 64px);
  margin: 0;
  padding: 12px 0;
  list-style: none;
}
.step-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 19px;
  color: var(--site-success);
}
.step-heading > svg {
  width: 24px;
  height: 24px;
}
.step-heading > span {
  color: var(--site-muted);
  font: 11px/1.6 var(--font-mono);
}
.home-steps h3 {
  font-size: 20px;
  font-weight: 650;
}
.home-steps p {
  max-width: 28ch;
  margin-top: 8px;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.6;
}
.network-line {
  display: flex;
  justify-content: space-between;
  gap: 4px 20px;
  align-items: center;
  margin-top: 32px;
  font-size: 13px;
  color: var(--site-muted);
}
.network-line strong {
  color: var(--foreground);
}
.network-line .text-link {
  flex: none;
  font-size: inherit;
  font-weight: 650;
}
.home-start {
  padding-block: clamp(55px, 6vw, 84px);
}
.home-start-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
}
.start-actions {
  display: grid;
  gap: 8px;
  justify-items: start;
}
.start-actions .button {
  gap: 24px;
}
.start-actions .text-link {
  font-size: 14px;
}
@media (max-width: 985px) {
  .hosted-layout,
  .api-layout {
    grid-template-columns: 1fr;
  }
  .api-layout > .chapter-copy,
  .api-example {
    grid-column: auto;
    grid-row: auto;
  }
  .checkout-stage,
  .api-example {
    max-width: 740px;
  }
  .hosted-example {
    max-width: 740px;
  }
}
@media (max-width: 650px) {
  .home-chapter {
    padding-block: 64px;
  }
  .home-chapter h2,
  .home-start h2 {
    font-size: clamp(37px, 9.2vw, 58px);
  }
  .chapter-copy > p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 16px;
  }
  .checkout-stage {
    padding: 14px;
  }
  .stage-caption {
    margin-bottom: 14px;
    font-size: 10px;
  }
  .checkout-scene {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .brief-cover {
    aspect-ratio: 2.65;
  }
  .brief-body {
    min-height: 0;
    padding: 15px;
  }
  .brief-body h3 {
    max-width: none;
    font-size: 22px;
  }
  .brief-locked,
  .brief-unlocked {
    margin-top: 13px;
  }
  .checkout-sample {
    margin: -1px 0 0;
    padding: 14px 15px 11px;
  }
  .sample-currencies {
    margin-top: 12px;
  }
  .sample-caption {
    min-height: 0;
  }
  .api-window-bar,
  .api-window figure {
    padding-inline: 14px;
  }
  .api-window pre {
    font-size: 11px;
  }
  .flow-heading {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 26px;
  }
  .home-steps {
    grid-template-columns: 1fr;
  }
  .home-steps li {
    padding-left: 32px;
    position: relative;
  }
  .step-heading {
    position: absolute;
    left: 0;
    top: 4px;
  }
  .step-heading > svg {
    width: 18px;
    height: 18px;
  }
  .step-heading > span {
    display: none;
  }
  .home-steps p {
    max-width: none;
    margin-top: 4px;
  }
  .network-line,
  .home-start-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: clamp(51px, 13vw, 65px);
  }
  .preview-settings .form-stack {
    grid-template-columns: 1fr;
  }
}
