/* Ping's public pages. Self-contained: no fonts, scripts or assets are fetched
   from anywhere — a privacy policy that loads third-party resources is its own
   small joke, and it would also be a tracking vector the policy denies. */

:root {
  color-scheme: light dark;
  --bg: #fbfaf7;
  --fg: #1c1b19;
  --muted: #5d5a54;
  --rule: #e2ded5;
  --accent: #1f6f5c;
  --card: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --fg: #e8e6e1;
    --muted: #a3a09a;
    --rule: #2b2f36;
    --accent: #6fd3b4;
    --card: #1b1e23;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 2.5rem 1.25rem 4rem;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main { max-width: 40rem; margin: 0 auto; }

h1 {
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0 0 .4rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.15rem;
  margin: 2.4rem 0 .6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
  letter-spacing: -0.01em;
}

h3 { font-size: 1rem; margin: 1.6rem 0 .4rem; }

p, li { color: var(--fg); }
li { margin: .3rem 0; }

.updated { color: var(--muted); font-size: .9rem; margin: 0 0 2rem; }
.lede { font-size: 1.05rem; color: var(--muted); }

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

strong { font-weight: 650; }

.summary {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.1rem 1.35rem;
  margin: 1.8rem 0;
}
.summary ul { margin: 0; padding-left: 1.1rem; }

.note {
  color: var(--muted);
  font-size: .9rem;
  border-top: 1px solid var(--rule);
  margin-top: 3rem;
  padding-top: 1.2rem;
}

footer { margin-top: 3rem; font-size: .9rem; color: var(--muted); }

/* Long URLs and table content must never force the page to scroll sideways. */
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .5rem .7rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
