/* Quill v3 — Manuscrito Noite. Fonte: tokens/quill-tokens.json. */
:root {
  --teal-100: #c2f4ef;
  --teal-300: #5fe0d4;
  --teal-400: #1fd1c1;
  --teal-600: #0b9186;
  --teal-800: #0a6559;
  --teal-950: #062521;
  --lime-200: #e6ff9e;
  --lime-400: #c6ff3d;
  --lime-500: #a6e01f;
  --lime-800: #3f6f0a;
  --paper-50: #f8f6ef;
  --paper-100: #f1ede2;
  --paper-300: #d6cfbd;
  --ink-900: #0e1b19;
  --ink-950: #08110f;
  --gold-400: #d4a648;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 160px;
  --radius-0: 0px;
  --radius-2: 2px;
  --radius-pill: 999px;
  --radius-6: 6px;
  --radius-8: 8px;
  --radius-12: 12px;
  --radius-16: 16px;
  --cut-sm: 10px;
  --cut-md: 18px;
  --cut-lg: 40px;
  --gradient-marker: linear-gradient(100deg, #c6ff3d00 0%, #c6ff3dd9 3%, #c6ff3d 40%, #d4ff4a 70%, #c6ff3dcc 97%, #c6ff3d00 100%);
  --gradient-ink-bleed: radial-gradient(ellipse at center, #1fd1c122 0%, #1fd1c10a 42%, transparent 72%);
  --gradient-ink-to-lime: linear-gradient(115deg, #1fd1c1 0%, #7fe88a 52%, #c6ff3d 100%);
  --gradient-ruled-ink: repeating-linear-gradient(180deg, #00000000 0px, #00000000 31px, #1e2f2c 31px, #1e2f2c 32px);
  --gradient-ruled-paper: repeating-linear-gradient(180deg, #00000000 0px, #00000000 31px, #d6cfbd 31px, #d6cfbd 32px);
  --font-display: "Bodoni Moda", Georgia, serif;
  --font-sans: Geist, Inter, system-ui, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  --font-note: "Caveat", "Segoe Print", cursive;
  --font-product: Geist, Inter, system-ui, sans-serif;
}
 :root, [data-theme="midnight"] {
  --surface-base: #10131b;
  --surface-raised: #171b26;
  --surface-sunken: #0b0d13;
  --surface-overlay: #1f2431;
  --ink: #eceef3;
  --ink-muted: #a0a8b8;
  --ink-subtle: #939caf;
  --rule: #262c3a;
  --line-strong: #66718a;
  --margin: #c6ff3d;
  --accent: #1fd1c1;
  --accent-text: #1fd1c1;
  --accent-soft: #16303a;
  --lime: #c6ff3d;
  --lime-text: #c6ff3d;
  --lime-soft: #232a14;
  --on-lime: #08110f;
  --focus: #c6ff3d;
  --nib: #d4a648;
  --success: #6fe39b;
  --warning: #f2b443;
  --danger: #ff7a6b;
  --info: #7cb8ff;
  --teal-100: #c2f4ef;
  --teal-300: #5fe0d4;
  --teal-400: #1fd1c1;
  --teal-600: #0b9186;
  --teal-800: #0a6559;
  --teal-950: #062521;
  --lime-200: #e6ff9e;
  --lime-400: #c6ff3d;
  --lime-500: #a6e01f;
  --lime-800: #3f6f0a;
  --paper-50: #f8f6ef;
  --paper-100: #f1ede2;
  --paper-300: #d6cfbd;
  --ink-900: #0e1b19;
  --ink-950: #08110f;
  --gold-400: #d4a648;
  --shadow-page: 0 1px 0 #262c3a, 0 24px 48px #00000073;
  color-scheme: dark;
}
[data-theme="dark"] {
  --surface-base: #08110f;
  --surface-raised: #0e1b19;
  --surface-sunken: #050b0a;
  --surface-overlay: #142523;
  --ink: #ede9dd;
  --ink-muted: #9ba69f;
  --ink-subtle: #75827c;
  --rule: #1e2f2c;
  --line-strong: #5a706b;
  --margin: #c6ff3d;
  --accent: #1fd1c1;
  --accent-text: #1fd1c1;
  --accent-soft: #0f2e2b;
  --lime: #c6ff3d;
  --lime-text: #c6ff3d;
  --lime-soft: #1d2a0c;
  --on-lime: #08110f;
  --focus: #c6ff3d;
  --nib: #d4a648;
  --success: #6fe39b;
  --warning: #f2b443;
  --danger: #ff7a6b;
  --info: #7cb8ff;
  --teal-100: #c2f4ef;
  --teal-300: #5fe0d4;
  --teal-400: #1fd1c1;
  --teal-600: #0b9186;
  --teal-800: #0a6559;
  --teal-950: #062521;
  --lime-200: #e6ff9e;
  --lime-400: #c6ff3d;
  --lime-500: #a6e01f;
  --lime-800: #3f6f0a;
  --paper-50: #f8f6ef;
  --paper-100: #f1ede2;
  --paper-300: #d6cfbd;
  --ink-900: #0e1b19;
  --ink-950: #08110f;
  --gold-400: #d4a648;
  --shadow-page: 0 1px 0 #1e2f2c, 0 24px 48px #00000073;
  color-scheme: dark;
}
[data-theme="light"] {
  --surface-base: #f1ede2;
  --surface-raised: #f8f6ef;
  --surface-sunken: #e8e3d5;
  --surface-overlay: #e3ddcd;
  --ink: #0d1513;
  --ink-muted: #4d5651;
  --ink-subtle: #656d67;
  --rule: #d6cfbd;
  --line-strong: #8a8573;
  --margin: #3f6f0a;
  --accent: #0a6559;
  --accent-text: #0a6559;
  --accent-soft: #d3ebe5;
  --lime: #c6ff3d;
  --lime-text: #3f6f0a;
  --lime-soft: #eefbc4;
  --on-lime: #0d1513;
  --focus: #0a6559;
  --nib: #8a6a1f;
  --success: #1a7a45;
  --warning: #8a5a00;
  --danger: #b8322a;
  --info: #1f63b0;
  --teal-100: #c2f4ef;
  --teal-300: #5fe0d4;
  --teal-400: #1fd1c1;
  --teal-600: #0b9186;
  --teal-800: #0a6559;
  --teal-950: #062521;
  --lime-200: #e6ff9e;
  --lime-400: #c6ff3d;
  --lime-500: #a6e01f;
  --lime-800: #3f6f0a;
  --paper-50: #f8f6ef;
  --paper-100: #f1ede2;
  --paper-300: #d6cfbd;
  --ink-900: #0e1b19;
  --ink-950: #08110f;
  --gold-400: #d4a648;
  --shadow-page: 0 1px 0 #d6cfbd, 0 18px 40px #4d453014;
  color-scheme: light;
}
.display-xl { font-family: var(--font-display); font-size: 88px; line-height: 0.98; font-weight: 500; letter-spacing: -0.035em; }
.display { font-family: var(--font-display); font-size: 64px; line-height: 1.02; font-weight: 500; letter-spacing: -0.03em; }
.heading-1 { font-family: var(--font-display); font-size: 48px; line-height: 1.08; font-weight: 500; letter-spacing: -0.02em; }
.heading-2 { font-family: var(--font-display); font-size: 36px; line-height: 1.15; font-weight: 500; letter-spacing: -0.015em; }
.quote { font-family: var(--font-display); font-size: 28px; line-height: 1.3; font-weight: 400; font-style: italic; }
.heading-3 { font-family: var(--font-sans); font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.body-lg { font-family: var(--font-sans); font-size: 18px; line-height: 1.65; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 1.6; font-weight: 400; }
.small { font-family: var(--font-sans); font-size: 14px; line-height: 22px; font-weight: 400; }
.label { font-family: var(--font-mono); font-size: 12px; line-height: 1.4; font-weight: 500; letter-spacing: 0.14em; }
.code { font-family: var(--font-mono); font-size: 14px; line-height: 22px; font-weight: 400; }
.product-title { font-family: var(--font-product); font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -0.035em; }
.note-text { font-family: var(--font-note); font-size: 25px; line-height: 1.2; font-weight: 600; }
