:root {
  --night: #151421;
  --night-soft: #201a2b;
  --plum: #493b4b;
  --plum-deep: #2d2130;
  --paper: #f2d4a0;
  --paper-light: #fae9c8;
  --paper-pale: #fff4dc;
  --gold: #e3b87c;
  --gold-bright: #f4cc72;
  --rust: #aa5238;
  --rust-dark: #763525;
  --sage: #47664f;
  --sage-deep: #2f4937;
  --sky: #173451;
  --ink: #21191d;
  --ink-soft: #5b443d;
  --cream: #fff8e8;
  --line-dark: rgb(33 25 29 / 24%);
  --line-light: rgb(255 248 232 / 22%);
  --shadow: 0 24px 70px rgb(13 10 17 / 28%);
  --display: "Rye", Georgia, serif;
  --body: Georgia, "Times New Roman", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: min(1180px, calc(100vw - 48px));
  --parallax-x: 0px;
  --parallax-y: 0px;
  --scroll-progress: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

html.marketing-document {
  scroll-padding-top: 0;
}

html.marketing-document .section {
  scroll-margin-top: -2px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--night);
  color: var(--cream);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: var(--gold-bright);
  color: var(--ink);
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

code,
pre {
  font-family: var(--mono);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--paper-pale);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgb(18 17 29 / 86%), transparent);
  transition: background-color 200ms ease, border-color 200ms ease, backdrop-filter 200ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line-light);
  background: rgb(21 20 33 / 88%);
  box-shadow: 0 8px 32px rgb(0 0 0 / 16%);
  backdrop-filter: blur(14px);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  width: calc(var(--scroll-progress) * 1%);
  height: 2px;
  background: var(--gold-bright);
  box-shadow: 0 0 16px var(--gold);
  content: "";
}

.site-nav {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-family: var(--display);
  text-decoration: none;
  white-space: nowrap;
}

.brand__sheriff {
  display: block;
  width: clamp(46px, 4vw, 54px);
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 3px 7px rgb(0 0 0 / 30%));
}

.brand__name {
  font-size: 20px;
  letter-spacing: 0.02em;
}

.brand__short {
  display: none;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav__jump {
  position: relative;
}

.site-nav__jump summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgb(227 184 124 / 62%);
  color: var(--gold-bright);
  cursor: pointer;
  list-style: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.site-nav__jump summary::-webkit-details-marker {
  display: none;
}

.site-nav__jump summary::marker {
  content: "";
}

.site-nav__jump summary:hover,
.site-nav__jump summary:focus-visible,
.site-nav__jump[open] summary {
  border-color: var(--gold-bright);
  background: rgb(244 204 114 / 12%);
  color: var(--cream);
}

.site-nav__jump summary:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
}

.site-nav__jump-icon {
  display: grid;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  place-items: center;
}

.site-nav__jump-icon svg {
  display: block;
  width: 12px;
  height: 8px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transform-origin: center;
  transition: transform 160ms ease;
}

.site-nav__jump[open] .site-nav__jump-icon svg {
  transform: rotate(180deg);
}

.site-nav__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: min(300px, calc(100vw - 32px));
  max-height: calc(100svh - 100px);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid rgb(227 184 124 / 58%);
  background: rgb(32 26 43 / 98%);
  box-shadow: 0 16px 36px rgb(13 10 17 / 34%);
  backdrop-filter: blur(16px);
}

.site-nav__menu a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  color: rgb(255 248 232 / 82%);
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}

.site-nav__menu a + a {
  border-top: 1px solid rgb(255 248 232 / 10%);
}

.site-nav__menu a > span {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.site-nav__menu a:hover,
.site-nav__menu a:focus-visible {
  background: rgb(244 204 114 / 12%);
  color: var(--cream);
}

.site-nav__menu a:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: -2px;
}

.site-nav__menu .site-nav__menu-docs {
  margin-top: 6px;
  border-top-color: rgb(227 184 124 / 50%);
  color: var(--gold-bright);
}

.hero {
  position: relative;
  display: grid;
  min-height: max(760px, 100svh);
  overflow: hidden;
  align-items: center;
  isolation: isolate;
}

.hero:has(.sheriff-playlist[open]) {
  z-index: 99;
  overflow: visible;
}

.hero__scene,
.hero__backdrop,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__scene {
  z-index: -3;
  overflow: hidden;
  background: var(--sky);
}

.hero__backdrop {
  inset: -4%;
  background-image: url("/assets/images/wildwest-bg.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.9) contrast(1.02);
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) scale(1.09);
  transition: transform 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
  animation: horizon-breathe 24s ease-in-out infinite alternate;
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(17 17 27 / 90%) 0%, rgb(28 24 39 / 70%) 43%, rgb(29 22 34 / 20%) 76%),
    linear-gradient(0deg, var(--night) 0%, transparent 22%, rgb(18 17 29 / 18%) 70%, rgb(18 17 29 / 55%) 100%);
}

.hero__sun {
  position: absolute;
  top: 8%;
  right: 16%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 210 116 / 30%), rgb(255 184 84 / 8%) 45%, transparent 72%);
  filter: blur(3px);
  animation: sun-pulse 8s ease-in-out infinite;
}

.hero__cloud {
  position: absolute;
  height: 32px;
  border-radius: 50%;
  background: rgb(246 220 172 / 10%);
  filter: blur(8px);
}

.hero__cloud--one {
  top: 20%;
  left: -180px;
  width: 420px;
  animation: cloud-drift 36s linear infinite;
}

.hero__cloud--two {
  top: 34%;
  left: -300px;
  width: 280px;
  animation: cloud-drift 48s 9s linear infinite;
}

.dust-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.dust-field i {
  position: absolute;
  bottom: -20px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 7px rgb(244 204 114 / 70%);
  opacity: 0;
  animation: dust-rise 9s linear infinite;
}

.dust-field i:nth-child(1) { left: 4%; animation-delay: -2s; }
.dust-field i:nth-child(2) { left: 12%; width: 2px; height: 2px; animation-delay: -6s; animation-duration: 12s; }
.dust-field i:nth-child(3) { left: 24%; animation-delay: -4s; animation-duration: 11s; }
.dust-field i:nth-child(4) { left: 37%; width: 3px; height: 3px; animation-delay: -8s; }
.dust-field i:nth-child(5) { left: 48%; animation-delay: -1s; animation-duration: 13s; }
.dust-field i:nth-child(6) { left: 58%; width: 2px; height: 2px; animation-delay: -5s; }
.dust-field i:nth-child(7) { left: 66%; animation-delay: -9s; animation-duration: 14s; }
.dust-field i:nth-child(8) { left: 73%; width: 3px; height: 3px; animation-delay: -3s; }
.dust-field i:nth-child(9) { left: 81%; animation-delay: -7s; animation-duration: 12s; }
.dust-field i:nth-child(10) { left: 88%; width: 2px; height: 2px; animation-delay: -10s; }
.dust-field i:nth-child(11) { left: 93%; animation-delay: -4s; animation-duration: 10s; }
.dust-field i:nth-child(12) { left: 97%; width: 3px; height: 3px; animation-delay: -6s; }

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  column-gap: clamp(28px, 5vw, 88px);
  row-gap: 0;
  align-items: center;
  padding-block: 136px 96px;
}

.hero__copy {
  grid-column: 1;
  grid-row: 1;
  max-width: 730px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--gold-bright);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--rust);
}

.eyebrow--dark {
  color: var(--rust-dark);
}

