.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: .35rem .75rem;
  border: 1px solid currentColor;
  border-radius: 5px;
  background: transparent;
  color: inherit;
  white-space: nowrap;
  cursor: pointer;
  font: 700 .85rem/1.3 Cairo, Tahoma, sans-serif;
}
.language-switch:hover { opacity: .8; }
.language-switch:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.account-language { align-self: flex-end; }
.topbar-actions { gap: clamp(.45rem, 2vw, 1.5rem); }
.topbar-actions .language-switch { color: #f5f1e7; }
:root[lang="en"] .hero-content { margin-right: 0; margin-inline-end: auto; }
:root[lang="en"] .hero-content h1 { font-size: clamp(2.75rem, 7.5vw, 7.5rem); }
:root[lang="en"] .platform-heading h2,
:root[lang="en"] .intro-copy h2,
:root[lang="en"] .engineering-copy h2 { overflow-wrap: anywhere; }
:root[lang="en"] .app-footer { gap: .9rem; }
:root[lang="en"] .app-footer small { margin-inline-start: .4rem; }
:root[lang="en"] .portal { background: linear-gradient(to right, #20261f 0 var(--portal-sidebar), #eff0e9 var(--portal-sidebar)); }
:root[lang="en"] .portal-heading > div { min-width: 0; }
:root[lang="en"] .hero-actions, :root[lang="en"] .portal-actions { flex-wrap: wrap; }
:root[lang="en"] .engineering-image::after { background: linear-gradient(270deg, transparent 42%, #171a16); }
:root[lang="en"] .login-story h1 { font-size: clamp(2.65rem, 5vw, 4.5rem); }
@media (max-width: 760px) {
  :root[lang="en"] .portal { background: #eff0e9; }
  :root[lang="en"] .engineering-image::after { background: linear-gradient(0deg, #171a16 0%, transparent 45%); }
  .language-switch { min-height: 40px; padding-inline: .55rem; }
}
