.market-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eff6ff 0%, var(--color-base-100) 55%, #ecfdf5 100%);
}

.home-surface {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.06), transparent 26%),
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.07), transparent 24%),
    var(--color-base-100);
}

.market-hero::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -8rem;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16) 0%, rgba(59, 130, 246, 0) 72%);
  pointer-events: none;
}

.hero-premium::before {
  content: "";
  position: absolute;
  inset: 2rem auto auto -6rem;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.16) 0%, rgba(251, 191, 36, 0) 72%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-lead {
  margin-top: 1.25rem;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, currentColor 74%, transparent);
}

.audience-pills,
.cta-cluster,
.hero-proof,
.tool-pills,
.bento-links,
.editorial-actions,
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.audience-pills {
  margin-top: 1.5rem;
}

.audience-pill {
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: color-mix(in srgb, currentColor 78%, transparent);
}

.cta-cluster {
  margin-top: 1.75rem;
}

.cta-cluster .btn,
.page-hero-actions .btn,
.editorial-actions .btn,
.cta-band-actions .btn {
  min-height: 3.25rem;
}

.anchor-nav {
  margin-top: 1.25rem;
}

.anchor-link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.78);
}

.hero-proof {
  margin-top: 1.75rem;
}

.mini-stat {
  min-width: 10rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
}

.mini-stat strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1;
}

.mini-stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: color-mix(in srgb, currentColor 70%, transparent);
}

.hero-board {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(16, 185, 129, 0.08));
  border-radius: 1.75rem;
  padding: 1.5rem;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.1);
}

.hero-board-top p:last-child {
  margin-top: 0.75rem;
}

.hero-step-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.9rem;
}

.hero-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  border-radius: 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.86);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.hero-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.06);
}

.hero-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.hero-step p {
  margin-top: 0.3rem;
  color: color-mix(in srgb, currentColor 68%, transparent);
}

.hero-step-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-step.is-primary {
  border-color: rgba(59, 130, 246, 0.24);
}

.hero-step.is-primary .hero-step-kicker,
.hero-step.is-primary .hero-step-number {
  color: #2563eb;
}

.hero-step.is-secondary {
  border-color: rgba(16, 185, 129, 0.24);
}

.hero-step.is-secondary .hero-step-kicker,
.hero-step.is-secondary .hero-step-number {
  color: #059669;
}

.hero-step.is-warm {
  border-color: rgba(245, 158, 11, 0.26);
}

.hero-step.is-warm .hero-step-kicker,
.hero-step.is-warm .hero-step-number {
  color: #b45309;
}

.hero-note {
  margin-top: 1.2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 1rem;
  display: grid;
  gap: 0.65rem;
  color: color-mix(in srgb, currentColor 72%, transparent);
}

.proof-strip-wrap {
  position: relative;
  z-index: 2;
  margin-top: -1.75rem;
  padding-bottom: 1rem;
}

.page-hero-shell {
  display: grid;
  gap: 1.5rem;
  border-radius: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background:
    linear-gradient(145deg, rgba(239, 246, 255, 0.76), rgba(255, 255, 255, 0.96)),
    rgba(255, 255, 255, 0.96);
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.page-hero-copy {
  min-width: 0;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: start;
  justify-content: flex-start;
}

.page-hero-actions .btn {
  min-width: 0;
}

.compact-proof-grid,
.journey-grid {
  display: grid;
  gap: 1rem;
}

.journey-panel,
.filter-shell,
.kit-card,
.collection-card {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.journey-panel {
  padding: 1.25rem 1.4rem;
  display: grid;
  gap: 1rem;
}

.journey-grid strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.98rem;
}

.journey-grid p {
  color: color-mix(in srgb, currentColor 68%, transparent);
}

.filter-shell {
  padding: 1rem;
}

.recommendation-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kit-card {
  padding: 1.4rem;
  display: grid;
  gap: 1rem;
}

.kit-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.kit-card h3,
.collection-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
}

.kit-card p,
.collection-card p {
  color: color-mix(in srgb, currentColor 70%, transparent);
}

.collection-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.collection-card {
  padding: 1.25rem;
  display: grid;
  gap: 0.85rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
  border-color: rgba(59, 130, 246, 0.34);
}

.collection-card span {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(59, 130, 246, 0.85);
}

.collection-card-featured {
  border-color: rgba(59, 130, 246, 0.34);
  box-shadow: 0 20px 44px rgba(59, 130, 246, 0.1);
}

.proof-strip {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1.5rem;
  padding: 1rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.proof-item {
  border-radius: 1rem;
  padding: 0.85rem 0.95rem;
  background: rgba(248, 250, 252, 0.9);
}

.proof-item strong {
  display: block;
  font-size: 0.98rem;
}

.proof-item span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: color-mix(in srgb, currentColor 68%, transparent);
}