.hero h1 {
  max-width: 800px;
  margin-bottom: 28px;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(40px, 4.6vw, 68px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-shadow: 0 5px 28px rgb(0 0 0 / 42%);
}

.hero__subtitle {
  max-width: 650px;
  margin-bottom: 12px;
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: clamp(19px, 1.45vw, 22px);
  line-height: 1.16;
  text-shadow: 0 3px 16px rgb(0 0 0 / 38%);
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgb(255 248 232 / 84%);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.62;
}

.hero__lead code {
  padding: 2px 6px;
  border: 1px solid rgb(227 184 124 / 38%);
  background: rgb(21 20 33 / 58%);
  color: var(--gold-bright);
  font-size: 0.82em;
}

.hero__actions,
.closing-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__actions {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 19px;
  border: 1px solid transparent;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  border-color: var(--gold-bright);
  background: var(--gold-bright);
  box-shadow: 6px 6px 0 var(--rust-dark);
  color: var(--ink);
}

.button--primary:hover {
  background: var(--paper-pale);
}

.button--ghost {
  border-color: rgb(255 248 232 / 34%);
  background: rgb(21 20 33 / 30%);
  color: var(--cream);
  backdrop-filter: blur(8px);
}

.button--ghost:hover {
  border-color: var(--gold);
  background: rgb(21 20 33 / 62%);
}

.sheriff-stage {
  position: relative;
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-items: center;
  align-self: center;
  padding-top: 30px;
}

.sheriff-stage:has(.sheriff-playlist[open]) {
  z-index: 10000;
  transform: none;
}

.js .sheriff-stage:has(.sheriff-playlist[open]) {
  transform: none;
  transition: none;
}

.sheriff-control {
  position: relative;
  display: grid;
  width: min(460px, 100%);
  min-height: 0;
  justify-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  isolation: isolate;
}

.sheriff-control__speaker {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.sheriff-control__visual {
  position: relative;
  display: block;
  width: 100%;
  height: 390px;
  isolation: isolate;
}

.sheriff-control__halo {
  position: absolute;
  z-index: -1;
  top: 42%;
  left: 50%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgb(244 204 114 / 16%), transparent 67%);
  transform: translate(-50%, -50%);
  transition: transform 300ms ease;
}

.sheriff-control__portrait {
  position: absolute;
  z-index: 1;
  inset: -3% -6% 9%;
  background-image: url("/assets/images/sheriff-idle.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 24px 22px rgb(0 0 0 / 38%));
  transform-origin: 50% 70%;
  animation: sheriff-idle 4.5s ease-in-out infinite;
}

.sheriff-heckle-sign {
  position: absolute;
  z-index: 2;
  top: 9%;
  right: calc(3% + 40px);
  display: block;
  padding: 7px 10px 8px;
  border: 1px solid var(--line-dark);
  background: var(--paper);
  box-shadow: 4px 5px 0 rgb(43 29 32 / 40%);
  color: var(--ink);
  font-family: var(--mono);
  font-size: clamp(9px, 0.8vw, 11px);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  pointer-events: none;
  text-transform: uppercase;
  transform: rotate(15deg);
  white-space: nowrap;
}

.sheriff-heckle-sign::before,
.sheriff-heckle-sign::after {
  position: absolute;
  top: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--rust-dark);
  content: "";
}

.sheriff-heckle-sign::before { left: 4px; }
.sheriff-heckle-sign::after { right: 4px; }

.sheriff-sentence {
  position: relative;
  z-index: 4;
  width: min(430px, calc(100% - 32px));
  min-height: 4.88em;
  margin: 16px auto 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 400;
  line-height: 1.22;
  text-align: center;
  text-wrap: nowrap;
  pointer-events: none;
  isolation: isolate;
}

.sheriff-sentence__line {
  display: block;
  min-height: 1.22em;
  white-space: nowrap;
}

.sheriff-sentence__visual-word {
  display: inline-block;
  white-space: nowrap;
}

.sheriff-sentence__word {
  position: relative;
  display: inline-block;
  isolation: isolate;
  color: #fff;
  -webkit-text-fill-color: #fff;
  mix-blend-mode: normal;
  opacity: 0;
  white-space: nowrap;
  text-shadow: 0 2px 3px rgb(0 0 0 / 55%);
}

.sheriff-sentence__word.is-landed {
  opacity: 1;
}

.sheriff-sentence__flight-layer {
  position: absolute;
  z-index: 80;
  top: 0;
  left: 0;
  display: block;
  width: 0;
  height: 0;
  overflow: visible;
  pointer-events: none;
}

.sheriff-sentence__flight {
  position: absolute;
  top: var(--sheriff-flight-y);
  left: var(--sheriff-flight-x);
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.22;
  mix-blend-mode: normal;
  opacity: 1;
  white-space: nowrap;
  text-shadow: 0 2px 3px rgb(0 0 0 / 55%);
  animation: sheriff-word-flight var(--sheriff-flight-duration) cubic-bezier(0.16, 0.72, 0.2, 1) forwards;
  will-change: transform;
}

.sheriff-control__speaker:hover .sheriff-control__halo,
.sheriff-control__speaker:focus-visible .sheriff-control__halo {
  transform: translate(-50%, -50%) scale(1.04);
}

.sheriff-control__speaker:hover .sheriff-control__portrait {
  filter: drop-shadow(0 26px 23px rgb(0 0 0 / 42%)) brightness(1.04);
}

.sheriff-audio-controls {
  position: relative;
  z-index: 5;
  display: flex;
  width: auto;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: -32px;
  padding: 0 10px;
  border: 0;
  background: transparent;
}

.sheriff-audio-controls__mute-control {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgb(255 248 232 / 58%);
  cursor: pointer;
  transition: color 160ms ease;
}

.sheriff-audio-controls__mute-control:hover {
  color: var(--gold-bright);
}

.sheriff-audio-controls__mute-control:focus-visible {
  color: var(--gold-bright);
  outline: 1px solid currentcolor;
  outline-offset: 2px;
}

.sheriff-audio-controls__mute-control[aria-pressed="true"] {
  color: var(--gold-bright);
}

.sheriff-audio-controls__mute-control[aria-pressed="true"] .sheriff-audio-controls__mute {
  filter: drop-shadow(0 0 5px rgb(244 204 114 / 78%));
}

.sheriff-audio-controls__mute {
  width: 18px;
  height: 18px;
  fill: currentcolor;
  transition: filter 160ms ease;
}

.sheriff-audio-controls__mute path:last-child {
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.sheriff-playlist {
  position: relative;
  z-index: 10000;
  display: block;
}

.sheriff-playlist > summary {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: rgb(255 248 232 / 58%);
  cursor: pointer;
  list-style: none;
  transition: color 160ms ease;
}

.sheriff-playlist > summary::-webkit-details-marker {
  display: none;
}

.sheriff-playlist > summary:hover,
.sheriff-playlist > summary:focus-visible,
.sheriff-playlist[open] > summary {
  color: var(--gold-bright);
}

.sheriff-playlist > summary:focus-visible {
  outline: 1px solid currentcolor;
  outline-offset: 2px;
}

.sheriff-playlist > summary svg {
  width: 19px;
  height: 19px;
  fill: currentcolor;
}

.sheriff-playlist > summary path:first-child {
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-width: 1.6;
}

.sheriff-playlist__panel {
  position: absolute;
  z-index: 10001;
  top: calc(100% + 8px);
  left: 50%;
  width: min(410px, calc(100vw - 32px));
  max-height: min(350px, 48vh);
  overflow: hidden;
  border: 1px solid rgb(244 204 114 / 64%);
  background: rgb(24 20 31 / 97%);
  box-shadow: 8px 10px 0 rgb(8 8 14 / 32%);
  color: var(--cream);
  text-align: left;
  transform: translateX(-50%);
}

.sheriff-playlist__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid rgb(255 248 232 / 16%);
  color: var(--gold-bright);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sheriff-playlist__header span {
  color: rgb(255 248 232 / 55%);
  white-space: nowrap;
}

.sheriff-playlist__items {
  max-height: min(300px, calc(48vh - 42px));
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  list-style: none;
  scrollbar-color: rgb(244 204 114 / 52%) transparent;
}

.sheriff-playlist__item {
  margin: 0;
}

.sheriff-playlist__item button {
  display: grid;
  width: 100%;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 9px 8px;
  border: 0;
  background: transparent;
  color: rgb(255 248 232 / 78%);
  font: inherit;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.sheriff-playlist__item button:hover,
.sheriff-playlist__item button:focus-visible {
  background: rgb(244 204 114 / 10%);
  color: #fff;
  outline: 1px solid rgb(244 204 114 / 48%);
  outline-offset: -1px;
}

.sheriff-playlist__item button:disabled {
  color: rgb(255 248 232 / 28%);
  cursor: default;
  text-decoration: line-through;
}

.sheriff-playlist__item-number {
  color: var(--gold-bright);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.sheriff-playlist__item button:disabled .sheriff-playlist__item-number {
  color: rgb(244 204 114 / 28%);
}

.sound-bars {
  display: flex;
  height: 15px;
  align-items: end;
  gap: 2px;
  opacity: 0.32;
  transition: opacity 180ms ease;
}

.sound-bars i {
  display: block;
  width: 2px;
  height: 30%;
  background: var(--gold-bright);
}

.sound-bars i:nth-child(2) { height: 65%; }
.sound-bars i:nth-child(3) { height: 100%; }
.sound-bars i:nth-child(4) { height: 45%; }

.sheriff-control[data-speaking="true"] .sheriff-control__portrait {
  animation: sheriff-idle 4.5s ease-in-out infinite, sheriff-talk-frames 180ms steps(1) infinite;
  animation-play-state: running, paused;
  filter: drop-shadow(0 24px 22px rgb(0 0 0 / 38%)) brightness(1.06);
}

.sheriff-control[data-speaking="true"][data-voiced="true"] .sheriff-control__portrait {
  animation-play-state: running, running;
}

.sheriff-control[data-speaking="true"] .sheriff-control__halo {
  background: radial-gradient(circle, rgb(244 204 114 / 25%), transparent 68%);
}

.sheriff-control[data-speaking="true"] .sound-bars i {
  animation: sound-bar 460ms ease-in-out infinite alternate;
}

.sheriff-control[data-speaking="true"] .sound-bars {
  opacity: 1;
}

.sheriff-control[data-speaking="true"] .sound-bars i:nth-child(2) { animation-delay: -180ms; }
.sheriff-control[data-speaking="true"] .sound-bars i:nth-child(3) { animation-delay: -320ms; }
.sheriff-control[data-speaking="true"] .sound-bars i:nth-child(4) { animation-delay: -90ms; }

.noscript-note {
  margin: 0;
  color: rgb(255 248 232 / 52%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.noscript-note {
  max-width: 420px;
  padding-top: 12px;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  right: 32px;
  bottom: 25px;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgb(255 248 232 / 62%);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue__line {
  position: relative;
  display: block;
  width: 1px;
  height: 42px;
  overflow: hidden;
  background: rgb(255 248 232 / 18%);
}

.scroll-cue__line::after {
  position: absolute;
  inset: -100% 0 auto;
  height: 100%;
  background: var(--gold-bright);
  content: "";
  animation: scroll-drop 2s ease-in-out infinite;
}

.signal-strip {
  --signal-map-background: var(--gold);
  --signal-trail-color: var(--rust-dark);
  position: relative;
  z-index: 2;
  height: clamp(58px, 5vw, 72px);
  overflow: hidden;
  border-top: 1px solid #bf8d4e;
  border-bottom: 1px solid #bf8d4e;
  background:
    radial-gradient(circle at 16% 28%, rgb(118 53 37 / 10%) 0 1px, transparent 1.4px),
    radial-gradient(circle at 72% 68%, rgb(118 53 37 / 8%) 0 1px, transparent 1.6px),
    linear-gradient(103deg, rgb(255 248 232 / 10%), transparent 38% 65%, rgb(118 53 37 / 7%)),
    var(--signal-map-background);
  background-size: 23px 19px, 31px 27px, 100% 100%, auto;
  box-shadow: inset 0 5px 14px rgb(87 45 30 / 8%), inset 0 -4px 12px rgb(87 45 30 / 7%);
}

.signal-strip__scene {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.signal-strip__map {
  color: var(--signal-trail-color);
  opacity: 0.54;
  pointer-events: none;
}

.signal-strip__map-line,
.signal-strip__map-fine,
.signal-strip__contour {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signal-strip__map-line {
  stroke-width: 2.2;
}

.signal-strip__map-fine {
  stroke-width: 1.25;
}

.signal-strip__contour {
  opacity: 0.28;
  stroke-dasharray: 7 15;
  stroke-width: 1;
}

.signal-strip__trail {
  fill: none;
  opacity: 0.54;
  stroke: var(--signal-trail-color);
  stroke-dasharray: 12 18;
  stroke-linecap: round;
  stroke-width: 2;
}

.signal-strip__cities {
  opacity: 0.54;
  visibility: hidden;
}

.signal-strip__cities[data-signal-cities="true"] {
  visibility: visible;
}

.signal-strip__city-cutout {
  fill: black;
}

.signal-strip__waypoint {
  fill: none;
  stroke: var(--signal-trail-color);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.signal-strip__critters {
  color: var(--signal-trail-color);
  opacity: 0.54;
  pointer-events: none;
  visibility: hidden;
}

.signal-strip__critters[data-signal-critters="true"] {
  visibility: visible;
}

.signal-strip__critter[data-critter-active="false"] {
  display: none;
}

.signal-strip__critter {
  --signal-critter-flee-scale: 0.86;
  --signal-critter-facing-scale: 1;
  --signal-critter-depth-scale: 1;
  transform-box: view-box;
  transform-origin: 0 0;
}

.signal-strip__critter[data-facing="left"] {
  --signal-critter-facing-scale: -1;
}

.signal-strip__critter[data-flee-side="1"] {
  --signal-critter-flee-scale: 1.08;
}

.signal-strip__critter-facing {
  transform: scaleX(var(--signal-critter-facing-scale))
    scale(var(--signal-critter-depth-scale));
  transform-box: fill-box;
  transform-origin: center bottom;
}

.signal-strip__critter:is(
  [data-critter-state="flee"],
  [data-critter-state="away"]
) .signal-strip__critter-facing {
  --signal-critter-depth-scale: var(--signal-critter-flee-scale);
}

.signal-strip__critter-fill {
  fill: var(--signal-map-background);
  opacity: 1;
  stroke: none;
}

.signal-strip__critter-line,
.signal-strip__critter-fine {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signal-strip__critter-line {
  stroke-width: 2.2;
}

.signal-strip__critter-fine {
  stroke-width: 1.25;
}

.signal-strip__fright-lines {
  fill: none;
  opacity: 0;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
  transform-box: fill-box;
  transform-origin: center;
}

.signal-strip__critter[data-critter-state="startle"] .signal-strip__critter-motion {
  animation: signal-critter-fright-hop 0.26s steps(2, end) both;
}

.signal-strip__critter[data-critter-state="startle"] .signal-strip__fright-lines {
  animation: signal-critter-fright-lines 0.26s steps(2, end) both;
}

.signal-strip__critter[data-critter-state="flee"] .signal-strip__critter-motion {
  animation: signal-critter-run 0.16s steps(2, end) infinite;
}

.signal-strip__badge {
  color: var(--signal-trail-color);
}

.signal-strip__badge-jitter {
  transform-box: fill-box;
  transform-origin: center;
  animation: signal-badge-jitter 0.4s steps(1, end) infinite;
}

.signal-strip__rider-fill {
  fill: var(--signal-map-background);
  opacity: 1;
  stroke: none;
}

.signal-strip__rider-line,
.signal-strip__rider-fine {
  fill: none;
  opacity: 0.54;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signal-strip__rider-line {
  stroke-width: 2.2;
}

.signal-strip__rider-fine {
  stroke-width: 1.25;
}

.signal-strip__rider-art {
  --signal-rider-tick-y: -1.5px;
  --signal-rider-surge-back: 2px;
  --signal-rider-surge-back-two: 1px;
  --signal-rider-surge-forward: -6px;
  --signal-rider-surge-forward-two: -4px;
  animation: signal-cowboy-gallop 0.91s cubic-bezier(0.45, 0, 0.55, 1) -0.19s infinite;
}

[data-signal-pursuit] {
  color: var(--signal-trail-color);
  pointer-events: none;
}

.signal-strip--pursuit .signal-strip__badge-jitter {
  animation: none;
}

.signal-strip__pursuer-motion {
  --signal-rider-tick-y: -1.8px;
  animation: signal-rider-tick 0.48s ease-in-out infinite;
}

.signal-strip__pursuer {
  animation: signal-rider-surge 0.98s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.signal-strip__pursuit-rider--cowboy {
  --signal-rider-tick-y: -1.5px;
  --signal-rider-surge-back: -2px;
  --signal-rider-surge-back-two: -1px;
  --signal-rider-surge-forward: 6px;
  --signal-rider-surge-forward-two: 4px;
}

.signal-strip__pursuit-rider--native {
  animation: none;
}

.signal-strip__pursuit-rider--lead .signal-strip__pursuer-motion {
  --signal-rider-tick-y: -2.3px;
  animation-duration: 0.47s;
  animation-delay: 0s;
}

.signal-strip__pursuit-rider--lead {
  --signal-rider-surge-back: -2px;
  --signal-rider-surge-back-two: -1px;
  --signal-rider-surge-forward: 6px;
  --signal-rider-surge-forward-two: 4px;
  animation-delay: -0.31s;
}

.signal-strip__pursuit-rider--rear-high .signal-strip__pursuer-motion {
  --signal-rider-tick-y: -1.35px;
  animation-duration: 0.49s;
  animation-delay: -0.16s;
}

.signal-strip__pursuit-rider--rear-high {
  --signal-rider-surge-back: -3px;
  --signal-rider-surge-back-two: -2px;
  --signal-rider-surge-forward: 5px;
  --signal-rider-surge-forward-two: 4px;
  animation-duration: 1.07s;
  animation-delay: -0.74s;
}

.signal-strip__pursuit-rider--rear-low .signal-strip__pursuer-motion {
  --signal-rider-tick-y: -2px;
  animation-duration: 0.51s;
  animation-delay: -0.34s;
}

.signal-strip__pursuit-rider--rear-low {
  --signal-rider-surge-back: -2px;
  --signal-rider-surge-back-two: -1px;
  --signal-rider-surge-forward: 7px;
  --signal-rider-surge-forward-two: 5px;
  animation-duration: 1.16s;
  animation-delay: -0.93s;
}

.signal-strip__pursuit-bow,
.signal-strip__pursuit-headband,
.signal-strip__pursuit-feather,
.signal-strip__arrow,
.signal-strip__arrow-stuck {
  fill: none;
  opacity: 0.72;
  stroke: var(--signal-trail-color);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.signal-strip__pursuit-headwear {
  pointer-events: none;
}

.signal-strip__pursuit-person {
  pointer-events: none;
}

.signal-strip__pursuit-person-body {
  fill: none;
  stroke: var(--signal-trail-color);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

.signal-strip__pursuit-person-arms,
.signal-strip__pursuit-person-legs {
  fill: none;
  stroke: var(--signal-trail-color);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signal-strip__pursuit-person-arms {
  stroke-width: 1.25;
}

.signal-strip__pursuit-person-legs {
  stroke-width: 1.25;
}

.signal-strip__pursuit-headband {
  stroke-width: 2.2;
}

.signal-strip__pursuit-feather {
  fill: var(--signal-map-background);
  stroke-width: 1.6;
}

.signal-strip__arrow {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: signal-arrow-flight 5.2s linear both;
}

.signal-strip__arrow-stuck {
  opacity: 0.9;
  pointer-events: none;
  animation: signal-arrow-stuck-fade 3s ease 1s forwards;
}

.signal-strip__arrow-stuck-body {
  transform-origin: 0 0;
  animation: signal-arrow-stuck-twang 0.5s ease-out both;
}

.signal-strip__arrow-shaft {
  stroke: var(--signal-trail-color);
  stroke-width: 1.2;
}

.signal-strip__arrow-head {
  fill: var(--signal-trail-color);
  stroke: none;
}

.signal-strip__arrow-feathers {
  fill: none;
  opacity: 0.62;
  stroke: var(--signal-trail-color);
  stroke-linecap: round;
  stroke-width: 0.85;
}

.signal-strip__arrow-impact {
  fill: none;
  opacity: 1;
  stroke: var(--signal-trail-color);
  stroke-linecap: round;
  stroke-width: 0.85;
}

.section {
  --section-ink: var(--ink);
  --section-muted: var(--ink-soft);
  --section-line: var(--line-dark);
  --section-kicker: var(--rust-dark);
  --section-number: var(--rust);
  position: relative;
  padding-block: clamp(90px, 11vw, 155px);
  color: var(--section-ink);
}

.section--dark {
  --section-ink: var(--cream);
  --section-muted: rgb(255 248 232 / 72%);
  --section-line: rgb(255 248 232 / 20%);
  --section-kicker: var(--gold-bright);
  --section-number: var(--gold);
}

.section--light {
  --section-ink: var(--ink);
  --section-muted: var(--ink-soft);
  --section-line: var(--line-dark);
  --section-kicker: var(--rust-dark);
  --section-number: var(--rust-dark);
}

.section .eyebrow {
  color: var(--section-kicker);
}

.section .eyebrow span {
  color: var(--section-number);
}

.thesis-section {
  overflow: hidden;
  border-top: 1px solid rgb(244 204 114 / 24%);
  border-bottom: 1px solid rgb(244 204 114 / 24%);
  background:
    radial-gradient(circle at 8% 10%, rgb(244 204 114 / 13%), transparent 28%),
    radial-gradient(circle at 90% 90%, rgb(170 82 56 / 18%), transparent 30%),
    linear-gradient(145deg, #171522, #292030 58%, #142b40);
  color: var(--cream);
}

.thesis-section::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 2.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2.5%) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: radial-gradient(circle at center, black, transparent 88%);
  pointer-events: none;
}

.thesis-section .shell {
  position: relative;
}

.closing-section::before {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    repeating-radial-gradient(circle at 20% 20%, transparent 0, transparent 3px, rgb(67 42 34 / 11%) 4px),
    repeating-linear-gradient(95deg, transparent 0, transparent 11px, rgb(101 70 49 / 5%) 12px);
  background-size: 120px 90px, 100% 100%;
  content: "";
  pointer-events: none;
}

.section-heading {
  position: relative;
  max-width: 760px;
  margin-bottom: clamp(50px, 7vw, 86px);
}

.section-heading h2 {
  margin-bottom: 24px;
  color: var(--section-ink);
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 67px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.section-heading__anchor {
  color: inherit;
  text-decoration-color: transparent;
  text-decoration-line: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.13em;
  transition: text-decoration-color 160ms ease;
}

.section-heading__anchor:hover {
  text-decoration-color: var(--section-kicker);
}

.section-heading__anchor:focus-visible {
  outline: 3px solid var(--section-kicker);
  outline-offset: 7px;
}

.section-heading > p:last-child,
.section-heading--split > p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--section-muted);
  font-size: clamp(17px, 1.5vw, 20px);
}

.section-heading--split {
  display: grid;
  max-width: none;
  grid-template-columns: 1.1fr 0.75fr;
  gap: clamp(38px, 8vw, 110px);
  align-items: end;
}

.section-heading--split h2 {
  margin-bottom: 0;
}

.section-heading--split > p {
  padding-bottom: 8px;
  color: var(--section-muted);
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.problem-section {
  overflow: hidden;
  border-top: 1px solid rgb(255 248 232 / 7%);
  background:
    radial-gradient(circle at 8% 12%, rgb(227 184 124 / 15%), transparent 28%),
    radial-gradient(circle at 90% 85%, rgb(170 82 56 / 18%), transparent 26%),
    linear-gradient(140deg, #181522, #2e2332 62%, #18283a);
}

.problem-section::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 2%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2%) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  pointer-events: none;
}

.problem-section .shell {
  position: relative;
}

.problem-section .section-heading h2 {
  color: var(--cream);
}

.agent-workbench {
  overflow: hidden;
  border: 1px solid rgb(118 53 37 / 24%);
  border-radius: 18px;
  background: rgb(255 248 232 / 78%);
  box-shadow: 0 22px 60px rgb(21 20 33 / 12%);
}

.workflow-tabs__list {
  display: flex;
  gap: 4px;
  padding: 8px;
  overflow-x: auto;
  border-bottom: 1px solid rgb(118 53 37 / 18%);
  background: rgb(118 53 37 / 5%);
  scrollbar-width: thin;
}

.workflow-tabs__list button {
  min-height: 44px;
  flex: 1 0 max-content;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font: 800 0.78rem/1.2 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workflow-tabs__list button span {
  margin-right: 7px;
  color: var(--rust);
  font-family: var(--display);
}

.workflow-tabs__list button[aria-selected="true"] {
  border-color: rgb(118 53 37 / 28%);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 4px 14px rgb(21 20 33 / 8%);
}

.install-sequence {
  display: grid;
  gap: 18px;
  margin: clamp(24px, 4vw, 42px) 0 0;
  padding: 0;
  list-style: none;
}

.install-workbench {
  margin-top: clamp(34px, 6vw, 68px);
  overflow: hidden;
  border: 1px solid rgb(244 204 114 / 28%);
  border-radius: 18px;
  background: rgb(14 26 40 / 54%);
  box-shadow: 0 24px 70px rgb(0 0 0 / 24%);
}

.workflow-tabs__list--install {
  border-bottom-color: rgb(244 204 114 / 20%);
  background: rgb(244 204 114 / 7%);
}

.workflow-tabs__list--install button {
  color: rgb(255 248 232 / 72%);
}

.workflow-tabs__list--install button span {
  color: var(--gold);
}

.workflow-tabs__list--install button[aria-selected="true"] {
  border-color: rgb(244 204 114 / 38%);
  background: rgb(255 248 232 / 12%);
  color: var(--cream);
}

.install-tabs__panel {
  padding: 0 clamp(18px, 3vw, 34px) clamp(20px, 4vw, 38px);
}

.install-sequence__step {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(20px, 3vw, 42px);
  align-items: center;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgb(255 248 232 / 18%);
  border-radius: 16px;
  background: rgb(255 248 232 / 6%);
  box-shadow: 0 20px 54px rgb(0 0 0 / 20%);
}

.agent-session[hidden] {
  display: none;
}

.workflow-panel__copy h3,
.agent-build-result h3 {
  margin: 8px 0 14px;
  color: inherit;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 400;
  line-height: 1.08;
}

.workflow-panel__copy > p:not(.eyebrow) {
  color: var(--section-muted);
  line-height: 1.7;
}

.workflow-panel__copy > a {
  display: inline-flex;
  gap: 8px;
  margin-top: 8px;
  color: var(--gold-bright);
  font-weight: 800;
}

.workflow-terminal,
.agent-session__terminal,
.agent-build-result__contract pre {
  margin: 0;
  overflow: auto;
  border: 1px solid rgb(244 204 114 / 22%);
  border-radius: 12px;
  background: #11101a;
  color: #f8efd9;
  box-shadow: inset 0 0 28px rgb(0 0 0 / 25%);
  font: 500 clamp(0.74rem, 1.2vw, 0.9rem)/1.68 var(--mono);
  white-space: pre-wrap;
}

.workflow-terminal {
  min-height: 260px;
  padding: clamp(18px, 3vw, 30px);
}

.agent-builder-section {
  overflow: hidden;
  border-top: 1px solid rgb(118 53 37 / 14%);
  border-bottom: 1px solid rgb(118 53 37 / 14%);
  background:
    radial-gradient(circle at 88% 12%, rgb(227 184 124 / 26%), transparent 28%),
    linear-gradient(145deg, #fff8e8, #efd6aa 58%, #f7e7c8);
}

.agent-workbench {
  margin-top: clamp(36px, 6vw, 72px);
}

.workflow-tabs__list--agents {
  justify-content: center;
}

.workflow-tabs__list--agents button {
  max-width: 220px;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
}

.agent-session {
  padding: clamp(20px, 4vw, 42px);
  border-bottom: 1px solid rgb(118 53 37 / 16%);
  background: linear-gradient(145deg, #171522, #22202d);
}

.agent-session__bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: rgb(255 248 232 / 50%);
  font: 800 0.68rem/1 var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.agent-session__bar strong {
  color: var(--gold-bright);
}

.agent-session__terminal {
  min-height: 280px;
  padding: clamp(18px, 3vw, 30px);
}

.agent-session__cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  margin-left: 3px;
  background: var(--gold-bright);
  vertical-align: -0.13em;
  animation: agent-cursor-blink 0.85s steps(1, end) infinite;
}

.agent-session[data-agent-typing-complete="true"] .agent-session__cursor {
  animation: none;
  opacity: 0;
}

.agent-build-result {
  padding: clamp(26px, 5vw, 64px);
}

.agent-build-result__header {
  max-width: 760px;
}

.agent-build-result__header > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.agent-build-result__actions ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 24px 0 34px;
  padding: 0;
  list-style: none;
}

.agent-build-result__actions li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgb(118 53 37 / 14%);
  border-radius: 10px;
  background: rgb(255 255 255 / 32%);
}

.agent-build-result__actions small {
  color: var(--ink-soft);
  line-height: 1.45;
}

.agent-build-result__recipe-button {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-inline: 14px;
  background: var(--plum);
  box-shadow: 3px 3px 0 var(--rust);
  color: var(--paper-pale);
  font: 800 0.7rem/1 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.agent-build-result__recipe-button--danger {
  background: var(--rust-dark);
  box-shadow: 3px 3px 0 var(--plum);
}

.agent-build-result__contract {
  min-width: 0;
}

.agent-build-result__contract-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid rgb(244 204 114 / 22%);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: #1d1b27;
  color: var(--cream);
}

.agent-build-result__contract-bar span {
  color: var(--gold-bright);
  font: 800 0.65rem/1 var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.agent-build-result__contract pre {
  max-height: 760px;
  padding: 20px;
  border-radius: 0 0 12px 12px;
  overflow: auto;
  scrollbar-color: rgb(244 204 114 / 52%) #11101a;
  scrollbar-width: thin;
  white-space: pre;
}

.agent-build-result__contract pre::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.agent-build-result__contract pre::-webkit-scrollbar-track,
.agent-build-result__contract pre::-webkit-scrollbar-corner {
  background: #11101a;
}

.agent-build-result__contract pre::-webkit-scrollbar-thumb {
  border: 2px solid #11101a;
  border-radius: 999px;
  background: rgb(244 204 114 / 52%);
}

.agent-build-result__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(24px, 3vw, 36px) 0 0;
  border-top: 1px solid rgb(118 53 37 / 18%);
  border-right: 1px solid rgb(118 53 37 / 18%);
  border-bottom: 1px solid rgb(118 53 37 / 18%);
  border-left: 1px solid rgb(118 53 37 / 18%);
}

.agent-build-result__facts > div {
  padding: 18px;
}

.agent-build-result__facts > div + div {
  border-left: 1px solid rgb(118 53 37 / 18%);
}

.agent-build-result__facts dt {
  margin-bottom: 7px;
  color: var(--rust-dark);
  font-weight: 800;
}

.agent-build-result__facts dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.agent-build-result__handoff {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(28px, 5vw, 58px);
  margin-top: clamp(34px, 5vw, 54px);
  padding-top: clamp(28px, 4vw, 42px);
  border-top: 2px solid rgb(118 53 37 / 20%);
}

.agent-build-result__handoff h3 {
  margin: 8px 0 20px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 400;
  line-height: 1.1;
}

.agent-build-result__file-guide {
  margin: 0;
  border-top: 1px solid rgb(118 53 37 / 18%);
}

.agent-build-result__file-guide > div {
  display: grid;
  grid-template-columns: minmax(145px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgb(118 53 37 / 18%);
}

.agent-build-result__file-guide dt {
  min-width: 0;
  color: var(--rust-dark);
  font-weight: 800;
}

.agent-build-result__file-guide dt code {
  overflow-wrap: anywhere;
}

.agent-build-result__file-guide dd {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.agent-build-result__publish-story {
  --publish-label-width: 68px;

  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agent-build-result__publish-story li {
  position: relative;
  display: grid;
  grid-template-columns: var(--publish-label-width) minmax(0, 1fr);
  gap: 14px;
  padding: 14px 16px;
  background: var(--night);
  color: var(--cream);
}

.agent-build-result__publish-story li + li {
  border-top: 1px solid rgb(244 204 114 / 20%);
}

.agent-build-result__publish-arrow {
  display: block;
  width: 10px;
  height: 12px;
  background: var(--gold-bright);
  clip-path: polygon(40% 0, 60% 0, 60% 55%, 100% 55%, 50% 100%, 0 55%, 40% 55%);
}

.agent-build-result__publish-story span {
  display: grid;
  gap: 8px;
  justify-items: center;
  color: var(--gold-bright);
  font: 800 0.68rem/1.2 var(--body);
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.agent-build-result__publish-story span b {
  font: inherit;
}

.agent-build-result__publish-story code {
  color: inherit;
  overflow-wrap: anywhere;
}

.agent-build-result__publish-note {
  margin: 16px 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.agent-builder-section__note {
  max-width: 900px;
  margin: 28px auto 0;
  color: var(--ink-soft);
  text-align: center;
}

@keyframes agent-cursor-blink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

.handoff-story {
  --handoff-rail-width: clamp(48px, 6vw, 72px);
  --handoff-rail-x: 20px;
  --handoff-gap: clamp(32px, 5vw, 58px);
  --handoff-node-y: 32px;
  --handoff-step-left: 18px;

  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--handoff-gap);
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 0 0 0 var(--handoff-rail-width);
  list-style: none;
}

.handoff-story__card:not(:last-child)::before {
  position: absolute;
  top: calc(var(--handoff-node-y) - 1px);
  left: calc(var(--handoff-rail-x) - var(--handoff-rail-width));
  width: 2px;
  height: calc(100% + var(--handoff-gap));
  background: linear-gradient(
    to bottom,
    var(--gold),
    rgb(227 184 124 / 48%)
  );
  content: "";
}

.handoff-story__card {
  position: relative;
  display: grid;
  overflow: visible;
  min-width: 0;
  grid-template-columns: minmax(0, 1.22fr) minmax(260px, 0.78fr);
  grid-template-rows: minmax(250px, auto);
  border: 1px solid rgb(255 248 232 / 20%);
  background: rgb(12 12 20 / 52%);
  box-shadow: 9px 10px 0 rgb(8 8 14 / 24%);
}

.handoff-story__step::before {
  position: absolute;
  top: 15px;
  left: calc(-1 * (var(--handoff-rail-width) - var(--handoff-rail-x) + var(--handoff-step-left)));
  width: calc(var(--handoff-rail-width) - var(--handoff-rail-x));
  height: 2px;
  background: var(--gold);
  content: "";
}

.handoff-story__card::after {
  position: absolute;
  z-index: 2;
  top: var(--handoff-node-y);
  left: calc(var(--handoff-rail-x) - var(--handoff-rail-width) + 1px);
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--night);
  box-shadow: 0 0 0 4px rgb(227 184 124 / 12%);
  content: "";
}

.handoff-story__card--human {
  border-color: rgb(227 184 124 / 62%);
}

.handoff-story__card--agent {
  border-color: rgb(186 164 220 / 58%);
}

.handoff-story__card--receipt {
  border-color: var(--gold);
}

.handoff-story__scene {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  padding: 42px 24px 24px;
  min-height: 250px;
  grid-column: 2;
  grid-row: 1;
  border-left: 1px solid rgb(255 248 232 / 18%);
  background:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(145deg, rgb(227 184 124 / 8%), rgb(16 15 27 / 72%));
  background-size: 24px 24px, 24px 24px, auto;
}

.handoff-story__scene::after {
  position: absolute;
  right: -28px;
  bottom: -46px;
  width: 140px;
  height: 140px;
  border: 1px solid rgb(227 184 124 / 15%);
  border-radius: 50%;
  content: "";
}

.handoff-story__scene-label {
  position: absolute;
  top: 16px;
  right: 18px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.handoff-story__copy {
  grid-column: 1;
  grid-row: 1;
  padding: clamp(68px, 6vw, 78px) clamp(34px, 4vw, 50px) clamp(34px, 4vw, 50px);
}

.handoff-story__step {
  position: absolute;
  z-index: 4;
  top: 16px;
  left: var(--handoff-step-left);
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0;
  color: rgb(255 248 232 / 55%);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.handoff-story__step span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--gold-bright);
  background: var(--gold);
  box-shadow: 3px 3px 0 rgb(8 8 14 / 35%);
}

.handoff-story__copy h3 {
  margin: 0 0 12px;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 33px);
  font-weight: 400;
  line-height: 1.16;
}

.handoff-story__copy > p:last-child {
  margin: 0;
  color: rgb(255 248 232 / 67%);
  font-size: 14px;
  line-height: 1.66;
}

.handoff-story__copy code {
  color: var(--gold-bright);
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

.handoff-story__window,
.handoff-story__terminal,
.handoff-story__secret-card,
.handoff-story__browser,
.handoff-story__receipt {
  position: relative;
  z-index: 1;
  width: min(100%, 410px);
  border: 1px solid rgb(255 248 232 / 30%);
  background: rgb(10 11 18 / 90%);
  box-shadow: 7px 8px 0 rgb(0 0 0 / 24%);
}

.handoff-story__window {
  padding: 45px 18px 22px;
}

.handoff-story__window-bar {
  position: absolute;
  inset: 0 0 auto;
  padding: 10px 14px;
  border-bottom: 1px solid rgb(255 248 232 / 18%);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.handoff-story__window code,
.handoff-story__terminal code {
  display: block;
  color: rgb(255 248 232 / 78%);
  font-family: var(--mono);
  font-size: clamp(9px, 1.25vw, 12px);
  line-height: 1.65;
  white-space: normal;
}

.handoff-story__secret-card {
  display: grid;
  padding: 20px;
  gap: 7px;
}

.handoff-story__secret-card strong {
  color: var(--cream);
  font-family: var(--mono);
  font-size: 12px;
}

.handoff-story__secret-card > span {
  color: var(--gold);
  font-family: var(--mono);
  font-size: clamp(8px, 1.15vw, 11px);
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

.handoff-story__secret-card small {
  color: rgb(255 248 232 / 48%);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.handoff-story__chips {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 14px;
  display: flex;
  gap: 5px;
}

.handoff-story__chips span,
.handoff-story__schedule span {
  padding: 5px 7px;
  border: 1px solid rgb(227 184 124 / 36%);
  background: #1f1a28;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.handoff-story__crate {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(72%, 270px);
  min-height: 106px;
  place-content: center;
  border: 2px solid var(--gold);
  background: repeating-linear-gradient(135deg, #5d3328 0 12px, #6d3d2f 12px 24px);
  box-shadow: inset 0 0 0 8px rgb(20 15 21 / 24%), 9px 10px 0 rgb(0 0 0 / 22%);
  text-align: center;
}

.handoff-story__crate strong {
  color: var(--cream);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
}

.handoff-story__crate span {
  color: var(--gold-bright);
  font-family: var(--mono);
  font-size: 8px;
}

.handoff-story__schedule {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 14px;
  display: grid;
  gap: 4px;
}

.handoff-story__people {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 410px);
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.handoff-story__people > span {
  display: grid;
  min-height: 82px;
  place-content: center;
  border: 1px solid rgb(255 248 232 / 30%);
  background: #211a2a;
  color: var(--cream);
  font-family: var(--display);
  font-size: 23px;
  text-align: center;
}

.handoff-story__people small {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.handoff-story__people b {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 8px;
}

.handoff-story__deny {
  position: absolute;
  bottom: 15px;
  color: rgb(255 248 232 / 44%);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.handoff-story__browser {
  padding: 18px;
}

.handoff-story__browser span {
  display: block;
  margin-bottom: 18px;
  color: rgb(255 248 232 / 62%);
  font-family: var(--mono);
  font-size: 9px;
}

.handoff-story__browser strong {
  display: block;
  padding: 13px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-align: center;
}

.handoff-story__terminal {
  display: grid;
  padding: 18px;
  gap: 7px;
}

.handoff-story__terminal code::before {
  color: var(--gold);
  content: "› ";
}

.handoff-story__label-stack {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 430px);
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
}

.handoff-story__label-stack code {
  padding: 8px 10px;
  border: 1px solid rgb(227 184 124 / 42%);
  background: #211a2a;
  color: var(--gold-bright);
  font-family: var(--mono);
  font-size: 9px;
}

.handoff-story__receipt {
  display: grid;
  padding: 18px;
  gap: 5px;
  border-color: var(--gold);
}

.handoff-story__receipt strong {
  color: #b9e2bc;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.handoff-story__receipt span {
  color: rgb(255 248 232 / 70%);
  font-family: var(--mono);
  font-size: 9px;
}

.handoff-story__receipt b {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgb(227 184 124 / 30%);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.compute-sequence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--section-line);
  border-bottom: 1px solid var(--section-line);
  list-style: none;
}

.compute-sequence li {
  position: relative;
  padding: 28px clamp(20px, 3vw, 34px);
}

.compute-sequence li:not(:last-child) {
  border-right: 1px solid var(--section-line);
}

.compute-sequence li:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -8px;
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  background: var(--night-soft);
  color: var(--gold-bright);
  content: "→";
  font-family: var(--mono);
  font-size: 11px;
  transform: translateY(-50%);
}

.compute-sequence li > p:first-child {
  margin-bottom: 8px;
  color: var(--gold-bright);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compute-sequence li > p:first-child span {
  margin-right: 7px;
  color: var(--gold);
}

.compute-sequence h3 {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: clamp(25px, 2.8vw, 32px);
  font-weight: 400;
  color: var(--cream);
}

.compute-sequence li > p:last-child {
  margin: 0;
  color: var(--section-muted);
  font-size: 14px;
  line-height: 1.58;
}

.truth-note {
  position: relative;
  display: grid;
  max-width: 920px;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  align-items: start;
  margin: 72px auto 0;
  padding: 26px 30px;
  border-top: 1px solid var(--section-line);
  border-bottom: 1px solid var(--section-line);
  background: rgb(8 12 22 / 26%);
}

.truth-note__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--rust);
  color: var(--paper-pale);
  font-family: var(--display);
  font-size: 13px;
  line-height: 1;
  clip-path: polygon(50% 0%, 61% 31%, 95% 21%, 77% 50%, 95% 79%, 61% 69%, 50% 100%, 39% 69%, 5% 79%, 23% 50%, 5% 21%, 39% 31%);
}

.truth-note p {
  margin: 0;
  color: var(--section-muted);
  font-size: 15px;
  line-height: 1.68;
}

.truth-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--cream);
}

.runtime-section {
  overflow: hidden;
  border-top: 1px solid rgb(244 204 114 / 28%);
  border-bottom: 1px solid rgb(244 204 114 / 28%);
  background:
    radial-gradient(circle at 10% 5%, rgb(244 204 114 / 14%), transparent 28%),
    radial-gradient(circle at 90% 90%, rgb(170 82 56 / 18%), transparent 29%),
    linear-gradient(145deg, #132c43, #1c2033 55%, #2b202e);
  color: var(--cream);
}

.runtime-section::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 2.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2.5%) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  mask-image: radial-gradient(circle at center, black, transparent 88%);
  pointer-events: none;
}

.runtime-section .shell {
  position: relative;
}

.runtime-section .section-heading {
  max-width: 900px;
}

.runtime-section .section-heading h2 {
  color: var(--cream);
}

.runtime-section .section-heading > p:last-child {
  color: rgb(255 248 232 / 70%);
}

.runtime-section .section-heading code {
  color: var(--gold-bright);
  font-size: 0.86em;
}

.runtime-lifecycle {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0 0 28px;
  padding: 0;
  border-top: 1px solid rgb(255 248 232 / 18%);
  border-bottom: 1px solid rgb(255 248 232 / 18%);
  list-style: none;
}

.runtime-lifecycle li {
  display: grid;
  gap: 4px;
  padding: 20px clamp(12px, 2vw, 22px);
}

.runtime-lifecycle li:not(:last-child) {
  border-right: 1px solid rgb(255 248 232 / 18%);
}

.runtime-lifecycle span {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
}

.runtime-lifecycle strong {
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 400;
}

.runtime-lifecycle small {
  color: rgb(255 248 232 / 48%);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.45;
}

.runtime-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.runtime-panel {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  padding: clamp(27px, 4vw, 43px);
  border: 1px solid rgb(255 248 232 / 18%);
  background: rgb(10 16 28 / 45%);
}

.runtime-panel--durable {
  border-color: rgb(244 204 114 / 46%);
  background: linear-gradient(145deg, rgb(73 59 75 / 58%), rgb(27 25 39 / 76%));
}

.runtime-panel__label {
  margin-bottom: 18px;
  color: var(--gold-bright);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.runtime-panel h3 {
  margin-bottom: 14px;
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  line-height: 1.18;
}

.runtime-panel > p:not(.runtime-panel__label, .runtime-panel__proof) {
  color: rgb(255 248 232 / 67%);
  font-size: 15px;
  line-height: 1.65;
}

.runtime-panel > p.runtime-panel__proof {
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px solid rgb(255 248 232 / 14%);
  color: rgb(255 248 232 / 48%);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.55;
  text-transform: uppercase;
}

.runtime-analogy {
  max-width: 920px;
  margin: 32px auto 0;
  color: rgb(255 248 232 / 60%);
  font-size: 13px;
  line-height: 1.65;
  text-align: center;
}

.runtime-analogy strong {
  color: var(--gold-bright);
}

.cookbook-section {
  overflow: hidden;
  border-top: 1px solid #bd8e53;
  border-bottom: 1px solid #bd8e53;
  background:
    radial-gradient(circle at 4% 4%, rgb(255 248 232 / 42%), transparent 25%),
    radial-gradient(circle at 96% 94%, rgb(118 53 37 / 14%), transparent 27%),
    #e7c486;
  color: var(--ink);
}

.cookbook-section::before {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 32px, rgb(33 25 29 / 3%) 33px),
    repeating-linear-gradient(90deg, transparent 0, transparent 32px, rgb(33 25 29 / 3%) 33px);
  content: "";
  mask-image: radial-gradient(circle at center, black, transparent 90%);
  pointer-events: none;
}

.cookbook-section .shell {
  position: relative;
}

.cookbook-section .section-heading--split > p {
  color: var(--ink-soft);
}

.cookbook-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: start;
}

.cookbook-anatomy {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.cookbook-anatomy li {
  padding-block: 25px;
  border-bottom: 1px solid var(--line-dark);
}

.cookbook-anatomy li div > p:first-child {
  margin-bottom: 4px;
  color: var(--rust-dark);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cookbook-anatomy h3 {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: clamp(21px, 2.1vw, 27px);
  font-weight: 400;
}

.cookbook-anatomy li div > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.58;
}

.cookbook-anatomy code {
  color: var(--rust-dark);
  font-size: 0.84em;
}

.recipe-blueprint {
  border: 1px solid #4c3c4f;
  background: #151421;
  box-shadow: 11px 13px 0 rgb(118 53 37 / 30%);
  color: var(--cream);
}

.recipe-blueprint__bar {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-inline: 16px;
  border-bottom: 1px solid rgb(255 248 232 / 12%);
  background: #282331;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 10px;
}

.recipe-blueprint__bar small {
  color: rgb(255 248 232 / 38%);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recipe-blueprint pre {
  margin: 0;
  overflow-x: auto;
  padding: clamp(22px, 3.4vw, 36px);
  border-bottom: 1px solid rgb(255 248 232 / 12%);
  color: #e8ddc9;
  font-size: clamp(10px, 1vw, 12px);
  line-height: 1.75;
  tab-size: 2;
}

.recipe-blueprint__flow {
  margin: 0;
  padding: 15px 20px;
  border-bottom: 1px solid rgb(255 248 232 / 12%);
  background: #201a2b;
  color: rgb(255 248 232 / 60%);
  font-family: var(--mono);
  font-size: 10px;
}

.recipe-blueprint__flow span {
  margin-right: 9px;
  color: var(--gold-bright);
  font-weight: 800;
  text-transform: uppercase;
}

.recipe-blueprint__note {
  margin: 0;
  padding: 20px;
  color: rgb(255 248 232 / 61%);
  font-size: 13px;
  line-height: 1.58;
}

.cookbook-section__link,
.authority-section__link,
.use-cases-section__link {
  margin: 36px 0 0;
  text-align: center;
}

.cookbook-section__link a,
.authority-section__link a,
.use-cases-section__link a {
  color: var(--rust-dark);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration-color: rgb(118 53 37 / 38%);
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.authority-section {
  overflow: hidden;
  border-bottom: 1px solid #c39f6f;
  background:
    radial-gradient(circle at 12% 12%, rgb(227 184 124 / 24%), transparent 26%),
    radial-gradient(circle at 91% 88%, rgb(73 59 75 / 10%), transparent 28%),
    var(--paper-pale);
  color: var(--ink);
}

.authority-section .section-heading--split > p {
  color: var(--ink-soft);
}

.lemc-theme-shot {
  --shot-primary: #493b4b;
  --shot-primary-content: #fff8e8;
  --shot-accent: #e3b87c;
  --shot-accent-strong: #d6af76;
  --shot-base: #f1c484;
  --shot-paper: #fff8e8;
  --shot-ink: #493b4b;
  --shot-muted: #786878;
  --shot-line: rgb(73 59 75 / 28%);
  --shot-action: #493b4b;
  --shot-action-content: #fff8e8;

  margin: 0;
  color: var(--shot-ink);
  font-family: var(--display);
}

.lemc-theme-shot.is-visible {
  --shot-primary: #063b78;
  --shot-primary-content: #fff;
  --shot-accent: #d8edf7;
  --shot-accent-strong: #078ec9;
  --shot-base: #eaf5fb;
  --shot-paper: #fff;
  --shot-ink: #173750;
  --shot-muted: #647a8b;
  --shot-line: rgb(6 59 120 / 22%);
  --shot-action: #078ec9;
  --shot-action-content: #fff;

  font-family: Arial, Helvetica, sans-serif;
}

.lemc-theme-shot__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.lemc-theme-shot__frames {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  height: clamp(800px, 63vw, 820px);
  overflow: hidden;
  border: 1px solid #252835;
  border-radius: 14px;
  background: #252835;
  box-shadow: 14px 16px 0 rgb(73 59 75 / 15%);
}

.lemc-theme-shot__frame {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #252835;
  pointer-events: none;
  transition: opacity 5s ease 900ms;
}

.lemc-theme-shot__frame:not([data-preview-ready="true"]) {
  visibility: hidden;
}

.lemc-theme-shot__frame--default {
  z-index: 2;
  opacity: 1;
}

.lemc-theme-shot__frame--corporate {
  z-index: 1;
  opacity: 0;
}

.lemc-theme-shot[data-theme-active="corporate"] > .lemc-theme-shot__stage > .lemc-theme-shot__frames > .lemc-theme-shot__frame--default {
  opacity: 0;
}

.lemc-theme-shot[data-theme-active="corporate"] > .lemc-theme-shot__stage > .lemc-theme-shot__frames > .lemc-theme-shot__frame--corporate {
  opacity: 1;
}

.lemc-theme-shot[data-theme-interacted="true"] > .lemc-theme-shot__stage > .lemc-theme-shot__frames > .lemc-theme-shot__frame {
  transition-duration: 0s;
  transition-delay: 0s;
}

.lemc-theme-shot__cycle-controls {
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
  display: grid;
  grid-template-columns: 44px 132px 44px;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-block: 6px 8px;
  padding: 0;
  pointer-events: none;
}

.lemc-theme-shot[data-theme-controls-ready="true"] .lemc-theme-shot__cycle {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.lemc-theme-shot__cycle {
  appearance: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(73 59 75 / 38%);
  border-radius: 2px;
  color: var(--rust-dark);
  background: rgb(255 248 232 / 64%);
  box-shadow: 0 2px 4px rgb(33 25 29 / 14%);
  cursor: pointer;
  filter: none;
  font: 800 24px/1 var(--mono);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 140ms ease, border-color 140ms ease, background-color 140ms ease, color 140ms ease;
  visibility: hidden;
}

.lemc-theme-shot__cycle:hover {
  border-color: var(--rust-dark);
  color: var(--ink);
  background: var(--gold-bright);
  transform: translateY(-1px);
}

.lemc-theme-shot__cycle:focus-visible {
  outline: 3px solid var(--rust-dark);
  outline-offset: 3px;
}

.lemc-theme-shot__selection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65em;
  align-items: baseline;
  justify-content: center;
  width: 132px;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  border: 0;
  background: transparent;
  box-shadow: none;
  font-family: var(--body);
  font-size: 12px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.5;
  text-align: center;
  text-transform: none;
}

.lemc-theme-shot__selection > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lemc-theme-shot__selection b {
  color: inherit;
  font-weight: 700;
  white-space: nowrap;
}

.theme-preview-document {
  min-width: 0;
  min-height: 100vh;
  overflow: hidden;
  background: #252835;
}

.theme-preview-document > .lemc-theme-shot {
  min-height: 100vh;
  margin: 0;
}

.theme-preview-document .lemc-theme-shot__browser {
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 100vh;
  border: 0;
  border-radius: 0;
  background: var(--shot-base);
  box-shadow: none;
}

.theme-preview-document .lemc-theme-shot__browserbar {
  flex: 0 0 auto;
}

.theme-preview-document .lemc-theme-shot__screen {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.theme-preview-document .lemc-theme-shot__workspace {
  flex: 1 1 auto;
}

.lemc-theme-shot__browser {
  overflow: hidden;
  border: 1px solid #252835;
  border-radius: 14px;
  background: #252835;
  box-shadow: 14px 16px 0 rgb(73 59 75 / 15%);
}

.lemc-theme-shot__browserbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 42px;
  padding: 8px 13px;
  color: #d5d9e4;
  background: #252835;
  font-size: 10px;
}

.lemc-theme-shot__browser-dots {
  display: flex;
  gap: 6px;
}

.lemc-theme-shot__browser-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ec685f;
}

.lemc-theme-shot__browser-dots i:nth-child(2) { background: #e8b34f; }
.lemc-theme-shot__browser-dots i:nth-child(3) { background: #58b66d; }

.lemc-theme-shot__address {
  overflow: hidden;
  padding: 5px 10px;
  border: 1px solid rgb(255 255 255 / 9%);
  background: #303440;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lemc-theme-shot__state {
  position: relative;
  display: grid;
  min-width: 142px;
  min-height: 13px;
  color: #fff;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.lemc-theme-shot__state b,
.lemc-theme-shot__brand-copy b {
  grid-area: 1 / 1;
  transition: opacity 5s ease 900ms;
}

.lemc-theme-shot__state-default,
.lemc-theme-shot__brand-default,
.lemc-theme-shot__default-logo {
  opacity: 1;
}

.lemc-theme-shot__state-corporate,
.lemc-theme-shot__brand-corporate,
.lemc-theme-shot__corporate-logo {
  opacity: 0;
}

.lemc-theme-shot.is-visible .lemc-theme-shot__state-default,
.lemc-theme-shot.is-visible .lemc-theme-shot__brand-default,
.lemc-theme-shot.is-visible .lemc-theme-shot__default-logo {
  opacity: 0;
}

.lemc-theme-shot.is-visible .lemc-theme-shot__state-corporate,
.lemc-theme-shot.is-visible .lemc-theme-shot__brand-corporate,
.lemc-theme-shot.is-visible .lemc-theme-shot__corporate-logo {
  opacity: 1;
}

.lemc-theme-shot.is-visible .lemc-theme-shot__corporate-logo {
  filter: drop-shadow(0 3px 2px rgb(255 255 255 / 90%));
}

.lemc-theme-shot__screen,
.lemc-theme-shot__screen * {
  transition:
    color 5s ease 900ms,
    background-color 5s ease 900ms,
    border-color 5s ease 900ms,
    box-shadow 5s ease 900ms;
}

.theme-preview-document .lemc-theme-shot__screen,
.theme-preview-document .lemc-theme-shot__screen *,
.theme-preview-document .lemc-theme-shot__state b,
.theme-preview-document .lemc-theme-shot__brand-copy b,
.theme-preview-document .lemc-theme-shot__logo-stack img,
.theme-preview-document .lemc-theme-shot__workspace::before,
.theme-preview-document .lemc-theme-shot__workspace::after {
  transition: none;
}

.lemc-theme-shot__screen {
  overflow: hidden;
  color: var(--shot-ink);
  background: var(--shot-base);
}

.lemc-theme-shot__navbar {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: 8px 20px;
  color: var(--shot-primary-content);
  background: var(--shot-primary);
  box-shadow: 0 8px 18px rgb(22 27 36 / 20%);
}

.lemc-theme-shot__brand {
  display: flex;
  gap: 11px;
  align-items: center;
  min-width: 0;
}

.lemc-theme-shot__logo-stack {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  height: 66px;
}

.lemc-theme-shot__logo-stack img {
  position: absolute;
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 5s ease 900ms;
}

.lemc-theme-shot__default-logo {
  width: 88px;
}

.lemc-theme-shot__corporate-logo {
  width: 124px;
  height: 46px;
  margin: 10px 13px;
}

.lemc-theme-shot__brand-copy {
  display: grid;
  min-width: 146px;
  font-size: 18px;
  white-space: nowrap;
}

.lemc-theme-shot__brand-default {
  font-family: var(--display);
  font-weight: 400;
}

.lemc-theme-shot__brand-corporate {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
}

.lemc-theme-shot__navlinks {
  display: flex;
  gap: 9px;
  align-items: center;
}

.lemc-theme-shot__navlinks > span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgb(255 255 255 / 22%);
  font-size: 11px;
  font-weight: 800;
}

.lemc-theme-shot__navlinks > .is-active {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lemc-theme-shot__user {
  gap: 8px;
}

.lemc-theme-shot__user > b {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: var(--shot-primary);
  background: var(--shot-primary-content);
  font-size: 8px;
}

.lemc-theme-shot__user > span {
  display: grid;
  line-height: 1.2;
}

.lemc-theme-shot__user strong { font-size: 9px; }
.lemc-theme-shot__user small { font-size: 7px; opacity: 0.76; }

.lemc-theme-shot__workspace {
  position: relative;
  isolation: isolate;
  padding: 22px;
  background: var(--shot-base);
}

.lemc-theme-shot__workspace::before,
.lemc-theme-shot__workspace::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-position: center;
  background-size: cover;
  content: "";
  transition: opacity 5s ease 900ms;
}

.lemc-theme-shot__workspace::before {
  background-image:
    linear-gradient(rgb(73 59 75 / 16%), rgb(73 59 75 / 16%)),
    url("/assets/images/wildwest-bg.png");
  opacity: 0.36;
}

.lemc-theme-shot__workspace::after {
  background:
    radial-gradient(circle at 12% 18%, rgb(7 142 201 / 13%), transparent 26%),
    radial-gradient(circle at 91% 82%, rgb(6 59 120 / 10%), transparent 28%),
    linear-gradient(135deg, #eef8fd, #f9fcff 54%, #e6f3fa);
  opacity: 0;
}

.lemc-theme-shot.is-visible .lemc-theme-shot__workspace::before { opacity: 0; }
.lemc-theme-shot.is-visible .lemc-theme-shot__workspace::after { opacity: 1; }

.lemc-theme-shot__app-meta {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  margin-bottom: 14px;
  padding: 14px 17px;
  border: 1px solid var(--shot-line);
  background: var(--shot-paper);
  box-shadow: 0 7px 16px rgb(30 45 61 / 10%);
}

.lemc-theme-shot__app-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--shot-primary-content);
  background: var(--shot-primary);
}

.lemc-theme-shot__app-icon svg {
  width: 30px;
  height: 30px;
}

.lemc-theme-shot__app-meta p,
.lemc-theme-shot__label {
  margin: 0;
  color: var(--shot-muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lemc-theme-shot__app-meta h3 {
  margin: 3px 0;
  color: var(--shot-ink);
  font-family: inherit;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.lemc-theme-shot__app-meta div > span {
  color: var(--shot-muted);
  font-size: 11px;
}

.lemc-theme-shot__access {
  padding: 7px 9px;
  color: var(--shot-primary-content);
  background: var(--shot-primary);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.lemc-theme-shot__scope-tabs,
.lemc-theme-shot__page-tabs {
  display: flex;
  align-items: end;
}

.lemc-theme-shot__scope-tabs {
  gap: 5px;
  margin-bottom: 14px;
  padding: 12px 14px;
  outline: 1px solid var(--shot-accent-strong);
  background: var(--shot-accent);
}

.lemc-theme-shot__scope-tabs span,
.lemc-theme-shot__page-tabs span {
  padding: 8px 12px;
  border: 1px solid var(--shot-line);
  color: var(--shot-ink);
  background: rgb(255 255 255 / 58%);
  font-size: 9px;
  font-weight: 800;
}

.lemc-theme-shot__scope-tabs .is-active {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lemc-theme-shot__app {
  border: 1px solid var(--shot-line);
  background: var(--shot-paper);
  box-shadow: 0 9px 22px rgb(30 45 61 / 10%);
}

.lemc-theme-shot__page-tabs {
  gap: 2px;
  padding: 10px 10px 0;
  border-bottom: 1px solid var(--shot-line);
}

.lemc-theme-shot__page-tabs .is-active {
  color: var(--shot-primary-content);
  border-color: var(--shot-primary);
  background: var(--shot-primary);
}

.lemc-theme-shot__content {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
  gap: 20px;
  padding: 22px;
}

.lemc-theme-shot__wiki {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--shot-line);
  background: var(--shot-paper);
}

.lemc-theme-shot__wiki h4,
.lemc-theme-shot__action h4 {
  margin: 6px 0 9px;
  color: var(--shot-ink);
  font-family: inherit;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
}

.lemc-theme-shot__wiki h4 { font-size: 24px; }

.lemc-theme-shot__wiki > p:not(.lemc-theme-shot__label) {
  max-width: 620px;
  margin: 0;
  color: var(--shot-muted);
  font-size: 12px;
  line-height: 1.62;
}

.lemc-theme-shot__wiki dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.lemc-theme-shot__wiki dl div {
  padding: 11px;
  border: 1px solid var(--shot-line);
  background: var(--shot-base);
}

.lemc-theme-shot__wiki dt {
  color: var(--shot-muted);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lemc-theme-shot__wiki dd {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 800;
}

.lemc-theme-shot__wiki aside {
  display: grid;
  gap: 5px;
  padding: 13px;
  border-left: 4px solid var(--shot-accent-strong);
  background: var(--shot-base);
}

.lemc-theme-shot__wiki aside strong { font-size: 10px; }
.lemc-theme-shot__wiki aside span { color: var(--shot-muted); font-size: 9px; }
.lemc-theme-shot__wiki aside b { color: var(--shot-ink); }

.lemc-theme-shot__job-rail {
  display: grid;
  gap: 12px;
  align-content: start;
}

.lemc-theme-shot__action {
  border: 1px solid var(--shot-line);
  background: var(--shot-base);
}

.lemc-theme-shot__action {
  padding: 14px;
}

.lemc-theme-shot__action h4 { font-size: 16px; }

.lemc-theme-shot__action > p:not(.lemc-theme-shot__label) {
  margin: 0;
  color: var(--shot-muted);
  font-size: 9px;
  line-height: 1.5;
}

.lemc-theme-shot__action button {
  width: 100%;
  margin-top: 12px;
  padding: 9px 11px;
  color: var(--shot-action-content);
  border: 1px solid var(--shot-action);
  border-radius: 0;
  background: var(--shot-action);
  font-family: inherit;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}

.lemc-theme-shot__pip {
  position: fixed;
  z-index: 8;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  gap: 8px;
  align-items: center;
  width: min(400px, calc(100vw - 8px));
  height: 48px;
  padding: 0 14px;
  color: #f5f7fa;
  border: 1px solid #151824;
  background: #303440;
  box-shadow: 0 10px 25px rgb(0 0 0 / 42%);
  font-family: Arial, Helvetica, sans-serif;
}

.lemc-theme-shot__pip::after {
  grid-column: 3;
  content: "";
}

.lemc-theme-shot__pip-controls {
  grid-column: 1;
  display: flex;
  gap: 6px;
}

.lemc-theme-shot__pip-controls i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef5753;
}

.lemc-theme-shot__pip-controls i:nth-child(2) { background: #e8b34f; }
.lemc-theme-shot__pip-controls i:nth-child(3) { background: #58b66d; }

.lemc-theme-shot__pip strong {
  grid-column: 2;
  overflow: hidden;
  font-size: 10px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lemc-theme-shot figcaption {
  max-width: 880px;
  margin: 18px auto 0;
  border-bottom: 1px solid rgb(73 59 75 / 18%);
}

.lemc-theme-shot figcaption p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.lemc-theme-shot figcaption strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.callers-section {
  overflow: hidden;
  border-top: 1px solid rgb(255 248 232 / 6%);
  background:
    radial-gradient(circle at 50% -10%, rgb(227 184 124 / 12%), transparent 35%),
    var(--night-soft);
}

.callers-section::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 2%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2%) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  pointer-events: none;
}

.callers-section .section-heading h2 {
  color: var(--cream);
}

.caller-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.caller-card {
  position: relative;
  padding: clamp(24px, 3.2vw, 42px);
  border: 1px solid var(--line-light);
  background: rgb(19 18 29 / 55%);
  box-shadow: var(--shadow);
}

.caller-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--rust);
  content: "";
}

.caller-card--agent::before {
  background: var(--gold);
}

.caller-card__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 32px;
}

.caller-card__header p {
  margin-bottom: 2px;
  color: rgb(255 248 232 / 46%);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.caller-card__header h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 400;
}

.caller-card__icon {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border: 1px solid rgb(255 248 232 / 22%);
  border-radius: 50%;
  color: var(--gold-bright);
  font-size: 21px;
}

.caller-card__icon--terminal {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 800;
}

.caller-card__badge {
  padding: 4px 8px;
  border: 1px solid rgb(227 184 124 / 33%);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.browser-demo,
.terminal-demo {
  min-height: 330px;
  border: 1px solid rgb(255 248 232 / 14%);
  background: #12111b;
  box-shadow: 8px 10px 0 rgb(0 0 0 / 20%);
}

.browser-demo__chrome,
.terminal-demo__bar {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 6px;
  padding-inline: 14px;
  border-bottom: 1px solid rgb(255 248 232 / 11%);
  background: #282331;
  color: rgb(255 248 232 / 46%);
  font-family: var(--mono);
  font-size: 9px;
}

.browser-demo__chrome i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rust);
}

.browser-demo__chrome i:nth-child(2) { background: var(--gold); }
.browser-demo__chrome i:nth-child(3) { background: #7e9571; }

.browser-demo__chrome span {
  margin-left: 8px;
}

.browser-demo__body {
  position: relative;
  min-height: 288px;
  padding: 29px;
  background:
    linear-gradient(rgb(242 212 160 / 92%), rgb(242 212 160 / 92%)),
    url("/assets/images/wildwest-bg.png") center / cover;
  color: var(--ink);
}

.browser-demo__kicker {
  margin-bottom: 5px;
  color: var(--rust-dark);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.browser-demo h4 {
  margin-bottom: 22px;
  font-family: var(--display);
  font-size: clamp(21px, 2.1vw, 27px);
  font-weight: 400;
}

.browser-demo__field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 11px 13px;
  border: 1px solid var(--line-dark);
  background: rgb(255 248 232 / 50%);
  font-size: 13px;
}

.browser-demo__field span {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
}

.browser-demo__button {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding-inline: 14px;
  background: var(--plum);
  box-shadow: 4px 4px 0 var(--rust);
  color: var(--paper-pale);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.browser-demo__status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 21px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
}

.browser-demo__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #52734a;
  box-shadow: 0 0 0 4px rgb(82 115 74 / 16%);
}

.terminal-demo__bar {
  justify-content: space-between;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border: 0;
  background: transparent;
  color: rgb(255 248 232 / 58%);
  font-family: var(--mono);
  font-size: 9px;
  cursor: pointer;
}

.copy-button:hover {
  color: var(--gold-bright);
}

.terminal-demo pre {
  min-height: 288px;
  margin: 0;
  overflow-x: auto;
  padding: 25px 22px;
  color: #e8ddc9;
  font-size: clamp(11px, 1.08vw, 13px);
  line-height: 1.72;
  tab-size: 2;
}

.terminal-prompt {
  color: var(--gold-bright);
}

.caller-card__summary {
  margin: 29px 0 0;
  color: rgb(255 248 232 / 62%);
  font-size: 15px;
}

.shared-contract {
  display: flex;
  justify-content: center;
  margin-top: 54px;
  color: rgb(255 248 232 / 58%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.shared-contract p {
  margin: 0;
  padding: 12px 20px;
  border-top: 1px solid rgb(255 248 232 / 12%);
  border-bottom: 1px solid rgb(255 248 232 / 12%);
  text-align: center;
}

.shared-contract p span {
  margin-right: 7px;
  color: var(--gold);
  font-family: Georgia, serif;
}

.use-cases-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 3% 7%, rgb(170 82 56 / 10%), transparent 27%),
    radial-gradient(circle at 95% 88%, rgb(73 59 75 / 10%), transparent 30%),
    var(--paper-light);
  color: var(--ink);
}

.use-cases-section::before {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    repeating-radial-gradient(circle at 20% 20%, transparent 0, transparent 3px, rgb(67 42 34 / 11%) 4px),
    repeating-linear-gradient(95deg, transparent 0, transparent 11px, rgb(101 70 49 / 5%) 12px);
  background-size: 120px 90px, 100% 100%;
  content: "";
  pointer-events: none;
}

.use-cases-section .shell {
  position: relative;
}

.use-cases-section .section-heading--split > p {
  color: var(--ink-soft);
}

.use-case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: 1fr;
  gap: 22px;
}

.use-case-card {
  position: relative;
  display: grid;
  min-height: 460px;
  height: 100%;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid #544256;
  background:
    linear-gradient(145deg, rgb(23 52 81 / 97%), rgb(45 33 48 / 99%)),
    var(--night-soft);
  box-shadow: 10px 11px 0 rgb(170 82 56 / 22%);
  color: var(--cream);
  grid-template-rows: auto 1fr auto;
}

.use-case-card::after {
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  content: "";
}

.use-case-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(28px, 3vw, 38px);
  padding-bottom: 13px;
  border-bottom: 1px solid rgb(255 248 232 / 14%);
  color: var(--gold-bright);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.use-case-card header small {
  color: rgb(255 248 232 / 44%);
  font-size: 8px;
  font-weight: 400;
}

.use-case-card__content {
  display: grid;
  grid-template-columns: minmax(210px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(30px, 4vw, 58px);
  align-items: center;
}

.use-case-card__copy h3 {
  max-width: 430px;
  margin-top: 0;
  margin-bottom: 16px;
  font-family: var(--display);
  font-size: clamp(27px, 3.2vw, 40px);
  font-weight: 400;
  line-height: 1.16;
}

.use-case-card__copy p {
  max-width: 480px;
  margin: 0;
  color: rgb(255 248 232 / 66%);
  font-size: 15px;
  line-height: 1.68;
}

.use-case-card__diagram {
  display: grid;
  grid-template-columns: minmax(160px, 0.92fr) 28px minmax(190px, 1fr) 28px minmax(160px, 0.92fr);
  gap: 10px;
  align-items: stretch;
}

.use-case-card__node {
  display: flex;
  min-width: 0;
  min-height: 142px;
  padding: 19px;
  border: 1px solid rgb(255 248 232 / 18%);
  background: rgb(8 12 22 / 36%);
  flex-direction: column;
  justify-content: center;
}

.use-case-card__node--author {
  border-color: rgb(227 184 124 / 48%);
  box-shadow: inset 4px 0 0 var(--gold);
}

.use-case-card__node--caller {
  border-color: rgb(227 184 124 / 30%);
}

.use-case-card__node--system {
  border-color: rgb(170 82 56 / 42%);
}

.use-case-card__node--outcome {
  border-color: rgb(170 82 56 / 58%);
  box-shadow: inset -4px 0 0 var(--rust);
}

.use-case-card__node small {
  margin-bottom: 10px;
  color: var(--gold-bright);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.use-case-card__node strong {
  font-size: 13px;
  line-height: 1.45;
}

.use-case-card__node strong code {
  color: var(--gold-bright);
}

.use-case-card__node span {
  margin-top: 10px;
  color: rgb(255 248 232 / 43%);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.55;
}

.use-case-card__actors {
  display: grid;
  gap: 10px;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.use-case-card__actors .use-case-card__node {
  min-height: 66px;
  padding-block: 14px;
}

.use-case-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  font-family: Georgia, serif;
  font-size: 20px;
}

.use-case-card__receipt {
  margin: clamp(28px, 3vw, 38px) 0 0;
  padding: 15px 18px;
  border: 1px solid rgb(255 248 232 / 12%);
  background: rgb(8 12 22 / 32%);
  color: rgb(255 248 232 / 48%);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.7;
  text-transform: uppercase;
}

.use-case-card__receipt span {
  color: var(--gold-bright);
  font-weight: 800;
}

.mcp-section {
  overflow: hidden;
  border-top: 1px solid #c39f6f;
  border-bottom: 1px solid #c39f6f;
  background:
    radial-gradient(circle at 12% 5%, rgb(255 248 232 / 52%), transparent 27%),
    radial-gradient(circle at 90% 82%, rgb(118 53 37 / 12%), transparent 28%),
    linear-gradient(145deg, #f8e7c5, #efd09a 56%, #f8e4bd);
  color: var(--ink);
}

.mcp-section::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(33 25 29 / 3.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(33 25 29 / 3.5%) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  mask-image: radial-gradient(circle at center, black, transparent 86%);
  pointer-events: none;
}

.mcp-section .shell {
  position: relative;
}

.mcp-section .section-heading h2 {
  color: var(--ink);
  font-size: clamp(34px, 4.25vw, 58px);
}

.mcp-section .section-heading {
  max-width: 900px;
}

.mcp-section .section-heading > p:last-child {
  color: var(--ink-soft);
}

.mcp-friction-sequence {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.mcp-friction__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px minmax(0, 1fr);
  column-gap: clamp(10px, 1.5vw, 18px);
  row-gap: 8px;
  align-items: stretch;
  padding-block: clamp(18px, 2.4vw, 26px);
  border-bottom: 1px solid var(--line-dark);
}

.mcp-friction__topic {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--rust-dark);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mcp-friction__label {
  margin-bottom: 7px;
  color: var(--rust-dark);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.mcp-friction__pain,
.mcp-friction__answer {
  min-width: 0;
  padding: clamp(13px, 1.8vw, 18px);
  border: 1px solid rgb(73 59 75 / 22%);
  background: rgb(255 248 232 / 36%);
  box-shadow: 6px 7px 0 rgb(73 59 75 / 8%);
}

.mcp-friction__pain {
  grid-column: 1;
  border-color: rgb(170 82 56 / 30%);
  border-left: 4px solid var(--rust-dark);
  background: linear-gradient(135deg, rgb(170 82 56 / 10%), rgb(255 248 232 / 44%));
  box-shadow: 6px 7px 0 rgb(118 53 37 / 7%);
}

.mcp-friction__pain h3 {
  margin-bottom: 8px;
  color: var(--rust-dark);
  font-family: var(--display);
  font-size: clamp(19px, 1.9vw, 25px);
  font-weight: 400;
  line-height: 1.14;
}

.mcp-friction__pain > p:last-child,
.mcp-friction__answer > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.48;
}

.mcp-friction__answer {
  grid-column: 3;
  align-self: stretch;
  border-color: rgb(71 102 79 / 30%);
  border-left: 4px solid var(--sage);
  background: linear-gradient(135deg, rgb(71 102 79 / 12%), rgb(255 248 232 / 44%));
  box-shadow: 6px 7px 0 rgb(47 73 55 / 7%);
}

.mcp-friction__versus {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  justify-self: center;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--rust-dark);
  border-radius: 50%;
  color: var(--rust-dark);
  background: var(--paper-light);
  box-shadow: 3px 4px 0 rgb(73 59 75 / 12%);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mcp-friction__answer .mcp-friction__label {
  color: var(--sage);
}

.mcp-friction__answer h4 {
  margin-bottom: 8px;
  color: var(--sage-deep);
  font-family: var(--display);
  font-size: clamp(19px, 1.9vw, 25px);
  font-weight: 400;
  line-height: 1.14;
}

.mcp-friction__answer code {
  color: var(--rust-dark);
  font-size: 0.9em;
}

.mcp-friction__payoff {
  grid-column: 1 / -1;
  margin: 0;
  padding: 2px clamp(13px, 1.8vw, 18px) 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.4;
}

.mcp-friction__payoff strong {
  color: var(--plum-deep);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mcp-research-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding-top: 28px;
}

.mcp-research-link p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.mcp-research-link strong {
  color: var(--ink);
}

.mcp-research-link a {
  border-bottom: 1px solid rgb(118 53 37 / 38%);
  color: var(--rust-dark);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.mcp-research-link a:hover {
  border-color: currentColor;
}

.closing-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(100px, 14vw, 190px);
  background: var(--gold);
  color: var(--ink);
  text-align: center;
}

.closing-section__star {
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgb(73 59 75 / 7%);
  font-family: Georgia, serif;
  font-size: min(72vw, 820px);
  line-height: 1;
  transform: translate(-50%, -50%);
}

.closing-section__content {
  position: relative;
  max-width: 930px;
}

.closing-section .eyebrow {
  justify-content: center;
}

.closing-section h2 {
  margin-bottom: 25px;
  font-family: var(--display);
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.closing-section__content > p:not(.eyebrow, .closing-section__machine-link) {
  max-width: 650px;
  margin: 0 auto 35px;
  color: var(--ink-soft);
  font-size: 19px;
}

.closing-section__actions {
  justify-content: center;
}

.button--dark {
  border-color: var(--plum-deep);
  background: var(--plum-deep);
  box-shadow: 5px 5px 0 var(--rust-dark);
  color: var(--paper-pale);
}

.button--dark:hover {
  background: var(--night);
}

.button--paper {
  border-color: rgb(33 25 29 / 38%);
  background: rgb(255 244 220 / 38%);
  color: var(--ink);
}

.button--paper:hover {
  background: var(--paper-pale);
}

.closing-section__machine-link {
  margin: 30px 0 0;
  font-family: var(--mono);
  font-size: 11px;
}

.closing-section__machine-link a {
  text-decoration-color: rgb(33 25 29 / 40%);
  text-underline-offset: 4px;
}

.site-footer {
  border-top: 1px solid rgb(255 248 232 / 12%);
  background: #111019;
}

.site-footer__inner {
  display: grid;
  min-height: 130px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand copyright nav";
  gap: 8px 32px;
  align-items: center;
  padding-block: 24px;
}

.brand--footer { grid-area: brand; }

.brand--footer .brand__name {
  font-size: 17px;
}

.brand--footer .brand__sheriff {
  width: 44px;
}

.site-footer p {
  margin: 0;
  color: rgb(255 248 232 / 58%);
  font-size: 13px;
}

.site-footer nav {
  grid-area: nav;
  display: flex;
  justify-content: flex-end;
  justify-self: end;
  gap: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-footer nav a {
  color: rgb(255 248 232 / 66%);
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--gold-bright);
}

.site-footer__copyright {
  grid-area: copyright;
  font-family: var(--mono);
  font-size: 9px !important;
}

.error-page {
  display: grid;
  min-height: 100svh;
  grid-template-rows: 1fr auto;
  place-items: center;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    linear-gradient(90deg, rgb(21 20 33 / 94%), rgb(21 20 33 / 74%)),
    url("/assets/images/wildwest-bg.png") center / cover;
}

.error-page__content {
  width: min(680px, calc(100% - 32px));
  padding-block: 56px;
}

.error-page__sheriff {
  width: 190px;
  height: 145px;
  margin-bottom: 12px;
  background: url("/assets/images/sheriff-idle.png") center / contain no-repeat;
  filter: drop-shadow(0 15px 20px rgb(0 0 0 / 35%));
}

.error-page h1 {
  max-width: 660px;
  margin-bottom: 20px;
  font-family: var(--display);
  font-size: clamp(42px, 8vw, 76px);
  font-weight: 400;
  line-height: 1.05;
}

.error-page__content > p:not(.eyebrow) {
  max-width: 570px;
  margin-bottom: 30px;
  color: rgb(255 248 232 / 70%);
}

.error-footer {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: flex-end;
  border-top: 1px solid rgb(255 248 232 / 16%);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.error-footer a {
  color: var(--gold);
  text-decoration: none;
}

.error-footer a:hover {
  color: var(--gold-bright);
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.js .reveal[data-reveal-delay="1"] { transition-delay: 100ms; }
.js .reveal[data-reveal-delay="2"] { transition-delay: 200ms; }
.js .reveal[data-reveal-delay="3"] { transition-delay: 300ms; }

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes horizon-breathe {
  from { filter: saturate(0.86) contrast(1.02) brightness(0.98); }
  to { filter: saturate(0.96) contrast(1.04) brightness(1.04); }
}

@keyframes sun-pulse {
  0%, 100% { opacity: 0.7; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes cloud-drift {
  from { transform: translateX(0); }
  to { transform: translateX(calc(100vw + 700px)); }
}

@keyframes dust-rise {
  0% { opacity: 0; transform: translate3d(0, 0, 0); }
  18% { opacity: 0.6; }
  80% { opacity: 0.25; }
  100% { opacity: 0; transform: translate3d(80px, -78vh, 0); }
}

@keyframes sheriff-idle {
  0%, 100% { transform: translateY(0) rotate(-0.3deg); }
  50% { transform: translateY(-7px) rotate(0.5deg); }
}

@keyframes sheriff-talk-frames {
  0%, 49% { background-image: url("/assets/images/sheriff-talk-a.png"); }
  50%, 100% { background-image: url("/assets/images/sheriff-talk-b.png"); }
}

@keyframes sheriff-word-flight {
  0% {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) rotate(var(--sheriff-flight-tilt)) scale(0.72);
  }

  100% {
    opacity: 1;
    transform:
      translate3d(
        calc(-50% + var(--sheriff-flight-dx)),
        calc(-50% + var(--sheriff-flight-dy)),
        0
      )
      rotate(0deg)
      scale(1);
  }
}

@keyframes sound-bar {
  from { transform: scaleY(0.3); }
  to { transform: scaleY(1); }
}

@keyframes scroll-drop {
  0% { transform: translateY(0); }
  100% { transform: translateY(200%); }
}

@keyframes signal-badge-jitter {
  0% { transform: rotate(-3deg) scale(1.03, 0.97); }
  6% { transform: rotate(2.5deg) scale(0.97, 1.03); }
  12% { transform: rotate(-1.5deg) scale(1.02, 0.98); }
  18% { transform: rotate(1deg) scale(0.99, 1.01); }
  24%, 100% { transform: rotate(0deg) scale(1); }
}

@keyframes signal-arrow-flight {
  0%, 5% { opacity: 0; transform: translate(0, 0) rotate(-20deg); }
  7% { opacity: 1; transform: translate(8px, -6px) rotate(-17deg); }
  18% { opacity: 1; transform: translate(var(--signal-arrow-arc-one-x), var(--signal-arrow-arc-y)) rotate(-7deg); }
  27% { opacity: 1; transform: translate(var(--signal-arrow-arc-two-x), var(--signal-arrow-arc-y)) rotate(12deg); }
  36%, 100% { opacity: 0; transform: translate(var(--signal-arrow-land-x), var(--signal-arrow-land-y)) rotate(68deg); }
}

@keyframes signal-arrow-stuck-fade {
  from { opacity: 0.9; }
  to { opacity: 0; }
}

@keyframes signal-arrow-stuck-twang {
  0%, 100% { rotate: 0deg; }
  16% { rotate: -5deg; }
  34% { rotate: 4deg; }
  52% { rotate: -2.75deg; }
  70% { rotate: 1.5deg; }
  86% { rotate: -0.6deg; }
}

@keyframes signal-rider-tick {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 var(--signal-rider-tick-y); }
}

@keyframes signal-rider-surge {
  0%, 100% { translate: 0 0; }
  18% { translate: var(--signal-rider-surge-forward) 0; }
  38% { translate: var(--signal-rider-surge-back) 0; }
  60% { translate: var(--signal-rider-surge-forward-two) 0; }
  82% { translate: var(--signal-rider-surge-back-two) 0; }
}

@keyframes signal-cowboy-gallop {
  0%, 100% { translate: 0 0; }
  18% { translate: var(--signal-rider-surge-forward) var(--signal-rider-tick-y); }
  38% { translate: var(--signal-rider-surge-back) 0; }
  60% { translate: var(--signal-rider-surge-forward-two) var(--signal-rider-tick-y); }
  82% { translate: var(--signal-rider-surge-back-two) 0; }
}

@keyframes signal-critter-fright-hop {
  0%, 100% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-7px) scale(1.04); }
}

@keyframes signal-critter-fright-lines {
  0% { opacity: 0; transform: scale(0.6); }
  30%, 85% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.08); }
}

@keyframes signal-critter-run {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@media (max-width: 1040px) {
  .hero__content {
    grid-template-columns: minmax(0, 1fr) 390px;
    column-gap: 25px;
  }

  .hero h1 {
    font-size: clamp(39px, 5.2vw, 58px);
  }

  .sheriff-control__visual {
    height: 345px;
  }

  .sheriff-control__halo {
    width: 310px;
    height: 310px;
  }

  .cookbook-layout {
    grid-template-columns: 1fr;
  }

  .recipe-blueprint {
    width: min(100%, 720px);
    justify-self: center;
  }

  .use-case-card__content {
    grid-template-columns: 1fr;
  }

  .agent-build-result__file-guide > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .site-footer__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 32px, 680px);
  }

  .site-nav {
    min-height: 68px;
  }

  .hero {
    min-height: auto;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgb(17 17 27 / 68%), rgb(20 18 29 / 72%) 43%, rgb(20 18 29 / 94%) 76%, var(--night) 100%),
      linear-gradient(90deg, rgb(17 17 27 / 60%), transparent);
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 92px 52px;
  }

  .hero__copy {
    grid-column: 1;
    grid-row: 1;
    max-width: 650px;
  }

  .hero__lead {
    margin-bottom: 0;
  }

  .hero__actions {
    grid-column: 1;
    grid-row: 3;
  }

  .hero h1 {
    max-width: 680px;
    font-size: clamp(39px, 8vw, 58px);
  }

  .sheriff-stage {
    grid-column: 1;
    grid-row: 2;
    width: min(100%, 520px);
    justify-self: center;
    margin-top: 0;
    padding-top: 0;
  }

  .sheriff-control__visual {
    height: 390px;
  }

  .sheriff-control__halo {
    width: 350px;
    height: 350px;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .agent-build-result {
    padding-inline: clamp(20px, 4vw, 34px);
  }

  .agent-build-result__facts,
  .agent-build-result__handoff {
    grid-template-columns: 1fr;
  }

  .agent-build-result__facts > div + div {
    border-top: 1px solid rgb(118 53 37 / 18%);
    border-left: 0;
  }

  .install-sequence__step {
    grid-template-columns: minmax(0, 1fr);
  }

  .install-sequence__step .workflow-panel__copy {
    grid-column: 1;
  }

  .install-sequence__step .workflow-terminal {
    grid-column: 1 / -1;
  }

  .caller-grid,
  .runtime-pair {
    grid-template-columns: 1fr;
  }

  .mcp-friction__item {
    grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
    gap: 12px;
  }

  .mcp-friction__answer {
    grid-column: 3;
  }

  .mcp-friction__versus {
    width: 34px;
    height: 34px;
  }

  .compute-sequence {
    grid-template-columns: 1fr;
  }

  .compute-sequence li:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--section-line);
  }

  .compute-sequence li:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -8px;
    content: "↓";
    transform: translateX(50%);
  }

  .runtime-lifecycle {
    grid-template-columns: 1fr;
  }

  .runtime-lifecycle li {
    grid-template-columns: 34px minmax(90px, 0.28fr) 1fr;
    gap: 12px;
    align-items: center;
  }

  .runtime-lifecycle li:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid rgb(255 248 232 / 18%);
  }

  .runtime-panel {
    min-height: auto;
  }

  .lemc-theme-shot__content {
    grid-template-columns: 1fr;
  }

  .lemc-theme-shot__frames {
    height: 940px;
  }

  .lemc-theme-shot__job-rail {
    grid-template-columns: 1fr;
  }

  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .use-case-card {
    min-height: auto;
  }

  .use-case-card__diagram {
    grid-template-columns: 1fr;
  }

  .use-case-card__node {
    min-height: auto;
  }

  .use-case-card__arrow {
    min-height: 24px;
    transform: rotate(90deg);
  }

  .caller-grid {
    gap: 22px;
  }

  .site-footer__inner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "brand copyright"
      "nav nav";
    gap: 18px;
    padding-block: 30px;
  }

  .site-footer nav {
    grid-area: nav;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 28px);
  }

  body {
    font-size: 16px;
  }

  .agent-workbench {
    border-radius: 12px;
  }

  .workflow-tabs__list {
    justify-content: flex-start;
  }

  .workflow-tabs__list button {
    padding-inline: 12px;
    font-size: 0.68rem;
  }

  .agent-session,
  .agent-build-result {
    padding: 20px 16px;
  }

  .install-sequence__step {
    gap: 14px;
    padding: 20px 16px;
  }

  .workflow-terminal,
  .agent-session__terminal {
    min-height: 250px;
    padding: 16px 13px;
    font-size: 0.68rem;
  }

  .agent-build-result__contract pre {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: pre;
  }

  .agent-build-result__handoff {
    gap: 32px;
    margin-top: 30px;
    padding-top: 26px;
  }

  .agent-build-result__actions ul,
  .agent-build-result__file-guide > div {
    grid-template-columns: 1fr;
  }

  .agent-build-result__file-guide > div {
    gap: 5px;
  }

  .agent-build-result__actions li {
    padding-inline: 10px;
  }

  .brand__name {
    display: inline;
    font-size: 18px;
  }

  .brand--footer .brand__name {
    display: inline;
  }

  .brand__short {
    display: none;
  }

  .brand__sheriff {
    width: 44px;
  }

  .site-nav,
  .docs-header__inner {
    gap: 12px;
  }

  .site-nav__jump summary {
    padding-inline: 10px;
    font-size: 10px;
  }

  .hero__content {
    padding-block: 76px 22px;
  }

  .hero h1 {
    margin-bottom: 8px;
    font-size: clamp(38px, 10.7vw, 46px);
    line-height: 0.98;
  }

  .hero__subtitle {
    margin-bottom: 6px;
    font-size: clamp(11px, 3.2vw, 13px);
    line-height: 1.08;
    white-space: nowrap;
  }

  .hero__lead {
    font-size: 15px;
    line-height: 1.42;
  }

  .hero__actions {
    display: none;
  }

  .closing-section__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .sheriff-stage {
    padding-top: 0;
  }

  .sheriff-control__visual {
    height: 340px;
  }

  .sheriff-control__halo {
    width: 300px;
    height: 300px;
  }

  .sheriff-control__portrait {
    inset: -2% 3% 5%;
  }

  .sheriff-audio-controls {
    margin-top: -24px;
    gap: 18px;
  }

  .hero:has(.sheriff-playlist[open]) {
    z-index: 1001;
  }

  .sheriff-playlist__panel {
    position: fixed;
    z-index: 10002;
    top: 50%;
    left: 50%;
    width: min(410px, calc(100vw - 32px));
    max-height: min(480px, calc(100dvh - 96px));
    transform: translate(-50%, -50%);
  }

  .sheriff-playlist__items {
    max-height: min(430px, calc(100dvh - 138px));
  }

  .sheriff-sentence {
    width: min(100%, 390px);
    min-height: 4.88em;
    margin-top: 10px;
    font-size: 15px;
  }

  .section {
    padding-block: 82px;
  }

  .section-heading h2,
  .closing-section h2 {
    font-size: clamp(34px, 11vw, 49px);
  }

  .mcp-section .section-heading h2 {
    font-size: clamp(28px, 7.7vw, 34px);
  }

  .section-heading {
    margin-bottom: 46px;
  }

  .truth-note {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 42px;
    padding: 22px 18px 24px;
  }

  .handoff-story {
    --handoff-rail-width: 40px;
    --handoff-rail-x: 12px;
    --handoff-node-y: 28px;
    --handoff-step-left: 12px;

    gap: 32px;
  }

  .handoff-story__card {
    grid-template-columns: 1fr;
    grid-template-rows: auto 185px;
  }

  .runtime-panel,
  .use-case-card {
    padding: 24px;
  }

  .handoff-story__scene {
    grid-column: 1;
    grid-row: 2;
    padding: 39px 16px 18px;
    min-height: 185px;
    border-top: 1px solid rgb(255 248 232 / 18%);
    border-left: 0;
  }

  .handoff-story__copy {
    grid-column: 1;
    grid-row: 1;
    padding: 58px 22px 24px;
  }

  .handoff-story__step {
    top: 12px;
    left: 12px;
    gap: 0;
    font-size: 0;
  }

  .handoff-story__step span {
    width: 32px;
    height: 32px;
    font-size: 9px;
  }

  .handoff-story__scene-label {
    top: 16px;
    right: 14px;
  }

  .handoff-story__chips {
    right: 12px;
    bottom: 10px;
    max-width: calc(100% - 24px);
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .handoff-story__people {
    gap: 7px;
  }

  .handoff-story__people > span {
    min-height: 72px;
    font-size: 19px;
  }

  .runtime-lifecycle li {
    grid-template-columns: 28px 80px 1fr;
    gap: 8px;
    padding-inline: 10px;
  }

  .lemc-theme-shot__browser {
    border-radius: 10px;
    box-shadow: 7px 8px 0 rgb(73 59 75 / 15%);
  }

  .lemc-theme-shot__frames {
    height: 1110px;
    border-radius: 10px;
    box-shadow: 7px 8px 0 rgb(73 59 75 / 15%);
  }

  .lemc-theme-shot__stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .lemc-theme-shot__cycle {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .lemc-theme-shot__cycle-controls {
    gap: 8px;
  }

  .lemc-theme-shot__selection {
    gap: 7px;
    font-size: 11px;
  }

  .lemc-theme-shot figcaption p {
    padding-inline: 4px;
    font-size: 11px;
  }

  .lemc-theme-shot__browserbar {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px;
  }

  .lemc-theme-shot__state {
    display: none;
  }

  .lemc-theme-shot__navbar {
    gap: 10px;
    min-height: 72px;
    padding-inline: 10px;
  }

  .lemc-theme-shot__logo-stack {
    width: 120px;
    height: 54px;
  }

  .lemc-theme-shot__corporate-logo {
    width: 100px;
    height: 38px;
    margin: 8px 10px;
  }
  .lemc-theme-shot__default-logo { width: 72px; }

  .lemc-theme-shot__brand-copy {
    display: none;
  }

  .lemc-theme-shot__navlinks > span {
    padding: 6px 8px;
    font-size: 8px;
  }

  .lemc-theme-shot__user > span {
    display: none;
  }

  .lemc-theme-shot__workspace {
    padding: 12px;
  }

  .lemc-theme-shot__app-meta {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .lemc-theme-shot__app-icon {
    width: 44px;
    height: 44px;
  }

  .lemc-theme-shot__app-meta h3 {
    font-size: 17px;
  }

  .lemc-theme-shot__access {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .lemc-theme-shot__scope-tabs,
  .lemc-theme-shot__page-tabs {
    flex-wrap: wrap;
  }

  .lemc-theme-shot__scope-tabs span,
  .lemc-theme-shot__page-tabs span {
    padding: 7px 8px;
    font-size: 8px;
  }

  .lemc-theme-shot__content {
    gap: 12px;
    padding: 12px;
  }

  .lemc-theme-shot__wiki {
    padding: 16px;
  }

  .lemc-theme-shot__wiki h4 {
    font-size: 19px;
  }

  .lemc-theme-shot__wiki dl,
  .lemc-theme-shot__job-rail {
    grid-template-columns: 1fr;
  }

  .use-case-card header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 34px;
  }

  .use-case-card__content {
    gap: 26px;
  }

  .use-case-card__node {
    padding: 17px;
  }

  .use-case-card__receipt {
    margin-top: 26px;
  }

  .caller-card {
    padding: 18px;
  }

  .caller-card__header {
    grid-template-columns: auto 1fr;
  }

  .caller-card__badge {
    display: none;
  }

  .browser-demo__body {
    padding: 22px 18px;
  }

  .terminal-demo pre {
    padding: 22px 15px;
    font-size: 10px;
  }

  .mcp-friction__item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mcp-friction__topic {
    grid-column: auto;
  }

  .mcp-friction__pain,
  .mcp-friction__versus,
  .mcp-friction__answer {
    grid-column: 1;
  }

  .mcp-friction__versus {
    grid-row: auto;
    width: 32px;
    height: 32px;
  }

  .mcp-friction__answer {
    padding-left: 13px;
  }

  .mcp-research-link {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr) max-content;
    grid-template-areas:
      "brand nav"
      "copyright nav";
    min-height: auto;
    gap: 4px 12px;
    align-items: center;
    padding-block: 24px;
  }

  .brand--footer {
    align-self: end;
    justify-self: start;
    gap: 5px;
  }

  .brand--footer .brand__name {
    font-size: 12px;
  }

  .brand--footer .brand__sheriff {
    width: 30px;
  }

  .site-footer__copyright {
    align-self: start;
    justify-self: start;
  }

  .site-footer nav {
    display: grid;
    width: max-content;
    grid-template-columns: repeat(2, max-content);
    gap: 10px 12px;
    justify-content: flex-end;
    justify-self: end;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 8px;
    line-height: 1.4;
  }

  .site-footer nav a {
    text-align: right;
  }
}

/* Browser-captured social card mode. The build renders this from the live hero. */

html.mobile-preview {
  scroll-behavior: auto;
}

.mobile-preview .site-header {
  position: absolute;
}

.mobile-preview .dust-field,
.mobile-preview .hero__cloud {
  display: none;
}

.mobile-preview .sheriff-control__portrait {
  animation: none;
}

html.social-preview,
html.social-preview body {
  width: 1200px;
  height: 630px;
  overflow: hidden;
}

.social-preview .site-header {
  position: absolute;
}

.social-preview .site-nav__links,
.social-preview .hero__actions,
.social-preview .sheriff-audio-controls,
.social-preview .sheriff-sentence,
.social-preview .scroll-cue {
  display: none;
}

.social-preview .hero {
  width: 1200px;
  height: 630px;
  min-height: 630px;
}

.social-preview .hero__content {
  height: 630px;
  grid-template-columns: minmax(0, 1.12fr) minmax(400px, 0.88fr);
  column-gap: 20px;
  row-gap: 0;
  padding-block: 108px 22px;
}

.social-preview .hero__copy {
  max-width: 690px;
}

.social-preview .hero h1 {
  margin-bottom: 22px;
  font-size: 50px;
  line-height: 1.02;
}

.social-preview .hero__subtitle {
  margin-bottom: 8px;
  font-size: 18px;
}

.social-preview .hero__lead {
  max-width: 570px;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.45;
}

.social-preview .sheriff-stage {
  align-self: center;
  padding-top: 70px;
}

.social-preview .sheriff-control {
  width: 500px;
  cursor: default;
}

.social-preview .sheriff-control__visual {
  height: 500px;
}

.social-preview .sheriff-control__halo {
  top: 48%;
  width: 390px;
  height: 390px;
}

.social-preview .sheriff-control__portrait {
  inset: -5% -13% 0;
  animation: none;
  transform: none;
}

.social-preview .sheriff-heckle-sign {
  display: none;
}

.social-preview .hero__backdrop {
  animation: none;
  transform: scale(1.09);
}

.social-preview .hero__cloud,
.social-preview .dust-field {
  display: none;
}

.social-preview .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__backdrop {
    transform: none;
  }

  .dust-field,
  .hero__cloud,
  .scroll-cue {
    display: none;
  }

  .signal-strip__badge-jitter,
  .signal-strip__arrow,
  .signal-strip__critter-facing,
  .signal-strip__critter-motion {
    animation: none !important;
    transform: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .lemc-theme-shot__screen,
  .lemc-theme-shot__screen *,
  .lemc-theme-shot__state b,
  .lemc-theme-shot__brand-copy b,
  .lemc-theme-shot__logo-stack img,
  .lemc-theme-shot__workspace::before,
  .lemc-theme-shot__workspace::after {
    transition-delay: 0ms !important;
  }

  .sheriff-sentence__flight-layer {
    display: none;
  }
}

@media (forced-colors: active) {
  .truth-note__mark {
    clip-path: none;
  }

  .hero__shade {
    background: Canvas;
    opacity: 0.78;
  }

  .caller-card,
  .compute-sequence,
  .runtime-panel,
  .lemc-theme-shot__browser,
  .lemc-theme-shot__app,
  .lemc-theme-shot__wiki,
  .lemc-theme-shot__action,
  .use-case-card,
  .use-case-card__node {
    border: 2px solid CanvasText;
  }

  .sheriff-sentence__word {
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
    -webkit-text-stroke: 0;
    text-shadow: none;
  }
}

/* First-party releases */

.release-page {
  min-height: 100svh;
  background: var(--night);
  color: var(--cream);
}

.release-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(148px, 17vw, 220px) clamp(92px, 11vw, 140px);
  border-bottom: 1px solid var(--line-light);
  background:
    radial-gradient(circle at 82% 18%, rgb(227 184 124 / 25%), transparent 24%),
    linear-gradient(rgb(21 20 33 / 88%), rgb(21 20 33 / 96%)),
    url("/assets/images/wildwest-bg.png") center 45% / cover;
}

.release-hero::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 2%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2%) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  pointer-events: none;
}

.release-hero__content {
  position: relative;
  z-index: 1;
}

.release-hero h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 400;
  line-height: 1.02;
}

.release-hero__content > p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 38px;
  color: rgb(255 248 232 / 72%);
  font-size: clamp(17px, 2vw, 21px);
}

.release-hero code {
  color: var(--gold-bright);
  font-size: 0.85em;
}

.release-status {
  display: grid;
  width: min(100%, 720px);
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgb(227 184 124 / 38%);
  background: rgb(21 20 33 / 76%);
  box-shadow: 8px 9px 0 rgb(170 82 56 / 24%);
  font-family: var(--mono);
}

.release-status span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release-status strong {
  color: var(--cream);
  font-size: 13px;
}

.release-status small {
  color: rgb(255 248 232 / 50%);
  font-size: 9px;
  text-align: right;
}

.release-catalog {
  background:
    radial-gradient(circle at 8% 8%, rgb(227 184 124 / 20%), transparent 25%),
    var(--paper-pale);
  color: var(--ink);
}

.release-catalog .section-heading--split > p {
  color: var(--ink-soft);
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.release-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line-dark);
  background: rgb(255 248 232 / 76%);
  box-shadow: 7px 8px 0 rgb(118 53 37 / 14%);
}

.release-card--container {
  background: rgb(227 184 124 / 16%);
}

.release-card.is-available {
  border-color: var(--rust-dark);
}

.release-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 27px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--rust-dark);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.release-card header small {
  color: var(--ink-soft);
  font-size: 8px;
}

.release-card h3 {
  margin-bottom: 14px;
  font-size: 18px;
  line-height: 1.35;
}

.release-card h3 code {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.88em;
}

.release-card > p:not(.release-card__sha) {
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.58;
}

.release-card__action {
  margin-top: auto;
}

.release-card__action > span {
  display: block;
  padding: 12px 14px;
  border: 1px dashed rgb(118 53 37 / 35%);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  text-align: center;
  text-transform: uppercase;
}

.release-card__download {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
}

.release-card__pull {
  display: block;
  overflow-wrap: anywhere;
  padding: 12px 14px;
  border: 1px solid #443745;
  background: var(--night-soft);
  color: var(--cream);
  font-size: 9px;
  line-height: 1.6;
}

.release-card__sha {
  margin: 14px 0 0;
  overflow-wrap: anywhere;
  color: var(--rust-dark);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.55;
}

.release-catalog__empty {
  margin: 34px 0 0;
  padding: 18px 20px;
  border-left: 3px solid var(--rust);
  background: rgb(170 82 56 / 8%);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11px;
}

.release-catalog__checksums a {
  color: var(--rust-dark);
  font-weight: 800;
  text-underline-offset: 4px;
}

.release-proof {
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background:
    radial-gradient(circle at 85% 15%, rgb(227 184 124 / 14%), transparent 30%),
    var(--night-soft);
}

.release-proof__layout,
.release-verify__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
}

.release-proof h2,
.release-history h2,
.release-verify h2 {
  margin-bottom: 22px;
  font-family: var(--display);
  font-size: clamp(36px, 4.7vw, 57px);
  font-weight: 400;
  line-height: 1.08;
}

.release-proof__layout > div > p:last-child {
  margin: 0;
  color: rgb(255 248 232 / 64%);
  font-size: 16px;
}

.release-proof__steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.release-proof__steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 17px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line-light);
}

.release-proof__steps li > span {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
}

.release-proof__steps p {
  margin: 0;
  color: rgb(255 248 232 / 64%);
  font-size: 14px;
}

.release-proof__steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--cream);
}

.release-proof__steps code {
  color: var(--gold);
  font-size: 0.82em;
}

.release-history__open {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.release-history__open:hover,
.release-history__open:focus-visible {
  color: var(--cream);
}

.release-history__open:focus-visible,
.release-changelog__close:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.release-changelog {
  width: min(760px, calc(100vw - 32px));
  max-width: none;
  max-height: min(86vh, 900px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--rust);
  background: var(--cream);
  box-shadow: 0 28px 90px rgb(15 12 17 / 55%);
  color: var(--ink);
}

.release-changelog::backdrop {
  background: rgb(21 17 23 / 78%);
  backdrop-filter: blur(3px);
}

.release-changelog__frame {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: min(86vh, 900px);
}

.release-changelog__header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(24px, 5vw, 42px);
  border-bottom: 1px solid rgb(118 53 37 / 24%);
  background: var(--paper);
}

.release-changelog__header .eyebrow {
  margin-bottom: 10px;
}

.release-changelog__header h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 400;
  line-height: 1;
}

.release-changelog__close {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.release-changelog__close:hover {
  background: var(--ink);
  color: var(--cream);
}

.release-changelog__content {
  overflow: auto;
  padding: clamp(24px, 5vw, 42px);
  background: var(--cream);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.release-changelog__content h3,
.release-changelog__content h4,
.release-changelog__content h5 {
  margin: 34px 0 12px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.15;
}

.release-changelog__content h3:first-child {
  margin-top: 0;
  font-size: 32px;
}

.release-changelog__content h4 {
  font-size: 25px;
}

.release-changelog__content h5 {
  font-size: 20px;
}

.release-changelog__content p,
.release-changelog__content ul {
  margin: 0 0 16px;
}

.release-changelog__content ul {
  padding-left: 22px;
}

.release-changelog__content code {
  color: var(--rust-dark);
}

.release-changelog__content pre {
  overflow: auto;
  padding: 18px;
  background: var(--night);
  color: var(--cream);
  font-size: 12px;
}

.release-changelog__footer {
  display: flex;
  justify-content: flex-end;
  padding: 20px clamp(24px, 5vw, 42px);
  border-top: 1px solid rgb(118 53 37 / 24%);
  background: var(--paper);
}

.release-changelog__footer .button {
  min-height: 44px;
}

.release-verify {
  background: #e7c486;
  color: var(--ink);
}

.release-verify__layout > div > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.release-verify code {
  color: var(--rust-dark);
  font-size: 0.84em;
}

.release-verify pre {
  margin: 0;
  overflow-x: auto;
  padding: 28px;
  border: 1px solid #443745;
  background: var(--night-soft);
  box-shadow: 8px 9px 0 rgb(118 53 37 / 24%);
  color: var(--cream);
  font-size: 12px;
  line-height: 1.8;
}

.release-verify pre code {
  color: inherit;
}

.release-closing {
  padding-block: 58px;
  border-bottom: 1px solid var(--line-light);
  background: var(--night);
}

.release-closing .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.release-closing p {
  margin: 0;
  color: rgb(255 248 232 / 66%);
}

@media (max-width: 1040px) {
  .release-grid {
    grid-template-columns: 1fr 1fr;
  }

  .release-proof__layout,
  .release-verify__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .release-status {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .release-status small {
    text-align: left;
  }

  .release-grid {
    grid-template-columns: 1fr;
  }

  .release-card {
    min-height: auto;
  }

  .release-closing .shell {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Markdown-shaped HTML documentation */

.docs-page {
  min-height: 100svh;
  background:
    linear-gradient(rgb(21 20 33 / 96%), rgb(21 20 33 / 96%)),
    url("/assets/images/wildwest-bg.png") center top / cover fixed;
  color: var(--cream);
}

.docs-page::before {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 2%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2%) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  pointer-events: none;
}

.docs-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line-light);
  background: rgb(21 20 33 / 88%);
  backdrop-filter: blur(14px);
}

.docs-header__inner {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.docs-header__links {
  display: flex;
  align-items: center;
  gap: clamp(17px, 3vw, 34px);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.docs-header__links a {
  color: rgb(255 248 232 / 66%);
  text-decoration: none;
}

.docs-header__links a:hover,
.docs-header__links a[aria-current="page"] {
  color: var(--gold-bright);
}

.docs-layout {
  position: relative;
  display: grid;
  grid-template-columns: 210px minmax(0, 820px);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
  justify-content: center;
  padding-block: 70px 90px;
}

.docs-sidebar {
  position: sticky;
  top: 112px;
  padding-top: 7px;
}

.docs-sidebar__label {
  margin-bottom: 13px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.docs-sidebar nav {
  display: grid;
  border-top: 1px solid var(--line-light);
}

.docs-sidebar nav a {
  position: relative;
  padding: 9px 4px 9px 17px;
  border-bottom: 1px solid rgb(255 248 232 / 8%);
  color: rgb(255 248 232 / 54%);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.35;
  text-decoration: none;
}

.docs-sidebar nav a::before {
  position: absolute;
  left: 2px;
  color: rgb(227 184 124 / 42%);
  content: "-";
}

.docs-sidebar nav a:hover,
.docs-sidebar nav a[aria-current="page"] {
  color: var(--cream);
}

.docs-sidebar nav a[aria-current="page"]::before {
  color: var(--rust);
  content: ">";
}

.docs-sidebar__machine {
  display: block;
  margin-top: 22px;
  padding: 10px 12px;
  border: 1px solid rgb(227 184 124 / 30%);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 9px;
  text-decoration: none;
}

.docs-sidebar__machine:hover {
  border-color: var(--gold);
  background: rgb(227 184 124 / 8%);
}

.markdown-document {
  position: relative;
  width: 100%;
  padding: clamp(32px, 6vw, 68px);
  border: 1px solid #c39f6f;
  background:
    radial-gradient(circle at 90% 4%, rgb(170 82 56 / 9%), transparent 25%),
    radial-gradient(circle at 5% 92%, rgb(73 59 75 / 8%), transparent 27%),
    var(--paper-pale);
  box-shadow: 13px 15px 0 rgb(0 0 0 / 18%), var(--shadow);
  color: var(--ink);
}

.markdown-document::before,
.markdown-document::after {
  position: absolute;
  z-index: -1;
  width: 35px;
  height: 35px;
  border: 1px solid rgb(227 184 124 / 30%);
  content: "";
  transform: rotate(45deg);
}

.markdown-document::before {
  top: -11px;
  left: -11px;
}

.markdown-document::after {
  right: -11px;
  bottom: -11px;
}

.markdown-file,
.markdown-breadcrumbs {
  margin-bottom: 33px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.markdown-file span,
.markdown-breadcrumbs span {
  color: var(--rust-dark);
  font-weight: 800;
}

.markdown-breadcrumbs a {
  color: var(--rust-dark);
  text-underline-offset: 3px;
}

.markdown-document h1,
.markdown-document h2,
.markdown-document h3 {
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.markdown-document h1 {
  margin-bottom: 28px;
  font-size: clamp(34px, 5vw, 52px);
}

.markdown-document h2 {
  margin: 60px 0 20px;
  padding-top: 4px;
  border-top: 1px dashed rgb(33 25 29 / 17%);
  font-size: clamp(25px, 3.4vw, 33px);
}

.markdown-document h3 {
  margin: 37px 0 14px;
  font-size: 21px;
}

.heading-anchor {
  color: inherit;
  text-decoration: none;
}

.heading-anchor > span {
  margin-right: 8px;
  color: var(--rust-dark);
  font-family: var(--mono);
  font-size: 0.58em;
  font-weight: 800;
  letter-spacing: -0.08em;
  vertical-align: 0.15em;
}

.heading-anchor:hover {
  color: var(--rust-dark);
}

.heading-anchor:focus-visible {
  outline-color: var(--rust-dark);
}

.markdown-document > p,
.markdown-document section > p,
.markdown-document li,
.markdown-document dd,
.markdown-document td,
.markdown-document th {
  color: var(--ink-soft);
}

.markdown-document > p,
.markdown-document section > p {
  margin-bottom: 22px;
}

.markdown-document .lead {
  color: var(--ink);
  font-size: clamp(19px, 2.3vw, 23px);
  line-height: 1.65;
}

.markdown-document strong {
  color: var(--ink);
}

.markdown-document a:not(.heading-anchor, .docs-next a) {
  color: var(--rust-dark);
  text-decoration-color: rgb(118 53 37 / 40%);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.markdown-document a:not(.heading-anchor, .docs-next a):hover {
  color: var(--plum);
  text-decoration-color: currentColor;
}

.markdown-document code {
  padding: 2px 5px;
  border: 1px solid rgb(118 53 37 / 20%);
  background: rgb(170 82 56 / 7%);
  color: var(--rust-dark);
  font-size: 0.82em;
}

.markdown-document pre {
  position: relative;
  margin: 28px 0;
  overflow-x: auto;
  border: 1px solid #443745;
  background: var(--night-soft);
  box-shadow: 6px 7px 0 rgb(170 82 56 / 25%);
  color: #f3e7d1;
  font-size: 13px;
  line-height: 1.7;
  tab-size: 2;
}

.markdown-document pre::before {
  display: block;
  padding: 7px 13px;
  border-bottom: 1px solid rgb(255 248 232 / 10%);
  background: #171520;
  color: rgb(255 248 232 / 42%);
  content: attr(data-language);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.markdown-document pre code {
  display: block;
  min-width: max-content;
  padding: 20px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}

.markdown-document blockquote {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin: 30px 0 42px;
  padding: 20px 22px;
  border: 1px solid rgb(118 53 37 / 23%);
  border-left: 4px solid var(--rust);
  background: rgb(227 184 124 / 20%);
}

.markdown-document blockquote .markdown-marker {
  color: var(--rust-dark);
  font-family: var(--mono);
  font-weight: 800;
}

.markdown-document blockquote p {
  margin: 0;
  color: var(--ink-soft);
}

.markdown-link-list,
.markdown-list,
.markdown-steps {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.markdown-link-list li,
.markdown-list li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 24px;
}

.markdown-link-list li::before,
.markdown-list li::before {
  position: absolute;
  left: 3px;
  color: var(--rust-dark);
  content: "-";
  font-family: var(--mono);
  font-weight: 800;
}

.markdown-link-list a {
  font-weight: 700;
}

.markdown-link-list span {
  color: var(--ink-soft);
}

.markdown-steps {
  counter-reset: markdown-step;
}

.markdown-steps li {
  position: relative;
  min-height: 34px;
  margin-bottom: 12px;
  padding-left: 48px;
  counter-increment: markdown-step;
}

.markdown-steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--rust-dark);
  content: counter(markdown-step) ".";
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}

.markdown-note {
  display: grid;
  gap: 7px;
  margin-top: 32px;
  padding: 17px 19px;
  border-left: 3px solid var(--plum);
  background: rgb(73 59 75 / 8%);
}

.markdown-note > span {
  color: var(--plum);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
}

.markdown-note--warning {
  border-left-color: var(--rust);
  background: rgb(170 82 56 / 8%);
}

.markdown-note--warning > span {
  color: var(--rust-dark);
}

.markdown-document dl {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) 1fr;
  margin-block: 25px;
  border-top: 1px solid var(--line-dark);
}

.markdown-document dt,
.markdown-document dd {
  margin: 0;
  padding: 13px 10px;
  border-bottom: 1px solid var(--line-dark);
}

.markdown-document dt {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
}

.markdown-document dd {
  font-size: 15px;
}

.table-scroll {
  width: 100%;
  margin-block: 28px;
  overflow-x: auto;
  border: 1px solid var(--line-dark);
}

.markdown-document table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}

.markdown-document th,
.markdown-document td {
  padding: 12px 13px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  text-align: left;
  vertical-align: top;
}

.markdown-document th {
  background: rgb(73 59 75 / 9%);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.markdown-document tr:last-child td {
  border-bottom: 0;
}

.markdown-document th:last-child,
.markdown-document td:last-child {
  border-right: 0;
}

.docs-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.docs-next > span {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.docs-next a {
  color: var(--rust-dark);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.docs-next a:hover {
  color: var(--plum);
}

.docs-footer {
  position: relative;
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line-light);
  color: rgb(255 248 232 / 58%);
  font-family: var(--mono);
  font-size: 9px;
}

.docs-footer p {
  margin: 0;
}

.docs-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
}

.docs-footer a {
  color: var(--gold);
  text-decoration: none;
}

.docs-footer a:hover {
  color: var(--gold-bright);
}

@media (max-width: 900px) {
  .docs-layout {
    display: block;
    max-width: 790px;
    padding-top: 32px;
  }

  .docs-sidebar {
    position: static;
    margin-bottom: 28px;
    padding: 0;
  }

  .docs-sidebar__label {
    display: none;
  }

  .docs-sidebar nav {
    display: flex;
    overflow-x: auto;
    border-top: 0;
    border-bottom: 1px solid var(--line-light);
    scrollbar-width: thin;
  }

  .docs-sidebar nav a {
    flex: 0 0 auto;
    padding: 10px 11px;
    border-bottom: 0;
    white-space: nowrap;
  }

  .docs-sidebar nav a::before {
    display: none;
  }

  .docs-sidebar nav a[aria-current="page"] {
    border-bottom: 2px solid var(--rust);
  }

  .docs-sidebar__machine {
    display: none;
  }
}

@media (max-width: 600px) {
  .docs-header__links a:last-child {
    display: none;
  }

  .docs-layout {
    width: 100%;
    padding: 18px 0 60px;
  }

  .docs-sidebar {
    width: calc(100% - 28px);
    margin-inline: auto;
  }

  .markdown-document {
    border-right: 0;
    border-left: 0;
    box-shadow: none;
  }

  .markdown-document::before,
  .markdown-document::after {
    display: none;
  }

  .markdown-document h2 {
    margin-top: 48px;
  }

  .markdown-document blockquote {
    grid-template-columns: 1fr;
  }

  .markdown-document dl {
    grid-template-columns: 1fr;
  }

  .markdown-document dt {
    padding-bottom: 3px;
    border-bottom: 0;
  }

  .markdown-document dd {
    padding-top: 3px;
  }

  .docs-next,
  .docs-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .docs-footer {
    justify-content: center;
    padding-block: 28px;
  }

  .docs-footer__nav {
    justify-content: flex-start;
  }

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