/*
Theme Name: Pro Review Metric Mobile-First
Theme URI: https://proreviewmetric.com/
Author: Pro Review Metric
Description: Mobile-first editorial theme for product reviews, research dossiers and focused landing pages.
Version: 2.1.0
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: pro-review-metric
*/

:root {
  --black: #050505;
  --graphite: #111;
  --steel: #292929;
  --gray: #666660;
  --silver: #b8b8b8;
  --mist: #e7e7e2;
  --paper: #f6f6f3;
  --white: #fff;
  --max: 1180px;
  --read: 820px;
  --shadow: 0 18px 48px rgba(0, 0, 0, .08);
  --focus: 2px solid #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--black);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  opacity: .8;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.reading {
  width: min(calc(100% - 48px), var(--read));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 99999;
  padding: 10px 14px;
  background: #fff;
  color: #000;
}

.skip-link:focus {
  left: 12px;
}

/* Header */
.site-header {
  position: relative;
  z-index: 100;
  background: var(--black);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.header-inner {
  position: relative;
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: 240px;
  color: #fff;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1.1;
  text-decoration: none;
}

.brand:hover {
  opacity: 1;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 38px;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  width: 44px;
  min-width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .42);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu-toggle:focus-visible,
.nav a:focus-visible,
.button:focus-visible,
.footer-links a:focus-visible {
  outline: var(--focus);
  outline-offset: 4px;
}

.menu-toggle-lines {
  display: grid;
  width: 20px;
  gap: 4px;
}

.menu-toggle-lines span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.menu-toggle.is-open .menu-toggle-lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-lines span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle-lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Shared hero */
.hero {
  display: flex;
  align-items: center;
  min-height: auto;
  padding: 88px 0 76px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 25%, rgba(255, 255, 255, .14), transparent 24%),
    linear-gradient(135deg, #050505 0%, #141414 65%, #050505 100%);
  color: #fff;
}

.hero.compact {
  padding: 76px 0 62px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--silver);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .17em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero h1,
.page-title {
  max-width: 950px;
  margin: 0 0 24px;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: clamp(44px, 6.2vw, 78px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  text-transform: uppercase;
}

.hero p {
  max-width: 720px;
  margin: 0 0 30px;
  color: #d1d1d1;
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.52;
}

.page-hero {
  text-align: center;
}

.page-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero h1 {
  margin-inline: auto;
}

.page-hero p:not(.eyebrow) {
  margin-inline: auto;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid currentColor;
  background: transparent;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .1em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, opacity .18s ease;
}

.button:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.button.light {
  border-color: #fff;
  background: #fff;
  color: #000;
}

.button.dark {
  border-color: #000;
  background: #000;
  color: #fff;
}

.button.ghost {
  border-color: rgba(255, 255, 255, .72);
  color: #fff;
}

.button.outline {
  border-color: #111;
  background: #fff;
  color: #111;
}

/* Sections */
.section {
  padding: 84px 0;
}

.section.white {
  background: #fff;
}

.section.dark {
  background: var(--black);
  color: #fff;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 38px;
}

.section-title {
  max-width: 780px;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.02;
  text-transform: uppercase;
}

.section-copy {
  max-width: 610px;
  margin: 0;
  color: var(--gray);
  line-height: 1.65;
}

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

/* Review cards */
.card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--mist);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-image {
  display: flex;
  height: 240px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px;
  background: #f7f7f4;
}

.card-image img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center;
  transform: none !important;
}

.card-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #111, #454545);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 10px;
  color: #74746e;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.draft-label {
  display: inline-flex;
  align-items: center;
  padding: 4px 7px;
  border: 1px solid #b8b8b2;
  background: #fafaf8;
  color: #555;
}

.card h2 {
  margin: 6px 0 13px;
  overflow-wrap: anywhere;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.card h2 a {
  text-decoration-thickness: 1px;
}

.card-summary,
.card p {
  margin: 0 0 22px;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.62;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

/* Method system */
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #333;
  border-left: 1px solid #333;
}

.method {
  min-width: 0;
  padding: 30px;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
}

.method strong {
  display: block;
  margin-bottom: 28px;
  color: #aaa;
  font-size: 11px;
  letter-spacing: .15em;
}

.method h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.12;
}

.method p {
  margin: 0;
  color: #aaa;
  font-size: 15px;
  line-height: 1.6;
}

