/* REHunter Ecosystem — Base Styles (Phase 1 Redesign) */
:root {
  --bg: #091120;
  --panel: #101d33;
  --panel-2: #152642;
  --ink: #edf4ff;
  --muted: #a9b9d1;
  --blue: #2563eb;
  --violet: #8b5cf6;
  --silver: #c8d6e5;
  --gold: #d4a72c;
  --line: #29415f;
  --success: #34d399;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
}

/* ===== NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #091120ed;
  border-bottom: 1px solid #1c304c;
  backdrop-filter: blur(14px);
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  color: #fff;
  text-decoration: none;
  font-size: 1.52rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  display: flex;
  align-items: baseline;
  gap: 0;
  flex-wrap: wrap;
}

.brand-re { color: #3b82f6; }
.brand-hunter { color: #fff; }
.brand-sub {
  color: var(--silver);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-left: 8px;
}

.tm {
  font-size: 0.65em;
  vertical-align: super;
  color: var(--muted);
  font-weight: 400;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header nav a {
  color: #c9d7ec;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: #8bb6ff;
}

.nav-cta {
  padding: 9px 14px;
  border: 1px solid #467bc8;
  border-radius: 8px;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: rgba(37, 99, 235, 0.15);
  border-color: #6fa3f0;
}

/* ===== HERO ===== */
.hero {
  background: radial-gradient(circle at 87% 12%, #273e72 0, transparent 30%),
              linear-gradient(135deg, #091120, #142d53);
  padding: 80px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 10%;
  width: 500px;
  height: 500px;
  transform: translate(0, -50%);
  background:
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(37,99,235,0.04) 80px, rgba(37,99,235,0.04) 81px),
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(37,99,235,0.04) 80px, rgba(37,99,235,0.04) 81px);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 30%;
  right: 15%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  text-align: left;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  width: min(44vw, 460px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 70px rgba(37, 99, 235, 0.14));
}

.hero-content {
  max-width: 800px;
}

.eyebrow {
  margin: 0 0 11px;
  color: #96bfff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin: 0 0 18px;
}

h1 em {
  color: #8eb6ff;
  font-style: normal;
}

.lead {
  max-width: 600px;
  color: #c4d2e7;
  font-size: 1.05rem;
  line-height: 1.6;
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  display: inline-block;
  border: 0;
  border-radius: 8px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.button:focus-visible {
  outline: 2px solid #6fa3f0;
  outline-offset: 2px;
}

.primary {
  background: linear-gradient(135deg, var(--blue), #4f46e5);
  color: white;
}

.primary:hover { background: linear-gradient(135deg, #3b82f6, #6366f1); }

.secondary {
  border: 1px solid #5278ad;
  color: #dceafe;
  background: #10203a;
}

.secondary:hover { border-color: #6fa3f0; background: #172d4d; }

/* ===== AUTHORITY STRIP ===== */
.authority-strip {
  background: #07101d;
  border-top: 1px solid rgba(74,124,199,0.22);
  border-bottom: 1px solid rgba(74,124,199,0.22);
  padding: 18px 0;
}

.authority-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.authority-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 32px;
  border-right: 1px solid rgba(74,124,199,0.28);
}

.authority-item:last-child {
  border-right: none;
}

.authority-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.authority-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7699cd;
}


.ip-credibility {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #7699cd;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(74,124,199,0.15);
}

/* ===== CONNECTED WORKFLOW ===== */
.workflow-section {
  background: #07101d;
  padding: 40px 0 36px;
  border-bottom: 1px solid rgba(74,124,199,0.22);
}

.connected-workflow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.workflow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.node-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  border: 2px solid rgba(99,102,241,0.4);
}

.node-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--silver);
  text-align: center;
  white-space: nowrap;
}

.connector {
  display: block;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #4f46e5);
  margin: 0 4px;
  margin-bottom: 22px;
  border-radius: 1px;
  opacity: 0.6;
}

.workflow-caption {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 18px;
}

/* ===== PRODUCT GRID ===== */
.section {
  padding: 72px 0;
}

.products-section {
  background: #091120;
}

.section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 32px;
  text-align: center;
}