.section-heading {
  margin-bottom: 2.5rem;
  display: grid;
  gap: 0.8rem;
}

.section-heading h2,
.section-heading p {
  min-width: 0;
}

.bento-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.bento-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1rem;
  min-height: 16rem;
  padding: 1.5rem;
  border-radius: 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
}

.bento-card h3 {
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 700;
  max-width: 20rem;
}

.bento-card p {
  max-width: 34rem;
  color: color-mix(in srgb, currentColor 70%, transparent);
}

.bento-links {
  margin-top: auto;
}

.bento-links span,
.bento-links a,
.tool-pills a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.78);
}

.tool-pills a:hover {
  border-color: rgba(59, 130, 246, 0.4);
}

.bento-search {
  grid-column: span 6;
  background: linear-gradient(145deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.92));
}

.bento-wg {
  grid-column: span 6;
  background: linear-gradient(145deg, rgba(236, 253, 245, 0.98), rgba(255, 255, 255, 0.92));
}

.bento-setup {
  grid-column: span 8;
  background: linear-gradient(145deg, rgba(255, 251, 235, 0.98), rgba(255, 255, 255, 0.92));
}

.bento-tools {
  grid-column: span 4;
  background: linear-gradient(145deg, rgba(240, 253, 244, 0.98), rgba(255, 255, 255, 0.92));
}

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

.step-card {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.step-number {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(59, 130, 246, 0.85);
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.step-card p {
  margin-top: 0.8rem;
  margin-bottom: 1.25rem;
  color: color-mix(in srgb, currentColor 70%, transparent);
}

.editorial-panel {
  display: grid;
  gap: 1.25rem;
  border-radius: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  padding: 1.75rem;
  background:
    linear-gradient(145deg, rgba(239, 246, 255, 0.6), rgba(255, 255, 255, 0.94)),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

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

.section-shell {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.article-flow {
  display: grid;
  gap: 2rem;
}

.content-split,
.priority-grid {
  display: grid;
  gap: 1rem;
}

.priority-card {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(248, 250, 252, 0.86);
  border-radius: 1.25rem;
  padding: 1.2rem;
}

.priority-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.priority-card p {
  margin-top: 0.55rem;
  color: color-mix(in srgb, currentColor 70%, transparent);
}

.signal-list {
  display: grid;
  gap: 0.8rem;
}

.signal-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
}

.signal-list-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
  font-weight: 700;
}

.cta-band {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(59, 130, 246, 0.24);
  background:
    linear-gradient(145deg, rgba(239, 246, 255, 0.84), rgba(255, 255, 255, 0.95)),
    rgba(255, 255, 255, 0.95);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.intent-card,
.starter-card {
  height: 100%;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: var(--color-base-100);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.intent-card:hover,
.starter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.intent-card.is-featured {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.12);
}

.starter-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(59, 130, 246, 0.85);
}

[data-theme="dark"] .market-hero {
  background: linear-gradient(135deg, #0f172a 0%, #111827 55%, rgba(6, 78, 59, 0.45) 100%);
}

[data-theme="dark"] .audience-pill,
[data-theme="dark"] .mini-stat,
[data-theme="dark"] .hero-step,
[data-theme="dark"] .proof-strip,
[data-theme="dark"] .proof-item,
[data-theme="dark"] .page-hero-shell,
[data-theme="dark"] .journey-panel,
[data-theme="dark"] .filter-shell,
[data-theme="dark"] .kit-card,
[data-theme="dark"] .collection-card,
[data-theme="dark"] .bento-card,
[data-theme="dark"] .step-card,
[data-theme="dark"] .editorial-panel {
  background: rgba(17, 24, 39, 0.92);
}

[data-theme="dark"] .hero-board {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.92)),
    linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(16, 185, 129, 0.12));
}

