/* Soterra Labs Anvil — shared stylesheet for /anvil/* pages.
 *
 * Color palette + nav pattern carried from soterralabs.ai existing site
 * (index.html, legal/index.html). Visual baseline locked in
 * dev/mockups/anvil-{landing,pricing,mlperf}-mockup.html.
 *
 * Layer-3 picks (Jake): max-width 1100px for tabular density, white-card
 * sections with teal top-border + shadow, gradient hero band matching
 * site brand, green pill for fresh / amber banner for stale / gray card
 * for informational caveat / teal info card for vocabulary helper.
 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:        #0070c0;
  --teal-light:  #e3f2fd;
  --teal-deep:   #0a1f44;
  --accent:      #7ec8e3;
  --brand-green: #4ade80;   /* matches main site's "GPU" hero accent */
  --dark:        #1a1a2e;
  --mid:         #374151;
  --muted:       #4b5563;
  --gray-soft:   #9ca3af;
  --border:      #e5e7eb;
  --bg:          #ffffff;
  --bg-alt:      #f5f7fa;
  --bg-hover:    rgba(74, 222, 128, 0.12);  /* brand-green hover — lighter than the row band so hover reads as 'on top' */
  --amber-bg:    #fffbeb;
  --amber-bdr:   #f59e0b;
  --amber-tx:    #78350f;
  --max-w:       1100px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--dark);
  background: var(--bg-alt);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- NAV ---- */
nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}
@media (max-width: 540px) { .nav-inner { height: auto; padding: 12px 16px; } }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { height: 60px; width: auto; display: block; }
@media (max-width: 540px) { .logo img { height: 40px; max-width: 100%; } }
.nav-links { display: flex; gap: 20px; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links a {
  display: block;
  text-decoration: none;
  color: var(--mid);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--teal-deep); }
.nav-links a.active { color: var(--teal); font-weight: 600; }
.has-children > a::after { content: ' \25BE'; font-size: 9px; margin-left: 4px; opacity: 0.7; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  border-radius: 6px;
  padding: 6px 0;
  min-width: 240px;
  z-index: 1000;
}
.has-children:hover .dropdown { display: block; }
.dropdown a {
  padding: 10px 18px;
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--mid);
  border-radius: 0;
}
.dropdown a:hover { background: var(--teal-light); color: var(--teal-deep); }
/* Hamburger toggle — hidden on desktop, shown below 1100px */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 36px;
  height: 36px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--mid);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 12px;
    z-index: 100;
  }
  .nav-links.open { display: flex; }
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  .nav-links li a {
    display: block;
    padding: 14px 24px;
    font-size: 12px;
    border-radius: 0;
    letter-spacing: 1.5px;
    text-align: center;
  }
  /* Mobile dropdown — flatten to inline list under Reference;
     center-aligned to match parent items, smaller + muted to read
     as sub-items without indentation. */
  .nav-links .has-children .dropdown {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    background: transparent;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  .nav-links .has-children .dropdown li { text-align: center; }
  .nav-links .has-children .dropdown a {
    padding: 6px 24px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: none;
    opacity: 0.75;
    color: var(--muted);
    text-align: center;
  }
  /* Hide the desktop dropdown arrow (▾) on mobile — sub-items render
     directly below, so the affordance is redundant. */
  .has-children > a::after { display: none; }
}

/* ---- MAIN ---- */
main { padding: 0; }
.body-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px 24px 56px;
}

/* ---- Page header (gradient hero band) ---- */
.page-header {
  background: linear-gradient(135deg, #0a1f44 0%, #0070c0 100%);
  padding: 44px 24px 36px;
  color: #fff;
}
.page-header-inner { max-width: var(--max-w); margin: 0 auto; }
.page-header .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255,255,255,0.08);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.page-header h1 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.page-header h1 .accent-word { color: var(--brand-green); }
.page-header .round-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.page-header .round-tag {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-green);
  letter-spacing: 0;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
}
.page-header .round-published {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.page-header .round-published time { color: #fff; font-weight: 600; }
.page-header .lead {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 18px;
  line-height: 1.7;
}

/* Freshness pill on dark hero (green = fresh) */
.page-header .freshness {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,185,129,0.15);
  border-left: 3px solid #10b981;
  padding: 7px 14px;
  border-radius: 0 4px 4px 0;
  font-size: 13px;
  color: #d1fae5;
}
.page-header .freshness::before {
  content: '\25CF';
  color: #34d399;
  font-size: 10px;
  line-height: 1;
}
.page-header .freshness time { color: #fff; font-weight: 600; }
.page-header .freshness .muted { color: #a7f3d0; }

/* ---- Caveat (gray informational) ---- */
.caveat {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--gray-soft);
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--mid);
  line-height: 1.55;
  border-radius: 0 6px 6px 0;
}
.caveat strong { color: var(--dark); }

/* ---- Info card (brand green — vocabulary helper, MLPerf only) ---- */
.info-card {
  background: #fff;
  border-left: 4px solid var(--brand-green);
  padding: 16px 20px;
  margin-bottom: 28px;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.info-card h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #15803d;
  margin-bottom: 12px;
}
.info-card ul { list-style: none; padding: 0; margin: 0; }
.info-card li {
  font-size: 13px;
  color: var(--mid);
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
  line-height: 1.55;
}
.info-card li:last-child { margin-bottom: 0; }
.info-card li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 9px;
  width: 4px;
  height: 4px;
  background: var(--brand-green);
  border-radius: 50%;
}
.info-card strong { color: var(--teal-deep); font-weight: 700; }

