/* Hand-written styles of the landing (every page), not built by gulp: the gulp build of assets/sass does not run
   on this machine (node-sass, arm64). Colors and radii follow assets/sass/bootstrap-custom.scss
   ($primary #3053f0, $sky #548ef6, $yellow #ffbb2e). Script: js/landing-*.js. */

/* Image Enhancement section (index.html, index_ya.html): before/after comparison.
   The divider position is the --enhance-pos custom property, set by the script. */

/* NEW badge: a tilted yellow sticker ($yellow of the landing) with a hard black shadow */
.enhance-new {
  display: inline-block;
  padding: .15rem .7rem;
  border-radius: 3px;
  background-color: #ffbb2e;
  color: #000;
  font-size: .9rem;
  font-weight: 900;
  line-height: 1.75;
  letter-spacing: .05rem;
  transform: rotate(-6deg);
  box-shadow: 2px 3px 0 #000;
}

.enhance-eyebrow {
  color: rgba(0, 0, 0, .6);
  text-transform: uppercase;
  letter-spacing: .1rem;
}

.enhance-window {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  background-color: #fff;
}

.enhance-window .window-title {
  color: rgba(0, 0, 0, .6);
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  font-weight: 400;
}

/* The right side of the title bar: a "Real output" sticker (the NEW! look, not tilted; owner's choice 2026-12-03)
   and the scale, centred on one line by a flex row rather than by baselines of two different fonts */
.enhance-title {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .7rem;
}

.enhance-real-sticker {
  display: inline-block;
  padding: 0 .45rem;
  border-radius: 3px;
  background-color: #ffbb2e;
  color: #000;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: .6875rem;
  font-weight: 900;
  line-height: 1.25rem;
  letter-spacing: .05rem;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 1px 2px 0 #000;
}

/* the monospace digits sit a little low next to the sticker's capitals when their boxes are centred */
.enhance-scale {
  position: relative;
  top: -1px;
}

.enhance-compare {
  --enhance-pos: 50%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: #a8c3c8;
  cursor: ew-resize;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

@supports not (aspect-ratio: 16 / 9) {
  .enhance-compare::before {
    content: '';
    display: block;
    padding-top: 56.25%;
  }
}

.enhance-compare img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.enhance-compare-before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-clip-path: inset(0 calc(100% - var(--enhance-pos)) 0 0);
  clip-path: inset(0 calc(100% - var(--enhance-pos)) 0 0);
}

.enhance-label {
  position: absolute;
  top: 12px;
  padding: 0 .75rem;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, .9);
  color: #000;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}

.enhance-label-before {
  left: 12px;
}

.enhance-label-after {
  right: 12px;
}

.enhance-compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--enhance-pos);
  width: 0;
  touch-action: none;
  outline: none;
}

.enhance-compare-handle::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background-color: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, .35);
}

.enhance-compare-knob {
  position: absolute;
  top: 70%;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background-color: #fff;
  color: #3053f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  transition: transform .15s ease, box-shadow .15s ease;
}

.enhance-compare-knob svg {
  display: block;
}

.enhance-compare:hover .enhance-compare-knob,
.enhance-compare.is-dragging .enhance-compare-knob {
  transform: scale(1.08);
}

.enhance-compare-handle:focus-visible .enhance-compare-knob {
  box-shadow: 0 0 0 4px rgba(48, 83, 240, .5), 0 4px 14px rgba(0, 0, 0, .25);
}

.enhance-compare-hint {
  position: absolute;
  top: 70%;
  left: 0;
  margin-top: 30px;
  padding: 0 .75rem;
  border-radius: 3px;
  background-color: #3053f0;
  color: #fff;
  white-space: nowrap;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.enhance-compare.is-ready .enhance-compare-hint {
  opacity: 1;
}

.enhance-compare.is-touched .enhance-compare-hint {
  opacity: 0;
}

/* Example switcher (owner's choice 2026-12-03, variant C of three): a thumbnail of each example with its short name;
   the active one is outlined in blue. All nine stay on screen: 5 + 4 on phones and at 992-1279 px (the picture's
   column is narrow there), one row elsewhere. The thumbnails are the small "before" files of the examples. */
.enhance-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .5rem .375rem;
  max-width: 100%;
  margin: .75rem auto 0;
}

