.industries-page .site-footer,
.industry-cta {
  position: relative;
  z-index: 10;
}
.industries-page .site-header [aria-current='page'] {
  color: var(--color-primary);
}
.use-section {
  padding: 76px 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.use-section .eyebrow {
  margin-bottom: 9px;
  color: var(--color-primary);
}
.use-section h2 {
  max-width: none;
  font-size: clamp(28px, 3.05vw, 44px);
}
.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}
.section-heading > p:last-child {
  font-size: var(--text-lead);
}
.use-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(229, 31, 43, 0.08), transparent 31%),
    var(--color-surface);
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 55px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(37px, 4.15vw, 60px);
}
.hero-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 17px 0 23px;
  font-size: var(--text-lead);
}
.use-hero .button.secondary {
  color: var(--color-ink);
  background: var(--color-surface);
  border-color: var(--color-border);
}
.people-map {
  position: relative;
  min-height: 430px;
}
.people-map > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
  mix-blend-mode: normal;
}
.people-map > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.people-map path {
  fill: none;
  stroke: rgba(229, 31, 43, 0.46);
  stroke-width: 1.5;
  stroke-dasharray: 6 7;
}
.people-map path.active {
  stroke-dasharray: none;
}
.people-core,
.people-wallet {
  position: absolute;
  z-index: 2;
  display: grid;
  justify-items: center;
  padding: 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.people-core {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.people-wallet {
  right: 5%;
  top: 44%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
}
/* .map-core-logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--color-primary);
  border-radius: 11px;
  font: 700 13px var(--font-body);
} */
.people-core b,
.people-core small,
.people-wallet b,
.people-wallet small {
  display: block;
}
.people-core small,
.people-wallet small {
  color: var(--color-text-muted);
  font-size: var(--text-small);
}
.people-wallet i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  border-radius: 50%;
  font-style: normal;
}
.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 38px;
}
.hero-trust > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-trust i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  border-radius: 50%;
  font-style: normal;
}
.hero-trust b,
.hero-trust small {
  display: block;
}
.hero-trust b {
  font-size: var(--text-ui);
}
.hero-trust small {
  color: var(--color-text-muted);
  font-size: var(--text-small);
}
.audience-section {
  background: var(--color-surface-warm);
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.audience-grid article {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 18px;
  align-items: center;
  min-height: 290px;
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.audience-grid article > img,
.marketplace-art,
.product-visual {
  width: 100%;
  border-radius: 12px;
}

.audience-grid article > img {
  display: block;
}

/* Marketplace illustration + real global CrypticaPay logo */
.marketplace-art {
  position: relative;
  overflow: hidden;
}

.marketplace-art > img {
  display: block;
  width: 100%;
  height: auto;
}

/*
 * Original SVG logo slot:
 * x = 283, y = 101
 * width = 42, height = 42
 * SVG = 520 × 260
 */
.marketplace-logo-slot {
  position: absolute;

  left: 58.4615%;
  top: 46.9231%;

  width: 8.0769%;
  aspect-ratio: 1;

  transform: translate(-50%, -50%);

  display: block;
}

.marketplace-logo-slot > * {
  display: block;
  width: 100%;
  height: 100%;
}
.audience-grid article > div > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  border-radius: 50%;
  font-style: normal;
}
.audience-grid h3 {
  margin-top: 12px;
  font-size: clamp(22px, 2vw, 29px);
}
.audience-grid p {
  font-size: var(--text-body);
}
.audience-grid a,
.text-link {
  color: var(--color-primary);
  font-size: var(--text-ui);
  font-weight: 600;
}
.audience-grid a span,
.text-link span {
  display: inline-block;
  transition: transform 0.2s;
}
.audience-grid a:hover span,
.text-link:hover span {
  transform: translateX(4px);
}
.product-visual {
  display: grid;
  justify-items: center;
  padding: 14px;
  background: var(--color-surface-soft);
}
.product-visual img {
  width: 145px;
}
.product-visual span {
  width: 100%;
}
.product-visual b,
.product-visual small {
  display: block;
  font-size: var(--text-small);
}
.product-visual small {
  color: var(--color-text-muted);
}
.flow-finder {
  background: var(--color-surface);
}
.flow-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.flow-tabs button {
  white-space: nowrap;
  padding: 11px 18px;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 7px;
  font: 600 var(--text-small) var(--font-body);
  cursor: pointer;
}
.flow-tabs button[aria-selected='true'] {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.flow-tabs button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.flow-panel {
  display: grid;
  grid-template-columns: 1fr 1fr 0.48fr;
  gap: 18px;
  align-items: stretch;
  padding: 28px;
  background: var(--color-surface-warm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.flow-panel > div:first-child {
  align-self: center;
}
.flow-panel h3 {
  font-size: clamp(26px, 2.6vw, 38px);
}
.flow-panel > div:first-child > p:not(.eyebrow) {
  font-size: var(--text-body);
}
.flow-product {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  padding: 15px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.flow-product > img {
  width: 100%;
}
.flow-product > div > b {
  display: block;
  margin-bottom: 10px;
}
.flow-product > div > span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  border-top: 1px solid var(--color-border);
  font-size: var(--text-small);
}
.flow-product i {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  font-style: normal;
  font-size: 10px;
}
.btc {
  background: #f7931a;
}
.usdt {
  background: #26a17b;
}
.eth {
  background: #627eea;
}
.flow-panel aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 19px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.flow-panel aside small,
.flow-panel aside b,
.flow-panel aside span {
  display: block;
}
.flow-panel aside small {
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.flow-panel aside b {
  margin-top: 16px;
  font-size: var(--text-ui);
}
.flow-panel aside span {
  margin-top: 5px;
  color: var(--color-text-muted);
  font-size: var(--text-small);
}
.flow-panel aside i {
  margin-top: 25px;
  color: var(--color-primary);
  font-style: normal;
}
.real-use {
  background: var(--color-surface-warm);
}
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.scenario-grid article {
  min-height: 275px;
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.scenario-grid article > span {
  color: var(--color-primary);
  font-size: var(--text-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.scenario-grid h3 {
  margin-top: 15px;
  font-size: 25px;
}
.scenario-grid p {
  font-size: var(--text-body);
}
.scenario-grid article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}
.scenario-grid i {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  border-radius: 50%;
  font-style: normal;
}
.scenario-grid em {
  color: var(--color-text-muted);
  font-size: var(--text-small);
  font-style: normal;
}
.scenario-grid b {
  color: var(--color-primary);
}
.one-layer {
  background: var(--color-surface);
}
.layer-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 65px;
  align-items: center;
}
.layer-grid > div:first-child > p:not(.eyebrow) {
  font-size: var(--text-lead);
}
.layer-map {
  position: relative;
  min-height: 340px;
  padding-top: 10px;
}
.layer-products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.layer-products span {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 12px 7px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}
.layer-products i {
  color: var(--color-primary);
  font-style: normal;
}
.layer-products b {
  font-size: var(--text-small);
}
.layer-map > svg {
  position: absolute;
  left: 0;
  top: 80px;
  width: 100%;
  height: 145px;
}
.layer-map path {
  fill: none;
  stroke: rgba(229, 31, 43, 0.46);
  stroke-width: 1.5;
  stroke-dasharray: 6 6;
}
.layer-core {
  position: absolute;
  left: 50%;
  top: 185px;
  display: flex;
  align-items: center;
  gap: 9px;
  transform: translateX(-50%);
}
.layer-map > i {
  position: absolute;
  left: 50%;
  top: 244px;
  color: var(--color-primary);
  font-style: normal;
}
.layer-wallet {
  position: absolute;
  left: 50%;
  top: 273px;
  min-width: 180px;
  padding: 12px;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transform: translateX(-50%);
}
.layer-wallet b,
.layer-wallet small {
  display: block;
}
.layer-wallet small {
  color: var(--color-text-muted);
  font-size: var(--text-small);
}
.scale-section {
  background: var(--color-surface-warm);
}
.scale-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.scale-grid article {
  min-height: 245px;
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.scale-grid article > i {
  color: var(--color-primary);
  font-style: normal;
  font-size: 1.5rem;
}
.scale-grid h3 {
  font-size: 24px;
}
.scale-grid p {
  font-size: var(--text-body);
}
.scale-grid ul {
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.scale-grid li {
  position: relative;
  padding-left: 19px;
  color: var(--color-text-muted);
  font-size: var(--text-small);
}
.scale-grid li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}
.credits-strip {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.75fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 22px;
  padding: 22px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.credits-strip h3 {
  font-size: 23px;
}
.credits-strip > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.credits-strip > span i {
  color: var(--color-primary);
  font-style: normal;
}
.credits-strip > span b {
  font-size: var(--text-small);
}
.credits-strip > a {
  padding: 10px 14px;
  color: var(--color-primary);
  border: 1px solid rgba(229, 31, 43, 0.3);
  border-radius: 6px;
  font-size: var(--text-small);
  font-weight: 700;
}
.industry-cta {
  padding: 70px 0;
  color: #f5f2ed;
  background: #111213;
}
.industry-cta .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.industry-cta .eyebrow {
  color: #f05e64;
}
.industry-cta h2 {
  max-width: none;
  color: #f5f2ed;
  font-size: clamp(28px, 3.05vw, 44px);
}
.industry-cta p:last-child {
  color: #b2ada5;
}
.industry-cta .button.secondary {
  color: #f5f2ed;
  background: #1e1f21;
  border-color: rgba(255, 255, 255, 0.14);
}
html[data-theme='dark'] .use-section {
  background: #0e0f10;
}
html[data-theme='dark'] .use-hero {
  background: radial-gradient(circle at 88% 18%, rgba(229, 31, 43, 0.11), transparent 31%), #0e0f10;
}
html[data-theme='dark'] .people-map > img {
  mix-blend-mode: normal;
  opacity: 0.68;
  filter: brightness(0.62) saturate(0.8);
}
html[data-theme='dark'] .people-core,
html[data-theme='dark'] .people-wallet,
html[data-theme='dark'] .audience-grid article,
html[data-theme='dark'] .flow-product,
html[data-theme='dark'] .flow-panel aside,
html[data-theme='dark'] .scenario-grid article,
html[data-theme='dark'] .layer-products span,
html[data-theme='dark'] .layer-wallet,
html[data-theme='dark'] .scale-grid article,
html[data-theme='dark'] .credits-strip {
  background: #191a1c;
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: none;
}
html[data-theme='dark'] .audience-section,
html[data-theme='dark'] .real-use,
html[data-theme='dark'] .scale-section {
  background: #111213;
}
html[data-theme='dark'] .flow-panel,
html[data-theme='dark'] .product-visual {
  background: #151617;
}
html[data-theme='dark'] .use-hero .button.secondary {
  color: #f5f2ed;
  background: #1e1f21;
  border-color: rgba(255, 255, 255, 0.14);
}
html[data-theme='dark'] .industry-cta {
  background: #090a0b;
}
@media (max-width: 1000px) {
  .hero-grid,
  .layer-grid {
    grid-template-columns: 1fr;
  }
  .people-map {
    max-width: 760px;
    width: 100%;
    margin: auto;
  }
  .hero-trust {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-trust > div:last-child {
    grid-column: 1/-1;
  }
  .audience-grid article {
    grid-template-columns: 1fr;
  }
  .flow-panel {
    grid-template-columns: 1fr 1fr;
  }
  .flow-panel aside {
    grid-column: 1/-1;
  }
  .credits-strip {
    grid-template-columns: 1fr 1fr;
  }
  .credits-strip > div {
    grid-column: 1/-1;
  }
}
@media (max-width: 700px) {
  .use-section {
    padding: 56px 0;
  }
  .people-map {
    min-height: 360px;
  }
  .people-wallet {
    right: 0;
    top: auto;
    bottom: 9%;
  }
  .hero-trust,
  .audience-grid,
  .flow-panel,
  .scenario-grid,
  .scale-grid,
  .credits-strip {
    grid-template-columns: 1fr;
  }
  .hero-trust > div:last-child,
  .flow-panel aside,
  .credits-strip > div {
    grid-column: auto;
  }
  .audience-grid article {
    min-height: 0;
  }
  .flow-tabs {
    margin-right: -20px;
  }
  .flow-product {
    grid-template-columns: 1fr;
  }
  .flow-product > img {
    max-width: 180px;
    margin: auto;
  }
  .scenario-grid article {
    min-height: 0;
  }
  .layer-products {
    grid-template-columns: repeat(3, 1fr);
  }
  .layer-products span:nth-child(n + 4) {
    display: none;
  }
  .layer-map > svg {
    top: 80px;
  }
  .industry-cta .shell {
    align-items: flex-start;
    flex-direction: column;
  }
  .industry-cta .actions {
    flex-wrap: wrap;
  }
}

/* ==========================================================
   Lighthouse accessibility contrast fixes
   ========================================================== */

.audience-section > .shell > .section-heading > .eyebrow,
.flow-panel > div:first-child > .eyebrow,
.real-use > .shell > .section-heading > .eyebrow,
.scale-section > .shell > .section-heading > .eyebrow {
  color: var(--color-primary-hover);
}

/* Keep sufficient contrast in dark mode */
html[data-theme='dark'] .industries-page .use-section .eyebrow {
  color: #ec6972;
}

html[data-theme='dark'] .industries-page .audience-grid a,
html[data-theme='dark'] .industries-page .text-link,
html[data-theme='dark'] .industries-page .flow-panel aside small,
html[data-theme='dark'] .industries-page .scenario-grid article > span,
html[data-theme='dark'] .industries-page .credits-strip > a {
  color: #ec6972;
}
