:root {
  --font-system: system-ui, sans-serif;
  --text-caption: 12px;
  --text-control: 13px;
  --text-base: 14px;
  --text-reading: 16px;
  --color-paper: #fff;
  --color-ink: #171717;
  --color-surface: #f5f5f3;
  --color-line: #dededb;
  --color-muted: #535353;
  --color-control-border: #777;
  --color-focus: #066395;
  --focus-ring: var(--color-focus);
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --control-height: 40px;
  --header-height: 66px;
  font-family: var(--font-system);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
:where(button, input, select, textarea) { font: inherit; }
input::file-selector-button { font: inherit; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
:where(.entry, .brand-scene, .site-header, .site-footer, .office-header) { --focus-ring: var(--color-paper); }
:where(.entry-link, .quiet-button, .primary, .quiet, .danger) { min-height: var(--control-height); border-radius: 0; }

@media (max-width: 760px) { :root { --control-height: 44px; } }
@media (max-width: 720px) { :root { --header-height: 60px; } }