/* Generic page content */
.content-wrap {
  padding: 48px 0 80px;
}

.content {
  min-width: 0;
  overflow-wrap: anywhere;
  border: 1px solid var(--mist);
  background: #fff;
  padding: clamp(28px, 5vw, 64px);
}

.content > :first-child {
  margin-top: 0;
}

.content > :last-child {
  margin-bottom: 0;
}

.content h2 {
  margin: 58px 0 20px;
  overflow-wrap: anywhere;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -.04em;
  line-height: 1.08;
}

.content h3 {
  margin: 40px 0 15px;
  overflow-wrap: anywhere;
  font-size: 25px;
  letter-spacing: -.03em;
  line-height: 1.2;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.content th,
.content td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}

.disclosure {
  padding: 14px 0;
  color: #666;
  font-size: 12px;
  line-height: 1.5;
}

.video {
  width: min(calc(100% - 48px), 1000px);
  aspect-ratio: 16 / 9;
  margin: 60px auto;
  box-shadow: 0 22px 65px rgba(0, 0, 0, .16);
}

.video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  margin: 58px 0 0;
  padding: clamp(28px, 5vw, 52px);
  background: #050505;
  color: #fff;
}

.cta h2 {
  margin: 0 0 10px;
  color: #fff;
}

.cta p {
  margin: 0;
  color: #bbb;
}

/* Review hero */
.review-hero {
  padding: 68px 0 64px;
}

.review-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: 64px;
}

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

.review-hero .hero-subheadline {
  max-width: 680px;
}

.badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .34);
  color: #fff;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.product-stage {
  position: relative;
  display: flex;
  min-height: 470px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 28px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 66%);
}

.product-stage::before,
.product-stage::after {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255, 255, 255, .14);
  content: "";
  transform: rotate(45deg);
}

.product-stage::after {
  inset: 24%;
}

.product-stage .product-render {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 30px 42px rgba(0, 0, 0, .5));
}

.product-stage--empty {
  min-height: 360px;
  border: 1px dashed rgba(255, 255, 255, .22);
  color: #777;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-disclosure {
  max-width: 640px;
  margin: 17px 0 0 !important;
  color: #999 !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
}

.review-credibility {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 20px;
  max-width: 700px;
  margin-top: 12px;
  color: #aaa;
  font-size: 12px;
  line-height: 1.45;
}

.review-credibility a {
  color: #fff;
}

.review-dossier-link {
  font-weight: 750;
  text-decoration: none;
}

.score {
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  text-align: center;
}

.score strong {
  display: block;
  font-size: 46px;
  letter-spacing: -.05em;
  line-height: 1;
}

