/* ==========================================================================
   JP Web Solutions - AI Site Search landing page
   Builds on page-cro.css and page-wdd.css. Sections unique to this page
   are prefixed ais-.
   ========================================================================== */

/* ---------- Hero ---------- */
.ais-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 214px 0 110px;
  border-radius: 20px;
  background: var(--jp-secondary);
  color: var(--jp-text);
}
.ais-hero::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -10%;
  z-index: -1;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 237, 49, 0.55) 0%, rgba(211, 237, 49, 0) 62%);
}
.ais-hero-dots {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(5, 5, 5, 0.12) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 75% 45%, #000 0%, transparent 65%);
  mask-image: radial-gradient(ellipse at 75% 45%, #000 0%, transparent 65%);
  pointer-events: none;
}
.ais-hero-title {
  margin: 0 0 24px;
  font-size: 70px;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--jp-dark);
}
.ais-hero-title span {
  display: inline;
  background: linear-gradient(transparent 62%, var(--jp-primary) 62%, var(--jp-primary) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.ais-hero-text {
  max-width: 560px;
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.6;
}
.ais-points {
  margin-bottom: 0;
}

/* Live demo */
.ais-demo {
  position: relative;
  max-width: 580px;
  margin-left: auto;
  overflow: hidden;
  border-radius: 22px;
  background: var(--cro-ink);
  color: var(--cro-muted-dark);
  box-shadow: 0 50px 90px rgba(5, 5, 5, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.ais-demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--cro-line-dark);
}
.ais-demo-dots {
  display: inline-flex;
  gap: 6px;
}
.ais-demo-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cro-ink-3);
}
.ais-demo-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(211, 237, 49, 0.12);
  color: var(--jp-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ais-demo-live b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--jp-primary);
  animation: aisPulse 1.8s ease-in-out infinite;
}
@keyframes aisPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(211, 237, 49, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(211, 237, 49, 0); }
}
.ais-demo-body {
  padding: 26px 26px 28px;
}
.ais-demo-intro {
  margin: 0 0 16px;
  color: var(--jp-white);
  font-size: 15px;
}
.ais-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
  background: var(--cro-ink-2);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ais-search:focus-within {
  border-color: var(--jp-primary);
  box-shadow: 0 0 0 4px rgba(211, 237, 49, 0.15);
}
.ais-search > i {
  color: var(--cro-muted-dark);
}
.ais-search input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--jp-white);
  font-size: 16px;
  outline: none;
}
.ais-search input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.ais-search button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--jp-primary);
  color: var(--jp-dark);
  cursor: pointer;
  transition: transform 0.2s;
}
.ais-search button:hover {
  transform: scale(1.06);
}
.ais-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 20px;
}
.ais-chips button {
  padding: 7px 14px;
  border: 1px solid var(--cro-line-dark);
  border-radius: 100px;
  background: transparent;
  color: var(--cro-muted-dark);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.ais-chips button:hover,
.ais-chips button.is-active {
  border-color: var(--jp-primary);
  background: rgba(211, 237, 49, 0.1);
  color: var(--jp-white);
}
.ais-answer {
  min-height: 210px;
  padding: 20px;
  border: 1px solid var(--cro-line-dark);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}
.ais-answer-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.ais-answer-head strong {
  color: var(--jp-white);
  font-size: 15px;
}
.ais-answer-head small {
  margin-left: auto;
  font-size: 11px;
}
.ais-answer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--jp-primary);
  color: var(--jp-dark);
  font-size: 13px;
}
.ais-answer-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.6;
}
.ais-answer.is-thinking .ais-answer-text::after,
.ais-answer.is-typing .ais-answer-text::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 16px;
  margin-left: 3px;
  vertical-align: -2px;
  background: var(--jp-primary);
  animation: aisBlink 0.8s steps(2) infinite;
}
@keyframes aisBlink {
  50% { opacity: 0; }
}
.ais-answer.is-miss {
  border-color: rgba(255, 179, 33, 0.4);
}
.ais-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--cro-line-dark);
}
.ais-sources span {
  width: 100%;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ais-sources a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--jp-white);
  color: var(--jp-dark);
  font-size: 13px;
  font-weight: 600;
  animation: aisIn 0.4s ease both;
}
.ais-sources a:hover {
  background: var(--jp-primary);
  color: var(--jp-dark);
}
.ais-sources a i {
  font-size: 10px;
}
@keyframes aisIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Old search vs AI ---------- */
.ais-vs {
  padding: 120px 0 100px;
}
.ais-vs-card {
  padding: 36px;
  border: 1px solid var(--jp-border);
  border-radius: 20px;
  background: var(--jp-white);
}
.ais-vs-card-ai {
  border-color: var(--cro-ink);
  background: var(--cro-ink);
  color: var(--cro-muted-dark);
}
.ais-vs-tag {
  display: inline-block;
  margin-bottom: 20px;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--jp-secondary);
  color: var(--jp-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ais-vs-card-ai .ais-vs-tag {
  background: var(--jp-primary);
}
.ais-vs-query {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid var(--jp-border);
  border-radius: 100px;
  color: var(--jp-dark);
  font-weight: 500;
}
.ais-vs-card-ai .ais-vs-query {
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--cro-ink-2);
  color: var(--jp-white);
}
.ais-vs-count {
  margin: 16px 0 6px;
  font-size: 13px;
  color: #8a8b86;
}
.ais-vs-results {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ais-vs-results li {
  padding: 12px 0;
  border-bottom: 1px solid var(--jp-border);
}
.ais-vs-results b {
  display: block;
  margin-bottom: 8px;
  color: #1a0dab;
  font-size: 15px;
  font-weight: 600;
}
.ais-vs-results span {
  display: block;
  width: 92%;
  height: 7px;
  margin-top: 6px;
  border-radius: 4px;
  background: #e4e5e0;
}
.ais-vs-results span.short {
  width: 64%;
}
.ais-vs-answer {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(211, 237, 49, 0.4);
  border-radius: 16px;
  background: rgba(211, 237, 49, 0.06);
}
.ais-vs-answer p {
  margin: 0 0 16px;
  color: var(--jp-white);
  font-size: 17px;
  line-height: 1.55;
}
.ais-vs-answer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--jp-white);
  color: var(--jp-dark);
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
}
.ais-vs-verdict {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  font-size: 15px;
  font-weight: 500;
}
.ais-vs-verdict i {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 11px;
}
.ais-vs-bad i {
  background: #ffe1d9;
  color: var(--cro-hot);
}
.ais-vs-good {
  color: var(--jp-white);
}
.ais-vs-good i {
  background: var(--jp-primary);
  color: var(--jp-dark);
}
.ais-note {
  margin: 18px 0 0;
  font-size: 12px;
  color: #8a8b86;
  text-align: center;
}

