/* Catppuccin Latte — https://catppuccin.com/palette */
:root {
  --rosewater: #dc8a78;
  --mauve: #8839ef;
  --red: #d20f39;
  --peach: #fe640b;
  --green: #40a02b;
  --teal: #179299;
  --blue: #1e66f5;
  --lavender: #7287fd;
  --text: #4c4f69;
  --subtext1: #5c5f77;
  --subtext0: #6c6f85;
  --overlay0: #9ca0b0;
  --surface1: #bcc0cc;
  --surface0: #ccd0da;
  --base: #eff1f5;
  --mantle: #e6e9ef;
  --crust: #dce0e8;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--base);
}

body {
  margin: 0;
  background: var(--base);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  background: var(--mantle);
  border-bottom: 1px solid var(--crust);
  padding: 48px 0 32px;
}

header .eyebrow {
  margin: 0 0 4px;
  color: var(--mauve);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 8px;
  font-size: 2.2rem;
  line-height: 1.2;
}

header .lead {
  margin: 0;
  color: var(--subtext1);
  font-size: 1.1rem;
}

main {
  padding: 16px 0 48px;
}

section {
  margin-top: 36px;
}

h2 {
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--surface0);
  font-size: 1.3rem;
}

p {
  margin: 0 0 12px;
}

ul {
  margin: 0 0 12px;
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--blue);
}

a:hover {
  color: var(--lavender);
}

code {
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--mantle);
  color: var(--mauve);
  font: 0.9em/1.4 ui-monospace, "Cascadia Code", Consolas, monospace;
  overflow-wrap: anywhere;
}

.scope {
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 1px solid var(--surface0);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: var(--mantle);
}

.scope h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.scope p {
  margin-bottom: 8px;
  color: var(--subtext1);
}

.scope ul {
  margin: 0;
}

.not li::marker {
  color: var(--red);
}

.note {
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--crust);
  color: var(--subtext1);
}

footer {
  border-top: 1px solid var(--crust);
  padding: 20px 0 32px;
  color: var(--subtext0);
  font-size: 0.9rem;
}
