/* ============================================================================
   Industry landing pages
   ----------------------------------------------------------------------------
   Page-specific styles for /industries and /industries/<slug>.
   Reuses .shell, .btn, .header__nav and other 2025 design tokens from
   assets/design2021/css/style.css.
   ============================================================================ */

/* Industry page uses a light header background, so override the dark-hero
   rule that paints the hamburger bars white (from style.css .header.home). */
.industry-page .header.home .nav-trigger span { background: #2152c4; }

/* ============================================================================
   Shared header dropdown + services selector
   ----------------------------------------------------------------------------
   These rules are unscoped so the _siteHeader partial renders consistently
   on industry pages, interior-layout pages (contact / demo / etc.), and
   anywhere else it is included.
   ============================================================================ */
.header-dropdown { position: relative; }
.header-dropdown__toggle { cursor: pointer; }
.header-dropdown__toggle svg {
  margin-left: 6px;
  vertical-align: middle;
  transition: transform 0.2s ease;
}
.header-dropdown.is-open .header-dropdown__toggle svg {
  transform: rotate(180deg);
}
.header-dropdown__panel {
  display: none;
  position: absolute;
  top: 100%;
  /* JS centers this under the toggle and clamps it within the viewport. */
  left: 0;
  transform: translateY(8px);
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 16px;
  width: 860px;
  max-width: calc(100vw - 32px);
  /* Cap total height; the inner __scroll wrapper actually scrolls so the
     search input stays pinned at the top of the panel. overflow stays
     visible so the ::before hover bridge isn't clipped. */
  max-height: calc(100vh - 120px);
  z-index: 200;
}
.header-dropdown.is-open .header-dropdown__panel {
  display: flex;
  flex-direction: column;
}
.services-selector__scroll {
  flex: 1 1 auto;
  /* min-height: 0 lets the wrapper actually shrink inside the flex parent
     so its overflow can take over instead of pushing the panel taller. */
  min-height: 0;
  overflow-y: auto;
  /* Pull the scroll wrapper out into the panel's padding on the right so
     the scrollbar sits flush against the panel edge instead of floating
     in the middle of empty padding. */
  margin-right: -16px;
  padding-right: 16px;
}
@media (max-width: 1100px) {
  .header-dropdown__panel { width: 720px; }
}
@media (max-width: 880px) {
  .header-dropdown__panel { width: 600px; }
  .services-selector__featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Drop to 2 columns; the third column wraps below the first two. */
  .services-selector__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Invisible bridge so the 8px gap between the toggle and the panel stays
   hoverable. The --bridge-left/--bridge-right variables let the JS extend
   the bridge horizontally when the panel is bumped off-center, so the
   cursor moving straight down from the toggle still hits the bridge. */
.header-dropdown__panel {
  --bridge-left: 0px;
  --bridge-right: 0px;
}
.header-dropdown__panel::before {
  content: '';
  position: absolute;
  top: -12px;
  left: var(--bridge-left);
  right: var(--bridge-right);
  height: 12px;
}

/* The [hidden] attribute must win over our display: flex / display: block
   rules below so the JS filter can actually hide items. */
.services-selector__item[hidden],
.services-selector__featured-item[hidden],
.services-selector__group[hidden],
.services-selector__featured[hidden],
.services-selector__empty[hidden],
.services-mobile-panel__link[hidden],
.services-mobile-panel__section[hidden],
.services-mobile-panel__empty[hidden] { display: none !important; }

/* Search input at the top of the dropdown */
.services-selector__search {
  position: relative;
  margin-bottom: 14px;
}
.services-selector__search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}
.services-selector__search-input {
  width: 100%;
  padding: 9px 12px 9px 34px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 13px;
  color: #1f2937;
  background: #fafafa;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  box-sizing: border-box;
}
.services-selector__search-input:focus {
  border-color: #6d28d9;
  background: #fff;
}

/* Small uppercase section label used for "Featured" and group headers */
.services-selector__section-title,
.services-selector__group-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin: 0 0 8px;
  padding: 0 4px;
}

/* Featured row — larger hit targets, prominent color */
.services-selector__featured {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
}
.services-selector__featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 12px;
}
/* .header prefix bumps specificity to (0,2,0) so we win over the global
   .nav a (0,1,1) rule from style.css that would otherwise force 1.6rem. */