/* ---------- How it works ---------- */
.ais-how {
  padding: 120px 0;
  border-radius: 16px;
  background: var(--jp-secondary);
}
.ais-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ais-flow::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 16%;
  right: 16%;
  border-top: 2px dashed #c9cac2;
}
.ais-flow-step {
  position: relative;
  text-align: center;
}
.ais-flow-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin-bottom: 26px;
  border: 8px solid var(--jp-secondary);
  border-radius: 50%;
  background: var(--jp-dark);
  color: var(--jp-primary);
  font-size: 28px;
}
.ais-flow-step:last-child .ais-flow-icon {
  background: var(--jp-primary);
  color: var(--jp-dark);
}
.ais-flow-step h3 {
  margin: 0 0 10px;
  font-size: 24px;
}
.ais-flow-step p {
  max-width: 320px;
  margin: 0 auto;
}

/* ---------- Features ---------- */
.ais-features {
  padding: 120px 0;
}
.ais-feat {
  padding: 30px 26px;
  border: 1px solid var(--jp-border);
  border-radius: 16px;
  background: var(--jp-white);
  transition: transform 0.3s, box-shadow 0.3s;
}
.ais-feat:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(5, 5, 5, 0.07);
}
.ais-feat > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--jp-secondary);
  color: var(--jp-dark);
  font-size: 19px;
}
.ais-feat h3 {
  margin: 0 0 8px;
  font-size: 21px;
}
.ais-feat p {
  margin: 0;
  font-size: 15px;
}

