:root {
  --ink: #111111;
  --paper: #f3f1e9;
  --paper-bright: #fffdf6;
  --acid: #cfff47;
  --acid-deep: #a8d72f;
  --coral: #ff654d;
  --violet: #7456ff;
  --cyan: #50d9ff;
  --line: rgba(17, 17, 17, 0.16);
  --line-light: rgba(255, 255, 255, 0.18);
  --muted: #706f69;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --max: 1240px;
}

@font-face {
  font-family: "Font Awesome 6 Pro";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("/assets/fonts/fa-solid-900.woff2") format("woff2");
}

.fa-solid {
  font-family: "Font Awesome 6 Pro";
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.fa-play::before {
  content: "\f04b";
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

::selection {
  color: var(--ink);
  background: var(--acid);
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--acid);
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: var(--ink);
  border-bottom: 1px solid var(--line-light);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
  letter-spacing: 0.09em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
}

.brand-name,
.brand-lab {
  font-size: 13px;
  font-weight: 900;
}

.brand-slash {
  color: rgba(255, 255, 255, 0.44);
}

.brand-lab {
  color: var(--acid);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}

.site-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 150ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.site-nav .nav-cta {
  padding: 12px 17px;
  color: var(--ink);
  background: var(--acid);
  border-radius: 999px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(800px, calc(100vh - 76px));
  padding: clamp(84px, 10vw, 136px) max(24px, calc((100vw - var(--max)) / 2)) 58px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 74% 22%, rgba(116, 86, 255, 0.24), transparent 28%),
    radial-gradient(circle at 91% 78%, rgba(80, 217, 255, 0.17), transparent 25%),
    var(--ink);
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -8vw;
  bottom: -35vw;
  width: min(780px, 70vw);
  height: min(780px, 70vw);
  content: "";
  background: var(--acid);
  border-radius: 50%;
  opacity: 0.92;
}

.hero-grid,
.anchor-stage-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.orbit-one {
  top: 10%;
  right: 8%;
  width: 36vw;
  height: 36vw;
}

.orbit-two {
  top: 19%;
  right: 17%;
  width: 18vw;
  height: 18vw;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--acid);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-kicker span {
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(207, 255, 71, 0.1);
}