.header .services-selector__featured-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
  border-radius: 8px;
  background: #faf9ff;
  border: 1px solid #ede9fe;
  min-width: 0;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.header .services-selector__featured-item:hover {
  background: #ede9fe;
  border-color: #ddd6fe;
  color: #5b21b6;
}
.header .services-selector__featured-item.is-active {
  background: #ede9fe;
  border-color: #c4b5fd;
  color: #5b21b6;
}
.services-selector__featured-emoji {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  width: 22px;
  text-align: center;
}
.services-selector__featured-name {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Grouped list — each .services-selector__column is rendered as an
   independent vertical stack so groups in column 2/3 sit flush against the
   top of their column instead of being aligned with the tallest row 1
   group. Column buckets are hand-assigned in the Razor template. */
.services-selector__groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 20px;
  align-items: start;
}
.services-selector__column {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.services-selector__group {
  margin-bottom: 14px;
  display: block;
  min-width: 0;
}
.services-selector__group-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.header .services-selector__item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  font-size: 14px;
  color: #1f2937;
  text-decoration: none;
  border-radius: 6px;
  min-width: 0;
}
.services-selector__emoji {
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1;
  width: 20px;
  text-align: center;
}
.services-selector__name {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header .services-selector__item:hover { background: #f3f4f6; color: #6d28d9; }
.header .services-selector__item.is-active { background: #ede9fe; color: #6d28d9; font-weight: 600; }

.services-selector__empty {
  padding: 20px 10px;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}

.services-selector__footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e6e6e6;
  text-align: right;
}
.services-selector__footer a { color: #6d28d9; font-weight: 600; text-decoration: none; }

/* Mobile slide-in panel — mirrors .lang-mobile-panel (hidden on desktop) */
.services-mobile-panel { display: none; }
@media (max-width: 1023px) {
  /* The slide-in panel uses translateX off-screen; clip the aside so the
     off-screen transform doesn't cause horizontal document scroll. */
  .js-header-aside { overflow-x: hidden; }

  .services-mobile-panel {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 10;
    padding: 3rem 2rem 6rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    overflow-y: auto;
  }
  .services-mobile-panel.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
}
.services-mobile-panel__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #1f2937;
  text-decoration: none;
  margin-bottom: 24px;
}
.services-mobile-panel__search {
  position: relative;
  margin-bottom: 20px;
}
.services-mobile-panel__search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}
.services-mobile-panel__search-input {
  width: 100%;
  padding: 14px 14px 14px 40px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  color: #1f2937;
  background: #fafafa;
  outline: none;
  box-sizing: border-box;
}
.services-mobile-panel__search-input:focus {
  border-color: #6d28d9;
  background: #fff;
}
.services-mobile-panel__section { margin-bottom: 18px; }
.services-mobile-panel__section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin: 0 0 6px;
  padding: 0 12px;
}
.services-mobile-panel__list { display: flex; flex-direction: column; gap: 4px; }
.services-mobile-panel__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  font-size: 16px;
  color: #1f2937;
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
}
.services-mobile-panel__emoji { font-size: 20px; width: 24px; text-align: center; flex: 0 0 auto; }
.services-mobile-panel__link.is-active { color: #6d28d9; font-weight: 600; }
.services-mobile-panel__empty {
  padding: 24px 12px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}

/* ============================================================================
   Industry hero
   ============================================================================ */
.industry-hero {
  padding: 40px 0 32px;
  position: relative;
}
.industry-hero .shell { position: relative; z-index: 1; }
/* Reposition the home-page .shape--1 decoration so it sits behind the hero
   on the right side. */
.industry-hero .shapes { z-index: 0; pointer-events: none; }
.industry-hero .shape--1 { right: -8rem; opacity: 0.85; }
.industry-hero .shape--1 img { max-width: 57.9rem; }
@media (max-width: 1399px) {
  .industry-hero .shape--1 { right: -18rem; }
}
@media (max-width: 1023px) {
  .industry-hero .shape--1 { top: -4rem; right: -2rem; opacity: 0.55; }
  .industry-hero .shape--1 img { max-width: 14rem; }
}
.industry-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.industry-hero__headline {
  font-size: 4.8rem;
  line-height: 1.25;
  font-weight: 600;
  color: #292d34;
  margin: 0 0 18px;
}
.industry-hero__subheader {
  font-size: 17px;
  line-height: 1.55;
  color: #4b5563;
  margin: 0 0 20px;
  max-width: 560px;
}
.industry-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.industry-hero__visual { position: relative; }
.industry-hero__image-placeholder {
  background: #f3f4f6;
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: #6b7280;
}
.industry-hero__image-placeholder span { font-weight: 600; margin-bottom: 8px; }
.industry-hero__image-placeholder small { font-size: 12px; max-width: 280px; }
.industry-hero__image {
  width: 100%;
  height: auto;
  /* Reserve the 16:9 box BEFORE the image loads so the absolutely-positioned
     floating G2 quote stays anchored to the bottom of the visual instead of
     jumping to the top of the column. */
  aspect-ratio: 16 / 9;
  background: #f3f4f6;
  border-radius: 12px;
  display: block;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.10);
}

