/* Industries: the A–Z industry directory, the "add your industry" card, and the two
   paths inside the blue "Ready to get started?" box. */

.pg-industries .section-head h2 { font-size: clamp(28px, 3vw, 34px); }
.ind-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; max-width: 1150px; margin: 0 auto 120px; }
.ind-directory { display: flex; gap: 40px; min-width: 0; }

.ind-jump { position: sticky; top: calc(var(--header-h) + 24px); flex: none; min-width: 40px; }
.ind-jump-label { margin: 0 0 14px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #676f7e; }
.ind-jump ul { display: flex; flex-direction: column; gap: 4px; }
.ind-jump a, .ind-jump span { display: block; padding: 2px; font-size: 12px; line-height: 16px; font-weight: 500; }
.ind-jump a { color: var(--navy-text); text-decoration: none; }
.ind-jump a:hover { color: var(--steel-text); }
.ind-jump span { color: rgb(103 111 126 / 30%); }

.ind-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.ind-letter { scroll-margin-top: calc(var(--header-h) + 24px); }
.ind-letter-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.ind-badge { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--navy-text); color: #fff; font-family: var(--font-head); font-size: 22px; line-height: 1; }
.ind-rule { flex: 1; height: 1px; background: var(--line); }
.ind-count { font-size: 12px; line-height: 16px; color: #676f7e; white-space: nowrap; }
/* Fills each column top to bottom, as the old list did. */
.ind-list { columns: 3; column-gap: 20px; padding-left: 4px; }
.ind-list li { break-inside: avoid; padding: 8px 10px; margin-bottom: 10px; font-size: 14px; line-height: 20px; color: #1b2232; }

.ind-add { padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #f3f5f8; box-shadow: var(--shadow); }
.ind-add .icon-tile { width: 40px; height: 40px; border-radius: 10px; background: #e2e5ea; font-size: 18px; }
.ind-add h3 { margin: 24px 0 16px; font-family: var(--font-head); font-size: 19px; line-height: 1.5; }
.ind-add p { font-size: 14px; line-height: 1.65; margin-bottom: 22px; }
.ind-add .btn { padding: 12px 20px; font-size: 15px; background: var(--navy-text); }

.ind-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 844px; margin: 40px auto 0; text-align: left; }
.ind-path { display: flex; flex-direction: column; padding: 28px 24px 24px; border: 1px solid rgb(255 255 255 / 35%); border-radius: 20px; background: rgb(255 255 255 / 55%); }
.ind-path h3 { font-family: var(--font-head); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; letter-spacing: -.01em; }
.ind-cta .ind-path p { margin: 14px 0 28px; font-size: 16px; line-height: 1.3; }
.ind-path .btn { margin-top: auto; padding: 14px 20px; border: 2px solid var(--navy-text); }

@media (max-width: 1100px) {
  .ind-layout { grid-template-columns: 1fr; margin-bottom: 80px; }
  .ind-add { max-width: 520px; }
}
@media (max-width: 760px) {
  .ind-directory { flex-direction: column; gap: 28px; }
  .ind-jump { position: static; display: flex; align-items: center; gap: 16px; }
  .ind-jump-label { margin: 0; white-space: nowrap; }
  .ind-jump ul { flex-direction: row; flex-wrap: wrap; gap: 4px 8px; }
  .ind-jump a, .ind-jump span { padding: 4px; font-size: 14px; }
  .ind-list { columns: 2; }
  .ind-paths { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ind-list { columns: 1; }
}


/* ---- Dark mode, generated by tools/darkmode.py when the site is built. Don't edit this part in site/; change the light rule in src/, or add a hand-written dark rule. ---- */
@media (prefers-color-scheme: dark) {
  .ind-jump-label { color: #b7c0d1; }
  .ind-jump span { color: rgb(183 192 209 / 30%); }
  .ind-badge { background-color: #142038; color: #ffffff; }
  .ind-rule { background-color: #232934; }
  .ind-count { color: #b7c0d1; }
  .ind-list li { color: #d4def4; }
  .ind-add { background-color: #181e28; }
  .ind-add .icon-tile { background-color: #252b36; }
  .ind-add .btn { background-color: #142038; }
  .ind-path { border-color: rgb(42 49 60 / 35%); background-color: rgb(17 22 32 / 55%); }
  .ind-path .btn { border-color: #95a5c4; }
}
