.biz2-page {
  overflow-x: hidden;
}

.biz2-page .eyebrow {
  margin: 0 0 14px;
  color: var(--color-accent);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}

.biz2-header {
  padding: clamp(52px, 7vw, 82px) 0 clamp(42px, 5vw, 60px);
  border-bottom: 1px solid var(--color-line);
}

.biz2-header h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 5.4vw, 4.15rem);
  line-height: 1;
}

.biz2-header .dek {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--color-text);
  font-size: clamp(1.15rem, 2vw, 1.38rem);
}

.filter-formula {
  max-width: 760px;
  margin: 0;
  color: var(--color-muted);
  font-size: 16px;
}

.filter-formula strong {
  color: var(--color-text);
  font-weight: 600;
}

.biz2-shell {
  width: min(calc(100% - 2 * var(--page-gutter) - env(safe-area-inset-left) - env(safe-area-inset-right)), var(--content-wide));
  padding: 48px 0 88px;
}

.best-directions {
  max-width: var(--content-reading);
  margin-bottom: 64px;
}

.best-directions h2 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.best-directions ol {
  margin: 0;
  padding-left: 1.7em;
  border-top: 1px solid var(--color-text);
}

.best-directions li {
  min-height: 50px;
  padding: 12px 0 12px 6px;
  border-bottom: 1px solid var(--color-line);
  font-size: 16px;
  line-height: 1.5;
}

.best-directions li::marker {
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}

.best-directions strong {
  float: right;
  margin-left: 24px;
  color: var(--color-accent);
  font-weight: 600;
}

.catalog-section {
  scroll-margin-top: 24px;
}

.section-heading {
  display: flex;
  margin-bottom: 30px;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}

.section-heading h2 {
  margin: 0;
}

.section-heading > p {
  max-width: 350px;
  margin: 0 0 5px;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.5;
}

.biz2-tools {
  margin-bottom: 32px;
  padding: 24px;
  border: 1px solid var(--color-line);
  background: color-mix(in srgb, var(--color-surface) 78%, transparent);
}

.biz2-tools label,
.biz2-tools legend,
.biz2-tools .catalog-status,
.biz2-tools button {
  font-size: 16px;
}

.biz2-tools label {
  margin-bottom: 9px;
  color: var(--color-text);
}

.biz2-tools input {
  min-height: 48px;
  font-size: 16px;
}

.filter-group {
  min-width: 0;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}

.filter-group legend {
  margin-bottom: 8px;
  color: var(--color-muted);
  font-weight: 500;
  line-height: 1.4;
}

.biz2-tools .filter-row {
  margin-top: 0;
}

.biz2-tools .filter-row button {
  min-height: 42px;
  padding: 8px 13px;
  line-height: 1.25;
}

.biz2-tools .catalog-status {
  margin-top: 18px;
}

.biz2-tools .reset-button {
  padding-inline: 0;
}

.product-table-wrap {
  border-top: 1px solid var(--color-text);
}

.product-table {
  table-layout: fixed;
  font-size: 16px;
  line-height: 1.45;
}

.product-table th,
.product-table td {
  padding: 15px 10px;
  overflow-wrap: anywhere;
}

.product-table thead th {
  position: sticky;
  z-index: 1;
  top: 0;
  background: var(--color-bg);
  color: var(--color-muted);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
}

.product-table th:nth-child(1) {
  width: 4%;
}

.product-table th:nth-child(2) {
  width: 22%;
}

.product-table th:nth-child(3) {
  width: 13%;
}

.product-table th:nth-child(4) {
  width: 13%;
}

.product-table th:nth-child(5) {
  width: 16%;
}

.product-table th:nth-child(6) {
  width: 32%;
}

.product-table tbody th {
  color: var(--color-text);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  text-align: left;
  text-transform: none;
  vertical-align: top;
}

.index-cell {
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}

.mobile-index {
  display: none;
}

.niche-cell {
  color: var(--color-muted);
}

.why-cell {
  color: #3f443e;
}

.status-badge {
  display: inline-flex;
  min-height: 28px;
  padding: 4px 8px;
  align-items: center;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  font-size: 16px;
  line-height: 1.25;
}

.status-badge--ltv-very-high {
  border-color: #a9c6b5;
  background: #dcebe2;
  color: #1f5c43;
}

.status-badge--ltv-high {
  border-color: #bfd2c5;
  background: #e7efe9;
  color: #315c49;
}

.status-badge--ltv-medium,
.status-badge--ltv-return {
  background: #f0eee8;
  color: #555b53;
}

.status-badge--risk-very-high {
  border-color: #d1b78c;
  background: #f1e8d9;
  color: #765421;
}

.status-badge--risk-high {
  background: #eeece5;
  color: #4d534c;
}

.status-badge--risk-medium {
  background: transparent;
  color: var(--color-muted);
}

.empty-state {
  margin: 0;
  padding: 36px 0;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 16px;
}

