/* pandalolzpay.xyz — brand B «чёрно-белый финтех» (lolzteam-design/brand/guide.html):
   paper and ink, one accent — the orange «payment dot». Documents are light for easy reading. */
:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --surface-2: #f0eee9;
  --border: #e9e7e2;
  --text: #0e0e0f;
  --text-2: #3c3c40;
  --muted: #8a8a86;
  --ink: #0e0e0f;
  --dot: #ff6a2b;
  --dot-ink: #c94a12;
  --ok: #1e9e6a;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 Manrope, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--text); text-decoration-color: var(--dot); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--dot-ink); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }
header.top { border-bottom: 1px solid var(--border); background: var(--surface); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
  font: 700 17px Unbounded, Manrope, sans-serif; letter-spacing: -0.03em; }
.brand::after { content: "."; color: var(--dot); margin-left: -8px; }
.brand svg { flex: none; }
nav.links { display: flex; gap: 18px; font-size: 14.5px; flex-wrap: wrap; font-weight: 600; }
nav.links a { color: var(--muted); text-decoration: none; }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--text); }
main { padding: 40px 0 64px; }
h1 { font: 700 clamp(26px, 5vw, 38px)/1.15 Unbounded, Manrope, sans-serif; letter-spacing: -0.035em; margin: 0 0 10px; }
.lead { color: var(--text-2); margin: 0 0 28px; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px 22px; margin: 0 0 32px; }
.toc b { display: block; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { break-inside: avoid; margin: 0 0 6px; }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--text); }
section { scroll-margin-top: 16px; }
h2 { font: 700 19px/1.3 Unbounded, Manrope, sans-serif; margin: 36px 0 10px; letter-spacing: -0.025em; }
h2 .n { color: var(--dot); margin-right: 8px; }
p, li { color: var(--text-2); }
li { margin: 4px 0; }
strong { color: var(--text); }
.note { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--dot); border-radius: 12px; padding: 14px 18px; margin: 20px 0; }
.note p { margin: 0; }
.cta { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fafaf7; text-decoration: none;
  font-weight: 700; padding: 13px 22px; border-radius: 14px; }
.cta::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }
.cta:hover { background: #2a2a2d; color: #fafaf7; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 32px 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px; }
.card b { display: block; margin-bottom: 4px; color: var(--text); }
.card span { color: var(--text-2); font-size: 15px; }
footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
footer .wrap { padding-top: 20px; padding-bottom: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }
.brand { white-space: nowrap; }
@media (max-width: 640px) {
  nav.links { gap: 12px; font-size: 14px; }
  .toc ol { columns: 1; }
  .cards { grid-template-columns: 1fr; }
  main { padding-top: 28px; }
}