/* ---- Stale banner (amber — action prompt: don't trust the data) ---- */
.banner-stale {
  background: var(--amber-bg);
  border-left: 4px solid var(--amber-bdr);
  color: var(--amber-tx);
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
}
.banner-stale strong { color: var(--amber-tx); }
.banner-stale time { font-weight: 600; }

/* ---- Anchor nav ---- */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 14px 18px;
  background: #fff;
  border-left: 3px solid var(--teal);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--muted);
}
.anchor-nav .label {
  font-weight: 700;
  color: var(--teal-deep);
  margin-right: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 11px;
}
.anchor-nav a {
  padding: 5px 12px;
  background: var(--teal-light);
  border: 1px solid #b4d6f0;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
  color: var(--teal-deep);
  transition: all 0.15s ease;
}
.anchor-nav.workloads a { font-family: 'SF Mono', Menlo, Consolas, monospace; }
.anchor-nav a:hover {
  background: var(--brand-green);
  color: var(--teal-deep);
  border-color: var(--brand-green);
  text-decoration: none;
}

.scroll-hint {
  display: none;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  font-style: italic;
}
@media (max-width: 720px) { .scroll-hint { display: block; } }

/* ---- Pricing section (white card with teal top accent) ---- */
.pricing-section {
  background: #fff;
  border-top: 3px solid var(--teal);
  border-radius: 0 0 12px 12px;
  padding: 22px 24px;
  margin-bottom: 20px;
  scroll-margin-top: 88px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease;
}
.pricing-section:hover {
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 20px rgba(10,31,68,0.08);
}
.pricing-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: 14px;
  line-height: 1.3;
}
.pricing-section .canonical-id {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-green);
  margin-left: 10px;
  letter-spacing: 0;
}

/* ---- Tables ---- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.pricing-table, .mlperf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
/* Explicit white bg so unshaded rows pop against the shaded ones.
   Without this, transparent default rows fall through to the body's
   #f5f7fa, producing two-greys-no-white instead of clean banding.
   MLPerf gets white via its details.workload wrapper; pricing has no
   such wrapper, so the table itself owns the white. */
.pricing-table { min-width: 640px; background: #fff; }
.mlperf-table { min-width: 720px; font-size: 13px; }

.pricing-table th, .mlperf-table th {
  text-align: left;
  padding: 10px 14px;
  /* Solid lightest-blue from the page-hero gradient family. Uniform
     across columns so headers read as one strip; gradient produced
     multi-shade columns that fought the row content. */
  background: #0070c0;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.mlperf-table th { padding: 9px 12px; font-size: 11px; }
.pricing-table th.num, .mlperf-table th.num { text-align: right; }
.pricing-table td, .mlperf-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--mid);
}
.mlperf-table td { padding: 9px 12px; }
.pricing-table tr:last-child td, .mlperf-table tr:last-child td { border-bottom: none; }
.pricing-table td.num, .mlperf-table td.num {
  text-align: right;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  color: var(--dark);
  font-weight: 600;
}
.pricing-table tr:hover, .mlperf-table tr:hover { background: var(--bg-hover); }
/* MLPerf table bands by GPU family — workload tables are short enough
   that alternating chip groups read cleanly as zebra. */