.enhance-thumb {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .2rem;
  min-width: 0;
  min-height: 44px;
  padding: 2px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}

.enhance-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 2px;
  object-fit: cover;
  opacity: .7;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1);
  transition: opacity .15s ease, box-shadow .15s ease;
}

.enhance-thumb span {
  overflow: hidden;
  color: rgba(0, 0, 0, .55);
  font-size: .6875rem;
  line-height: 1rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.enhance-thumb:hover img,
.enhance-thumb.is-active img {
  opacity: 1;
}

.enhance-thumb.is-active img {
  box-shadow: 0 0 0 2px #3053f0;
}

.enhance-thumb.is-active span {
  color: #3053f0;
  font-weight: 700;
}

.enhance-thumb:focus {
  outline: none;
}

.enhance-thumb:focus-visible img {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(48, 83, 240, .6);
}

@media (min-width: 576px) {
  .enhance-thumbs {
    grid-template-columns: repeat(9, minmax(0, 1fr));
  }
}

@media (min-width: 992px) and (max-width: 1279.98px) {
  .enhance-thumbs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 359.98px) {
  .enhance-thumb span {
    font-size: .625rem;
    letter-spacing: -.01rem;
  }
}

.enhance-square {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.025rem;
}


/* Icons in the feature squares (.square of the site's CSS): line icons from img/icons-*.svg, white on the square's
   blue. They replace the old .ico-warning / .ico-circle-play, which showed an exclamation mark for every feature. */
.square .icon {
  display: block;
  width: 32px;
  height: 32px;
  margin: 16px;
  color: #fff;
}

/* Cookie consent bar, created by the script on every page. Decline is as visible as Accept:
   refusing has to be as easy as agreeing. */
.cookie-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 2rem;
  border-top: 1px solid rgba(0, 0, 0, .12);
  background-color: #fff;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .06);
}

.cookie-bar-text {
  color: rgba(0, 0, 0, .75);
  font-size: .95rem;
  line-height: 1.5rem;
  letter-spacing: -.0125rem;
}

.cookie-bar-text a {
  color: #3053f0;
}

.cookie-bar-btns {
  display: flex;
  flex-shrink: 0;
  gap: .5rem;
}

.cookie-bar-btns .btn {
  min-width: 0;
  padding: .48rem 1.1rem;
  font-size: 1rem;
}

.cookie-bar .btn-outline-intro {
  border-color: rgba(0, 0, 0, .25);
  background-color: #fff;
  color: #000 !important;
  font-weight: 700;
}

.cookie-bar .btn-outline-intro:hover,
.cookie-bar .btn-outline-intro:focus {
  border-color: #3053f0;
  color: #3053f0 !important;
}

@media (max-width: 767.98px) {
  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
    gap: .75rem;
    padding: 1rem 15px;
  }

  .cookie-bar-btns .btn {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .enhance-compare-knob,
  .enhance-compare-hint,
  .enhance-thumb img {
    transition: none;
  }
}

/* Header navigation (every page). "Products" opens a list of the products, each with its icon and one line;
   then Pricing and API docs; Log in and Sign up on the right. Under 992 px the burger opens a white full-screen
   panel with the same items. The script (js/landing-*.js) opens the list and the panel. main-*.min.css styles the
   old black panel for phones by #sidebarIntro; "#navbarIntro #sidebarIntro" here wins over it. */
#navbarIntro .nav-link {
  white-space: nowrap;
}

#navbarIntro .nav-link[aria-current="page"],
#navbarIntro .nav-drop.is-open .nav-drop-toggle {
  color: #3053f0;
}

/* menu links to the blocks of the main page scroll there smoothly */
html {
  scroll-behavior: smooth;
}

