/* Phase 1 mobile fixes. Kept separate from the generated Webflow stylesheet. */

/* The carousel controls are injected by mobile-phase-1.js and stay inert on desktop. */
.body-5 .continue-reading-header {
  display: contents;
}

.body-5 .continue-reading-controls {
  display: none;
}

.mobile-search-link {
  display: none !important;
}

.mobile-nav-direct-links {
  display: none;
}

/* Keep all footer menu columns on the same heading and link baseline. */
.footer .footer-menus > .links {
  gap: 24px;
}

.footer .footer-menus > .links > .footer-link._2 {
  display: block;
  min-height: 0;
  margin-bottom: 0;
  color: var(--background-white);
  font-family: Google Sans, sans-serif;
  font-size: var(--google-caption-2);
  font-weight: 500;
  line-height: var(--google-caption-height-2);
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media screen and (max-width: 991px) {
  .footer .footer-menus > .links > .footer-link._2 {
    font-size: 12px;
    line-height: 16px;
  }
}

.footer .footer-menus > .links > .div-block-302 {
  margin-top: 0;
}

.div-block-81.customer {
  background-image: url('../images/ChatGPT-Image-Apr-1-2026-03_16_14-PM.webp');
}

.cookie-consent-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 5000;
  display: flex;
  align-items: center;
  gap: 24px;
  box-sizing: border-box;
  width: min(680px, calc(100% - 40px));
  padding: 20px;
  color: #2f2c25;
  background: #fff;
  border: 1px solid #ded8cd;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(47, 44, 37, .16);
}

.cookie-consent-copy {
  flex: 1 1 auto;
}

.cookie-consent-copy p {
  margin: 6px 0 0;
  color: #4a4a4a;
  font-size: 14px;
  line-height: 20px;
}

.cookie-consent-copy a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.cookie-consent-actions button {
  min-height: 44px;
  padding: 0 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #2f2c25;
  border-radius: 8px;
  cursor: pointer;
}

.cookie-consent-essential {
  color: #2f2c25;
  background: #fff;
}

.cookie-consent-accept {
  color: #fff;
  background: #2f2c25;
}

