/* UrPeople website: same pastel look and Quicksand type as the app (constants/theme.ts). */
:root {
  --ink: #4b4469;
  --soft: #857ea3;
  --purple: #8f72cf;
  --purple-light: #e2d4fa;
  --yellow: #fff3b8;
  --card: #ffffff;
  --line: #e6dcf7;
  --bg: linear-gradient(160deg, #e4eeff 0%, #f4e9fb 50%, #fde6f0 100%);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ece8f8;
    --soft: #b6aed3;
    --purple: #c4b0f5;
    --purple-light: #3b3356;
    --yellow: #57502a;
    --card: #231f33;
    --line: #3b3356;
    --bg: linear-gradient(160deg, #1a1d2e 0%, #221b2e 50%, #2a1c26 100%);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: #f4e9fb;
  background: var(--bg) fixed;
  color: var(--ink);
  font-family: 'Quicksand', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.65;
}
a { color: var(--purple); font-weight: 600; }
.wrap { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
header.site { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.logo {
  font-size: 28px; font-weight: 700; text-decoration: none; letter-spacing: -0.5px;
  background: linear-gradient(90deg, #8fb2f5, #c79be8, #f19cc4);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
nav.site { display: flex; flex-wrap: wrap; gap: 6px; }
nav.site a {
  font-size: 14px; text-decoration: none; padding: 6px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink);
}
nav.site a[aria-current="page"] { background: var(--purple-light); }
main.card {
  background: var(--card); border-radius: 28px; padding: 36px 28px;
  box-shadow: 0 10px 40px rgba(143, 114, 207, 0.12);
}
@media (max-width: 520px) { main.card { padding: 26px 18px; border-radius: 22px; } }
h1 { font-size: 34px; line-height: 1.2; margin: 0 0 6px; font-weight: 700; }
.updated { color: var(--soft); margin: 0 0 24px; font-size: 15px; }
h2 { font-size: 22px; margin: 36px 0 8px; font-weight: 700; }
h3 { font-size: 18px; margin: 22px 0 4px; font-weight: 700; }
p, li { overflow-wrap: anywhere; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
.intro {
  background: var(--yellow); border-radius: 18px; padding: 16px 20px; margin: 0 0 8px;
}
.intro p { margin: 0; }
.toc { border: 1px solid var(--line); border-radius: 18px; padding: 14px 20px; margin: 20px 0 0; }
.toc ol { margin: 6px 0 0; padding-left: 22px; }
.toc a { font-weight: 500; }
mark.fill { background: #ffe27a; color: #4b4469; border-radius: 6px; padding: 0 4px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 10px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { font-weight: 700; }
.table-scroll { overflow-x: auto; }
footer.site { text-align: center; color: var(--soft); font-size: 14px; margin-top: 28px; }
footer.site a { font-weight: 500; }
.hero { text-align: center; padding: 20px 0 8px; }
.hero p { font-size: 19px; }
