/* /bots only. Uses the live site tokens. Does not recolor shared chrome. */

.bots-main {
  padding-top: 136px;
  padding-bottom: 88px;
}

.bots-detail-page .bots-main {
  padding-top: 104px;
}

.bots-header {
  margin: 0 0 56px;
}

.bots-eyebrow,
.bots-cover-label,
.bots-crumb {
  margin: 0;
  color: var(--signal);
  font: 400 11px/17px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bots-eyebrow {
  margin-bottom: 16px;
}

.bots-mast {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 0;
}

.bots-h1,
.bots-cover-title,
.bots-detail-title,
.bots-h2 {
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.bots-h1 {
  font-size: 144px;
  line-height: 124px;
}

.bots-counter {
  color: var(--fog);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 44px;
  line-height: 48px;
  letter-spacing: 0;
  text-transform: none;
}

.bots-lede,
.bots-deck,
.bots-prose,
.bots-list,
.bots-dl dd,
.bots-railnote {
  margin: 0;
  color: var(--paper);
  font: 400 18px/28px var(--body);
  letter-spacing: 0;
  text-wrap: pretty;
}

.bots-lede {
  max-width: 640px;
  margin-top: 20px;
}

.bots-shelf {
  display: flex;
  flex-direction: column;
}

.bots-entry {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) max-content;
  column-gap: 24px;
  align-items: start;
  min-height: 340px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bots-entry + .bots-entry {
  border-top: 0;
}

.bots-cover-label {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 20px;
}

.bots-cover-title {
  grid-column: 1;
  grid-row: 2;
  font-size: 88px;
  line-height: 80px;
  max-width: 100%;
}

.bots-cover-title span,
.bots-detail-title span {
  display: block;
}

.bots-copy {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  max-width: 460px;
}

.bots-promise {
  margin: 0 0 20px;
  max-width: 460px;
  color: var(--paper);
  font: 400 22px/30px var(--body);
  letter-spacing: 0;
  text-wrap: pretty;
}

.bots-detail-head .bots-promise {
  max-width: 640px;
  margin: 16px 0 0;
}

.bots-status {
  margin: 24px 0 0;
  color: var(--paper);
  font: 600 14px/21px var(--body);
  letter-spacing: 0;
}

.bots-decision {
  grid-column: 3;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.bots-price {
  margin: 0;
  color: var(--paper);
  font: 600 24px/30px var(--body);
  letter-spacing: 0;
}

.bots-cta,
.bots-cta-quiet,
.bots-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 48px;
  padding: 0 16px;
  border: 2px solid var(--signal);
  border-radius: 2px;
  background: var(--signal);
  color: var(--ink);
  font: 600 12px/18px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 180ms var(--ease-out), color 180ms var(--ease-out), background-color 180ms var(--ease-out), text-decoration-color 180ms var(--ease-out);
}

.bots-cta:hover {
  text-decoration: underline;
  text-decoration-color: var(--ink);
  text-underline-offset: 0.22em;
}

.bots-cta:active,
.bots-cta-quiet:active {
  border-color: var(--paper);
  transition-duration: 120ms;
}

.bots-cta-quiet,
.bots-filter {
  border-width: 1px;
  border-color: var(--paper);
  background: transparent;
  color: var(--paper);
}

.bots-cta-quiet:hover,
.bots-filter:hover {
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-underline-offset: 0.22em;
}

.bots-explore,
.bots-prose a,
.bots-crumb a,
.bots-back {
  color: var(--paper);
  font: 600 12px/18px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 180ms var(--ease-out), text-decoration-color 180ms var(--ease-out);
}

.bots-prose a,
.bots-crumb a {
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.bots-explore {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.bots-explore:hover,
.bots-prose a:hover,
.bots-crumb a:hover,
.bots-back:hover {
  color: var(--paper);
  text-decoration-color: var(--paper);
}

.bots-grow,
.bots-disclaimer {
  max-width: 680px;
  margin: 32px 0 0;
  color: var(--fog);
  font: 400 16px/24px var(--body);
  letter-spacing: 0;
}

.bots-grow {
  max-width: 640px;
}

.bots-crumb {
  margin: 0 0 32px;
  color: var(--fog);
}

.bots-detail {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  column-gap: 40px;
  align-items: start;
}

.bots-detail-head {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.bots-detail-title {
  font-size: 104px;
  line-height: 94px;
  max-width: 100%;
}

.bots-rail {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.bots-rail .bots-status,
.bots-rail .bots-disclaimer,
.bots-railnote {
  margin: 0;
}

.bots-railnote {
  max-width: 36ch;
  font-size: 16px;
  line-height: 24px;
}

.bots-rail .bots-disclaimer {
  max-width: 36ch;
  margin: 0;
}

.bots-editorial {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}

.bots-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 28px 0 0;
}

.bots-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--paper);
  font: 400 11px/17px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-underline-offset: 0.22em;
}

.bots-toc a:hover {
  text-decoration-color: var(--paper);
}

.bots-section {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 88px;
}

.bots-h2 {
  max-width: 640px;
  margin: 0 0 20px;
  font-size: 48px;
  line-height: 46px;
}

.bots-prose {
  max-width: 640px;
  margin-bottom: 16px;
}

.bots-prose:last-child {
  margin-bottom: 0;
}

.bots-dl {
  max-width: 640px;
  margin: 20px 0 0;
}

.bots-dl div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.bots-dl div:last-child {
  border-bottom: 1px solid var(--line);
}

.bots-dl dt {
  margin: 0 0 6px;
  color: var(--paper);
  font: 600 16px/24px var(--body);
  letter-spacing: 0;
}

.bots-dl dd {
  max-width: 640px;
  font-size: 16px;
  line-height: 24px;
}

.bots-list {
  max-width: 640px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bots-list li {
  position: relative;
  padding: 12px 0 12px 18px;
  border-top: 1px solid var(--line);
}

.bots-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.bots-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35em;
  width: 8px;
  height: 1px;
  background: var(--signal);
}

.bots-closing {
  max-width: 640px;
  margin-top: 20px;
}

.bots-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
}

.bots-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 28px;
}

.bots-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bots-filter {
  min-height: 44px;
}

.bots-filter[aria-pressed="true"] {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--paper);
  text-underline-offset: 0.22em;
  background: transparent;
}