.score span {
  display: block;
  margin-top: 7px;
  color: #bbb;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.trust-strip {
  border-bottom: 1px solid var(--mist);
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-item {
  min-width: 0;
  padding: 22px 24px;
  border-right: 1px solid var(--mist);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item small,
.review-fact small {
  display: block;
  margin-bottom: 5px;
  color: #888;
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.trust-item strong,
.review-fact strong {
  display: block;
  font-size: 14px;
  line-height: 1.38;
}

.review-facts-band {
  border-top: 1px solid #252525;
  border-bottom: 1px solid #252525;
  background: #050505;
  color: #fff;
}

.review-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.review-fact {
  min-width: 0;
  padding: 24px;
  border-right: 1px solid #252525;
}

.review-fact:last-child {
  border-right: 0;
}

/* Automatic review sections */
.lp-section {
  padding: 88px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.lp-section.white {
  background: #fff;
  color: #050505;
}

.lp-section.paper {
  background: var(--paper);
  color: #050505;
}

.lp-section.silver {
  background: #dededb;
  color: #050505;
}

.lp-section.dark {
  border-color: #202020;
  background: #070707;
  color: #fff;
}

.lp-section-grid {
  display: grid;
  grid-template-columns: minmax(250px, .68fr) minmax(0, 1.32fr);
  align-items: start;
  gap: 78px;
}

.lp-title {
  position: sticky;
  top: 24px;
}

.lp-title h2 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(40px, 5vw, 66px);
  letter-spacing: -.055em;
  line-height: .98;
  text-transform: uppercase;
}

.lp-copy {
  max-width: 820px;
  min-width: 0;
}

.lp-copy > p:first-child {
  margin-top: 0;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.5;
}

.lp-copy h3 {
  margin: 38px 0 15px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.035em;
  line-height: 1.12;
}

.lp-copy p,
.lp-copy li {
  font-size: 18px;
  line-height: 1.75;
}

.lp-copy ul,
.lp-copy ol {
  padding-left: 24px;
}

.lp-copy li {
  margin: 10px 0;
}

.lp-section.dark .lp-copy p,
.lp-section.dark .lp-copy li {
  color: #cfcfcf;
}

.lp-section.dark .lp-copy h3,
.lp-section.dark .lp-title h2 {
  color: #fff;
}

.lp-section--facts .lp-copy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-section--facts .lp-copy li {
  margin: 0;
  padding: 20px;
  border: 1px solid #ddd;
  background: #fff;
  font-weight: 700;
}

.lp-section--ingredients .wp-block-image,
.lp-section--ingredients figure {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 34px 0;
  overflow: hidden;
  background: #c8c8c5;
}

.lp-section--ingredients .wp-block-image img,
.lp-section--ingredients figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-section--pros .wp-block-columns {
  gap: 18px;
}

.lp-section--pros .wp-block-column {
  padding: 28px;
  border: 1px solid #2f2f2f;
  background: #111;
}

.lp-section--pros .wp-block-column h3 {
  margin-top: 0;
}

.lp-section--price table {
  background: #fff;
}

.lp-section--final .lp-copy > p:first-child {
  color: #fff;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.28;
}

.lp-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding: 26px;
  border: 1px solid #d0d0d0;
  background: #fff;
}

.lp-inline-cta p {
  margin: 0 !important;
  color: #050505 !important;
  font-weight: 800;
}

.closing-cta {
  padding: 96px 0;
  background: #050505;
  color: #fff;
}

.closing-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 60px;
}

.closing-cta h2 {
  max-width: 900px;
  margin: 0 0 22px;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -.055em;
  line-height: .98;
  text-transform: uppercase;
}

.closing-cta p {
  max-width: 720px;
  color: #b9b9b9;
}

.closing-cta .disclosure {
  max-width: 720px;
  color: #777;
}

.wp-block-image.is-style-prm-ingredient,
.prm-media-16x9 {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ddd;
}

.wp-block-image.is-style-prm-ingredient img,
.prm-media-16x9 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wp-block-image.is-style-prm-product-square {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--mist);
  background: #fff;
}

.wp-block-image.is-style-prm-product-square img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Reviews archive */
.prm-library-hero {
  text-align: center;
}

.prm-library-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.prm-library-hero .page-title,
.prm-library-hero p:not(.eyebrow) {
  margin-inline: auto;
}

.prm-library-hero .actions {
  justify-content: center;
}

.prm-library-trust {
  border-bottom: 1px solid var(--mist);
  background: #fff;
}

.prm-library-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.prm-library-trust-item {
  min-width: 0;
  padding: 22px 24px;
  border-right: 1px solid var(--mist);
}

.prm-library-trust-item:last-child {
  border-right: 0;
}

.prm-library-trust-item small {
  display: block;
  margin-bottom: 5px;
  color: #888;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.prm-library-trust-item strong {
  display: block;
  font-size: 14px;
  line-height: 1.38;
}

.prm-library-section {
  background: #fff;
}

.prm-library-empty,
.prm-home-empty {
  padding: 48px;
  border: 1px solid var(--mist);
  background: var(--paper);
  text-align: center;
}

.prm-library-empty h2,
.prm-home-empty h3 {
  margin: 0 0 10px;
  font-size: 30px;
}

.pagination {
  margin-top: 42px;
}

.pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination a,
.pagination span {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid #ccc;
  background: #fff;
  text-decoration: none;
}

.pagination .current {
  border-color: #050505;
  background: #050505;
  color: #fff;
}

.prm-library-method {
  background: #050505;
  color: #fff;
}

.prm-library-method .section-copy {
  color: #aaa;
}

.prm-library-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #333;
  border-left: 1px solid #333;
}

.prm-library-method-item {
  min-width: 0;
  padding: 30px;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
}

.prm-library-method-item small {
  display: block;
  margin-bottom: 22px;
  color: #aaa;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.prm-library-method-item h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.prm-library-method-item p {
  margin: 0;
  color: #aaa;
  font-size: 15px;
  line-height: 1.6;
}

.prm-library-cta {
  background: var(--paper);
}

.prm-library-cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 40px 44px;
  border-top: 4px solid #050505;
  background: #fff;
}

