/* ==========================================================================
   Shared design tokens - all three pages.
   Base rules followed by responsive variants.
   ========================================================================== */

:root {
  --category-help-charcoal: #333333;
  --category-help-yellow: #ffd447;
  --category-help-white: #ffffff;
  --category-help-text: #111111;
  --category-help-muted: #5e5e5e;
  --category-help-success: #28684d;
}

/* ==========================================================================
   Shared content containers - all three pages: section gutters and constrained widths.
   Base rules followed by responsive variants.
   ========================================================================== */

.industry-common__content-wrap {
  margin: 0 auto;
  max-width: 1440px;
  padding-left: clamp(24px, 3.1vw, 48px);
  padding-right: clamp(24px, 3.1vw, 48px);
}

/* Validation error messages take no space until shown. */
.category-help__form .field-error[style*="hidden"] {
  display: none;
}


/* Responsive: (max-width: 480px) - same section. */
@media (max-width: 480px) {
  .industry-common__content-wrap {
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* ==========================================================================
   Breadcrumb navigation - all three pages: Business / All Industries / current industry.
   Base rules followed by responsive variants.
   ========================================================================== */

.industry-common__breadcrumb-wrap {
  margin: 0 auto;
  max-width: 1440px;
  padding-left: clamp(24px, 3.1vw, 48px);
  padding-right: clamp(24px, 3.1vw, 48px);
}

.industry-common__breadcrumb-wrap {
  padding-top: 24px;
}

.industry-common__breadcrumb {
  align-items: center;
  display: flex;
  gap: 12px;
}

.industry-common__breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.industry-common__breadcrumb a:focus-visible {
  outline: 3px solid #3b3d49;
  outline-offset: 3px;
}

/* Responsive: (max-width: 900px) - same section. */
@media (max-width: 900px) {
  .industry-common__breadcrumb-wrap {
    padding-left: 32px;
    padding-right: 32px;
  }

  .industry-common__breadcrumb-wrap {
    padding-top: 24px;
  }
}

/* Responsive: (max-width: 480px) - same section. */
@media (max-width: 480px) {
  .industry-common__breadcrumb-wrap {
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* ==========================================================================
   Hero - all three pages: heading, introduction, Get started CTA and responsive imagery.
   Base rules followed by responsive variants.
   ========================================================================== */

.industry-common__hero {
  margin: 0 auto;
  max-width: 1440px;
  padding-left: clamp(24px, 3.1vw, 48px);
  padding-right: clamp(24px, 3.1vw, 48px);
}

.industry-common__hero {
  align-items: center;
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding-bottom: 60px;
  padding-top: 24px;
}

.industry-common__hero-copy h1 {
  margin: 0px 0px 22px;
}

.industry-common__hero-copy p {
  margin-bottom: 36px;
}

.industry-common__hero-image {
  border-radius: 16px;
  display: block;
  height: 520px;
  object-fit: cover;
  width: 100%;
}

/* Responsive: (max-width: 900px) - same section. */
@media (max-width: 900px) {
  .industry-common__hero {
    padding-left: 32px;
    padding-right: 32px;
  }

  .industry-common__hero {
    gap: 32px;
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 0;
    padding-top: 36px;
  }

  .industry-common__hero-image {
    border-radius: 0;
    height: 440px;
    margin-left: -32px;
    margin-right: -32px;
    max-width: none;
    width: 768px;
    /* width: calc(100% + 64px); */
  }
}

/* Responsive: (max-width: 480px) - same section. */
@media (max-width: 600px) {
  .industry-common__hero {
    padding-left: 30px;
    padding-right: 30px;
  }

  .industry-common__hero {
    gap: 28px;
    padding-bottom: 0;
    padding-top: 22px;
  }

  .industry-common__hero-copy h1 {
    margin-bottom: 18px;
  }

  .industry-common__hero-copy p {
    margin-bottom: 24px;
  }

  .industry-common__hero-image {
    border-radius: 0;
    height: 250px;
    margin-left: -30px;
    margin-right: -30px;
    max-width: none;
    width: 390px;
  }

}

/* ==========================================================================
   Overview industry navigation only - seven linked industry tiles and icons.
   Base rules followed by responsive variants.
   ========================================================================== */

.category-landing__industry-link:focus-visible {
  outline: 3px solid #3b3d49;
  outline-offset: 3px;
}

.category-landing__industries {
  background: #f5f5f5;
  padding: 40px 40px 60px 40px;
}

.category-landing__industries h2 {
  margin: 0 0 32px;
}

.category-landing__industries > .industry-common__content-wrap > p {
  margin-bottom: 32px;
}

.category-landing__industry-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  list-style: none;
  margin: 0 auto;
  max-width: 1260px;
  padding: 0;
}

.category-landing__industry-list li {
  flex: 0 0 calc(25% - 12px);
  min-width: 0;
}

.category-landing__industry-list li:nth-child(n + 5) {
  grid-column: span 1;
}

.category-landing__industry-link {
  align-items: center;
  background: #ffffff;
  border: 1px solid #c9c9c9;
  border-radius: 16px;
  color: #333333;
  display: flex;
  gap: 12px;
  min-height: 84px;
  padding: 12px 18px;
  text-decoration: none;
}

.category-landing__industry-link > img:not(.category-landing__industry-arrow) {
  flex: 0 0 48px;
  height: 48px;
  object-fit: contain;
  width: 48px;
}

.category-landing__industry-arrow {
  display: block;
  flex: 0 0 24px;
  height: 24px;
  margin-left: auto;
  object-fit: contain;
  width: 24px;
}

/* Responsive: (max-width: 900px) - same section. */
@media (max-width: 900px) {
  .category-landing__industry-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .category-landing__industry-list li {
    flex: none;
  }

  .category-landing__industries h2 {
    margin-bottom: 24px;
  }
}

/* Responsive: (max-width: 480px) - same section. */
@media (max-width: 480px) {
  .category-landing__industries {
  padding: 24px 31px 40px 31px;
  }

  .category-landing__industries h2 {
    margin-bottom: 20px;
  }

  .category-landing__industries > .industry-common__content-wrap > p {
    margin-bottom: 28px;
  }

  .category-landing__industry-list {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr);
  }

  .category-landing__industry-list li {
    flex: none;
  }

  .category-landing__industry-list li:last-child:nth-child(odd) {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
  }

  .category-landing__industry-link {
    min-height: 80px;
  }
}

/* ==========================================================================
   Overview testimonials only - dark quote carousel controlled by global-industry-category.js.
   Base rules followed by responsive variants.
   ========================================================================== */

.category-landing__testimonials {
  background: #333333;
  color: #ffffff;
  padding: 60px 40px;
}

.category-landing__testimonial-inner {
  align-items: center;
  column-gap: 80px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  margin: 0 auto;
  max-width: 1360px;
}

.category-landing__testimonial {
  grid-column: 2;
  grid-row: 1;
}

.category-landing__quote {
  margin: 0 0 20px;
}

.category-landing__attribution {
  color: #eeeeee;
}

.category-landing__attribution span:first-child {
  color: var(--category-help-yellow);
  margin-right: 6px;
}

.category-landing__carousel-control {
  align-items: center;
  background: transparent;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  height: 40px;
  justify-content: center;
  padding: 0;
  width: 40px;
}

.category-landing__carousel-control > img {
  display: block;
  height: 24px;
  object-fit: contain;
  width: 14px;
}

.category-landing__carousel-control--previous {
  grid-column: 1;
  grid-row: 1;
}

.category-landing__carousel-control--next {
  grid-column: 3;
  grid-row: 1;
}

.category-landing__carousel-control:focus-visible {
  outline: 2px solid #3b3d49;
  outline-offset: 3px;
}

.category-landing__carousel-dot:focus-visible {
  outline: 2px solid #3b3d49;
  outline-offset: 3px;
}

.category-landing__carousel-dots {
  align-items: center;
  display: flex;
  gap: 8px;
  grid-column: 2;
  grid-row: 2;
  justify-content: end;
  margin-top: 16px;
}

.category-landing__carousel-dot {
  background: #ffffff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  height: 8px;
  padding: 0;
  width: 8px;
}

.category-landing__carousel-dot.is-active {
  background: var(--category-help-yellow);
  border-radius: 999px;
  width: 24px;
}

/* Desktop and tablet Figma: dots share the attribution row and the next arrow sits flush right. */
@media (min-width: 481px) {
  .category-landing__testimonial-inner {
    column-gap: 72px;
  }

  .category-landing__carousel-control--next {
    justify-self: end;
  }

  .category-landing__carousel-dots {
    align-self: end;
    grid-row: 1;
    height: 24px;
    justify-self: end;
    margin-top: 0;
  }
}

/* Responsive: (max-width: 900px) - same section. */
@media (max-width: 900px) {
  .category-landing__testimonials {
    padding: 40px;
  }
}

/* Responsive: (max-width: 480px) - same section. */
@media (max-width: 480px) {
  .category-landing__testimonials {
    padding: 28px 20px 24px;
  }

  .category-landing__testimonial-inner {
    column-gap: 8px;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
  }
  .category-landing__testimonial-inner {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    gap: 24px 8px;
    align-items: center;
    max-width: 328px;
    margin: 0 auto;
  }

  .category-landing__testimonial {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .category-landing__quote {
    margin: 0;
    color: #ffffff;
    width: 100%;
  }

  .category-landing__attribution {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    width: 100%;
    margin-top: 16px;
  }

  .category-landing__attribution span:first-child {
    color: #FFD549;
    margin: 0;
    flex-shrink: 0;
  }

  .category-landing__attribution span:last-child {
    color: #ffffff;
  }

  .category-landing__carousel-control {
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
  }

  .category-landing__carousel-control--previous {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
  }

  .category-landing__carousel-control--next {
    grid-column: 3;
    grid-row: 2;
    justify-self: center;
  }

  .category-landing__carousel-dots {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .category-landing__carousel-dot {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 39px;
    cursor: pointer;
    border: 0;
    padding: 0;
    flex-shrink: 0;
  }

  .category-landing__carousel-dot.is-active {
    width: 22px;
    background: #FFD549;
    border-radius: 39px;
  }
}

/* ==========================================================================
   Statistics - all three pages: three statistic tiles, values and decorative shapes.
   Base rules followed by responsive variants.
   ========================================================================== */

.industry-common__stats {
  background: #ffffff;
  padding: 40px clamp(24px, 3.1vw, 48px) 60px clamp(24px, 3.1vw, 48px);
}

.industry-common__stats-inner {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1250px;
  position: relative;
}

.industry-common__stats-backing {
  background: #dedede;
  border-radius: 0 0 0 16px;
  bottom: -32px;
  left: 14%;
  position: absolute;
  right: -14%;
  top: 45%;
}

.industry-common__stat {
  align-content: center;
  background: #ffffff;
  border: 1px solid #c9c9c9;
  border-radius: 16px;
  display: grid;
  justify-items: center;
  min-height: 220px;
  padding: 28px 20px;
  position: relative;
  text-align: center;
}

.industry-common__stat-kicker {
  justify-self: start;
  margin: 0 0 -4px 8%;
}

.industry-common__stat-value {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0;
  white-space: nowrap;
}

.industry-common__stat-plus {
  background: var(--category-help-yellow);
  border-radius: 50%;
  display: inline-flex;
  height: 68px;
  justify-content: center;
  margin-left: 8px;
  width: 68px;
}

.industry-common__stat-circle {
  background: var(--category-help-yellow);
  border-radius: 50%;
  display: inline-flex;
  height: 68px;
  justify-content: center;
  margin-left: 8px;
  width: 68px;
}

.industry-common__stat-plus {
  align-items: center;
}

.industry-common__stat-circle {
  height: 58px;
  width: 58px;
}

.industry-common__stat-bar {
  background: var(--category-help-yellow);
  display: inline-block;
  height: 74px;
  margin-left: 12px;
  width: 12px;
}

.industry-common__stat > p:last-child {
  margin-top: 6px;
}

/* Overview only (desktop): hero, breadcrumb, and stats geometry from the 1440 Figma frame. */
@media (min-width: 901px) {
  .category-landing__breadcrumb-wrap {
    padding-top: 18px;
  }

  .category-landing__hero {
    align-items: start;
    gap: 30px;
    padding-top: 47px;
  }

  .category-landing__hero .industry-common__hero-copy h1 {
    margin-bottom: 16px;
    max-width: 647px;
  }

  .category-landing__stats {
    padding-bottom: 129px;
    padding-top: 43px;
  }

  .category-landing__stats .industry-common__stats-inner {
    gap: 31px;
    grid-template-columns: repeat(3, minmax(0, 343px));
  }

  .category-landing__stats .industry-common__stats-backing {
    bottom: -69px;
    left: 14%;
    right: -6px;
    top: 58%;
  }

  .category-landing__stats .industry-common__stat {
    align-content: start;
    grid-template-rows: 30px 80px 30px;
    min-height: 0;
    padding: 28px 24px;
    row-gap: 12px;
  }

  .category-landing__stats .industry-common__stat-kicker {
    grid-row: 1;
    margin: 0;
  }

  .category-landing__stats .industry-common__stat-value {
    grid-row: 2;
  }

  .category-landing__stats .industry-common__stat > p:last-child {
    grid-row: 3;
    margin-top: 0;
  }

  .category-landing__stats .industry-common__stat-bar {
    margin-left: 22px;
  }
}

/* Responsive: (max-width: 900px) - same section. */
@media (max-width: 900px) {
  .industry-common__stats {
    padding: 40px 45px 60px 45px;
  }

  .industry-common__stats-inner {
    gap: 16px;
    margin: 0 auto;
  }

  .industry-common__stat {
    min-height: 190px;
    padding: 24px 12px;
  }

  .industry-common__stat-plus {
    height: 48px;
    width: 48px;
  }

  .industry-common__stat-circle {
    height: 42px;
    width: 42px;
  }

  .industry-common__stat-bar {
    height: 54px;
  }
}

/* Responsive: (max-width: 480px) - same section. */
@media (max-width: 480px) {
  .industry-common__stats {
    padding: 40px 45px;
  }

  .industry-common__stats-inner {
    gap: 16px;
    grid-template-columns: minmax(0, 1fr);
  }

  .industry-common__stats-backing {
    bottom: -28px;
    left: 24%;
    right: -30px;
    top: 5%;
  }

  .industry-common__stat {
    min-height: 190px;
  }
}

/* ==========================================================================
   Overview financing products only - three product cards and illustrations.
   Base rules followed by responsive variants.
   ========================================================================== */

.category-landing__products h2 {
  margin: 0 0 32px;
}

.category-landing__product-title {
  margin-bottom: 12px;
}

.category-landing__products > .industry-common__content-wrap > p {
  margin-bottom: 64px;
}

.category-landing__products {
  background: #333333;
  color: #ffffff;
  padding: 40px 45px 60px 45px;
}

.category-landing__product-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-landing__product {
  background: #ffffff;
  border-radius: 16px;
  color: #222222;
  padding: 28px 24px;
}

.category-landing__product img {
  display: block;
  height: 112px;
  margin-bottom: 16px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  width: auto;
}

.category-landing__product h3 {
  margin: 0 0 12px;
}

/* Responsive: (max-width: 900px) - same section. */
@media (max-width: 900px) {
  .category-landing__products {
    padding: 40px 40px 60px 40px;
  }

  .category-landing__products h2 {
    margin-bottom: 24px;
  }

  .category-landing__products > .industry-common__content-wrap > p {
    margin-bottom: 64px;
  }

  .category-landing__product-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .category-landing__product {
    padding: 28px;
  }

  .category-landing__product img {
    height: 120px;
  }
}

/* Responsive: (max-width: 480px) - same section. */
@media (max-width: 480px) {
  .category-landing__products {
    padding: 24px 31px 40px 31px;
  }

  .category-landing__products h2 {
    margin-bottom: 24px;
  }

  .category-landing__products > .industry-common__content-wrap > p {
    margin-bottom: 40px;
  }

  .category-landing__product-list {
    gap: 18px;
  }

  .category-landing__product {
    padding: 24px;
  }
}

/* ==========================================================================
   Overview customer/business benefits only - two benefit lists and central Synchrony image.
   Base rules followed by responsive variants.
   ========================================================================== */

.category-landing__benefits h2 {
  margin: 0 0 32px;
}

.category-landing__benefits > .industry-common__content-wrap > p {
  margin-bottom: 32px;
}

.category-landing__benefits {
  background: #faf9f7;
  color: #111111;
  padding: 40px 40px 60px 40px;
}

.category-landing__benefits-panel {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dedede;
  border-radius: 16px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr) minmax(0, 1fr);
  padding: 40px;
}

.category-landing__benefits-column h3 {
  margin: 0 0 10px;
}

.category-landing__benefits-column p {
  margin-bottom: 4px;
}

.category-landing__benefits-column ul {
  margin: 0;
  padding-left: 20px;
}

.category-landing__benefits-image {
  display: block;
  height: 374px;
  justify-self: center;
  max-width: 100%;
  object-fit: contain;
  width: 374px;
}

/* Responsive: (max-width: 900px) - same section. */
@media (max-width: 900px) {
  .category-landing__benefits {
    padding: 40px 40px 60px 40px;
  }

  .category-landing__benefits h2 {
    margin-bottom: 24px;
  }

  .category-landing__benefits-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    padding: 36px 28px;
  }

  .category-landing__benefits-image {
    grid-column: 1 / -1;
    grid-row: 1;
    height: 374px;
    width: 374px;
  }

  .category-landing__benefits-column:first-child {
    border-right: 1px solid rgba(9, 9, 9, 0.25);
  }
}

/* Responsive: (max-width: 480px) - same section. */
@media (max-width: 480px) {
  .category-landing__benefits {
  padding: 40px 10px;
  }

  .category-landing__benefits h2 {
    margin-bottom: 20px;
  }

  .category-landing__benefits > .industry-common__content-wrap > p {
    margin-bottom: 28px;
  }

  .category-landing__benefits-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 28px 22px;
  }

  .category-landing__benefits-image {
    order: 2;
    width: 270px;
    height: 270px;
  }

  .category-landing__benefits-column:last-child {
    order: 3;
  }

  .category-landing__benefits-column:first-child {
    border-right: none;
  }
}

/* Overview only (desktop): section insets come from the section padding alone, per the 1440 Figma frame. */
@media (min-width: 901px) {
  .category-landing__industries > .industry-common__content-wrap,
  .category-landing__products > .industry-common__content-wrap,
  .category-landing__benefits > .industry-common__content-wrap {
    padding-left: 0;
    padding-right: 0;
  }

  .category-landing__industries {
    padding-top: 52px;
  }

  .category-landing__industries h2 {
    margin-bottom: 38px;
  }

  .category-landing__industries > .industry-common__content-wrap > p {
    margin-bottom: 44px;
  }

  .category-landing__industry-list {
    gap: 18px;
    max-width: 1206px;
  }

  .category-landing__industry-list li {
    flex-basis: calc(25% - 13.5px);
  }

  .category-landing__industry-link {
    gap: 8px;
    min-height: 80px;
    padding: 0 14px 0 17px;
  }

  .category-landing__products {
    padding-top: 42px;
  }

  .category-landing__products h2 {
    margin-bottom: 29px;
  }

  .category-landing__benefits {
    padding-bottom: 58px;
    padding-top: 50px;
  }

  .category-landing__benefits h2 {
    margin-bottom: 36px;
  }

  .category-landing__benefits > .industry-common__content-wrap > p {
    margin-bottom: 23px;
  }

  .category-landing__benefits-panel {
    grid-template-columns: minmax(0, 360fr) minmax(0, 372fr) minmax(0, 538fr);
  }

  .category-landing__benefits-column h6 {
    margin-bottom: 12px;
  }

  .category-help__layout.category-landing__help {
    column-gap: 72px;
  }
}

/* Overview only (tablet): geometry from the 768 Figma frame. */
@media (min-width: 481px) and (max-width: 900px) {
  .category-landing__industries > .industry-common__content-wrap,
  .category-landing__products > .industry-common__content-wrap,
  .category-landing__benefits > .industry-common__content-wrap {
    padding-left: 0;
    padding-right: 0;
  }

  .category-landing__industry-list {
    gap: 20px 18px;
  }

  .category-landing__industry-link {
    box-sizing: border-box;
    min-height: 87px;
  }

  .category-landing__product h5 {
    margin-bottom: 12px;
  }

  .category-landing__stats {
    padding-bottom: 126px;
    padding-top: 41px;
  }

  .category-landing__stats .industry-common__stats-inner {
    gap: 18px;
  }

  .category-landing__stats .industry-common__stats-backing {
    bottom: -50px;
    left: 11.4%;
    right: -45px;
    top: 56%;
  }

  .category-landing__stats .industry-common__stat {
    align-content: start;
    box-sizing: border-box;
    grid-template-rows: 27px 52px auto;
    height: 220px;
    min-height: 0;
    padding: 34px 12px 0;
    row-gap: 10px;
  }

  .category-landing__stats .industry-common__stat-kicker {
    grid-row: 1;
    margin: 0;
  }

  .category-landing__stats .industry-common__stat-value {
    grid-row: 2;
  }

  .category-landing__stats .industry-common__stat > p:last-child {
    grid-row: 3;
    margin-top: 0;
  }
}

/* ==========================================================================
  Legal disclosures - all three pages: shared responsive spacing; legal copy stays page-specific.
   Base rules followed by responsive variants.
   ========================================================================== */

.industry__disclosure {
  background: #ffffff;
  color: #333333;
  margin: 0 auto;
  max-width: 1440px;
  padding: 28px clamp(24px, 4.5vw, 72px);
}

.industry__disclosure p {
  margin: 0;
}

.industry__disclosure sup {
  font-size: 8px;
}

.footnote-link {
  text-decoration: none;
  color: inherit;
  vertical-align: super;
  font-size: 8px;
  font-weight: 500;
}

.industry__disclosure .go-back {
  border-radius: 2px;
  color: #2e6d62;
  cursor: pointer;
  text-decoration: underline;
}

/* Responsive: (max-width: 900px) - same section. */
@media (max-width: 900px) {
  .industry__disclosure {
    padding: 24px;
  }
}

/* Responsive: (max-width: 480px) - same section. */
@media (max-width: 480px) {
  .industry__disclosure {
    padding: 24px 20px;
  }
}

/* ==========================================================================
  Page shell - all three pages; sections own their layout without a landing wrapper.
   Base rules followed by responsive variants.
   ========================================================================== */

main {
  --industry-page-gutter: clamp(24px, 4.5vw, 72px);
  --industry-page-spacing: 40px;
  background: var(--category-help-white);
  color: var(--category-help-text);
  min-height: 100vh;
  padding: 0;
}

/* Responsive: (max-width: 900px) - same section. */
@media (max-width: 900px) {
  main {
    --industry-page-gutter: 24px;
    --industry-page-spacing: 32px;
  }
}

/* Responsive: (max-width: 480px) - same section. */
@media (max-width: 480px) {
  main {
    --industry-page-gutter: 20px;
  }
}

/* ==========================================================================
   How it works - all three pages: layout, introduction, steps, completion marker and contact links.
   Base rules followed by responsive variants.
   ========================================================================== */

.category-help__layout {
  align-items: start;
  background: var(--category-help-charcoal);
  color: var(--category-help-white);
  display: grid;
  gap: clamp(40px, 6vw, 96px);
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  row-gap: 40px;
  margin: 0 auto;
  max-width: 1440px;
  padding: 40px 45px 60px 45px;
}

.category-help__layout > h2 {
  color: var(--category-help-white);
  grid-column: 1 / -1;
  margin: 0;
}

.category-help__intro {
  margin: 0 0 58px;
  max-width: 640px;
}

.category-help__steps {
  display: grid;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0 0 28px;
}

.category-help__step {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: 72px minmax(0, 1fr);
}

.category-help__step-marker {
  align-items: center;
  aspect-ratio: 1;
  background: var(--category-help-yellow);
  border-radius: 50%;
  color: #4a4a4a;
  display: flex;
  justify-content: center;
}

.category-help__step-check {
  display: none;
  fill: none;
  height: 34px;
  stroke: #111111;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  width: 34px;
}

.category-help__step-title {
  color: var(--category-help-white);
  margin: 3px 0 12px;
}

.category-help__step-copy {
  color: #eeeeee;
}

.category-help__step.is-complete .category-help__step-number {
  display: none;
}

.category-help__step.is-complete .category-help__step-check {
  display: block;
}

.category-help__step.is-complete .category-help__step-title {
  color: #929292;
}

.category-help__step.is-complete .category-help__step-copy {
  color: #929292;
}

.category-help__contact-links {
  border-top: 1px solid rgba(255, 255, 255, 0.62);
  display: grid;
  gap: 24px;
  padding-top: 36px;
}

.category-help__contact-links h2 {
  color: var(--category-help-white);
  margin: 0 0 8px;
}

.category-help__contact-links p {
  color: #eeeeee;
}

.category-help__contact-links a {
  color: var(--category-help-yellow);
  text-decoration: none;
}

/* Responsive: (max-width: 900px) - same section. */
@media (max-width: 900px) {
  .category-help__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 40px 45px 60px 45px;
  }

  .category-help__intro {
    margin-bottom: 36px;
  }

  .category-help__steps {
    gap: 24px;
  }
}

