:root {
  font-family: Inter, "PingFang SC", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif;
  color: #2d2925;
  background: #f8f1ed;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { background: #f8f1ed; }
body { margin: 0; }
main { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 40px 0 72px; }
a { color: #a94340; text-underline-offset: 3px; }

.brand {
  display: inline-flex;
  gap: 7px;
  margin-bottom: 52px;
  color: inherit;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -.02em;
  text-decoration: none;
}
.brand span { color: #a94340; }
.legal-header { margin-bottom: 30px; }
.eyebrow {
  margin: 0 0 10px;
  color: #a94340;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1 { margin: 0; font-size: clamp(34px, 7vw, 56px); letter-spacing: -.05em; line-height: .98; }
h1 span { color: #746a62; font-size: .72em; font-weight: 650; }
.updated, .lede { color: #6d635c; line-height: 1.75; }
.updated { margin: 16px 0 0; font-size: 13px; }
.lede { margin: 14px 0 0; max-width: 680px; }
section {
  margin-top: 14px;
  padding: 24px;
  border: 1px solid rgba(45, 41, 37, .09);
  border-radius: 20px;
  background: rgba(255, 255, 255, .66);
  box-shadow: 0 12px 32px rgba(87, 59, 48, .035);
}
h2 { margin: 0 0 10px; font-size: 17px; line-height: 1.4; }
h2 span { display: block; color: #746a62; font-size: 14px; font-weight: 600; }
p { margin: 0; line-height: 1.75; }
section p + p { margin-top: 11px; padding-top: 11px; border-top: 1px solid rgba(45, 41, 37, .07); color: #5f5650; }
.contact-link { font-size: clamp(17px, 5vw, 22px); font-weight: 750; }
footer { margin-top: 36px; color: #746a62; font-size: 13px; }
.footer-links { display: flex; gap: 18px; }

.download-options { padding: 0 24px; }
.cn-region-only { display: none; }
html[data-region='cn'] .international-region-only { display: none; }
html[data-region='cn'] .cn-region-only { display: flex; }
.download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px; padding: 10px 0; box-sizing: border-box;
  border-bottom: 1px dotted rgba(45, 41, 37, .16);
}
.download-row-link { color: inherit; text-decoration: none; }
.download-row-link:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.download-row:last-child { border-bottom: 0; }
.download-row div { display: grid; gap: 3px; }
.download-row strong { font-size: 15px; }
.download-row small { color: #746a62; font-size: 12px; line-height: 1.45; }
.download-platform { color: #746a62; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.download-status { display: inline-flex; min-height: 28px; padding: 0 11px; align-items: center; justify-content: center; border-radius: 999px; color: #8a6411; background: #fff4d6; font-size: 11px; font-weight: 800; white-space: nowrap; }
.download-status-available { color: #a63a34; border: 1px solid #a63a3438; background: #d94b4214; }
.download-row-link:hover .download-status-available { border-color: #a63a345c; background: #d94b4224; }
.download-row-link:focus-visible { outline: 2px solid #b84237; outline-offset: 3px; }
.download-checksum code { overflow-wrap: anywhere; font-size: 12px; }
.download-home { display: inline-block; margin-top: 14px; font-weight: 800; text-decoration: none; border-bottom: 1.5px solid currentColor; }

@media (max-width: 520px) {
  main { padding-top: 28px; }
  .brand { margin-bottom: 40px; }
  section { padding: 20px; border-radius: 18px; }
  .download-feature-grid { grid-template-columns: 1fr; padding: 10px; }
  .download-feature { padding: 16px; }
  .download-options { padding: 0 20px; }
  .download-row { align-items: center; gap: 12px; padding: 10px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
html[data-cn-site='true'] .international-only {
  display: none !important;
}

html:not([data-cn-site='true']) .cn-only {
  display: none !important;
}

html:not([data-locale='ja']) .ja-only { display: none !important; }
html[data-locale='ja'] .international-only { display: none !important; }
html[data-locale='ja'] { font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif; }
html[data-locale='ja'] h1 { line-height: 1.4; letter-spacing: -.02em; }
.language-picker { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-bottom: 24px; }
.language-picker[hidden] { display: none; }
.language-picker select { padding: 8px; font: inherit; color: inherit; background: #fff8f0; border: 1px solid #746a62; border-radius: 8px; }
.footer-links { flex-wrap: wrap; }

.compliance-footer { margin-top: 40px; padding-bottom: 20px; }
.footer-card { padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(45, 41, 37, .08); box-shadow: 0 8px 24px rgba(87, 59, 48, .04); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 15px; color: #2d2925; }
.footer-tag { font-size: 11px; color: #746a62; background: rgba(45, 41, 37, .06); padding: 2px 8px; border-radius: 6px; }
.footer-info-grid { display: grid; gap: 8px; font-size: 13px; line-height: 1.6; color: #5f5650; margin-bottom: 14px; }
.footer-info-item { display: flex; flex-wrap: wrap; gap: 4px; }
.footer-info-label { color: #746a62; }
.footer-info-val a { color: #a94340; text-decoration: none; }
.footer-info-val a:hover { text-decoration: underline; }
.footer-nav { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(45, 41, 37, .07); font-size: 13px; }
.footer-nav a { color: #a94340; font-weight: 600; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-nav .dot { color: #a09790; }
.copyright { margin-top: 10px; font-size: 11px; color: #a09790; }
