/* 极舟 · 基础层
   只做重置、排版基线和通用工具类，不含任何具体组件。 */

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: var(--lh-base);
  color: var(--color-ink);
  background: var(--color-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--color-brand); text-decoration: none; }
p, h1, h2, h3, h4, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { display: block; }
img { max-width: 100%; }

:focus-visible {
  outline: 2px solid rgba(10, 134, 252, 0.55);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection { background: rgba(10, 134, 252, 0.16); }

/* 工具类 */
.muted { color: var(--color-muted); }
.small { font-size: var(--fs-xs); }
.hidden { display: none !important; }
.mono { font-family: var(--font-mono); }
.nowrap { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