/* Responsive: (max-width: 480px) - same section. */
@media (max-width: 480px) {
  .category-help__layout {
    row-gap: 24px;
  }

  .category-help__intro {
    margin-bottom: 34px;
  }

  .category-help__step {
    gap: 20px;
    grid-template-columns: 52px minmax(0, 1fr);
  }
}

/* ==========================================================================
   Lead form - all three pages: white panel, headings, fields and legacy verification styles; global-industry-form.js owns processor forms.
   Base rules followed by responsive variants.
   ========================================================================== */

.category-help__form-panel {
  background: var(--category-help-white);
  border-radius: 16px;
  color: var(--category-help-text);
  padding: 28px 32px;
  min-height: 760px;
}

.category-help__form-title {
  text-align: center;
}

.category-help__form-subtitle {
  text-align: center;
}

.category-help__form-title {
  margin: 0 0 8px;
}

.category-help__form-subtitle {
  color: var(--category-help-muted);
  margin: 0 0 32px;
}

.category-help__form {
  display: grid;
  gap: 5px;
}

.category-help__field {
  display: grid;
  gap: 0;
}

.category-help__field label {
  color: var(--category-help-text);
}

.category-help__field label span {
  color: #c62e2e;
}

.category-help__field input {
  background-color: var(--category-help-white);
  border: 1px solid #c7c7c7;
  border-radius: 3px;
  box-sizing: border-box;
  color: var(--category-help-text);
  min-height: 50px;
  padding: 12px;
  width: 100%;
  margin-bottom:12px;
}

