/* Language editions share the same brand and genuine product media. */
.header-actions, .page-header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions { justify-self: end; }
.page-header-actions > a { color: var(--muted); font-size: 14px; }
.language-switcher { position: relative; z-index: 25; flex: none; border: 0; }
.language-switcher summary { display: flex; align-items: center; gap: 8px; padding: 10px 0 10px 10px; min-height: 44px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.language-switcher summary::after { position: static; content: ""; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin-left: 2px; margin-top: -3px; }
.language-switcher[open] summary { color: var(--text); }
.language-switcher[open] summary::after { content: ""; transform: rotate(225deg); margin-top: 3px; }
.language-switcher nav { position: absolute; right: 0; top: calc(100% + 8px); min-width: 156px; display: grid; gap: 3px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #1b1c1a; box-shadow: 0 12px 30px #0005; }
.language-switcher nav a { display: block; padding: 10px 12px; border-radius: 7px; min-height: 42px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.language-switcher nav a:hover, .language-switcher nav a[aria-current] { color: var(--accent); background: #e1c8a30d; }
html[lang="en"] .hero h1 { font-size: min(13.5cqi, 4.5rem); letter-spacing: -.055em; line-height: 1.1; }
html[lang="en"] .hero-description { font-size: clamp(16px, 1.3vw, 19px); letter-spacing: 0; }
html[lang="en"] .hero-benefits { font-size: 14px; gap: 8px; }
html[lang="en"] .hero-benefits li + li::before { margin-right: 12px; }
html[lang="en"] .hero-actions { gap: 12px; }
html[lang="en"] .hero-actions .button { padding-inline: 18px; }
html[lang="en"] .hero-actions .time { display: none; }
html[lang="en"] #mila-heading, html[lang="en"] .workflow-heading h2 { font-size: clamp(30px, 3.4vw, 50px); letter-spacing: -.045em; }
html[lang="en"] .workflow-heading .workflow-tabs button { padding-inline: 14px; font-size: 14px; }
html[lang="en"] .author-inline-name, html[lang="en"] .author-band h2 { white-space: normal; }
html[lang="en"] .article h1 { font-size: clamp(34px, 4.2vw, 60px); letter-spacing: -.045em; }
html[lang="en"] .header-inner { grid-template-columns: auto 1fr auto; gap: 28px; }
html[lang="en"] .desktop-nav { justify-content: center; gap: 28px; }
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .header-inner { display: flex; gap: 16px; }
  .brand { margin-right: auto; }
  .menu-toggle { display: block; flex: none; }
  html[lang="en"] .header-inner { gap: 16px; }
}
@media (max-width: 1150px) and (min-width: 1000px) {
  html[lang="en"] .desktop-nav { gap: 20px; }
  html[lang="en"] .header-inner { gap: 20px; }
  html[lang="en"] .hero-actions .button { font-size: 13px; padding-inline: 14px; }
}
@media (max-width: 680px) {
  .header-inner { gap: 12px; }
  .header-actions { gap: 0; }
  .header-actions > .button { display: none; }
  .language-switcher summary { font-size: 13px; }
  .page-header-actions { gap: 16px; }
  .page-header .wrap { gap: 16px; }
  .case-header > a.text-button { margin-left: auto; }
  .case-header .brand { margin-right: 0; }
  html[lang="en"] .hero h1 { font-size: 13.5cqi; }
  html[lang="en"] .hero-benefits { font-size: 12px; gap: 6px; }
  html[lang="en"] .hero-benefits li + li::before { margin-right: 8px; }
  html[lang="en"] .hero-actions .button { font-size: 13px; padding-inline: 16px; }
  html[lang="en"] .hero-description br { display: none; }
  html[lang="en"] #mila-heading { max-width: 100%; font-size: clamp(29px, 7.4vw, 44px); }
  html[lang="en"] #mila-heading > span { white-space: normal; }
  html[lang="en"] .mobile-copy h2 { max-width: none; }
  html[lang="en"] .header-inner { gap: 12px; }
  html[lang="en"] .workflow-heading .workflow-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-radius: 16px; }
  html[lang="en"] .workflow-heading .workflow-tabs button { min-width: 0; padding: 10px 8px; white-space: normal; font-size: 13px; line-height: 1.4; border-radius: 12px; }
}
