/* Hallmark · tokens · theme: Cobalt · genre: modern-minimal
 * Cool engineered near-white, cool charcoal ink, one electric cobalt signal.
 * Every colour and font in main.css references a name from this file.
 */

:root {
	/* Paper — cool near-white, never #fff */
	--color-paper: oklch(98.5% 0.004 250);
	--color-paper-2: oklch(96.5% 0.005 250);
	--color-paper-3: oklch(93.5% 0.006 250);

	/* Ink — cool charcoal, never #000 */
	--color-ink: oklch(24% 0.02 258);
	--color-ink-2: oklch(34% 0.018 257);
	--color-muted: oklch(50% 0.014 256);

	/* Hairlines do the structural work */
	--color-rule: oklch(91% 0.006 250);
	--color-rule-2: oklch(83% 0.008 252);

	/* The one signal. Kept under 5% of any viewport.
	 * --color-accent is the surface/fill value; --color-accent-ink is the
	 * darker step used for accent-coloured TEXT on paper, where the fill
	 * value alone would not clear 4.5:1. */
	--color-accent: oklch(58% 0.2 256);
	--color-accent-ink: oklch(46% 0.19 256);
	/* the accent is too dark to read as small text on the graphite band */
	--color-accent-on-dark: oklch(74% 0.15 256);
	--color-accent-wash: oklch(58% 0.2 256 / 0.08);
	--color-focus: oklch(52% 0.2 256);

	/* The single dark band (and the ⌘K panel, which belongs to it) */
	--color-graphite: oklch(20% 0.016 260);
	--color-graphite-2: oklch(26% 0.016 260);
	--color-graphite-rule: oklch(33% 0.014 258);
	--color-graphite-ink: oklch(93% 0.008 250);
	--color-graphite-muted: oklch(70% 0.012 254);

	/* Footer mark — the one place with any warmth on the page */
	--color-pixel-skin: oklch(80% 0.06 62);
	--color-pixel-hair: oklch(38% 0.045 55);
	--color-pixel-shirt: oklch(58% 0.2 256);
	--color-pixel-line: oklch(30% 0.02 258);

	/* Type */
	--font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

	--text-display: clamp(2.25rem, 6vw + 0.25rem, 4.25rem);
	--text-3xl: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
	--text-2xl: clamp(1.35rem, 1.6vw + 0.75rem, 1.75rem);
	--text-xl: 1.25rem;
	--text-lg: 1.0625rem;
	--text-base: 1rem;
	--text-sm: 0.875rem;
	--text-xs: 0.75rem;

	--tracking-display: -0.028em;
	--tracking-mono: 0.06em;
	--leading-tight: 1.08;
	--leading-snug: 1.35;
	--leading-body: 1.65;

	/* 4-point spacing scale */
	--space-4xs: 0.125rem;
	--space-3xs: 0.25rem;
	--space-2xs: 0.5rem;
	--space-xs: 0.75rem;
	--space-sm: 1rem;
	--space-md: 1.5rem;
	--space-lg: 2.25rem;
	--space-xl: 3.5rem;
	--space-2xl: 5rem;
	--space-3xl: 7.5rem;

	/* Drawn with a ruler — tight technical radii */
	--radius-sm: 6px;
	--radius-md: 10px;
	--radius-pill: 999px;
	--rule-hair: 1px;

	/* Motion. No bounce, no overshoot. */
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in: cubic-bezier(0.7, 0, 0.84, 0);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--dur-fast: 150ms;
	--dur-base: 240ms;
	--dur-slow: 600ms;

	--measure: 62ch;
	--shell: 1180px;
}