.bots-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.bots-search label {
  color: var(--paper);
  font: 400 14px/21px var(--body);
}

.bots-search input {
  min-height: 48px;
  min-width: min(100%, 280px);
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font: 400 16px/24px var(--body);
}

.bots-empty {
  margin: 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--paper);
  font: 400 18px/28px var(--body);
}

.bots-page :focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
}

.bots-rise {
  opacity: 1;
  transform: none;
}

.js .bots-rise {
  animation: bots-rise var(--dur, 560ms) var(--ease-out) both;
  animation-delay: var(--d, 0ms);
}

@keyframes bots-rise {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

html:has(body.bots-page) {
  scroll-behavior: smooth;
}

@media (min-width: 861px) and (min-height: 760px) {
  .bots-rail {
    position: sticky;
    top: 88px;
  }
}

.bots-rail.is-static {
  position: static;
}

@media (max-width: 860px) {
  .bots-main,
  .bots-detail-page .bots-main {
    padding-top: 104px;
  }

  .bots-detail-page .bots-main {
    padding-top: 88px;
  }

  .bots-header {
    margin-bottom: 32px;
  }

  .bots-mast {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .bots-h1 {
    font-size: 88px;
    line-height: 76px;
  }

  .bots-counter {
    font-size: 30px;
    line-height: 34px;
  }

  .bots-lede,
  .bots-deck,
  .bots-prose,
  .bots-list {
    font-size: 17px;
    line-height: 26px;
  }

  .bots-promise,
  .bots-detail-head .bots-promise {
    font-size: 20px;
    line-height: 28px;
  }

  .bots-entry {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
    min-height: 0;
    padding: 28px 0;
  }

  .bots-cover-label,
  .bots-cover-title,
  .bots-copy,
  .bots-decision {
    grid-column: 1;
    grid-row: auto;
  }

  .bots-cover-title {
    font-size: 52px;
    line-height: 49px;
  }

  .bots-decision {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 16px;
    row-gap: 8px;
  }

  .bots-decision .bots-explore {
    flex: 1 0 100%;
  }

  .bots-cta,
  .bots-decision .bots-cta {
    flex: 0 0 auto;
  }

  .bots-detail {
    display: flex;
    flex-direction: column;
  }

  .bots-detail-title {
    font-size: 56px;
    line-height: 53px;
  }

  .bots-rail {
    order: 0;
    margin-top: 24px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 0;
    position: static;
  }

  .bots-editorial {
    order: 1;
  }

  .bots-section {
    margin-top: 40px;
  }

  .bots-h2 {
    font-size: 36px;
    line-height: 36px;
  }

  .js .bots-rise {
    --dur: 480ms;
  }

  @keyframes bots-rise {
    from {
      opacity: 0;
      transform: translateY(32px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (max-width: 720px) {
  html:not(.js) body.bots-page .menu-btn {
    display: none;
  }

  html:not(.js) body.bots-page .menu {
    display: block !important;
    position: static;
    background: transparent;
    border: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.bots-page) {
    scroll-behavior: auto;
  }

  .js .bots-rise,
  .bots-rise {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}
