/* Industry hub + detail pages — editorial, asymmetric, product-led */

.cb-industry-page,
.cb-industries-hub {
  display: contents;
}

.cb-industry-hero {
  padding-block: clamp(3.25rem, 7vw, 5.5rem) clamp(2.25rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, color-mix(in srgb, var(--muted) 55%, #fff) 0%, #fff 85%);
}

.cb-industry-hero__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 960px) {
  .cb-industry-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 4vw, 3.25rem);
  }
}

.cb-industry-hero__copy {
  display: grid;
  gap: 0.75rem;
  max-width: 38rem;
}

.cb-industry-hero__copy > * {
  margin: 0;
}

.cb-industry-hero__copy .cb-eyebrow a {
  color: inherit;
  text-decoration: none;
}

.cb-industry-hero__copy .cb-eyebrow a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.cb-industry-hero__brand {
  color: var(--color-brand-deep);
}

.cb-industry-hero__promise {
  margin: 0;
  max-width: 34rem;
  color: var(--foreground);
  font-family: var(--font-secondary);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.cb-industry-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.cb-industry-hero__note {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

.cb-industry-suppliers {
  margin: 0.5rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cb-industry-suppliers__label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--foreground);
  font-family: var(--font-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cb-industry-hero__media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  background: var(--card);
  box-shadow: var(--shadow-md);
}

.cb-industry-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.cb-industry-section-head {
  display: grid;
  gap: 0.65rem;
  max-width: 44rem;
  margin-bottom: clamp(1.15rem, 2.5vw, 1.75rem);
}

.cb-industry-section-head > *,
.cb-industry-split__main > * {
  margin: 0;
}

.cb-industry-section-head--compact {
  margin-bottom: 1rem;
}

.cb-industry-split {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

@media (min-width: 880px) {
  .cb-industry-split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 4vw, 3rem);
    align-items: center;
  }
}

.cb-industry-split__main {
  display: grid;
  gap: 0.7rem;
  max-width: 40rem;
}

.cb-industry-split__photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.cb-industry-split__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.cb-industry-outcomes {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.cb-industry-outcome {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.85rem 1.15rem;
  align-items: start;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}

.cb-industry-outcome__num {
  color: var(--primary);
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.cb-industry-outcome h3,
.cb-industry-outcome p {
  margin: 0;
}

.cb-industry-outcome p {
  margin-top: 0.3rem;
  max-width: 42rem;
}

.cb-industry-steps {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: industry-step;
}

@media (min-width: 800px) {
  .cb-industry-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.cb-industry-steps li {
  counter-increment: industry-step;
  display: grid;
  gap: 0.5rem;
  align-content: start;
  min-height: 100%;
  padding: 1.25rem 1.2rem 1.35rem;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  background: #fff;
}

.cb-industry-steps li::before {
  content: "0" counter(industry-step);
  color: var(--primary);
  font-family: var(--font-secondary);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.cb-industry-steps strong {
  font-size: 1.1rem;
  line-height: 1.25;
}

.cb-industry-steps span {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.5;
}

.cb-industry-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: #fff;
}

.cb-industry-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
}

.cb-industry-table th,
.cb-industry-table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.cb-industry-table th {
  background: color-mix(in srgb, var(--muted) 70%, #fff);
  color: var(--muted-foreground);
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cb-industry-table tr:last-child td {
  border-bottom: 0;
}

.cb-industry-table td:nth-child(2) {
  color: color-mix(in srgb, var(--foreground) 82%, var(--primary));
  font-weight: 650;
  white-space: nowrap;
}

.cb-industry-faq {
  max-width: 48rem;
}

.cb-industry-faq .cb-faq {
  max-width: none;
  margin-inline: 0;
}

.cb-industry-faq .cb-faq__trigger {
  font-family: var(--font-secondary);
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.cb-industry-faq .cb-faq__answer-inner p {
  max-width: 40rem;
}

.cb-industry-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cb-industry-switcher a {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--foreground);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.cb-industry-switcher a:hover,
.cb-industry-switcher a.is-active {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
  color: var(--color-brand-deep);
  background: color-mix(in srgb, var(--color-brand-softer) 70%, #fff);
}

.cb-industry-cta {
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
  border-radius: var(--radius-2xl);
  background: #151722;
  color: #fff;
  text-align: center;
}

.cb-industry-cta .cb-title,
.cb-industry-cta .cb-lead {
  color: #fff;
  max-width: 40rem;
}

.cb-industry-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.35rem;
}

/* Hub */
.cb-industry-hero--hub {
  position: relative;
  overflow: hidden;
}

.cb-industry-hero--hub::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: min(42vw, 28rem);
  height: min(42vw, 28rem);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--color-brand-softer) 70%, transparent) 0%,
    transparent 70%
  );
  pointer-events: none;
  transform: translate(-35%, -25%);
}

.cb-industry-hero--hub .cb-industry-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.cb-industry-hero--hub .cb-industry-hero__grid {
  align-items: stretch;
}

@media (min-width: 960px) {
  .cb-industry-hero--hub .cb-industry-hero__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: clamp(2.25rem, 4.5vw, 3.75rem);
  }
}

/* Editorial stage: one large photo + supporting thumbs */
.cb-industries-stage {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.65rem;
  min-height: 17rem;
  animation: cb-hub-stage-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (min-width: 640px) {
  .cb-industries-stage {
    grid-template-columns: 1.45fr 0.9fr;
    min-height: 22rem;
  }
}

.cb-industries-stage__feature,
.cb-industries-stage__thumb {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--muted);
}

.cb-industries-stage__feature {
  border-radius: var(--radius-2xl);
  min-height: 14rem;
}

.cb-industries-stage__thumbs {
  display: grid;
  gap: 0.65rem;
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.cb-industries-stage__thumb {
  border-radius: var(--radius-xl);
  min-height: 4.5rem;
  animation: cb-hub-thumb-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cb-industries-stage__thumb:nth-child(1) {
  animation-delay: 0.1s;
}

.cb-industries-stage__thumb:nth-child(2) {
  animation-delay: 0.18s;
}

.cb-industries-stage__thumb:nth-child(3) {
  animation-delay: 0.26s;
}

.cb-industries-stage__feature img,
.cb-industries-stage__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.cb-industries-stage:hover .cb-industries-stage__feature img {
  transform: scale(1.025);
}

.cb-industries-stage__feature figcaption,
.cb-industries-stage__thumb figcaption {
  position: absolute;
  left: 0.65rem;
  bottom: 0.55rem;
  padding: 0.22rem 0.48rem;
  border-radius: 0.3rem;
  background: rgba(15, 18, 34, 0.64);
  color: #fff;
  font-family: var(--font-secondary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes cb-hub-stage-in {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cb-hub-thumb-in {
  from {
    opacity: 0;
    transform: translateX(0.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Rhythm strip between hero and grid */
.cb-industries-rhythm {
  border-block: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--muted) 38%, #fff) 0%,
    #fff 100%
  );
}

.cb-industries-rhythm__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 800px) {
  .cb-industries-rhythm__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

.cb-industries-rhythm__beat {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  min-height: 100%;
  padding: 0.65rem 0.85rem 0.65rem 0.65rem;
  border: 1px solid transparent;
  border-radius: var(--radius-xl);
  color: var(--foreground);
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.cb-industries-rhythm__beat:hover {
  border-color: color-mix(in srgb, var(--border) 85%, var(--primary));
  background: #fff;
  color: var(--foreground);
  transform: translateY(-1px);
}

.cb-industries-rhythm__media {
  display: block;
  overflow: hidden;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: var(--radius-lg);
  background: var(--muted);
}

.cb-industries-rhythm__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cb-industries-rhythm__copy {
  display: grid;
  gap: 0.2rem;
}

.cb-industries-rhythm__name {
  color: var(--primary);
  font-family: var(--font-secondary);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cb-industries-rhythm__decision {
  font-family: var(--font-secondary);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.cb-industries-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .cb-industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

@media (min-width: 1080px) {
  .cb-industries-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cb-industries-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.5rem;
  align-content: start;
  min-height: 100%;
  padding: 0 0 1.15rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  border-radius: var(--radius-2xl);
  background: #fff;
  color: var(--foreground);
  text-decoration: none;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--border) 55%, transparent);
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.cb-industries-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--primary) 28%, var(--border));
  box-shadow: var(--shadow-md);
  color: var(--foreground);
}

.cb-industries-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--muted);
}

.cb-industries-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cb-industries-card:hover .cb-industries-card__media img {
  transform: scale(1.04);
}

.cb-industries-card__label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.7rem;
  padding: 0.28rem 0.55rem;
  border-radius: 0.3rem;
  background: rgba(15, 18, 34, 0.68);
  color: #fff;
  font-family: var(--font-secondary);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cb-industries-card__title,
.cb-industries-card__desc,
.cb-industries-card__cta {
  padding-inline: 1.15rem;
}

.cb-industries-card__title {
  margin-top: 0.15rem;
  font-family: var(--font-secondary);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
}

.cb-industries-card__desc {
  color: var(--muted-foreground);
  font-size: 0.92rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.cb-industries-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
  color: var(--color-brand-deep);
  font-family: var(--font-secondary);
  font-size: 0.88rem;
  font-weight: 700;
}

.cb-industries-card__arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.cb-industries-card:hover .cb-industries-card__arrow {
  transform: translateX(3px);
}

/* Interactive invoice spike chart */
.cb-industry-demo {
  margin: 0;
}

.cb-industry-demo__chrome {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.45rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  background:
    linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--muted) 42%, #fff) 100%);
  box-shadow: var(--shadow-sm);
}

.cb-industry-demo__head {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 880px) {
  .cb-industry-demo__head {
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.9fr);
    align-items: end;
  }
}

.cb-industry-demo__eyebrow {
  margin: 0 0 0.3rem;
  color: var(--primary);
  font-family: var(--font-secondary);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cb-industry-demo__title {
  margin: 0;
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.cb-industry-demo__subtitle {
  margin: 0.4rem 0 0;
  max-width: 38rem;
  color: var(--muted-foreground);
  font-size: 0.98rem;
  line-height: 1.45;
}

.cb-industry-demo__weeks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.cb-industry-demo__weeks button {
  display: grid;
  gap: 0.1rem;
  min-height: 2.85rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--foreground);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.cb-industry-demo__weeks button em {
  font-style: normal;
  font-weight: 750;
  font-size: 0.88rem;
}

.cb-industry-demo__weeks button span {
  color: var(--muted-foreground);
  font-size: 0.76rem;
}

.cb-industry-demo__weeks button.is-active,
.cb-industry-demo__weeks button:hover {
  border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
  background: color-mix(in srgb, var(--color-brand-softer) 65%, #fff);
}

.cb-industry-demo__weeks button.is-active {
  transform: translateY(-1px);
}

.cb-industry-demo__chart-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, #fbfbfd 0%, #fff 55%);
}

.cb-industry-demo__chart {
  display: block;
  width: 100%;
  height: auto;
}

.cb-industry-demo__grid {
  stroke: color-mix(in srgb, var(--border) 80%, transparent);
  stroke-width: 1;
}

.cb-industry-demo__zero {
  stroke: color-mix(in srgb, var(--foreground) 18%, transparent);
  stroke-width: 1.25;
  stroke-dasharray: 4 4;
}

.cb-industry-demo__axis {
  fill: var(--muted-foreground);
  font-size: 11px;
  font-family: var(--font-secondary), system-ui, sans-serif;
}

.cb-industry-demo__series {
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    stroke 0.25s ease,
    stroke-width 0.25s ease,
    opacity 0.25s ease;
}

.cb-industry-demo__series.is-quiet {
  stroke: color-mix(in srgb, var(--primary) 28%, #94a3b8);
  stroke-width: 2;
  opacity: 0.45;
}

.cb-industry-demo__series.is-active {
  stroke: #c2410c;
  stroke-width: 3.25;
  opacity: 1;
}

.cb-industry-demo__dot {
  fill: #fff;
  stroke: color-mix(in srgb, var(--primary) 35%, #94a3b8);
  stroke-width: 1.5;
  transition:
    cx 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    cy 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    r 0.2s ease,
    stroke 0.2s ease;
}

.cb-industry-demo__dot.is-quiet {
  opacity: 0.55;
}

.cb-industry-demo__dot.is-active {
  stroke: #c2410c;
  opacity: 1;
}

.cb-industry-demo__dot.is-focus {
  fill: #c2410c;
  stroke: #fff;
  stroke-width: 2;
}

.cb-industry-demo__scrubber {
  stroke: color-mix(in srgb, var(--primary) 55%, #64748b);
  stroke-width: 1.5;
  stroke-dasharray: 3 5;
  transition:
    x1 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    x2 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.cb-industry-demo__annotation {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 0.15rem;
  min-width: 11rem;
  max-width: 15rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid color-mix(in srgb, #c2410c 28%, var(--border));
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
  transform: translate(12px, -110%);
  transition:
    left 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.28s ease,
    box-shadow 0.28s ease;
  pointer-events: none;
}

.cb-industry-demo__annotation.is-flip {
  transform: translate(calc(-100% - 12px), -110%);
}

.cb-industry-demo__annotation.is-pulse {
  box-shadow:
    var(--shadow-md),
    0 0 0 3px color-mix(in srgb, #c2410c 12%, transparent);
}

.cb-industry-demo__annotation strong {
  font-size: 0.9rem;
  line-height: 1.25;
}

.cb-industry-demo__annotation span {
  color: var(--muted-foreground);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.cb-industry-demo__annotation em,
.cb-industry-demo__annotation .is-up,
[data-demo-ann-delta].is-up {
  color: #c2410c;
  font-style: normal;
  font-weight: 800;
}

.cb-industry-demo__legend {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .cb-industry-demo__legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cb-industry-demo__legend-item {
  display: grid;
  grid-template-columns: 0.7rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.cb-industry-demo__legend-item i {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 35%, #94a3b8);
}

.cb-industry-demo__legend-item span {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  min-width: 0;
}

.cb-industry-demo__legend-item strong {
  font-size: 0.9rem;
  line-height: 1.25;
}

.cb-industry-demo__legend-item em {
  color: var(--muted-foreground);
  font-style: normal;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
}

.cb-industry-demo__legend-item:hover,
.cb-industry-demo__legend-item.is-active {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
  background: color-mix(in srgb, var(--color-brand-softer) 40%, #fff);
}

.cb-industry-demo__legend-item.is-active {
  transform: translateY(-1px);
}

.cb-industry-demo__legend-item.is-active i,
.cb-industry-demo__legend-item.is-rising i {
  background: #c2410c;
}

.cb-industry-demo__legend-item.is-rising em {
  color: #c2410c;
}

.cb-industry-demo__evidence {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 800px) {
  .cb-industry-demo__evidence {
    grid-template-columns: minmax(14rem, 0.9fr) minmax(0, 1.2fr);
    align-items: stretch;
  }
}

.cb-industry-demo__ticket {
  display: grid;
  gap: 0.35rem;
  align-content: start;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 21px,
      color-mix(in srgb, var(--border) 55%, transparent) 21px,
      color-mix(in srgb, var(--border) 55%, transparent) 22px
    ),
    #fffef8;
  box-shadow: inset 3px 0 0 color-mix(in srgb, var(--foreground) 12%, transparent);
}

.cb-industry-demo__ticket-label {
  margin: 0;
  color: var(--muted-foreground);
  font-family: var(--font-secondary);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cb-industry-demo__ticket-vendor {
  margin: 0;
  font-weight: 750;
  font-size: 0.98rem;
}

.cb-industry-demo__ticket-meta {
  margin: 0 0 0.35rem;
  color: var(--muted-foreground);
  font-size: 0.84rem;
}

.cb-industry-demo__ticket-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.15rem 0.75rem;
  padding: 0.55rem 0.65rem;
  border: 1px dashed color-mix(in srgb, #c2410c 35%, var(--border));
  border-radius: 0.55rem;
  background: rgba(255, 247, 237, 0.75);
}

.cb-industry-demo__ticket-line strong {
  font-size: 0.9rem;
}

.cb-industry-demo__ticket-line span {
  grid-column: 1;
  color: var(--muted-foreground);
  font-size: 0.78rem;
}

.cb-industry-demo__ticket-line em {
  grid-row: 1 / span 2;
  align-self: center;
  font-style: normal;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 1.02rem;
}

.cb-industry-demo__ticket-line.is-rising em {
  color: #c2410c;
}

.cb-industry-demo__impact {
  margin: 0;
  display: grid;
  align-content: center;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--foreground);
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.cb-industry-demo__range input {
  width: 100%;
  min-height: 2.75rem;
  accent-color: var(--primary);
  cursor: pointer;
}

.cb-industry-demo__caption {
  margin: 0.75rem 0 0;
  color: var(--muted-foreground);
  font-size: 0.82rem;
  text-align: center;
  line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
  .cb-industry-demo__series,
  .cb-industry-demo__dot,
  .cb-industry-demo__scrubber,
  .cb-industry-demo__annotation,
  .cb-industry-demo__legend-item,
  .cb-industry-demo__weeks button,
  .cb-industries-card,
  .cb-industries-card__media img,
  .cb-industries-stage__feature img,
  .cb-industries-rhythm__beat,
  .cb-industries-card__arrow {
    transition: none;
  }

  .cb-industries-stage,
  .cb-industries-stage__thumb {
    animation: none;
  }

  .cb-industries-stage:hover .cb-industries-stage__feature img,
  .cb-industries-card:hover .cb-industries-card__media img,
  .cb-industries-card:hover,
  .cb-industries-rhythm__beat:hover,
  .cb-industries-card:hover .cb-industries-card__arrow {
    transform: none;
  }
}

@media (max-width: 639px) {
  .cb-industry-hero__actions,
  .cb-industry-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cb-industry-hero__actions .cb-btn,
  .cb-industry-cta__actions .cb-btn {
    width: 100%;
    justify-content: center;
  }

  .cb-industries-stage {
    min-height: 0;
  }

  .cb-industries-stage__thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .cb-industries-stage__thumb {
    min-height: 5.5rem;
  }

  .cb-industries-rhythm__beat {
    grid-template-columns: 3.75rem minmax(0, 1fr);
    padding: 0.55rem 0.7rem 0.55rem 0.55rem;
  }

  .cb-industries-rhythm__media {
    width: 3.75rem;
    height: 3.75rem;
  }
}
