.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease;
  cursor: pointer;
}
.language-switch-box {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 32px;
  padding: 5px 7px;
  border: 1px solid currentColor;
  border-radius: 6px;
  pointer-events: none;
}
.language-switch-icon {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  max-width: 18px;
}
.site-language-toggle { color: #096d65; }
.site-language-label { white-space: nowrap; }
.site-language-toggle[hidden] { display: none; }
.site-language-toggle:hover { background: transparent; color: #0d847b; }
.site-language-toggle:focus-visible { outline: 2px solid #0d847b; outline-offset: 3px; }
.navbar-links { min-width: 0; }
.nav-link { white-space: nowrap; }
html.is-language-switching { scroll-behavior: auto; }
.is-language-switching .faq-answer { transition: none; }
html[lang="tl"] .hero-heading-line { white-space: normal; }
html[lang="tl"] .hero-heading {
  font-size: 28px;
  line-height: 1.08;
  overflow-wrap: break-word;
}
@media (max-width: 359px) {
  html[lang="tl"] .hero-heading { font-size: 24px; }
}
@media (min-width: 768px) and (max-width: 899px) {
  html[lang="tl"] .hero-heading { font-size: 32px; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  html[lang="tl"] .hero-heading { font-size: 38px; }
}
@media (min-width: 1200px) {
  html[lang="tl"] .hero-heading { font-size: 42px; }
}

/* Longer Tagalog feature labels keep the same readable hierarchy and rows. */
html[lang="tl"] #why-us .why-card h3 {
  --why-heading-size: 26px;
  font-size: var(--why-heading-size);
  line-height: 1.2;
  min-height: 0;
}
html[lang="tl"] #why-us .why-release-title span { display: block; }
@media (min-width: 640px) {
  html[lang="tl"] #why-us .why-card h3 {
    --why-heading-size: 28px;
    min-height: calc(var(--why-heading-size) * 2.4);
  }
  @supports (grid-template-rows: subgrid) {
    html[lang="tl"] #why-us .why-card {
      grid-row: span 3;
      grid-template-rows: subgrid;
      row-gap: 16px;
    }
  }
}
@media (min-width: 640px) and (max-width: 1099px) {
  html[lang="tl"] #why-us .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  html[lang="tl"] #why-us .why-card h3 {
    --why-heading-size: clamp(24px, 2.2vw, 30px);
  }
}
@media (max-width: 639px) {
  .navbar-inner { gap: 8px; }
  .navbar-logo .navbar-wordmark { width: clamp(130px, 39vw, 174px); }
  .navbar-cta-group { gap: 4px; }
  .language-switch-box { padding-inline: 6px; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .navbar-inner { gap: 14px; }
  .navbar-links { gap: 12px; }
  .nav-link { font-size: 14px; }
}