/* ---------- Report ---------- */
.ais-report-sec {
  padding: 120px 0;
  border-radius: 16px;
  background: var(--cro-ink);
  color: var(--cro-muted-dark);
}
.ais-report-sec .cro-label {
  color: var(--jp-primary);
}
.ais-report-sec .cro-sec-title {
  color: var(--jp-white);
}
.ais-report-intro {
  margin: 22px 0 26px;
}
.ais-report-sec .cro-check-list li {
  color: var(--jp-white);
}
.ais-report {
  margin: 0;
  padding: 30px;
  border-radius: 20px;
  background: var(--jp-white);
  color: var(--jp-text);
}
.ais-report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.ais-report-head strong {
  color: var(--jp-dark);
  font-family: var(--tj-ff-heading);
  font-size: 20px;
}
.ais-report-head span {
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--jp-secondary);
  font-size: 12px;
}
.ais-report-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}
.ais-report-col h3 {
  margin: 0 0 14px;
  color: #8a8b86;
  font-family: var(--tj-ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ais-top {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ais-top li {
  margin-bottom: 14px;
}
.ais-top span {
  display: block;
  margin-bottom: 6px;
  color: var(--jp-dark);
  font-size: 14px;
  font-weight: 500;
}
.ais-top b {
  position: relative;
  display: block;
  height: 22px;
  padding-right: 6px;
  font-size: 12px;
  line-height: 22px;
  text-align: right;
}
.ais-top b::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 6px;
  background: var(--jp-primary);
}
.ais-q-48::before { width: 86%; }
.ais-q-36::before { width: 65%; }
.ais-q-29::before { width: 52%; }
.ais-q-17::before { width: 31%; }
.ais-report-gaps {
  padding: 18px;
  border-radius: 14px;
  background: #fff4e0;
}
.ais-report-gaps ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ais-report-gaps li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(5, 5, 5, 0.08);
  color: var(--jp-dark);
  font-size: 14px;
  font-weight: 500;
}
.ais-report-gaps li:last-child {
  border-bottom: 0;
}
.ais-report-gaps em {
  display: block;
  margin-top: 2px;
  color: #b06d00;
  font-size: 12px;
  font-style: normal;
}
.ais-report figcaption {
  margin-top: 18px;
  font-size: 12px;
  color: #8a8b86;
}

/* ---------- Who it is for ---------- */
.ais-who {
  padding: 120px 0;
}
.ais-who-card {
  padding: 36px 30px;
  border: 1px solid var(--jp-border);
  border-radius: 16px;
  background: var(--jp-white);
}
.ais-who-num {
  display: block;
  margin-bottom: 22px;
  color: var(--jp-dark);
  font-family: var(--tj-ff-heading);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  -webkit-text-stroke: 1px var(--jp-dark);
  -webkit-text-fill-color: transparent;
}
.ais-who-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}
.ais-who-card p {
  margin: 0 0 20px;
}
.ais-who-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ais-who-tags li {
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--jp-secondary);
  color: var(--jp-dark);
  font-size: 13px;
}

/* ---------- Pricing ---------- */
.ais-pricing {
  padding: 120px 0;
  border-radius: 16px;
  background: var(--jp-secondary);
}
.ais-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 34px;
  border-radius: 20px;
  background: var(--jp-white);
}
.ais-plan h3 {
  margin: 0 0 6px;
  font-size: 28px;
}
.ais-plan-for {
  margin: 0 0 24px;
  font-size: 15px;
}
.ais-plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.ais-plan-price strong {
  color: var(--jp-dark);
  font-family: var(--tj-ff-heading);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.ais-plan-setup {
  margin: 10px 0 26px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--jp-border);
  font-weight: 500;
}
.ais-plan .cro-check-list {
  flex: 1 1 auto;
  margin-bottom: 30px;
}
.ais-plan-dark {
  background: var(--cro-ink);
  color: var(--cro-muted-dark);
}
.ais-plan-dark h3,
.ais-plan-dark .ais-plan-price strong,
.ais-plan-dark .cro-check-list li {
  color: var(--jp-white);
}
.ais-plan-dark .ais-plan-setup {
  border-color: var(--cro-line-dark);
  color: var(--jp-white);
}
.ais-plan-combo {
  border: 2px solid var(--jp-dark);
}
.ais-plan-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--jp-primary);
  color: var(--jp-dark);
  font-size: 12px;
  font-weight: 600;
}
.ais-plan-badge-alt {
  background: var(--jp-dark);
  color: var(--jp-primary);
}
.ais-bespoke {
  margin-top: 30px;
}
.ais-price-note {
  margin: 18px 0 0;
  font-size: 13px;
  text-align: center;
}

