/* Scoped to the two product landings and CFO legal pages (issue #18). */
body.product-landing { --ui-scroll-padding: 84px; }
.product-landing .nav-inner { gap: 12px; }
.product-landing .nav-logo { min-width: 0; flex: 1 1 auto; }
.product-landing .nav-logo .hui-official-logo { max-width: 100%; }
.product-landing .nav-right { flex: 0 0 auto; }
.product-landing .nav .nav-cta { display: inline-flex; align-items: center; white-space: nowrap; }
.product-landing :is(.eyebrow,.free-note,.flinks,footer,small) { font-size: 14px; }
.product-landing :is(small,footer) a { font-size: inherit; }
.product-landing .nav-caret { font-size: 14px; }
/* A fixed contact shortcut can intercept the hero CTA after the notice enters flow. */
.product-landing #hui-wa-fab { position: static; margin: 0 auto 24px; }

/* Show the notice from first paint so the existing delayed class cannot shift the hero. */
.product-landing #hui-cookie-banner { position: relative; display: flex; min-block-size: 90px; transform: none; transition: none; padding: 12px 24px; gap: 8px 20px; }
html.hui-consent-decided .product-landing #hui-cookie-banner { display: none; }
.product-landing #hui-cookie-banner p { flex: 1 1 540px; font-size: 14px !important; line-height: 1.5; margin: 0; }
.product-landing #hui-cookie-banner p a { font-size: inherit !important; }
.product-landing #hui-cookie-banner .hui-cookie-btns { width: auto; flex-direction: row; flex-wrap: wrap; gap: 8px; }
.product-landing #hui-cookie-banner .hui-cookie-btns button { width: auto; font-size: 14px !important; line-height: 1.4; padding: 8px 10px; }
/* Keep the ES/EN notice height stable while saved language is restored; allow growth. */
@media (max-width: 900px) {
  .product-landing #hui-cookie-banner { min-block-size: 142px; }
}
@media (max-width: 600px) {
  .product-landing .nav-inner { padding-inline: 12px; gap: 8px; }
  .product-landing .nav-right { gap: 4px; }
  .product-landing .nav-right > .nav-cta { padding-inline: 8px; }
  .product-landing #hui-cookie-banner { padding-inline: 16px; min-block-size: 163px; }
}
@media (max-width: 340px) {
  .product-landing #hui-cookie-banner { min-block-size: 184px; }
}

.product-legal { --focus: #00C2FF; --focus-halo: #06080F; }
.product-legal :is(.brand-tag,.back,.eyebrow,.last-update,footer) { font-size: 14px; }
.product-legal :is(.nav-logo,.back,.nav-lang,a,summary) { min-height: 44px; min-width: 44px; }
.product-legal .nav-inner { gap: 12px; }
.product-legal .nav-logo { flex-shrink: 0; }
.product-legal .nav-lang { display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--text-2); font: inherit; font-size: 14px; }
.product-legal :is(main,footer) a { display: inline-flex; align-items: center; max-width: 100%; overflow-wrap: anywhere; color: #64B5FF; }
.product-legal footer, .product-legal footer p, .product-legal footer a { font-size: 14px; }
.product-legal .back { white-space: nowrap; }
@media (max-width: 600px) {
  .product-legal .nav { padding-inline: 16px; }
  .product-legal .nav-inner { display: grid; grid-template-columns: minmax(0,1fr) 44px; height: auto; gap: 0 8px; padding-block: 8px; }
  .product-legal .back { grid-column: 1 / -1; justify-self: start; }
  .product-legal :is(main p,main li) { font-size: 16px; }
  .product-legal .last-update { font-size: 14px; }
}
