/* The legal pages and about.html. Each language is its own block (data-lang), shown by the page's
   language, which i18n.js puts on <html lang>. */
html:not([lang="zh-Hant"]) [data-lang="zh-Hant"], html[lang="zh-Hant"] [data-lang="en"] { display: none; }

.doc .updated { margin-bottom: 30px; color: var(--muted); font-size: 14px; }
.doc h2 { scroll-margin-top: 90px; }
.doc p, .doc li { color: #c7c7bf; }
.doc strong { color: var(--text); font-weight: 600; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.doc ol { padding-left: 21px; color: #c7c7bf; }
.doc .callout p { margin: 0; color: var(--text); }
.doc .table { width: 100%; margin: 6px 0 22px; border-collapse: collapse; font-size: 15px; }
.doc .table th, .doc .table td { padding: 13px 16px 13px 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; line-height: 1.7; }
.doc .table th { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.doc .table td { color: #c7c7bf; }
.doc .table td:first-child { width: 58%; }
/* Not filled in yet (config.js): the placeholder text stands out so nobody ships it by mistake */
.doc .fill { padding: 0 4px; border-radius: 3px; background: rgb(181 166 255 / .14); color: var(--violet); }

.about .lead { max-width: 640px; font-size: 19px; line-height: 1.75; color: #c7c7bf; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin: 8px 0 12px; padding: 0; list-style: none; }
.team li { margin: 0; padding: 22px 20px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); }
.team img { display: block; width: 72px; height: 72px; margin-bottom: 16px; border-radius: 50%; background: #1d1d24; }
.team strong { display: block; font-size: 17px; }
.team .role { margin: 3px 0 10px; color: var(--violet); font-size: 13px; }
.team p { margin: 0; font-size: 14px; line-height: 1.7; }
.company { display: grid; grid-template-columns: max-content 1fr; gap: 0 28px; margin: 0; }
.company dt, .company dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--border); line-height: 1.7; }
.company dt { color: var(--muted); font-size: 14px; }
.company dd { color: #c7c7bf; }

@media (max-width: 560px) {
  .doc .table td:first-child { width: auto; }
  .company { grid-template-columns: 1fr; }
  .company dt { padding-bottom: 0; border-bottom: 0; }
}