/* ---------- Search vs assistant ---------- */
.ais-pair {
  padding: 120px 0 60px;
}
.ais-pair-box {
  max-width: 1040px;
  margin: 0 auto;
  padding: 50px;
  border: 2px solid var(--jp-dark);
  border-radius: 20px;
  background: var(--jp-white);
}
.ais-pair-head {
  margin-bottom: 30px;
  text-align: center;
}
.ais-pair-head h2 {
  margin: 0;
  font-size: 40px;
}
.ais-pair-card {
  height: 100%;
  padding: 30px;
  border-radius: 16px;
  background: var(--jp-secondary);
}
.ais-pair-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--jp-dark);
  color: var(--jp-primary);
  font-size: 19px;
}
.ais-pair-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}
.ais-pair-card p {
  margin: 0 0 16px;
}
.ais-pair-card strong {
  display: block;
  margin-bottom: 14px;
  color: var(--jp-dark);
  font-family: var(--tj-ff-heading);
  font-size: 20px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Mobile */
@media (max-width: 767px) {
  .ais-hero {
    padding: 130px 0 60px;
    border-radius: 12px;
  }
  .ais-hero::before {
    top: 40%;
    right: -40%;
    width: 420px;
    height: 420px;
    opacity: 0.7;
  }
  .ais-hero-title {
    font-size: 40px;
  }
  .ais-hero-text {
    font-size: 16px;
  }
  .ais-hero .wdd-hero-actions .tj-primary-btn {
    width: 100%;
    justify-content: space-between;
  }
  .ais-demo-body {
    padding: 20px 16px 22px;
  }
  .ais-answer {
    min-height: 240px;
    padding: 16px;
  }
  .ais-answer-head small {
    display: none;
  }
  .ais-vs,
  .ais-how,
  .ais-features,
  .ais-report-sec,
  .ais-who,
  .ais-pricing {
    padding: 70px 0;
  }
  .ais-how,
  .ais-report-sec,
  .ais-pricing {
    border-radius: 12px;
  }
  .ais-vs-card {
    padding: 24px 20px;
  }
  .ais-vs-answer p {
    font-size: 16px;
  }
  .ais-flow {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ais-flow::before {
    top: 40px;
    bottom: 40px;
    left: 50%;
    right: auto;
    border-top: 0;
    border-left: 2px dashed #c9cac2;
  }
  .ais-flow-step p {
    position: relative;
    background: var(--jp-secondary);
  }
  .ais-report {
    padding: 20px;
  }
  .ais-report-grid {
    grid-template-columns: 1fr;
  }
  .ais-who-card {
    padding: 28px 24px;
  }
  .ais-plan {
    padding: 32px 24px;
  }
  .ais-plan-price strong {
    font-size: 48px;
  }
  .ais-pair {
    padding: 70px 0 30px;
  }
  .ais-pair-box {
    padding: 28px 20px;
  }
  .ais-pair-head h2 {
    font-size: 28px;
  }
  .ais-pair-card {
    padding: 24px 20px;
  }
}

/* ios */
@media (max-width: 340px) {
  .ais-hero-title {
    font-size: 33px;
  }
}

/* windows */
@media (min-width: 451px) and (max-width: 767px) {
  .ais-hero-title {
    font-size: 48px;
  }
}

/* tab portrait view */
@media (min-width: 768px) and (max-width: 991px) {
  .ais-hero {
    padding: 160px 0 80px;
    border-radius: 12px;
  }
  .ais-hero-title {
    font-size: 58px;
  }
  .ais-demo {
    margin: 0 auto;
  }
  .ais-vs,
  .ais-how,
  .ais-features,
  .ais-report-sec,
  .ais-who,
  .ais-pricing {
    padding: 90px 0;
  }
  .ais-how,
  .ais-report-sec,
  .ais-pricing {
    border-radius: 12px;
  }
  .ais-flow-step h3 {
    font-size: 20px;
  }
  .ais-pair {
    padding: 90px 0 40px;
  }
}

/* tab landscape */
@media (min-width: 992px) and (max-width: 1199px) {
  .ais-hero {
    padding: 190px 0 90px;
  }
  .ais-hero-title {
    font-size: 54px;
  }
  .ais-vs,
  .ais-how,
  .ais-features,
  .ais-report-sec,
  .ais-who,
  .ais-pricing {
    padding: 100px 0;
  }
  .ais-plan {
    padding: 36px 26px;
  }
}

/* Laptop (1200px to 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .ais-hero-title {
    font-size: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ais-demo-live b,
  .ais-sources a {
    animation: none;
  }
}

/* Plan badges sit above the title on smaller screens */
@media (max-width: 1399px) {
  .ais-plan-badge {
    position: static;
    align-self: flex-start;
    margin-bottom: 14px;
  }
}

/* Call-back capture when the demo has no answer */
.ais-callback {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  width: 100%;
  animation: aisIn 0.4s ease both;
}
.ais-callback input {
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: var(--cro-ink-2);
  color: var(--jp-white);
  font-size: 14px;
  outline: none;
}
.ais-callback input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.ais-callback input:focus {
  border-color: var(--jp-primary);
}
.ais-callback.is-error input:invalid,
.ais-callback.is-error input:placeholder-shown {
  border-color: var(--cro-warm);
}
.ais-callback button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: var(--jp-primary);
  color: var(--jp-dark);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.ais-callback-note {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 12px;
}
.ais-callback-done {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin: 0;
  color: var(--jp-white);
  font-size: 14px;
  animation: aisIn 0.4s ease both;
}
.ais-callback-done i.tji-check {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--jp-primary);
  color: var(--jp-dark);
  font-size: 10px;
}
@media (max-width: 575px) {
  .ais-callback {
    grid-template-columns: 1fr;
  }
  .ais-callback button {
    padding: 12px 16px;
  }
}
