* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.5;
  color: #202c43;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  color: inherit;
  cursor: pointer;
  background: transparent;
  border: 0;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand-color, #356eed);
  outline-offset: 3px;
}

img {
  max-width: 100%;
}

.static-icon {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  vertical-align: middle;
}

.static-icon > svg {
  display: block;
  width: 100%;
  height: 100%;
}

.flex-center {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

[role="tablist"] {
  display: flex;
  align-items: center;
}

[role="tabpanel"] {
  margin-top: 12px;
}

[hidden] {
  display: none !important;
}

pre {
  white-space: pre;
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
