/*
 * Visitor-facing and login readability, preserving every Partner color/theme.
 * Consistent information hierarchy and responsive non-overlapping controls.
 */

/* Product: keep the hero, make supporting sales and technical information readable. */
.public-card .public-header-contact span,
.public-card .hero-panel-label,
.public-card .hero-panel-grid small,
.public-card .plan-card-inner > small,
.public-card .plan-card-inner > i,
.public-card .price-note,
.public-card .field small,
.public-card .payment-card span small,
.public-card .plan-total,
.public-card .public-footer,
.public-card .partner-proof-stats small,
.public-card .partner-proof > div:first-child span {
  font-size: 12px;
  color: #586a73;
}
.public-card .trust-point strong { font-size: 14px; }
.public-card .trust-point p,
.public-card .requirement-grid p,
.public-card .obligation-callout p,
.public-card .field label,
.public-card fieldset legend,
.public-card .payment-card span strong,
.public-card .public-header-nav a,
.public-card .regulation-links a { font-size: 13px; line-height: 1.5; }
.public-card .trust-point p,
.public-card .requirement-grid p,
.public-card .obligation-callout p { color: #596a72; }
.public-card .eyebrow,
.public-card .plan-card-inner > em,
.public-card .hero-assurance,
.public-card .regulation-copy small,
.public-card .demo-note { font-size: 12px; }
.public-card .plan-card-inner > em { margin-bottom: 13px; }
.public-card .regulation-copy small { color: #c9d4d9; }
.public-card .regulation-band a { color: #f0f6f7; }
.public-card .plan-card-inner > small { color: #596a73; }
.public-card .back-link { font-size: 14px; }
.public-card .secondary-action { font-size: 14px; min-height: 46px; }
.public-card .public-footer { line-height: 1.5; }
.public-card .trust-strip { row-gap: 18px; }

/* Lead acquisition: reserve the right corner for the independent language menu. */
.gsm-partner-page .gsm-partner-header nav a { font-size: 13px; }
.gsm-partner-page .gsm-kicker,
.gsm-partner-page .gsm-search-intents span,
.gsm-partner-page .gsm-professional-note { font-size: 12px; }
.gsm-partner-page .gsm-seo-hero .gsm-hero-lead { line-height: 1.58; }
.gsm-partner-page .gsm-header-cta { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }

@media (max-width: 900px) {
  .gsm-partner-page .gsm-partner-header {
    padding-right: 99px;
    gap: 9px;
  }
  .gsm-partner-page .gsm-partner-header nav { margin-left: auto; flex: 0 0 auto; }
  .gsm-partner-page .gsm-partner-header .gsm-header-cta {
    min-height: 42px;
    padding: 9px 10px;
    font-size: 12px;
  }
  .gsm-partner-page .gsm-partner-brand { min-width: 0; }
  .gsm-partner-page .gsm-partner-brand img { max-width: 100%; }
}

@media (max-width: 575.98px) {
  .public-card .public-header { min-height: 76px; }
  .public-card .sales-hero { padding-top: 38px; }
  .public-card .sales-hero-copy h1 { font-size: clamp(34px,9vw,42px); line-height: 1.07; }
  .public-card .hero-assurance { font-size: 13px; }
  .public-card .plan-card-inner { padding: 18px; }
  .public-card .hero-panel-grid { gap: 9px; }
  .public-card .plan-grid { gap: 11px; }
  .gsm-partner-page .gsm-partner-header { padding-right: 98px; padding-left: 18px; }
  .gsm-partner-page .gsm-seo-copy h1 { line-height: 1.06; font-size: clamp(37px,10vw,48px); }
  .gsm-partner-page .gsm-header-cta { font-size: 12px; }
}

/* Auth: a login control must be visible before promotional copy on narrow screens. */
.auth-tech-body .auth-form label span { font-size: 14px; color: #4e626e; }
.auth-tech-body .auth-tech-card > div > p { font-size: 14px; color: #586e7a; }
.auth-tech-body .auth-footnote { font-size: 12px; color: #607580; }
.auth-tech-body .auth-secondary-link { font-size: 13px; }
.auth-tech-body .auth-signal,
.auth-tech-body .auth-kicker { font-size: 12px; }

@media (max-width: 700px) {
  .auth-tech-body .auth-tech-panel {
    padding: 22px 22px 8px;
  }
  .auth-tech-body .auth-tech-brand img { max-height: 43px; width: 110px; }
  .auth-tech-body .auth-tech-brand span { font-size: 12px; }
  .auth-tech-body .auth-tech-copy { margin: 18px 0 12px; }
  .auth-tech-body .auth-tech-copy h1 {
    margin: 8px 0;
    font-size: clamp(27px,8vw,38px);
    line-height: 1.08;
    letter-spacing: -.035em;
  }
  .auth-tech-body .auth-tech-copy p { font-size: 13px; line-height: 1.55; }
  .auth-tech-body .auth-signal { display: none; }
  .auth-tech-body .auth-tech-card {
    width: calc(100% - 32px);
    max-width: 440px;
    padding: 24px 22px;
    margin: 10px auto 20px;
  }
  .auth-tech-body .auth-tech-card h2 { font-size: 27px; line-height: 1.2; }
  .auth-tech-body .auth-form { gap: 12px; margin-top: 20px; }
  .auth-tech-body .auth-footnote { line-height: 1.5; }
}

/* The language flags occupy a fixed top-right position on desktop as well. */
@media (min-width: 901px) {
  .gsm-partner-page .gsm-partner-header { padding-right: 122px; }
}

/* Last pass: important microcopy on product, pricing, compliance and contact. */
.public-card .hero-action-copy small,
.public-card .hero-panel-grid small,
.public-card .plan-total,
.public-card .plan-total span,
.public-card .public-vat-toggle button,
.public-card .regulation-highlight strong,
.public-card .regulation-brand small,
.public-card .footer-company strong,
.public-card .footer-company span,
.public-card .footer-info-group > span,
.public-card .footer-info-group .footer-info-row strong,
.public-card .footer-info-group .footer-info-row span { font-size: 12px; }
.public-card .hero-action-copy small,
.public-card .plan-total,
.public-card .regulation-brand small { line-height: 1.45; }
.public-card .footer-info-group > span,
.public-card .plan-total,
.public-card .hero-panel-grid small { color: #536773; }
.public-card .regulation-brand small { color: #d4e0e5; }
.public-card .regulation-highlight strong { color: #e5f0f3; }
.public-card .public-vat-toggle button { min-height: 34px; color: #506371; }
.public-card .requirement-grid > article > span { font-size: 13px; }

/* Partner acquisition: data and legal text must remain readable. */
.gsm-partner-page .gsm-official-links,
.gsm-partner-page .gsm-official-links span,
.gsm-partner-page .gsm-official-links a,
.gsm-partner-page .gsm-solution-flow p,
.gsm-partner-page .gsm-model-card > span,
.gsm-partner-page .gsm-model-card li,
.gsm-partner-page .gsm-fit-grid span,
.gsm-partner-page .gsm-lead-points span,
.gsm-partner-page .gsm-lead-form .field span,
.gsm-partner-page .gsm-lead-form .lead-consent span,
.gsm-partner-page .gsm-form-eligibility { font-size: 12px; line-height: 1.5; }
.gsm-partner-page .gsm-lead-form .field span { color: #516878; }
.gsm-partner-page .gsm-form-eligibility { color: #647783; }
.gsm-partner-page .gsm-model-card > span { font-weight: 750; }

/* Legacy pricing had important-size inline overrides on the total line. */
.public-card small.plan-total { font-size: 12px !important; color: #536773 !important; }
.gsm-partner-page label.lead-consent { font-size: 12px; line-height: 1.5; }
