.uv2-page {
  --uv2-panel: rgba(255, 250, 240, 0.72);
  --uv2-panel-strong: #fffaf0;
}

.uv2-brand-link {
  color: var(--iv2-ink) !important;
  text-decoration: none;
}

.uv2-main {
  padding-bottom: 5rem !important;
}

.uv2-hero {
  padding: clamp(3.2rem, 6vw, 6rem) 0 clamp(2.5rem, 4.5vw, 4.3rem);
  border-bottom: 2px solid var(--iv2-ink);
}

.uv2-hero--compact {
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
}

.uv2-hero--split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(22rem, 0.7fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: end;
}

.uv2-hero h1 {
  max-width: 76rem;
  margin: 0.55rem 0 0;
  font-size: var(--iv2-display-page);
  letter-spacing: -0.07em;
  line-height: 0.88;
  text-wrap: balance;
}

.uv2-data-room .uv2-hero h1,
.uv2-search .uv2-hero h1 {
  font-size: var(--iv2-display-page);
}

/* Search is a working surface, not an editorial opener. */
.uv2-search {
  --uv2-search-display: clamp(2.6rem, 4vw, 4rem);
}

.uv2-search .uv2-hero {
  padding-block: clamp(1.4rem, 2.4vw, 2.2rem) clamp(1rem, 1.6vw, 1.4rem);
}

.uv2-search .uv2-hero h1 {
  font-size: var(--uv2-search-display);
}

.uv2-dek {
  max-width: 58rem;
  margin: 1.35rem 0 0;
  color: var(--iv2-ink-soft);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.46;
}

.uv2-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 2px solid var(--iv2-ink);
}

.uv2-facts div {
  padding: 1rem 0;
  border-bottom: 1px solid var(--iv2-line);
}

.uv2-facts div:nth-child(odd) {
  padding-right: 1rem;
}

.uv2-facts dt,
.uv2-field > span,
.uv2-filters legend {
  color: var(--iv2-muted);
  font-family: var(--iv2-sans);
  font-size: 0.66rem;
  font-weight: 820;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.uv2-facts dd {
  margin: 0.15rem 0 0;
  font-family: var(--iv2-sans);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 780;
  letter-spacing: -0.035em;
}

.uv2-section {
  padding-top: clamp(5rem, 9vw, 9rem);
}

.uv2-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.65fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.6rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--iv2-ink);
}

.uv2-section-head h2 {
  margin: 0.28rem 0 0;
  font-size: var(--iv2-display-section);
  letter-spacing: -0.058em;
  line-height: 0.94;
}

.uv2-section-head > p {
  max-width: 35rem;
  margin: 0;
  color: var(--iv2-muted);
  font-size: 1rem;
}

.uv2-word-field {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.45rem 1.2rem;
  padding: clamp(1.6rem, 4vw, 3.5rem);
  border: 1px solid var(--iv2-line-dark);
  background: var(--uv2-panel);
}

.uv2-word {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2em;
  color: var(--iv2-rust-dark);
  font-family: var(--iv2-sans);
  font-weight: 760;
  line-height: 1;
}

.uv2-word small {
  color: var(--iv2-muted);
  font-size: 0.55rem;
  font-weight: 650;
}

.uv2-word--1 { font-size: 0.9rem; }
.uv2-word--2 { font-size: 1.1rem; }
.uv2-word--3 { font-size: 1.4rem; }
.uv2-word--4 { font-size: 1.85rem; }
.uv2-word--5 { font-size: 2.35rem; }
.uv2-word--6 { font-size: 3.1rem; }

.uv2-cluster-grid,
.uv2-bias-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--iv2-line-dark);
  border-left: 1px solid var(--iv2-line-dark);
}

.uv2-cluster,
.uv2-bias-grid article {
  min-width: 0;
  padding: 1.35rem;
  border-right: 1px solid var(--iv2-line-dark);
  border-bottom: 1px solid var(--iv2-line-dark);
  background: var(--uv2-panel);
}

.uv2-cluster header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.uv2-cluster h3,
.uv2-bias-grid h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.12;
}

.uv2-cluster header span {
  color: var(--iv2-rust);
  font-family: var(--iv2-sans);
  font-size: 0.75rem;
  font-weight: 800;
}

.uv2-cluster p,
.uv2-bias-grid p {
  margin: 0.75rem 0 0;
  color: var(--iv2-ink-soft);
}

.uv2-cluster ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.uv2-cluster li + li {
  margin-top: 0.25rem;
}

.uv2-cluster a,
.uv2-result-domain {
  font-family: var(--iv2-sans);
  font-size: 0.78rem;
  font-weight: 700;
}