.prm-library-cta-box h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -.045em;
  line-height: 1.05;
}

.prm-library-cta-box p {
  max-width: 700px;
  margin: 0;
  color: var(--gray);
}

/* Home */
.prm-home-hero {
  padding: 78px 0 72px;
}

.prm-home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr);
  align-items: center;
  gap: 64px;
}

.prm-home-hero-copy {
  min-width: 0;
}

.prm-home-hero-copy h1 {
  max-width: 860px;
  margin: 0 0 22px;
  font-size: clamp(52px, 6.5vw, 84px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  text-transform: none;
}

.prm-home-hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  font-size: 20px;
  line-height: 1.62;
}

.prm-home-inspection {
  padding: 28px;
  border: 1px solid #3b3b3b;
  background: rgba(255, 255, 255, .035);
}

.prm-home-inspection-list {
  display: grid;
  border-top: 1px solid #383838;
}

.prm-home-inspection-list > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0 14px;
  padding: 18px 0;
  border-bottom: 1px solid #383838;
}

.prm-home-inspection-list span {
  grid-row: 1 / span 2;
  color: #8a8a8a;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
}

.prm-home-inspection-list strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 16px;
}

.prm-home-inspection-list p {
  margin: 0;
  color: #aaa;
  font-size: 14px;
  line-height: 1.52;
}

.prm-home-trust {
  border-bottom: 1px solid var(--mist);
  background: #fff;
}

.prm-home-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.prm-home-trust-item {
  min-width: 0;
  min-height: 104px;
  padding: 23px 25px;
  border-right: 1px solid var(--mist);
}

.prm-home-trust-item:last-child {
  border-right: 0;
}

.prm-home-trust-item small {
  display: block;
  margin-bottom: 6px;
  color: #888;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.prm-home-trust-item strong {
  display: block;
  font-size: 14px;
  line-height: 1.4;
}

.prm-home-section-action,
.prm-home-method-action {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.prm-home-problem {
  background: var(--paper);
}

.prm-home-problem-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: 64px;
}

.prm-home-problem-copy {
  padding-top: 28px;
}

.prm-home-problem-copy p {
  margin: 0 0 20px;
  color: var(--gray);
  font-size: 18px;
  line-height: 1.72;
}

.prm-home-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid #cfcfca;
  border-left: 1px solid #cfcfca;
}

.prm-home-value-card {
  min-width: 0;
  min-height: 250px;
  padding: 30px;
  border-right: 1px solid #cfcfca;
  border-bottom: 1px solid #cfcfca;
  background: #fff;
}

.prm-home-value-card small {
  display: block;
  margin-bottom: 26px;
  color: #777;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.prm-home-value-card h3 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.1;
}

.prm-home-value-card p {
  margin: 0;
  color: var(--gray);
  font-size: 15px;
}

.prm-home-method .section-copy {
  color: #aaa;
}

.prm-home-boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.prm-home-boundary-grid article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  min-width: 0;
  min-height: 184px;
  padding: 27px;
  border: 1px solid var(--mist);
  background: #fafaf8;
}

.prm-home-boundary-grid article > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #111;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 850;
}

.prm-home-boundary-grid h3 {
  margin: 0 0 8px;
  font-size: 23px;
  line-height: 1.13;
}

.prm-home-boundary-grid p {
  margin: 0;
  color: var(--gray);
  font-size: 15px;
}

.prm-home-final {
  background: var(--paper);
}

.prm-home-final-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 44px 46px;
  border-top: 4px solid #050505;
  background: #fff;
}

.prm-home-final-box h2 {
  max-width: 760px;
  margin: 0 0 12px;
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.prm-home-final-box p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: var(--gray);
}

.prm-home-final-box .actions {
  justify-content: flex-end;
}

/* Landing templates */
.minimal-shell {
  min-height: 100vh;
  background: #080808;
  color: #fff;
}

.minimal-header {
  padding: 22px 0;
  border-bottom: 1px solid #252525;
}

.landing-main {
  padding: 54px 0;
}

.landing-card {
  max-width: 850px;
  margin: auto;
  padding: clamp(28px, 6vw, 68px);
  background: #fff;
  color: #050505;
}

.landing-card .content {
  padding: 0;
  border: 0;
}

/* Footer */
.site-footer {
  padding: 34px 0 20px;
  background: #050505;
  color: #fff;
}

