/* Hallmark · tokens · theme: InkivePalette-derived · macrostructure: Catalogue */
/* Source: Inkive/Sources/UI/InkivePalette.swift */
:root {
  /* Surfaces: cream F8F4E2, border F2EEDC, thumbnail border E6E3D1 */
  --color-paper: oklch(96.54% 0.0241 96.6);
  --color-paper-2: oklch(94.74% 0.0242 96.6);
  --color-paper-3: oklch(91.33% 0.0242 99.1);
  --color-paper-deep: oklch(82.99% 0.0219 56.1);
  --color-ink: oklch(25.20% 0.005 57);
  --color-ink-2: oklch(39.83% 0.0179 57.2);
  --color-muted: oklch(39.83% 0.0179 57.2);
  --color-placeholder: oklch(57.10% 0.0192 56);
  --color-search-placeholder: oklch(69.21% 0.0029 106.5);
  --color-rule: oklch(91.33% 0.0242 99.1);
  --color-rule-strong: oklch(82.99% 0.0219 56.1);
  --color-transparent: oklch(0% 0 0 / 0);

  /* InkivePalette accents: accent AD8B73, brown 7F5E46, ready 296B42, warning EAB308 */
  --color-accent: oklch(66.23% 0.0538 56.8);
  --color-accent-press: oklch(50.99% 0.0562 57.1);
  --color-accent-2: oklch(79.52% 0.1617 86);
  --color-accent-2-deep: oklch(50.99% 0.0562 57.1);
  --color-honey: oklch(79.52% 0.1617 86);
  --color-accent-ink: oklch(99.8% 0.005 96.6);
  --color-focus: oklch(47.38% 0.0946 153.4);
  --color-ready: oklch(47.38% 0.0946 153.4);
  --color-error: oklch(50.60% 0.1927 27.7);
  --color-inactive: oklch(86.87% 0.0043 56.4);
  --tint-moss: oklch(47.38% 0.0946 153.4 / 0.1);
  --tint-clay: oklch(66.23% 0.0538 56.8 / 0.16);
  --tint-honey: oklch(79.52% 0.1617 86 / 0.2);

  /* Share palette: kept available for future export-card specimens */
  --color-share-canvas: oklch(97.61% 0.005 56);
  --color-share-primary: oklch(36.77% 0.005 56);
  --color-share-secondary: oklch(51.03% 0.005 56);
  --color-share-branding: oklch(87.61% 0.005 56);
  --color-share-divider: oklch(94.31% 0.005 56);
  --color-share-quote-bar: oklch(88.22% 0.005 56);

  /* Typography */
  --font-display: "Noto Serif SC", "Songti SC", "STSong", ui-serif, Georgia, serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", ui-sans-serif, system-ui, sans-serif;
  --font-label: "Space Mono", "SF Mono", Menlo, ui-monospace, monospace;
  --display-weight: 600;
  --display-style: normal;
  --text-xs: 0.72rem;
  --text-sm: 0.82rem;
  --text-base: 1rem;
  --text-md: 1.06rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: clamp(2.2rem, 4vw, 3.45rem);
  --text-display: clamp(3rem, 7vw, 6.8rem);
  --text-display-s: clamp(2.4rem, 5vw, 4.5rem);
  --tracking-display: -0.045em;
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-label: 0.1em;
  --lh-tight: 1.08;
  --lh-snug: 1.28;
  --lh-normal: 1.55;
  --lh-relaxed: 1.8;

  /* Space: 4pt scale */
  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6.5rem;
  --space-4xl: 10rem;
  --section-gap: clamp(5rem, 11vw, 10rem);
  --section-head-gap: clamp(2rem, 4vw, 4rem);
  --page-max: 76rem;
  --page-gutter: clamp(1.25rem, 4vw, 3rem);
  --measure: 60ch;

  /* Shape and rules */
  --radius-card: 0.7rem;
  --radius-pill: 0.45rem;
  --radius-round: 999px;
  --rule-hair: 0.5px;
  --rule-fine: 1px;
  --shadow-card: 0 22px 55px -28px oklch(25.20% 0.005 57 / 0.24), 0 1px 3px oklch(25.20% 0.005 57 / 0.1);
  --shadow-float: 0 30px 70px -34px oklch(25.20% 0.005 57 / 0.3);

  /* Motion */
  --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-micro: 120ms;
  --dur-short: 220ms;
  --dur-long: 520ms;

  /* Layering */
  --z-base: 1;
  --z-raised: 10;
  --z-sticky: 300;
  --z-skip: 600;
}
