/* ============================================
   FLUME PRICE INDEX — SHARED STYLES
   ============================================ */
:root {
  --flume-black: #000000;
  --flume-white: #FDFDFC;
  --flume-yellow: #FFD600;
  --flume-gold-start: #FEE60C;
  --flume-gold-end: #F19A17;
  --flume-amber: #FFA600;
  --flume-bright-gold: #F9DE2E;
  --flume-card-light: #F6F6F5;
  --flume-card-dark: #333434;
  --flume-card-dark-alt: #2E2D2D;
  --flume-text-muted: #333333;
  --flume-gradient-accent: linear-gradient(90deg, #FEE60C, #F19A17);
  --font-heading: 'DM Sans', Arial, sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 40px;
  --cut-size: 24px;
  --section-padding: 80px;
  --content-max-width: 1200px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--flume-black);
  background: var(--flume-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: var(--content-max-width); margin: 0 auto; padding: 0 24px; }
.accent-text {
  background: var(--flume-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,253,252,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: var(--content-max-width); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-logo svg { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--flume-text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--flume-black); }
.nav-links a.btn-primary { color: var(--flume-white); }
.nav-links a.btn-primary:hover { color: var(--flume-white); }
.nav-audience { display: flex; gap: 4px; background: var(--flume-card-light); border-radius: var(--radius-pill); padding: 4px; }
.nav-audience button { font-family: var(--font-body); font-size: 14px; font-weight: 400; padding: 8px 16px; border-radius: var(--radius-pill); border: none; cursor: pointer; background: transparent; color: var(--flume-text-muted); transition: all 0.2s; }
.nav-audience button.active { background: var(--flume-white); color: var(--flume-black); font-weight: 500; box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
.nav-audience button:hover:not(.active) { color: var(--flume-black); }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background-color: var(--flume-black); color: var(--flume-white); border-radius: var(--radius-pill); padding: 16px 24px; font-family: var(--font-body); font-size: 16px; font-weight: 400; border: none; cursor: pointer; transition: opacity 0.2s ease; }
.btn-primary:hover { opacity: 0.85; }
.btn-primary svg { width: 16px; height: 16px; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 12px; min-width: 44px; min-height: 44px; justify-content: center; z-index: 101; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--flume-black); border-radius: 2px; transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: var(--flume-white); flex-direction: column; padding: 40px 24px; gap: 28px; z-index: 99; overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-heading); font-size: 24px; font-weight: 500; color: var(--flume-text-muted); transition: color 0.2s; }
.mobile-menu a:hover { color: var(--flume-black); }
.mobile-menu a.btn-primary { color: var(--flume-white); font-size: 16px; justify-content: center; margin-top: 8px; }
.mobile-menu-divider { height: 1px; background: rgba(0,0,0,0.08); margin: 4px 0; }
.mobile-menu .mobile-menu-sub { font-size: 18px; color: #999; }

/* BREADCRUMB */
.breadcrumb { padding: 20px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.breadcrumb-list { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--flume-text-muted); font-weight: 500; }
.breadcrumb-list li { list-style: none; }
.breadcrumb-list li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #ccc; }
.breadcrumb-list a { color: var(--flume-text-muted); transition: color 0.2s; padding: 12px 0; }
.breadcrumb-list a:hover { color: var(--flume-black); }
.breadcrumb-list li:last-child { color: var(--flume-black); }

/* HERO */
.pi-hero {
  padding: 56px 0 48px;
  text-align: center;
}
.pi-hero h1 {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.pi-hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--flume-text-muted);
  max-width: 480px;
  margin: 0 auto 24px;
}
.pi-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #999;
}
.pi-hero-meta-dot {
  width: 3px; height: 3px; border-radius: 50%; background: #ccc;
}

