/* Snapshot — Landing Page Styles */

/* ─── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  padding: 0 var(--page-px);
  transition: box-shadow 0.3s;
}
.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
  border-radius: var(--radius-sm);
}
.nav-link:hover {
  color: var(--text-primary);
}

/* ─── Hero Section ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px var(--page-px) 80px;
  background: var(--bg-white);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--dark);
  letter-spacing: -0.03em;
}

.hero-highlight {
  color: var(--green);
}

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

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

.hero-visual {
  position: relative;
}

.hero-screenshot {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

/* ─── Metrics Strip ──────────────────────────────────────── */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-white);
}

.metric-item {
  padding: 32px var(--page-px);
  text-align: center;
  border-right: 1px solid var(--border-light);
}
.metric-item:last-child { border-right: none; }

.metric-value {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ─── Video Section ──────────────────────────────────────── */
.video-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px var(--page-px);
  background: var(--dark);
}

.video-container {
  width: 100%;
  max-width: 1400px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
}

.video-caption h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 4px;
}
.video-caption p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

/* ─── Generic Section Layout ─────────────────────────────── */
.section {
  padding: 100px var(--page-px);
}

.section.dark {
  background: var(--dark);
  color: white;
}
.section.dark h2,
.section.dark h3 { color: white; }
.section.dark .section-subtitle,
.section.dark .card-desc { color: rgba(255,255,255,0.65); }
.section.dark .section-label { color: var(--green-light); }

.section.alt {
  background: var(--bg-light);
}

.section-header {
  margin-bottom: 64px;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

.section.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ─── Who It's For ───────────────────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.audience-card {
  padding: 36px 28px;
  background: var(--bg-white);
  text-align: left;
}
.audience-card:hover {
  background: var(--bg-light);
}

.audience-card-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.audience-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--dark);
}

.audience-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── Features Grid ──────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.section.dark .feature-card {
  background: var(--dark);
  border: none;
  border-radius: 0;
}
.section.dark .feature-card:hover {
  background: var(--dark-soft);
  transform: none;
  box-shadow: none;
}
.section.dark .feature-card .card-icon {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green-light);
}
.section.dark .feature-card .card-title {
  color: white;
}

/* ─── How It Works ───────────────────────────────────────── */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  counter-reset: step;
}

.step {
  position: relative;
  counter-increment: step;
}

.step-number {
  font-size: 64px;
  font-weight: 800;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--green);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── Report Card Preview ────────────────────────────────── */
