:root {
  color-scheme: light;
  font-family:
    Inter, "Microsoft YaHei", "PingFang SC", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;

  --font-display: Bahnschrift, "Arial Narrow", "Microsoft YaHei", sans-serif;
  --ink-strong: #102444;
  --ink: #23395d;
  --muted: #7284a4;
  --faint: #9aabc4;
  --canvas: #eef6ff;
  --canvas-strong: #e7f2ff;
  --panel: #ffffff;
  --panel-tint: #f8fbff;
  --line: #dbe8f6;
  --line-strong: #c7dbef;
  --sidebar: #071a46;
  --sidebar-strong: #041332;
  --blue: #2f70f5;
  --blue-deep: #2354c7;
  --cyan: #25c5de;
  --purple: #9369df;
  --pink: #ef6da7;
  --red: #ef587d;
  --positive: #2caeaa;
  --shadow: 0 10px 28px rgba(55, 104, 164, 0.09);
  --radius: 6px;
  --sidebar-width: 176px;
  --topbar-height: 62px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-height) + 18px);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

::selection {
  background: rgba(147, 105, 223, 0.22);
}

:focus-visible {
  outline: 3px solid rgba(47, 112, 245, 0.28);
  outline-offset: 2px;
}

.sr-only {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