/* WIDGET SECTIONS */
.pi-widgets {
  background: #111111;
}
.pi-ws {
  padding: 80px 0;
}
.pi-ws-light {
  background: var(--flume-white);
}
.pi-ws-light .pi-ws-title {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--flume-black);
  background-clip: unset;
  color: var(--flume-black);
}
.pi-ws-light .pi-ws-sub {
  color: var(--flume-text-muted);
}
.pi-ws-head {
  text-align: center;
  margin-bottom: 48px;
}
.pi-ws-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.15;
  background: linear-gradient(120deg, #FFA600 0%, #F9DE2E 40%, #FFFFFF 75%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.pi-ws-sub {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(253,253,252,0.5);
  max-width: 600px;
  margin: 0 auto;
}
.pi-row {
  display: grid;
  gap: 16px;
}
.pi-row-1   { grid-template-columns: 1fr; }
.pi-row-2   { grid-template-columns: 1fr 1fr; }
.pi-row-1-2 { grid-template-columns: 1fr 2fr; }

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

/* EMBED */
.pi-embed {
  background: var(--flume-black);
  padding: var(--section-padding) 0;
}
.pi-embed-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.pi-embed-content h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--flume-white);
}
.pi-embed-content p {
  font-size: 16px;
  color: rgba(253,253,252,0.6);
  line-height: 1.7;
  margin-bottom: 28px;
}
.pi-embed-code {
  background: var(--flume-card-dark);
  border-radius: var(--radius-md);
  padding: 28px;
  overflow-x: auto;
}
.pi-embed-code-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #666;
  margin-bottom: 16px;
}
.pi-embed-code pre {
  font-family: 'SF Mono', 'Fira Code', Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(253,253,252,0.7);
  white-space: pre;
  overflow-x: auto;
  margin: 0;
}
.pi-embed-code .code-tag { color: #7DD3FC; }
.pi-embed-code .code-attr { color: #FDE68A; }
.pi-embed-code .code-val { color: #86EFAC; }

/* FAQ */
.pi-faq {
  padding: var(--section-padding) 0;
}
.pi-faq-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 24px;
}
.pi-faq-list {
  max-width: 720px;
  margin: 48px auto 0;
}
.pi-faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.pi-faq-q {
  width: 100%; background: none; border: none;
  padding: 24px 0;
  font-family: var(--font-heading); font-size: 17px; font-weight: 500;
  color: var(--flume-black); text-align: left; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.pi-faq-q:hover { color: #666; }
.pi-faq-chevron { width: 20px; height: 20px; flex-shrink: 0; margin-left: 16px; transition: transform 0.3s; }
.pi-faq-item.open .pi-faq-chevron { transform: rotate(90deg); }
.pi-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.pi-faq-item.open .pi-faq-a { max-height: 800px; padding-bottom: 24px; }
.pi-faq-a p { font-size: 16px; line-height: 1.6; color: var(--flume-text-muted); }

/* CTA — matches homepage final-cta */
.final-cta {
  background: var(--flume-black);
  color: var(--flume-white);
  position: relative;
  overflow: hidden;
}
.final-cta-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.final-cta-glow {
  position: absolute;
  bottom: -300px;
  right: -100px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(251, 169, 38, 0.15) 0%, rgba(249, 224, 0, 0.08) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.final-cta-decoration {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 60px;
}
.final-cta-decoration svg {
  width: 100%;
  max-width: 360px;
  height: auto;
}
.final-cta-content {
  position: relative;
  z-index: 1;
  text-align: left;
  padding: 100px 60px 100px 0;
}
.final-cta h2 {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 500;
  line-height: 0.96;
  margin-bottom: 16px;
}
.final-cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}
.final-cta-buttons { display: flex; gap: 12px; }
.final-cta .sub-text {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.accent-text-dark {
  background: var(--flume-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.btn-primary-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--flume-white); color: var(--flume-black);
  border-radius: var(--radius-pill);
  padding: 16px 28px;
  font-family: var(--font-body); font-size: 16px; font-weight: 500;
  border: none; cursor: pointer; transition: opacity 0.2s;
}
.btn-primary-dark:hover { opacity: 0.85; }
.btn-primary-dark svg { width: 16px; height: 16px; }

/* FOOTER */
.footer { background-color: var(--flume-white); border-top: 1px solid rgba(0,0,0,0.06); padding: 60px 24px 40px; }
.footer-container { max-width: var(--content-max-width); margin: 0 auto; }
.footer-content { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo svg { height: 22px; width: auto; margin-bottom: 24px; }
.footer-section h3 { font-family: var(--font-heading); font-size: 14px; font-weight: 500; color: var(--flume-black); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-section a { display: block; font-size: 14px; color: var(--flume-text-muted); padding: 6px 0; transition: color 0.2s; }
.footer-section a:hover { color: var(--flume-black); }
.footer-bottom { border-top: 1px solid rgba(0,0,0,0.06); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--flume-text-muted); }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a { color: var(--flume-text-muted); transition: color 0.2s; }
.footer-socials a:hover { color: var(--flume-black); }

/* ============================================
   SUB-PAGE CONTENT STYLES
   ============================================ */

/* Prose content wrapper */
.pi-content {
  padding: var(--section-padding) 0;
}
.pi-content-inner {
  max-width: 720px;
  margin: 0 auto;
}
.pi-content h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
  margin: 48px 0 16px;
}
.pi-content h2:first-child {
  margin-top: 0;
}
.pi-content h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  margin: 32px 0 12px;
}
.pi-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--flume-text-muted);
  margin-bottom: 16px;
}
.pi-content ul, .pi-content ol {
  margin: 0 0 16px 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--flume-text-muted);
}
.pi-content li {
  margin-bottom: 8px;
}
.pi-content a {
  color: var(--flume-black);
  text-decoration: underline;
  text-decoration-color: rgba(0,0,0,0.2);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.pi-content a:hover {
  text-decoration-color: var(--flume-black);
}
.pi-content strong {
  font-weight: 600;
  color: var(--flume-black);
}

/* Methodology-specific sections */
.pi-method-section {
  padding-top: 40px;
  margin-top: 40px;
}

/* Category grid — used on hub, methodology, and sub-pages */
.pi-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 32px 0;
}
.pi-category-grid a {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: var(--flume-card-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--flume-text-muted);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.pi-category-grid a:hover {
  background: var(--flume-black);
  color: var(--flume-white);
}

/* Related categories (narrower grid for sub-pages) */
.pi-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0 32px;
}
.pi-related-grid a {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: var(--flume-card-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--flume-text-muted);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.pi-related-grid a:hover {
  background: var(--flume-black);
  color: var(--flume-white);
}

/* Explore section on hub page */
.pi-explore {
  padding: var(--section-padding) 0;
}
.pi-explore-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
  margin-bottom: 12px;
}
.pi-explore-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--flume-text-muted);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 40px;
}
.pi-explore-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}
.pi-explore-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--flume-text-muted);
  text-decoration: underline;
  text-decoration-color: rgba(0,0,0,0.2);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.pi-explore-links a:hover {
  color: var(--flume-black);
  text-decoration-color: var(--flume-black);
}