.hero h1 {
  max-width: 1020px;
  margin: 28px 0 26px;
  font-family: var(--serif);
  font-size: clamp(58px, 9.2vw, 132px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.82;
}

.hero h1 em {
  color: var(--acid);
  font-weight: 400;
}

.hero-copy {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 40px 0 74px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  color: var(--ink);
  background: var(--acid);
}

.button-primary:hover {
  background: #ddff7c;
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}

.button-light {
  color: var(--ink);
  background: var(--paper-bright);
}

.button-dark {
  color: #fff;
  background: var(--ink);
}

.button-outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.hero-proof {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 760px;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.hero-proof li {
  display: flex;
  min-height: 90px;
  flex-direction: column;
  justify-content: center;
  padding: 14px 22px;
  border-right: 1px solid var(--line-light);
}

.hero-proof li:last-child {
  border-right: 0;
}

.hero-proof strong {
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
}

.hero-proof span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ticker {
  overflow: hidden;
  color: var(--ink);
  background: var(--acid);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.ticker div {
  display: flex;
  width: max-content;
  min-height: 50px;
  align-items: center;
  gap: 26px;
  padding: 0 28px;
  animation: ticker 28s linear infinite;
}

.ticker span {
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.15em;
}

.ticker i {
  font-style: normal;
}

@keyframes ticker {
  to {
    transform: translateX(-35%);
  }
}

.section-shell {
  padding: clamp(72px, 9vw, 128px) max(24px, calc((100vw - var(--max)) / 2));
}

.section-heading {
  display: grid;
  align-items: end;
  gap: clamp(36px, 9vw, 130px);
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.section-heading.compact {
  align-items: start;
}

.section-heading h2,
.anchor-copy h2,
.consulting h2 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(48px, 6.7vw, 88px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.section-heading p,
.anchor-copy > p,
.consulting-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.section-heading .eyebrow,
.anchor-copy .eyebrow,
.api .eyebrow {
  color: #5b36ea;
}

.playground {
  background: var(--paper);
}

.playground-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 64px;
  padding: 9px;
  background: var(--ink);
  border-radius: 4px;
}

.filter-tabs,
.playground-actions {
  display: flex;
  gap: 6px;
}

.filter-tab,
.tool-button {
  min-height: 42px;
  padding: 0 15px;
  color: rgba(255, 255, 255, 0.65);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.compact-select {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 10px 0 13px;
  color: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.compact-select select {
  color: #fff;
  background: var(--ink);
  border: 0;
  font-size: 10px;
  font-weight: 800;
}

.filter-tab span {
  display: inline-grid;
  min-width: 23px;
  height: 23px;
  margin-left: 6px;
  place-items: center;
  color: inherit;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 9px;
}

.filter-tab.is-active {
  color: var(--ink);
  background: var(--acid);
}

.filter-tab.is-active span {
  background: rgba(17, 17, 17, 0.1);
}

.tool-button {
  border-color: rgba(255, 255, 255, 0.16);
}

.tool-button:hover,
.tool-button:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.playground-status {
  min-height: 22px;
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 13px;
}

.effect-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.effect-card {
  --tile-glow: rgba(91, 54, 234, 0.1);
  --tile-play: #5b36ea;
  position: relative;
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: center;
  padding: 17px 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--paper-bright) 35%, var(--tile-glow) 100%);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.effect-card:nth-child(6n + 2) {
  --tile-glow: rgba(0, 187, 249, 0.11);
  --tile-play: #008fbd;
}

.effect-card:nth-child(6n + 3) {
  --tile-glow: rgba(221, 255, 47, 0.18);
  --tile-play: #789400;
}

.effect-card:nth-child(6n + 4) {
  --tile-glow: rgba(241, 91, 181, 0.12);
  --tile-play: #c52d88;
}

.effect-card:nth-child(6n + 5) {
  --tile-glow: rgba(246, 189, 96, 0.16);
  --tile-play: #b57000;
}

.effect-card:nth-child(6n + 6) {
  --tile-glow: rgba(86, 183, 148, 0.14);
  --tile-play: #257e60;
}

.effect-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(105deg, transparent 50%, var(--tile-glow));
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.effect-card:hover {
  z-index: 1;
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--tile-play) 32%, var(--line));
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.1);
}

.effect-card:hover::after {
  opacity: 0.82;
}

.effect-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.effect-number {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink);
  background: var(--card-accent, var(--acid));
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
}

.effect-kind {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.effect-copy {
  position: relative;
  z-index: 1;
  padding-right: 92px;
}

.effect-card h3 {
  max-width: 100%;
  margin: 10px 0 5px;
  font-family: var(--serif);
  font-size: clamp(20px, 1.75vw, 24px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.effect-meta {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 11px;
}

.effect-play {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 22px;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  color: var(--tile-play);
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06);
  font-size: 31px;
  opacity: 0.34;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.effect-play i {
  margin-left: 4px;
}

.effect-card:hover .effect-play {
  opacity: 0.68;
  transform: translateY(-50%) scale(1.06);
}

.effect-card button {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  cursor: pointer;
  opacity: 0;
}

.effect-card:has(.effect-trigger:focus-visible) {
  outline: 3px solid var(--tile-play);
  outline-offset: 2px;
}

.anchor-demo {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  color: #fff;
  background: var(--ink);
}

.anchor-copy {
  padding-right: clamp(30px, 7vw, 94px);
}

.anchor-copy > p {
  max-width: 560px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.58);
}

pre {
  overflow: auto;
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.72;
  white-space: pre;
}

.anchor-copy pre {
  margin-top: 30px;
  padding: 22px;
  color: #d8ff66;
  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.copy-button {
  margin-top: 12px;
  padding: 0;
  color: rgba(255, 255, 255, 0.62);
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.anchor-stage {
  position: relative;
  display: grid;
  min-height: 570px;
  place-items: center;
  padding: 40px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(207, 255, 71, 0.17), transparent 28%),
    #171717;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.anchor-stage::before,
.anchor-stage::after {
  position: absolute;
  width: 34%;
  height: 34%;
  content: "";
  border: 1px solid rgba(207, 255, 71, 0.26);
  border-radius: 50%;
}

.anchor-stage::before {
  top: -12%;
  right: -8%;
}

.anchor-stage::after {
  bottom: -12%;
  left: -8%;
}

.stage-label {
  position: absolute;
  top: 22px;
  left: 24px;
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.ship-button {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(360px, 100%);
  min-height: 76px;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  color: var(--ink);
  background: var(--acid);
  border: 0;
  border-radius: 3px;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.42);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.ship-button > span:last-child {
  margin-left: auto;
}

.ship-dot {
  width: 10px;
  height: 10px;
  background: var(--ink);
  border-radius: 50%;
}

.anchor-stage p {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  text-align: center;
}

.composer {
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(80, 217, 255, .16), transparent 25%),
    radial-gradient(circle at 9% 84%, rgba(116, 86, 255, .23), transparent 28%),
    #151515;
}

.composer .section-heading p {
  color: rgba(255, 255, 255, .58);
}

.composer-layout {
  display: grid;
  gap: 14px;
  margin-top: 58px;
  grid-template-columns: minmax(0, 1.5fr) minmax(310px, .5fr);
}

.composer-panel,
.composer-code {
  border: 1px solid rgba(255, 255, 255, .17);
  background: rgba(0, 0, 0, .24);
}

.composer-panel {
  padding: clamp(18px, 3vw, 32px);
}

.composer-preset-row {
  display: grid;
  align-items: end;
  gap: 12px;
  grid-template-columns: 1fr auto;
}

.composer label,
.composer legend,
.sequence-heading span {
  color: rgba(255, 255, 255, .55);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.composer input,
.composer select {
  width: 100%;
  min-height: 44px;
  margin-top: 7px;
  padding: 0 11px;
  color: #fff;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 0;
}

.composer-settings {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, .12);
}

.composer-settings legend {
  padding: 0 8px;
  color: var(--acid);
}

.composer .check-control {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  margin-top: 4px;
  color: rgba(255, 255, 255, .75);
}

.composer .check-control input {
  width: 17px;
  min-height: 17px;
  margin: 0;
  accent-color: var(--acid);
}

.sequence-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0 12px;
}

.sequence-heading div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sequence-heading small {
  color: rgba(255, 255, 255, .38);
  font-size: 11px;
}

.tool-button.light {
  color: var(--ink);
  background: var(--acid);
}

.sequence-rows {
  display: grid;
  gap: 8px;
}

.sequence-row {
  display: grid;
  align-items: end;
  gap: 9px;
  padding: 13px;
  grid-template-columns: 38px minmax(180px, 2fr) 84px minmax(110px, 1fr) minmax(120px, 1fr) minmax(105px, .8fr) auto;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
}

.sequence-index {
  display: grid;
  width: 34px;
  height: 44px;
  place-items: center;
  color: var(--ink);
  background: var(--acid);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
}

.sequence-row input,
.sequence-row select {
  min-height: 40px;
  margin-top: 5px;
  font-size: 11px;
}

.remove-stage {
  min-height: 40px;
  padding: 0 10px;
  color: #ff9b8c;
  background: transparent;
  border: 1px solid rgba(255, 101, 77, .42);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}

.remove-stage:disabled {
  cursor: not-allowed;
  opacity: .3;
}

.composer-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.composer .button-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
}

.composer-code {
  position: sticky;
  top: 18px;
  align-self: start;
  padding: 26px;
}

.composer-code pre {
  max-height: 620px;
  margin-top: 22px;
  padding: 18px;
  overflow: auto;
  color: #ddff7c;
  background: #080808;
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: 10px;
  white-space: pre-wrap;
}

.composer-code p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .42);
  font-size: 11px;
  line-height: 1.6;
}

.install {
  background: #e6e2d6;
}

.install-grid {
  display: grid;
  gap: 12px;
  margin-top: 58px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.code-card {
  color: #fff;
  background: var(--ink);
  border: 1px solid #000;
}

.code-card-head {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--line-light);
}

.code-card-head span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.code-card-head button {
  color: var(--acid);
  background: none;
  border: 0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.code-card pre {
  min-height: 174px;
  padding: 25px;
  color: #e8ffac;
}

.download-row {
  display: grid;
  align-items: center;
  margin-top: 12px;
  padding: 24px;
  gap: 12px 28px;
  grid-template-columns: minmax(250px, 1fr) repeat(4, auto);
  background: var(--paper-bright);
  border: 1px solid var(--line);
}

.download-row div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.download-row strong {
  font-size: 14px;
}

.download-row div span {
  color: var(--muted);
  font-size: 11px;
}

.download-row a {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.download-row a:first-of-type {
  padding: 14px 16px;
  background: var(--acid);
}

.api {
  background: var(--paper);
}

.api-grid {
  display: grid;
  margin-top: 64px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.api-grid article {
  min-height: 260px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.api-number {
  color: var(--violet);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
}

.api-grid h3 {
  margin: 74px 0 12px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.api-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

code {
  font-family: var(--mono);
}

.api-grid p code {
  color: #4e2ecb;
  font-size: 11px;
}

.queue-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin-top: 12px;
  padding: clamp(30px, 5vw, 60px);
  color: #fff;
  background:
    linear-gradient(110deg, rgba(116, 86, 255, 0.72), transparent 52%),
    var(--ink);
}

.queue-demo .eyebrow {
  color: var(--acid);
}

.queue-demo h3 {
  margin: 10px 0 7px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.queue-demo p {
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
}

.consulting {
  position: relative;
  display: grid;
  padding: clamp(80px, 11vw, 150px) max(24px, calc((100vw - var(--max)) / 2));
  overflow: hidden;
  gap: 10vw;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  color: #fff;
  background: var(--violet);
}

.consulting::after {
  position: absolute;
  top: -240px;
  right: -160px;
  width: 520px;
  height: 520px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.03),
    0 0 0 140px rgba(255, 255, 255, 0.025);
}

.consulting .eyebrow {
  color: var(--acid);
}

.consulting h2 {
  position: relative;
  z-index: 1;
}

.consulting h2 em {
  color: var(--acid);
  font-weight: 400;
}

.consulting-copy {
  position: relative;
  z-index: 1;
  align-self: end;
}

.consulting-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.consulting-copy .button {
  margin-top: 30px;
}

.site-footer {
  display: grid;
  align-items: center;
  padding: 32px max(24px, calc((100vw - var(--max)) / 2));
  gap: 30px;
  grid-template-columns: auto 1fr auto;
  color: #fff;
  background: var(--ink);
  border-top: 1px solid var(--line-light);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  text-align: center;
}

.site-footer > div {
  display: flex;
  gap: 20px;
}

.site-footer > div a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  z-index: 9999;
  right: 18px;
  bottom: 18px;
  padding: 13px 16px;
  color: var(--ink);
  background: var(--acid);
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  font-size: 12px;
  font-weight: 850;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.celebration-js-layer {
  position: fixed;
  z-index: 9000;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.celebration-alert-root {
  position: fixed;
  z-index: 9100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 180ms ease;
}

.celebration-alert-root.is-open {
  opacity: 1;
}

.celebration-alert-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.celebration-alert {
  position: relative;
  width: min(460px, 100%);
  padding: 34px;
  color: #fff;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.celebration-alert-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--ink);
  background: var(--acid);
  border-radius: 50%;
  font-size: 23px;
}

.celebration-alert-root[data-type="error"] .celebration-alert-icon {
  color: #fff;
  background: var(--coral);
}

.celebration-alert h2 {
  margin: 24px 0 10px;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
}

.celebration-alert p {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}

.celebration-alert button {
  width: 100%;
  min-height: 50px;
  margin-top: 18px;
  color: var(--ink);
  background: var(--acid);
  border: 0;
  font-weight: 900;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .hero::after {
    right: -26vw;
    bottom: -28vw;
    width: 86vw;
    height: 86vw;
    opacity: 0.35;
  }

  .section-heading,
  .anchor-demo,
  .consulting {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    gap: 28px;
  }

  .section-heading p {
    max-width: 620px;
  }

  .effect-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .playground-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-tabs,
  .playground-actions {
    overflow-x: auto;
  }

  .filter-tab,
  .tool-button {
    flex: 0 0 auto;
  }

  .anchor-copy {
    padding: 0 0 52px;
  }

  .install-grid {
    grid-template-columns: 1fr;
  }

  .composer-layout {
    grid-template-columns: 1fr;
  }

  .composer-settings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sequence-row {
    grid-template-columns: 38px repeat(2, minmax(0, 1fr));
  }

  .sequence-row label:first-of-type {
    grid-column: span 2;
  }

  .composer-code {
    position: static;
  }

  .download-row {
    grid-template-columns: 1fr 1fr;
  }

  .download-row div {
    grid-column: 1 / -1;
  }

  .api-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consulting {
    gap: 48px;
  }

  .consulting-copy {
    max-width: 620px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand-slash,
  .brand-lab {
    display: none;
  }

  .site-nav .nav-cta {
    padding: 10px 13px;
    font-size: 9px;
  }

  .hero {
    min-height: auto;
    padding: 72px 20px 46px;
  }

  .hero h1 {
    font-size: clamp(52px, 17vw, 78px);
    line-height: 0.88;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 50px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-proof li {
    border-bottom: 1px solid var(--line-light);
  }

  .hero-proof li:nth-child(2) {
    border-right: 0;
  }

  .hero-proof li:nth-child(n+3) {
    border-bottom: 0;
  }

  .section-shell,
  .consulting {
    padding: 72px 20px;
  }

  .section-heading h2,
  .anchor-copy h2,
  .consulting h2 {
    font-size: clamp(45px, 14vw, 64px);
  }

  .playground-toolbar {
    margin-top: 42px;
  }

  .filter-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .filter-tab {
    justify-content: space-between;
    text-align: left;
  }

  .effect-grid {
    grid-template-columns: 1fr;
  }

  .effect-card {
    min-height: 132px;
    padding: 15px 17px;
  }

  .effect-copy {
    padding-right: 76px;
  }

  .effect-play {
    right: 17px;
    width: 58px;
    height: 58px;
    font-size: 26px;
  }

  .anchor-stage {
    min-height: 410px;
    padding: 22px;
  }

  .ship-button {
    min-height: 66px;
    font-size: 12px;
  }

  .download-row,
  .api-grid {
    grid-template-columns: 1fr;
  }

  .composer-preset-row,
  .composer-settings,
  .sequence-row {
    grid-template-columns: 1fr;
  }

  .sequence-row label:first-of-type {
    grid-column: auto;
  }

  .sequence-index {
    width: 100%;
    height: 32px;
  }

  .composer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .download-row a {
    padding: 12px 0;
  }

  .download-row a:first-of-type {
    padding: 14px 16px;
  }

  .api-grid article {
    min-height: 220px;
  }

  .api-grid h3 {
    margin-top: 52px;
  }

  .queue-demo {
    align-items: stretch;
    flex-direction: column;
  }

  .queue-demo .button {
    width: 100%;
  }

  .site-footer > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

html[data-celebration-motion="reduce"] {
  scroll-behavior: auto;
}

html[data-celebration-motion="reduce"] *,
html[data-celebration-motion="reduce"] *::before,
html[data-celebration-motion="reduce"] *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-celebration-motion="full"]) {
    scroll-behavior: auto;
  }

  html:not([data-celebration-motion="full"]) *,
  html:not([data-celebration-motion="full"]) *::before,
  html:not([data-celebration-motion="full"]) *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
