:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-synthesis: none;
  color: #f3f5f7;
  background: #101010;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { min-width: 280px; }
body { margin: 0; font-size: 15px; line-height: 1.65; }
a { color: #f3f5f7; text-underline-offset: 4px; overflow-wrap: anywhere; }
a:hover { color: #b5b5b5; }
a:focus-visible { outline: 2px solid #f3f5f7; outline-offset: 5px; border-radius: 3px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1; padding: 10px 16px; transform: translateY(-160%); border-radius: 12px; background: #f3f5f7; color: #101010; }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(100% - 48px, 760px); margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding: 28px 0; border-bottom: 1px solid #2a2a2a; }
.brand { font-size: 16px; font-weight: 650; letter-spacing: -0.4px; }
.header-label { color: #777; font-size: 13px; }
.page-heading { padding: 40px 0 28px; }
.page-heading h1 { margin: 0 0 14px; font-size: clamp(28px, 5vw, 38px); font-weight: 650; line-height: 1.15; letter-spacing: -1.1px; overflow-wrap: anywhere; }
.date { margin: 0; color: #888; font-size: 13px; }
.intro { margin: 24px 0 0; color: #b5b5b5; }
.page-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 16px; border: 1px solid #555; border-radius: 999px; color: #f3f5f7; font-size: 14px; font-weight: 500; line-height: 1.4; text-align: center; text-decoration: none; }
.button:hover { border-color: #888; background: #181818; color: #f3f5f7; }
.policy-section { padding: 24px 0; border-top: 1px solid #2a2a2a; }
.policy-section h2, .english-summary h2 { margin: 0 0 12px; font-size: 19px; font-weight: 600; line-height: 1.4; letter-spacing: -0.35px; }
.policy-section p, .english-summary p { margin: 12px 0 0; color: #b5b5b5; }
.policy-section p:first-of-type, .english-summary p:first-of-type { margin-top: 0; }
.policy-section ul, .policy-section ol { margin: 12px 0 0; padding-left: 22px; color: #b5b5b5; }
.policy-section li + li { margin-top: 10px; }
strong { color: #f3f5f7; font-weight: 600; }
code { padding: 2px 5px; border: 1px solid #2a2a2a; border-radius: 5px; font-size: 0.9em; overflow-wrap: anywhere; }
.english-summary { margin: 28px 0 0; padding: 24px; border: 1px solid #2a2a2a; border-radius: 18px; background: #151515; font-size: 14px; }
.english-summary h2 { font-size: 16px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 40px; padding: 20px 0 32px; border-top: 1px solid #2a2a2a; color: #777; font-size: 12px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: #999; font-size: 13px; }

@media (max-width: 420px) {
  .shell { width: calc(100% - 36px); }
  .site-header { padding: 20px 0; }
  .page-heading { padding-top: 30px; }
  .page-heading h1 { letter-spacing: -0.7px; }
  .page-nav > .button { width: 100%; }
  .english-summary { padding: 18px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media print {
  :root { color-scheme: light; background: #fff; color: #111; }
  .shell { width: 100%; }
  .skip-link, .page-nav { display: none; }
  a, strong { color: #111; }
  .policy-section p, .policy-section ul, .policy-section ol, .english-summary p, .intro { color: #333; }
  .english-summary { background: #fff; }
}
