@charset "UTF-8";
@layer normalize,base,components,utilities;
@layer normalize {
  *,
  *:before,
  *:after {
    box-sizing: border-box;
  }
  html,
  body {
    margin: 0;
  }
  html,
  body,
  input,
  button,
  select,
  textarea {
    font-size: clamp(12px, 1.7vw, 24px);
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  ul,
  ol {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  img {
    max-width: 100%;
    height: auto;
    border-style: none;
  }
  button,
  input,
  select,
  textarea {
    font: inherit;
    margin: 0;
    border: none;
    background: none;
    color: inherit;
  }
  table {
    border-collapse: collapse;
    border-spacing: 0;
  }
  a {
    text-decoration: none;
    color: inherit;
  }
  .nontouchenable {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -ms-touch-action: none;
    touch-action: none;
    outline: none;
  }
}
@layer base {
  body {
    font-family: system-ui, sans-serif;
    font-size: 1rem;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-weight: bold;
    line-height: 1.2;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
  }
  h1 {
    font-size: 2.25rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  p {
    margin-top: 0;
    margin-bottom: 1em;
  }
  a {
    color: var(--color-primary);
    transition: color 0.2s;
  }
  a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
  }
  ul,
  ol {
    margin-bottom: 1em;
    padding-left: 2em;
  }
  li {
    margin-bottom: 0.5em;
  }
  img {
    display: block;
    max-width: 100%;
    height: auto;
  }
  button {
    font: inherit;
    padding: 0.5em 1em;
    border-radius: 4px;
    border: 1px solid var(--color-primary);
    background: var(--color-primary);
    color: var(--color-bg);
    cursor: pointer;
    transition: background 0.2s;
  }
  button:hover {
    background: var(--color-primary-dark);
  }
  input,
  textarea {
    font: inherit;
    padding: 0.5em;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s;
  }
  input:focus,
  textarea:focus {
    border-color: var(--color-primary);
  }
}