.uv2-prose {
  max-width: 70rem;
  color: var(--iv2-ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.7;
}

.uv2-prose p {
  margin: 0 0 1.15em;
}

.uv2-tld-list {
  border-top: 1px solid var(--iv2-line-dark);
}

.uv2-tld-list > div {
  display: grid;
  grid-template-columns: 7rem minmax(8rem, 1fr) 10rem;
  gap: 1.2rem;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--iv2-line);
  font-family: var(--iv2-sans);
}

.uv2-tld-list meter {
  width: 100%;
  height: 0.8rem;
  accent-color: var(--iv2-rust);
}

.uv2-tld-list span {
  color: var(--iv2-muted);
  font-size: 0.78rem;
  text-align: right;
}

.uv2-distillation {
  display: grid;
  margin-top: clamp(5rem, 9vw, 9rem);
  padding: clamp(2rem, 5vw, 5rem);
  background: var(--iv2-rust-dark);
  color: var(--iv2-paper);
  text-align: center;
}

.uv2-distillation p,
.uv2-distillation span {
  margin: 0;
  color: #eadcca;
}

/* The For Sale page is a reading sequence, so keep its section changes close
   enough to feel like one report rather than a stack of separate posters. */
.uv2-for-sale .uv2-main {
  padding-bottom: 3.5rem !important;
}

.uv2-for-sale .uv2-hero {
  padding-block: clamp(1.75rem, 3vw, 3rem) clamp(1rem, 1.75vw, 1.6rem);
}

.uv2-for-sale .uv2-section {
  padding-top: clamp(1.75rem, 3vw, 3rem);
}

.uv2-for-sale .uv2-section-head {
  margin-bottom: 0.9rem;
  padding-bottom: 0.75rem;
}

.uv2-for-sale .uv2-word-field {
  padding: clamp(1.1rem, 2.5vw, 2.2rem);
}

.uv2-for-sale .uv2-cluster {
  padding: 1.1rem;
}

.uv2-for-sale .uv2-distillation {
  margin-top: clamp(2rem, 3vw, 3rem);
  padding: clamp(1.5rem, 3vw, 3rem);
}

/* How It's Made is a continuous report; keep its machinery close together. */
.uv2-data-room .uv2-main {
  padding-bottom: 3.5rem !important;
}

.uv2-data-room .uv2-hero {
  padding-block: clamp(1.75rem, 3vw, 3rem) clamp(1rem, 1.75vw, 1.6rem);
}

.uv2-data-room .uv2-section {
  padding-top: clamp(1.75rem, 3vw, 3rem);
}

.uv2-data-room .uv2-section-head {
  margin-bottom: 0.9rem;
  padding-bottom: 0.75rem;
}

.uv2-data-room .uv2-process li {
  padding: 0.8rem;
}

.uv2-data-room .uv2-process strong {
  margin-top: 1.1rem;
}

.uv2-data-room .uv2-stat-grid div {
  padding: 0.95rem;
}

.uv2-data-room .uv2-table-wrap caption {
  padding: 0.75rem;
}

.uv2-data-room .uv2-table-wrap th,
.uv2-data-room .uv2-table-wrap td {
  padding: 0.55rem 0.8rem;
}

.uv2-data-room .uv2-table-pair {
  gap: 0.9rem;
}

.uv2-data-room .uv2-limitations {
  padding-bottom: 2rem;
}

.uv2-language-note {
  margin-top: clamp(1.5rem, 2.5vw, 2.5rem);
  padding: 1rem 1.15rem;
  border: 1px solid var(--iv2-line);
  border-left: 2px solid var(--iv2-rust);
  border-radius: 0.35rem;
  background: var(--uv2-panel);
}

.uv2-language-note h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.15;
}

