/* Shared look for the About, Privacy and Terms pages (same colours as the main site) */
/* colours and type come from /sdx.css */
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--text); font-size:16px; line-height:1.65; }
a { color:var(--info); }
.top { border-bottom:1px solid var(--line); background:var(--surface); }
.top-in { max-width:820px; margin:0 auto; padding:14px 20px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.brand { display:flex; align-items:center; gap:10px; color:var(--text); text-decoration:none; font-weight:700; font-size:18px; }
.brand img { width:28px; height:28px; }
.back { color:var(--text); text-decoration:none; background:var(--surface-2); border:1px solid var(--line-strong); border-radius:999px; padding:6px 14px; font-size:14px; white-space:nowrap; }
.back:hover { background:var(--surface-2); }
main { max-width:820px; margin:0 auto; padding:34px 20px 50px; }
h1 { font-size:34px; line-height:1.15; margin:0 0 6px; letter-spacing:-.5px; }
.sub { color:var(--mute); margin:0 0 28px; }
h2 { font-size:21px; margin:34px 0 8px; }
p, li { color:#cfd8e3; }
ul { padding-left:22px; }
li { margin:6px 0; }
.box { background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:16px 18px; margin:18px 0; }
.box.gold { border-color:rgba(255,201,77,.45); background:rgba(255,201,77,.06); }
.box b { color:var(--text); }
table { width:100%; border-collapse:collapse; margin:10px 0; font-size:15px; }
th, td { text-align:left; padding:9px 10px; border-bottom:1px solid var(--line); vertical-align:top; }
th { color:var(--mute); font-weight:600; }
footer { border-top:1px solid var(--line); color:var(--mute); font-size:14px; }
.foot-in { max-width:820px; margin:0 auto; padding:20px; display:flex; flex-wrap:wrap; gap:8px 18px; }
.foot-in a { color:var(--mute); }
@media (max-width:600px) {
  h1 { font-size:27px; } main { padding-top:24px; }
  /* tables become one card per row on phones */
  table, tbody, tr, td { display:block; width:100%; }
  tr:first-child { display:none; }
  tr { background:var(--panel); border:1px solid var(--line); border-radius:10px; padding:4px 12px; margin:10px 0; }
  td { border:0; padding:6px 0; }
  td:nth-child(2)::before { content:"Why: "; color:var(--mute); font-weight:600; }
  td:nth-child(3)::before { content:"How to remove it: "; color:var(--mute); font-weight:600; }
  /* the methodology page's warning table: name, when, points */
  .wtable td:first-child { font-weight:600; color:var(--text); }
  .wtable td:nth-child(2)::before { content:none; }
  .wtable td:nth-child(3)::before { content:"Points: "; }
}
.wtable td:nth-child(3) { white-space:nowrap; font-variant-numeric:tabular-nums; }
.signin-go { background:#2f5fe0; color:#fff; border:0; border-radius:10px; padding:12px 26px; font-size:16px; font-weight:600; cursor:pointer; }
.signin-go:disabled { opacity:.6; cursor:default; }
.acct-page { max-width:440px; }
.acct-form { display:flex; flex-direction:column; gap:14px; margin:18px 0; }
.acct-form label { display:flex; flex-direction:column; gap:6px; font-weight:600; font-size:14px; }
.acct-form input { padding:12px 13px; border-radius:11px; border:1px solid var(--line-strong); background:var(--surface); color:inherit; font:inherit; font-size:15px; font-weight:400; }
.acct-small { font-size:13px; opacity:.75; }

[hidden] { display:none !important; }
@media (max-width:380px) { .top-in { padding:12px 14px; } .back { padding:6px 10px; font-size:13px; } .back .lng { display:none; } }
/* the API page: code samples and the field list */
pre { background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:12px 14px; overflow-x:auto; font-size:13.5px; line-height:1.55; margin:10px 0 18px; }
code { font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size:.92em; }
p code, li code, td code { background:var(--surface-2); border-radius:5px; padding:1px 5px; color:var(--text); }
.ftable td:first-child { white-space:nowrap; }
@media (max-width:600px) {
  .ftable td:first-child { font-weight:600; color:var(--text); white-space:normal; }
  .ftable td:nth-child(2)::before { content:"Type: "; }
  .ftable td:nth-child(3)::before { content:none; }
}