.cookie-consent-actions button:focus-visible {
  outline: 2px solid #1a7a6d;
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.search-section {
  width: min(100%, 880px);
}

.search-section > .group {
  align-items: stretch;
  width: 100%;
}

.site-search-label {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 20px;
}

.site-search-input-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.site-search-input-row .form-input {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.site-search-input-row .search-submit {
  flex: 0 0 auto;
  min-width: 112px;
  min-height: 48px;
  border-radius: 8px;
}

.site-search-count {
  margin-top: 28px;
  color: var(--text-light, #4a4a4a);
  font-size: 16px;
  line-height: 24px;
}

.site-search-results {
  display: grid;
  gap: 16px;
  width: 100%;
  margin-top: 20px;
}

.site-search-result {
  padding: 24px;
  border: 1px solid #e1ddd5;
  border-radius: 10px;
  background: #fff;
}

.site-search-result h2 {
  margin-top: 6px;
  font-size: 24px;
  line-height: 30px;
}

.site-search-result p {
  margin: 12px 0 16px;
  color: var(--text-light, #4a4a4a);
}

.site-search-category {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-search-result-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media screen and (max-width: 479px) {
  .cookie-consent-banner {
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    width: calc(100% - 24px);
    padding: 16px;
  }

  .cookie-consent-actions {
    flex-direction: column-reverse;
  }

  .cookie-consent-actions button {
    width: 100%;
  }

  .site-search-input-row {
    flex-direction: column;
  }

  .site-search-input-row .search-submit {
    width: 100%;
  }

  .site-search-result {
    padding: 20px;
  }
}

@media screen and (max-width: 991px) {
  html.mobile-nav-open,
  body.mobile-nav-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .navbar {
    z-index: 1000;
  }

  html.mobile-nav-open .navbar,
  body.mobile-nav-open .navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
  }

  .navbar .navbar-right-contents,
  .navbar .menu-button {
    position: relative;
    z-index: 1002;
  }

  .navbar .menu-button {
    touch-action: manipulation;
  }

  .navbar .w-nav-overlay {
    top: var(--_navbar---navbar-height, 72px);
    height: calc(100vh - var(--_navbar---navbar-height, 72px));
    height: calc(100dvh - var(--_navbar---navbar-height, 72px));
  }

  .navbar .navbar-menu[data-nav-menu-open] {
    top: var(--_navbar---navbar-height, 72px) !important;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    height: calc(100vh - var(--_navbar---navbar-height, 72px));
    height: calc(100dvh - var(--_navbar---navbar-height, 72px));
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .navbar .navbar-menu[data-nav-menu-open] .nav-links {
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    height: auto;
    min-height: 100%;
    margin-top: 0;
    padding: 32px 24px 48px;
    overflow: visible;
  }

  .navbar .navbar-menu[data-nav-menu-open] .nav-links > * {
    flex: 0 0 auto;
  }

  .body-3 .main-container-14 {
    box-sizing: border-box;
    width: calc(100% - 40px);
    padding-top: 96px;
    padding-bottom: 80px;
  }

  .body-3 .request-demo-grid-2 {
    row-gap: 64px;
    width: 100%;
  }

  .body-3 .request-demo-left-2,
  .body-3 .form-block {
    width: 100%;
    max-width: none;
  }

  .body-3 .request-demo-left-2 {
    align-items: center;
    padding-right: 0;
    opacity: 1 !important;
    transform: none !important;
  }

  .body-3 .div-block-106,
  .body-3 .div-block-105 {
    align-items: center;
    width: 100%;
    padding-right: 0;
    text-align: center;
  }

  .body-3 .heading---h2-6 {
    justify-content: center;
    width: 100%;
    max-width: 760px;
    text-align: center;
  }

  .body-3 .text---lead-3.subheading-narrow.request {
    max-width: 640px;
    text-align: center;
  }

  .body-3 .group-9.centered {
    position: static;
    width: 100%;
    height: auto;
  }

  .body-3 .logo-group-2.centered {
    justify-content: center;
    width: 100%;
  }

  .body-3 .form-block {
    align-self: center;
    max-width: 720px;
  }

  .body-3 .form-2 {
    width: 100%;
  }

  /* Preserve the full MGSA hero while allowing the desktop composition to reflow. */
  .how-it-words-hero.mgsa .contained-hero-wrap {
    width: 100%;
    min-width: 0;
    max-width: 1262px;
  }

  .how-it-words-hero.mgsa .contained-hero-content.main-container.mgsa {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .how-it-words-hero.mgsa .group-13.title.centered.mgsa {
    box-sizing: border-box;
    width: 100%;
    max-width: 720px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .how-it-words-hero.mgsa .hero-heading-3.mgsa,
  .how-it-words-hero.mgsa .text---lead-3.subheading-narrow.mgsa {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
}

@media screen and (max-width: 767px) {
  .footer,
  .footer .main-container.fotter,
  .footer .footer-content,
  .footer .footer-top,
  .footer .footer-top-left,
  .footer .footer-menus,
  .footer .footer-bottom,
  .footer .footer-copyright-row {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .footer .div-block-244 {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .footer .div-block-246 {
    flex-wrap: wrap;
    max-width: 100%;
  }

  .body-3 .main-container-14 {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .body-3 .request-demo-grid-2 {
    row-gap: 48px;
  }

  .body-3 .input-pair-2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .body-3 .heading---h2-6 {
    font-size: var(--google-h5-size);
    line-height: var(--google-h5-height);
  }

  .form-input-4,
  .select-field-2 {
    font-size: 16px;
  }

  .form-input-4:focus,
  .select-field-2:focus {
    outline: 2px solid var(--teal-primary, #1a7a6d);
    outline-offset: 2px;
  }

  .form-required-note {
    margin: 0 0 16px;
    color: var(--text-light, #4a4a4a);
    font-size: 14px;
    line-height: 20px;
  }

  .field-required {
    color: #9f2f2f;
  }

  .body-3 .button-6.form-button {
    align-self: stretch;
    width: 100%;
  }

  /* Customer stories: use the full mobile canvas for the intro and artwork. */
  .main-container.succes-stoires .customer-intro-grid,
  .main-container.succes-stoires .customer-title,
  .main-container.succes-stoires .div-block-301 {
    width: 100%;
    max-width: 100%;
  }

  .main-container.succes-stoires .customer-title {
    align-items: stretch;
  }

  .main-container.succes-stoires .customer-intro-grid,
  .main-container.succes-stoires .customer-title,
  .main-container.succes-stoires .customer-meta {
    opacity: 1 !important;
    transform: none !important;
  }

  .main-container.succes-stoires .customer-title .group.centered {
    align-items: flex-start;
    width: 100%;
  }

  .main-container.succes-stoires .customer-meta {
    box-sizing: border-box;
    width: 100%;
  }

  /* About hero: crop the sparse top of the artwork instead of stretching to 80vh. */
  .body-7 .section-11.about {
    height: clamp(560px, 175vw, 640px);
    min-height: 0;
    max-height: 640px;
    background-position: 50% 100%;
    background-size: auto 118%;
    background-repeat: no-repeat;
  }

  /* Career details: reclaim the canvas and keep long-form content easy to scan. */
  .career-page .cms-article-wrap {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
  }

  .career-page .cms-article-wrap > .cms-article,
  .career-page .cms-article-box {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
  }

  .career-page .cms-article-box {
    padding: 0 20px 32px;
  }

  .career-page .cms-article-box > .group {
    align-items: flex-start;
    width: 100%;
    padding: 24px 0 20px;
    text-align: left;
  }

  .career-page .heading---h3.career,
  .career-page .cms-box-short-description.career {
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    text-align: left;
  }

  .career-page .cms-article-box > .group > .badges {
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .career-page .cms-article-box > .article.cms-article {
    box-sizing: border-box;
    width: 100%;
    padding: 24px 0 0;
    text-align: left;
  }

  .career-page .cms-article-box > .article.cms-article h2,
  .career-page .cms-article-box > .article.cms-article p,
  .career-page .cms-article-box > .article.cms-article li {
    text-align: left;
  }

  .career-page .cms-box-cta {
    width: 100%;
    padding: 32px 0 0;
    text-align: left;
  }

  /* Keep all three insight cards visible instead of cropping the outer cards. */
  .section-23 .div-block-344,
  .section-23 .div-block-345,
  .section-23 .div-block-346 {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .section-23 .div-block-345 {
    flex-direction: column;
    align-items: stretch;
  }

  .div-block-304 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
  }

  .div-block-304 .mgsa-card-wrapper,
  .div-block-304 .div-block-306 {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: auto;
  }

  /* Product pages: let every feature image define the panel height on mobile. */
  .body-2 .tabs-content-8 {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .body-2 .tabs-content-8 .w-tab-pane {
    box-sizing: border-box;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 20px;
    overflow: hidden;
  }

  .body-2 .tabs-content-8 .w-tab-pane > div {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .body-2 .tabs-content-8 .w-tab-pane img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  /* Learning FAQ: use one compact, consistent rhythm between questions. */
  .body-2 .faq-section-2 .accordion {
    margin-top: 16px;
  }

  .body-2 .faq-section-2 .feature-accordion {
    margin-bottom: 8px;
  }

  .body-2 .faq-section-2 .feature-accordion:last-child {
    margin-bottom: 0;
  }

  .body-2 .faq-section-2 .accordian {
    padding-bottom: 12px;
  }

  /* Blog hero newsletter: compact action with readable privacy context. */
  .body-4 .group-10.hero-subscribe {
    row-gap: 0;
  }

  .body-4 .group-10.hero-subscribe .text---badge-6 {
    margin-bottom: 24px;
  }

  .body-4 .group-10.hero-subscribe .form-block-2 {
    margin-bottom: 8px;
  }

  .body-4 .group-10.hero-subscribe .subscribe-form-2.wide {
    align-items: center;
  }

  .body-4 .group-10.hero-subscribe .form-input-5 {
    width: 100%;
  }

  .body-4 .group-10.hero-subscribe #Newsletter-Button-Hero {
    align-self: center;
    width: 160px;
    max-width: 100%;
  }

  .body-4 .group-10.hero-subscribe > .text---muted {
    margin-bottom: 32px;
    font-size: 12px;
    line-height: 16px;
  }

  /* Blog cards: keep metadata legible without obscuring the artwork. */
  .body-4 .blog-post-image-wrap .badges.bottom-right {
    column-gap: 4px;
    width: auto;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 0;
    right: auto;
    bottom: 8px;
    left: 12px;
  }

  .body-4 .blog-post-image-wrap .badge {
    padding: 6px 8px;
  }

  .body-4 .blog-post-image-wrap .badge .text---badge {
    font-size: 10px;
    line-height: 14px;
    letter-spacing: .08em;
  }

  /* Blog articles: show one recommendation at a time with clear, subtle controls. */
  .body-5 .main-container.cont-read .continue-reading-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin-bottom: 16px;
  }

  .body-5 .main-container.cont-read .continue-reading-header .heading---h3 {
    margin: 0;
  }

  .body-5 .main-container.cont-read .continue-reading-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
  }

  .body-5 .main-container.cont-read .continue-reading-arrow {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: #302e29;
    background: #fffaf2;
    border: 1px solid #ded8cd;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(48, 46, 41, .08);
    cursor: pointer;
    touch-action: manipulation;
  }

  .body-5 .main-container.cont-read .continue-reading-arrow svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
  }

  .body-5 .main-container.cont-read .continue-reading-arrow:focus-visible {
    outline: 2px solid #302e29;
    outline-offset: 2px;
  }

  .body-5 .main-container.cont-read .continue-reading-arrow:disabled {
    opacity: .32;
    box-shadow: none;
    cursor: default;
  }

  .body-5 .main-container.cont-read .w-dyn-list {
    width: 100%;
    overflow: hidden;
  }

  .body-5 .main-container.cont-read .blog-grid {
    display: flex;
    grid-column-gap: 0;
    grid-row-gap: 0;
    gap: 0;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .body-5 .main-container.cont-read .blog-grid::-webkit-scrollbar {
    display: none;
  }

  .body-5 .main-container.cont-read .blog-grid > .w-dyn-item {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

/* Shared accessibility and interaction affordances. */
.form-field-label {
  display: block;
  margin-bottom: 6px;
  color: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.footer-link,
.div-block-246 > a,
.w-slider-dot {
  min-width: 44px;
  min-height: 44px;
}

.footer-link,
.div-block-246 > a {
  display: inline-flex;
  align-items: center;
}

.w-slider-dot {
  position: relative;
  margin: 0 !important;
  background-clip: content-box;
  padding: 14px;
}

.faq-acc .accordian[role="button"]:focus-visible,
.trigger-search[role="button"]:focus-visible,
.dropdown-toggle[role="button"]:focus-visible {
  outline: 2px solid var(--teal-primary, #1a7a6d);
  outline-offset: 3px;
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media screen and (max-width: 479px) {
  .navbar .w-nav-overlay,
  .navbar .navbar-menu[data-nav-menu-open] {
    top: 61px !important;
    height: calc(100vh - 61px);
    height: calc(100dvh - 61px);
  }

  .body-3 .main-container-14 {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding-right: 16px;
    padding-left: 16px;
  }

  .body-3 .request-demo-grid-2,
  .body-3 .request-demo-left-2,
  .body-3 .form-block,
  .body-3 .form-2 {
    width: 100%;
  }

  .body-3 .logo-group-2.centered {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 12px;
    margin-top: 16px;
  }

  .body-3 .logo-group-2.centered .logo-group-item {
    justify-self: center;
    max-width: 100%;
  }

  .body-3 .logo-group-2.centered .logo-group-item.northwest {
    grid-column: span 2;
  }

  .top-wrapper,
  .down-wrapper {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .top-wrapper > .top-left,
  .top-wrapper > .bottom-lrft,
  .down-wrapper > .bottom-left,
  .down-wrapper > .bottom-right {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .section-new.features-intro.perform {
    height: clamp(720px, 200vw, 820px);
    min-height: 0;
    max-height: 820px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .section-new.features-intro.perform .main-container.products {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
}

@media screen and (min-width: 480px) and (max-width: 991px) {
  .navbar .w-nav-overlay,
  .navbar .navbar-menu[data-nav-menu-open] {
    top: 72px !important;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
  }
}

@media screen and (max-width: 340px) {
  .div-block-304 {
    grid-template-columns: minmax(0, 1fr);
  }

  .body-3 .g-recaptcha {
    transform: scale(.940789);
    transform-origin: top left;
  }
}

@media screen and (max-width: 991px) and (max-height: 500px) {
  .section-new.features-intro {
    height: auto;
    min-height: calc(100vh - var(--_navbar---navbar-height, 72px));
    min-height: calc(100svh - var(--_navbar---navbar-height, 72px));
    margin-top: 0;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .section-new.features-intro .main-container.products {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
}
