/* ============================================================
   base.css —— 全局基础样式
   重置 / 排版 / 链接 / 图片 / 焦点态 / 容器 / 基础工具类
   依赖：variables.css
   ============================================================ */
* {
    box-sizing: border-box
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px
}
body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: var(--font-family);
    font-size: 15px;
    line-height: 1.7
}
button, input, select, textarea {
    font: inherit
}
button {
    cursor: pointer
}
a {
    color: inherit;
    text-decoration: none
}
a:hover {
    color: var(--brand)
}
img {
    max-width: 100%
}
svg {
    display: block
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #ffb1a2;
    outline-offset: 3px
}

/* ---------- 布局容器 ---------- */
.container {
    width: min(var(--container), calc(100% - 48px));
    margin: auto
}

/* ---------- 基础工具类 ---------- */
.muted {
    color: var(--muted)
}
.eyebrow {
    display: flex;
    gap: 9px;
    align-items: center;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 2.3px;
    text-transform: uppercase;
    color: var(--brand)
}
.eyebrow:before {
    content: "";
    width: 21px;
    height: 2px;
    background: var(--accent)
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0)
}
