/* The legal pages, about.html and changelog.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(145 177 255 / .14); color: var(--accent-soft); }

.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(--muted); 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; }
}

/* changelog.html (2026-10-28, product owner: a page of its own, like Cursor's): each version's day and number on
   the left, staying in view, and what changed on the right, newest first */
.changelog .wrap { max-width: 1120px; }
.changelog-head, .release { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0 64px; }
.changelog-head h1 { grid-column: 2; margin-bottom: 14px; color: var(--muted); font-family: var(--ui); font-size: 18px; font-weight: 500; letter-spacing: 0; }
.release { padding-bottom: 72px; }
.release + .release { padding-top: 64px; border-top: 1px solid var(--border); }
.release-when { position: sticky; top: 110px; align-self: start; display: grid; justify-items: start; gap: 10px; padding-top: 12px; color: var(--muted); font-size: 15px; }
.release-version { padding: 2px 10px; border: 1px solid var(--border); border-radius: 999px; color: #c7c7bf; font-size: 12px; }
.page .release h2 { margin: 0 0 30px; font-size: clamp(32px, 3.6vw, 48px); }
.release-shot { display: block; width: 100%; height: auto; margin-bottom: 34px; border: 1px solid var(--border); border-radius: 12px; background: #0d0f15; }
.release p, .release li { color: #c7c7bf; font-size: 17px; line-height: 1.75; }
@media (max-width: 760px) {
  .changelog-head, .release { grid-template-columns: minmax(0, 1fr); }
  .changelog-head h1 { grid-column: 1; }
  .release-when { position: static; display: flex; align-items: center; padding: 0 0 14px; }
  .release p, .release li { font-size: 15px; }
}