.nav-drop-toggle {
  display: flex;
  align-items: center;
  background: none;
  border: 0;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.nav-drop-toggle:focus {
  outline: none;
}

.nav-drop-toggle:focus-visible {
  outline: 2px solid #3053f0;
  outline-offset: 2px;
  border-radius: 3px;
}

.nav-caret {
  width: 12px;
  height: 12px;
  margin-left: .35rem;
  transition: transform .2s ease;
}

.nav-drop.is-open .nav-caret {
  transform: rotate(180deg);
}

/* "PRODUCTS" above the list in the mobile panel */
.nav-label {
  margin-bottom: .5rem;
  padding: 0 .75rem;
  color: rgba(0, 0, 0, .5);
  font-size: .75rem;
  line-height: 1rem;
  letter-spacing: .1rem;
  text-transform: uppercase;
}

.nav-prod {
  display: flex;
  align-items: center;
  padding: .6rem .75rem;
  border-radius: 3px;
  color: #000;
}

.nav-prod:hover,
.nav-prod:focus {
  background-color: #f1f4fe;
  color: #000;
  text-decoration: none;
}

.nav-prod-ico {
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin-right: .875rem;
  border-radius: 3px;
  background-color: #3053f0;
}

.nav-prod-ico .icon {
  width: 22px;
  height: 22px;
  color: #fff;
}

.nav-prod-text {
  display: block;
  line-height: 1.25rem;
}

.nav-prod-text b {
  font-weight: 700;
}

.nav-prod-text small {
  display: block;
  margin-top: .1rem;
  color: rgba(0, 0, 0, .6);
  font-size: .875rem;
  font-weight: 400;
  letter-spacing: 0;
}

/* NEW next to Enhance: the NEW! sticker of the enhance section (.enhance-new), smaller */
.nav-new {
  display: inline-block;
  margin-left: .35rem;
  padding: 0 .3rem;
  border-radius: 3px;
  background-color: #ffbb2e;
  color: #000;
  font-size: .625rem;
  font-weight: 900;
  line-height: 1rem;
  letter-spacing: .03rem;
  vertical-align: .4rem;
  transform: rotate(-6deg);
  box-shadow: 1px 1px 0 #000;
}

@media (min-width: 992px) {
  #navbarIntro .nav-label {
    display: none;
  }

  #navbarIntro .nav-main .nav-link {
    padding: 0 1rem;
  }

  #navbarIntro .navbar-btn {
    align-items: center;
  }

  #navbarIntro .navbar-btn .nav-item:first-child .nav-link {
    padding-right: 1rem;
  }

  .nav-drop {
    position: relative;
  }

  .nav-drop-menu {
    position: absolute;
    top: calc(100% + .75rem);
    left: 50%;
    z-index: 1000;
    width: 410px;
    padding: .5rem;
    border-radius: 3px;
    background-color: #fff;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .12), 0 0 0 1px rgba(0, 0, 0, .05);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, .25rem);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
  }

  /* a bridge over the gap, so the mouse can travel from "Products" to the list */
  .nav-drop-menu::before {
    content: '';
    position: absolute;
    top: -.75rem;
    right: 0;
    left: 0;
    height: .75rem;
  }

  .nav-drop.is-open .nav-drop-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 991.98px) {
  #navbarIntro #sidebarIntro.collapse,
  #navbarIntro #sidebarIntro.collapsing {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2000;
    display: block;
    width: 100%;
    height: 100% !important;
    padding: 96px 1.25rem 1.5rem;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #fff;
    transition: none;
  }

  /* Bootstrap's collapse animates the height, which the panel does not use: it opens and closes at once */
  #navbarIntro #sidebarIntro.collapse:not(.show) {
    display: none;
  }

  /* on tablets the items keep a phone width instead of stretching across the screen */
  #navbarIntro #sidebarIntro > .navbar-nav {
    max-width: 480px;
  }

  /* the page under the open panel does not scroll */
  body.nav-open {
    overflow: hidden;
  }

  /* the close icon of the site's CSS is white (for the old black panel): a black one on the white panel */
  #navbarIntro .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg width='15' height='16' viewBox='0 0 15 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect x='14.1406' y='2.34375' width='18' height='2' transform='rotate%28135 14.1406 2.34375%29' fill='%23000'/%3e%3crect x='12.7266' y='15.0703' width='18' height='2' transform='rotate%28-135 12.7266 15.0703%29' fill='%23000'/%3e%3c/svg%3e");
  }

  #navbarIntro #sidebarIntro .nav-item {
    width: auto;
    padding: 0;
    text-align: left;
  }

  #navbarIntro .nav-drop-toggle {
    display: none;
  }

  #navbarIntro .nav-prod {
    padding: .55rem .75rem;
  }

  #navbarIntro #sidebarIntro .nav-main > .nav-item:not(.nav-drop) .nav-link {
    padding: .55rem .75rem;
    color: #000;
    font-size: 1.125rem;
  }

  #navbarIntro #sidebarIntro .nav-main > .nav-item:nth-child(2) {
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid rgba(0, 0, 0, .08);
  }

  #navbarIntro .navbar-btn {
    flex-direction: row;
    margin-top: 1.25rem;
  }

  #navbarIntro .navbar-btn .nav-item {
    flex: 1 1 0;
  }

  #navbarIntro .navbar-btn .nav-item + .nav-item {
    margin-left: .75rem;
  }

  #navbarIntro #sidebarIntro .navbar-btn .nav-link {
    display: block;
    max-width: none;
    margin: 0;
    padding: .48rem 1rem !important;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 3px;
    background-color: #fff;
    color: #000;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 700;
    text-align: center;
  }

  #navbarIntro #sidebarIntro .navbar-btn .btn {
    border-color: #3053f0;
    background-color: #3053f0;
    color: #fff;
  }
}

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

  .nav-caret,
  .nav-drop-menu {
    transition: none;
  }
}

