







:root {

color-scheme: light;


--ink: #172730;
--ink-2: #3A4F57;
--muted: #56676F;
--subtle: #5F7076;
--faint: #9DAAAD;
--line-strong: #C5D0CD;
--line: #D8DEDC;
--line-soft: #E4EAE8;
--surface: #FFFFFF;
--surface-2: #FAFCFB;
--wash: #F5F8F7;
--surface-3: #EEF2F1;


--teal-ink: #1D514D;
--teal-deep: #22674F;
--teal: #287A65;
--teal-soft: #9CC7B8;
--teal-line: #CBE3D9;
--teal-wash: #EFF8F4;


--red-ink: #8C3B2A;
--red: #B0503A;
--red-line: #E1B5AA;
--red-wash: #FCF4F1;
--amber-ink: #7A5A12;
--amber: #B99442;
--amber-line: #E6D6AE;
--amber-wash: #FAF7EE;
--blue-ink: #2F5870;
--blue: #4A7289;
--blue-line: #BFD3DB;
--blue-wash: #EFF4F7;
--cover: #17324D;



--viz-1: #2A78D6;
--viz-2: #EB6834;
--viz-3: #1BAF7A;
--viz-strong: var(--teal);
--viz-moderate: #C9A227;
--viz-weak: var(--faint);
--terminal: #12211C;


--spectrum-1: #F7768E;
--spectrum-2: #FF9E64;
--spectrum-3: #E0AF68;
--spectrum-4: #9ECE6A;
--spectrum-5: #7DCFFF;
--spectrum-6: #7AA2F7;
--spectrum-7: #BB9AF7;



--tree-branch: #8F9B97;
--tree-branch-dim: #C9D0CE;
--tree-other: #D3D9D7;
--tree-label: #33474F;
--tree-note: #5B6B72;
--tree-faded: #A8B0AD;
--map-land: #EEF2F1;
--map-border: #D5DCDA;
--map-sea: #FAFCFB;


--font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
"Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans", Arial, sans-serif;
--font-display: Georgia, "Times New Roman", "Songti SC", "Noto Serif CJK SC", serif;
--font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;











--type-floor: 12px;
--type-meta: 0.75rem;
--type-note: 0.75rem;
--type-read: clamp(0.875rem, 0.6875rem + 0.2083vw, 0.9375rem);
--type-control: var(--type-read);
--type-title: clamp(1rem, 0.8125rem + 0.2083vw, 1.0625rem);
--type-heading: clamp(1.25rem, 0.875rem + 0.4167vw, 1.375rem);
--type-headline: 1.5rem;
--type-figure: 2rem;
--type-chart: 0.75rem;
--type-chart-strong: 0.875rem;


--text-xs: var(--type-meta);
--text-sm: var(--type-note);
--text-base: var(--type-read);
--text-md: var(--type-title);
--text-lg: var(--type-heading);
--text-xl: var(--type-heading);
--text-2xl: var(--type-headline);
--text-3xl: var(--type-headline);
--text-4xl: var(--type-figure);


--type-display: clamp(2.125rem, 2.4vw + 1.25rem, 4rem);
--weight-regular: 400;
--weight-medium: 600;
--weight-strong: 700;
--leading-tight: 1.25;
--leading: 1.6;
--leading-loose: 1.7;


--r-2xs: 4px;
--r-xs: 6px;
--r-s: 10px;
--r-m: 14px;
--r-l: 18px;
--r-pill: 999px;


--shadow-1: 0 1px 2px rgba(23, 39, 48, 0.04);
--shadow-2: 0 1px 2px rgba(23, 39, 48, 0.04), 0 6px 18px -12px rgba(23, 39, 48, 0.18);
--shadow-3: 0 18px 44px -18px rgba(23, 39, 48, 0.32), 0 2px 6px rgba(23, 39, 48, 0.06);
--shadow-accent: 0 6px 14px -6px rgba(31, 107, 87, 0.5);



--scrim: rgba(23, 39, 48, 0.16);


--focus-ring: 0 0 0 2px var(--surface), 0 0 0 4px var(--teal);


--space-1: 4px;
--space-2: 8px;
--space-3: 12px;
--space-4: 16px;
--space-5: 20px;
--space-6: 24px;
--space-8: 32px;
--space-10: 40px;



--page-top: 22px;

--page-gutter: clamp(16px, 3.3vw, 54px);



--page-measure: 1320px;



--read-measure: 760px;


--shadow-card: var(--shadow-1);
--shadow-lift: var(--shadow-2);
--slate: var(--subtle);
--ref-grey: var(--line-strong);
}








