/*
 * Maintained site overrides loaded after the generated Webflow stylesheet.
 * Keep migration corrections here so future Webflow exports remain replaceable.
 */

/* Form status states */
.w-form-done.form-status-centered {
  align-items: center;
  justify-content: center;
  min-height: var(--form-status-height);
  padding: 0;
  background-color: transparent;
}

.w-form-done.form-status-centered > div {
  width: 100%;
  padding: 20px;
  background-color: #ddd;
}

.w-form-fail {
  text-align: left;
}

/* Use Cases navigation */
.dropdown-use-cases .use-case-link > .hover-bg-wrapper {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
}

.dropdown-use-cases .use-case-link > .use-case-text {
  min-width: 0;
}

/* Enterprise, bot detection, and user journeys heroes */
.enterprise-hero-container,
.bot-det-tablet.desk-height,
.user-journeys-hero {
  margin-top: 96px;
}

.title.center-text.max-width480.nomargin.uj-title.enterprise-hero-title,
.bot-det-tablet .title.center-text.max-width480.nomargin.uj-title,
.user-journeys-hero .title.center-text.max-width480.nomargin.uj-title {
  width: 100%;
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  font-size: 60px;
  font-weight: 500;
  line-height: 110%;
}

.bot-det-tablet .title.center-text.max-width480.nomargin.uj-title {
  max-width: 760px;
}

.sub-hero.grey-500-text.home.uj-sub-hero.enterprise-hero-description,
.bot-det-tablet .sub-hero.grey-500-text.home.uj-sub-hero,
.user-journeys-hero .sub-hero.grey-500-text.home.uj-sub-hero {
  width: 100%;
  max-width: 720px;
  margin-top: 24px;
  margin-right: auto;
  margin-bottom: 32px;
  margin-left: auto;
  font-size: 18px;
  font-weight: 400;
  line-height: 145%;
}

.enterprise-hero-description > strong {
  font-weight: inherit;
}

.user-journeys-api-first-container .uj-box-title-left {
  gap: 24px;
}

