@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;

  /* Butter's observed 2026 web palette, mapped to ViralX semantics. */
  --color-page: #EDEDED;
  --color-paper: #FAFAFA;
  --color-paper-2: #EBEBEB;
  --color-paper-3: #D6D6D6;
  --color-paper-4: #B8B8B8;
  --color-ink: #0F0F0F;
  --color-ink-2: #1E1E1E;
  --color-muted: #656565;
  --color-rule: #D8D8D8;
  --color-rule-strong: #A7A7A7;
  --color-rule-dark: #3C3C3C;
  --color-accent: #4DC5E5;
  --color-accent-hover: #36B8DA;
  --color-accent-ink: #0F0F0F;
  --color-coral: #F9ABFF;
  --color-coral-ink: #0F0F0F;
  --color-yellow: #E9D352;
  --color-green: #63AD45;
  --color-focus: #167F9B;
  --color-success: #26825A;
  --color-warning: #8B6F00;
  --color-error: #B23A3A;
  --color-overlay: color-mix(in oklch, var(--color-ink) 80%, transparent);
  --color-float: rgb(250 250 250 / 92%);
  --color-float-strong: rgb(250 250 250 / 96%);

  --font-display: "Hanken Grotesk", "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  --font-body: "Hanken Grotesk", "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI", sans-serif;

  --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: 6rem;
  --space-4xl: 9rem;
  --space-5xl: 12rem;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.25rem;
  --text-lg: 1.5625rem;
  --text-xl: 1.953rem;
  --text-2xl: 2.441rem;
  --text-3xl: 3.052rem;
  --text-display: clamp(3.2rem, 8vw, 6.8rem);

  --control-height: 3.25rem;
  --radius-xs: 0.375rem;
  --radius-sm: 0.625rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-nav: 1.25rem;
  --radius-pill: 999px;
  --shadow-soft: 0 1.25rem 3rem rgb(15 15 15 / 7%);
  --shadow-float: 0 0.6rem 1.8rem rgb(15 15 15 / 8%);
  --shadow-studio: 0 2rem 5rem rgb(15 15 15 / 13%);

  --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: 200ms;
  --dur-long: 500ms;

  --page-gutter: clamp(1rem, 3vw, 3rem);
  --content-max: 90rem;
  --nav-height: 4rem;
  --z-base: 1;
  --z-raised: 10;
  --z-sticky: 200;
  --z-sticky-nav: 300;
  --z-modal: 400;
  --z-tooltip: 600;
}
