/* ============================================================
   INSIGHTS PAGE — insights.css
   Deploy to: /assets/css/insights.css
   Depends on: /assets/css/style.css (base styles, variables, btn classes)
   ============================================================ */

/* ── Hero ──────────────────────────────────────────────────── */
.insights-hero {
  padding: 100px 0 64px;
  border-bottom: 1px solid #1E2838;
}

.insights-hero-inner {
  max-width: 760px;
}

.insights-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 16px 0 20px;
  letter-spacing: -0.01em;
}

.insights-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.0625rem;
  color: #7A8299;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 0 32px;
}

.insights-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.insights-meta-item {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8125rem;
  color: #4F5B6E;
  letter-spacing: 0.01em;
}

.insights-meta-divider {
  color: #1E2838;
  font-size: 0.875rem;
}

/* ── Contents Nav ──────────────────────────────────────────── */
.insights-nav-section {
  padding: 28px 0;
  border-bottom: 1px solid #1E2838;
  position: sticky;
  top: 0;
  z-index: 10;
  background: #0E1117;
}

.insights-contents {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.insights-contents-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4F5B6E;
  white-space: nowrap;
  flex-shrink: 0;
}

.insights-contents-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  counter-reset: none;
}

.insights-contents-list li {
  counter-increment: none;
}

.insights-contents-list a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8125rem;
  color: #7A8299;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.insights-contents-list a:hover,
.insights-contents-list a.active {
  color: #C9A84C;
  border-color: #263040;
}

/* ── Section Layout ────────────────────────────────────────── */
.insights-section {
  padding: 80px 0;
}

.insights-section-header {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.insights-section-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: #1E2838;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 4px;
  letter-spacing: -0.02em;
}

.insights-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  color: #FFFFFF;
  margin: 12px 0 12px;
  line-height: 1.25;
}

.insights-section-intro {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  color: #7A8299;
  line-height: 1.7;
  max-width: 600px;
  margin: 0;
}

/* ── Stat Grid ─────────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2px;
  margin-bottom: 40px;
}

.stat-card {
  background: #131820;
  padding: 36px 32px;
  border: 1px solid #1E2838;
  transition: border-color 0.2s;
  position: relative;
}

.stat-card:hover {
  border-color: #263040;
}

.stat-card--featured {
  background: #182030;
  border-color: #263040;
}

.stat-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #C9A84C;
}

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.stat-pct {
  font-size: 0.6em;
  color: #C9A84C;
  vertical-align: super;
  margin-left: 2px;
}

.stat-unit {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #C9A84C;
  margin-bottom: 20px;
  font-weight: 500;
}

.stat-description {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: #7A8299;
  line-height: 1.65;
  margin: 0;
}

/* ── Callout ───────────────────────────────────────────────── */
.insights-callout {
  border-left: 2px solid #1E2838;
  padding: 20px 28px;
  margin-top: 8px;
}

.insights-callout p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.0625rem;
  font-style: italic;
  color: #D8DCE4;
  line-height: 1.65;
  margin: 0;
}

.insights-callout--gold {
  border-left-color: #C9A84C;
  background: #131820;
  padding: 24px 28px;
}

.insights-callout--gold p {
  font-style: normal;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  color: #D8DCE4;
}

/* ── Inline CTA block ──────────────────────────────────────── */
.insights-cta-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.insights-cta-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: #4F5B6E;
  margin: 0;
}

/* ── Section divider ───────────────────────────────────────── */
.insights-divider {
  padding: 0;
}

.insights-divider hr {
  border: none;
  border-top: 1px solid #1E2838;
  margin: 0;
}

/* ── Closing CTA ───────────────────────────────────────────── */
.insights-closing {
  padding: 100px 0;
}

.insights-closing-inner {
  max-width: 720px;
}

.insights-closing-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 16px 0 28px;
}

.insights-closing-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  color: #7A8299;
  line-height: 1.7;
  margin: 0 0 16px;
}

.insights-closing-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 40px 0 32px;
}

.insights-model-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.model-pill {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: #4F5B6E;
  border: 1px solid #1E2838;
  padding: 4px 12px;
  border-radius: 2px;
  letter-spacing: 0.02em;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .insights-hero {
    padding: 72px 0 48px;
  }

  .insights-section-header {
    flex-direction: column;
    gap: 16px;
  }

  .insights-section-number {
    font-size: 2rem;
  }

  .insights-nav-section {
    position: static;
  }

  .insights-contents {
    gap: 12px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .insights-cta-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .insights-closing {
    padding: 72px 0;
  }

  .insights-closing-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .insights-contents-list a {
    font-size: 0.75rem;
    padding: 4px 8px;
  }
}
