/* Locale-specific presentation, shared by generated English and Japanese pages. */
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: 0.5rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--color-border);
  font-size: 0.85rem;
}
.language-switcher a[aria-current="page"] {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.localization-preview {
  padding: 0.65rem 1rem;
  background: #fff3cf;
  color: #4a3813;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.6;
}
.localization-preview a { text-decoration: underline; }
:lang(ja) body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-break: strict;
  word-break: normal;
}
:lang(ja) h1,
:lang(ja) h2,
:lang(ja) h3,
:lang(ja) .hero h1,
:lang(ja) .seo-hero h1,
:lang(ja) .features-hero h1,
:lang(ja) .support-hero h1 {
  letter-spacing: 0;
  line-height: 1.4;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
:lang(ja) .hero h1,
:lang(ja) .seo-hero h1,
:lang(ja) .features-hero h1,
:lang(ja) .support-hero h1 {
  max-width: 1000px;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
}
:lang(ja) p,
:lang(ja) li,
:lang(ja) .hero-subtitle {
  letter-spacing: 0;
  line-height: 1.9;
}
:lang(ja) .hero-accent { font-family: inherit; }
:lang(ja) .store-cta { letter-spacing: 0; }
:lang(ja) .hero-friend-action { font-size: 16cqi; line-height: 1.2; }
:lang(ja) .footer-links { flex-wrap: wrap; }
@media (min-width: 721px) and (max-width: 1050px) {
  .nav-links { gap: 0.9rem; }
  .brand-logo { width: 150px; }
}
@media (max-width: 720px) {
  .nav-links .language-switcher {
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 0.5rem var(--space-md);
    border: 0;
  }
  .nav-links .language-switcher a { padding: 0.5rem; }
  :lang(ja) .download-buttons { width: 100%; }
  :lang(ja) .hero h1 { font-size: clamp(2rem, 8vw, 3.2rem); }
}