@media screen and (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
color-scheme: dark;
--ink: #E4ECEA;
--ink-2: #C6D3D1;
--muted: #A5B4B5;
--subtle: #8D9EA2;
--faint: #627377;
--line-strong: #4D5F65;
--line: #354850;
--line-soft: #2A3B42;
--surface: #172227;
--surface-2: #1B272D;
--wash: #10181C;
--surface-3: #233239;
--teal-ink: #A8E2CC;
--teal-deep: #7DD1B2;
--teal: #55B996;
--teal-soft: #3F826F;
--teal-line: #2C5A4D;
--teal-wash: #15302A;
--red-ink: #F4B9A9;
--red: #E88C73;
--red-line: #6E3C31;
--red-wash: #2E1C18;
--amber-ink: #E8CB86;
--amber: #C9A24E;
--amber-line: #5E4E2A;
--amber-wash: #2A2416;
--blue-ink: #AFD0E3;
--blue: #86B3CD;
--blue-line: #37515F;
--blue-wash: #172933;
--cover: #9FBAD3;
--terminal: #0B1512;
--tree-branch: #7F8F92;
--tree-branch-dim: #3B4B50;
--tree-other: #4B5B60;
--tree-label: #C6D3D1;
--tree-note: #A5B4B5;
--tree-faded: #5E6F73;
--map-land: #233239;
--map-border: #3E5056;
--map-sea: #1B272D;
--shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3);
--shadow-2: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 18px -12px rgba(0, 0, 0, 0.6);
--shadow-3: 0 18px 44px -18px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.35);
--shadow-accent: 0 6px 14px -6px rgba(0, 0, 0, 0.6);
--scrim: rgba(0, 0, 0, 0.45);
}
}
@media screen {
:root[data-theme="dark"] {
color-scheme: dark;
--ink: #E4ECEA;
--ink-2: #C6D3D1;
--muted: #A5B4B5;
--subtle: #8D9EA2;
--faint: #627377;
--line-strong: #4D5F65;
--line: #354850;
--line-soft: #2A3B42;
--surface: #172227;
--surface-2: #1B272D;
--wash: #10181C;
--surface-3: #233239;
--teal-ink: #A8E2CC;
--teal-deep: #7DD1B2;
--teal: #55B996;
--teal-soft: #3F826F;
--teal-line: #2C5A4D;
--teal-wash: #15302A;
--red-ink: #F4B9A9;
--red: #E88C73;
--red-line: #6E3C31;
--red-wash: #2E1C18;
--amber-ink: #E8CB86;
--amber: #C9A24E;
--amber-line: #5E4E2A;
--amber-wash: #2A2416;
--blue-ink: #AFD0E3;
--blue: #86B3CD;
--blue-line: #37515F;
--blue-wash: #172933;
--cover: #9FBAD3;
--terminal: #0B1512;
--tree-branch: #7F8F92;
--tree-branch-dim: #3B4B50;
--tree-other: #4B5B60;
--tree-label: #C6D3D1;
--tree-note: #A5B4B5;
--tree-faded: #5E6F73;
--map-land: #233239;
--map-border: #3E5056;
--map-sea: #1B272D;
--shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3);
--shadow-2: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 18px -12px rgba(0, 0, 0, 0.6);
--shadow-3: 0 18px 44px -18px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.35);
--shadow-accent: 0 6px 14px -6px rgba(0, 0, 0, 0.6);
--scrim: rgba(0, 0, 0, 0.45);
}
}











@media screen {
:root[data-theme="omarchy"] {
color-scheme: dark;
--ink: #C0CAF5;
--ink-2: #A9B1D6;
--muted: #9AA5CE;
--subtle: #8B94BF;
--faint: #565F89;
--line-strong: #414868;
--line: #2F344D;
--line-soft: #24283B;
--surface: #1A1B26;
--surface-2: #1F2335;
--wash: #16161E;
--surface-3: #292E42;
--teal-ink: #B4C8FF;
--teal-deep: #A0BBFF;
--teal: #7AA2F7;
--teal-soft: #3D59A1;
--teal-line: #2E3C64;
--teal-wash: #1E2440;
--red-ink: #FFA4B3;
--red: #F7768E;
--red-line: #5C2E3A;
--red-wash: #2A1C26;
--amber-ink: #E8C38A;
--amber: #E0AF68;
--amber-line: #5A4A2E;
--amber-wash: #272220;
--blue-ink: #B4E2FF;
--blue: #7DCFFF;
--blue-line: #2A4A5C;
--blue-wash: #1A2635;
--cover: #BB9AF7;
--terminal: #0E0E14;
--tree-branch: #737AA2;
--tree-branch-dim: #3B4261;
--tree-other: #414868;
--tree-label: #A9B1D6;
--tree-note: #9AA5CE;
--tree-faded: #545C7E;
--map-land: #24283B;
--map-border: #414868;
--map-sea: #1F2335;
--font-ui: "JetBrains Mono Variable", "JetBrainsMono Nerd Font", "JetBrains Mono", -apple-system, BlinkMacSystemFont, "Segoe UI",
"PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC",
"Noto Sans", Arial, sans-serif;
--font-display: var(--font-ui);
--font-mono: "JetBrains Mono Variable", "JetBrainsMono Nerd Font", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas,
"Liberation Mono", monospace;
--r-2xs: 0px;
--r-xs: 0px;
--r-s: 0px;
--r-m: 0px;
--r-l: 0px;
--r-pill: 0px;

--leading: 1.65;
--leading-loose: 1.75;
--shadow-1: none;
--shadow-2: 0 0 0 1px var(--line);
--shadow-3: 0 0 0 1px var(--line-strong), 0 16px 40px -16px rgba(0, 0, 0, 0.75);
--shadow-accent: 0 0 0 1px var(--teal);
--scrim: rgba(13, 14, 22, 0.6);
}
}







@media (max-width: 720px), (pointer: coarse) {
:root, :root[data-theme] {
--type-note: 0.875rem;
--type-read: 1rem;
--type-title: 1.0625rem;
--type-heading: 1.25rem;
--type-headline: 1.375rem;
--type-figure: 1.75rem;
}
}


@media (min-width: 761px) and (max-height: 900px) {
:root { --type-display: clamp(1.875rem, 1.6vw + 1.125rem, 2.75rem); }
}
