/* AI NLP Bots landing only. Reuses hero, features, cards and cta-banner from base.css. */

/* Hero: text on the left over the faded photo, checklist chips floating between text and photo. */
.bots-hero { padding-top: 0; }
.bots-hero .hero__inner { position: relative; z-index: 1; padding-bottom: 14px; }
.bots-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 108px; gap: 6px; align-items: start; margin: 4px 58px 0 0; }
.bots-hero .hero__title { font-size: clamp(23px, 6.6vw, 30px); padding-left: 9px; border-left-width: 3px; white-space: nowrap; }
.bots-hero .hero__sub { font-size: 12.5px; line-height: 1.4; margin-top: 8px; font-weight: 600; }
.bots-hero .hero__actions { flex-direction: column; align-items: stretch; width: calc(100% + 24px); gap: 7px; margin-top: 12px; }
.bots-hero .hero__actions .btn { padding: 7px 10px; min-height: 40px; font-size: 11.5px; gap: 6px; justify-content: flex-start; white-space: nowrap; }
.bots-hero .hero__actions .btn .icon { font-size: 16px; }
.bots-hero .hero__actions .btn--primary { justify-content: space-between; }

/* Phones: title + text on the left, chips on the right, and the buttons on their own row below both,
   so the chips never sit on top of a button. */
@media (max-width: 479px) {
  .bots-hero__grid { grid-template-columns: minmax(0, 1fr) 112px; grid-template-rows: auto 1fr auto; gap: 0 6px; margin: 4px 0 0; }
  .bots-hero .hero__text { display: contents; }
  .bots-hero .hero__title { grid-column: 1; grid-row: 1; align-self: start; }
  .bots-hero .hero__sub { grid-column: 1; grid-row: 2; align-self: start; }
  .bots-checks { grid-column: 2; grid-row: 1 / span 2; }
  .bots-hero .hero__actions { grid-column: 1 / -1; grid-row: 3; width: auto; max-width: 290px; margin-top: 10px; }
}

.bots-hero__img { position: absolute; top: 0; right: 0; bottom: 0; width: 74%; }
.bots-hero__img img {
  width: 100%; height: 100%; object-fit: cover; object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 36%);
  mask-image: linear-gradient(90deg, transparent 0, #000 36%);
}

.bots-checks { display: grid; gap: 7px; padding-top: 10px; justify-items: start; }
.bots-checks li {
  display: flex; align-items: center; gap: 6px; padding: 5px 8px 5px 5px; max-width: 100%;
  background: rgba(255, 255, 255, .96); border-radius: var(--r-pill); box-shadow: var(--shadow-sm);
  font: 600 11px/1.25 var(--font-head); color: var(--navy);
}
.bots-checks li:nth-child(1) { margin-left: 6px; }
.bots-checks li:nth-child(4) { margin-left: 4px; }
.bots-checks .icon {
  width: 15px; height: 15px; padding: 2px; border-radius: 50%;
  background: var(--gold-grad); color: var(--navy); stroke-width: 3;
}

/* Five-up strips stay on one row even on phones, as in the mockup. */
.bots-hero ~ section .features { flex-wrap: nowrap; padding: 8px 2px; margin-top: 6px; background: var(--white); box-shadow: var(--shadow-md); border: 1px solid #eef0f6; }
.bots-hero ~ section .feature { flex: 1 1 0; min-width: 0; padding: 4px 3px; gap: 5px; font-size: 11px; line-height: 1.25; }
.bots-hero ~ section .feature .icon { width: 28px; height: 28px; }
.bots-hero ~ section .feature + .feature { border-left: 1px solid var(--line); }
.bots-hero ~ section .features.features--plain { background: none; box-shadow: none; border: 0; margin-top: 8px; padding-block: 0; }
/* ...below 480px they go 3 + 2, centred, so no label is squeezed. */
@media (max-width: 479px) {
  .bots-hero ~ section .features { flex-wrap: wrap; justify-content: center; padding: 8px 4px; }
  .bots-hero ~ section .feature { flex: 0 0 33.333%; padding: 8px 4px; }
  .bots-hero ~ section .feature + .feature { border-left: 0; }
  .bots-hero ~ section .feature:is(:nth-child(2), :nth-child(3), :nth-child(5)) { border-left: 1px solid var(--line); }
}

.bots-list { margin-top: 20px; }
.bots-list__head .section-title, .bots-help .section-title { font-size: 16px; gap: 10px; }
.bots-note { margin-top: 4px; font-size: 11px; color: var(--navy-soft); }
.bots-note a { font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold-deep); text-underline-offset: 3px; }
.bots-help { margin-top: 18px; }
.bots-cta { margin-top: 16px; }

