:root {
  --background: oklch(0.985 0.008 255);
  --foreground: oklch(0.195 0.04 258);
  --primary: oklch(0.31 0.112 257);
  --secondary: oklch(0.95 0.011 252);
  --muted: oklch(0.48 0.028 255);
  --border: oklch(0.885 0.018 252);
  --accent: oklch(0.63 0.13 160);
  --display: "Playfair Display", "Noto Serif SC", "Songti SC", SimSun, Georgia, serif;
  --sans: "IBM Plex Sans", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  color: var(--foreground);
  background: var(--background);
  font: 16px/1.55 var(--sans);
}
* { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.topbar { background: var(--foreground); color: #fff; }
.masthead {
  min-height: 63px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  color: inherit;
  font: 700 1.2rem/1.1 var(--display);
  text-decoration: none;
}
.location { color: #c4d0df; font-size: .875rem; white-space: nowrap; }
main { padding-block: clamp(27px, 4.6vw, 55px) 46px; }
.page-heading { padding-bottom: clamp(23px, 3vw, 34px); }
h1 {
  margin: 0;
  font: 700 clamp(2.15rem, 4.8vw, 3.6rem)/1.12 var(--display);
  letter-spacing: -.045em;
}
.page-heading p { margin: 10px 0 0; color: var(--muted); }
.directory { background: #fff; border: 1px solid var(--border); border-top: 2px solid var(--primary); }
.directory-heading { padding: 13px 20px; border-bottom: 1px solid var(--border); }
.directory-heading h2 { margin: 0; font-size: 1.1rem; }
.platforms { width: 100%; border-collapse: collapse; text-align: left; }
.platforms thead { background: var(--secondary); font-size: .875rem; }
.platforms :is(th, td) { padding: 14px 20px; vertical-align: middle; }
.platforms thead th { padding-block: 9px; }
.platforms tbody tr { border-top: 1px solid var(--border); }
.platforms tbody th { width: 24%; }
.platforms tbody td:last-child { width: 38%; }
.platforms td p { margin: 0; }
.platforms td .service-note { margin-top: 4px; color: #835014; font-size: .875rem; }
.module { display: inline-flex; flex-direction: column; gap: 2px; color: inherit; text-decoration: none; }
.module:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.module strong { font-size: 1.05rem; }
.module span { color: var(--muted); font: 500 .875rem/1.4 var(--mono); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.actions a { font-size: .875rem; font-weight: 650; }
.button {
  display: inline-block;
  padding: 7px 11px;
  border: 1px solid var(--primary);
  border-radius: 2px;
  color: #fff;
  background: var(--primary);
  text-decoration: none;
}
.button:hover { background: var(--foreground); border-color: var(--foreground); }
.button[aria-disabled="true"] { border-color: var(--border); background: var(--secondary); color: var(--muted); }
.access-note { margin: 0; padding: 12px 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: .875rem; }
.shortcut { color: var(--primary); text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.button:focus-visible { outline-color: var(--primary); }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 30px); }
  .platforms, .platforms tbody, .platforms tbody tr, .platforms tbody :is(th, td) { display: block; }
  .platforms thead {
    position: absolute; width: 1px; height: 1px; padding: 0;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .platforms tbody tr { padding: 13px 15px; }
  .platforms tbody :is(th, td) { width: auto; padding: 0; }
  .platforms tbody td:last-child { width: auto; }
  .platforms tbody td { margin-top: 7px; }
  .directory-heading { padding-inline: 15px; }
  .button { min-height: 44px; padding: 10px 13px; }
}
