@font-face {
  font-family: Inter;
  src: url('../fonts/inter.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url('../fonts/manrope.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --plum: #4b264f;
  --lime: #d7e85b;
  --canvas: #fcf7f4;
  --cream: #fffdf6;
  --ink: #252126;
  --muted: #817b7d;
  --line: #dcdad5;
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--canvas);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 2px 0 24px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

main { max-width: 720px; margin-inline: auto; }

.policy-section {
  padding-block: 24px;
  border-top: 1px solid var(--line);
}

.policy-section:first-child { border-top: 0; padding-top: 8px; }

h2 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 750;
  letter-spacing: -.4px;
  color: var(--plum);
}

.section-number {
  flex: 0 0 26px;
  margin-top: 2px;
  border-left: 3px solid var(--lime);
  padding-left: 5px;
  font: 650 11px/20px Manrope, sans-serif;
  letter-spacing: .5px;
  color: var(--plum);
}

h3 {
  margin: 24px 0 10px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--plum);
}

p { margin: 0 0 14px; }
p:last-child, ul:last-child { margin-bottom: 0; }
strong { font-weight: 650; color: var(--plum); }
ul { margin: 12px 0 18px; padding-left: 20px; }
li { margin-block: 6px; padding-left: 3px; }
li::marker { color: var(--plum); font-size: .8em; }

.pending-value {
  padding: 12px;
  background: #f3eaf3;
  border: 1px dashed #bda8bf;
  border-radius: 10px;
  font-size: 12px;
}

code { font: inherit; }

.permissions .policy-section {
  margin-bottom: 14px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}

.permissions .policy-section:first-child { margin-top: 6px; }
.permissions h2 { margin-bottom: 14px; }
.permissions p { font-family: Manrope, sans-serif; }

@media (min-width: 600px) {
  body { padding: 24px; }
}

@media print {
  body { padding: 0; }
  .policy-section { break-inside: avoid-page; }
}