/* Cards: image | icon | gold rule | title + text | round arrow, one horizontal row. */
.bots-list .cards { gap: 10px; margin-top: 10px; }
.bots-list .card {
  position: relative; border-radius: 16px; min-height: 100px;
  grid-template-columns: 90px 28px minmax(0, 1fr) auto;
  grid-template-areas: "media icon head cta" "media icon text cta";
  column-gap: 8px;
}
.bots-list .card::before {
  content: ""; position: absolute; left: 131px; top: 50%; height: 58%; width: 2px;
  transform: translateY(-50%); background: var(--gold-grad);
}
.bots-list .card__media { min-height: 100px; }
.bots-list .card__media img { clip-path: polygon(0 0, calc(100% - 12px) 0, calc(100% - 32px) 100%, 0 100%); }
.bots-list .card__head { display: contents; }
.bots-list .card__head .icon { grid-area: icon; align-self: center; width: 28px; height: 28px; }
.bots-list .card__head h3 { grid-area: head; padding: 10px 0 0 9px; font-size: 13.5px; }
.bots-list .card__text { padding: 3px 0 10px 9px; font-size: 11.5px; line-height: 1.35; }
.bots-list .card__cta { margin-right: 8px; width: 40px; height: 40px; }

@media (min-width: 640px) {
  .bots-hero__grid { grid-template-columns: minmax(0, 330px) 190px; gap: 20px; }
  .bots-hero .hero__title { font-size: 40px; }
  .bots-hero .hero__sub { font-size: 15px; }
  .bots-hero .hero__actions { width: auto; align-items: flex-start; }
  .bots-hero .hero__actions .btn { font-size: 13px; padding: 9px 14px; }
  .bots-hero__img { width: 62%; }
  .bots-hero__img img { object-position: 60% center; }
  .bots-checks li { font-size: 12px; padding: 7px 12px 7px 8px; }
  .bots-checks .icon { width: 18px; height: 18px; }
  .bots-hero ~ section .feature { font-size: 12px; }
  .bots-list .card { grid-template-columns: 150px 38px minmax(0, 1fr) auto; min-height: 120px; }
  .bots-list .card::before { left: 200px; }
  .bots-list .card__media { min-height: 120px; }
  .bots-list .card__head h3 { font-size: 17px; }
  .bots-list .card__text { font-size: 13.5px; }
  .bots-list .card__cta { width: 40px; height: 40px; margin-right: 16px; }
}

/* Banner: icon | rule | title | rule | text | pill, one row at every width. */
.bots-cta .cta-banner {
  grid-template-columns: auto minmax(0, 1.4fr) minmax(0, 1fr) 88px; grid-template-areas: "icon title text btn";
  gap: 0 6px; padding: 12px 8px; border-radius: 16px;
}
.bots-cta .cta-banner__icon { width: 32px; height: 32px; }
.bots-cta .cta-banner__title { font-size: 11px; line-height: 1.25; padding-left: 7px; border-left: 2px solid var(--gold); }
.bots-cta .cta-banner__text { font-size: 11px; line-height: 1.3; padding-left: 7px; border-left: 2px solid var(--gold); }
.bots-cta .cta-banner .btn { justify-self: stretch; padding: 8px 4px; font-size: 11px; gap: 4px; text-align: center; border-width: 1.5px; }
.bots-cta .cta-banner .btn .icon { font-size: 13px; }
@media (max-width: 359px) {
  .bots-list .card { grid-template-columns: 72px 24px minmax(0, 1fr) auto; column-gap: 6px; }
  .bots-list .card::before { left: 106px; }
  .bots-list .card__head .icon { width: 24px; height: 24px; }
  .bots-list .card__head h3 { font-size: 12.5px; padding-left: 7px; }
  .bots-list .card__text { padding-left: 7px; }
  .bots-list .card__cta { margin-right: 6px; }
}

/* Phones: the banner stacks (icon + title, text, full-width button). */
@media (max-width: 639px) {
  .bots-cta .cta-banner { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "icon title" "text text" "btn btn"; gap: 8px 12px; padding: 14px; }
  .bots-cta .cta-banner__icon { width: 36px; height: 36px; }
  .bots-cta .cta-banner__title { font-size: 15px; padding-left: 12px; }
  .bots-cta .cta-banner__text { font-size: 12.5px; padding-left: 0; border-left: 0; }
  .bots-cta .cta-banner .btn { padding: 10px 14px; min-height: 44px; font-size: 13px; }
}
@media (min-width: 640px) {
  .bots-cta .cta-banner { grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1fr) 130px; gap: 0 18px; padding: 16px 24px; }
  .bots-cta .cta-banner__icon { width: 52px; height: 52px; }
  .bots-cta .cta-banner__title { font-size: 17px; padding-left: 18px; }
  .bots-cta .cta-banner__text { font-size: 13px; padding-left: 18px; }
  .bots-cta .cta-banner .btn { padding: 10px 12px; font-size: 14px; gap: 6px; }
  .bots-cta .cta-banner .btn .icon { font-size: 16px; }
}