.uv2-language-note p {
  max-width: 66rem;
  margin: 0.45rem 0 0;
  color: var(--iv2-ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.uv2-distillation strong {
  margin: 0.4rem 0;
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.uv2-anchor-nav {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  gap: 0.2rem;
  overflow-x: auto;
  padding: 0.55rem;
  border-bottom: 1px solid var(--iv2-line-dark);
  background: rgba(243, 234, 220, 0.95);
  font-family: var(--iv2-sans);
}

.uv2-anchor-nav a {
  flex: 0 0 auto;
  padding: 0.5rem 0.8rem;
  text-decoration: none;
}

.uv2-process {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--iv2-line-dark);
  border-left: 1px solid var(--iv2-line-dark);
  list-style: none;
}

.uv2-process li {
  display: grid;
  padding: 1rem;
  border-right: 1px solid var(--iv2-line-dark);
  border-bottom: 1px solid var(--iv2-line-dark);
  background: var(--uv2-panel);
}

.uv2-process span,
.uv2-process small {
  color: var(--iv2-muted);
  font-family: var(--iv2-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.uv2-process strong {
  margin-top: 1.6rem;
}

.uv2-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--iv2-line-dark);
  border-left: 1px solid var(--iv2-line-dark);
}

.uv2-stat-grid div {
  display: grid;
  gap: 0.25rem;
  padding: 1.2rem;
  border-right: 1px solid var(--iv2-line-dark);
  border-bottom: 1px solid var(--iv2-line-dark);
  background: var(--uv2-panel);
}

.uv2-stat-grid dt {
  color: var(--iv2-muted);
  font-family: var(--iv2-sans);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.uv2-stat-grid dd {
  order: -1;
  margin: 0;
  font-family: var(--iv2-sans);
  font-size: clamp(1.25rem, 3vw, 2.3rem);
  font-weight: 780;
  letter-spacing: -0.05em;
}

.uv2-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--iv2-line-dark);
  background: var(--uv2-panel);
}

.uv2-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--iv2-sans);
}

.uv2-table-wrap caption {
  padding: 1rem;
  font-family: var(--iv2-serif);
  font-size: 1.45rem;
  font-weight: 700;
  text-align: left;
}

.uv2-table-wrap th,
.uv2-table-wrap td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--iv2-line);
  text-align: left;
}

.uv2-table-wrap th {
  color: var(--iv2-muted);
  font-size: 0.65rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.uv2-table-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: start;
}

.uv2-limitations {
  padding-bottom: 3rem;
}

.uv2-search-layout {
  display: grid;
  grid-template-columns: minmax(17rem, 0.32fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding-top: 0.85rem;
  align-items: start;
}

.uv2-filters {
  position: sticky;
  top: 1rem;
  padding: 1rem;
  border: 1px solid var(--iv2-line-dark);
  background: var(--uv2-panel-strong);
  font-family: var(--iv2-sans);
}

.uv2-filters fieldset {
  margin: 1.2rem 0 0;
  padding: 0;
  border: 0;
}

.uv2-field {
  display: grid;
  gap: 0.35rem;
}

.uv2-field input,
.uv2-field select,
.uv2-submit {
  min-height: 2.8rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--iv2-line-dark);
  border-radius: 0;
  background: var(--iv2-paper);
  color: var(--iv2-ink);
  font: inherit;
}

.uv2-check-list {
  display: grid;
  max-height: 18rem;
  overflow-y: auto;
  margin-top: 0.5rem;
  border-top: 1px solid var(--iv2-line);
}

.uv2-check-list label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.38rem 0;
  border-bottom: 1px solid var(--iv2-line);
  font-size: 0.75rem;
}

.uv2-check-list small {
  color: var(--iv2-muted);
}

.uv2-check-list--signals {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.uv2-filter-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.uv2-submit {
  width: 100%;
  margin-top: 0.8rem;
  border-color: var(--iv2-rust-dark);
  background: var(--iv2-rust-dark);
  color: var(--iv2-paper);
  font-weight: 750;
  cursor: pointer;
}

.uv2-results > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0 1rem;
  border-bottom: 2px solid var(--iv2-ink);
}

.uv2-results h2 {
  margin: 0.3rem 0 0;
  color: var(--iv2-ink-soft);
  font-family: var(--iv2-sans);
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.uv2-results h2 strong {
  margin-right: 0.2rem;
  color: var(--iv2-ink);
  font-family: var(--iv2-serif);
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
  letter-spacing: -0.035em;
}

.uv2-results > header > span {
  color: var(--iv2-muted);
  font-family: var(--iv2-sans);
  font-size: 0.75rem;
  font-weight: 700;
}

.uv2-result-list,
.uv2-favorite-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.uv2-result-list > li,
.uv2-favorite-list > li {
  display: grid;
  grid-template-columns: 3.3rem minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--iv2-line-dark);
}

.uv2-result-rank,
.uv2-favorite-rank {
  color: var(--iv2-muted);
  font-family: var(--iv2-sans);
  font-size: 0.68rem;
  font-weight: 750;
}

.uv2-result-list h3,
.uv2-favorite-list h2 {
  margin: 0.2rem 0 0;
  font-size: 1.2rem;
  line-height: 1.12;
}

.uv2-result-list article > p:last-child,
.uv2-favorite-list article > p:last-child {
  max-width: 58rem;
  margin: 0.55rem 0 0;
  color: var(--iv2-ink-soft);
  line-height: 1.45;
}

.uv2-result-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  color: var(--iv2-muted);
  font-family: var(--iv2-sans);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.uv2-result-meta strong {
  color: var(--iv2-rust-dark);
  font-size: 1rem;
}