.markets {
  margin-top: 96px;
  padding-top: 8px;
  border-top: 1px solid var(--color-text);
}

.markets > h2 {
  margin: 34px 0 36px;
}

.market-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 44px;
}

.market-list article {
  padding: 28px 0 30px;
  border-top: 1px solid var(--color-line);
}

.market-list h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.market-list p {
  margin: 0 0 0.9em;
  font-size: 16px;
  line-height: 1.6;
}

.market-list .market-number {
  margin-bottom: 9px;
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}

.market-list .market-ltv {
  color: var(--color-accent);
  font-weight: 600;
}

.market-list strong {
  font-weight: 600;
}

.top-products {
  margin-top: 80px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid #bed0c4;
  background: var(--color-accent-soft);
}

.top-products h2 {
  max-width: 760px;
  margin-bottom: 30px;
}

.top-products ol {
  display: grid;
  margin: 0;
  padding-left: 1.7em;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 48px;
}

.top-products li {
  padding-left: 4px;
  font-size: 16px;
  line-height: 1.45;
}

.final-formula {
  max-width: 900px;
  margin: 40px 0 0;
  padding-top: 30px;
  border-top: 1px solid #9db9a7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.biz2-page .back-to-top {
  font-size: 16px;
}

@media (max-width: 900px) {
  .product-table th:nth-child(1) {
    width: 5%;
  }

  .product-table th:nth-child(2) {
    width: 24%;
  }

  .product-table th:nth-child(3) {
    width: 14%;
  }

  .product-table th:nth-child(4) {
    width: 14%;
  }

  .product-table th:nth-child(5) {
    width: 18%;
  }

  .product-table th:nth-child(6) {
    width: 25%;
  }
}

@media (max-width: 760px) {
  :root {
    --page-gutter: 18px;
  }

  .biz2-header {
    padding: 44px 0 40px;
  }

  .biz2-header h1 {
    font-size: clamp(2.2rem, 10.5vw, 2.7rem);
    overflow-wrap: normal;
  }

  .biz2-header .dek {
    font-size: 1.12rem;
  }

  .biz2-shell {
    padding: 36px 0 64px;
  }

  .best-directions {
    margin-bottom: 54px;
  }

  .best-directions li {
    padding-block: 13px;
  }

  .best-directions strong {
    display: block;
    float: none;
    margin: 3px 0 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 24px;
  }

  .section-heading > p {
    margin-top: 10px;
  }

  .biz2-tools {
    margin-inline: 0;
    margin-bottom: 24px;
    padding: 18px;
  }

  .biz2-tools .filter-row {
    overflow: visible;
    padding-bottom: 0;
    flex-wrap: wrap;
  }

  .biz2-tools .filter-row button {
    flex: 0 1 auto;
  }

  .biz2-tools .catalog-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .product-table-wrap {
    overflow: visible;
  }

  .product-table,
  .product-table tbody,
  .product-table tr,
  .product-table th,
  .product-table td {
    display: block;
    width: 100%;
  }

  .product-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .product-table .product-row {
    padding: 22px 0 23px;
    border-bottom: 1px solid var(--color-line);
  }

  .product-table .index-cell {
    display: none;
  }

  .product-table .product-cell {
    display: flex;
    padding: 0;
    gap: 8px;
    border: 0;
    font-size: 18px;
    line-height: 1.35;
  }

  .mobile-index {
    display: inline;
    flex: 0 0 auto;
    color: var(--color-muted);
    font-weight: 400;
    font-variant-numeric: tabular-nums;
  }

  .mobile-index::after {
    content: " —";
  }

  .product-table .niche-cell {
    padding: 7px 0 13px;
    border: 0;
    font-size: 16px;
    line-height: 1.35;
  }

  .product-table .risk-cell,
  .product-table .ltv-cell {
    display: inline-block;
    width: auto;
    padding: 0 5px 0 0;
    border: 0;
  }

  .status-badge {
    font-size: 16px;
  }

  .product-table .why-cell {
    display: -webkit-box;
    padding: 13px 0 0;
    overflow: hidden;
    border: 0;
    font-size: 16px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .markets {
    margin-top: 72px;
  }

  .market-list {
    display: block;
  }

  .market-list article {
    padding: 25px 0 26px;
  }

  .top-products {
    margin-top: 64px;
    padding: 26px 22px 30px;
  }

  .top-products ol {
    display: block;
  }

  .top-products li {
    margin-bottom: 9px;
  }

  .final-formula {
    margin-top: 32px;
    padding-top: 24px;
  }
}

@media (max-width: 360px) {
  :root {
    --page-gutter: 16px;
  }

  .biz2-header h1 {
    font-size: 2.08rem;
    letter-spacing: -0.035em;
  }

  .biz2-tools {
    padding: 16px;
  }

  .biz2-tools .filter-row {
    gap: 6px;
  }

  .biz2-tools .filter-row button {
    padding-inline: 10px;
  }

  .top-products {
    padding-inline: 18px;
  }
}