/* Disclaimer bar */
.pi-disclaimer {
  padding: 24px 0;
  font-size: 13px;
  line-height: 1.6;
  color: #999;
  text-align: center;
}

/* Subcategory hub grid (index page cross-links) */
.pi-subcategory-hub {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 32px 0 0;
}
.pi-sub-group {
  background: var(--flume-card-light);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.pi-sub-group h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}
.pi-sub-group h3 a {
  color: var(--flume-black);
  text-decoration: none;
  transition: color 0.2s;
}
.pi-sub-group h3 a:hover {
  color: var(--flume-amber);
}
.pi-sub-group a {
  display: block;
  font-size: 14px;
  color: var(--flume-text-muted);
  padding: 3px 0;
  transition: color 0.2s;
}
.pi-sub-group a:hover {
  color: var(--flume-black);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .pi-embed-inner { grid-template-columns: 1fr; gap: 40px; }
  .final-cta-inner { grid-template-columns: 1fr; }
  .final-cta-decoration { padding: 40px 24px 0; }
  .final-cta-content { padding: 40px 24px 60px; }
  .pi-category-grid { grid-template-columns: repeat(3, 1fr); }
  .pi-subcategory-hub { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .pi-hero h1 { font-size: 36px; }
  .pi-hero { padding: 40px 0 32px; }
  .pi-ws { padding: 56px 0; }
  .pi-ws-title { font-size: 28px; }
  .pi-ws-head { margin-bottom: 32px; }
  .pi-hero-meta { font-size: 14px; }
  .pi-embed-content h2 { font-size: 28px; }
  .pi-faq-title { font-size: 32px; }
  .final-cta h2 { font-size: 32px; }
  .final-cta p { font-size: 16px; }
  .final-cta .sub-text { font-size: 14px; }
  .final-cta-decoration { padding: 40px 24px 0; }
  .final-cta-content { padding: 40px 24px 60px; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 20px; }
  .pi-category-grid { grid-template-columns: repeat(2, 1fr); }
  .pi-subcategory-hub { grid-template-columns: repeat(2, 1fr); }
  .pi-related-grid { grid-template-columns: repeat(2, 1fr); }
  .pi-content h2 { font-size: 26px; }
  .pi-explore-title { font-size: 28px; }
  .pi-explore-links { flex-direction: column; align-items: center; gap: 16px; }
}
/* ============================================
   PRODUCT PRICING SECTIONS
   ============================================ */

/* Subcategory cards grid */
.pp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.pp-card {
  background: var(--flume-card-light);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: box-shadow 0.2s;
}
.pp-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.pp-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.pp-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
}
a.pp-card-title {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #ddd;
}
a.pp-card-title:hover {
  border-bottom-color: var(--flume-yellow, #FFD600);
}
.pp-card-meta {
  font-size: 13px;
  color: #999;
}

/* Price bar visualization */
.pp-bar-group {
  margin-bottom: 10px;
}
.pp-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  margin-bottom: 6px;
}
.pp-bar-label-name {
  font-weight: 500;
  color: var(--flume-text-muted);
}
.pp-bar-label-range {
  color: #999;
  font-variant-numeric: tabular-nums;
}
.pp-bar-track {
  height: 8px;
  background: rgba(0,0,0,0.06);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.pp-bar-fill {
  height: 100%;
  border-radius: 4px;
  position: absolute;
  left: 0;
  top: 0;
}
.pp-bar-fill.retail {
  background: #D4D4D4;
}
.pp-bar-fill.commercial {
  background: var(--flume-gradient-accent);
}
.pp-bar-fill.flume {
  background: var(--flume-yellow);
}
.pp-bar-median {
  position: absolute;
  top: -3px;
  width: 2px;
  height: 14px;
  background: var(--flume-black);
  border-radius: 1px;
  z-index: 1;
}
.pp-bar-legend {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 12px;
  color: #999;
}
.pp-bar-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pp-bar-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.pp-bar-legend-dot.retail { background: #D4D4D4; }
.pp-bar-legend-dot.commercial { background: var(--flume-amber); }

/* Spec tables */
.pp-specs {
  margin-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 12px;
}
.pp-specs-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--flume-text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pp-spec-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  background: rgba(0,0,0,0.04);
  border-radius: var(--radius-pill);
  padding: 3px;
}
.pp-spec-tab {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--flume-text-muted);
  transition: all 0.2s;
}
.pp-spec-tab.active {
  background: var(--flume-white);
  color: var(--flume-black);
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.pp-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.pp-spec-table th {
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
  text-align: left;
  padding: 6px 8px 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.pp-spec-table th:not(:first-child) {
  text-align: right;
  padding-left: 8px;
}
.pp-spec-table td {
  padding: 8px 8px 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.03);
  color: var(--flume-text-muted);
}
.pp-spec-table td:not(:first-child) {
  text-align: right;
  font-variant-numeric: tabular-nums;
  padding-left: 8px;
}
.pp-spec-table td:first-child {
  font-weight: 500;
  color: var(--flume-black);
}
.pp-spec-table tr:last-child td {
  border-bottom: none;
}

/* Section header for product pricing */
.pp-section {
  padding: 40px 0 48px;
}
/* Tighten spacing when prose and table sections are stacked on subcategory detail pages */
.pi-content + .pp-section {
  padding-top: 0;
}
.pp-section + .pi-content {
  padding-top: 24px;
}
.pi-content + .pi-content {
  padding-top: 0;
}
.pp-section-head {
  text-align: center;
  margin-bottom: 28px;
}
.pp-section-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 10px;
}
.pp-section-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--flume-text-muted);
  max-width: 600px;
  margin: 0 auto;
}
.pp-updated {
  font-size: 13px;
  color: #999;
  text-align: center;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .pp-grid { grid-template-columns: 1fr; }
  .pp-section-title { font-size: 28px; }
  .pp-card { padding: 20px; }
  .pp-spec-tabs { flex-wrap: wrap; }
}