/* First screen of the main page (index.html, index_ya.html): text on the left, on the right one video before and
   after Neuroscore, as two cards of a video site, with one line per product. Under 1200 px the visual goes under
   the text; under 576 px the cards stack and the "before" card loses its picture. */
.hero {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: rgba(0, 0, 0, .55);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.25rem;
  letter-spacing: .1rem;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 0;
}

.hero-sub {
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem 1rem;
  margin-top: .5rem;
}

.hero-actions .btn {
  margin: 0;
}

.hero-mono {
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
}

.hero-ba {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}

.hero-card {
  flex: 1 1 0;
  min-width: 0;
  padding: .75rem;
  border-radius: 3px;
  background-color: #fff;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .12), 0 0 0 1px rgba(0, 0, 0, .04);
}

.hero-card-before {
  flex: 0 0 40%;
  box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .08), 0 0 0 1px rgba(0, 0, 0, .04);
}

.hero-card-label {
  margin-bottom: .5rem;
  color: rgba(0, 0, 0, .5);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1rem;
  letter-spacing: .08rem;
  text-transform: uppercase;
}

.hero-card-after .hero-card-label {
  color: #3053f0;
}

.hero-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background-color: #dde3ea;
  aspect-ratio: 16 / 9;
}

.hero-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-thumb-size {
  position: absolute;
  right: .4rem;
  bottom: .4rem;
  padding: 0 .35rem;
  border-radius: 3px;
  background-color: rgba(0, 0, 0, .72);
  color: #fff;
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  font-size: .6875rem;
  line-height: 1.1rem;
}

.hero-card-title {
  margin-top: .6rem;
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35rem;
}

.hero-card-before .hero-card-title {
  color: rgba(0, 0, 0, .6);
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.25rem;
}