[data-theme="dark"] .section-shell,
[data-theme="dark"] .priority-card,
[data-theme="dark"] .cta-band,
[data-theme="dark"] .intent-card,
[data-theme="dark"] .starter-card {
  background: #111827;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

@media (max-width: 1023px) {
  .market-hero::after {
    right: -10rem;
    bottom: -10rem;
  }

  .proof-strip-wrap {
    margin-top: 0;
    padding-top: 1rem;
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-grid,
  .recommendation-grid,
  .recommendation-grid-wide,
  .collection-grid,
  .compact-proof-grid,
  .journey-grid,
  .content-split,
  .priority-grid {
    grid-template-columns: 1fr;
  }

  .bento-search,
  .bento-wg,
  .bento-setup,
  .bento-tools {
    grid-column: span 12;
  }

  .page-hero-actions {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(22rem, 0.85fr);
    gap: 2.5rem;
  }

  .page-hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
    align-items: start;
  }

  .page-hero-actions {
    width: 100%;
    flex-direction: column;
    justify-self: end;
    align-self: end;
  }

  .page-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .compact-proof-grid,
  .journey-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .content-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .priority-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .market-hero {
    border-radius: 1.5rem;
  }

  .market-hero::after,
  .hero-premium::before {
    display: none;
  }

  .hero-grid,
  .page-hero-shell {
    gap: 1.1rem;
  }

  .market-hero > div {
    padding: 1rem;
  }

  .hero-lead {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.65;
    max-width: 32ch;
  }

  .hero-copy h1,
  .page-hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(2rem, 8.8vw, 2.85rem);
    line-height: 1.02;
    text-wrap: balance;
  }

  .hero-board-top h2,
  .page-hero-copy h2,
  .section-heading h2,
  .editorial-panel h2,
  .bento-card h3,
  .collection-card h3,
  .kit-card h3,
  .step-card h3,
  .priority-card h3 {
    text-wrap: balance;
  }

  .hero-lead,
  .page-hero-copy p.text-lg,
  .section-heading p,
  .hero-step p,
  .bento-card p,
  .collection-card p,
  .kit-card p,
  .step-card p,
  .priority-card p,
  .journey-grid p {
    text-wrap: pretty;
  }

  .audience-pills,
  .cta-cluster,
  .hero-proof,
  .tool-pills,
  .bento-links,
  .editorial-actions,
  .anchor-nav,
  .cta-band-actions {
    gap: 0.65rem;
  }

  .audience-pill,
  .anchor-link {
    padding: 0.55rem 0.8rem;
    font-size: 0.86rem;
  }

  .cta-cluster .btn,
  .page-hero-actions .btn,
  .editorial-actions .btn,
  .cta-band-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-proof,
  .compact-proof-grid {
    grid-template-columns: 1fr;
  }

  .mini-stat {
    min-width: 0;
    padding: 0.8rem 0.9rem;
  }

  .mini-stat strong {
    font-size: 1.15rem;
  }

  .mini-stat span {
    margin-top: 0.25rem;
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .hero-board,
  .bento-card,
  .step-card,
  .editorial-panel,
  .page-hero-shell,
  .journey-panel,
  .filter-shell,
  .kit-card,
  .collection-card,
  .section-shell,
  .cta-band {
    padding: 1.05rem;
    border-radius: 1.25rem;
  }

  .hero-board-top h2,
  .editorial-panel h2 {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .hero-step-list {
    margin-top: 1rem;
    gap: 0.75rem;
  }

  .hero-step {
    gap: 0.8rem;
    padding: 0.9rem;
    border-radius: 1rem;
  }

  .hero-step-number,
  .signal-list-mark {
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    font-size: 0.9rem;
  }

  .hero-step h3,
  .priority-card h3,
  .step-card h3,
  .kit-card h3,
  .collection-card h3,
  .bento-card h3 {
    font-size: 1.15rem;
    line-height: 1.2;
  }

  .hero-step p,
  .priority-card p,
  .step-card p,
  .kit-card p,
  .collection-card p,
  .bento-card p,
  .journey-grid p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .proof-strip {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.85rem;
    border-radius: 1.25rem;
  }

  .proof-item {
    padding: 0.8rem 0.85rem;
  }

  .proof-item strong {
    font-size: 0.92rem;
  }

  .section-heading {
    margin-bottom: 1.4rem;
    gap: 0.55rem;
  }

  .section-heading h2 {
    font-size: 1.85rem;
    line-height: 1.12;
  }

  .journey-panel {
    gap: 0.75rem;
  }

  .filter-shell {
    padding: 0.85rem;
  }

  .kit-card,
  .collection-card,
  .bento-card,
  .step-card,
  .priority-card,
  .cta-band {
    gap: 0.8rem;
  }

  .kit-card-head {
    gap: 0.55rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .bento-card {
    min-height: auto;
  }

  .bento-links,
  .tool-pills,
  .anchor-nav {
    flex-direction: column;
  }

  .bento-links span,
  .bento-links a,
  .tool-pills a,
  .anchor-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .breadcrumbs {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.15rem;
  }

  .breadcrumbs ul {
    flex-wrap: nowrap;
  }
}

@media (max-width: 479px) {
  .market-hero,
  .page-hero-shell,
  .editorial-panel,
  .journey-panel,
  .filter-shell,
  .section-shell {
    border-radius: 1.1rem;
  }

  .hero-lead,
  .page-hero-copy p.text-lg {
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 29ch;
  }

  .proof-strip-wrap {
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
  }

  .section-heading h2 {
    font-size: 1.65rem;
  }

  .hero-board-top h2,
  .editorial-panel h2,
  .page-hero-copy h1 {
    line-height: 1.05;
  }

  .hero-copy h1,
  .page-hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .hero-step-kicker,
  .eyebrow,
  .step-number {
    letter-spacing: 0.14em;
  }

  .badge {
    white-space: normal;
  }
}