@media (min-width: 1100px) {
  .bots-hero { min-height: 0; }
  .bots-hero .container { max-width: 1240px; padding-inline: 35px; }
  .bots-hero .hero__inner { padding-bottom: 10px; }
  .bots-hero .breadcrumb { padding: 8px 0 0; }
  .bots-hero__grid { grid-template-columns: 424px 206px; gap: 8px; margin: 2px 0 0; }
  .bots-hero .hero__title { font-size: 52px; line-height: 1.1; max-width: none; padding-left: 16px; border-left-width: 4px; }
  .bots-hero .hero__sub { font-size: 17.5px; line-height: 1.3; max-width: 22em; margin-top: 6px; }
  .bots-hero .hero__actions { flex-direction: row; padding-bottom: 0; margin-top: 10px; gap: 12px; width: auto; }
  .bots-hero .hero__actions .btn { padding: 6px 12px; font-size: 12px; gap: 7px; justify-content: center; }
  .bots-hero .hero__actions .btn .icon { font-size: 18px; }
  .bots-hero__img { width: 47%; }
  .bots-hero__img img { object-position: 30% center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); mask-image: linear-gradient(90deg, transparent 0, #000 45%); }
  .bots-checks { gap: 10px; padding-top: 12px; }
  .bots-checks li { font-size: 12px; padding: 6px 12px 6px 8px; max-width: 206px; }
  .bots-checks li:nth-child(1) { margin-left: 18px; }
  .bots-checks li:nth-child(4) { margin-left: 16px; }
  .bots-checks .icon { width: 20px; height: 20px; }

  .bots-hero ~ section.container { max-width: 1240px; padding-inline: 20px; }
  .bots-hero ~ section .features { padding: 8px 6px; border-radius: 18px; margin-top: 6px; }
  .bots-hero ~ section .feature { flex: 1 1 auto; font-size: 13px; padding: 4px 14px; gap: 12px; }
  .bots-hero ~ section .feature .icon { width: 34px; height: 34px; }

  .bots-list { margin-top: 14px; }
  .bots-list__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
  .bots-list__head .section-title { font-size: 21px; gap: 12px; }
  .bots-note { font-size: 12.5px; margin-top: 0; }
  .bots-list .cards { gap: 15px; margin-top: 14px; }
  .bots-list .card {
    grid-template-columns: 41% minmax(0, 1fr); grid-template-areas: "media head" "media text" "media cta";
    grid-template-rows: auto 1fr auto; column-gap: 12px; min-height: 150px;
  }
  .bots-list .card::before { display: none; }
  .bots-list .card__media { min-height: 150px; }
  .bots-list .card__head { display: flex; align-items: center; gap: 8px; padding: 12px 12px 0 0; }
  .bots-list .card__head .icon { width: 26px; height: 26px; }
  .bots-list .card__head h3 { padding: 0; font-size: 14.5px; line-height: 1.15; }
  .bots-list .card__pre { display: block; }
  .bots-list .card__text { padding: 5px 12px 6px 0; font-size: 13px; line-height: 1.4; }
  .bots-list .card__cta { width: auto; height: auto; margin: 0 14px 12px 0; padding: 6px 8px; font-size: clamp(11px, .9vw, 11.5px); gap: 2px; white-space: nowrap; }
  .bots-list .card__cta .icon { width: 14px; height: 14px; }

  .bots-help { display: flex; align-items: center; gap: 28px; margin-top: 16px; }
  .bots-help .section-title { flex: none; font-size: 17px; }
  .bots-help .features { flex: 1; margin-top: 0; }
  .bots-hero ~ .bots-help .feature { font-size: 11.5px; padding-inline: 6px; gap: 8px; }
  .bots-hero ~ .bots-help .feature .icon { width: 30px; height: 30px; }

  .bots-cta { margin-top: 18px; }
  .bots-cta .cta-banner { grid-template-columns: auto minmax(0, 1.25fr) minmax(0, 1fr) auto; gap: 0 22px; padding: 14px 34px; border-radius: 20px; }
  .bots-cta .cta-banner__icon { width: 58px; height: 58px; }
  .bots-cta .cta-banner__title { font-size: 19.5px; padding-left: 22px; }
  .bots-cta .cta-banner__text { font-size: 13.5px; padding-left: 22px; }
  .bots-cta .cta-banner .btn { padding: 11px 26px; font-size: 16px; gap: 9px; justify-self: end; }
}

@media (min-width: 1100px) and (max-width: 1199px) {
  .bots-list .card { grid-template-columns: 36% minmax(0, 1fr); }
}