/* WIDGET CLS PREVENTION — reserve space before JS renders */
[data-flume-widget="market-summary"] { min-height: 300px; }
[data-flume-widget="biggest-movers"] { min-height: 350px; }
[data-flume-widget="trend-chart"]    { min-height: 450px; }
[data-flume-widget="kpi-cards"]      { min-height: 600px; }
[data-flume-widget="sector-index"]   { min-height: 350px; }
[data-flume-widget="cost-calculator"]{ min-height: 400px; }
[data-flume-widget="inflation-compare"]{ min-height: 400px; }
[data-flume-widget="tariff-tracker"] { min-height: 300px; }
[data-flume-widget="supply-risk"]    { min-height: 250px; }
[data-flume-widget="yoy-heatmap"]    { min-height: 400px; }
[data-flume-widget="correlation-heatmap"]{ min-height: 400px; }
[data-flume-widget="signal-table"]   { min-height: 300px; }

@media (max-width: 640px) {
  .nav-audience { display: none; }
  .pi-hero h1 { font-size: 28px; }
  .pi-ws-title { font-size: 24px; }
  .pi-faq-title { font-size: 28px; }
  .final-cta h2 { font-size: 28px; }
  .final-cta-decoration { padding: 32px 24px 0; }
  .final-cta-decoration svg { max-width: 240px; }
  .final-cta-content { padding: 32px 24px 48px; }
  .final-cta-buttons { flex-direction: column; align-items: stretch; }
  .footer-content { grid-template-columns: 1fr; }
  .pi-category-grid { grid-template-columns: 1fr; }
  .pi-subcategory-hub { grid-template-columns: 1fr; }
  .pi-related-grid { grid-template-columns: 1fr; }

  [data-flume-widget="market-summary"] { min-height: 200px; }
  [data-flume-widget="biggest-movers"] { min-height: 250px; }
  [data-flume-widget="trend-chart"]    { min-height: 350px; }
  [data-flume-widget="kpi-cards"]      { min-height: 400px; }
  [data-flume-widget="sector-index"]   { min-height: 250px; }
  [data-flume-widget="cost-calculator"]{ min-height: 300px; }
  [data-flume-widget="inflation-compare"]{ min-height: 300px; }
  [data-flume-widget="tariff-tracker"] { min-height: 200px; }
  [data-flume-widget="supply-risk"]    { min-height: 180px; }
  [data-flume-widget="yoy-heatmap"]    { min-height: 300px; }
  [data-flume-widget="correlation-heatmap"]{ min-height: 300px; }
  [data-flume-widget="signal-table"]   { min-height: 200px; }
}