.mlperf-table tr.gpu-band td { background: #e8eef4; }
.mlperf-table tr.gpu-band:hover td { background: var(--bg-hover); }
/* Pricing table — first quote of each GPU group gets a top-border
   accent so the eye sees "new chip family starts here". Paired with
   the alternating .gpu-group-shaded bg below, the boundary is doubly
   reinforced; the imbalanced-group problem (H100 has 22 rows, A100 has
   3) is mitigated by keeping the shade subtle (#e8eef4, ~5% tint). */
.pricing-table tr.gpu-group-start td { border-top: 2px solid var(--teal-deep); }
.pricing-table tr.gpu-group-shaded td { background: #e8eef4; }
.pricing-table tr.gpu-group-shaded:hover td { background: var(--bg-hover); }
.pricing-table .cloud-tag,
.pricing-table .gpu-cell,
.mlperf-table .gpu-cell {
  font-weight: 600;
  color: var(--teal-deep);
}
/* MLPerf table column discipline. Columns:
   (1) GPU Type · (2) Submitter · (3) System · (4) # GPUs · (5) Engine · ... */
/* Submitter + System — names range up to ~30 chars and were eating row
   real estate with default sizing. */
.mlperf-table td:nth-child(2),
.mlperf-table td:nth-child(3) {
  font-size: 12px;
  max-width: 200px;
  word-break: break-word;
}
/* # GPUs — small integers; shrink-wrap so the column doesn't inherit
   default cell width and squeeze the System column above. */
.mlperf-table td:nth-child(4),
.mlperf-table th:nth-child(4) { width: 1%; white-space: nowrap; }
/* Pricing Instance Type — it's an identifier (e.g. Standard_ND96isr_H100_v5,
   p5.48xlarge); treat like one. Col 4 after the GPU-Type-first reorder
   (cols: GPU Type, Cloud, Region, Instance Type, # GPUs, $/hr, $/GPU/hr).
   max-width caps GCP's verbose descriptions ("A4 Nvidia B200 (1 gpu slice)
   attached to DWS Defined Duration VMs running in Netherlands") which
   otherwise hog the row. word-break wraps long instance strings cleanly. */
.pricing-table td:nth-child(4) {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12px;
  max-width: 240px;
  word-break: break-word;
}
/* Engine: short pill of identifying tag — TensorRT, vLLM, LLMBoost. */
.mlperf-table .engine-cell {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-deep);
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  white-space: nowrap;
}
/* Per-GPU column = primary buyer-comparable metric (bold, full color);
   System total = secondary context (smaller, muted). */
.mlperf-table td.num.primary { font-weight: 700; }
.mlperf-table td.num.secondary {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
.pricing-table .source-link, .mlperf-table .submission-link {
  font-size: 11px;
  color: var(--gray-soft);
  margin-left: 6px;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
}
.pricing-table .source-link:hover { color: var(--teal); }
/* MLPerf submission link — brand-green for visibility (it's the
   buyer's path back to the official MLCommons source). */
.mlperf-table .submission-link {
  color: #15803d;
  font-weight: 600;
}
.mlperf-table .submission-link:hover {
  color: var(--brand-green);
  text-decoration: underline;
}

/* Sticky first column on narrow */
@media (max-width: 720px) {
  .pricing-table th:first-child, .pricing-table td:first-child,
  .mlperf-table th:first-child, .mlperf-table td:first-child {
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 1;
  }
  .pricing-table th:first-child, .mlperf-table th:first-child {
    background: var(--bg-alt);
  }
  /* Sticky col must inherit the row's group shade when scrolled,
     otherwise the alternating bg breaks across the boundary. */
  .pricing-table tr.gpu-group-shaded td:first-child {
    background: #e8eef4;
  }
  /* Solid hover bg ONLY for sticky cells — the rgba(...,0.12) hover used
     elsewhere is 88% transparent and lets scrolled-left cells bleed
     through underneath the sticky column. Pre-mix the alpha to a solid
     for first-child only; non-sticky hover stays rgba (correct there). */
  .pricing-table tr:hover td:first-child,
  .mlperf-table tr:hover td:first-child {
    background: #e9fbef;
  }
  .pricing-table tr.gpu-group-shaded:hover td:first-child,
  .mlperf-table tr.gpu-band:hover td:first-child {
    background: #d5ece2;
  }
}

/* ---- MLPerf <details> blocks ---- */
details.workload {
  margin-bottom: 14px;
  background: #fff;
  border-top: 3px solid var(--teal);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.04);
  scroll-margin-top: 88px;
  transition: box-shadow 0.2s ease;
}
details.workload:hover {
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 20px rgba(10,31,68,0.08);
}
details.workload summary {
  cursor: pointer;
  padding: 14px 18px;
  list-style: none;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  user-select: none;
}
details.workload summary::-webkit-details-marker { display: none; }
details.workload summary::before {
  content: '\25B8';
  color: var(--gray-soft);
  font-size: 14px;
  transition: transform 0.15s;
  display: inline-block;
  margin-right: 4px;
}
details.workload[open] summary::before { transform: rotate(90deg); }
details.workload summary:hover { background: var(--bg-hover); }
details.workload[open] summary { border-bottom: 1px solid var(--border); }
.wl-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--teal-deep);
  font-family: 'SF Mono', Menlo, Consolas, monospace;
}
.wl-meta { font-size: 12px; color: var(--muted); margin-left: auto; }
.wl-meta .top { color: #15803d; font-weight: 600; }
.wl-body { padding: 12px 18px 18px; }

/* ---- Methodology footer ---- */
footer.methodology {
  background: #fff;
  border-top: 3px solid var(--brand-green);
  border-radius: 0 0 12px 12px;
  padding: 24px 28px;
  margin-top: 36px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
footer.methodology h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: 12px;
}
footer.methodology p {
  font-size: 14px;
  color: var(--mid);
  margin-bottom: 12px;
  line-height: 1.65;
}
footer.methodology p.footer-disclaimer {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

/* ---- Soterra attribution gradient block ---- */
.soterra-attribution {
  margin-top: 24px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #0a1f44 0%, #0070c0 100%);
  color: rgba(255,255,255,0.92);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.65;
  box-shadow: 0 4px 14px rgba(10,31,68,0.15);
}
.soterra-attribution strong { color: var(--brand-green); font-weight: 700; }
.soterra-attribution a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.soterra-attribution a:hover { color: var(--brand-green); }

/* ---- Landing card grid ---- */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 720px) { .reports-grid { grid-template-columns: 1fr; } }
.report-card {
  background: #fff;
  border-top: 4px solid var(--teal);
  border-radius: 0 0 12px 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.report-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(10,31,68,0.10), 0 12px 32px rgba(10,31,68,0.06);
}
.report-card.coming-soon {
  border-top-color: var(--gray-soft);
  opacity: 0.6;
}
.report-card .card-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
}
/* MLPerf card differentiates with brand green; Pricing stays teal */
.reports-grid .report-card:nth-child(2):not(.coming-soon) {
  border-top-color: var(--brand-green);
}
.reports-grid .report-card:nth-child(2):not(.coming-soon) .card-eyebrow {
  color: var(--brand-green);
  margin-bottom: 10px;
}
.report-card.coming-soon .card-eyebrow { color: var(--gray-soft); }
.report-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: 10px;
  line-height: 1.3;
}
.report-card p.description {
  font-size: 14px;
  color: var(--mid);
  margin-bottom: 18px;
  line-height: 1.6;
  flex-grow: 1;
}
.freshness-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  border-left: 3px solid #10b981;
  padding: 7px 12px;
  border-radius: 0 4px 4px 0;
  font-size: 12px;
  color: #047857;
  margin-bottom: 18px;
  align-self: flex-start;
}
.freshness-pill::before {
  content: '\25CF';
  color: #10b981;
  font-size: 10px;
  line-height: 1;
}
.freshness-pill strong { color: #064e3b; font-weight: 600; }
.freshness-pill .muted { opacity: 0.75; }
.report-card.coming-soon .freshness-pill {
  background: var(--bg-alt);
  border-left-color: var(--gray-soft);
  color: var(--muted);
}
.report-card.coming-soon .freshness-pill::before { color: var(--gray-soft); }
.report-cta {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background 0.15s;
  align-self: flex-start;
}
.report-cta:hover { background: var(--teal-deep); color: #fff; text-decoration: none; }
.report-card.coming-soon .report-cta {
  background: var(--gray-soft);
  pointer-events: none;
}

.methodology-block {
  background: #fff;
  border-top: 3px solid var(--brand-green);
  border-radius: 0 0 12px 12px;
  padding: 24px 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  margin-bottom: 24px;
}
.methodology-block h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: 12px;
}
.methodology-block p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.65;
}

/* ---- Site footer ---- */
footer.site-footer {
  background: var(--dark);
  border-top: 1px solid #1f2937;
  padding: 24px;
  text-align: center;
  margin-top: 48px;
}
footer.site-footer p { font-size: 13px; color: #cbd5e1; }
footer.site-footer span { color: #60a5fa; }
footer.site-footer .footer-sep { color: #64748b; margin: 0 8px; }
footer.site-footer .footer-link { color: #60a5fa; text-decoration: none; }
footer.site-footer .footer-link:hover { text-decoration: underline; }

@media (max-width: 540px) {
  .body-section { padding: 20px 16px 40px; }
  .page-header { padding: 32px 20px 28px; }
  .pricing-section { padding: 18px 20px; }
  .report-card { padding: 22px; }
  footer.methodology, .methodology-block { padding: 20px; }
  .soterra-attribution { padding: 20px; }
}

