/* ==========================================================================
   Public stock page: type scale aligned with investing-home.html and the app.
   Loaded last on the stock pages (en, en-us, de, de-ch).
   investing-home scale: section headings = global h2 (22-32px), intro / lead
   text = --fluid-16-18, list and card text 14-16px, labels 12-14px.
   ========================================================================== */

/* ---------- Hero bar (like the app's PageHero: compact title + short lead) ---------- */

.hero-banner--compact {
  margin-bottom: 24px;
}

.hero-banner--compact .hero-banner-container {
  padding-block: 24px;
}

.hero-banner--compact .hero-banner-container h1 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem) !important; /* 24px -> 36px; global h1 rule uses !important */
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero-banner--compact .hero-banner__lead {
  max-width: 1000px;
  margin: 0;
  font-size: var(--fluid-16-18);
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
}

@media (min-width: 768px) {
  .hero-banner--compact .hero-banner-container { padding-block: 32px; }
}

@media (min-width: 1200px) {
  .hero-banner--compact .hero-banner-container { padding-block: 36px; }
}

/* ---------- Company name in the header card is no longer a heading (the hero H1 carries the name) ---------- */

.sh-name {
  font-size: clamp(1.375rem, 1.2rem + 0.9vw, 1.75rem);
}

/* ---------- Intro / lead text: same size as investing-home (--fluid-16-18) ---------- */

.metrics-table-section > p:not(.rm-note),
.rk-section .rk-intro,
.ss-section .ss-intro {
  font-size: var(--fluid-16-18);
}

.metrics-table-section .rm-cta .rm-cta__text {
  font-size: var(--fluid-16-18);
}

/* ---------- FAQ ---------- */

.faq-section .faq-question {
  font-size: var(--fluid-16-18);
}

/* ---------- Testimonials (same text sizes as investing-home) ---------- */

.testimonials-section .testimonials-subtitle {
  font-size: var(--fluid-16-18);
  margin-bottom: 40px;
}

.testimonials-section .testimonial-card {
  padding: 28px 22px;
}

.testimonials-section .testimonial-text {
  font-family: var(--font-family);
  font-size: var(--fluid-16-18);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* ---------- Tighter vertical rhythm (the page was long, with big empty gaps) ---------- */

.faq-section {
  margin-bottom: 48px;
}

.testimonials-section {
  margin-block: 72px;
}

.lp-page .lp-section {
  padding-block: 64px;
}

.lp-allfeatures {
  padding-block: 64px 72px;
}
