:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f4f7fb;
  color: #22334a;
  font-synthesis: none;
  line-height: 1.65;
  --muted: #576b83;
  --blue: #245e9d;
  --line: #dce5ef;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #74a6d8; outline-offset: 4px; border-radius: 4px; }
.wrap { width: min(100% - 40px, 1000px); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -80px; z-index: 3; background: white; padding: 12px 16px; }
.skip-link:focus { top: 8px; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding-block: 20px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; font-size: 19px; font-weight: 650; line-height: 1.35; text-decoration: none; }
.brand img { display: block; flex: 0 0 auto; border-radius: 12px; }
.brand small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.header-link { font-size: 14px; text-decoration: none; padding-block: 10px; }
.home { padding-top: 28px; }
.intro { margin-bottom: 28px; }
.eyebrow { color: var(--blue); font-size: 13px; letter-spacing: .02em; margin: 0 0 10px; }
h1 { font-size: clamp(27px, 4vw, 38px); font-weight: 650; line-height: 1.3; letter-spacing: -.02em; margin: 0 0 12px; }
.intro > p:last-child { margin: 0; color: var(--muted); font-size: 15px; }
.platforms { display: grid; gap: 14px; }
.platform { display: flex; flex-direction: column; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.platform--web { background: #eaf2fc; border-color: #cfdfef; }
.platform-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.platform-kind { color: var(--muted); font-size: 12px; }
.status { padding: 2px 8px; background: #f0f3f7; border-radius: 20px; color: var(--muted); font-size: 11px; }
.status--ready { color: #22568d; background: #dceafb; }
.platform h2 { font-size: 21px; font-weight: 600; margin: 13px 0 6px; }
.platform > p { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 11px 14px; background: #edf3fa; border: 1px solid #cadced; border-radius: 12px; color: #204f82; font-size: 15px; font-weight: 550; line-height: 1.5; text-decoration: none; }
.button:hover { background: #e2edf9; }
.button--primary { background: #245e9d; border-color: #245e9d; color: #fff; }
.button--primary:hover { background: #1e5189; }
.button--disabled { background: #f2f4f7; border-color: #e3e8ef; color: #718097; cursor: default; }
.button--disabled:hover { background: #f2f4f7; }
.platform > .platform-note { font-size: 12px; margin: 12px 0 0; }
.download-details { font-size: 12px; color: var(--muted); margin-top: 12px; }
.download-details p { margin: 0 0 4px; }
.download-details summary { cursor: pointer; padding-block: 4px; }
.download-details code { display: block; margin-top: 6px; font-size: 11px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.help-note { padding: 18px 2px 0; color: var(--muted); font-size: 13px; }
.help-note p { margin: 0; }
.help-note a { overflow-wrap: anywhere; }
.site-footer { margin-top: 36px; padding-block: 24px 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer nav { display: flex; gap: 24px; margin-bottom: 12px; }
.site-footer nav a { padding-block: 6px; }
.site-footer p { margin: 0 0 3px; }
.legal-wrap { padding-top: 18px; }
.legal-content { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 18px; overflow-wrap: anywhere; font-size: 15px; }
.legal-content h1 { font-size: 27px; margin-bottom: 18px; }
.legal-content h2 { font-size: 20px; line-height: 1.4; margin: 30px 0 12px; }
.legal-content h3 { font-size: 17px; margin: 24px 0 10px; }
.legal-content p { margin: 0 0 16px; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul, .legal-content ol { margin: 0 0 16px; padding-left: 24px; }
.legal-content li + li { margin-top: 6px; }
.table-scroll { overflow-x: auto; margin: 0 0 18px; }
.legal-content table { border-collapse: collapse; font-size: 13px; min-width: 640px; width: 100%; }
.legal-content th, .legal-content td { border: 1px solid var(--line); text-align: left; vertical-align: top; padding: 10px 12px; }
.legal-content th { background: #f1f5fa; font-weight: 600; }
.legal-content code { padding: 2px 5px; background: #edf2f7; border-radius: 4px; }
.legal-content pre { overflow-x: auto; padding: 14px; background: #edf2f7; border-radius: 8px; }
@media (min-width: 760px) {
  .site-header { padding-block: 28px; }
  .home { padding-top: 52px; }
  .intro { margin-bottom: 34px; }
  .platforms { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 18px; }
  .platform { min-height: 260px; padding: 24px; }
  .platform > p:not(.platform-note) { min-height: 48px; }
  .help-note { margin-top: 10px; }
  .site-footer { margin-top: 60px; }
  .legal-content { padding: 40px; }
  .legal-content h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color .15s ease; }
}