/* Above-the-fold quote card */
.industry-hero__quote {
  position: absolute;
  bottom: -32px;
  right: -16px;
  max-width: 320px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.12);
  padding: 16px 18px;
  margin: 0;
  font-style: normal;
}
.industry-hero__quote-stars { color: #fbbf24; font-size: 21px; letter-spacing: 2px; margin-bottom: 6px; }
.industry-hero__quote p { margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: #111827; }
.industry-hero__quote footer { font-size: 12px; color: #6b7280; }
.industry-hero__quote-source {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: #f3f4f6;
  border-radius: 4px;
  text-decoration: none;
  color: #6b7280;
}

.industry-trust-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  font-size: 13px;
  color: #4b5563;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.industry-trust-strip:hover { border-color: #c4b5fd; box-shadow: 0 4px 12px rgba(109, 40, 217, 0.08); }
.industry-trust-strip__g2 { width: 20px; height: 20px; flex: 0 0 auto; }
.industry-trust-strip__stars { color: #fbbf24; letter-spacing: 1px; }
.industry-trust-strip__text { color: #4b5563; }

/* Second above-the-fold quote — centered card under the value-props section */
.industry-quote-strip {
  padding: 56px 0 64px;
  font-size: 18px;
  color: #4b5563;
}
.industry-quote-strip .shell { display: flex; justify-content: center; }
.industry-quote-strip__inner {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 960px;
  padding: 20px 32px;
  text-align: center;
}
.industry-quote-strip__stars { color: #fbbf24; letter-spacing: 2px; font-size: 48px; line-height: 1; }
.industry-quote-strip__quote { font-style: italic; font-size: 20px; line-height: 1.4; color: #111827; }
.industry-quote-strip__author { color: #6b7280; font-size: 15px; }

/* ============================================================================
   Sections
   ============================================================================ */
.industry-section { padding: 64px 0; }
h2.industry-section__title,
.industry-section__title {
  font-size: 3.2rem;
  font-weight: 600;
  line-height: normal;
  text-align: center;
  color: #292d34;
  margin: 0 0 32px;
  /* White outline keeps the title legible when it overlaps any of the
     decorative shape graphics that bleed into the section. */
  -webkit-text-stroke: 1px #fff;
  paint-order: stroke fill;
}

/* Value props */
.industry-value-props { position: relative; overflow: visible; padding-top: 84px; }
.industry-value-props .shell { position: relative; z-index: 1; }
@media (min-width: 1024px) {
  .industry-section.industry-value-props { padding-top: 144px; }
}

/* Use cases decorative shape (moved from value props) */
.industry-use-cases { position: relative; overflow: visible; }
.industry-use-cases .shell { position: relative; z-index: 1; }
.industry-use-cases .shapes { z-index: 0; pointer-events: none; }
.industry-use-cases .shape--2 { top: 2rem; left: -6rem; opacity: 0.55; }
.industry-use-cases .shape--2 img { max-width: 36rem; }
@media (max-width: 1199px) {
  .industry-use-cases .shape--2 { left: -12rem; opacity: 0.4; }
}
@media (max-width: 1023px) {
  .industry-use-cases .shape--2 { display: none; }
}
.industry-value-props__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.industry-value-prop {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}
.industry-value-prop__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 220ms ease;
}
.industry-value-prop__icon svg {
  display: block;
  width: 64px;
  height: 64px;
}
.industry-value-prop:hover .industry-value-prop__icon {
  transform: translateY(-4px);
}
.industry-value-prop__icon--green { color: #2dd875; }
.industry-value-prop__icon--purple { color: #7800f3; }
.industry-value-prop__icon--blue { color: #1e50c3; }
.industry-value-prop__icon--orange { color: #e4673a; }
.industry-value-prop__icon--light-blue { color: #56cbef; }
.industry-value-prop__icon--pink { color: #f06eaa; }
.industry-value-prop h3 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 12px;
  color: #1f2937;
  text-wrap: balance;
  -webkit-hyphens: none;
  hyphens: none;
}
.industry-value-prop p {
  font-size: 1.55rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
  max-width: 34rem;
}

/* Use cases */
.industry-use-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.industry-use-case { background: #f9fafb; border-radius: 12px; overflow: hidden; padding-bottom: 20px; }
.industry-use-case__image-placeholder {
  background: #e5e7eb;
  border-bottom: 2px dashed #d1d5db;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  color: #6b7280;
}
.industry-use-case__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #e5e7eb;
}
.industry-use-case h3 { font-size: 20px; font-weight: 700; margin: 20px 24px 8px; color: #111827; }
.industry-use-case p { font-size: 15px; line-height: 1.6; color: #4b5563; margin: 0 24px; }

/* Features */
.industry-features__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 48px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}
.industry-features__list li {
  position: relative;
  padding-left: 28px;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #1f2937;
}
.industry-features__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #6d28d9;
  font-weight: 700;
}

/* Testimonials */
.industry-testimonials__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}
.industry-testimonial {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 28px;
  margin: 0;
  flex: 1 1 280px;
  max-width: 360px;
}
.industry-testimonial__stars {
  color: #fbbf24;
  font-size: 22px;
  letter-spacing: 2px;
  margin: 0 0 12px;
  line-height: 1;
}
.industry-testimonial p { margin: 0 0 12px; font-size: 1.5rem; line-height: 1.6; color: #1f2937; }
.industry-testimonial footer { font-size: 1.3rem; color: #6b7280; }

/* FAQs */
.industry-faqs__list { max-width: 720px; margin: 0 auto; }
.industry-faq {
  border-bottom: 1px solid #e6e6e6;
  padding: 16px 0;
}
.industry-faq summary {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
}
.industry-faq p { font-size: 15px; line-height: 1.6; color: #4b5563; margin: 12px 0 0; }

/* Sticky footer CTA — uses the same blue gradient as the home page
   .section-discover callout for brand consistency. */
.industry-cta {
  background-image: linear-gradient(to right, #124dbe 0%, #3193d9 53%, #4fd9f4 99%);
  color: #fff;
  padding: 96px 0 104px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.industry-cta .shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.industry-cta h2 { font-size: 40px; font-weight: 700; color: #fff; margin: 0 0 36px; line-height: 1.2; }
.industry-cta .btn {
  font-size: 22px;
  font-weight: 700;
  padding: 22px 56px;
  border-radius: 999px;
  letter-spacing: 0.3px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.22), 0 4px 12px rgba(17, 24, 39, 0.12);
  transform: translateZ(0);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.industry-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(17, 24, 39, 0.28), 0 6px 14px rgba(17, 24, 39, 0.14);
}
.industry-cta .btn--purple { background: #fff; color: #124dbe; border-color: #fff; }
.industry-cta .btn--purple:hover { background: #ede9fe; color: #6d28d9; border-color: #ede9fe; }

@media (max-width: 600px) {
  .industry-cta { padding: 64px 0 72px; }
  .industry-cta h2 { font-size: 28px; margin: 0 0 24px; }
  .industry-cta .btn { font-size: 18px; padding: 18px 40px; }
}

/* ============================================================================
   Scribble AI snippet
   ============================================================================ */
.industry-scribble-ai {
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 60%, #6d28d9 100%);
  color: #fff;
  padding: 56px 0;
}
.industry-scribble-ai__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.industry-scribble-ai__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c4b5fd;
  margin: 0 0 12px;
}
.industry-scribble-ai__sparkle { font-size: 16px; }
.industry-scribble-ai__title { font-family: 'Poppins', sans-serif; font-size: 32px; font-weight: 500; margin: 0 0 14px; color: #fff; line-height: 1.15; }
.industry-scribble-ai__body { font-size: 16px; line-height: 1.6; color: #ddd6fe; margin: 0 0 24px; max-width: 560px; }
.industry-scribble-ai .btn--white { background: #fff; color: #4c1d95; }
.industry-scribble-ai .btn--white:hover { background: #ede9fe; }

.industry-scribble-ai__visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.industry-scribble-ai__prompt,
.industry-scribble-ai__response {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  backdrop-filter: blur(4px);
}
.industry-scribble-ai__response {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(196, 181, 253, 0.35);
}
.industry-scribble-ai__prompt-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c4b5fd;
}
.industry-scribble-ai__prompt-text { font-size: 14px; line-height: 1.55; color: #fff; }
@media (max-width: 991px) {
  .industry-scribble-ai__inner { grid-template-columns: 1fr; gap: 32px; }
  .industry-scribble-ai__title { font-size: 26px; }
}

/* ============================================================================
   Industries index page
   ============================================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.industries-grid__card {
  display: block;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: #111827;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.industries-grid__card:hover {
  border-color: #6d28d9;
  transform: translateY(-2px);
}
.industries-grid__card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  min-width: 0;
}
.industries-grid__emoji { font-size: 22px; line-height: 1; flex: 0 0 auto; }
.industries-grid__name { flex: 1 1 auto; min-width: 0; }
.industries-grid__cta { font-size: 13px; color: #6d28d9; font-weight: 600; }

/* ============================================================================
   Responsive
   ============================================================================ */
@media (max-width: 991px) {
  .industry-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .industry-hero__headline { font-size: 32px; }
  .industry-hero__quote { position: static; margin-top: 16px; max-width: 100%; }
  /* Stack hero content center-aligned on mobile so the CTA and the G2
     trust strip sit under the headline rather than floating left. */
  .industry-hero__copy { text-align: center; }
  .industry-hero__subheader { margin-left: auto; margin-right: auto; }
  .industry-hero__actions { justify-content: center; }
  .industry-value-props__grid,
  .industry-use-cases__grid,
  .industry-testimonials__grid { grid-template-columns: 1fr; }
  .industry-features__list { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-page .header-dropdown__panel { display: none; }
}
@media (max-width: 600px) {
  .industries-grid { grid-template-columns: 1fr; }
  .industry-section { padding: 40px 0; }
  .industry-section__title { font-size: 24px; margin-bottom: 48px; }
}

/* ============================================================================
   Header utilities — white labels against the colored hero background on
   industry detail pages. The /industries listing page (industry-page--index)
   has a light hero, so we override back to dark there. Desktop only — on
   tablet/mobile the .header__aside slides down with a white background.
   ============================================================================ */
@media (min-width: 1024px) {
  .industry-page .lang-selector__toggle { color: #fff; }
  .industry-page .lang-selector__toggle:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

  .industry-page .nav-utilities { color: #fff; right: 6rem; }
  .industry-page .nav-utilities a { color: #fff; }
  .industry-page .nav-utilities .demoRequest a { color: #fff; }

  /* The dropdown panel itself has a white background — keep its links dark
     so they're readable, overriding the white .nav-utilities a rule above. */
  .industry-page .nav-utilities .lang-selector__dropdown a { color: #333; }
  .industry-page .nav-utilities .lang-selector__dropdown a.is-active { color: #1E50C3; }

  /* Industries listing page has a light header — flip the nav text dark. */
  .industry-page--index .lang-selector__toggle { color: #1f2937; }
  .industry-page--index .lang-selector__toggle:hover { color: #1f2937; background: rgba(0, 0, 0, 0.05); }
  .industry-page--index .nav-utilities { color: #1f2937; }
  .industry-page--index .nav-utilities a { color: #1f2937; }
  .industry-page--index .nav-utilities .demoRequest a { color: #fff; }
}
