/* Content pages: the About section (about, moderation, guidelines, data & API, credits, takedown, terms, privacy),
 * Help & glossary, What's new and the 429 page. Tokens only (see core.css). */

/* ------------------------------------------------------------------ About: side nav + one article */
.about{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;align-items:start;padding-top:4px}
.about__nav{display:flex;flex-direction:column;gap:4px;position:sticky;top:calc(var(--header-h) + 16px)}
.about__navlink{display:flex;align-items:center;min-height:44px;padding:0 16px;border-radius:var(--r-pill);color:var(--fg);font-size:15px;font-weight:600;text-decoration:none}
.about__navlink:hover{background:var(--card)}
.about__navlink[aria-current=page]{background:var(--fg);color:var(--bg)}
.about__article{max-width:760px;padding:28px 32px}
.about__article h1{margin:0 0 16px;font-size:36px;letter-spacing:-.02em;line-height:1.1;text-wrap:balance}
.about__article p{margin:0 0 14px;font-size:17px;line-height:1.6;text-wrap:pretty}
.about__article p:last-child{margin-bottom:0}
.about__article h2{margin:26px 0 10px;font-size:22px}
.about__article h1+h2,.about__article .alert+h2{margin-top:8px}
.about__list{margin:0 0 14px;padding-left:22px;font-size:17px;line-height:1.6}
.about__list li{margin:4px 0;text-wrap:pretty}
.about__article .alert{margin:0 0 18px;font-size:15px}
.about__article .btn-row{margin-top:10px}
.about__article .btn{min-height:48px}
.about__article .facts{margin-top:8px}
.about__article .fact__v{min-width:0;overflow-wrap:anywhere} /* the API address is one long token */
@media (max-width:560px){
  /* icon and label on one line, the value on the next */
  .about__article .fact{flex-wrap:wrap;padding:8px 0}
  .about__article .fact__k{flex:1 1 0;min-width:0}
  .about__article .fact__v{flex:1 1 100%;text-align:left;padding-left:40px}
}
.about__article .fact{min-height:48px}
.about__article .callout{margin:4px 0 14px}
.about__article .callout p{margin:0;font-size:15px;color:inherit}
.about__article .callout strong{margin-bottom:2px}

/* the guidelines as a checklist */
.rules{list-style:none;margin:0 0 6px;padding:0}
.rules li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;align-items:start;padding:12px 0;border-top:1px solid var(--line);font-size:16px;line-height:1.5}
.rules li:first-child{border-top:0}
.rules .iconbox{width:32px;height:32px;border-radius:10px}
.rules strong{display:block;font-size:17px}

/* photo credits table */
.credits{margin-top:8px;padding:0 4px}
.credits .table td{font-size:15px}
.credits .table .sub{text-transform:none}
.credits__more{margin:12px 0 0;font-size:14px;color:var(--muted)}
.about__article .credits .table--stack td{padding:10px 0}

.about__nav-toggle{display:none}
@media (max-width:860px){
  .about{grid-template-columns:minmax(0,1fr);gap:12px}
  /* the side menu becomes a sticky, sideways-scrolling row of chips */
  .about__nav{position:sticky;top:var(--header-h);z-index:5;flex-direction:row;gap:6px;margin:0 calc(-1 * var(--gutter));padding:8px var(--gutter);
    background:var(--bg);overflow-x:auto;scrollbar-width:none}
  .about__nav::-webkit-scrollbar{display:none}
  .about__navlink{flex:none;min-height:40px;padding:0 14px;background:var(--card);font-size:14px}
  .about__article{padding:22px 20px}
  .about__article h1{font-size:30px}
  .about__article p{font-size:16px}
}

/* ------------------------------------------------------------------ Help & glossary */
.help{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:24px;align-items:start}
.help__main{display:flex;flex-direction:column;gap:14px;min-width:0}
.help__search{display:flex;align-items:center;gap:10px;min-height:52px;padding:0 8px 0 18px;border-radius:var(--r-pill);background:var(--card);color:var(--muted)}
.help__search:focus-within{box-shadow:0 0 0 2px var(--accent)}
.help__search input{flex:1;min-width:0;min-height:48px;border:0;background:transparent;color:var(--fg);font-size:16px}
.help__search input:focus{outline:none}
.help__search .btn{min-height:40px}
.help__count{margin:0;padding:0 4px}
.gloss{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.gloss__item{padding:16px 20px;border-radius:var(--r-lg);background:var(--card)}
.gloss__item h3{margin:0 0 4px;font-size:17px;font-weight:800}
.gloss__item p{margin:0;font-size:15px;line-height:1.5;color:var(--muted)}
.gloss__item mark{background:var(--soft);color:var(--soft-fg);border-radius:4px;padding:0 2px}
.help__side{display:flex;flex-direction:column;gap:12px;min-width:0}
.steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.steps li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;align-items:start;padding:8px 0}
.steps b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--accent);color:var(--accent-fg);font:600 13px var(--mono)}
.steps strong{display:block;font-size:15px;font-weight:700;color:var(--fg)}
.steps span{font-size:13px;line-height:1.45}
.faq h3{margin:0;font-size:14px;font-weight:700}
.faq p{margin:2px 0 0;font-size:13px;line-height:1.45;color:var(--muted)}
.faq .list>*{padding:10px 0}
@media (max-width:860px){
  .help{grid-template-columns:minmax(0,1fr);gap:16px}
  .gloss__item{padding:14px 16px}
}

/* ------------------------------------------------------------------ What's new */
.changelog{display:flex;flex-direction:column;gap:14px;max-width:780px}
.release{padding:24px 28px}
.release__head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;margin-bottom:8px}
.release h2{margin:0;font-size:22px;font-weight:800}
.release ul{margin:0;padding-left:20px;font-size:16px;line-height:1.6}
.release li{margin:2px 0}
.release p{margin:0 0 10px;font-size:16px;line-height:1.55;color:var(--muted)}
@media (max-width:600px){.release{padding:20px 18px}.release ul{padding-left:18px;font-size:15px}}
