/* The look of the website's own pages (/about): the app's colours (lib/theme/palette.js). */
:root {
  --bg: #FBFAFC; --ink: #17151F; --ink2: #5D5A68; --ink3: #9D9AA8; --line: rgba(23,21,31,.09);
  --surface: #FFFFFF; --accent: #7A5FC4; --accent-soft: rgba(122,95,196,.09);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121117; --ink: #EDECF1; --ink2: #AAA7B4; --ink3: #706D7A; --line: rgba(255,255,255,.08);
    --surface: #19171F; --accent: #A993E6; --accent-soft: rgba(169,147,230,.14);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121117; --ink: #EDECF1; --ink2: #AAA7B4; --ink3: #706D7A; --line: rgba(255,255,255,.08);
  --surface: #19171F; --accent: #A993E6; --accent-soft: rgba(169,147,230,.14);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}
main { display: none; max-width: 640px; margin: 0 auto; padding: calc(env(safe-area-inset-top) + 28px) 18px calc(env(safe-area-inset-bottom) + 40px); }
main.shown { display: block; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
h1 { font-size: 26px; font-weight: 600; margin: 28px 0 12px; letter-spacing: -0.01em; }
h2 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink3); margin: 36px 0 4px; }
p { font-size: 15px; line-height: 1.6; color: var(--ink2); margin: 0 0 12px; }
a { color: var(--accent); }
.link { font-weight: 600; font-size: 14px; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
li { padding: 12px 0; border-top: 1px solid var(--line); }
li:first-child { border-top: 0; }
.name { font-size: 15px; color: var(--ink); }
.note { font-size: 12.5px; color: var(--ink3); margin-top: 2px; }
.note a { color: var(--ink3); }
.back { display: inline-block; margin-top: 36px; padding: 9px 14px; border-radius: 10px; background: var(--accent-soft); font-weight: 600; font-size: 14px; text-decoration: none; }
.in-app .back { display: none; }
.links { margin-top: 28px; font-size: 14px; }
.links a { font-weight: 600; text-decoration: none; margin-right: 16px; }