.footer-shell {
  display: grid;
  gap: 20px;
  text-align: center;
}

.footer-intro {
  max-width: 760px;
  margin-inline: auto;
}

.footer-brand {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.footer-copy {
  max-width: 680px;
  margin: 0 auto;
  color: #c6c6c1;
  font-size: 14px;
  line-height: 1.55;
}

.footer-trust {
  margin: 6px 0 0;
  color: #8b8b85;
  font-size: 11px;
  line-height: 1.45;
}

.footer-nav {
  display: grid;
  gap: 8px;
  width: min(100%, 980px);
  margin-inline: auto;
  padding-top: 16px;
  border-top: 1px solid #292929;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  display: inline-flex;
  align-items: center;
}

.footer-links li:not(:last-child)::after {
  content: "·";
  margin: 0 9px;
  color: #575752;
}

.footer-links a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  color: #d2d2cd;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.footer-links--legal a {
  color: #a8a8a2;
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  padding-top: 12px;
  border-top: 1px solid #292929;
  color: #74746f;
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}

/* Tablet */
@media (max-width: 1000px) {
  .prm-home-hero-grid,
  .prm-home-problem-grid,
  .prm-home-final-box {
    grid-template-columns: 1fr;
  }

  .prm-home-hero-grid {
    gap: 44px;
  }

  .prm-home-inspection {
    max-width: 760px;
  }

  .prm-home-problem-grid {
    gap: 12px;
  }

  .prm-home-problem-copy {
    max-width: 800px;
    padding-top: 0;
  }

  .prm-home-final-box .actions {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 200;
    visibility: hidden;
    transform: translateY(-8px);
    opacity: 0;
    border-top: 1px solid #2e2e2e;
    background: #050505;
    transition: transform .18s ease, opacity .18s ease, visibility .18s ease;
  }

  .nav.open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
  }

  .nav ul {
    display: grid;
    gap: 0;
    padding: 12px 24px 20px;
  }

  .nav li {
    border-bottom: 1px solid #262626;
  }

  .nav li:last-child {
    border-bottom: 0;
  }

  .nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
  }

  .hero-grid,
  .review-hero-grid,
  .lp-section-grid,
  .closing-cta-grid,
  .cta,
  .prm-library-cta-box {
    grid-template-columns: 1fr;
  }

  .review-hero-grid {
    gap: 36px;
  }

  .review-hero-copy {
    order: 1;
  }

  .product-stage,
  .score {
    order: 2;
  }

  .product-stage {
    width: min(100%, 500px);
    min-height: 360px;
    margin-inline: auto;
  }

  .score {
    margin: 0;
  }

  .lp-title {
    position: static;
  }

  .lp-section-grid {
    gap: 34px;
  }

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

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

  .trust-grid,
  .prm-library-trust-grid,
  .prm-home-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-item:nth-child(2),
  .prm-library-trust-item:nth-child(2),
  .prm-home-trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n+2),
  .prm-library-trust-item:nth-child(-n+2),
  .prm-home-trust-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--mist);
  }

  .prm-home-value-grid,
  .prm-library-method-grid {
    grid-template-columns: 1fr;
  }

  .prm-home-value-card {
    min-height: 0;
  }

  .prm-home-boundary-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .container,
  .reading {
    width: min(calc(100% - 24px), var(--max));
  }

  .header-inner {
    min-height: 64px;
  }

  .brand {
    max-width: 220px;
    font-size: 17px;
  }

  .brand-logo {
    max-width: 200px;
    max-height: 34px;
  }

  .hero,
  .hero.compact {
    padding: 46px 0 42px;
  }

  .hero h1,
  .page-title {
    margin-bottom: 18px;
    font-size: clamp(34px, 10.5vw, 46px);
    letter-spacing: -.045em;
    line-height: 1.02;
  }

  .hero p {
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 1.55;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .button {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
  }

  .section {
    padding: 58px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 30px;
  }

  .section-copy {
    margin-top: 16px;
  }

  .section-title {
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1.03;
  }

  .grid,
  .method-grid,
  .trust-grid,
  .prm-library-trust-grid,
  .prm-home-trust-grid {
    grid-template-columns: 1fr;
  }

  .card-image {
    height: 250px;
    padding: 22px;
  }

  .card-body {
    padding: 22px;
  }

  .card h2 {
    font-size: 24px;
  }

  .trust-item,
  .prm-library-trust-item,
  .prm-home-trust-item {
    min-height: 0;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--mist);
  }

  .trust-item:last-child,
  .prm-library-trust-item:last-child,
  .prm-home-trust-item:last-child {
    border-bottom: 0;
  }

  .content-wrap {
    padding: 24px 0 54px;
  }

  .content {
    padding: 26px 18px;
  }

  .content h2 {
    margin-top: 48px;
    font-size: clamp(28px, 8.5vw, 38px);
  }

  .content h3 {
    margin-top: 34px;
    font-size: 22px;
  }

  .content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  .review-hero {
    padding: 42px 0 44px;
  }

  .review-hero-grid {
    gap: 28px;
  }

  .review-hero h1 {
    font-size: clamp(35px, 10.8vw, 46px);
  }

  .review-hero .hero-subheadline {
    font-size: 17px;
  }

  .product-stage {
    width: 100%;
    min-height: 0;
    padding: 18px 10px 8px;
  }

  .product-stage::before {
    inset: 14%;
  }

  .product-stage::after {
    inset: 28%;
  }

  .product-stage .product-render {
    width: min(100%, 280px);
    max-height: 300px;
  }

  .review-credibility {
    display: grid;
    gap: 6px;
  }

  .review-facts-grid {
    grid-template-columns: 1fr;
  }

  .review-fact {
    border-right: 0;
    border-bottom: 1px solid #252525;
  }

  .review-fact:last-child {
    border-bottom: 0;
  }

  .video {
    width: min(calc(100% - 24px), 1000px);
    margin: 44px auto;
  }

  .lp-section {
    padding: 54px 0;
  }

  .lp-title h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .lp-copy p,
  .lp-copy li {
    font-size: 16px;
  }

  .lp-section--facts .lp-copy ul {
    grid-template-columns: 1fr;
  }

  .lp-inline-cta {
    display: block;
  }

  .lp-inline-cta .button {
    margin-top: 15px;
  }

  .closing-cta {
    padding: 68px 0;
  }

  .closing-cta h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .prm-library-hero .page-title {
    font-size: clamp(36px, 11vw, 48px);
  }

  .prm-library-cta-box,
  .prm-home-final-box {
    padding: 30px 22px;
  }

  .prm-home-hero {
    padding: 40px 0 38px;
  }

  .prm-home-hero-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(37px, 11vw, 44px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.05;
  }

  .prm-home-hero-copy > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.58;
  }

  .prm-home-inspection {
    padding: 22px;
  }

  .prm-home-value-card {
    padding: 26px;
  }

  .prm-home-boundary-grid article {
    grid-template-columns: 38px 1fr;
    min-height: 0;
    padding: 23px;
  }

  .prm-home-final-box .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .landing-main {
    padding: 28px 0;
  }

  .landing-card {
    padding: 28px 20px;
  }

  .site-footer {
    padding: 42px 0 20px;
  }

  .footer-shell {
    gap: 28px;
  }

  .footer-brand {
    font-size: 24px;
  }

  .footer-copy {
    font-size: 14px;
  }

  .footer-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
    padding-top: 24px;
  }

  .footer-group--legal {
    grid-column: 1 / -1;
  }

  .footer-links--legal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 10px;
  }

  .footer-links a {
    min-height: 36px;
    font-size: 13px;
  }

  .footer-bottom {
    display: grid;
    gap: 4px;
  }
}