.report-section-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.report-preview {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.report-header {
  background: var(--dark);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.report-header-left h3 {
  color: white;
  font-size: 16px;
  margin-bottom: 2px;
}

.report-header-left span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.report-header-badge {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.report-header-badge.pass {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.report-body {
  padding: 24px 28px;
}

.report-scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.report-score-box {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  text-align: center;
}

.report-score-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.report-score-number {
  font-size: 36px;
  font-weight: 700;
  font-family: 'IBM Plex Mono', monospace;
  line-height: 1;
}
.report-score-number.green { color: var(--green); }
.report-score-number.green-light { color: var(--green-light); }

.report-score-bar {
  height: 6px;
  background: var(--bg-gray);
  border-radius: 3px;
  margin-top: 10px;
  overflow: hidden;
}

.report-score-fill {
  height: 100%;
  border-radius: 3px;
}
.report-score-fill.green { background: var(--green); }
.report-score-fill.green-light { background: var(--green-light); }

.report-score-rating {
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
}

.report-findings-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}

.report-finding-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--bg-gray);
}
.report-finding-row:last-child { border-bottom: none; }

.report-finding-label {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.report-finding-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.report-finding-dot.green { background: var(--success); }
.report-finding-dot.amber { background: var(--warning); }
.report-finding-dot.red { background: var(--error); }

.report-finding-value {
  font-weight: 600;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--text-primary);
}

.report-footer {
  padding: 14px 28px;
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}

/* ─── CTA Section ────────────────────────────────────────── */
.cta-section {
  padding: 100px var(--page-px);
  background: var(--green);
  color: white;
  text-align: center;
}

.cta-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
  color: white;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.cta-section .btn-dark {
  background: white;
  color: var(--green-dark);
  font-weight: 700;
}
.cta-section .btn-dark:hover {
  background: var(--bg-light);
  color: var(--green-dark);
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  padding: 32px var(--page-px);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-text {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer-link:hover { color: var(--text-primary); }

/* ─── Auth Messages ──────────────────────────────────────── */
.auth-message {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}
.auth-message.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--error);
}
.auth-message.success {
  display: block;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: var(--success);
}

.auth-footer {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.auth-footer a { color: var(--green); font-weight: 600; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { max-width: 100%; }
  .report-section-layout { grid-template-columns: 1fr; gap: 48px; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .metrics-strip { grid-template-columns: repeat(2, 1fr); }
  .metric-item:nth-child(1),
  .metric-item:nth-child(2) { border-bottom: 1px solid var(--border-light); }
  .metric-item:nth-child(2) { border-right: none; }
  .metric-item:nth-child(4) { border-right: none; }
  .features-grid { grid-template-columns: 1fr; }
  .section { padding: 64px var(--page-px); }
  .video-container { width: calc(100% - 32px); }
}

@media (max-width: 640px) {
  .nav { height: 64px; }
  .nav-links .nav-link { display: none; }
  .nav-links .btn { font-size: 12px; padding: 6px 12px; }
  .nav-logo { font-size: 18px; gap: 8px; }
  .nav-logo-img { width: 32px; height: 32px; }
  .hero { padding: 80px var(--page-px) 60px; min-height: auto; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .audience-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; gap: 40px; }
  .report-scores { grid-template-columns: 1fr; }
  .footer { flex-direction: column; gap: 12px; text-align: center; }
  .footer-brand { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   NEW SECTIONS — About Snapshot, Criteria, Tiers, Sources
   ═══════════════════════════════════════════════════════════ */

/* ─── About Snapshot (two-column) ─────────────────────────── */
.about-snapshot-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
  width: 100%;
}

.about-snapshot-content {
  min-width: 0;
}

.about-snapshot-preview {
  position: sticky;
  top: 100px;
}

.about-snapshot-lead {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-snapshot-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-snapshot-emphasis {
  font-size: 20px;
  font-weight: 800;
  color: var(--green);
  margin-top: 24px;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.about-snapshot-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-snapshot-list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about-snapshot-list-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

.about-snapshot-list-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.about-snapshot-list-item span {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── Property Evaluation Criteria ────────────────────────── */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.criteria-card {
  background: var(--bg-white);
  padding: 32px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: background 0.2s;
}
.criteria-card:hover {
  background: var(--bg-light);
}

.criteria-badge {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  font-family: 'IBM Plex Mono', monospace;
  margin-top: 2px;
}

.criteria-content {
  flex: 1;
}

.criteria-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.criteria-intro {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 12px;
}

.criteria-bullets {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.criteria-bullets li {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-gray);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

/* ─── Tier Rating System ──────────────────────────────────── */
.tier-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tier-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: var(--dark-soft);
  border-left: 5px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s;
}
.tier-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tier-5 { border-left-color: #16a34a; }
.tier-4 { border-left-color: #22c55e; }
.tier-3 { border-left-color: #f59e0b; }
.tier-2 { border-left-color: #f97316; }
.tier-1 { border-left-color: #ef4444; }

.tier-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 64px;
}

.tier-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  font-family: 'IBM Plex Mono', monospace;
  color: white;
}

.tier-badge-5 { background: #16a34a; }
.tier-badge-4 { background: #22c55e; }
.tier-badge-3 { background: #f59e0b; }
.tier-badge-2 { background: #f97316; }
.tier-badge-1 { background: #ef4444; }

.tier-stars {
  display: flex;
  gap: 2px;
}

.tier-star {
  font-size: 14px;
  line-height: 1;
}

.tier-star.filled { color: #fbbf24; }
.tier-star.empty { color: rgba(255, 255, 255, 0.2); }

.tier-content {
  flex: 1;
}

.tier-label-row {
  margin-bottom: 6px;
}

.tier-name {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: white;
}

.tier-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

/* ─── Methodology & Data Sources ──────────────────────────── */
.data-sources-table-wrap {
  max-width: 740px;
  margin: 0 auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.data-sources-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-sources-table thead {
  background: var(--bg-gray);
}

.data-sources-table th {
  text-align: left;
  padding: 14px 24px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
}

.data-sources-table td {
  padding: 14px 24px;
  border-bottom: 1px solid var(--bg-gray);
  color: var(--text-primary);
  font-weight: 500;
}

.data-sources-table tbody tr:last-child td {
  border-bottom: none;
}

.data-sources-table tbody tr:hover {
  background: var(--bg-light);
}

.source-mono {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-gray);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.source-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.source-status.active {
  color: var(--green);
}

.source-status.active::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ─── Report Card Mockup (About section preview) ─────────── */
.report-card-mockup {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06);
  font-size: 13px;
}

.rcm-header {
  background: #2c6faa;
  color: white;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rcm-brand { font-weight: 800; }
.rcm-divider { opacity: 0.4; }
.rcm-type { font-weight: 500; opacity: 0.85; }

.rcm-tier-banner {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.rcm-tier-banner.rcm-tier-5 { background: #dcfce7; color: #166534; }
.rcm-tier-banner.rcm-tier-4 { background: #d1fae5; color: #065f46; }
.rcm-tier-banner.rcm-tier-3 { background: #fef3c7; color: #92400e; }
.rcm-tier-banner.rcm-tier-2 { background: #ffedd5; color: #9a3412; }
.rcm-tier-banner.rcm-tier-1 { background: #fee2e2; color: #991b1b; }
.rcm-stars { font-size: 16px; }
.rcm-tier-label { font-family: 'IBM Plex Mono', monospace; font-size: 12px; }

.rcm-map-preview {
  width: 100%;
  overflow: hidden;
}
.rcm-map-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.rcm-body { padding: 20px; }

.rcm-prop-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}
.rcm-prop-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rcm-prop-value {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 13px;
}
.rcm-prop-value.rcm-green { color: var(--green); }

.rcm-criteria-mini {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rcm-dot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-secondary);
}

.rcm-dots {
  display: flex;
  gap: 4px;
}
.rcm-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.rcm-dot.fill { background: var(--green); }
.rcm-dot.empty { background: #e2e8f0; }

.rcm-strengths {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}
.rcm-strengths-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-bottom: 8px;
}
.rcm-strength-item {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}
.rcm-strength-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.rcm-footer {
  background: #f8fafc;
  padding: 12px 20px;
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
  border-top: 1px solid #f1f5f9;
  font-style: italic;
}

/* ─── Audience Motivations ────────────────────────────────── */
.audience-motivations {
  list-style: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.audience-motivations li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}
.audience-motivations li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

/* ─── Data Source Logos Grid ───────────────────────────────── */
.source-logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.source-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  background: var(--bg-white);
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
}
.source-logo-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.source-logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 16px;
}

.source-logo-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.source-logo-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── PDF Viewer (Detailed Land Evaluation) ──────────────── */
.pdf-viewer {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pdf-page {
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 12px 40px rgba(0,0,0,0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pdf-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-bottom: 2px solid var(--green);
  background: #fafbfc;
}

.pdf-page-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdf-logo-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.pdf-logo-text {
  font-size: 14px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.pdf-page-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.pdf-page-body {
  padding: 36px 32px;
  flex: 1;
}

.pdf-page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  border-top: 1px solid #e5e7eb;
  font-size: 10px;
  color: var(--text-muted);
  background: #fafbfc;
}

/* Cover page */
.pdf-cover-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.pdf-cover-meta {
  margin-bottom: 32px;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.pdf-cover-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  font-size: 13px;
  border-bottom: 1px solid #f1f5f9;
}
.pdf-cover-meta-row:last-child { border-bottom: none; }

.pdf-cover-meta-key {
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.pdf-cover-meta-val {
  font-weight: 600;
  color: var(--text-primary);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
}

.pdf-cover-tier {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #dcfce7;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}

.pdf-tier-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  font-family: 'IBM Plex Mono', monospace;
  color: white;
  flex-shrink: 0;
}
.pdf-tier-badge.tier-5 { background: #16a34a; }
.pdf-tier-badge.tier-4 { background: #22c55e; }
.pdf-tier-badge.tier-3 { background: #f59e0b; }
.pdf-tier-badge.tier-2 { background: #f97316; }
.pdf-tier-badge.tier-1 { background: #ef4444; }

.pdf-tier-label {
  font-size: 18px;
  font-weight: 700;
  color: #166534;
}

.pdf-tier-stars {
  font-size: 20px;
  color: #f59e0b;
  margin-top: 2px;
}

.pdf-cover-scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pdf-score-circle {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
}

.pdf-score-val {
  font-size: 52px;
  font-weight: 800;
  font-family: 'IBM Plex Mono', monospace;
  line-height: 1;
  margin-bottom: 8px;
}
.pdf-score-val.green { color: var(--green); }
.pdf-score-val.green-light { color: var(--green-light); }

.pdf-score-lbl {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Map & score pages */
.pdf-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pdf-map-frame {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 8px;
}

.pdf-map-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.pdf-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pdf-col {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.pdf-col-header {
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pdf-col-header.green-bg { background: var(--green); }
.pdf-col-header.green-light-bg { background: var(--green-light); }

.pdf-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 16px;
  font-size: 12px;
  color: var(--text-secondary);
  border-bottom: 1px solid #f1f5f9;
}
.pdf-breakdown-row.last { border-bottom: none; }

.pdf-breakdown-val {
  font-weight: 700;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--text-primary);
}

/* Data tables */
.pdf-data-table {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
}

.pdf-data-tr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  font-size: 13px;
  border-bottom: 1px solid #f1f5f9;
}
.pdf-data-tr:last-child { border-bottom: none; }
.pdf-data-tr:nth-child(even) { background: #fafbfc; }

.pdf-data-td-key {
  color: var(--text-secondary);
  font-weight: 500;
}

.pdf-data-td-val {
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  text-align: right;
}
.pdf-data-td-val.pass { color: var(--green); }
.pdf-data-td-val.warn { color: #f59e0b; }
.pdf-data-td-val.fail { color: #ef4444; }

/* Flaws & recommendations */
.pdf-flaws-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.pdf-flaw-box {
  padding: 16px 20px;
  border-radius: var(--radius-md);
}
.pdf-flaw-box.pass { background: #f0fdf4; border: 1px solid #bbf7d0; }
.pdf-flaw-box.warn { background: #fffbeb; border: 1px solid #fde68a; }

.pdf-flaw-box p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 8px;
}

.pdf-flaw-badge-inner {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pdf-flaw-badge-inner.pass { background: #dcfce7; color: #166534; }
.pdf-flaw-badge-inner.warn { background: #fef3c7; color: #92400e; }

.pdf-recommendation {
  padding: 20px;
  background: #f0fdf4;
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.pdf-recommendation strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
}

.pdf-sources-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  padding-left: 16px;
}
.pdf-sources-list span {
  position: relative;
  padding-left: 12px;
}
.pdf-sources-list span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* ─── NEW SECTIONS — Responsive ───────────────────────────── */
@media (max-width: 1024px) {
  .about-snapshot-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-snapshot-preview {
    position: static;
    max-width: 420px;
    margin: 0 auto;
  }
  .criteria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tier-card {
    gap: 20px;
    padding: 24px;
  }
  .source-logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .criteria-grid {
    grid-template-columns: 1fr;
  }
  .tier-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 20px;
  }
  .tier-left {
    flex-direction: row;
    gap: 12px;
  }
  .source-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  /* PDF viewer responsive */
  .pdf-page-body { padding: 24px 20px; }
  .pdf-page-header, .pdf-page-footer { padding-left: 20px; padding-right: 20px; }
  .pdf-cover-title { font-size: 28px; }
  .pdf-score-val { font-size: 40px; }
  .pdf-two-col { grid-template-columns: 1fr; }
  .pdf-flaws-grid { grid-template-columns: 1fr; }
  .pdf-map-img { height: 200px; }
  .pdf-cover-meta-row { flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 16px; }
}

@media (max-width: 640px) {
  .about-snapshot-list-item {
    flex-direction: column;
    gap: 8px;
  }
  .criteria-card {
    flex-direction: column;
    gap: 12px;
  }
  .source-logos-grid {
    grid-template-columns: 1fr 1fr;
  }
  /* PDF viewer small screens */
  .pdf-viewer { gap: 20px; }
  .pdf-page-body { padding: 20px 16px; }
  .pdf-page-header, .pdf-page-footer { padding-left: 16px; padding-right: 16px; }
  .pdf-cover-title { font-size: 24px; }
  .pdf-cover-scores { grid-template-columns: 1fr; gap: 16px; }
  .pdf-score-val { font-size: 36px; }
  .pdf-data-tr { flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 16px; }
  .pdf-data-td-val { text-align: left; }
  .pdf-map-img { height: 160px; }
}

/* ═══════════════════════════════════════════════════════════
   PRICING SECTION
   ═══════════════════════════════════════════════════════════ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.pricing-card-featured {
  border-color: var(--green);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}

.pricing-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-card-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.pricing-card-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing-card-price {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.pricing-card-mo {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.pricing-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.pricing-card-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  border-bottom: 1px solid var(--bg-gray);
  padding-left: 20px;
  position: relative;
}

.pricing-card-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
}

.pricing-card-features li:last-child { border-bottom: none; }

.pricing-cta {
  width: 100%;
  margin-top: auto;
}

.pricing-anchor {
  text-align: center;
  margin-top: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-anchor p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.pricing-anchor-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}

.pricing-anchor-link:hover {
  color: var(--green-dark);
}

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
}

/* ═══════════════════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════════════════ */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 40px 20px 0;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  position: relative;
  line-height: 1.5;
  transition: color 0.15s;
}

.faq-question:hover {
  color: var(--green);
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  content: "\2212";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.faq-answer a {
  color: var(--green);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   UPDATED FOOTER
   ═══════════════════════════════════════════════════════════ */

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.footer-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 16px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
}

.footer-attribution {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .footer-top { flex-direction: column; gap: 12px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-links { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   COOKIE CONSENT BANNER
   ═══════════════════════════════════════════════════════════ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: white;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 9999;
  font-size: 13px;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner p {
  margin: 0;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  max-width: 600px;
}

.cookie-banner a {
  color: var(--green-light);
  font-weight: 500;
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}

.cookie-btn-accept {
  background: var(--green);
  color: white;
}

.cookie-btn-accept:hover {
  background: var(--green-dark);
}

.cookie-btn-decline {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
}

.cookie-btn-decline:hover {
  background: rgba(255,255,255,0.15);
  color: white;
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 16px;
    gap: 12px;
  }
}

/* ═══════════════════════════════════════════════════════════
   LEGAL PAGES (terms.html, privacy.html)
   ═══════════════════════════════════════════════════════════ */

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px var(--page-px) 80px;
}

.legal-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal-container h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-container p,
.legal-container li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.legal-container ul,
.legal-container ol {
  padding-left: 20px;
  margin: 8px 0 16px;
}

.legal-container li {
  margin-bottom: 6px;
}

.legal-container a {
  color: var(--green);
  font-weight: 500;
}