.category-help__field select {
  appearance: none;
  background-color: var(--category-help-white);
  border: 1px solid #c7c7c7;
  border-radius: 3px;
  box-sizing: border-box;
  color: var(--category-help-text);
  min-height: 50px;
  padding: 12px 44px 12px 12px;
  width: 100%;
  margin-bottom:12px;
}

/* Industry/state prompts match input placeholders; chosen options use normal text color. */
.category-help__field select:has(option[value=""]:checked) {
  color: #8b8b8b;
}

.category-help__field select option {
  color: var(--category-help-text);
}

/* Keep native select interaction with an inset right arrow and reserved text space. */
.category-help__field:has(> select) {
  position: relative;
}

.category-help__field:has(> select)::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  color: var(--category-help-text);
  content: "";
  height: 8px;
  pointer-events: none;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  z-index: 1;
}

.category-help__field input::placeholder {
  color: #8b8b8b;
  opacity: 1;
}

/* .category-help__field input:focus-visible {
  outline: 2px solid #3b3d49;
  outline-offset: 2px;
}

.category-help__field select:focus-visible {
  outline: 2px solid #3b3d49;
  outline-offset: 2px;
} */

.category-help__form button[type="submit"]:disabled {
  background: var(--Buttons-Primary-Disabled-Fill, #DADADA);
  color: var(--Buttons-Primary-Disabled-Text, #9D9D9D);
  cursor: default;
  pointer-events: none;
}

.category-help__verification {
  align-items: center;
  border: 1px solid #dedede;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  color: #303030;
  cursor: pointer;
  display: flex;
  gap: 12px;
  min-height: 64px;
  padding: 10px 12px;
}

.category-help__verification-box {
  accent-color: #28684d;
  flex: 0 0 28px;
  height: 28px;
  margin: 0;
  width: 28px;
}

.category-help__verification:focus-within {
  outline: 2px solid #3b3d49;
  outline-offset: 2px;
}

.category-help__verification-note {
  color: #707070;
  margin-left: auto;
}

/* Responsive: (max-width: 900px) - same section. */
@media (max-width: 900px) {
  .category-help__form-panel {
    margin: 0;
    min-height: 560px;
  }
}

/* Responsive: (max-width: 480px) - same section. */
@media (max-width: 480px) {
  .category-help__form-panel {
    border-radius: 14px;
    padding: 24px 20px;
    min-height: 560px;
  }

  .category-help__form {
    gap: 5px;
  }
}

/* ==========================================================================
   Lead form success - all three pages: hidden/visible confirmation, check icon and business insights CTA.
   Base rules followed by responsive variants.
   ========================================================================== */

.category-help__insights {
  align-items: center;
  background: var(--category-help-yellow);
  border-radius: 999px;
  color: var(--category-help-text);
  display: flex;
  justify-content: center;
  min-height: 52px;
  padding: 12px 20px;
  text-align: center;
  text-decoration: none;
}

.category-help__insights:hover {
  background: #ffdf68;
}

.category-help__insights:focus-visible {
  outline: 3px solid #3b3d49;
  outline-offset: 3px;
}

.category-help__success {
  align-content: center;
  display: grid;
  gap: 24px;
  min-height: 760px;
  text-align: center;
}

.category-help__success[hidden] {
  display: none;
}

.category-help__success-icon {
  fill: none;
  height: 80px;
  justify-self: center;
  stroke: var(--category-help-success);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
  width: 80px;
}

.category-help__success .category-help__success-title {
  color: #090909;
  margin: 0;
  text-align: center;
}

.category-help__success p:not(.category-help__form-subtitle):not(.category-help__success-title) {
  text-align: left;
}

.category-help__insights {
  width: 100%;
}

/* Responsive: (max-width: 900px) - same section. */
@media (max-width: 900px) {
  .category-help__success {
    min-height: 560px;
  }
}

/* Responsive: (max-width: 480px) - same section. */
@media (max-width: 480px) {
  .category-help__success {
    min-height: 560px;
  }
}

/* ==========================================================================
   Form field validation error styling.
   ========================================================================== */

/* Error message text in red with proper spacing. */
.field-error {
  color: #c62e2e;
  display: flex;
  align-items: center;
  gap: 8px;
}

.field-error img {
  flex-shrink: 0;
}

/* Red border on fields with validation errors. */
.category-help__field input[aria-invalid="true"],
.category-help__field select[aria-invalid="true"] {
  border-color: #c62e2e;
  border-width: 2px;
}

/* Overview only (mobile): gutters and stats cards from the 390 Figma frame. */
@media (max-width: 480px) {
  .category-landing__industries > .industry-common__content-wrap,
  .category-landing__products > .industry-common__content-wrap {
    padding-left: 0;
    padding-right: 0;
  }

  .category-landing__industry-link {
    box-sizing: border-box;
    min-height: 91px;
  }

  .category-landing__product h5 {
    margin-bottom: 12px;
  }

  .category-landing__stats {
    padding-bottom: 106px;
  }

  .category-landing__stats .industry-common__stats-inner {
    gap: 18px;
  }

  .category-landing__stats .industry-common__stat {
    align-content: start;
    box-sizing: border-box;
    grid-template-rows: 24px 56px auto;
    height: 190px;
    min-height: 0;
    padding: 36px 12px 0;
    row-gap: 12px;
  }

  .category-landing__stats .industry-common__stat-kicker {
    grid-row: 1;
    margin: 0;
  }

  .category-landing__stats .industry-common__stat-value {
    grid-row: 2;
  }

  .category-landing__stats .industry-common__stat > p:last-child {
    grid-row: 3;
    margin-top: 0;
  }
}