@media (max-width: 380px) {
  .container,
  .reading {
    width: min(calc(100% - 20px), var(--max));
  }

  .brand {
    max-width: 190px;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links--legal {
    grid-template-columns: 1fr 1fr;
  }
}

/* Dynamic Product Research Library */
.prm-research-hero {
  text-align: center;
}

.prm-research-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.prm-research-hero h1,
.prm-research-hero p:not(.eyebrow) {
  margin-inline: auto;
}

.prm-research-library {
  background: #fff;
}

.prm-research-summary {
  display: grid;
  grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr);
  align-items: start;
  gap: 30px;
  margin-bottom: 30px;
  padding: 32px 36px;
  border-left: 5px solid #050505;
  background: var(--paper);
}

.prm-research-summary strong {
  font-size: 25px;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.prm-research-summary p {
  margin: 0;
  font-size: 18px;
  line-height: 1.62;
}

.prm-research-controls {
  margin-bottom: 56px;
  padding: 26px;
  border: 1px solid var(--mist);
  background: #fafaf8;
}

.prm-research-controls > label {
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 800;
}

.prm-research-search-field {
  position: relative;
}

.prm-research-search-field input {
  width: 100%;
  min-height: 50px;
  padding: 12px 56px 12px 15px;
  border: 1px solid #bfbfba;
  border-radius: 0;
  background: #fff;
  color: #050505;
}

.prm-research-clear {
  position: absolute;
  top: 50%;
  right: 5px;
  display: inline-flex;
  width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid #050505;
  background: #050505;
  color: #fff;
  font: 700 24px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.prm-research-clear[hidden] {
  display: none;
}

.prm-research-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 15px;
}

.prm-research-filters button {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid #bfbfba;
  background: #fff;
  color: #050505;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.prm-research-filters button[aria-pressed="true"] {
  border-color: #050505;
  background: #050505;
  color: #fff;
}

.prm-research-count {
  margin: 16px 0 0;
  color: var(--gray);
  font-size: 13px;
}

.prm-research-heading {
  margin-bottom: 32px;
}

.prm-research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.prm-research-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  padding: 27px;
  border: 1px solid var(--mist);
  background: #fff;
}

