:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f2f2ee;
  color: #171717;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; background: #f2f2ee; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #d9d9d2;
  background: rgba(242, 242, 238, .96);
}

.header-inner,
.page-shell,
.site-footer {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 13px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: #181818; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { color: #555550; font-size: 13px; font-weight: 650; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: #111; }

.language-switch { display: flex; padding: 3px; border: 1px solid #d3d3cc; border-radius: 9px; background: #fff; }
.language-switch button { min-width: 38px; padding: 6px 8px; border: 0; border-radius: 6px; background: transparent; color: #696965; font: inherit; font-size: 11px; font-weight: 750; cursor: pointer; }
.language-switch button[aria-pressed="true"] { background: #181818; color: #fff; }

.page-shell { padding: 72px 0 86px; }
.hero { max-width: 760px; padding: 24px 0 58px; }
.eyebrow { margin: 0 0 16px; color: #6c6c66; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 820px; margin: 0; font-size: clamp(38px, 7vw, 74px); line-height: .98; letter-spacing: -.055em; }
.lead { max-width: 700px; margin: 26px 0 0; color: #555550; font-size: clamp(17px, 2.2vw, 21px); line-height: 1.75; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 17px; border: 1px solid #181818; border-radius: 10px; background: #181818; color: #fff; font-size: 13px; font-weight: 750; text-decoration: none; }
.button.secondary { border-color: #cfcfc7; background: #fff; color: #181818; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { padding: 24px; border: 1px solid #d6d6cf; border-radius: 16px; background: #fff; }
.card-number { display: block; margin-bottom: 42px; color: #90908a; font-size: 11px; font-weight: 800; }
.card h2 { margin: 0; font-size: 19px; letter-spacing: -.02em; }
.card p { margin: 12px 0 0; color: #5d5d58; font-size: 14px; line-height: 1.7; }

.document { max-width: 820px; }
.document-header { padding-bottom: 34px; border-bottom: 1px solid #cecec7; }
.document h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; }
.updated { margin: 18px 0 0; color: #777770; font-size: 13px; }
.document section { padding: 34px 0; border-bottom: 1px solid #d7d7d0; }
.document h2 { margin: 0 0 16px; font-size: 22px; letter-spacing: -.025em; }
.document h3 { margin: 24px 0 8px; font-size: 16px; }
.document p, .document li { color: #4f4f4a; font-size: 15px; line-height: 1.8; }
.document ul, .document ol { padding-left: 22px; }
.notice { margin-top: 26px; padding: 18px 20px; border: 1px solid #c9c9c2; border-radius: 12px; background: #fff; }
.contact-card { margin-top: 28px; padding: 24px; border: 1px solid #d0d0c8; border-radius: 16px; background: #fff; }
.contact-card a { font-weight: 750; }
.release-status { margin-top: 28px; padding: 24px; border: 1px solid #202020; border-radius: 16px; background: #202020; color: #fff; }
.release-status strong { font-size: 16px; }
.release-status p { margin-bottom: 0; color: #d1d1cc; }
.release-status .button { background: #fff; color: #181818; border-color: #fff; }

.site-footer { padding: 26px 0 42px; border-top: 1px solid #d7d7d0; color: #777770; font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; }
.footer-links a { color: #4f4f4a; }

body [data-language] { display: none; }
html[data-language="ja"] [data-language="ja"],
html[data-language="en"] [data-language="en"] { display: block; }

@media (max-width: 760px) {
  .header-inner { align-items: flex-start; padding: 16px 0; }
  .nav { justify-content: flex-end; flex-wrap: wrap; gap: 10px 14px; }
  .nav a { font-size: 12px; }
  .grid { grid-template-columns: 1fr; }
  .card-number { margin-bottom: 22px; }
}

@media (max-width: 500px) {
  .header-inner, .page-shell, .site-footer { width: min(100% - 24px, 1080px); }
  .header-inner { display: grid; }
  .nav { justify-content: flex-start; }
  .page-shell { padding-top: 48px; }
}