.uv2-result-domain {
  margin: 0.2rem 0 0 !important;
  color: var(--iv2-rust-dark) !important;
}

.uv2-result-domain a,
.uv2-result-actions a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.uv2-result-domain-link {
  display: inline-block;
  font-weight: 800;
}

.uv2-result-domain a:hover,
.uv2-result-actions a:hover,
.uv2-result-list h3 a:hover {
  color: var(--iv2-rust) !important;
}

.uv2-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0.75rem 0 0 !important;
  font-family: var(--iv2-sans);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.uv2-result-actions a + a::before {
  margin-right: 1rem;
  color: var(--iv2-line-dark);
  content: "·";
}

.uv2-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  font-family: var(--iv2-sans);
  font-size: 0.75rem;
  font-weight: 700;
}

.uv2-pagination :last-child {
  text-align: right;
}

.uv2-tabs {
  display: flex;
  gap: 0.4rem;
  padding: 1.5rem 0;
  border-bottom: 2px solid var(--iv2-ink);
}

.uv2-tabs button {
  padding: 0.7rem 1rem;
  border: 1px solid var(--iv2-line-dark);
  background: transparent;
  color: var(--iv2-ink-soft);
  font-family: var(--iv2-sans);
  font-weight: 750;
  cursor: pointer;
}

.uv2-tabs button[aria-selected="true"] {
  border-color: var(--iv2-rust-dark);
  background: var(--iv2-rust-dark);
  color: var(--iv2-paper);
}

.uv2-favorite-panel {
  max-width: 82rem;
}

.uv2-catch-count {
  color: var(--iv2-rust-dark);
  font-family: var(--iv2-sans);
  white-space: nowrap;
}

.uv2-empty {
  padding: 3rem 1.5rem;
  border: 1px solid var(--iv2-line-dark);
  background: var(--uv2-panel);
  color: var(--iv2-muted);
  text-align: center;
}

.uv2-archive-list {
  border-top: 1px solid var(--iv2-line-dark);
}

.uv2-archive-list article {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr) 2rem;
  gap: clamp(1rem, 4vw, 4rem);
  align-items: start;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--iv2-line-dark);
}

.uv2-archive-list time {
  color: var(--iv2-rust-dark);
  font-family: var(--iv2-sans);
  font-size: 0.72rem;
  font-weight: 800;
}

.uv2-archive-list h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  line-height: 1.05;
}

.uv2-archive-list p {
  max-width: 64rem;
  margin: 0.55rem 0 0;
  color: var(--iv2-ink-soft);
}

.uv2-archive-entry {
  font-family: var(--iv2-sans);
  font-size: 1.3rem;
  text-decoration: none;
}

.uv2-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem 2.5rem;
  border-top: 1px solid var(--iv2-line-dark);
  color: var(--iv2-muted);
  font-family: var(--iv2-sans);
  font-size: 0.72rem;
}

.uv2-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .uv2-hero--split,
  .uv2-section-head,
  .uv2-search-layout,
  .uv2-table-pair {
    grid-template-columns: 1fr;
  }

  .uv2-cluster-grid,
  .uv2-bias-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .uv2-process,
  .uv2-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .uv2-filters {
    position: static;
  }
}

@media (max-width: 620px) {
  .uv2-hero {
    padding-top: 2.7rem;
  }

  .uv2-hero h1,
  .uv2-data-room .uv2-hero h1,
  .uv2-search .uv2-hero h1 {
    font-size: var(--iv2-display-mobile);
  }

  .uv2-search .uv2-hero h1 {
    font-size: var(--uv2-search-display);
  }

  .uv2-cluster-grid,
  .uv2-bias-grid,
  .uv2-process,
  .uv2-stat-grid {
    grid-template-columns: 1fr;
  }

  .uv2-section-head {
    gap: 0.8rem;
  }

  .uv2-word--5 { font-size: 1.9rem; }
  .uv2-word--6 { font-size: 2.35rem; }

  .uv2-tld-list > div {
    grid-template-columns: 4rem minmax(5rem, 1fr) 6.5rem;
    gap: 0.55rem;
  }

  .uv2-filter-row {
    grid-template-columns: 1fr;
  }

  .uv2-result-list > li,
  .uv2-favorite-list > li {
    grid-template-columns: 2.1rem minmax(0, 1fr);
  }

  .uv2-catch-count {
    grid-column: 2;
  }

  .uv2-archive-list article {
    grid-template-columns: 1fr auto;
    gap: 0.65rem;
  }

  .uv2-archive-list time {
    grid-column: 1 / -1;
  }

  .uv2-footer {
    align-items: start;
    flex-direction: column;
  }
}