.prm-research-card[hidden] {
  display: none;
}

.prm-research-card small {
  display: block;
  margin-bottom: 9px;
  color: #777;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.prm-research-card h2 {
  margin: 0 0 12px;
  overflow-wrap: anywhere;
  font-size: 25px;
  letter-spacing: -.035em;
  line-height: 1.12;
}

.prm-research-card p {
  margin: 0 0 22px;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.62;
}

.prm-research-card .draft-label {
  align-self: flex-start;
  margin: 0 0 12px;
}

.prm-research-card .button {
  width: 100%;
  margin-top: auto;
}

.prm-research-empty {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--mist);
  background: var(--paper);
}

.prm-research-empty p {
  margin: 6px 0 0;
}

.prm-research-method {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 54px;
}

.prm-research-method article {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--mist);
  background: #fafaf8;
}

.prm-research-method small {
  display: block;
  margin-bottom: 8px;
  color: #777;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .13em;
}

.prm-research-method h3 {
  margin: 0 0 9px;
  font-size: 21px;
  line-height: 1.15;
}

.prm-research-method p {
  margin: 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.58;
}

@media (max-width: 900px) {
  .prm-research-summary {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .prm-research-method {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .prm-research-summary {
    padding: 24px 22px;
  }

  .prm-research-summary strong {
    font-size: 22px;
  }

  .prm-research-summary p {
    font-size: 16px;
  }

  .prm-research-controls {
    margin-bottom: 44px;
    padding: 20px;
  }

  .prm-research-search-field input {
    min-height: 48px;
    padding: 11px 52px 11px 13px;
  }

  .prm-research-clear {
    right: 4px;
    width: 38px;
    min-height: 38px;
    font-size: 22px;
  }

  .prm-research-filters {
    gap: 7px;
  }

  .prm-research-filters button {
    min-height: 38px;
    padding: 7px 11px;
    font-size: 12px;
  }

  .prm-research-grid,
  .prm-research-method {
    grid-template-columns: 1fr;
  }

  .prm-research-card,
  .prm-research-method article {
    padding: 22px;
  }
}


/* V2.1 visual refinements */
@media (max-width: 620px) {
  .prm-home-featured .card-summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .site-footer {
    padding: 28px 0 18px;
  }

  .footer-shell {
    gap: 16px;
  }

  .footer-brand {
    font-size: 22px;
  }

  .footer-copy {
    max-width: 320px;
    font-size: 13px;
    line-height: 1.5;
  }

  .footer-trust {
    max-width: 300px;
    margin-inline: auto;
    font-size: 10px;
  }

  .footer-nav {
    gap: 6px;
    padding-top: 14px;
  }

  .footer-links li:not(:last-child)::after {
    margin: 0 7px;
  }

  .footer-links a,
  .footer-links--legal a {
    min-height: 30px;
    font-size: 12px;
  }

  .footer-links--legal a {
    font-size: 11px;
  }

  .footer-bottom {
    display: flex;
    gap: 3px 6px;
    padding-top: 10px;
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  .card-image {
    height: 236px;
    padding: 20px;
  }

  .footer-links li:not(:last-child)::after {
    margin: 0 5px;
  }
}