.section .eyebrow {
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card {
  background: linear-gradient(150deg, #101f35, #0c1828);
  border: 1px solid #324d70;
  border-radius: 13px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  border-color: #4a7cc7;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #2563eb;
  border-radius: 13px 13px 0 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover::before,
.product-card:focus-within::before {
  opacity: 1;
}

.product-icon-wrap {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.product-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.tag {
  color: #98bdff;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 750;
  margin: 0 0 6px;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #fff;
}

.product-desc {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
  flex: 1;
  margin: 0 0 14px;
}

.product-link {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 6px;
  color: #8bb6ff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
  transition: background 0.2s, border-color 0.2s;
}

.product-link:hover,
.product-link:focus-visible {
  background: rgba(37, 99, 235, 0.12);
  border-color: #6fa3f0;
  color: #a9ccff;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid #1b304d;
  padding: 36px 0 28px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-brand strong {
  font-size: 1.1rem;
  color: #fff;
}

.footer-tagline {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 4px;
}

.footer-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: #8bb6ff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  background: rgba(37, 99, 235, 0.1);
  color: #a9ccff;
}


.footer-ip {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 8px 0;
}

.footer-ip span {
  font-size: 0.72rem;
  font-weight: 600;
  color: #7699cd;
}

.footer-legal {
  color: #8a9bb5;
  font-size: 0.72rem;
  line-height: 1.7;
}

.footer-legal p { margin: 3px 0; }

.footer-secure {
  color: #b0c4de;
  font-size: 0.75rem;
}

/* ===== PAGES (Contractors, Network, etc.) ===== */
.page-hero {
  background: radial-gradient(circle at 87% 12%, #273e72 0, transparent 30%),
              linear-gradient(135deg, #091120, #142d53);
  padding: 70px 0;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin: 0 0 16px;
}

.compact { padding: 54px 0; }

.flow-card,
.product-card-legacy,
.directory-card,
.filter-card,
.apply-card {
  background: linear-gradient(150deg, #101f35, #0c1828);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.flow-card {
  padding: 28px;
  display: grid;
  gap: 7px;
}

.flow-card span { color: #98bdff; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 750; }
.flow-card b { font-size: 1.12rem; }
.flow-card i { color: #7699cd; font-style: normal; }

.contrast {
  background: #0d1930;
  border-block: 1px solid #203755;
}

.three-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.three-up div { padding: 18px; background: #101f38; border-radius: 9px; }
.three-up b { color: #9bc3ff; }
.three-up p { margin-bottom: 0; color: var(--muted); }

.directory-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr); gap: 28px; }
.filter-card, .apply-card { padding: 21px; }
.filter-card { display: grid; grid-template-columns: 1fr 1fr auto auto; gap: 12px; align-items: end; margin-bottom: 19px; }
.filter-card h2 { grid-column: 1 / -1; margin: 0; font-size: 1.25rem; }
.apply-card { align-self: start; }
.apply-card h2 { font-size: 1.35rem; margin-top: 0; }

label { display: grid; gap: 6px; color: #cfdbeb; font-size: 0.84rem; font-weight: 650; }
input, textarea { width: 100%; background: #091525; border: 1px solid #385576; border-radius: 7px; padding: 10px; color: #f2f6ff; font: inherit; }
textarea { resize: vertical; }
.apply-card form { display: grid; gap: 13px; }
.microcopy, .result-count { color: var(--muted); font-size: 0.79rem; }

.directory-card { position: relative; padding: 18px 20px; margin-bottom: 13px; }
.directory-card h3 { margin: 6px 0; }
.directory-card p { color: var(--muted); margin: 5px 0; }
.directory-card strong { color: #e7efff; }
.demo-label { display: inline-block; padding: 4px 7px; border: 1px solid #405c80; border-radius: 99px; color: #98bdff; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 750; }
.empty-state, .form-error { padding: 16px; border-radius: 8px; background: #312016; color: #ffcfaa; }

/* Flashes */
.flash { padding: 13px 15px; border-radius: 8px; }
.flash.success { background: #123529; color: #b9f8d4; }
.flash.error { background: #3a2027; color: #ffd0d5; }

/* Review pages */
.review-login-card { max-width: 510px; }
.review-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.review-stats a { color: #cfe1ff; text-decoration: none; padding: 10px 13px; border: 1px solid var(--line); border-radius: 8px; background: #10203a; }
.review-stats a.active { border-color: #608fd0; background: #18375f; }
.review-stats b { color: #9ec3ff; }
.logout-form { margin-top: 18px; }
.text-button { border: 0; background: transparent; color: #a9caff; padding: 0; font: inherit; font-weight: 700; cursor: pointer; }
.review-card { padding: 22px; margin-bottom: 17px; background: linear-gradient(150deg, #101f35, #0c1828); border: 1px solid var(--line); border-radius: 13px; }
.review-card-heading { display: flex; justify-content: space-between; gap: 20px; }
.review-card-heading h2 { font-size: 1.38rem; margin: 7px 0 3px; }
.review-card-heading p, .review-card-heading small, .review-details p, .reviewed-status { color: var(--muted); }
.review-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; padding: 13px 0; }
.review-decision-form { display: grid; gap: 13px; border-top: 1px solid var(--line); padding-top: 17px; }
.review-decision-form select { background: #091525; border: 1px solid #385576; border-radius: 7px; padding: 10px; color: #f2f6ff; font: inherit; }

/* Publication pages */
.directory-disclaimer, .publication-notice { margin: 20px 0; color: var(--muted); font-size: 0.88rem; }
.publication-notice { padding: 15px; border: 1px solid var(--line); border-radius: 9px; background: #10203a; }
.publication-form, .publication-action-form { display: grid; gap: 14px; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; }
.publication-form h3 { margin: 0; font-size: 1.12rem; }
.consent-checks { display: grid; gap: 10px; padding: 13px; background: #0b172a; border: 1px solid #29415f; border-radius: 8px; }
.consent-checks label { display: flex; align-items: flex-start; gap: 9px; font-weight: 500; }
.consent-checks input { width: auto; margin-top: 4px; }
.publication-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; }
.publication-actions form { display: grid; gap: 10px; }

/* Text link */
.text-link { color: #8bb6ff; font-weight: 700; text-decoration: none; }
.text-link:hover, .text-link:focus-visible { color: #a9ccff; }

/* Narrow layout */
.narrow { max-width: 780px; }


/* ===== PHASE 2 — DIRECTORY PAGES ===== */
.hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.hero-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  opacity: 0.85;
  flex-shrink: 0;
}

.page-hero.compact {
  padding: 52px 0 44px;
}

.page-hero.compact h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 10px;
}

.page-hero.compact .lead {
  font-size: 0.95rem;
  max-width: 580px;
}

.coming-soon-panel {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
  padding: 40px 28px;
  background: linear-gradient(150deg, #101f35, #0c1828);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.coming-soon-panel h2 {
  font-size: 1.5rem;
  margin: 0 0 12px;
  text-align: center;
}

.coming-soon-panel p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 8px;
}

.coming-soon-cta {
  color: #8bb6ff !important;
  font-weight: 600;
  margin-top: 16px !important;
}

.apply-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 36px 28px;
  background: linear-gradient(150deg, #101f35, #0c1828);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.apply-section .eyebrow {
  text-align: left;
}

.apply-section h2 {
  text-align: left;
  font-size: 1.3rem;
  margin: 0 0 20px;
}

.apply-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-full {
  display: grid;
  gap: 6px;
}

.form-full textarea {
  width: 100%;
}

.apply-section .button {
  justify-self: start;
  margin-top: 4px;
}

.apply-section .microcopy {
  margin-top: 12px;
}


/* ===== PHASE 3 — KEYBOARD FOCUS & FORM STATES ===== */
body.keyboard-nav *:focus {
  outline: 2px solid #6fa3f0;
  outline-offset: 2px;
}

body:not(.keyboard-nav) *:focus {
  outline: none;
}

button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-grid input:invalid:not(:placeholder-shown),
.form-grid input:invalid:not(:focus) {
  border-color: #ef4444;
}


/* ===== PHASE 4 — COMMAND CENTER ===== */
.stage-label {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: #6fa3f0;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.workflow-caption {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 14px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin: -16px auto 28px;
  max-width: 560px;
}

@media (prefers-reduced-motion: reduce) {
  .product-card {
    transition: none;
  }
  .product-card:hover {
    transform: none;
  }
  .product-card::before {
    transition: none;
  }
}


.workflow-intro {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.node-products {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: #8bb6ff;
  margin-top: 4px;
  text-align: center;
  white-space: nowrap;
}

.node-desc {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 3px;
  text-align: center;
  max-width: 160px;
  line-height: 1.4;
}


#how-it-connects,
#products {
  scroll-margin-top: 90px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-row { flex-direction: column; text-align: center; gap: 16px; }
  .hero-icon { width: 56px; height: 56px; }
  .directory-layout { grid-template-columns: 1fr; }
  .filter-card { grid-template-columns: 1fr 1fr; }
  .three-up { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  /* --- global containment (prevent horizontal overflow) --- */
  html, body { max-width: 100%; overflow-x: hidden; }
  .shell { width: min(100% - 28px, 1120px); }
  img { max-width: 100%; height: auto; }

  /* --- HERO: single column, centered copy, contained image --- */
  .hero { padding: 60px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-copy .button-row { justify-content: center; }
  .hero h1 { font-size: 2.2rem; }
  .hero-visual { order: -1; }
  .hero-img { width: min(78vw, 340px); height: auto; max-width: 100%; }

  /* --- CONNECTED WORKFLOW: clean vertical mobile sequence --- */
  .connected-workflow { flex-direction: column; gap: 0; }
  .workflow-node { width: 100%; max-width: 320px; }
  .node-products { white-space: normal; font-size: 0.82rem; }
  .node-desc { max-width: 100%; font-size: 0.8rem; }
  .workflow-intro { font-size: 0.9rem; margin-bottom: 20px; }
  /* horizontal connectors -> short vertical connectors */
  .connector {
    width: 2px;
    height: 22px;
    margin: 4px 0;
    background: linear-gradient(180deg, #2563eb, #4f46e5);
  }

  /* --- grids collapse to one column --- */
  .product-grid { grid-template-columns: 1fr; }
  .filter-card { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .directory-layout { grid-template-columns: 1fr; }
  .three-up { grid-template-columns: 1fr; }

  /* --- authority strip: fit 3 items at 360/390 (reduce padding, allow labels to wrap) --- */
  .authority-row { gap: 0; }
  .authority-item { padding: 8px 12px; }
  .authority-num { font-size: 1.3rem; }
  .authority-label { font-size: 0.6rem; text-align: center; }

  /* --- header nav collapse (keep the Explore Products CTA) --- */
  .site-header nav a:not(.nav-cta) { display: none; }
  /* keep the "Explore Products" CTA on ONE line at 360/390 (mobile-only:
     nowrap + reduced font-size + reduced horizontal padding only; vertical
     padding, border, radius, colors and desktop styling all preserved) */
  .site-header nav .nav-cta {
    white-space: nowrap;
    font-size: 0.85rem;
    padding-left: 10px;
    padding-right: 10px;
  }

  /* --- section spacing compaction --- */
  .page-hero.compact { padding: 40px 0 32px; }
  .coming-soon-panel { padding: 28px 20px; }
  .apply-section { padding: 24px 18px; }
  .footer-nav { gap: 8px; }

  /* --- review/publication pages (retained from original 620 block) --- */
  .review-card-heading, .review-details { display: block; }
  .review-card-heading small { display: block; margin-top: 10px; }
  .review-details { padding-bottom: 8px; }
  .publication-actions { grid-template-columns: 1fr; }
}

/* ===== Mobile tap-target accessibility (>=44px) — added 09/24. Text sizes unchanged; min-height/flex only. Scoped <=900px so desktop is untouched. ===== */
@media (max-width: 900px) {
  .product-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    box-sizing: border-box;
  }
  .site-header nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .brand {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
  }
  .site-header nav a.nav-cta {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .footer-nav { gap: 4px 10px; }
  .footer-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
  }
}

/* ===== Desktop-only: center a lone trailing product card (e.g., 9th card in a 4-col row) — added 09/24. Mobile (<=900px) 2-col layout untouched. ===== */
@media (min-width: 901px) {
  .product-grid > .product-card:last-child:nth-child(4n + 1) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 48px) / 4);
  }
}

/* ===== Hero positioning tagline "No ads, no noise, just data." — added 09/24 ===== */
.positioning-tagline { margin: 6px 0 22px; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.positioning-tagline .pt-ads { color: #ef4444; }
.positioning-tagline .pt-noise { color: #f59e0b; }
.positioning-tagline .pt-data { color: #3b82f6; }
@media (max-width: 480px) { .positioning-tagline { font-size: 0.95rem; } }
