/* Shared, native keyboard- and touch-accessible language dropdown. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.language-control { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 7px; min-width: 86px; min-height: 38px; padding: 9px 10px; border: 1px solid #ffffff24; border-radius: 99px; background: #1c1c1e66; color: #c5c5c9; }
.language-code { font-size: 11px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
.language-chevron { font-size: 12px; line-height: 1; }
.language-select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font: 14px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.language-select option { color: #f2f2f2; background: #1c1c1e; }
.language-control:focus-within { outline: 2px solid #ffcc00; outline-offset: 4px; }
.language-control:hover { color: white; border-color: #ffffff50; }

[data-page="home"] .header-inner { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 24px; }
[data-page="home"] nav { justify-content: flex-end; gap: 0 25px; flex-wrap: wrap; min-width: 0; }
[data-page="home"] nav .platform-nav-link { color: #f2f2f2; font-weight: 650; }
[data-page="home"] nav .platform-nav-link:first-of-type { margin-left: 2px; }
[data-page="home"] .section-intro > *, [data-page="home"] .step-copy, [data-page="home"] .tools-grid article > div { min-width: 0; }
[data-page="home"] h2, [data-page="home"] h3, [data-page="home"] h4 { overflow-wrap: anywhere; }
[data-page="home"] .mini-topline { font-size: 6.5px; letter-spacing: .04em; }
[data-page="home"] .hero-description { max-width: 100%; }
.legal-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 19px; }
.locale-links { display:flex; flex-wrap:wrap; justify-content:center; gap:12px 20px; max-width:1100px; margin:0 auto; padding:24px; font-size:12px; color:#8e8e93; }
.locale-links a { color:inherit; text-decoration:none; }
.locale-links a:hover, .locale-links a[aria-current] { color:#f2f2f2; }
.locale-links a:focus-visible { outline:2px solid #f2f2f2; outline-offset:5px; }

/* The product family uses the same header geometry on every page. */
.platform-page .header.platform-header .header-inner,
.trickcut-page .header.trickcut-header .header-inner { grid-template-columns: auto minmax(0,1fr) auto; gap: 24px; }
.platform-page .header nav, .trickcut-page .header nav { min-width: 0; flex-wrap: wrap; gap: 0 25px; }
.platform-page .header nav [aria-current], .trickcut-page .header nav [aria-current] { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.platform-page .header nav .is-active::after { display: none; }
@media (max-width: 800px) {
  .platform-page .header.platform-header .header-inner,
  .trickcut-page .header.trickcut-header .header-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; padding-block: 12px 9px; }
  .platform-page .header .brand, .trickcut-page .header .brand { width: 150px; }
  .platform-page .header .language-control, .trickcut-page .header .language-control { order: 1; margin-left: auto; min-height: 34px; padding-block: 7px; }
  .platform-page .header.platform-header nav, .trickcut-page .header.trickcut-header nav { order: 2; width: 100%; justify-content: center; gap: 0 22px; font-size: 11px; }
}
@media (max-width: 380px) {
  .platform-page .header.platform-header nav, .trickcut-page .header.trickcut-header nav { gap: 0 16px; font-size: 10px; }
}

/* Preserve natural Japanese line breaking while keeping the compact display style. */
html[lang="ja"] body { line-break: strict; }
html[lang="ja"] .eyebrow { letter-spacing: .08em; }

@media (max-width: 1000px) {
  [data-page="home"] .header-inner { gap: 17px; }
  [data-page="home"] nav { gap: 18px; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 145px; }
  [data-page="home"] .header-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; padding-block: 12px 9px; }
  [data-page="home"] .header .brand { width: 150px; }
  [data-page="home"] .header .language-control { order: 1; }
  [data-page="home"] nav { order: 2; width: 100%; justify-content: center; gap: 25px; font-size: 11px; }
  [data-page="home"] .language-control { min-height: 34px; padding-block: 7px; }
  [data-page="home"] .hero-product figcaption { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 600px) {
  [data-page="home"] nav { gap: 0 14px; }
  [data-page="home"] nav .nav-release { display: none; }
  [data-page="home"] .step { grid-template-columns: 118px minmax(0,1fr); }
  [data-page="home"] .step h3 { font-size: 17px; }
  [data-page="home"] h2 { font-size: 32px; }
  [data-page="home"] .release h2 { font-size: 30px; }
}
@media (max-width: 380px) {
  [data-page="home"] nav { gap: 0 10px; font-size: 10px; }
  [data-page="home"] nav .nav-release { gap: 4px; padding-inline: 7px; }
  [data-page="home"] .step { grid-template-columns: 101px minmax(0,1fr); gap: 12px; }
  [data-page="home"] .step h3 { font-size: 16px; }
  [data-page="home"] .mini-topline { font-size: 5.5px; }
  [data-page="home"] .sports-strip > div { gap: 14px; }
}
