/* color palette from <https://github.com/vuejs/theme> */
/* 
   Most variables are replaced by Vant CSS variables.
   Keeping only what's necessary or mapping to Vant.
*/

:root {
  --van-danger-color: rgb(255, 107, 107) !important; /* 覆盖默认的深红色 #ee0a24 */
  --color-background: var(--van-background);
  --color-background-soft: var(--van-background-2);
  --color-background-mute: var(--van-gray-1);

  --color-border: var(--van-border-color);
  --color-border-hover: var(--van-gray-5);

  --color-heading: var(--van-text-color);
  --color-text: var(--van-text-color);

  --section-gap: 160px;
}

/* Removed manual dark mode media query as Vant handles it */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  font-weight: normal;
}

body {
  min-height: 100vh;
  color: var(--van-text-color);
  background: var(--van-background);
  transition:
    color 0.5s,
    background-color 0.5s;
  line-height: 1.6;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    'Fira Sans',
    'Droid Sans',
    'Helvetica Neue',
    sans-serif;
  font-size: 15px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