.bot-detection-inline-link,
.bot-detection-inline-link:visited {
  color: var(--dark);
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bot-detection-inline-link:hover {
  color: var(--dark);
  text-decoration-thickness: 2px;
}

.bot-detection-inline-link:focus-visible {
  border-radius: 2px;
  outline: 2px solid currentcolor;
  outline-offset: 2px;
}

.enterprisev2-feature-pill-text .bot-detection-pill-link,
.enterprisev2-feature-pill-text .bot-detection-pill-link:link,
.enterprisev2-feature-pill-text .bot-detection-pill-link:visited,
.enterprisev2-feature-pill-text .bot-detection-pill-link:active {
  color: var(--white) !important;
  font-size: 1em !important;
  font-weight: 500 !important;
  line-height: inherit !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.enterprisev2-feature-pill-text .bot-detection-pill-link:hover {
  color: var(--white) !important;
  text-decoration-thickness: 2px;
}

.enterprisev2-feature-pill-text .bot-detection-pill-link:focus-visible {
  border-radius: 2px;
  outline: 2px solid currentcolor;
  outline-offset: 2px;
}

@media screen and (min-width: 992px) {
  .user-journeys-intro-heading {
    width: calc(100% + 48px);
    max-width: 560px;
  }

  .user-journeys-api-first-heading {
    width: calc(100% + 48px);
    max-width: 640px;
  }

  .user-journeys-api-first-container {
    padding: 88px;
  }

  .bot-detection-customizable-heading {
    width: 100%;
    max-width: none;
    white-space: nowrap;
  }

  .bot-detection-customizable-description {
    width: 100%;
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media screen and (max-width: 991px) {
  .title.center-text.max-width480.nomargin.uj-title.enterprise-hero-title,
  .bot-det-tablet .title.center-text.max-width480.nomargin.uj-title,
  .user-journeys-hero .title.center-text.max-width480.nomargin.uj-title {
    font-size: 60px;
    line-height: 69px;
  }
}

@media screen and (max-width: 767px) {
  .title.center-text.max-width480.nomargin.uj-title.enterprise-hero-title,
  .bot-det-tablet .title.center-text.max-width480.nomargin.uj-title,
  .user-journeys-hero .title.center-text.max-width480.nomargin.uj-title {
    font-size: 48px;
    line-height: 58px;
  }
}

@media screen and (max-width: 479px) {
  .container.content-hero.enterprise-v2.container-ent-1.container-tablet.desk-height.enterprise-hero-container {
    margin-top: 24px;
  }

  .section-5.section-6 {
    aspect-ratio: auto;
  }

  .title.center-text.max-width480.nomargin.uj-title.enterprise-hero-title,
  .bot-det-tablet .title.center-text.max-width480.nomargin.uj-title,
  .user-journeys-hero .title.center-text.max-width480.nomargin.uj-title {
    font-size: 40px;
    line-height: 44px;
  }

  .enterprivev2-box-heading.uj-box-heading.bot-detection-customizable-heading,
  .enterprivev2-box-heading.uj-box-heading.user-journeys-api-first-heading {
    font-size: 40px;
    line-height: 46px;
  }

  #faq .section-heading-2.color-grey900.uj-h2.ato-h2.tab-center.mob-36-42.mw-75.learn-title {
    font-size: 36px;
    line-height: 42px;
  }
}

/* User Journeys proof tabs */
.user-journeys-proof-section {
  padding: 104px 0 64px;
  background-color: var(--white);
}

.user-journeys-proof-container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 50px;
  padding-left: 50px;
}

.user-journeys-proof-heading {
  max-width: 680px;
  margin: 0 auto 48px;
  color: var(--dark);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 44px;
  letter-spacing: -.8px;
  text-align: center;
}

.user-journeys-proof-tabs {
  width: 100%;
  overflow: visible;
}

.user-journeys-proof-tab-list {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.user-journeys-proof-tab {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  min-height: 64px;
  padding: 18px 0 20px;
  align-items: baseline;
  gap: 9px;
  border: 0;
  border-top: 2px solid #d8d8d8;
  border-radius: 0;
  background: transparent;
  color: var(--grey-600);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 130%;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}

.user-journeys-proof-tab:hover {
  color: #656565;
}

.user-journeys-proof-tab.is-active,
.user-journeys-proof-tab[aria-selected="true"] {
  border-top-color: var(--dark);
  color: var(--dark);
}

.user-journeys-proof-tab:focus-visible {
  outline: 2px solid var(--dark);
  outline-offset: 5px;
}

.user-journeys-proof-tab-number {
  flex: 0 0 auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  letter-spacing: .12em;
}

.user-journeys-proof-tab > span:last-child {
  min-width: 0;
  overflow-wrap: break-word;
}

.user-journeys-proof-panels {
  margin-top: 36px;
}

.user-journeys-proof-panel {
  display: none;
  min-height: 220px;
  padding: 52px 60px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 48px;
  border-radius: 20px;
  background-color: #f6f6f6;
}

.user-journeys-proof-panel.is-active {
  display: grid;
}

.user-journeys-proof-panel:focus {
  outline: none;
}

.user-journeys-proof-panel:focus-visible {
  outline: 2px solid var(--dark);
  outline-offset: 3px;
}

.user-journeys-proof-panel-title {
  display: grid;
  min-width: 0;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.user-journeys-proof-panel-title h3 {
  margin: 0;
  color: var(--dark);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -.48px;
  white-space: nowrap;
}

.user-journeys-proof-icon {
  width: 24px;
  height: 24px;
  margin-top: 8px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.user-journeys-proof-icon.user-journeys-proof-icon-filled {
  fill: currentcolor;
  stroke: none;
}

.user-journeys-proof-panel p {
  min-width: 0;
  margin: 0;
  color: #7c7c7c;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: -.4px;
  overflow-wrap: break-word;
}

.user-journeys-proof-panel a,
.user-journeys-proof-panel a:visited {
  color: var(--dark);
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.user-journeys-proof-panel a:hover {
  color: var(--dark);
  text-decoration-thickness: 2px;
}

.user-journeys-proof-panel a:focus-visible {
  border-radius: 2px;
  outline: 2px solid currentcolor;
  outline-offset: 3px;
}

@media screen and (max-width: 1199px) {
  .user-journeys-proof-panel {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}

@media screen and (max-width: 991px) {
  .user-journeys-proof-tab-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
  }

  .user-journeys-proof-tab {
    width: 100%;
    white-space: normal;
    grid-column: span 2;
  }

  .user-journeys-proof-tab:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .user-journeys-proof-tab:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .user-journeys-proof-section {
    padding: 88px 0 56px;
  }

  .user-journeys-proof-container {
    max-width: 750px;
    padding-right: 40px;
    padding-left: 40px;
  }

  .user-journeys-proof-heading {
    margin-bottom: 40px;
  }

  .user-journeys-proof-panel {
    padding: 40px;
  }
}

@media screen and (max-width: 767px) {
  .user-journeys-proof-section {
    padding: 64px 0 40px;
  }

  .user-journeys-proof-heading {
    margin-bottom: 32px;
    font-size: 36px;
    line-height: 116%;
  }

  .user-journeys-proof-tab-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .user-journeys-proof-tab {
    grid-column: auto;
    padding-top: 14px;
    padding-bottom: 16px;
    font-size: 16px;
  }

  .user-journeys-proof-tab:nth-child(4) {
    grid-column: auto;
  }

  .user-journeys-proof-tab:nth-child(5) {
    width: calc((100% - 12px) / 2);
    justify-self: center;
    grid-column: 1 / -1;
  }

  .user-journeys-proof-panels {
    margin-top: 24px;
  }

  .user-journeys-proof-panel,
  .user-journeys-proof-panel.is-active {
    min-height: 0;
    padding: 32px 28px;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    border-radius: 16px;
  }

  .user-journeys-proof-panel-title h3 {
    font-size: 28px;
    white-space: normal;
  }

  .user-journeys-proof-icon {
    margin-top: 5px;
  }

  .user-journeys-proof-panel p {
    font-size: 18px;
    line-height: 150%;
  }
}

@media screen and (max-width: 479px) {
  .user-journeys-proof-container {
    max-width: none;
    padding-right: 20px;
    padding-left: 20px;
  }

  .user-journeys-proof-heading {
    font-size: 32px;
    line-height: 42px;
  }

  .user-journeys-proof-tab {
    font-size: 15px;
  }

  .user-journeys-proof-tab-number {
    font-size: 13px;
  }

  .user-journeys-proof-panel,
  .user-journeys-proof-panel.is-active {
    padding: 28px 22px;
  }

  .user-journeys-proof-panel-title {
    gap: 14px;
  }
}

/* Keep desktop dropdowns interactive above article-page stacking contexts. */
@media screen and (min-width: 768px) and (hover: hover) {
  .header.w-nav {
    z-index: 1000;
  }

  .header.w-nav .dropdown-wrapper:hover > .dropdown-content {
    display: flex !important;
  }
}

/* Localized Start a Pilot layout */
html:not([lang="en"]) .start-a-pilot-page .subscribe-form-flex > .form-block-6,
html:not([lang="en"]) .start-a-pilot-page .subscribe-form-flex > .div-block-92 {
  min-width: 0;
  max-width: 100%;
}

html:not([lang="en"]) .start-a-pilot-page .grid-23 .image-60 {
  align-self: center;
  justify-self: center;
  width: auto;
  min-width: 0;
  max-width: 100%;
  height: auto;
  max-height: 47.5px;
  object-fit: contain;
}

@media screen and (min-width: 768px) {
  html:not([lang="en"]) .start-a-pilot-page .subscribe-form-flex > .form-block-6,
  html:not([lang="en"]) .start-a-pilot-page .subscribe-form-flex > .div-block-92 {
    flex: 1 1 0;
    width: auto;
  }

  html:not([lang="en"]) .start-a-pilot-page .pilot-form-text .width-80pc {
    width: auto;
    max-width: 80%;
  }

}

/* Homepage tabs */
.homepage-page .tabs-2 .tab-block.w--current {
  border: 0;
}

.homepage-page .tabs-2 .tab-block.w--current::after {
  position: absolute;
  top: -2px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  border: 2px solid #000;
  border-radius: 18px;
  content: "";
  pointer-events: none;
}

/* Pricing interactions */
.pricing-page .pro-trial-modal-container {
  z-index: 1100;
}

.pricing-page .pro-trial-modal {
  width: calc(100% - 32px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}

.pricing-page .pro-trial-modal-close {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 16px;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  color: #374151;
  font: inherit;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.pricing-page .pro-trial-modal-close:focus-visible {
  border-radius: 4px;
  outline: 2px solid #0074ff;
  outline-offset: 2px;
}

@media screen and (max-width: 479px) {
  .pricing-page .tabs-menu {
    width: calc(100% - 32px);
    max-width: 341px;
  }

  .pricing-page .tab-link-tab-1 {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    padding-right: 8px;
    padding-left: 8px;
  }

  .pricing-page .text-block-32.first,
  .pricing-page .text-block-32.second {
    max-width: none;
    overflow: visible;
  }
}

/* Use-case hero layouts */
@media screen and (min-width: 992px) {
  .account-takeovers-page .uj-bg {
    min-height: 539px;
  }

  .account-takeovers-page .uj-bg ._50-50-hero-info,
  .multi-accounting-page .uj-bg ._50-50-hero-info {
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  }

  .account-takeovers-page .uj-bg .hero-info,
  .multi-accounting-page .uj-bg .hero-info {
    grid-area: 1 / 1 / 2 / 2;
  }

  .account-takeovers-page .uj-bg .hero-info,
  .account-takeovers-page .uj-bg .graphic-bot {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .account-takeovers-page .uj-bg .ato-img,
  .multi-accounting-page .uj-bg .ato-img {
    grid-area: 1 / 2 / 2 / 3;
    width: 100%;
  }

  .account-takeovers-page .uj-bg .ato-full-img.tab-ato-img,
  .multi-accounting-page .uj-bg .ato-full-img.ma-ratio {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 480px;
    margin-left: auto;
    margin-right: 0;
    object-fit: contain;
  }

  /* Keep the illustration anchored to the hero, independent of translated copy height. */
  .account-takeovers-page .uj-bg .container.content-hero {
    position: static;
  }

  .account-takeovers-page .uj-bg .graphic-bot {
    aspect-ratio: 1.26;
  }

  .account-takeovers-page .uj-bg .graphic-bot > .tab-ato-img {
    position: absolute;
    right: max(32px, calc((100% - 1200px) / 2));
    bottom: 0;
    width: min(calc(50% - 32px), 600px);
    height: auto;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  /* Long translations need the tablet-sized type rhythm at the narrow desktop breakpoint. */
  .account-takeovers-page .uj-bg .uj-title {
    font-size: 52px !important;
    line-height: 1.15 !important;
  }

  .account-takeovers-page .uj-bg .ato-use-case {
    margin-bottom: 24px !important;
  }

  .account-takeovers-page .uj-bg .uj-sub-hero {
    margin-bottom: 32px !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  /* The hidden close slot must not reserve space beside longer localized utility links. */
  .a11y-blog .div-block-74 {
    column-gap: 16px;
  }

  .a11y-blog .div-block-74 > .x-container {
    display: none;
  }

  .account-takeovers-page .uj-bg .hero-info,
  .account-takeovers-page .uj-bg .graphic-bot {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .account-takeovers-page .uj-bg .graphic-bot {
    transform: translateY(24px);
  }

  .account-sharing-page .uj-bg .si-hero-img {
    transform: translateY(20px);
  }

  .synthetic-identities-page .uj-bg .si-hero-img {
    align-self: center !important;
  }
}