.hero-chips {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin: .75rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-chips li {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(0, 0, 0, .75);
  font-size: .8125rem;
  line-height: 1.1rem;
}

.hero-chip-ico {
  display: flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  height: 24px;
  border-radius: 3px;
  background-color: #3053f0;
}

.hero-chip-ico .icon {
  width: 14px;
  height: 14px;
  color: #fff;
}

.hero-card-before .hero-chips li {
  color: rgba(0, 0, 0, .5);
}

.hero-card-before .hero-chip-ico {
  background-color: #c3c7d1;
}

.hero-arrow {
  flex: 0 0 28px;
  color: #3053f0;
}

.hero-arrow svg {
  display: block;
  width: 28px;
  height: 28px;
}

/* what the score under the frames means */
.hero-note {
  max-width: 680px;
  margin: 1rem auto 0;
  color: rgba(0, 0, 0, .55);
  font-size: .8125rem;
  line-height: 1.25rem;
}

/* centred like the rest of the first screen until the text and the cards stand side by side */
@media (max-width: 1199.98px) {
  .hero-note {
    text-align: center;
  }
}

@media (min-width: 1200px) {
  .hero-text {
    padding-top: .5rem;
    padding-right: 3rem;
  }

  /* smaller than the site's 4.5rem h1, so the buttons stay on the first screen of a 1280x720 laptop */
  .hero h1 {
    font-size: 4rem;
    line-height: 4.25rem;
  }

  .hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 1199.98px) {
  .hero-sub {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-visual {
    margin-top: 3rem;
  }
}

@media (max-width: 575.98px) {
  .hero-ba {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card-before {
    flex-basis: auto;
  }

  .hero-card-before .hero-thumb {
    display: none;
  }

  .hero-arrow {
    align-self: center;
    transform: rotate(90deg);
  }
}

/* Product blocks of the main page after Enhance: Thumbnails, Translation, Moderation. Each is a .product: a label
   with the product's name, a headline, a lead, its own button and API docs, a picture, three facts under it.
   Text and picture alternate sides from 992 px: .product-flip puts the text on the right. */
.product-eyebrow {
  display: inline-block;
  margin-bottom: .5rem;
  color: rgba(0, 0, 0, .6);
  letter-spacing: .1rem;
  text-transform: uppercase;
}

.product-img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 992px) {
  .product .row > .product-text {
    padding-right: 3rem;
  }

  .product .product-flip {
    flex-direction: row-reverse;
  }

  .product .product-flip > .product-text {
    padding-right: 15px;
    padding-left: 3rem;
  }
}

/* Windows of the product blocks (Thumbnails, Title Rewrite, Moderation): the content stands 1rem from the window's
   edges (.75rem on phones), the grey title bar (the first .row) stays edge to edge */
.pick,
.mod,
.tr {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1rem 1rem;
  background-color: #fff;
}

.pick > .row:first-child,
.mod > .row:first-child,
.tr > .row:first-child {
  margin-right: calc(-1rem - 15px);
  margin-left: calc(-1rem - 15px);
}

/* Thumbnails: the frames of one video ranked by the model's score (0 poor .. 1 good) */

.pick .window-title,
.mod .window-title,
.tr .window-title {
  color: rgba(0, 0, 0, .6);
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  font-weight: 400;
}

.pick-best {
  position: relative;
  margin: 1rem 0 0;
  overflow: hidden;
  border-radius: 3px;
}

.pick-best img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pick-badge {
  position: absolute;
  bottom: .75rem;
  left: .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem .8rem .3rem .3rem;
  border-radius: 3px;
  background-color: #fff;
  color: #000;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.25rem;
  box-shadow: 0 .25rem 1rem rgba(0, 0, 0, .2);
}

.pick-badge b {
  padding: .1rem .6rem;
  border-radius: 3px;
  background-color: #3053f0;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
}

.pick-sub {
  display: flex;
  justify-content: space-between;
  margin: .9rem 0 .4rem;
  color: rgba(0, 0, 0, .55);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05rem;
  text-transform: uppercase;
}

.pick-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pick-list img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 3px;
}

.pick-score {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: .4rem;
  color: #000;
  font-size: .75rem;
  line-height: 1rem;
}

.pick-bar {
  flex: 1;
  height: 4px;
  overflow: hidden;
  border-radius: 2px;
  background-color: rgba(0, 0, 0, .08);
}

.pick-bar i {
  display: block;
  height: 100%;
  background-color: #3053f0;
}

.pick-list .is-low img {
  filter: grayscale(1);
  opacity: .5;
}

.pick-list .is-low .pick-bar i {
  background-color: #c3c7d1;
}

.pick-list .is-low .pick-score {
  color: rgba(0, 0, 0, .45);
}

/* Moderation: a queue of uploads with the class of each; suggestive and NSFW are shown as hidden placeholders */
.mod-list {
  margin: .5rem 0 0;
  padding: 0;
  list-style: none;
}

.mod-row {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  grid-template-areas: "thumb name chip" "thumb action chip";
  align-items: center;
  column-gap: 1rem;
  padding: .6rem 0;
  border-top: 1px solid rgba(0, 0, 0, .06);
}

.mod-row:first-child {
  border-top: 0;
}

.mod-thumb {
  display: block;
  grid-area: thumb;
  overflow: hidden;
  border-radius: 3px;
  background-color: #e4e7ee;
  aspect-ratio: 16 / 9;
}

.mod-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mod-hidden {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(135deg, #e4e7ee 0 10px, #dde1ea 10px 20px);
  color: rgba(0, 0, 0, .45);
}

.mod-hidden svg {
  width: 26px;
  height: 26px;
}

.mod-name {
  grid-area: name;
  align-self: end;
  color: #000;
  font-size: .8125rem;
  line-height: 1.25rem;
}

.mod-action {
  grid-area: action;
  align-self: start;
  color: rgba(0, 0, 0, .55);
  font-size: .8125rem;
  line-height: 1.25rem;
}

.mod-chip {
  grid-area: chip;
  padding: .15rem .65rem;
  border-radius: 3px;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.25rem;
}

.mod-clean {
  background-color: #e3f6e8;
  color: #127a33;
}

.mod-suggestive {
  background-color: #fff2d6;
  color: #8a5a00;
}

.mod-nsfw {
  background-color: #fde4e4;
  color: #b3261e;
}

@media (max-width: 767.98px) {
  .pick,
  .mod,
  .tr {
    padding: 0 .75rem .75rem;
  }

  .pick > .row:first-child,
  .mod > .row:first-child,
  .tr > .row:first-child {
    margin-right: calc(-.75rem - 15px);
    margin-left: calc(-.75rem - 15px);
  }

  .pick-best {
    margin-top: .75rem;
  }

  .pick .window-title,
  .mod .window-title,
  .tr .window-title {
    font-size: .75rem;
    white-space: nowrap;
  }
}

@media (max-width: 575.98px) {
  .pick-list {
    gap: .5rem;
  }

  .pick-score {
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
  }

  .pick-bar {
    flex: 0 0 4px;
  }

  .mod-row {
    grid-template-columns: 84px 1fr;
    grid-template-areas: "thumb name" "thumb chip" "thumb action";
    row-gap: .2rem;
  }

  .mod-chip {
    justify-self: start;
  }
}

/* Title rewrite: a batch of a catalog, old title -> new title with its style. The titles are examples written for the
   page: the model is trained on the owner's niche, so there are no real neutral outputs to show. */
.tr {
  text-align: left;
}

.tr-old {
  color: rgba(0, 0, 0, .6);
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  font-size: .875rem;
  line-height: 1.375rem;
}

.tr-new {
  display: block;
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.375rem;
}

.tr-axes {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-top: .3rem;
}

.tr-axes span {
  padding: 0 .45rem;
  border: 1px solid rgba(48, 83, 240, .3);
  border-radius: 3px;
  color: #3053f0;
  font-size: .6875rem;
  font-weight: 600;
  line-height: 1.125rem;
}

.tr-batch-head {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  column-gap: 1rem;
  margin-top: .5rem;
  padding: 0 .25rem .4rem;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  color: rgba(0, 0, 0, .5);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08rem;
  text-transform: uppercase;
}

.tr-batch {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tr-batch li {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  column-gap: 1rem;
  padding: .65rem .25rem;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.tr-batch .tr-old {
  grid-row: span 2;
}

.tr-total {
  padding: .6rem .25rem 0;
  color: rgba(0, 0, 0, .6);
  font-size: .8125rem;
  text-align: right;
}

.tr-total b {
  color: #000;
}

/* on phones each title takes the whole width: the old one struck through, the new one under it */
@media (max-width: 575.98px) {
  .tr-batch-head {
    display: none;
  }

  .tr-batch li {
    grid-template-columns: 1fr;
    row-gap: .15rem;
  }

  .tr-batch .tr-old {
    grid-row: auto;
    text-decoration: line-through;
    text-decoration-color: rgba(0, 0, 0, .3);
  }
}

/* "Why choose Neuroscore?" on the main page, after Moderation (index.html, index_ya.html): four reasons, each led by
   its number. The numbers are the owner's or checked by him (2026-12-03), see CLAUDE.md. Four cards from 1200 px,
   two from 576 px, one below; the number size keeps "300,000+" inside its card at every width. */
.trust-head {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.trust-head h2 {
  margin-bottom: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.trust-card {
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 3px;
  background-color: #fff;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .08), 0 0 0 1px rgba(0, 0, 0, .04);
  text-align: left;
}

.trust-num {
  color: #3053f0;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.1rem;
  white-space: nowrap;
}

.trust-unit {
  margin-top: .6rem;
  color: rgba(0, 0, 0, .55);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.25rem;
  letter-spacing: .08rem;
  text-transform: uppercase;
}

.trust-card h5 {
  margin: 1.25rem 0 .4rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, .08);
}

.trust-card p {
  margin: 0;
}

.trust-note {
  max-width: 48rem;
  margin: 2rem auto 0;
  color: rgba(0, 0, 0, .5);
  font-size: .875rem;
  line-height: 1.375rem;
  text-align: center;
}

.trust-cta {
  margin-top: 1.5rem;
  text-align: center;
}

.trust-cta .btn {
  margin: 0;
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .trust-num {
    font-size: 2rem;
  }
}

@media (max-width: 1199.98px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .trust-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin-top: 2rem;
  }
}

/* Corners: 3 px at most on every element of the landing (owner, 2026-12-03). The layer's own radii are already 3 px
   or less; this brings the site's built CSS (main-*.min.css: .btn .5rem, .square .875rem, .window-intro 17px) down to
   the same. Circles (window dots, the Enhance knob) stay round. */
.btn,
.btn-lg,
.navbar-toggler,
.square,
.window-intro {
  border-radius: 3px;
}

/* Buttons: the height of the cabinet's buttons, 41 px (.48rem padding, 16/24 px text), which the site's plain .btn
   already has. .btn-lg was 55 px, the header's Sign up 34 px (its py-1 is gone from the 10 pages). */
.btn-lg {
  padding: .48rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
}

#navbarIntro .navbar-btn .btn {
  padding: .48rem 1rem;
}

/* Pricing page (price.html, price_ya.html; owner's choice 2026-12-03, variant D of five): a heading, a Regular / Bulk
   volume switch and one list of the products in the order of the menu. Both prices are in the page; the switch
   (js/landing-*.js) only toggles .is-bulk on .pricing, so without JS the regular prices show. */
.pr-head {
  max-width: 46rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.pr-head h2 {
  margin-bottom: .75rem;
}

.pr-head .h8 {
  margin: 0;
}

.pr-switch-wrap {
  margin: -1rem auto 2.5rem;
  text-align: center;
}

.pr-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 3px;
  background-color: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
}

.pr-switch button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 41px;
  padding: .48rem 1.25rem;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: rgba(0, 0, 0, .7);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
}

.pr-switch button[aria-pressed="true"] {
  background-color: #3053f0;
  color: #fff;
}

.pr-switch button:focus-visible {
  outline: 2px solid #3053f0;
  outline-offset: 2px;
}

.pr-save {
  padding: .05rem .4rem;
  border-radius: 3px;
  background-color: #ffbb2e;
  color: #041627;
  font-size: .8125rem;
  line-height: 1.25rem;
}

.pr-plan-note {
  max-width: 40rem;
  margin: .9rem auto 0;
  color: rgba(0, 0, 0, .6);
  font-size: .9375rem;
  line-height: 1.375rem;
}

/* which price shows: the regular one by default, the bulk one with .is-bulk */
.pricing .pr-show-bulk {
  display: none;
}

.pricing.is-bulk .pr-show-bulk {
  display: inline;
}

.pricing.is-bulk p.pr-show-bulk {
  display: block;
}

.pricing.is-bulk .pr-show-regular {
  display: none;
}

.pr-list {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.pr-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 11rem;
  align-items: start;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.pr-row:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.pr-row h5 {
  margin-bottom: .3rem;
}

.pr-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 3px;
  background-color: #3053f0;
  color: #fff;
}

.pr-ico .icon {
  width: 22px;
  height: 22px;
}

.pr-desc {
  display: block;
  color: rgba(0, 0, 0, .6);
  font-size: .9375rem;
  line-height: 1.375rem;
}

.pr-price {
  text-align: right;
}

.pr-now strong {
  color: #000;
  font-size: 1.375rem;
  line-height: 1.75rem;
}

.pricing.is-bulk .pr-now strong {
  color: #3053f0;
}

.pr-now s {
  margin-left: .4rem;
  color: rgba(0, 0, 0, .4);
  font-size: .9375rem;
}

.pr-price small {
  display: block;
  color: rgba(0, 0, 0, .55);
  font-size: .8125rem;
  line-height: 1.125rem;
}

.pr-trial {
  margin-top: 3rem;
  text-align: center;
}

.pr-trial .btn {
  margin: 0;
}

.pr-small {
  color: rgba(0, 0, 0, .55);
  font-size: .875rem;
  line-height: 1.375rem;
}

@media (max-width: 767.98px) {
  .pr-row {
    grid-template-columns: 40px minmax(0, 1fr);
    row-gap: .75rem;
  }

  .pr-price {
    grid-column: 2;
    text-align: left;
  }

  .pr-price small {
    display: inline;
    margin-left: .35rem;
  }
}

@media (max-width: 575.98px) {
  .pr-switch {
    display: flex;
  }

  .pr-switch button {
    flex: 1;
    justify-content: center;
    padding: .48rem .5rem;
  }
}

/* "Regular" and "Bulk -40%" without "volume" where the two do not fit in one line */
@media (max-width: 399.98px) {
  .pr-word {
    display: none;
  }
}

/* Widths 992-1399 px (owner's choice 2026-12-03, variant C of three). The site's CSS gives .container-fluid 145 px on
   each side from 992 px up, which left a 350 px text column at 1024 px: block headings took 4-5 lines and the two
   buttons of a block stacked. Narrower page margins and smaller headings there; from 1400 px nothing changes. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container-fluid {
    padding-right: 48px;
    padding-left: 48px;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .container-fluid {
    padding-right: 96px;
    padding-left: 96px;
  }
}

@media (min-width: 992px) and (max-width: 1399.98px) {
  h2 {
    font-size: 2.75rem;
    line-height: 3.25rem;
  }
}

/* Bullets of .list-intro (translation*.html). The site's CSS draws a 24 px "•" 5 px below the top of the item while
   the text starts after .75rem of padding, so the dot sat above the first line. A 6 px dot centred on the first
   line instead: half the item's line height below the padding (lh), with a px fallback for older browsers. The
   selector repeats the site's ul.list-intro li::before, which is more specific than .list-intro li::before. */
ul.list-intro li::before {
  content: "";
  top: calc(.75rem + 12px);
  top: calc(.75rem + .5lh - 3px);
  left: .4rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #3053f0;
  font-size: inherit;
  line-height: inherit;
}
